/* Self-hosted Google Fonts. OFL licenses are included in public/fonts. */

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/geist-mono-latin-ext-variable.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(/fonts/geist-mono-latin-variable.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/manrope-latin-ext-variable.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/manrope-latin-variable.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

/* Project content article styling - adapted from runplaybooks.ai blog.css */

.project-content {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}

.project-content pre {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  text-wrap: wrap;
  border-radius: 1rem;
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
  padding: 1.5rem;
}

.project-content pre code {
  background-color: transparent;
  padding: 0px;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.project-content code {
  border-radius: 0.25rem;
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-family: "Geist Mono", ui-monospace, monospace;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.project-content h1,
.project-content h2,
.project-content h3,
.project-content h4,
.project-content h5,
.project-content h6 {
  font-family: "Manrope", sans-serif;
}

.project-content h1 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.project-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.project-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.project-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.project-content ul,
.project-content ol {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.project-content ul > :not([hidden]) ~ :not([hidden]),
.project-content ol > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.project-content li {
  list-style-position: inside;
  font-size: 1.25rem;
  line-height: 1.75rem;
  line-height: 1.25;
}

.project-content ul li {
  list-style-type: disc;
}

.project-content ol li {
  list-style-type: decimal;
}

.project-content p {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  line-height: 1.75rem;
  line-height: 1.25;
}

.project-content a {
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity, 1));
  text-decoration-line: underline;
  text-underline-offset: 4px;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  animation-duration: 300ms;
}

.project-content a:hover {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.project-content blockquote {
  margin-top: 2rem;
  margin-bottom: 2rem;
  border-left-width: 2px;
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
  padding-left: 1.5rem;
  font-style: italic;
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.project-content strong {
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}

.project-content img {
  margin-top: 2rem;
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 1rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

/* About-page headshot: neutral duotone, floated alongside the intro prose.
   Higher specificity than `.project-content img` so the float/margins win. */

.project-content img.headshot {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 7.5rem;
  width: 10rem;
  border-radius: 1rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

@media (min-width: 640px) {

  .project-content img.headshot {
    width: 13rem;
  }
}

.project-content img.headshot {
  filter: url(#duotone);
}

.project-content video {
  margin-top: 2rem;
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 1rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

/* Blue-grey editorial portfolio with sparse orange-yellow primary actions.
   DESIGN_VARIANCE: 6; MOTION_INTENSITY: 3; VISUAL_DENSITY: 3.
   Layers: artwork 0, content 1, navigation 2, skip link 3. */

.home-page {
  --home-light-surface: #edf2f6;
  --home-light-raised: #f7fafd;
  --home-light-tint: #e0e8ee;
  --home-light-text: #223341;
  --home-light-muted: #526574;
  --home-light-accent: #345e80;
  --home-light-line: #cad5dd;
  --home-light-button: #243e52;
  --home-light-button-text: #f5f9fc;
  --home-dark-surface: #171f26;
  --home-dark-raised: #202b34;
  --home-dark-tint: #25323d;
  --home-dark-text: #edf3f7;
  --home-dark-muted: #b1bfca;
  --home-dark-accent: #a3c5df;
  --home-dark-line: #3d5060;
  --home-dark-button: #d9e8f3;
  --home-dark-button-text: #203340;
  --home-surface: var(--home-light-surface);
  --home-raised: var(--home-light-raised);
  --home-tint: var(--home-light-tint);
  --home-text: var(--home-light-text);
  --home-muted: var(--home-light-muted);
  --home-accent: var(--home-light-accent);
  --home-line: var(--home-light-line);
  --home-button: var(--home-light-button);
  --home-button-text: var(--home-light-button-text);
  --home-primary: #ffb52b;
  --home-primary-hover: #ffc247;
  --home-primary-text: #132735;
  --home-display: "Manrope", sans-serif;
  --home-mono: "Geist Mono", ui-monospace, monospace;
  --home-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --home-hero-ink-start: #000;
  --home-hero-ink-end: #666;
  --home-image-outline: rgb(0 0 0 / 0.1);
  --home-artwork: url("/images/home/living-systems-warm.webp");
  --home-selection: #b8cee0;
  --home-link-line: var(--home-line);
  --home-wash-start: 82%;
  --home-wash-middle: 35%;
  --home-art-brightness: 1;
  --home-art-saturation: 1;
  background: var(--home-surface);
  color: var(--home-text);
  font-family: var(--home-display);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  color-scheme: light;
}

html[data-palette="cool"] .home-page {
  --home-primary: var(--home-button);
  --home-primary-hover: var(--home-accent);
  --home-primary-text: var(--home-button-text);
  --home-artwork: url("/images/home/living-systems-blue.webp");
}

html[data-direction="folds"] .home-page {
  --home-artwork: url("/images/home/folded-light-warm.webp");
}

html[data-direction="folds"][data-palette="cool"] .home-page {
  --home-artwork: url("/images/home/folded-light.webp");
}

html[data-direction="canopy"] .home-page {
  --home-artwork: url("/images/home/living-systems-blue.webp");
}

html[data-direction="canopy"][data-palette="warm"] .home-page {
  --home-artwork: url("/images/home/living-systems-warm.webp");
}

html[data-direction="horizon"] .home-page {
  --home-artwork: url("/images/home/open-horizon.webp");
}

html[data-direction="amber"] .home-page {
  --home-artwork: url("/images/home/amber-study.webp");
}

.home-page[data-theme="dark"] {
  --home-hero-ink-start: #fff;
  --home-hero-ink-end: #9b9b9b;
  --home-image-outline: rgb(255 255 255 / 0.1);
  --home-surface: var(--home-dark-surface);
  --home-raised: var(--home-dark-raised);
  --home-tint: var(--home-dark-tint);
  --home-text: var(--home-dark-text);
  --home-muted: var(--home-dark-muted);
  --home-accent: var(--home-dark-accent);
  --home-line: var(--home-dark-line);
  --home-button: var(--home-dark-button);
  --home-button-text: var(--home-dark-button-text);
  --home-wash-start: 94%;
  --home-wash-middle: 55%;
  --home-art-brightness: 0.72;
  --home-art-saturation: 0.8;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  .home-page:not([data-theme="light"]) {
    --home-hero-ink-start: #fff;
    --home-hero-ink-end: #9b9b9b;
    --home-image-outline: rgb(255 255 255 / 0.1);
    --home-surface: var(--home-dark-surface);
    --home-raised: var(--home-dark-raised);
    --home-tint: var(--home-dark-tint);
    --home-text: var(--home-dark-text);
    --home-muted: var(--home-dark-muted);
    --home-accent: var(--home-dark-accent);
    --home-line: var(--home-dark-line);
    --home-button: var(--home-dark-button);
    --home-button-text: var(--home-dark-button-text);
    --home-wash-start: 94%;
    --home-wash-middle: 55%;
    --home-art-brightness: 0.72;
    --home-art-saturation: 0.8;
    color-scheme: dark;
  }
}

.home-page *,
.home-page *::before,
.home-page *::after {
  box-sizing: border-box;
}

.home-page a {
  text-decoration: none;
}

.home-page :is(h1, h2, h3) {
  text-wrap: balance;
}

.home-page p {
  text-wrap: pretty;
}

.home-page :is(em, blockquote) {
  font-style: normal;
}

.home-page em {
  font-weight: 500;
}

.home-page :is(code, pre) {
  font-family: var(--home-mono);
}

.home-page :where(a, button):focus-visible {
  outline: 2px solid var(--home-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.home-page ::-moz-selection {
  background: var(--home-selection);
  color: #223341;
}

.home-page ::selection {
  background: var(--home-selection);
  color: #223341;
}

.home-container {
  width: min(1184px, calc(100% - 96px));
  margin-inline: auto;
}

.home-skip {
  position: fixed;
  top: 12px;
  left: 24px;
  z-index: 3;
  transform: translateY(-150%);
  padding: 12px 24px;
  color: var(--home-button-text);
  background: var(--home-button);
}

.home-skip:focus {
  transform: translateY(0);
}

.home-header {
  position: absolute;
  top: 24px;
  left: 50%;
  width: min(1120px, calc(100% - 64px));
  transform: translateX(-50%);
  border-radius: 16px;
  z-index: 2;
  isolation: isolate;
  background: transparent;
  --home-muted: var(--home-text);
}

.home-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background: color-mix(in srgb, var(--home-raised) 62%, transparent);
  backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 8px 32px -16px rgb(0 0 0 / 0.16);
}

@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .home-header::before {
    background: var(--home-surface);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .home-header::before {
    background: var(--home-surface);
    backdrop-filter: none;
  }
}

.home-header-inner {
  width: calc(100% - 48px);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.home-wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--home-display);
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -1.1px;
  font-weight: 600;
  white-space: nowrap;
}

.home-wordmark > span {
  color: var(--home-accent);
}

.home-navigation {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.home-navigation a {
  position: relative;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 20px;
  padding-block: 12px;
  min-height: 44px;
  transition: color 300ms var(--home-ease);
}

.home-navigation a[aria-current] {
  color: var(--home-text);
}

.home-navigation a[aria-current]::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: currentColor;
}

.home-navigation a:hover {
  color: var(--home-accent);
}

.home-header-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.home-theme-toggle {
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--home-text);
  font-size: 20px;
  line-height: 28px;
  border-radius: 50%;
  transition:
    background-color 300ms var(--home-ease),
    transform 500ms var(--home-ease);
}

.home-theme-toggle[hidden] {
  display: none;
}

.home-theme-toggle:hover {
  background: color-mix(in srgb, var(--home-text) 8%, transparent);
}

.home-contact {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 12px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--home-tint);
}

.home-hero-art {
  position: absolute;
  z-index: -2;
  width: min(100%, 1350px);
  height: 100%;
  inset: 0 0 0 auto;
  background-image: var(--home-artwork);
  background-size: cover;
  background-position: center top;
  filter: brightness(var(--home-art-brightness))
    saturate(var(--home-art-saturation));
  -webkit-mask-image: linear-gradient(90deg, transparent, #fff 18%);
          mask-image: linear-gradient(90deg, transparent, #fff 18%);
}

.home-hero-wash {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--home-surface) var(--home-wash-start), transparent),
    color-mix(in srgb, var(--home-surface) var(--home-wash-middle), transparent)
      42%,
    transparent 70%
  );
}

.home-hero-inner {
  min-height: 750px;
  min-height: clamp(680px, 90dvh, 850px);
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 32px;
}

.home-hero-copy {
  width: 680px;
  max-width: 61%;
}

.home-eyebrow {
  margin-bottom: 24px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--home-accent);
}

.home-hero h1 {
  margin: 0;
  /* Keep descenders inside the gradient text's paint area. */
  padding-bottom: 12px;
  font-family: var(--home-display);
  font-weight: 500;
  font-size: 72px;
  line-height: 72px;
  letter-spacing: -0.055em;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) or (-webkit-background-clip: text) {
  .home-hero h1,
  .page-masthead h1 {
    color: transparent;
    background-image: linear-gradient(
      90deg,
      var(--home-hero-ink-start),
      var(--home-hero-ink-end)
    );
    background-clip: text;
    -webkit-background-clip: text;
  }
}

.home-hero-description {
  margin-top: 32px;
  max-width: 460px;
  color: var(--home-muted);
  font-size: 18px;
  line-height: 28px;
}

.home-hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 32px;
}

.home-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid var(--home-button);
  border-radius: 9999px;
  background: var(--home-button);
  color: var(--home-button-text);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background-color 300ms var(--home-ease),
    border-color 300ms var(--home-ease),
    color 300ms var(--home-ease),
    transform 500ms var(--home-ease);
}

.home-button:hover {
  background: var(--home-accent);
  border-color: var(--home-accent);
  color: var(--home-surface);
  transform: translateY(-2px);
}

.home-button-primary {
  border-color: var(--home-primary);
  background: var(--home-primary);
  color: var(--home-primary-text);
}

.home-button-primary:hover {
  border-color: var(--home-primary-hover);
  background: var(--home-primary-hover);
  color: var(--home-primary-text);
}

.home-button:active,
.home-theme-toggle:active {
  transform: scale(0.98);
}

.home-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  font-size: 12px;
  line-height: 16px;
  color: var(--home-muted);
  font-variant-numeric: tabular-nums;
}

.home-page .home-text-link {
  display: inline-flex;
  align-items: center;
  text-decoration: underline;
  text-decoration-color: var(--home-link-line);
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  padding-block: 8px;
  min-height: 44px;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

.home-text-link:hover {
  color: var(--home-accent);
}

.home-text-link:active {
  transform: translateY(1px);
}

.home-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-block: 48px 48px;
  border-bottom: 1px solid var(--home-line);
}

.home-intro > p {
  font-family: var(--home-display);
  font-size: 24px;
  line-height: 32px;
  letter-spacing: -0.6px;
  text-wrap: balance;
}

.home-intro > div > p {
  color: var(--home-muted);
  font-size: 16px;
  line-height: 24px;
}

.home-intro .home-text-link {
  margin-top: 8px;
  font-size: 14px;
  line-height: 20px;
}

.home-section {
  padding-top: 96px;
}

.home-section h2,
.home-footer h2 {
  font-family: var(--home-display);
  font-weight: 500;
  font-size: 48px;
  line-height: 48px;
  letter-spacing: -1.7px;
}

.home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.home-section-heading p {
  margin-top: 12px;
  font-size: 16px;
  color: var(--home-muted);
  line-height: 24px;
}

.home-current-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.home-project {
  display: flex;
  flex-direction: column;
  padding: 32px 32px 24px;
  min-height: 320px;
  border: 1px solid var(--home-line);
  border-radius: 16px;
  background: var(--home-raised);
  transition:
    transform 500ms var(--home-ease),
    border-color 300ms var(--home-ease);
}

.home-project-lead {
  background: var(--home-tint);
}

.home-project-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 16px;
}

