@layer reset, base, controls, shared, routeA, routeB, routeC, responsive;

@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
  }

  body,
  h1,
  h2,
  h3,
  p,
  ol {
    margin: 0;
  }

  ol {
    padding: 0;
    list-style: none;
  }

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

  button,
  a {
    -webkit-tap-highlight-color: transparent;
  }

  button {
    font: inherit;
  }
}

@layer base {
  :root {
    --green: #324b2b;
    --green-deep: #374234;
    --green-soft: #52634e;
    --white: #ffffff;
    --ink: #111111;
    --page-pad: clamp(1.25rem, 4vw, 4.5rem);
    --shell: 87.5rem;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --scroll-progress: 0;
  }

  body {
    min-width: 20rem;
    background: var(--white);
    color: var(--ink);
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
  }

  body {
    font-family: "Geist", Arial, sans-serif;
  }

  body[data-route="b"] {
    font-family: "Manrope", Arial, sans-serif;
  }

  body[data-route="c"] {
    font-family: "Inter", Arial, sans-serif;
  }

  ::selection {
    background: var(--green);
    color: var(--white);
  }

  :focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 5px;
  }

  .prototype[hidden] {
    display: none !important;
  }

  .prototype {
    min-height: 100vh;
    background: var(--white);
  }

  .section-shell {
    width: min(calc(100% - (var(--page-pad) * 2)), var(--shell));
    margin-inline: auto;
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .skip-link {
    position: fixed;
    z-index: 3000;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--white);
    color: var(--ink);
    font-weight: 700;
    transform: translateY(-180%);
    transition: transform 180ms ease;
  }

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

  body.js-ready .reveal {
    opacity: 0;
    transform: translateY(1.25rem);
    transition:
      opacity 700ms var(--ease),
      transform 700ms var(--ease);
  }

  body.js-ready .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  body.js-ready .reveal-delay {
    transition-delay: 90ms;
  }

  body.js-ready .reveal-delay-2 {
    transition-delay: 180ms;
  }
}

@layer controls {
  .route-switcher {
    position: fixed;
    z-index: 2000;
    right: 1.5rem;
    bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.55rem;
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 0.7rem;
    background: rgb(17 17 17 / 94%);
    box-shadow: 0 1rem 3rem rgb(17 17 17 / 20%);
    color: var(--white);
    backdrop-filter: blur(18px);
  }

  .switcher-copy {
    display: grid;
    gap: 0.15rem;
    min-width: 9.5rem;
    padding-left: 0.5rem;
  }

  .switcher-copy span {
    color: rgb(255 255 255 / 64%);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .switcher-copy strong {
    font-size: 0.82rem;
    font-weight: 600;
  }

  .switcher-options {
    display: flex;
    gap: 0.25rem;
  }

  .route-button {
    display: grid;
    place-items: center;
    min-width: 3.45rem;
    min-height: 3.45rem;
    padding: 0.4rem 0.55rem;
    border: 0;
    border-radius: 0.45rem;
    background: transparent;
    color: var(--white);
    cursor: pointer;
    transition:
      background 180ms ease,
      color 180ms ease,
      transform 180ms ease;
  }

  .route-button:hover {
    background: rgb(255 255 255 / 10%);
  }

  .route-button:active {
    transform: scale(0.96);
  }

  .route-button.is-active {
    background: var(--white);
    color: var(--ink);
  }

  .route-button span {
    font-size: 0.92rem;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
  }

  .route-button em {
    margin-top: 0.2rem;
    font-size: 0.58rem;
    font-style: normal;
    font-weight: 600;
  }

  .photo-switcher {
    position: fixed;
    z-index: 2000;
    right: 1.5rem;
    bottom: 7rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem;
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 0.65rem;
    background: rgb(17 17 17 / 94%);
    box-shadow: 0 1rem 3rem rgb(17 17 17 / 18%);
    color: var(--white);
    backdrop-filter: blur(18px);
  }

  .photo-switcher[hidden] {
    display: none;
  }

  .photo-switcher > span {
    padding-left: 0.45rem;
    color: rgb(255 255 255 / 64%);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .photo-switcher > div {
    display: flex;
    gap: 0.2rem;
  }

  .photo-button {
    min-height: 2.75rem;
    padding: 0.5rem 0.75rem;
    border: 0;
    border-radius: 0.4rem;
    background: transparent;
    color: var(--white);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    transition:
      background 180ms ease,
      color 180ms ease,
      transform 180ms ease;
  }

  .photo-button:hover {
    background: rgb(255 255 255 / 10%);
  }

  .photo-button:active {
    transform: scale(0.97);
  }

  .photo-button.is-active {
    background: var(--white);
    color: var(--ink);
  }

  .prototype-toast {
    position: fixed;
    z-index: 2500;
    left: 50%;
    bottom: 6.5rem;
    max-width: min(90vw, 34rem);
    padding: 0.9rem 1.1rem;
    border-radius: 0.35rem;
    background: var(--ink);
    color: var(--white);
    font-size: 0.88rem;
    line-height: 1.45;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 0.75rem);
    transition:
      opacity 200ms ease,
      transform 200ms ease;
  }

  .prototype-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@layer shared {
  .site-header {
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-inline: var(--page-pad);
  }

  .wordmark {
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.085em;
    line-height: 0.85;
  }

  .wordmark-from-logo {
    width: 7.5rem;
    height: auto;
    overflow: visible;
  }

  .wordmark-crop {
    display: block;
    overflow: visible;
  }

  .wordmark-crop img {
    display: block;
    width: 100%;
    height: auto;
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 3rem);
  }

  .site-nav a {
    position: relative;
    padding-block: 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .site-nav a::after {
    position: absolute;
    right: 0;
    bottom: 0.2rem;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 240ms var(--ease);
  }

  .site-nav a:hover::after,
  .site-nav a:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .menu-button {
    display: none;
    width: 3rem;
    height: 3rem;
    padding: 0.75rem;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }

  .menu-button > span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 1.5px;
    margin-block: 0.36rem;
    background: currentColor;
    transition: transform 220ms ease;
  }

  .site-header.menu-open .menu-button > span:first-child {
    transform: translateY(0.215rem) rotate(45deg);
  }

  .site-header.menu-open .menu-button > span:nth-child(2) {
    transform: translateY(-0.215rem) rotate(-45deg);
  }

  .eyebrow,
  .micro-label,
  .side-label {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-transform: uppercase;
  }

  .scroll-cue {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .scroll-cue svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: square;
    stroke-width: 1.4;
  }

  .section-heading-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
    gap: clamp(3rem, 8vw, 9rem);
    align-items: end;
  }

  .section-heading-grid > p {
    max-width: 34rem;
    font-size: clamp(1rem, 1.3vw, 1.18rem);
    line-height: 1.65;
  }

  .process {
    padding-block: clamp(6rem, 11vw, 10rem);
    background: var(--green-deep);
    color: var(--white);
  }

  .process h2 {
    max-width: 55rem;
    margin-top: 1rem;
    font-size: clamp(2.5rem, 5vw, 5.5rem);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 0.98;
  }

  .process ol {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: clamp(4rem, 7vw, 7rem);
    border-top: 1px solid rgb(255 255 255 / 24%);
  }

  .process li {
    min-height: 11rem;
    padding: 1.25rem 1.5rem 1.5rem 0;
    border-right: 1px solid rgb(255 255 255 / 24%);
  }

  .process li + li {
    padding-left: 1.5rem;
  }

  .process li:last-child {
    border-right: 0;
  }

  .process li span {
    display: block;
    color: rgb(255 255 255 / 72%);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
  }

  .process li p {
    max-width: 19rem;
    margin-top: 2.2rem;
    font-size: clamp(1.15rem, 1.8vw, 1.55rem);
    line-height: 1.35;
  }

  .contact {
    padding-block: clamp(7rem, 14vw, 13rem);
    background: var(--white);
    color: var(--ink);
  }

  .contact h2 {
    margin-top: 1rem;
    font-size: clamp(3.3rem, 8vw, 8rem);
    font-weight: 500;
    letter-spacing: -0.065em;
    line-height: 0.92;
  }

  .contact-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: clamp(4rem, 8vw, 8rem);
  }

  .contact-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 7rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--green);
    border-bottom: 1px solid var(--green);
    color: var(--green);
    font-size: clamp(1.05rem, 1.8vw, 1.45rem);
    font-weight: 600;
    line-height: 1.3;
    transition: padding 260ms var(--ease);
  }

  .contact-links a:hover {
    padding-inline: 0.75rem;
  }

  .contact-links b {
    font-size: 1.5rem;
    font-weight: 400;
  }

  .contact-arrow {
    width: 1.55rem;
    height: 1.55rem;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: square;
    stroke-linejoin: miter;
    stroke-width: 1.45;
    transition: transform 260ms var(--ease);
  }

  .contact-links a:hover .contact-arrow {
    transform: translate(0.2rem, -0.2rem);
  }

  .email-placeholder {
    margin-top: 2rem;
    color: var(--green-soft);
    font-size: 0.92rem;
    font-weight: 600;
  }

  .site-footer {
    display: grid;
    grid-template-columns: minmax(10rem, 1fr) minmax(20rem, auto) minmax(10rem, 1fr);
    align-items: start;
    gap: 2rem;
    padding: clamp(3rem, 6vw, 5.5rem) var(--page-pad);
    background: var(--green-deep);
    color: var(--white);
  }

  .site-footer strong {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.085em;
  }

  .footer-brand {
    display: grid;
    width: 14rem;
    max-width: 100%;
    justify-items: center;
    gap: 0.8rem;
    justify-self: start;
  }

  .footer-wordmark {
    display: block;
    width: 7.5rem;
    height: auto;
  }

  .site-footer .footer-brand strong {
    max-width: 14rem;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.45;
    text-align: center;
  }

  .site-footer span {
    color: rgb(255 255 255 / 76%);
    font-size: 0.78rem;
    line-height: 1.5;
  }

  .footer-description {
    justify-self: center;
    max-width: 18rem;
    text-align: center;
  }

  .footer-copyright {
    justify-self: end;
    text-align: right;
  }
}