.home-project-body {
  margin-top: 24px;
  min-width: 0;
}

.home-project h3 {
  font-family: var(--home-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 32px;
  overflow-wrap: anywhere;
}

.home-project:nth-child(-n + 2) h3 {
  font-size: 30px;
  line-height: 36px;
}

.home-project-body > p {
  margin-top: 16px;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 24px;
  max-width: 45ch;
}

.home-project-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 16px;
}

.home-tag-divider {
  margin-inline: 8px;
  color: var(--home-line);
}

.home-project:hover {
  border-color: var(--home-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgb(46 35 21 / 0.055);
}

/* Two leading projects followed by full-width, compact cards. */

.home-project:nth-child(n + 3) {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: center;
  min-height: 144px;
  padding: 24px 32px;
  background: transparent;
}

.home-project:nth-child(3) {
  margin-top: 0;
}

.home-project:nth-child(n + 3) .home-project-meta {
  flex-direction: column;
  gap: 4px;
}

.home-project:nth-child(n + 3) .home-project-body {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 32px;
  align-items: center;
  margin: 0;
}

.home-project:nth-child(n + 3) h3 {
  font-size: 24px;
  line-height: 32px;
}

.home-project:nth-child(n + 3) .home-project-body > p {
  margin-top: 0;
  max-width: none;
}

.home-project:nth-child(n + 3) .home-project-bottom {
  display: none;
}

.home-project:nth-child(n + 3):hover {
  box-shadow: none;
  transform: none;
}

.home-project:hover h3 {
  color: var(--home-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.home-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 96px;
}

.home-feature-image {
  display: block;
  aspect-ratio: 1.1;
  overflow: hidden;
  border-radius: 16px;
  background: var(--home-tint);
}

.home-feature-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 500ms var(--home-ease);
}

.home-feature-image:hover img {
  transform: scale(1.035);
}

.home-feature-copy .home-eyebrow {
  margin-bottom: 24px;
}

.home-feature-copy > p:not(.home-eyebrow) {
  margin-top: 24px;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 24px;
  max-width: 39ch;
}

.home-feature-copy > p + p:not(.home-eyebrow) {
  margin-top: 16px;
}

.home-feature-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.home-manifesto {
  padding-block: 96px;
  padding-left: calc(96px + 96px);
}

.home-manifesto h2 {
  max-width: 680px;
  font-size: 48px;
  line-height: 48px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.home-manifesto.is-ready .manifesto-word {
  opacity: 0.32;
  transition: opacity 500ms var(--home-ease);
  transition-delay: calc(var(--word) * 60ms);
}

.home-manifesto.is-ready .manifesto-word.is-visible {
  opacity: 1;
}

[data-reveal].is-ready {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 700ms var(--home-ease),
    transform 700ms var(--home-ease);
}

[data-reveal].is-ready.is-visible {
  opacity: 1;
  transform: none;
}

.home-about {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 96px;
  align-items: center;
  padding-block: 80px 4px;
}

.home-about-copy > p {
  max-width: 49ch;
  margin-top: 24px;
  font-size: 18px;
  line-height: 28px;
  color: var(--home-muted);
}

.home-about-copy > p + p {
  margin-top: 16px;
}

.home-about-copy .home-text-link {
  margin-top: 24px;
}

.home-portrait {
  margin: 0;
  max-width: 330px;
  width: 100%;
  justify-self: end;
}

.home-portrait > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 16px;
  filter: saturate(0.68);
}

.home-feature-image,
.home-portrait > img,
.about-portrait {
  outline: 1px solid var(--home-image-outline);
  outline-offset: -1px;
}

.home-portrait figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 20px;
}

.home-portrait figcaption > span {
  color: var(--home-muted);
  font-size: 12px;
  line-height: 16px;
}

.home-publications {
  padding-bottom: 96px;
}

.home-paper {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  align-items: baseline;
  padding-block: 24px;
  border-top: 1px solid var(--home-line);
}

.home-paper-year {
  color: var(--home-muted);
  font-size: 14px;
  line-height: 20px;
}

.home-paper h3 {
  font-family: var(--home-display);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: -0.4px;
}

.home-paper p {
  margin-top: 8px;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 16px;
}

.home-paper:hover h3 {
  color: var(--home-accent);
}

.home-footer {
  padding-top: 80px;
  background: var(--home-tint);
}

.home-footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 96px;
  padding-bottom: 64px;
}

.home-footer h2 {
  font-size: 36px;
  line-height: 40px;
}

.home-email {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  margin-top: 24px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--home-link-line);
  font-size: 16px;
  line-height: 24px;
  min-height: 44px;
}

.home-email:hover {
  color: var(--home-accent);
}

.home-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-top: 12px;
}

.home-footer-links h3 {
  margin-bottom: 24px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}

.home-footer-links a {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  padding-block: 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--home-muted);
  min-height: 44px;
}

.home-footer-links a:hover {
  color: var(--home-accent);
}

.home-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  border-top: 1px solid var(--home-line);
}

.home-footer-bottom .home-wordmark {
  font-size: 20px;
  line-height: 28px;
}

.home-footer-bottom p,
.home-footer-bottom > a:last-child {
  color: var(--home-muted);
  font-size: 12px;
  line-height: 16px;
}

.home-footer-bottom > a:last-child {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 1100px) {
  .home-manifesto {
    padding-left: 96px;
  }
  .home-container {
    width: calc(100% - 80px);
  }
  .home-navigation {
    gap: 24px;
  }
  .home-header-inner {
    gap: 24px;
  }
  .home-contact {
    display: none;
  }
  .home-hero-copy {
    max-width: 65%;
  }
  .home-hero h1 {
    font-size: 60px;
    line-height: 60px;
  }
  .home-feature {
    gap: 48px;
  }
  .home-feature-actions {
    flex-wrap: wrap;
    gap: 12px 24px;
  }
  .home-about,
  .home-footer-top {
    gap: 64px;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .home-hero-wash {
    background: linear-gradient(
      90deg,
      color-mix(in srgb, var(--home-surface) 94%, transparent),
      color-mix(in srgb, var(--home-surface) 85%, transparent) 45%,
      color-mix(in srgb, var(--home-surface) 50%, transparent) 64%,
      transparent 90%
    );
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .home-hero h1 {
    font-size: 48px;
    line-height: 48px;
  }
  .home-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .home-header {
    top: 16px;
    width: calc(100% - 32px);
  }
  .home-manifesto {
    padding-block: 80px 32px;
    padding-left: 0;
  }
  .home-manifesto h2 {
    font-size: 36px;
    line-height: 40px;
  }
  .home-container {
    width: calc(100% - 48px);
  }
  .home-header-inner {
    height: 112px;
    position: relative;
    flex-wrap: wrap;
    align-content: start;
    padding-top: 8px;
    gap: 8px;
    width: calc(100% - 32px);
  }
  .home-wordmark {
    font-size: 20px;
    line-height: 28px;
  }
  .home-header-actions {
    margin-left: auto;
  }
  .home-navigation {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    margin-left: 0;
  }
  .home-navigation a {
    font-size: 14px;
    line-height: 20px;
  }
  .home-hero-inner {
    min-height: 740px;
    padding-top: calc(96px + 96px);
    padding-bottom: calc(96px * 3 + 64px);
    align-items: start;
  }
  .home-hero-copy {
    width: 100%;
    max-width: none;
  }
  .home-eyebrow {
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 24px;
    letter-spacing: 0.12em;
  }
  .home-hero h1 {
    font-size: 36px;
    line-height: 40px;
    max-width: 680px;
  }
  .home-hero-description {
    font-size: 16px;
    line-height: 24px;
    max-width: 340px;
    margin-top: 24px;
  }
  .home-desktop-break {
    display: none;
  }
  .home-hero-actions {
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
  }
  .home-button {
    min-height: 48px;
    font-size: 16px;
    line-height: 24px;
    gap: 16px;
    padding: 8px 12px;
  }
  .home-text-link {
    font-size: 14px;
    line-height: 20px;
    gap: 12px;
  }
  .home-hero-art {
    width: 100%;
    height: 320px;
    top: auto;
    background-position: 80% 71%;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .home-hero-wash {
    background: linear-gradient(
      180deg,
      var(--home-surface) 0%,
      var(--home-surface) 51%,
      color-mix(in srgb, var(--home-surface) 94%, transparent) 58%,
      color-mix(in srgb, var(--home-surface) 30%, transparent) 74%,
      transparent 85%
    );
  }
  html[data-direction="canopy"] .home-hero {
    background: var(--home-surface);
  }
  html[data-direction="canopy"] .home-hero-inner {
    padding-bottom: calc(96px * 4 + 32px);
  }
  html[data-direction="canopy"] .home-hero-art {
    height: 400px;
    background-position: 80% center;
    -webkit-mask-image: linear-gradient(
      180deg,
      transparent,
      #fff 12%,
      #fff 72%,
      transparent
    );
            mask-image: linear-gradient(
      180deg,
      transparent,
      #fff 12%,
      #fff 72%,
      transparent
    );
  }
  html[data-direction="canopy"] .home-hero-wash {
    background: none;
  }
  .home-intro {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 40px;
  }
  .home-intro > p {
    font-size: 20px;
    line-height: 28px;
  }
  .home-intro > div > p {
    font-size: 16px;
    line-height: 24px;
  }
  .home-section {
    padding-top: 64px;
  }
  .home-section h2 {
    font-size: 30px;
    line-height: 36px;
    letter-spacing: -1.3px;
  }
  .home-section-heading {
    flex-wrap: wrap;
    align-items: start;
    gap: 12px;
    margin-bottom: 24px;
  }
  .home-section-heading p {
    font-size: 16px;
    line-height: 24px;
    max-width: 30ch;
  }
  .home-current-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .home-current-grid > .home-project {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 280px;
    margin-top: 0;
    padding: 24px;
  }
  .home-current-grid > .home-project .home-project-meta {
    flex-direction: row;
    gap: 16px;
  }
  .home-current-grid > .home-project .home-project-body {
    display: block;
    margin-top: 24px;
  }
  .home-current-grid > .home-project .home-project-body > p {
    margin-top: 16px;
    font-size: 16px;
    line-height: 24px;
  }
  .home-current-grid > .home-project .home-project-bottom {
    display: flex;
  }
  .home-current-grid > .home-project h3 {
    font-size: 24px;
    line-height: 32px;
  }
  .home-feature {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .home-feature-image {
    aspect-ratio: 1.12;
  }
  .home-feature-copy > p:not(.home-eyebrow) {
    font-size: 16px;
    line-height: 24px;
    max-width: none;
  }
  .home-feature-actions {
    flex-wrap: wrap;
    gap: 12px 24px;
  }
  .home-about {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 64px;
  }
  .home-about-copy > p {
    font-size: 16px;
    line-height: 24px;
  }
  .home-portrait {
    justify-self: start;
    width: 75%;
    max-width: 330px;
  }
  .home-publications {
    padding-bottom: 64px;
  }
  .home-paper {
    grid-template-columns: 39px 1fr;
    gap: 16px;
    padding-block: 24px;
  }
  .home-paper h3 {
    font-size: 20px;
    line-height: 28px;
  }
  .home-paper-year {
    font-size: 12px;
    line-height: 16px;
  }
  .home-footer {
    padding-top: 48px;
  }
  .home-footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
  }
  .home-footer h2 {
    font-size: 36px;
    line-height: 40px;
  }
  .home-footer-links {
    gap: 32px;
  }
  .home-footer-bottom {
    flex-wrap: wrap;
    min-height: 110px;
    padding-block: 24px;
    gap: 16px 24px;
  }
  .home-footer-bottom .home-wordmark {
    width: 100%;
    font-size: 20px;
    line-height: 28px;
  }
  .home-footer-bottom > a:last-child {
    margin-left: auto;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .home-hero h1 {
    font-size: 48px;
    line-height: 48px;
  }
}

@media (max-width: 479px) {
  .home-section-heading {
    display: block;
  }
  .home-section-heading > .home-text-link {
    margin-top: 16px;
  }
}

@media (max-width: 359px) {
  .home-navigation a {
    font-size: 12px;
    line-height: 16px;
  }
  .home-hero h1,
  .home-manifesto h2 {
    font-size: 30px;
    line-height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .home-page a:hover,
  .home-page a:hover img,
  .home-page a:hover > span {
    transform: none;
  }
  .home-page :is(a, button):active {
    transform: none;
  }
  [data-reveal].is-ready {
    opacity: 1;
    transform: none;
  }
  .home-manifesto.is-ready .manifesto-word {
    opacity: 1;
  }
}

@media (forced-colors: active) {
  .home-hero h1,
  .page-masthead h1 {
    color: CanvasText;
    background: none;
  }
}

/* Interior pages extend the approved home palette and type system.
   DESIGN_VARIANCE: 6; MOTION_INTENSITY: 3; VISUAL_DENSITY: 3.
   Keep artwork decorative and reserve warm UI colour for primary actions. */

.portfolio-page [hidden] {
  display: none !important;
}

.portfolio-page main {
  min-height: 65dvh;
}

.portfolio-page h1,
.portfolio-page h2,
.portfolio-page h3 {
  text-wrap: balance;
}

.page-masthead {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 440px;
  padding: calc(96px + 64px) 0 64px;
  background: var(--home-surface);
}

.page-masthead-art {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 auto;
  width: 64%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center top;
     object-position: center top;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%);
          mask-image: linear-gradient(90deg, transparent, #000 38%);
  filter: brightness(var(--home-art-brightness))
    saturate(var(--home-art-saturation));
}

.page-masthead-illustrated {
  --masthead-art-extension: min(80dvh, 720px);
  overflow: visible;
}

.page-masthead-illustrated .page-masthead-art {
  height: calc(100% + var(--masthead-art-extension));
}

.projects-masthead {
  min-height: clamp(480px, 38vw, 580px);
  padding-top: calc(96px + 64px);
  padding-bottom: 80px;
}

.projects-masthead .page-masthead-art {
  width: 70%;
  -o-object-position: right center;
     object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%);
          mask-image: linear-gradient(90deg, transparent, #000 20%);
}

.page-masthead-illustrated::after {
  content: "";
  position: absolute;
  inset: 100% 0 auto;
  z-index: -1;
  height: var(--masthead-art-extension);
  background: linear-gradient(180deg, transparent, var(--home-surface));
  pointer-events: none;
}

.page-masthead-illustrated + .portfolio-main {
  position: relative;
  z-index: 1;
}

.projects-masthead + .portfolio-main .timeline-scroll {
  background: color-mix(in srgb, var(--home-surface) 82%, transparent);
}

.page-masthead-illustrated .page-masthead-description,
.projects-masthead + .portfolio-main .portfolio-timeline-intro,
.projects-masthead
  + .portfolio-main
  .portfolio-timeline
  summary
  > span:last-child {
  color: var(--home-text);
}

.home-page[data-theme="dark"] .page-masthead-illustrated .page-masthead-art {
  opacity: 0.3;
}

@media (prefers-color-scheme: dark) {
  .home-page:not([data-theme="light"])
    .page-masthead-illustrated
    .page-masthead-art {
    opacity: 0.3;
  }
}

.page-masthead-copy {
  max-width: 680px;
}

.page-masthead .home-eyebrow {
  margin-bottom: 24px;
}

.page-masthead h1 {
  font-family: var(--home-display);
  font-size: 72px;
  line-height: 72px;
  font-weight: 500;
  letter-spacing: -0.055em;
  max-width: 680px;
}

.about-masthead h1 {
  font-size: 60px;
  line-height: 60px;
}

.page-masthead-description {
  margin-top: 24px;
  max-width: 680px;
  font-size: 18px;
  line-height: 28px;
  color: var(--home-muted);
  text-wrap: pretty;
}

.page-masthead .home-text-link {
  margin-top: 16px;
}

.portfolio-main {
  padding-block: 48px 96px;
}

.portfolio-section {
  margin-top: 80px;
  scroll-margin-top: 28px;
}

.portfolio-main > .portfolio-section:first-child {
  margin-top: 0;
}

.portfolio-section-heading {
  margin-bottom: 32px;
}

.portfolio-section-heading h2,
.about-section h2 {
  font: 500 30px/36px var(--home-display);
  letter-spacing: -1.1px;
}

.portfolio-section-heading p {
  margin-top: 12px;
  color: var(--home-muted);
  line-height: 1.6;
}

.portfolio-index-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-block: 0 32px;
  border-bottom: 1px solid var(--home-line);
}

.portfolio-index-nav a {
  padding-block: 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--home-muted);
  min-height: 44px;
}

.portfolio-index-nav a:hover {
  color: var(--home-text);
}

.portfolio-collection-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--home-line);
}

.portfolio-collection-controls .portfolio-index-nav {
  padding-bottom: 0;
  border: 0;
}

.portfolio-collection-controls .portfolio-toolbar {
  display: block;
  margin: 0;
}

.portfolio-collection-controls .portfolio-result-count {
  padding-bottom: 0;
  margin-top: 12px;
}

#project-groups > .portfolio-section:first-child {
  margin-top: 48px;
}