@layer routeA {
  .prototype-a {
    --page-pad: clamp(1.25rem, 4.75vw, 5.25rem);
  }

  .header-a {
    position: sticky;
    top: 0;
    height: 4.5rem;
    border-bottom: 1px solid transparent;
    background: var(--green);
    color: var(--white);
    transition: border-color 240ms ease;
  }

  .header-a.is-scrolled {
    border-bottom-color: rgb(255 255 255 / 14%);
  }

  .hero-a {
    min-height: calc(100svh - 4.5rem);
    background: var(--white);
    color: var(--ink);
  }

  .hero-a-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto 1fr auto;
    gap: 1rem;
    width: min(calc(100% - (var(--page-pad) * 2)), var(--shell));
    min-height: calc(100svh - 4.5rem);
    margin-inline: auto;
    padding-block: clamp(3.5rem, 8vh, 6.5rem) 2.25rem;
  }

  .hero-a .eyebrow {
    grid-column: 1 / 7;
    color: var(--green);
  }

  .hero-a h1 {
    grid-column: 1 / 13;
    align-self: center;
    max-width: 83rem;
    font-size: clamp(4.2rem, 9.6vw, 10.2rem);
    font-weight: 500;
    letter-spacing: -0.073em;
    line-height: 0.86;
  }

  .hero-index {
    grid-column: 1 / 4;
    align-self: end;
    color: var(--green-soft);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.13em;
  }

  .cue-a {
    grid-column: 10 / 13;
    justify-self: end;
    align-self: end;
    color: var(--green);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    opacity: calc(1 - var(--scroll-progress));
    transform: translateY(calc(var(--scroll-progress) * 0.5rem))
      scale(calc(1 - (var(--scroll-progress) * 0.08)));
    transform-origin: bottom center;
  }

  .cue-a svg {
    width: 1.5rem;
    height: 4rem;
  }

  .about-a {
    padding-block: clamp(6.5rem, 12vw, 12rem);
    background: var(--green);
    color: var(--white);
  }

  .section-marker {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: clamp(3.5rem, 8vw, 8rem);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }

  .section-marker span:first-child {
    display: grid;
    place-items: center;
    width: 2.1rem;
    aspect-ratio: 1;
    border: 1px solid currentColor;
    border-radius: 50%;
  }

  .section-marker.dark {
    color: var(--green);
  }

  .about-statement {
    max-width: 75rem;
    font-size: clamp(2.6rem, 5.5vw, 6rem);
    font-weight: 500;
    letter-spacing: -0.058em;
    line-height: 1.02;
  }

  .about-photo {
    width: min(72%, 62rem);
    margin: clamp(4rem, 7vw, 7rem) 0 0 auto;
  }

  .about-photo[hidden] {
    display: none;
  }

  .about-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    border: 1px solid rgb(255 255 255 / 22%);
    filter: grayscale(1) contrast(1.04);
    object-fit: cover;
    object-position: 50% 50%;
  }

  .about-photo figcaption {
    max-width: 27rem;
    margin-top: 0.8rem;
    color: rgb(255 255 255 / 68%);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-transform: uppercase;
  }

  .about-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(3rem, 9vw, 9rem);
    max-width: 68rem;
    margin-top: clamp(5rem, 10vw, 10rem);
    margin-left: auto;
  }

  body[data-photo="on"] .prototype-a .about-columns {
    margin-top: clamp(4rem, 7vw, 7rem);
  }

  .about-columns article {
    padding-top: 1.25rem;
    border-top: 1px solid rgb(255 255 255 / 32%);
  }

  .about-columns .micro-label {
    color: rgb(255 255 255 / 74%);
  }

  .about-columns article > p:last-child {
    margin-top: 2.25rem;
    font-size: clamp(1.05rem, 1.55vw, 1.35rem);
    line-height: 1.55;
  }

  .protection-a {
    padding-block: clamp(6.5rem, 12vw, 12rem);
  }

  .protection-a h2 {
    max-width: 55rem;
    font-size: clamp(3rem, 6vw, 6.8rem);
    font-weight: 500;
    letter-spacing: -0.063em;
    line-height: 0.94;
  }

  .editorial-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(3rem, 8vw, 8rem);
    margin-top: clamp(5rem, 10vw, 10rem);
    border-top: 1px solid rgb(50 75 43 / 28%);
  }

  .editorial-list li {
    display: grid;
    grid-template-columns: 3rem 1fr;
    align-items: center;
    gap: 1rem;
    min-height: 6rem;
    border-bottom: 1px solid rgb(50 75 43 / 28%);
  }

  .editorial-list span {
    color: var(--green-soft);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  .editorial-list strong {
    font-size: clamp(1.1rem, 1.65vw, 1.42rem);
    font-weight: 550;
    transition: transform 260ms var(--ease);
  }

  .editorial-list li:hover strong {
    transform: translateX(0.5rem);
  }

  .contact-a .micro-label {
    color: var(--green);
  }

  .contact-a .contact-links {
    margin-top: clamp(3.5rem, 6vw, 6rem);
  }
}

@layer routeB {
  .prototype-b {
    --page-pad: clamp(1.25rem, 3.4vw, 3.75rem);
  }

  .header-b {
    position: sticky;
    top: 0;
    height: 5rem;
    border-bottom: 1px solid rgb(50 75 43 / 22%);
    background: rgb(255 255 255 / 96%);
    color: var(--green);
    transition:
      height 280ms var(--ease),
      box-shadow 280ms ease;
  }

  .header-b.is-scrolled {
    height: 4rem;
    box-shadow: 0 0.75rem 2rem rgb(17 17 17 / 5%);
  }

  .header-b .wordmark {
    font-size: 1.85rem;
  }

  .hero-b {
    min-height: calc(100svh - 5rem);
    padding: var(--page-pad);
  }

  .hero-b-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(17rem, 0.45fr);
    width: min(100%, var(--shell));
    min-height: calc(100svh - 5rem - (var(--page-pad) * 2));
    margin-inline: auto;
    border: 1px solid var(--green);
  }

  .hero-b-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(2rem, 4.5vw, 5rem);
  }

  .hero-b .eyebrow {
    max-width: 24rem;
    color: var(--green);
  }

  .hero-b h1 {
    max-width: 64rem;
    margin-top: 6rem;
    font-size: clamp(4rem, 8vw, 9rem);
    font-weight: 600;
    letter-spacing: -0.07em;
    line-height: 0.88;
  }

  .hero-b-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 34rem;
    padding: 1.5rem;
    background: var(--green);
    color: var(--white);
  }

  .panel-code {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    color: rgb(255 255 255 / 76%);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
  }

  .panel-line {
    position: absolute;
    top: 5rem;
    right: 1.5rem;
    bottom: 7.5rem;
    left: 1.5rem;
    border: 1px solid rgb(255 255 255 / 22%);
  }

  .hero-b-panel > p {
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(2.4rem, 4vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -0.085em;
  }

  .cue-b {
    position: relative;
    justify-content: space-between;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: calc(1 - var(--scroll-progress));
    transform: translateY(calc(var(--scroll-progress) * 0.65rem));
  }

  .cue-b svg {
    width: 1.5rem;
    height: 3.25rem;
  }

  .about-b {
    padding-block: clamp(5rem, 9vw, 9rem);
    background: var(--green);
    color: var(--white);
  }

  .module-heading {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: clamp(3rem, 6vw, 6rem);
    color: rgb(255 255 255 / 76%);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .module-heading span {
    display: grid;
    place-items: center;
    min-width: 2.25rem;
    height: 2.25rem;
    border: 1px solid currentColor;
  }

  .module-heading.dark {
    color: var(--green);
  }

  .about-b > .section-shell > h2 {
    max-width: 70rem;
    font-size: clamp(2.5rem, 5.2vw, 5.5rem);
    font-weight: 550;
    letter-spacing: -0.06em;
    line-height: 1.02;
  }

  .about-modules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: clamp(4rem, 8vw, 8rem);
    border: 1px solid rgb(255 255 255 / 28%);
  }

  .about-modules article {
    min-height: 20rem;
    padding: clamp(1.5rem, 3vw, 3rem);
  }

  .about-modules article + article {
    border-left: 1px solid rgb(255 255 255 / 28%);
  }

  .about-modules article > span {
    color: rgb(255 255 255 / 70%);
    font-size: 0.72rem;
    font-weight: 700;
  }

  .about-modules h3 {
    margin-top: clamp(4rem, 7vw, 7rem);
    font-size: clamp(1.5rem, 2.4vw, 2.3rem);
    font-weight: 600;
    letter-spacing: -0.04em;
  }

  .about-modules p {
    max-width: 31rem;
    margin-top: 1.5rem;
    font-size: 1rem;
    line-height: 1.65;
  }

  .protection-b {
    padding-block: clamp(5rem, 9vw, 9rem);
  }

  .protection-b h2 {
    max-width: 52rem;
    font-size: clamp(3rem, 6vw, 6.5rem);
    font-weight: 600;
    letter-spacing: -0.065em;
    line-height: 0.95;
  }

  .module-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: clamp(4rem, 8vw, 8rem);
    border-top: 1px solid var(--green);
    border-left: 1px solid var(--green);
  }

  .module-grid li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 15rem;
    padding: 1.25rem;
    border-right: 1px solid var(--green);
    border-bottom: 1px solid var(--green);
    transition:
      background 240ms ease,
      color 240ms ease;
  }

  .module-grid li:hover {
    background: var(--green);
    color: var(--white);
  }

  .module-grid span {
    color: var(--green-soft);
    font-size: 0.7rem;
    font-weight: 700;
  }

  .module-grid li:hover span {
    color: rgb(255 255 255 / 76%);
  }

  .module-grid strong {
    max-width: 14rem;
    font-size: clamp(1.05rem, 1.5vw, 1.35rem);
    font-weight: 650;
    line-height: 1.25;
  }

  .process-b {
    background: var(--green);
  }

  .process-b h2 {
    font-weight: 600;
  }

  .contact-b h2 {
    max-width: 70rem;
    font-weight: 600;
  }
}