.portfolio-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-block: 32px;
}

.portfolio-search {
  display: grid;
  gap: 8px;
  width: min(420px, 100%);
}

.portfolio-search label {
  font-size: 14px;
  line-height: 20px;
  color: var(--home-muted);
}

.portfolio-search input {
  min-height: 48px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: var(--home-raised);
  color: var(--home-text);
  font: inherit;
}

.portfolio-search input::-moz-placeholder {
  color: var(--home-muted);
  opacity: 1;
}

.portfolio-search input::placeholder {
  color: var(--home-muted);
  opacity: 1;
}

.portfolio-search input:focus-visible {
  outline: 2px solid var(--home-accent);
  outline-offset: 4px;
}

.portfolio-result-count {
  color: var(--home-muted);
  font-size: 14px;
  line-height: 20px;
  padding-bottom: 12px;
}

.portfolio-empty {
  margin-block: 64px;
  font-size: 18px;
  line-height: 28px;
  color: var(--home-muted);
  padding: 32px;
  border: 1px solid var(--home-line);
  border-radius: 16px;
  background: var(--home-raised);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.portfolio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--home-line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--home-raised) 62%, transparent);
  transition:
    border-color 300ms var(--home-ease),
    background-color 300ms var(--home-ease);
}

.portfolio-card:hover {
  border-color: var(--home-accent);
  background: var(--home-raised);
}

.portfolio-card:focus-within {
  border-color: var(--home-accent);
}

.portfolio-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  line-height: 16px;
  color: var(--home-muted);
}

.portfolio-card-meta > :first-child {
  text-transform: capitalize;
}

.portfolio-card h3 {
  margin-top: 16px;
  font: 500 24px/32px var(--home-display);
  letter-spacing: -0.65px;
  overflow-wrap: anywhere;
}

.portfolio-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
}

.portfolio-card h3 a:hover {
  color: var(--home-accent);
}

.portfolio-card-parent {
  font-size: 12px;
  line-height: 16px;
  color: var(--home-muted);
  margin-top: 8px;
}

.portfolio-card-description {
  margin-block: 16px 24px;
  color: var(--home-muted);
  line-height: 1.65;
  text-wrap: pretty;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: auto;
  font-size: 12px;
  line-height: 16px;
  color: var(--home-muted);
}

.portfolio-tags a,
.portfolio-card-children a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-decoration-color: var(--home-line);
  text-underline-offset: 4px;
}

.portfolio-tags a:hover,
.portfolio-card-children a:hover {
  color: var(--home-accent);
}

.portfolio-card-children {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--home-line);
  font-size: 14px;
  line-height: 20px;
}

.portfolio-card-children > span {
  color: var(--home-muted);
  width: 100%;
  font-size: 12px;
  line-height: 16px;
}

.portfolio-timeline {
  margin-block: 80px 0;
  border-bottom: 1px solid var(--home-line);
  padding-bottom: 24px;
  scroll-margin-top: 28px;
}

.portfolio-main > .portfolio-timeline:first-child {
  margin-top: 0;
  margin-bottom: 48px;
}

.portfolio-timeline summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
  padding-block: 12px;
}

.portfolio-timeline summary::-webkit-details-marker {
  display: none;
}

.portfolio-timeline summary > span:first-child {
  font: 500 24px/32px var(--home-display);
  letter-spacing: -0.5px;
}

.portfolio-timeline summary > span:last-child {
  display: flex;
  gap: 24px;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 20px;
}

.portfolio-timeline summary > span:last-child::after {
  content: "+";
  font-size: 20px;
  line-height: 28px;
}

.portfolio-timeline[open] summary > span:last-child::after {
  content: "−";
}

.portfolio-timeline summary:focus-visible {
  outline: 2px solid var(--home-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.portfolio-timeline-intro {
  max-width: 650px;
  color: var(--home-muted);
  line-height: 1.65;
  margin-top: 16px;
}

.publication-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--home-line);
  border-radius: 9999px;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 0;
}

[data-publication-controls] {
  align-items: center;
  margin-block: 0 48px;
}

[data-publication-count] {
  padding-bottom: 0;
}

.publication-year:first-of-type {
  margin-top: 0;
}

.publication-filter button {
  min-height: 44px;
  padding: 8px 16px;
  color: var(--home-muted);
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  border-radius: 9999px;
  font-weight: 600;
  transition:
    background-color 300ms var(--home-ease),
    color 300ms var(--home-ease),
    transform 500ms var(--home-ease);
}

.publication-filter button[aria-pressed="true"] {
  background: var(--home-primary);
  color: var(--home-primary-text);
}

.publication-filter button:hover:not([aria-pressed="true"]) {
  background: var(--home-tint);
  color: var(--home-text);
}

.publication-filter button:active {
  transform: scale(0.98);
}

.publication-year {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 48px;
  margin-top: 48px;
}

.publication-year > h2 {
  padding-top: 24px;
  font: 500 30px/36px var(--home-display);
  color: var(--home-muted);
  letter-spacing: -1px;
}

.publication-year ol {
  min-width: 0;
}

.publication-entry {
  padding: 24px 0 32px;
  border-top: 1px solid var(--home-line);
}

.publication-entry h3 {
  max-width: 830px;
  font: 500 24px/32px var(--home-display);
  letter-spacing: -0.4px;
}

.publication-entry h3 a:hover {
  color: var(--home-accent);
}

.publication-authors {
  font-size: 14px;
  color: var(--home-muted);
  margin-top: 12px;
  line-height: 20px;
}

.publication-venue {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 16px;
}

.publication-venue > :first-child {
  color: var(--home-accent);
  text-transform: capitalize;
}

.portfolio-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 20px;
  text-decoration: underline !important;
  text-decoration-color: var(--home-line) !important;
  text-underline-offset: 5px;
}

.portfolio-back:hover {
  color: var(--home-accent);
}

.tag-masthead {
  min-height: 370px;
  padding-bottom: 48px;
}

.tag-masthead h1 {
  margin-top: 16px;
  overflow-wrap: anywhere;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 96px;
  align-items: start;
  padding-block: 24px 80px;
}

.about-intro h2 {
  font: 500 36px/40px var(--home-display);
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.about-portrait {
  border-radius: 12px;
  overflow: hidden;
  background: var(--home-tint);
}

.about-portrait img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.75);
}

.about-portrait figcaption {
  padding: 16px 24px;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 16px;
}

.about-reading {
  max-width: 680px;
  margin-left: calc(96px + 96px);
}

.about-section {
  margin-bottom: 64px;
  scroll-margin-top: 28px;
}

.about-section h2 {
  margin-bottom: 24px;
}

.portfolio-prose {
  font-size: 18px;
  line-height: 28px;
}

.portfolio-prose p + p {
  margin-top: 24px;
}

.portfolio-prose a {
  text-decoration: underline;
  text-decoration-color: var(--home-line);
  text-underline-offset: 4px;
}

.portfolio-prose a:hover {
  color: var(--home-accent);
}

.portfolio-prose strong {
  font-weight: 600;
}

.portfolio-prose ul {
  margin-block: 24px;
  padding-left: 24px;
  list-style: disc;
}

.portfolio-prose li + li {
  margin-top: 16px;
}

.about-education {
  display: grid;
  gap: 24px;
}

.about-education h3 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}

.about-education p {
  margin-top: 4px;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 24px;
}

.about-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.about-contact a {
  min-height: 44px;
  padding-block: 12px;
}

.portfolio-error {
  padding-block: calc(96px + 64px) 96px;
  min-height: 72dvh;
}

.portfolio-error h1 {
  font: 500 72px/72px var(--home-display);
  letter-spacing: -0.05em;
  max-width: 640px;
}

.portfolio-error p:not(.home-eyebrow) {
  margin-block: 24px 32px;
  color: var(--home-muted);
  font-size: 18px;
  line-height: 28px;
}

@media (max-width: 1100px) {
  .page-masthead h1,
  .portfolio-error h1 {
    font-size: 60px;
    line-height: 60px;
  }
  .page-masthead-art {
    width: 62%;
    opacity: 0.8;
  }
  .page-masthead-copy {
    max-width: 54%;
  }
  .projects-masthead .page-masthead-art {
    width: 80%;
    opacity: 1;
  }
  .about-intro {
    gap: 64px;
    grid-template-columns: minmax(0, 1fr) 260px;
  }
  .about-reading {
    margin-left: calc(96px + 4px);
  }
}