@layer routeC {
  .prototype-c {
    --page-pad: clamp(1.25rem, 4vw, 4.5rem);
  }

  .header-c {
    position: fixed;
    top: 0;
    height: 4.5rem;
    background: transparent;
    color: var(--ink);
    transition:
      background 260ms ease,
      box-shadow 260ms ease,
      backdrop-filter 260ms ease;
  }

  .header-c .wordmark {
    color: var(--green);
  }

  .header-c.is-scrolled {
    background: rgb(255 255 255 / 90%);
    box-shadow: 0 1px 0 rgb(17 17 17 / 12%);
    backdrop-filter: blur(18px);
  }

  .hero-c {
    min-height: 100svh;
    padding: 7.5rem var(--page-pad) 2.5rem;
  }

  .hero-c-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(100%, var(--shell));
    min-height: calc(100svh - 10rem);
    margin-inline: auto;
  }

  .hero-c .eyebrow {
    color: var(--green);
  }

  .hero-c h1 {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    margin-top: 2rem;
    font-size: clamp(4.3rem, 11vw, 11.2rem);
    font-weight: 500;
    letter-spacing: -0.082em;
    line-height: 0.78;
  }

  .word-line {
    display: block;
    opacity: 0;
    transform: translateY(1.5rem);
    animation: type-rise 800ms var(--ease) forwards;
  }

  .word-line:nth-child(2) {
    align-self: center;
    animation-delay: 110ms;
  }

  .word-line:nth-child(3) {
    align-self: flex-end;
    animation-delay: 220ms;
  }

  .word-line.accent {
    color: var(--green);
  }

  @keyframes type-rise {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .cue-c {
    position: absolute;
    right: 0;
    bottom: 0;
    display: grid;
    place-items: center;
    width: 4.5rem;
    aspect-ratio: 1;
    border: 1px solid var(--green);
    border-radius: 50%;
    color: var(--green);
    opacity: calc(1 - var(--scroll-progress));
    transform: scale(calc(1 - (var(--scroll-progress) * 0.08)));
  }

  .cue-c svg {
    width: 2rem;
    height: 2rem;
  }

  .about-c {
    padding-block: clamp(7rem, 13vw, 13rem);
    background: var(--green);
    color: var(--white);
  }

  .side-label {
    color: rgb(255 255 255 / 76%);
  }

  .side-label.dark {
    color: var(--green);
  }

  .about-c h2 {
    max-width: 82rem;
    margin-top: clamp(3.5rem, 8vw, 8rem);
    font-size: clamp(3rem, 6.3vw, 7rem);
    font-weight: 450;
    letter-spacing: -0.066em;
    line-height: 0.98;
  }

  .about-c-notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(3rem, 7vw, 7rem);
    max-width: 62rem;
    margin-top: clamp(6rem, 12vw, 12rem);
    margin-left: auto;
  }

  .about-c-notes article {
    padding-top: 1rem;
    border-top: 1px solid rgb(255 255 255 / 32%);
  }

  .about-c-notes h3 {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .about-c-notes p {
    margin-top: 2rem;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    line-height: 1.62;
  }

  .protection-c {
    padding-block: clamp(7rem, 13vw, 13rem);
  }

  .protection-c h2 {
    max-width: 75rem;
    margin-top: clamp(3.5rem, 7vw, 7rem);
    font-size: clamp(3.2rem, 7.5vw, 8.2rem);
    font-weight: 450;
    letter-spacing: -0.072em;
    line-height: 0.9;
  }

  .protection-c-intro {
    max-width: 35rem;
    margin-top: 3rem;
    margin-left: auto;
    font-size: clamp(1rem, 1.45vw, 1.22rem);
    line-height: 1.65;
  }

  .type-list {
    margin-top: clamp(6rem, 11vw, 11rem);
    border-top: 1px solid rgb(17 17 17 / 28%);
  }

  .type-list li {
    display: grid;
    grid-template-columns: 5rem 1fr;
    align-items: center;
    min-height: clamp(7rem, 10vw, 10rem);
    border-bottom: 1px solid rgb(17 17 17 / 28%);
  }

  .type-list span {
    color: var(--green-soft);
    font-size: 0.72rem;
    font-weight: 700;
  }

  .type-list strong {
    font-size: clamp(1.8rem, 4vw, 4.2rem);
    font-weight: 450;
    letter-spacing: -0.048em;
    line-height: 1.08;
    transition:
      color 220ms ease,
      transform 260ms var(--ease);
  }

  .type-list li:hover strong {
    color: var(--green);
    transform: translateX(0.75rem);
  }

  .process-c {
    background: var(--green);
  }

  .contact-c h2 {
    max-width: 62rem;
  }
}