@media (max-width: 767px) {
  .page-masthead {
    padding: calc(96px + 64px) 0 calc(96px + 96px);
    min-height: 0;
    padding-top: calc(96px + 96px);
    padding-bottom: 256px;
  }
  .page-masthead-art {
    inset: auto 0 0;
    width: 100%;
    height: 255px;
    -o-object-position: right 58%;
       object-position: right 58%;
    opacity: 1;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 48%);
            mask-image: linear-gradient(180deg, transparent, #000 48%);
  }
  .page-masthead-illustrated .page-masthead-art {
    height: calc(255px + var(--masthead-art-extension));
    bottom: calc(-1 * var(--masthead-art-extension));
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%);
            mask-image: linear-gradient(180deg, transparent, #000 20%);
  }
  .about-masthead::after,
  .publications-masthead::after {
    inset-block-start: calc(100% - 192px);
    height: calc(var(--masthead-art-extension) + 192px);
    background: linear-gradient(
      180deg,
      transparent,
      color-mix(in srgb, var(--home-surface) 82%, transparent) 192px,
      var(--home-surface)
    );
  }
  .projects-masthead {
    padding-top: calc(96px + 96px);
    padding-bottom: calc(96px * 4);
    min-height: 0;
  }
  .projects-masthead .page-masthead-art {
    width: 100%;
    height: calc(340px + var(--masthead-art-extension));
    bottom: calc(-1 * var(--masthead-art-extension));
    -o-object-position: 75% center;
       object-position: 75% center;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%);
            mask-image: linear-gradient(180deg, transparent, #000 20%);
  }
  .page-masthead-copy {
    max-width: none;
  }
  .page-masthead h1 {
    font-size: 36px;
    line-height: 40px;
  }
  .about-masthead h1 {
    font-size: 36px;
    line-height: 40px;
  }
  .page-masthead .home-eyebrow {
    margin-bottom: 16px;
  }
  .page-masthead-description {
    font-size: 16px;
    line-height: 24px;
    margin-top: 24px;
  }
  .portfolio-main {
    padding-block: 32px 80px;
  }
  .portfolio-section {
    margin-top: 48px;
  }
  .portfolio-section-heading h2,
  .about-section h2 {
    font-size: 30px;
    line-height: 36px;
  }
  .portfolio-index-nav {
    gap: 4px 24px;
    padding-bottom: 24px;
  }
  .portfolio-index-nav a {
    font-size: 14px;
    line-height: 20px;
  }
  .portfolio-collection-controls {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding-bottom: 24px;
  }
  .portfolio-collection-controls .portfolio-index-nav {
    order: 2;
  }
  .portfolio-toolbar {
    margin-block: 24px;
    gap: 12px;
  }
  .portfolio-search {
    width: 100%;
  }
  .portfolio-result-count {
    padding-bottom: 0;
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .portfolio-card {
    padding: 24px;
  }
  .portfolio-card h3 {
    font-size: 24px;
    line-height: 32px;
  }
  .portfolio-card-description {
    font-size: 16px;
    line-height: 24px;
  }
  .portfolio-timeline {
    margin-top: 24px;
  }
  .portfolio-main > .portfolio-timeline:first-child {
    margin-bottom: 32px;
  }
  .portfolio-timeline summary {
    align-items: center;
  }
  .portfolio-timeline summary > span:first-child {
    font-size: 20px;
    line-height: 28px;
  }
  .portfolio-timeline summary > span:last-child {
    font-size: 12px;
    line-height: 16px;
    gap: 12px;
  }
  .publication-filter {
    max-width: 100%;
  }
  .publication-filter button {
    padding-inline: 16px;
  }
  .publication-year {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }
  .publication-year > h2 {
    font-size: 30px;
    line-height: 36px;
    padding-top: 0;
  }
  .publication-entry {
    padding-block: 24px 24px;
  }
  .publication-entry h3 {
    font-size: 20px;
    line-height: 28px;
  }
  .tag-masthead {
    padding-bottom: 48px;
  }
  .about-intro {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 12px 48px;
  }
  .about-intro h2 {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 24px;
  }
  .about-portrait {
    max-width: 300px;
  }
  .about-reading {
    margin-left: 0;
    max-width: none;
  }
  .about-section {
    margin-bottom: 48px;
  }
  .portfolio-prose {
    font-size: 16px;
    line-height: 24px;
  }
  .portfolio-error {
    padding-block: calc(96px + 96px) 80px;
  }
  .portfolio-error h1 {
    font-size: 36px;
    line-height: 40px;
  }
  .portfolio-error p:not(.home-eyebrow) {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .page-masthead h1,
  .portfolio-error h1 {
    font-size: 48px;
    line-height: 48px;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .about-masthead h1 {
    font-size: 48px;
    line-height: 48px;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .about-masthead h1 {
    font-size: 36px;
    line-height: 40px;
  }
}

@media (max-width: 359px) {
  .about-masthead h1 {
    font-size: 30px;
    line-height: 36px;
  }
}

/* Fit the full chart initially; zoom expands it inside a bounded viewport.
   Local layers: grid 0, project labels 1, year axis 2. */

.timeline-panel {
  height: calc(100dvh - 150px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 12px;
}

.timeline-panel .portfolio-timeline-intro {
  margin: 0;
  font-size: 15px;
}

.timeline-frame {
  --timeline-zoom: 1;
  --timeline-label-width: 200px;
  --timeline-active: color-mix(in srgb, #15803d 65%, var(--home-text));
  --timeline-shipped: color-mix(in srgb, #1d4ed8 65%, var(--home-text));
  --timeline-paused: color-mix(in srgb, #b45309 65%, var(--home-text));
  --timeline-archived: color-mix(in srgb, #6b7280 65%, var(--home-text));
  --timeline-exploration: color-mix(in srgb, #9333ea 65%, var(--home-text));
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  min-width: 0;
  overflow-anchor: none;
}

.timeline-frame .bg-green-700 {
  background-color: var(--timeline-active);
}

.timeline-frame .bg-blue-700 {
  background-color: var(--timeline-shipped);
}

.timeline-frame .bg-amber-600 {
  background-color: var(--timeline-paused);
}

.timeline-frame .bg-gray-400 {
  background-color: var(--timeline-archived);
}

.timeline-frame .bg-purple-600 {
  background-color: var(--timeline-exploration);
}

.timeline-scroll {
  flex: 1;
  min-height: 0;
  overflow: auto;
  touch-action: pan-x pan-y;
  isolation: isolate;
  border: 1px solid var(--home-line);
  border-radius: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--home-muted) var(--home-tint);
}

.timeline-frame[data-zoomed] .timeline-scroll {
  overscroll-behavior: contain;
}

.timeline-scroll:focus-visible {
  outline: 2px solid var(--home-accent);
  outline-offset: 4px;
}

.timeline-chart {
  width: calc(100% * var(--timeline-zoom));
  height: calc(100% * var(--timeline-zoom));
  display: flex;
  flex-direction: column;
  padding-right: 16px;
}

.timeline-axis {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex: 0 0 34px;
  background: var(--home-raised);
  border-bottom: 1px solid var(--home-line);
}

.timeline-label {
  position: sticky;
  left: 0;
  z-index: 1;
  display: block;
  flex: 0 0 var(--timeline-label-width);
  width: var(--timeline-label-width);
  padding: 0 16px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  background: var(--home-surface);
  border-right: 1px solid var(--home-line);
}

.timeline-axis-label {
  display: flex;
  align-items: center;
  background: var(--home-raised);
  font-size: 12px;
  color: var(--home-muted);
}

.timeline-years {
  position: relative;
  flex: 1;
}

.timeline-year-label {
  position: absolute;
  top: 9px;
  transform: translateX(-50%);
  color: var(--home-muted);
  font-size: 11px;
  line-height: 1.4;
}

.timeline-year-label:first-child {
  transform: none;
}

.timeline-body {
  position: relative;
  flex: 1;
  min-height: 0;
  container-type: size;
  display: grid;
  grid-template-rows: repeat(var(--timeline-row-count), minmax(0, 1fr));
}

.timeline-grid {
  position: absolute;
  inset: 0 0 0 var(--timeline-label-width);
  pointer-events: none;
}

.timeline-year-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--home-line);
  opacity: 0.55;
}

.timeline-today {
  position: absolute;
  top: 0;
  bottom: 0;
  border-left: 1px dashed var(--home-accent);
}

.timeline-row {
  display: flex;
  align-items: stretch;
  min-height: 0;
  color: var(--home-muted);
  font-size: min(12px, calc(90cqh / var(--timeline-row-count)));
  line-height: calc(100cqh / var(--timeline-row-count));
}

.timeline-row:hover,
.timeline-row:focus-visible {
  background: var(--home-tint);
  color: var(--home-text);
}

.timeline-row:hover .timeline-label,
.timeline-row:focus-visible .timeline-label {
  background: var(--home-tint);
}

.home-page .timeline-row:focus-visible {
  outline-offset: -2px;
  border-radius: 0;
}

.timeline-ranges {
  position: relative;
  display: block;
  flex: 1;
}

.timeline-range {
  position: absolute;
  top: 25%;
  bottom: 25%;
  border-radius: 2px;
  opacity: 0.8;
  min-width: 2px;
}

.timeline-row:hover .timeline-range {
  opacity: 1;
}

.timeline-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  margin-top: 12px;
}

.timeline-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 20px;
  color: var(--home-muted);
  font-size: 12px;
  line-height: 1.5;
}

.timeline-legend > span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.timeline-legend i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 2px;
}

.timeline-zoom {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--home-muted);
  font-size: 13px;
}

.timeline-zoom button {
  min-width: 44px;
  min-height: 44px;
  padding: 8px;
  border-radius: 6px;
}

.timeline-zoom button:hover:not(:disabled) {
  color: var(--home-text);
  background: var(--home-tint);
}

.timeline-zoom button:disabled {
  opacity: 0.35;
  cursor: default;
}

.timeline-zoom output {
  min-width: 40px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {
  .timeline-frame {
    --timeline-label-width: 150px;
  }
  .timeline-label {
    padding-inline: 12px;
  }
  .timeline-legend {
    gap: 7px 15px;
  }
}

/* Shared case-study shell. Authored explainers retain their content and IDs. */

.case-study {
  padding-top: calc(96px + 64px);
  padding-bottom: 96px;
}

.case-header h1 {
  margin-top: 24px;
  max-width: 680px;
  font: 500 72px/72px var(--home-display);
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

.case-parent {
  margin-top: 16px;
  color: var(--home-muted);
  font-size: 14px;
  line-height: 20px;
}

.case-parent a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.case-description {
  max-width: 680px;
  margin-top: 24px;
  font-size: 20px;
  line-height: 28px;
  color: var(--home-muted);
  text-wrap: pretty;
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.case-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid var(--home-line);
  border-radius: 9999px;
  font-size: 16px;
  line-height: 24px;
  overflow-wrap: anywhere;
  transition:
    border-color 300ms var(--home-ease),
    background-color 300ms var(--home-ease),
    transform 500ms var(--home-ease);
  font-weight: 600;
}

.case-actions a:first-child {
  color: var(--home-primary-text);
  background: var(--home-primary);
  border-color: var(--home-primary);
}

.case-actions a:hover {
  border-color: var(--home-accent);
}

.case-actions a:first-child:hover {
  background: var(--home-primary-hover);
  border-color: var(--home-primary-hover);
}

.case-actions a:active,
.portfolio-page .case-explainer .ex .ex-btn:active {
  transform: scale(0.98);
}

.case-facts {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 2fr;
  gap: 32px;
  margin-block: 48px 0;
  padding-block: 24px;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.case-facts dt {
  font-size: 12px;
  line-height: 16px;
  color: var(--home-muted);
  margin-bottom: 8px;
}

.case-facts dd {
  font-size: 14px;
  line-height: 20px;
}

.case-facts dd a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.case-status {
  text-transform: capitalize;
}

.case-hero-media {
  margin-top: 40px;
}

.case-image,
.case-hero-media video {
  width: 100%;
  height: auto;
  max-height: 760px;
  -o-object-fit: contain;
     object-fit: contain;
  border: 1px solid var(--home-line);
  border-radius: 16px;
  background: var(--home-tint);
}

.case-content-layout {
  margin-top: 64px;
}

.case-reading {
  max-width: 680px;
  margin-inline: auto;
  min-width: 0;
  width: 100%;
}

.case-content-layout.has-contents {
  display: grid;
  grid-template-columns: 192px minmax(0, 1fr);
  gap: 64px;
}

.case-contents {
  align-self: start;
  position: sticky;
  top: 28px;
  padding-right: 24px;
  font-size: 14px;
  line-height: 20px;
}

.case-contents p {
  margin-bottom: 16px;
  color: var(--home-text);
  font-weight: 600;
}

.case-contents a {
  display: block;
  padding-block: 8px;
  color: var(--home-muted);
  line-height: 1.5;
}

.case-contents a:hover {
  color: var(--home-accent);
}

.portfolio-page .case-reading.project-content {
  color: var(--home-text);
  font-family: inherit;
  font-size: 18px;
  line-height: 28px;
}

.portfolio-page .case-reading p {
  margin-block: 0 24px;
  font-size: inherit;
  line-height: inherit;
  text-wrap: pretty;
}

.portfolio-page .case-reading :is(h1, h2, h3, h4) {
  color: var(--home-text);
  font-family: var(--home-display);
  font-weight: 400;
  letter-spacing: -0.03em;
  scroll-margin-top: 28px;
}

.portfolio-page .case-reading h2 {
  font-size: 30px;
  line-height: 36px;
  margin-block: 64px 24px;
}

.portfolio-page .case-reading h3 {
  font-size: 24px;
  line-height: 32px;
  margin-block: 32px 16px;
}

.portfolio-page .case-reading h4 {
  font-size: 20px;
  line-height: 28px;
}

.portfolio-page .case-reading > :first-child {
  margin-top: 0;
}

.portfolio-page .case-reading a {
  color: inherit;
  font-weight: inherit;
  text-decoration: underline;
  text-decoration-color: var(--home-line);
  text-underline-offset: 4px;
}

.portfolio-page .case-reading a:hover {
  color: var(--home-accent);
}

.portfolio-page .case-reading :is(h1, h2, h3, h4) a {
  text-decoration: none;
}

.portfolio-page .case-reading strong {
  color: var(--home-text);
  font-weight: 600;
}

.portfolio-page .case-reading :is(ul, ol) {
  padding-left: 24px;
  margin-block: 24px;
}

.portfolio-page .case-reading li {
  font-size: inherit;
  line-height: inherit;
  list-style-position: outside;
  padding-left: 4px;
}

.portfolio-page .case-reading li + li {
  margin-top: 12px;
}

.portfolio-page .case-reading li p {
  margin-bottom: 12px;
}

.portfolio-page .case-reading code {
  padding: 0.15em 0.35em;
  background: var(--home-tint);
  color: var(--home-text);
  font-family: var(--home-mono);
  font-size: 14px;
  line-height: 20px;
  overflow-wrap: anywhere;
}

.portfolio-page .case-reading pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 24px;
  background: var(--home-tint);
  color: var(--home-text);
  white-space: pre;
  font-size: 14px;
  line-height: 24px;
  border-radius: 12px;
}

.portfolio-page .case-reading pre code {
  padding: 0;
  background: transparent;
  white-space: pre;
  overflow-wrap: normal;
  line-height: inherit;
}

.portfolio-page .case-reading blockquote {
  border-color: var(--home-line);
  color: var(--home-muted);
  padding-left: 24px;
}

.portfolio-page .case-reading :is(img, video) {
  max-width: 100%;
  border-color: var(--home-line);
}

.portfolio-page .case-reading table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  margin-block: 32px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 20px;
}

.portfolio-page .case-reading :is(th, td) {
  padding: 12px 16px;
  border-bottom: 1px solid var(--home-line);
  text-align: left;
}

.case-related {
  margin-top: 80px;
}

.case-related > h2 {
  font: 500 30px/36px var(--home-display);
  letter-spacing: -1px;
  margin-bottom: 32px;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 64px;
  align-items: start;
}

.case-end {
  margin-top: 64px;
  border-top: 1px solid var(--home-line);
  padding-top: 24px;
}

/* Compatibility layer for custom explainers, without editing their source. */

.portfolio-page .case-explainer .ex {
  --ink: var(--home-text);
  --muted: var(--home-muted);
  --line: var(--home-line);
  --soft: var(--home-tint);
  --accent: var(--home-accent);
  --accent-ink: var(--home-accent);
  width: min(1184px, calc(100% - 96px));
  max-width: none;
  padding: calc(96px + 64px) 0 96px;
}

.portfolio-page .case-explainer .ex > a:first-child {
  color: var(--home-muted);
  font-size: 14px;
  line-height: 20px;
  text-decoration: underline;
  text-decoration-color: var(--home-line);
  text-underline-offset: 5px;
}

.portfolio-page .case-explainer .ex > header > h1 {
  font: 500 72px/72px var(--home-display);
  letter-spacing: -0.055em;
  margin-top: 16px;
}

.portfolio-page .case-explainer .ex p {
  color: var(--home-text);
}

.portfolio-page
  .case-explainer
  .ex
  .ex-section
  p:where(:not(.ex-kicker, .ex-caption)) {
  font-size: 18px;
  line-height: 28px;
}

.portfolio-page .case-explainer .ex .ex-use {
  padding: 24px;
}

.portfolio-page .case-explainer .ex :is(.ex-card, .ex-use) p {
  font-size: 16px;
  line-height: 24px;
}

.portfolio-page .case-explainer .ex .ex-name p:not(.ex-kicker) {
  font-size: 20px;
  line-height: 28px;
}

.portfolio-page .case-explainer .ex .ex-use h3 {
  font-size: 20px;
  line-height: 28px;
}

.portfolio-page .case-explainer .ex :is(.ex-kicker, .ex-tag, .ex-meta dt) {
  font-size: 12px;
  line-height: 16px;
}

.portfolio-page .case-explainer .ex :is(.ex-term, .ex-timeline span) {
  font-family: var(--home-mono);
  font-size: 14px;
  line-height: 24px;
}

.portfolio-page .case-explainer .ex .ex-lede {
  max-width: 810px;
  font-size: 20px;
  line-height: 28px;
  color: var(--home-muted);
  font-weight: 400;
}

.portfolio-page .case-explainer .ex :is(.ex-kicker, .ex-caption, .ex-num) {
  color: var(--home-muted);
}

.portfolio-page .case-explainer .ex .ex-caption {
  font-size: 14px;
  line-height: 20px;
}

.portfolio-page .case-explainer .ex :is(.ex-h2, .ex-h3, .ex-name p) {
  font-family: var(--home-display);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.portfolio-page .case-explainer .ex .ex-h2 {
  font-size: 30px;
  line-height: 36px;
}

.portfolio-page .case-explainer .ex .ex-h3 {
  font-size: 24px;
  line-height: 32px;
}

.portfolio-page .case-explainer .ex .ex-num {
  display: none;
}

.portfolio-page .case-explainer .ex .ex-section {
  padding-top: 80px;
  scroll-margin-top: 80px;
}

.portfolio-page
  .case-explainer
  .ex
  :is(.ex-reason, .ex-card, .ex-node, .ex-use) {
  background: var(--home-raised);
}

.portfolio-page .case-explainer .ex :is(.ex-reasons, .ex-status) {
  gap: 24px;
}

.portfolio-page .case-explainer .ex :is(.ex-card, .ex-reason) {
  padding: 32px 32px;
  border-radius: 16px;
}

.portfolio-page .case-explainer .ex .ex-node.core {
  background: var(--home-button);
  border-color: var(--home-button);
  color: var(--home-button-text);
}

.portfolio-page .case-explainer .ex .ex-node.core small {
  color: inherit;
}

.portfolio-page .case-explainer .ex .ex-timeline li {
  color: var(--home-text);
}

.portfolio-page .case-explainer .ex .ex-not div {
  color: var(--home-muted);
}

.portfolio-page .case-explainer .ex .ex-cli td {
  color: var(--home-text);
}

.portfolio-page .case-explainer .ex .ex-term :is(.p, .c) {
  color: #a9b7c3;
}

.portfolio-page .case-explainer .ex .ex-btn {
  color: var(--home-text);
  border-color: var(--home-line);
  min-height: 48px;
  padding: 8px 12px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  transition:
    background-color 300ms var(--home-ease),
    border-color 300ms var(--home-ease),
    transform 500ms var(--home-ease);
}

.portfolio-page .case-explainer .ex .ex-btn.primary {
  color: var(--home-primary-text);
  background: var(--home-primary);
  border-color: var(--home-primary);
}

.portfolio-page .case-explainer .ex .ex-btn.primary:hover {
  background: var(--home-primary-hover);
  border-color: var(--home-primary-hover);
}

.portfolio-page .case-explainer .ex .ex-tag {
  color: var(--home-accent) !important;
  background: var(--home-tint) !important;
}

.portfolio-page .case-explainer .ex code {
  color: var(--home-text);
  background: var(--home-tint);
  font-family: var(--home-mono);
  font-size: 14px;
  line-height: 20px;
}

.portfolio-page .case-explainer .ex .ex-shot {
  border-color: var(--home-line);
  box-shadow: 0 16px 42px -28px rgba(19, 39, 53, 0.35);
  border-radius: 16px;
}

.case-jump-nav {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  overflow-x: auto;
  gap: 8px 24px;
  margin-top: 40px;
  padding-block: 8px;
  background: var(--home-surface);
  border-bottom: 1px solid var(--home-line);
  scrollbar-width: thin;
}

.case-jump-nav a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  line-height: 20px;
  color: var(--home-muted);
  padding-block: 8px;
  white-space: nowrap;
}

.case-jump-nav a:hover {
  color: var(--home-accent);
}

@media (max-width: 1100px) {
  .case-header h1,
  .portfolio-page .case-explainer .ex > header > h1 {
    font-size: 60px;
    line-height: 60px;
  }
  .case-content-layout.has-contents {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 32px;
  }
  .portfolio-page .case-explainer .ex {
    width: calc(100% - 80px);
  }
}

@media (max-width: 767px) {
  .portfolio-page .case-explainer .ex > header > h1 {
    max-width: 680px;
    font-size: 36px;
    line-height: 40px;
  }
  .case-study {
    padding-top: calc(96px + 96px);
    padding-bottom: 64px;
  }
  .case-header h1 {
    font-size: 36px;
    line-height: 40px;
    margin-top: 16px;
  }
  .case-description {
    font-size: 18px;
    line-height: 28px;
    margin-top: 24px;
  }
  .case-actions {
    gap: 12px;
    margin-top: 24px;
  }
  .case-actions a {
    padding-inline: 12px;
  }
  .case-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 24px;
    margin-top: 32px;
  }
  .case-facts dd {
    font-size: 14px;
    line-height: 20px;
  }
  .case-facts > :last-child {
    grid-column: 1/-1;
  }
  .case-hero-media {
    margin-top: 32px;
  }
  .case-content-layout,
  .case-content-layout.has-contents {
    display: block;
    margin-top: 40px;
  }
  .case-contents {
    position: static;
    margin-bottom: 32px;
    padding-right: 0;
  }
  .case-contents p {
    margin-bottom: 8px;
  }
  .case-contents a {
    padding-block: 8px;
  }
  .portfolio-page .case-reading.project-content {
    font-size: 16px;
    line-height: 24px;
  }
  .portfolio-page .case-reading h2 {
    font-size: 24px;
    line-height: 32px;
    margin-block: 40px 24px;
  }
  .portfolio-page .case-reading h3 {
    font-size: 20px;
    line-height: 28px;
  }
  .portfolio-page .case-reading pre {
    padding: 24px;
  }
  .case-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
  }
  .case-related {
    margin-top: 48px;
  }
  .case-related > h2 {
    font-size: 30px;
    line-height: 36px;
  }
  .portfolio-page .case-explainer .ex {
    width: calc(100% - 48px);
    padding-block: calc(96px + 96px) 64px;
  }
  .portfolio-page .case-explainer .ex .ex-lede {
    font-size: 18px;
    line-height: 28px;
  }
  .portfolio-page
    .case-explainer
    .ex
    .ex-section
    p:where(:not(.ex-kicker, .ex-caption)) {
    font-size: 16px;
    line-height: 24px;
  }
  .portfolio-page .case-explainer .ex .ex-name p:not(.ex-kicker) {
    font-size: 18px;
    line-height: 28px;
  }
  .portfolio-page .case-explainer .ex .ex-section {
    padding-top: 48px;
  }
  .portfolio-page .case-explainer .ex .ex-h2 {
    font-size: 24px;
    line-height: 32px;
  }
  .portfolio-page .case-explainer .ex .ex-h3 {
    font-size: 20px;
    line-height: 28px;
  }
  .portfolio-page .case-explainer .ex :is(.ex-card, .ex-reason) {
    padding: 24px;
  }
  .portfolio-page .case-explainer .ex .ex-cli {
    font-size: 14px;
    line-height: 20px;
  }
  .portfolio-page .case-explainer .ex .ex-cli td:first-child {
    padding-right: 16px;
  }
  .case-jump-nav {
    gap: 4px 24px;
    margin-top: 32px;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .case-header h1,
  .portfolio-page .case-explainer .ex > header > h1 {
    font-size: 48px;
    line-height: 48px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .case-header h1,
  .portfolio-page .case-explainer .ex > header > h1 {
    font-size: 48px;
    line-height: 48px;
  }
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/* ! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com */

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: "Manrope", sans-serif; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: "Geist Mono", ui-monospace, monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

:root {
    --background: 0 0% 100%;
    --foreground: 0 0% 3.9%;
    --card: 0 0% 100%;
    --card-foreground: 0 0% 3.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 0 0% 3.9%;
    --primary: 0 0% 9%;
    --primary-foreground: 0 0% 98%;
    --secondary: 0 0% 96.1%;
    --secondary-foreground: 0 0% 9%;
    --muted: 0 0% 96.1%;
    --muted-foreground: 0 0% 45.1%;
    --accent: 0 0% 96.1%;
    --accent-foreground: 0 0% 9%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;
    --border: 0 0% 89.8%;
    --input: 0 0% 89.8%;
    --ring: 0 0% 3.9%;
    --radius: 0.5rem;
  }

* {
  border-color: hsl(var(--border));
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

.prose {
  color: var(--tw-prose-body);
  max-width: 65ch;
}

.prose :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-lead);
  font-size: 1.25em;
  line-height: 1.6;
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}

.prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-links);
  text-decoration: underline;
  font-weight: 500;
}

.prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-bold);
  font-weight: 600;
}

.prose :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: decimal;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-inline-start: 1.625em;
}

.prose :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-alpha;
}

.prose :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-alpha;
}

.prose :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-alpha;
}

.prose :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-alpha;
}

.prose :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-roman;
}

.prose :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-roman;
}

.prose :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-roman;
}

.prose :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-roman;
}

.prose :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: decimal;
}

.prose :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: disc;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-inline-start: 1.625em;
}

.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
  font-weight: 400;
  color: var(--tw-prose-counters);
}

.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
  color: var(--tw-prose-bullets);
}

.prose :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  margin-top: 1.25em;
}

.prose :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-color: var(--tw-prose-hr);
  border-top-width: 1px;
  margin-top: 3em;
  margin-bottom: 3em;
}

.prose :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 500;
  font-style: italic;
  color: var(--tw-prose-quotes);
  border-inline-start-width: 0.25rem;
  border-inline-start-color: var(--tw-prose-quote-borders);
  quotes: "\201C""\201D""\2018""\2019";
  margin-top: 1.6em;
  margin-bottom: 1.6em;
  padding-inline-start: 1em;
}

.prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: open-quote;
}

.prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: close-quote;
}

.prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 800;
  font-size: 2.25em;
  margin-top: 0;
  margin-bottom: 0.8888889em;
  line-height: 1.1111111;
}