@layer responsive {
  @media (max-width: 62rem) {
    .site-nav {
      gap: 1.35rem;
    }

    .section-heading-grid {
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }

    .hero-a h1 {
      grid-column: 1 / 13;
      font-size: clamp(4.4rem, 11vw, 7rem);
    }

    .module-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .hero-b-grid {
      grid-template-columns: 1fr 17rem;
    }

    .hero-b h1 {
      font-size: clamp(3.7rem, 8.5vw, 6rem);
    }

    .word-line:nth-child(2),
    .word-line:nth-child(3) {
      align-self: flex-start;
    }

    .hero-c h1 {
      font-size: clamp(4.5rem, 12vw, 7.5rem);
      line-height: 0.84;
    }
  }

  @media (max-width: 46rem) {
    html {
      scroll-padding-top: 4rem;
    }

    .route-switcher {
      right: 0.75rem;
      bottom: 0.75rem;
      left: 0.75rem;
      justify-content: space-between;
      gap: 0.5rem;
      padding: 0.4rem;
    }

    .photo-switcher {
      right: 0.75rem;
      bottom: 5.55rem;
      gap: 0.45rem;
      padding: 0.35rem;
    }

    .photo-switcher > span {
      display: none;
    }

    .photo-button {
      min-height: 2.75rem;
      padding-inline: 0.65rem;
    }

    .switcher-copy {
      min-width: 0;
      padding-left: 0.6rem;
    }

    .switcher-copy strong {
      max-width: 8.5rem;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .route-button {
      min-width: 3.15rem;
      min-height: 3.15rem;
    }

    .route-button em {
      display: none;
    }

    .prototype-toast {
      bottom: 5.7rem;
    }

    .site-header {
      height: 4rem;
    }

    .wordmark {
      font-size: 1.7rem;
    }

    .wordmark-from-logo {
      width: 6.7rem;
    }

    .menu-button {
      display: block;
    }

    .site-nav {
      position: absolute;
      top: 100%;
      right: 0;
      left: 0;
      display: grid;
      gap: 0;
      padding: 0 var(--page-pad) 1rem;
      background: inherit;
      color: inherit;
      opacity: 0;
      pointer-events: none;
      transform: translateY(-0.5rem);
      transition:
        opacity 180ms ease,
        transform 220ms var(--ease);
    }

    .site-header.menu-open .site-nav {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }

    .site-nav a {
      min-height: 3.25rem;
      padding-block: 1rem;
      border-top: 1px solid currentColor;
    }

    .header-c.menu-open {
      background: var(--white);
    }

    .hero-a,
    .hero-a-grid {
      min-height: calc(100svh - 4rem);
    }

    .hero-a-grid {
      display: flex;
      flex-direction: column;
      padding-block: 3rem 1.75rem;
    }

    .hero-a h1 {
      margin-block: auto;
      font-size: clamp(3.75rem, 18.5vw, 6rem);
      line-height: 0.88;
    }

    .hero-a .eyebrow {
      max-width: 18rem;
      font-size: 0.68rem;
    }

    .hero-index {
      display: none;
    }

    .cue-a {
      align-self: flex-end;
    }

    .about-columns,
    .about-c-notes,
    .about-modules,
    .contact-links,
    .process ol,
    .editorial-list {
      grid-template-columns: 1fr;
    }

    .about-columns {
      gap: 3.5rem;
      margin-top: 5rem;
    }

    .about-photo {
      width: 100%;
      margin-top: 3.75rem;
    }

    .about-photo img {
      aspect-ratio: 4 / 3;
    }

    .about-modules article + article {
      border-top: 1px solid rgb(255 255 255 / 28%);
      border-left: 0;
    }

    .editorial-list {
      column-gap: 0;
    }

    .process li,
    .process li + li {
      min-height: 8.5rem;
      padding: 1.25rem 0;
      border-right: 0;
      border-bottom: 1px solid rgb(255 255 255 / 24%);
    }

    .process li p {
      margin-top: 1.5rem;
    }

    .contact-links {
      gap: 1.5rem;
    }

    .contact-links a {
      min-height: 6rem;
    }

    .site-footer {
      grid-template-columns: 1fr;
      align-items: start;
      gap: 1.25rem;
      padding-bottom: 3.5rem;
    }

    .footer-brand,
    .footer-description,
    .footer-copyright {
      justify-self: start;
      text-align: left;
    }

    .footer-description {
      max-width: none;
    }

    .hero-b {
      min-height: calc(100svh - 4rem);
      padding: 1rem;
    }

    .hero-b-grid {
      display: flex;
      min-height: calc(100svh - 6rem);
      flex-direction: column;
    }

    .hero-b-copy {
      flex: 1;
      padding: 1.4rem;
    }

    .hero-b h1 {
      margin-top: 5rem;
      font-size: clamp(3.45rem, 15.5vw, 5rem);
      line-height: 0.9;
    }

    .hero-b-panel {
      min-height: 12rem;
    }

    .panel-line {
      top: 3.75rem;
      bottom: 1.5rem;
    }

    .hero-b-panel > p {
      align-self: flex-end;
    }

    .cue-b {
      max-width: 7rem;
    }

    .module-grid {
      grid-template-columns: 1fr;
    }

    .module-grid li {
      min-height: 9.5rem;
    }

    .hero-c {
      padding-top: 6rem;
    }

    .hero-c-copy {
      min-height: calc(100svh - 8.5rem);
    }

    .hero-c h1 {
      gap: 0.15em;
      font-size: clamp(3.75rem, 17vw, 5.4rem);
      line-height: 0.84;
    }

    .hero-c .eyebrow {
      max-width: 18rem;
      font-size: 0.68rem;
    }

    .cue-c {
      width: 3.75rem;
    }

    .about-c-notes {
      gap: 3.5rem;
      margin-top: 6rem;
    }

    .protection-c-intro {
      margin-left: 0;
    }

    .type-list li {
      grid-template-columns: 2.7rem 1fr;
      min-height: 6.5rem;
    }

    .type-list strong {
      font-size: clamp(1.45rem, 7vw, 2.1rem);
    }
  }

  @media (max-width: 24rem) {
    .switcher-copy strong {
      display: none;
    }

    .switcher-copy span {
      font-size: 0.62rem;
    }

    .route-button {
      min-width: 2.9rem;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    html {
      scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      scroll-behavior: auto !important;
      transition-duration: 0.01ms !important;
    }

    body.js-ready .reveal,
    .word-line {
      opacity: 1;
      transform: none;
    }

    .scroll-cue {
      opacity: 1;
      transform: none;
    }
  }
}