.prose :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 900;
  color: inherit;
}

.prose :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 700;
  font-size: 1.5em;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3333333;
}

.prose :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 800;
  color: inherit;
}

.prose :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  font-size: 1.25em;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.6;
}

.prose :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 700;
  color: inherit;
}

.prose :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.5;
}

.prose :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 700;
  color: inherit;
}

.prose :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  display: block;
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 500;
  font-family: inherit;
  color: var(--tw-prose-kbd);
  box-shadow: 0 0 0 1px var(--tw-prose-kbd-shadows), 0 3px 0 var(--tw-prose-kbd-shadows);
  font-size: 0.875em;
  border-radius: 0.3125rem;
  padding-top: 0.1875em;
  padding-inline-end: 0.375em;
  padding-bottom: 0.1875em;
  padding-inline-start: 0.375em;
}

.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-code);
  font-weight: 600;
  font-size: 0.875em;
}

.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: "`";
}

.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: "`";
}

.prose :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
  font-size: 0.875em;
}

.prose :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
  font-size: 0.9em;
}

.prose :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-pre-code);
  background-color: var(--tw-prose-pre-bg);
  overflow-x: auto;
  font-weight: 400;
  font-size: 0.875em;
  line-height: 1.7142857;
  margin-top: 1.7142857em;
  margin-bottom: 1.7142857em;
  border-radius: 0.375rem;
  padding-top: 0.8571429em;
  padding-inline-end: 1.1428571em;
  padding-bottom: 0.8571429em;
  padding-inline-start: 1.1428571em;
}

.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  background-color: transparent;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-weight: inherit;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}

.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: none;
}

.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: none;
}

.prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  width: 100%;
  table-layout: auto;
  margin-top: 2em;
  margin-bottom: 2em;
  font-size: 0.875em;
  line-height: 1.7142857;
}

.prose :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: var(--tw-prose-th-borders);
}

.prose :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  vertical-align: bottom;
  padding-inline-end: 0.5714286em;
  padding-bottom: 0.5714286em;
  padding-inline-start: 0.5714286em;
}

.prose :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: var(--tw-prose-td-borders);
}

.prose :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 0;
}

.prose :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  vertical-align: baseline;
}

.prose :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-top-width: 1px;
  border-top-color: var(--tw-prose-th-borders);
}

.prose :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  vertical-align: top;
}

.prose :where(th, td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  text-align: start;
}

.prose :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}

.prose :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-captions);
  font-size: 0.875em;
  line-height: 1.4285714;
  margin-top: 0.8571429em;
}

.prose {
  --tw-prose-body: #374151;
  --tw-prose-headings: #111827;
  --tw-prose-lead: #4b5563;
  --tw-prose-links: #111827;
  --tw-prose-bold: #111827;
  --tw-prose-counters: #6b7280;
  --tw-prose-bullets: #d1d5db;
  --tw-prose-hr: #e5e7eb;
  --tw-prose-quotes: #111827;
  --tw-prose-quote-borders: #e5e7eb;
  --tw-prose-captions: #6b7280;
  --tw-prose-kbd: #111827;
  --tw-prose-kbd-shadows: rgb(17 24 39 / 10%);
  --tw-prose-code: #111827;
  --tw-prose-pre-code: #e5e7eb;
  --tw-prose-pre-bg: #1f2937;
  --tw-prose-th-borders: #d1d5db;
  --tw-prose-td-borders: #e5e7eb;
  --tw-prose-invert-body: #d1d5db;
  --tw-prose-invert-headings: #fff;
  --tw-prose-invert-lead: #9ca3af;
  --tw-prose-invert-links: #fff;
  --tw-prose-invert-bold: #fff;
  --tw-prose-invert-counters: #9ca3af;
  --tw-prose-invert-bullets: #4b5563;
  --tw-prose-invert-hr: #374151;
  --tw-prose-invert-quotes: #f3f4f6;
  --tw-prose-invert-quote-borders: #374151;
  --tw-prose-invert-captions: #9ca3af;
  --tw-prose-invert-kbd: #fff;
  --tw-prose-invert-kbd-shadows: rgb(255 255 255 / 10%);
  --tw-prose-invert-code: #fff;
  --tw-prose-invert-pre-code: #d1d5db;
  --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
  --tw-prose-invert-th-borders: #4b5563;
  --tw-prose-invert-td-borders: #374151;
  font-size: 1rem;
  line-height: 1.75;
}

.prose :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}

.prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0.375em;
}

.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0.375em;
}

.prose :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.prose :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
}

.prose :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}

.prose :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
}

.prose :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}

.prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.prose :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.5em;
  padding-inline-start: 1.625em;
}

.prose :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0;
}

.prose :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-end: 0;
}

.prose :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-top: 0.5714286em;
  padding-inline-end: 0.5714286em;
  padding-bottom: 0.5714286em;
  padding-inline-start: 0.5714286em;
}

.prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0;
}

.prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-end: 0;
}

.prose :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 0;
}

.pointer-events-none {
  pointer-events: none;
}

.pointer-events-auto {
  pointer-events: auto;
}

.\!visible {
  visibility: visible !important;
}

.visible {
  visibility: visible;
}

.collapse {
  visibility: collapse;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  inset: 0px;
}

.right-0 {
  right: 0px;
}

.right-4 {
  right: 1rem;
}

.top-0 {
  top: 0px;
}

.top-4 {
  top: 1rem;
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

.z-\[1000\] {
  z-index: 1000;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-1\.5 {
  margin-bottom: 0.375rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-24 {
  margin-top: 6rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-7 {
  margin-top: 1.75rem;
}

.mt-8 {
  margin-top: 2rem;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.contents {
  display: contents;
}

.hidden {
  display: none;
}

.h-10 {
  height: 2.5rem;
}

.h-5 {
  height: 1.25rem;
}

.h-80 {
  height: 20rem;
}

.h-96 {
  height: 24rem;
}

.h-auto {
  height: auto;
}

.max-h-full {
  max-height: 100%;
}

.w-10 {
  width: 2.5rem;
}

.w-5 {
  width: 1.25rem;
}

.w-80 {
  width: 20rem;
}

.w-96 {
  width: 24rem;
}

.w-auto {
  width: auto;
}

.w-full {
  width: 100%;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-full {
  max-width: 100%;
}

.grow {
  flex-grow: 1;
}

.border-collapse {
  border-collapse: collapse;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.animate-\[fadeIn_0\.15s_ease-out\] {
  animation: fadeIn 0.15s ease-out;
}

.cursor-default {
  cursor: default;
}

.cursor-zoom-in {
  cursor: zoom-in;
}

.cursor-zoom-out {
  cursor: zoom-out;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-baseline {
  align-items: baseline;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1\.5 {
  gap: 0.375rem;
}

.gap-12 {
  gap: 3rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-x-3 {
  -moz-column-gap: 0.75rem;
       column-gap: 0.75rem;
}

.gap-y-1 {
  row-gap: 0.25rem;
}

.space-x-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1.5rem * var(--tw-space-x-reverse));
  margin-left: calc(1.5rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-x-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(2rem * var(--tw-space-x-reverse));
  margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}

.whitespace-nowrap {
  white-space: nowrap;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: var(--radius);
}

.border {
  border-width: 1px;
}

.border-t {
  border-top-width: 1px;
}

.border-gray-100 {
  --tw-border-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
}

.border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}

.border-gray-800 {
  --tw-border-opacity: 1;
  border-color: rgb(31 41 55 / var(--tw-border-opacity, 1));
}

.bg-amber-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(217 119 6 / var(--tw-bg-opacity, 1));
}

.bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
}

.bg-black\/85 {
  background-color: rgb(0 0 0 / 0.85);
}

.bg-blue-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(29 78 216 / var(--tw-bg-opacity, 1));
}

.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

.bg-gray-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(156 163 175 / var(--tw-bg-opacity, 1));
}

.bg-gray-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(107 114 128 / var(--tw-bg-opacity, 1));
}

.bg-green-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(21 128 61 / var(--tw-bg-opacity, 1));
}

.bg-purple-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(147 51 234 / var(--tw-bg-opacity, 1));
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.bg-white\/10 {
  background-color: rgb(255 255 255 / 0.1);
}

.bg-opacity-50 {
  --tw-bg-opacity: 0.5;
}

.bg-gradient-to-b {
  background-image: linear-gradient(to bottom, var(--tw-gradient-stops));
}

.from-white {
  --tw-gradient-from: #fff var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-neutral-50\/50 {
  --tw-gradient-to: rgb(250 250 250 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), rgb(250 250 250 / 0.5) var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.to-neutral-100\/30 {
  --tw-gradient-to: rgb(245 245 245 / 0.3) var(--tw-gradient-to-position);
}

.object-contain {
  -o-object-fit: contain;
     object-fit: contain;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.pb-24 {
  padding-bottom: 6rem;
}

.pt-24 {
  padding-top: 6rem;
}

.pt-3 {
  padding-top: 0.75rem;
}

.pt-8 {
  padding-top: 2rem;
}

.font-serif {
  font-family: "Manrope", sans-serif;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-\[11px\] {
  font-size: 11px;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-light {
  font-weight: 300;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.capitalize {
  text-transform: capitalize;
}

.leading-none {
  line-height: 1;
}

.leading-tight {
  line-height: 1.25;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.text-black {
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity, 1));
}

.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}

.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}

.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}

.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.underline {
  text-decoration-line: underline;
}

.decoration-gray-300 {
  text-decoration-color: #d1d5db;
}

.underline-offset-2 {
  text-underline-offset: 2px;
}

.underline-offset-4 {
  text-underline-offset: 4px;
}

.opacity-0 {
  opacity: 0;
}

.opacity-\[0\.015\] {
  opacity: 0.015;
}

.opacity-\[0\.025\] {
  opacity: 0.025;
}

.opacity-\[0\.03\] {
  opacity: 0.03;
}

.opacity-\[0\.06\] {
  opacity: 0.06;
}

.opacity-\[0\.08\] {
  opacity: 0.08;
}

.shadow-2xl {
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.blur-3xl {
  --tw-blur: blur(64px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.backdrop-blur-sm {
  --tw-backdrop-blur: blur(4px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.backdrop-brightness-200 {
  --tw-backdrop-brightness: brightness(2);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-100 {
  transition-duration: 100ms;
}

.duration-200 {
  transition-duration: 200ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

@keyframes enter {

  from {
    opacity: var(--tw-enter-opacity, 1);
    transform: translate3d(var(--tw-enter-translate-x, 0), var(--tw-enter-translate-y, 0), 0) scale3d(var(--tw-enter-scale, 1), var(--tw-enter-scale, 1), var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0));
  }
}

@keyframes exit {

  to {
    opacity: var(--tw-exit-opacity, 1);
    transform: translate3d(var(--tw-exit-translate-x, 0), var(--tw-exit-translate-y, 0), 0) scale3d(var(--tw-exit-scale, 1), var(--tw-exit-scale, 1), var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0));
  }
}

.duration-100 {
  animation-duration: 100ms;
}

.duration-200 {
  animation-duration: 200ms;
}

.duration-300 {
  animation-duration: 300ms;
}

.ease-in-out {
  animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.ease-out {
  animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.running {
  animation-play-state: running;
}

.paused {
  animation-play-state: paused;
}

:root {
  --foreground-rgb: 0, 0, 0;
  --background-start-rgb: 255, 255, 255;
  --background-end-rgb: 255, 255, 255;
  --font-source-serif-pro: "Manrope", sans-serif;
}

/* Animated background keyframes */

@keyframes grain-shift {
  0%,
  100% {
    transform: translate(0, 0);
  }
  10% {
    transform: translate(-5%, -5%);
  }
  20% {
    transform: translate(-10%, 5%);
  }
  30% {
    transform: translate(5%, -10%);
  }
  40% {
    transform: translate(-5%, 15%);
  }
  50% {
    transform: translate(-10%, 5%);
  }
  60% {
    transform: translate(15%, 0);
  }
  70% {
    transform: translate(0, 10%);
  }
  80% {
    transform: translate(-15%, 0);
  }
  90% {
    transform: translate(10%, 5%);
  }
}

@keyframes float-slow {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -20px) scale(1.05);
  }
  66% {
    transform: translate(-20px, 30px) scale(0.95);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

.hover\:border-gray-400:hover {
  --tw-border-opacity: 1;
  border-color: rgb(156 163 175 / var(--tw-border-opacity, 1));
}

.hover\:bg-white:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.hover\:bg-white\/20:hover {
  background-color: rgb(255 255 255 / 0.2);
}

.hover\:text-black:hover {
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity, 1));
}

.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.group:hover .group-hover\:underline {
  text-decoration-line: underline;
}

@media (min-width: 640px) {

  .sm\:right-6 {
    right: 1.5rem;
  }

  .sm\:top-6 {
    top: 1.5rem;
  }

  .sm\:p-8 {
    padding: 2rem;
  }

  .sm\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 768px) {

  .md\:mb-0 {
    margin-bottom: 0px;
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:flex-row {
    flex-direction: row;
  }

  .md\:text-7xl {
    font-size: 4.5rem;
    line-height: 1;
  }
}
