/* ==========================================================
   ArKé shared stylesheet
   Extracted from the canonical CAT home to remove duplicated
   inline CSS across language versions. Values are preserved to
   keep the rendered design unchanged.
   Structure: base / layout / components / responsive utilities.
     ========================================================== */

/* 1. Base / tokens */
:root {
        --paper: #f6f1e8;
        --paper-soft: #fffaf0;
        --ink: #222c25;
        --ink-soft: rgba(34, 44, 37, 0.68);
        --muted: rgba(34, 44, 37, 0.48);
        --line: rgba(34, 44, 37, 0.16);
        --line-strong: rgba(34, 44, 37, 0.28);
        --gold: #d9a117;
        --green: #28392f;
        --dark: #111510;
        --max: 1500px;
        --page: min(92vw, var(--max));
        --serif: Georgia, "Times New Roman", serif;
        --sans: Helvetica, Arial, sans-serif;
      }

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

      html {
        scroll-behavior: smooth;
        scroll-padding-top: var(--scroll-offset, 98px);
        background: var(--paper);
      }

      body {
        margin: 0;
        padding-top: var(--header-offset, 72px);
        background: var(--paper);
        color: var(--ink);
        font-family: var(--sans);
        text-rendering: optimizeLegibility;
      }

      body::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        background:
          linear-gradient(rgba(34, 44, 37, 0.03) 1px, transparent 1px),
          linear-gradient(90deg, rgba(34, 44, 37, 0.025) 1px, transparent 1px);
        background-size: 72px 72px;
        opacity: 0.6;
      }

      img {
        display: block;
        max-width: 100%;
      }

      a {
        color: inherit;
      }

      a:focus-visible,
      button:focus-visible {
        outline: 2px solid var(--gold);
        outline-offset: 5px;
      }

      .skip-link {
        position: absolute;
        left: -999px;
        top: 12px;
        z-index: 1000;
        padding: 10px 14px;
        background: var(--paper-soft);
        border: 1px solid var(--line);
        color: var(--ink);
        font-size: 0.75rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      .skip-link:focus {
        left: 16px;
      }

/* 2. Layout / header / navigation */
      .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        background: rgba(246, 241, 232, 0.88);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-bottom: 1px solid var(--line);
      }

      .nav {
        width: var(--page);
        margin: 0 auto;
        min-height: 72px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
      }

      .brand {
        display: flex;
        align-items: center;
        gap: 12px;
        color: var(--ink);
        text-decoration: none;
        min-width: max-content;
      }

      .brand img {
        width: 34px;
        height: auto;
      }

      .brand span {
        font-size: 0.72rem;
        font-weight: 850;
        letter-spacing: 0.16em;
        text-transform: uppercase;
      }

      .nav-group {
        display: flex;
        align-items: center;
        gap: 24px;
        min-width: 0;
      }

      .nav-links {
        display: flex;
        justify-content: flex-end;
        gap: 18px;
        white-space: nowrap;
      }

      .nav-links a,
      .language-switcher a,
      .footer-links a {
        color: var(--muted);
        text-decoration: none;
      }

      .nav-links a {
        font-size: 0.68rem;
        font-weight: 850;
        letter-spacing: 0.1em;
        text-transform: uppercase;
      }

      .nav-links a:hover,
      .language-switcher a:hover,
      .footer-links a:hover {
        color: var(--ink);
      }

      .language-switcher {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-left: clamp(26px, 3vw, 52px);
        padding-left: clamp(18px, 2vw, 32px);
        border-left: 1px solid rgba(36, 48, 39, 0.14);
        font-size: 0.68rem;
        font-weight: 850;
        letter-spacing: 0.12em;
        text-transform: uppercase;
      }

      .language-switcher a {
        font-size: 0.68rem;
        font-weight: 850;
        letter-spacing: 0.12em;
        text-decoration: none;
        text-transform: uppercase;
      }

      .language-switcher a.is-active {
        color: var(--gold);
      }

      main {
        overflow: hidden;
      }

      section {
        scroll-margin-top: var(--scroll-offset, 98px);
      }

/* 3. Editorial layout / components */
      .section {
        width: var(--page);
        margin: 0 auto;
        padding: clamp(52px, 7vw, 96px) 0;
        border-bottom: 1px solid var(--line);
      }

      .section-head {
        display: grid;
        grid-template-columns: minmax(160px, 0.26fr) minmax(0, 0.74fr);
        gap: clamp(32px, 6vw, 96px);
        align-items: start;
        margin-bottom: clamp(24px, 4vw, 48px);
      }

      .kicker,
      .eyebrow,
      .metric-label {
        margin: 0;
        color: var(--gold);
        font-size: 0.72rem;
        font-weight: 850;
        letter-spacing: 0.17em;
        text-transform: uppercase;
      }

      .section-head .kicker {
        opacity: 1;
        margin-bottom: clamp(1.2rem, 2vw, 2rem);
        font-size: clamp(0.78rem, 0.62vw, 0.95rem);
        font-weight: 700;
        letter-spacing: 0.16em;
        text-transform: uppercase;
      }

      h1,
      h2,
      h3,
      p {
        margin-top: 0;
      }

      h1,
      h2 {
        font-family: var(--serif);
        font-weight: 400;
        letter-spacing: -0.055em;
      }

      h2 {
        margin-bottom: 0;
        font-size: clamp(3rem, 6.6vw, 8.4rem);
        line-height: 0.92;
      }

      .home-main .section-title,
      .home-main .section-head h2,
      .home-main .section h2,
      .home-main .system-section h2 {
        font-size: clamp(3.8rem, 7.6vw, 8rem);
        line-height: 1.03;
        letter-spacing: -0.012em;
        max-width: 980px;
      }

      .home-main .section:not(.hero) .section-title,
      .home-main .section:not(.hero) .section-head h2,
      .home-main .system-section .section-head h2 {
        line-height: 1.04;
        letter-spacing: -0.01em;
      }

      @media (max-width: 1180px) {
        .home-main .section-title,
        .home-main .section-head h2,
        .home-main .section h2,
        .home-main .system-section h2 {
          font-size: clamp(3.4rem, 8vw, 6.4rem);
          line-height: 1.04;
          max-width: 820px;
        }
      }

      @media (max-width: 760px) {
        .home-main .section-title,
        .home-main .section-head h2,
        .home-main .section h2,
        .home-main .system-section h2 {
          font-size: clamp(2.7rem, 12vw, 4.6rem);
          line-height: 1.05;
          letter-spacing: -0.006em;
          max-width: 100%;
        }
      }

      .intro {
        max-width: 760px;
        margin: 20px 0 0;
        color: var(--ink-soft);
        font-size: clamp(1.05rem, 1.45vw, 1.32rem);
        line-height: 1.55;
      }

      .response-section-grid {
        display: grid;
        grid-template-columns: minmax(460px, 0.95fr) minmax(0, 0.9fr);
        gap: clamp(64px, 7vw, 112px);
        align-items: center;
        max-width: 1240px;
        margin: 0 auto;
      }

      .response-section-media {
        width: 100%;
      }

      .response-section-copy {
        max-width: 620px;
      }

      .response-section-copy .section-head {
        display: block;
        margin-bottom: 0;
      }

      .editorial-media-frame {
        border: 1px solid rgba(28, 35, 30, 0.16);
        padding: clamp(8px, 0.8vw, 14px);
        background: rgba(246, 243, 234, 0.45);
        box-sizing: border-box;
      }

      .editorial-media-frame img {
        display: block;
        width: 100%;
        height: auto;
        padding: 0;
        border: 0;
        background: transparent;
      }

      .response-structure-image {
        display: block;
        width: 100%;
        min-height: clamp(300px, 28vw, 460px);
        aspect-ratio: 4 / 3;
        object-fit: cover;
        object-position: center;
      }

      @media (max-width: 768px) {
        .response-section-grid {
          display: flex;
          flex-direction: column;
          max-width: 100%;
        }

        .response-section-copy {
          order: 1;
          max-width: none;
        }

        .response-section-media {
          order: 2;
          width: 100%;
        }

        .response-section-media.editorial-media-frame {
          margin: 34px auto 42px;
        }

        .editorial-media-frame {
          padding: 8px;
        }

        .response-structure-image {
          display: block;
          width: 100%;
          max-width: 100%;
          height: auto;
          min-height: 0;
          aspect-ratio: auto;
          object-fit: contain;
          object-position: center;
          margin: 0;
        }
      }

      .hero {
        width: var(--page);
        min-height: calc(100vh - 72px);
        margin: 0 auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
        gap: clamp(44px, 8vw, 128px);
        align-items: center;
        padding: clamp(72px, 8vh, 118px) 0;
        border-bottom: 1px solid var(--line);
      }

      .hero-copy {
        max-width: 1050px;
      }

      .hero h1 {
        max-width: 1050px;
        margin: 0 0 28px;
        font-size: clamp(4.6rem, 6.8vw, 10.5rem);
        line-height: 0.88;
        letter-spacing: -0.065em;
      }

      .hero-sub {
        margin: 0 0 18px;
        color: var(--green);
        font-size: clamp(1.1rem, 1.8vw, 1.8rem);
        font-weight: 750;
        letter-spacing: 0.02em;
      }

      .hero .intro {
        margin: 0;
      }

      .hero-statement {
        display: grid;
        grid-template-columns: minmax(560px, 0.82fr) minmax(420px, 0.62fr);
        column-gap: clamp(90px, 11vw, 190px);
        align-items: center;
        margin-top: clamp(70px, 9vw, 130px);
        padding-top: clamp(34px, 4vw, 62px);
        border-top: 1px solid rgba(32,48,39,0.12);
      }

      .hero-statement__text {
        min-width: 0;
      }

      .hero-statement__text p {
        margin: 0;
        max-width: 820px;
        font-family: var(--serif);
        font-size: clamp(4.4rem, 6.4vw, 7.4rem);
        line-height: 0.88;
        letter-spacing: -0.065em;
        color: var(--ink);
      }

      .hero-statement__media {
        margin: 0;
        width: 100%;
        justify-self: end;
        transform: translateX(clamp(30px, 5vw, 90px));
      }

      .hero-statement__media img {
        display: block;
        width: min(100%, 620px);
        height: auto;
        object-fit: contain;
        mix-blend-mode: multiply;
        opacity: 0.98;
      }

      @media (min-width: 1280px) {
        .hero-statement {
          grid-template-columns: minmax(620px, 0.9fr) minmax(480px, 0.62fr);
        }

        .hero-statement__media img {
          width: min(100%, 680px);
        }
      }

      @media (min-width: 1101px) and (max-width: 1279px) {
        .hero-statement {
          grid-template-columns: minmax(520px, 0.9fr) minmax(320px, 0.5fr);
          column-gap: clamp(60px, 7vw, 88px);
        }

        .hero-statement__text p {
          font-size: clamp(4rem, 6.1vw, 5.2rem);
        }

        .hero-statement__media {
          transform: none;
        }

        .hero-statement__media img {
          width: min(100%, 420px);
        }
      }

      @media (max-width: 1100px) {
        .hero-statement {
          grid-template-columns: 1fr;
          gap: 40px;
        }

        .hero-statement__text p {
          max-width: 900px;
          font-size: clamp(3rem, 11vw, 5.8rem);
        }

        .hero-statement__media {
          justify-self: start;
          transform: none;
        }

        .hero-statement__media img {
          width: min(100%, 620px);
        }
      }

      @media (max-width: 680px) {
        .hero-statement {
          margin-top: 56px;
          padding-top: 28px;
          gap: 30px;
        }

        .hero-statement__text p {
          font-size: clamp(2.8rem, 14vw, 4.8rem);
          line-height: 0.9;
        }

        .hero-statement__media img {
          width: 100%;
        }
      }

      .hero-panel {
        align-self: center;
        border-left: 1px solid var(--line);
        padding-left: clamp(22px, 4vw, 46px);
      }

      .logo-mark {
        width: clamp(74px, 6vw, 112px);
        margin-bottom: clamp(28px, 4vw, 46px);
      }

      .status-card {
        max-width: 360px;
        padding-top: clamp(28px, 4vw, 46px);
        border-top: 1px solid rgba(32,48,39,0.16);
      }

      .status-card strong {
        display: block;
        margin-bottom: 10px;
        color: var(--ink);
        font-size: 0.78rem;
        font-weight: 900;
        letter-spacing: 0.16em;
        text-transform: uppercase;
      }

      .status-card p {
        margin: 0;
        color: rgba(32,48,39,0.68);
        font-size: clamp(0.95rem, 1vw, 1.06rem);
        line-height: 1.55;
      }

      .grid-3,
      .grid-4,
      .text-grid,
      .split-grid,
      .contact-grid {
        display: grid;
        gap: 1px;
        background: var(--line);
        border: 1px solid var(--line);
      }

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

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

      .text-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: clamp(34px, 5vw, 70px);
      }

      .tile {
        min-height: 220px;
        padding: clamp(24px, 3vw, 42px);
        background: rgba(255, 250, 240, 0.56);
      }

      .entry-link {
        color: inherit;
        text-decoration: none;
      }

      .text-block {
        min-height: 250px;
        padding: clamp(24px, 3vw, 42px);
        background: rgba(255, 250, 240, 0.56);
      }

      .tile h3,
      .text-block h3 {
        margin-bottom: 18px;
        font-family: var(--serif);
        font-size: clamp(1.7rem, 2.4vw, 2.8rem);
        font-weight: 400;
        line-height: 1;
        letter-spacing: -0.035em;
      }

      .tile p,
      .text-block p {
        margin-bottom: 0;
        color: var(--ink-soft);
        font-size: 1rem;
        line-height: 1.62;
      }

      .text-block p + p {
        margin-top: 16px;
      }

      .arkhe-note {
        width: min(100%, 1120px);
        margin: clamp(42px, 6vw, 76px) auto;
        padding: clamp(28px, 4vw, 54px);
        border: 1px solid var(--line, rgba(0, 0, 0, 0.14));
        background: rgba(255, 250, 240, 0.38);
      }

      .arkhe-note-head {
        margin-bottom: clamp(24px, 4vw, 42px);
      }

      .arkhe-note h3 {
        margin: 0;
        font-family: var(--serif, inherit);
        font-size: clamp(2.6rem, 5vw, 5.8rem);
        font-weight: 400;
        line-height: 1.02;
        letter-spacing: -0.01em;
        color: inherit;
      }

      .arkhe-note-body {
        max-width: 980px;
      }

      .arkhe-note-body p {
        max-width: 820px;
        margin: 0;
        color: var(--ink-soft);
        font-family: var(--sans, inherit);
        font-size: clamp(0.98rem, 1vw, 1.12rem);
        line-height: 1.65;
      }

      .arkhe-note-body p + p {
        margin-top: 16px;
      }

      .arkhe-note-body .arkhe-lead {
        max-width: 760px;
        margin-bottom: clamp(24px, 3vw, 38px);
        font-size: clamp(1.05rem, 1.3vw, 1.35rem);
        line-height: 1.55;
      }

      .arkhe-meanings {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        margin: clamp(24px, 4vw, 42px) 0;
        border-top: 1px solid var(--line, rgba(0, 0, 0, 0.14));
        border-bottom: 1px solid var(--line, rgba(0, 0, 0, 0.14));
      }

      .arkhe-meanings > div {
        padding: clamp(20px, 3vw, 34px);
        border-right: 1px solid var(--line, rgba(0, 0, 0, 0.14));
      }

      .arkhe-meanings > div:last-child {
        border-right: 0;
      }

      .arkhe-meanings h4 {
        margin: 0 0 12px;
        font-family: var(--serif, inherit);
        font-size: clamp(1.8rem, 2.4vw, 3rem);
        font-weight: 400;
        line-height: 1;
        letter-spacing: -0.03em;
        color: inherit;
      }

      .arkhe-meanings p {
        margin: 0;
        font-size: clamp(0.9rem, 0.95vw, 1rem);
        line-height: 1.55;
      }


      .plain-list {
        margin: 0;
        padding: 0;
        list-style: none;
        border-top: 1px solid var(--line);
      }

      .plain-list li {
        display: grid;
        grid-template-columns: minmax(180px, 0.36fr) minmax(0, 0.64fr);
        gap: clamp(22px, 4vw, 72px);
        padding: 24px 0;
        border-bottom: 1px solid var(--line);
      }

      .plain-list strong {
        color: var(--ink);
        font-size: 0.8rem;
        font-weight: 850;
        letter-spacing: 0.12em;
        text-transform: uppercase;
      }

      .plain-list span {
        color: var(--ink-soft);
        line-height: 1.58;
      }

      .system-section {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding: clamp(60px, 8vw, 110px) max(4vw, calc((100vw - var(--max)) / 2));
        background: var(--dark);
        color: var(--paper-soft);
      }

      .system-section .section-head {
        width: 100%;
      }

      .system-section h2 {
        color: var(--paper-soft);
      }

      .system-section .intro,
      .system-section .tile p {
        color: rgba(255, 250, 240, 0.72);
      }

      .system-section .grid-3,
      .system-section .grid-4 {
        border-color: rgba(255, 250, 240, 0.16);
        background: rgba(255, 250, 240, 0.16);
      }

      .system-section .tile {
        background: rgba(255, 250, 240, 0.045);
      }

      .system-section .tile h3 {
        color: var(--paper-soft);
      }

      .split-grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
        align-items: stretch;
      }

      .split-grid + .grid-4 {
        margin-top: clamp(28px, 4vw, 56px);
      }

      .split-copy {
        padding: clamp(28px, 4vw, 56px);
        background: rgba(255, 250, 240, 0.56);
      }

      .split-copy p {
        max-width: 720px;
        color: var(--ink-soft);
        font-size: clamp(1.05rem, 1.5vw, 1.26rem);
        line-height: 1.58;
      }

      .split-copy p:last-child {
        margin-bottom: 0;
      }

      .split-media {
        min-height: 360px;
        background: var(--green);
      }

      .split-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: saturate(0.62) contrast(0.96) brightness(1.04);
      }

      .hero-statement__media,
      .split-media,
      .kmethic-proof-media {
        border: 1px solid rgba(28, 35, 30, 0.16);
        padding: clamp(8px, 0.8vw, 14px);
        background: rgba(246, 243, 234, 0.45);
        box-sizing: border-box;
      }

      .hero-statement__media img,
      .split-media img,
      .kmethic-proof-media img {
        border: 0;
        background: transparent;
      }

      .response-intro-grid {
        display: grid;
        grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1fr);
        gap: clamp(64px, 7vw, 120px);
        align-items: center;
        max-width: 1280px;
        margin: 0 auto clamp(72px, 8vw, 120px);
      }

      .response-intro-copy {
        max-width: 620px;
      }

      .response-intro-copy .section-head {
        display: block;
        margin-bottom: 0;
      }

      .response-map-image {
        display: block;
        width: 100%;
        min-height: clamp(340px, 32vw, 520px);
        aspect-ratio: 4 / 3;
        object-fit: cover;
        object-position: center;
      }

      .kmethic-lockup {
        width: min(100%, 680px);
        margin: 0 0 34px;
      }

      .kmethic-logo {
        display: block;
        width: min(680px, 92vw);
        height: auto;
        background: transparent;
        border: 0;
        box-shadow: none;
      }

      .kmethic-proof {
        margin-top: clamp(64px, 7vw, 104px);
        max-width: 1180px;
        margin-left: auto;
        margin-right: auto;
        row-gap: clamp(28px, 4vw, 56px);
        column-gap: clamp(32px, 5vw, 72px);
      }

      .kmethic-proof-copy {
        max-width: 720px;
        margin-bottom: clamp(36px, 5vw, 68px);
      }

      .kmethic-proof-media {
        width: 100%;
        margin: clamp(20px, 3vw, 36px) 0 0;
      }

      .kmethic-proof-media img {
        display: block;
        width: 100%;
        max-width: 1180px;
        height: auto;
        object-fit: contain;
      }

      @media (max-width: 700px) {
        .arkhe-note {
          margin: 34px 0;
          padding: 24px;
        }

        .arkhe-note h3 {
          font-size: clamp(2.3rem, 10vw, 4rem);
        }

        .arkhe-meanings {
          grid-template-columns: 1fr;
        }

        .arkhe-meanings > div {
          border-right: 0;
          border-bottom: 1px solid var(--line, rgba(0, 0, 0, 0.14));
        }

        .arkhe-meanings > div:last-child {
          border-bottom: 0;
        }

        .kmethic-proof {
          margin-top: 48px;
        }

        .kmethic-proof-copy {
          margin-bottom: 32px;
        }

        .kmethic-proof-media img {
          width: 100%;
          max-width: 100%;
        }

      }

      @media (max-width: 768px) {
        .hero-statement__media,
        .split-media,
        .kmethic-proof-media {
          padding: 8px;
        }
      }

      @media (max-width: 768px) {
        .response-intro-grid {
          display: flex;
          flex-direction: column;
          max-width: 100%;
          margin-bottom: 48px;
        }

        .response-intro-copy {
          order: 1;
          max-width: none;
        }

        .response-intro-media {
          order: 2;
          width: 100%;
        }

        .response-intro-media.editorial-media-frame {
          margin: 34px auto 42px;
        }

        .response-map-image {
          display: block;
          width: 100%;
          max-width: 100%;
          height: auto;
          min-height: 0;
          aspect-ratio: auto;
          object-fit: contain;
          object-position: center;
          margin: 0;
        }
      }

      .state-band {
        display: grid;
        grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
        gap: clamp(32px, 6vw, 110px);
        align-items: start;
        padding: clamp(32px, 5vw, 64px) 0;
        border-top: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
      }

      .state-band h3 {
        margin: 0;
        font-family: var(--serif);
        font-size: clamp(2.8rem, 5.2vw, 6.4rem);
        font-weight: 400;
        line-height: 0.94;
        letter-spacing: -0.05em;
      }

      .state-band p {
        max-width: 760px;
        margin: 0;
        color: var(--ink);
        font-size: clamp(1.2rem, 2vw, 2rem);
        line-height: 1.28;
      }

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

      .contact-card {
        padding: clamp(28px, 4vw, 54px);
        background: rgba(255, 250, 240, 0.64);
      }

      .contact-card h3 {
        margin-bottom: 18px;
        font-family: var(--serif);
        font-size: clamp(2.2rem, 4vw, 5rem);
        font-weight: 400;
        line-height: 0.95;
        letter-spacing: -0.045em;
      }

      .contact-card p {
        max-width: 520px;
        color: var(--ink-soft);
        line-height: 1.6;
      }

      .contact-link {
        display: inline-block;
        margin-top: 18px;
        color: var(--ink);
        font-weight: 850;
        text-decoration-color: var(--gold);
        text-underline-offset: 0.26em;
      }

      .contact-status {
        display: inline-block;
        margin-top: clamp(22px, 3vw, 34px);
        color: var(--gold);
        font-size: 0.72rem;
        font-weight: 850;
        letter-spacing: 0.16em;
        text-transform: uppercase;
      }

      .site-footer {
        width: var(--page);
        margin: 0 auto;
        padding: 34px 0;
        display: flex;
        justify-content: space-between;
        gap: 24px;
        color: var(--muted);
        font-size: 0.75rem;
      }

      .footer-brand {
        display: flex;
        flex-direction: column;
        gap: 6px;
      }

      .footer-brand strong {
        color: var(--ink);
        letter-spacing: 0.08em;
      }

      .footer-links {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
      }

      .relation-email {
        display: inline-block;
        margin-top: 18px;
        font-size: clamp(0.78rem, 0.9vw, 0.95rem);
        font-weight: 700;
        letter-spacing: 0.02em;
        color: inherit;
        text-decoration: none;
        border-bottom: 1px solid currentColor;
        word-break: break-word;
      }

      .relation-email:hover,
      .relation-email:focus {
        opacity: 0.65;
      }

      .footer-email {
        align-self: center;
        display: inline-block;
        font-size: clamp(0.78rem, 0.9vw, 0.95rem);
        font-weight: 700;
        letter-spacing: 0.04em;
        color: inherit;
        text-decoration: none;
        border-bottom: 1px solid currentColor;
        word-break: break-word;
      }

      .footer-email:hover,
      .footer-email:focus {
        opacity: 0.65;
      }

      .brand-closing {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        background:
          radial-gradient(circle at 50% 0%, rgba(242,183,5,0.10), transparent 38%),
          linear-gradient(180deg, #11130f 0%, #070807 100%);
        color: #f7f2e8;
        padding: clamp(90px, 14vh, 170px) 24px;
        border-top: 1px solid rgba(32,48,39,0.10);
      }

      .brand-closing__inner {
        width: min(88vw, 760px);
        margin: 0 auto;
        text-align: center;
      }

      .brand-closing__eyebrow {
        margin: 0 0 clamp(26px, 4vw, 44px);
        color: rgba(247,242,232,0.62);
        font-size: 0.72rem;
        font-weight: 850;
        letter-spacing: 0.18em;
        text-transform: uppercase;
      }

      .brand-closing__logo {
        display: block;
        width: min(78vw, 420px);
        height: auto;
        margin: 0 auto;
        object-fit: contain;
      }

      .brand-closing__text {
        max-width: 520px;
        margin: clamp(34px, 5vw, 58px) auto 0;
        color: rgba(247,242,232,0.88);
        font-family: var(--serif);
        font-size: clamp(1.45rem, 2.1vw, 2.35rem);
        line-height: 1.18;
      }

      .brand-closing__stage {
        width: min(100%, 1480px);
        margin: 0 auto;
        display: grid;
        grid-template-columns: minmax(180px, 24vw) minmax(300px, 620px) minmax(180px, 24vw);
        gap: clamp(28px, 5vw, 88px);
        align-items: end;
      }

      .brand-closing__inner {
        width: 100%;
        margin: 0 auto;
        text-align: center;
        align-self: center;
      }

      .brand-closing__person {
        align-self: stretch;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        min-height: clamp(420px, 52vw, 720px);
      }

      .brand-closing__portrait {
        width: 100%;
        height: clamp(380px, 46vw, 650px);
        object-fit: cover;
        filter: grayscale(1) contrast(1.08);
        opacity: 0.72;
        mix-blend-mode: screen;
        background: #070807;
      }

      .brand-closing__person--linda .brand-closing__portrait {
        object-position: 42% 20%;
        opacity: 0.96;
        filter: grayscale(1) contrast(1.18) brightness(0.92);
        mix-blend-mode: normal;
      }

      .brand-closing__person--xesc .brand-closing__portrait {
        object-position: 74% 42%;
      }

      .brand-closing__caption {
        margin-top: 18px;
        text-align: left;
        color: rgba(247,242,232,0.74);
      }

      .brand-closing__person--xesc .brand-closing__caption {
        text-align: right;
      }

      .brand-closing__name {
        margin: 0 0 6px;
        color: #f7f2e8;
        font-size: clamp(1.05rem, 1.4vw, 1.45rem);
        line-height: 1.1;
        font-family: var(--serif);
      }

      .brand-closing__role {
        margin: 0;
        color: rgba(247,242,232,0.58);
        font-size: 0.74rem;
        line-height: 1.45;
        letter-spacing: 0.08em;
        text-transform: uppercase;
      }

      .brand-closing__email {
        display: inline-block;
        margin-top: 10px;
        color: inherit;
        font-size: 0.78rem;
        letter-spacing: 0.02em;
        text-decoration: underline;
        text-underline-offset: 3px;
        overflow-wrap: anywhere;
      }

      .brand-closing__team-label {
        margin: clamp(28px, 4vw, 46px) 0 12px;
        color: rgba(247,242,232,0.52);
        font-size: 0.72rem;
        font-weight: 850;
        letter-spacing: 0.18em;
        text-transform: uppercase;
      }

      .brand-closing__statement {
        max-width: 560px;
        margin: 0 auto;
        color: rgba(247,242,232,0.74);
        font-size: clamp(1.05rem, 1.35vw, 1.22rem);
        line-height: 1.55;
      }

/* 4. Responsive rules */

      @media (max-width: 1040px) {
        body {
          padding-top: var(--header-offset, 138px);
        }

        html {
          scroll-padding-top: var(--scroll-offset, 150px);
        }

        section {
          scroll-margin-top: var(--scroll-offset, 150px);
        }

        .nav {
          min-height: auto;
          padding: 14px 0;
          align-items: flex-start;
        }

        .nav,
        .nav-group {
          flex-direction: column;
        }

        .nav-group {
          width: 100%;
          align-items: flex-start;
          gap: 12px;
        }

        .nav-links {
          width: 100%;
          display: grid;
          grid-template-columns: repeat(4, minmax(0, 1fr));
          flex-wrap: nowrap;
          justify-content: flex-start;
          gap: 10px 14px;
          overflow-x: visible;
          white-space: normal;
          padding-bottom: 0;
        }

        .nav-links a {
          display: block;
          white-space: normal;
          line-height: 1.08;
          letter-spacing: 0.08em;
        }

        .language-switcher {
          margin-left: 0;
          padding-left: 0;
          border-left: 0;
          gap: 8px;
        }



        .brand-closing {
          padding: 72px 18px;
        }

        .brand-closing__stage {
          grid-template-columns: 1fr;
          gap: 38px;
        }

        .brand-closing__inner {
          order: 1;
        }

        .brand-closing__person {
          min-height: auto;
          order: 2;
        }

        .brand-closing__person--xesc {
          order: 3;
        }

        .brand-closing__portrait {
          width: 100%;
          height: min(76vw, 360px);
          opacity: 0.68;
        }

        .brand-closing__person--xesc .brand-closing__caption {
          text-align: left;
        }


        .hero,
        .section-head,
        .state-band {
          grid-template-columns: 1fr;
        }

        .hero-panel {
          border-left: 0;
          border-top: 1px solid var(--line);
          padding: 28px 0 0;
        }

        .grid-3,
        .grid-4,
        .text-grid,
        .split-grid,
        .contact-grid {
          grid-template-columns: 1fr;
        }
      }

      @media (max-width: 720px) {
        body {
          padding-top: var(--header-offset, 190px);
        }

        html {
          scroll-padding-top: var(--scroll-offset, 204px);
        }

        section {
          scroll-margin-top: var(--scroll-offset, 204px);
        }

        .nav-links {
          grid-template-columns: repeat(3, minmax(0, 1fr));
          gap: 9px 12px;
        }

        .nav-links a {
          font-size: 0.58rem;
          letter-spacing: 0.07em;
        }

        .brand span {
          font-size: 0.62rem;
          letter-spacing: 0.12em;
        }

        .hero h1 {
          font-size: clamp(2.85rem, 11vw, 4.8rem);
          line-height: 0.92;
          letter-spacing: -0.06em;
        }

        .tile {
          min-height: auto;
        }

        .brand-closing {
          padding: 80px 20px;
        }

        .brand-closing__logo {
          width: min(82vw, 340px);
        }

        .plain-list li {
          grid-template-columns: 1fr;
          gap: 10px;
        }

        .split-media {
          min-height: 260px;
        }

        .site-footer {
          flex-direction: column;
        }
      }

      @media (max-width: 380px) {
        body {
          padding-top: var(--header-offset, 232px);
        }

        html {
          scroll-padding-top: var(--scroll-offset, 244px);
        }

        section {
          scroll-margin-top: var(--scroll-offset, 244px);
        }

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

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





    
/* 5. Utilities / retained compatibility overrides */
/* === HERO / STATE / PROPOSAL VISUAL OVERRIDES === */
.hero .eyebrow{
  display:block !important;
  margin:0 0 clamp(42px, 5.2vw, 86px) !important;
  color:var(--gold) !important;
  letter-spacing:0.16em !important;
}
.hero-copy h1{
  margin-top:0 !important;
}
.state-band{
  display:grid !important;
  grid-template-columns:minmax(160px, 0.55fr) minmax(0, 1.45fr) !important;
  gap:clamp(36px, 6vw, 112px) !important;
  align-items:start !important;
  border-top:1px solid var(--line) !important;
  border-bottom:1px solid var(--line) !important;
  padding:clamp(54px, 7vw, 116px) 0 !important;
}
.state-band .kicker,
.state-band > .kicker{
  margin:0 !important;
  color:var(--gold) !important;
  font-size:clamp(0.78rem, 0.62vw, 0.95rem) !important;
  font-weight:700 !important;
  letter-spacing:0.16em !important;
  opacity:1 !important;
  line-height:1.25 !important;
  text-transform:uppercase !important;
}
.state-band h3{
  margin:0 0 18px !important;
  color:var(--ink) !important;
  font-family:var(--serif) !important;
  font-size:clamp(3.8rem, 7.2vw, 9.4rem) !important;
  line-height:0.92 !important;
  letter-spacing:-0.055em !important;
  font-weight:400 !important;
}
.state-band p:not(.kicker){
  max-width:760px !important;
  margin:0 !important;
  color:var(--ink-soft) !important;
  font-size:clamp(1.05rem, 1.45vw, 1.34rem) !important;
  line-height:1.55 !important;
  font-weight:400 !important;
}
/* === END: HERO / STATE / PROPOSAL VISUAL OVERRIDES === */

    

/* === HOME / PROPOSAL VISUAL OVERRIDES === */
.hero .eyebrow{
  display:block !important;
  margin:0 0 clamp(68px, 7.6vw, 130px) !important;
  color:var(--gold) !important;
  letter-spacing:0.16em !important;
}
.hero h1{
  margin-top:0 !important;
  line-height:0.91 !important;
}
.state-band{
  display:grid !important;
  grid-template-columns:minmax(160px, 0.42fr) minmax(0, 1fr) !important;
  gap:clamp(38px, 6vw, 105px) !important;
  align-items:start !important;
  border-top:1px solid rgba(32,48,39,0.12) !important;
  border-bottom:1px solid rgba(32,48,39,0.12) !important;
  padding:clamp(54px, 7vw, 104px) 0 !important;
}
.state-band .kicker,.state-band > .kicker{
  color:var(--gold) !important;
  font-size:clamp(0.78rem, 0.62vw, 0.95rem) !important;
  font-weight:700 !important;
  letter-spacing:0.16em !important;
  opacity:1 !important;
  line-height:1.25 !important;
  text-transform:uppercase !important;
}
.state-band h3{
  color:var(--ink) !important;
  font-family:var(--serif) !important;
  font-size:clamp(3.4rem, 5.6vw, 7.2rem) !important;
  line-height:0.96 !important;
  font-weight:400 !important;
  letter-spacing:-0.055em !important;
  margin:0 0 14px !important;
}
.state-band p:not(.kicker){
  color:var(--ink-soft) !important;
  font-size:clamp(1.02rem, 1.36vw, 1.24rem) !important;
  line-height:1.55 !important;
  max-width:720px !important;
  font-weight:400 !important;
}
.brand-closing__person{display:flex !important;visibility:visible !important;opacity:1 !important;}
.brand-closing__portrait{display:block !important;visibility:visible !important;}
@media (max-width:1040px){
  .hero .eyebrow{margin-bottom:clamp(42px, 11vw, 74px) !important;}
  .state-band{grid-template-columns:1fr !important;gap:22px !important;padding:54px 0 !important;}
  .state-band h3{font-size:clamp(3.0rem, 13vw, 5.0rem) !important;}}

@media (max-width:768px){
  .section-head .kicker{
    font-size:0.78rem;
    letter-spacing:0.13em;
  }

  .state-band .kicker,
  .state-band > .kicker{
    font-size:0.78rem !important;
    letter-spacing:0.13em !important;
  }
}

.home-main .hero .eyebrow {
  color: var(--gold) !important;
}

.home-main .hero .hub-label {
  display: inline-flex !important;
  align-items: baseline;
  gap: 0.35em;
  font-size: clamp(1.05rem, 1.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.12em !important;
  line-height: 1;
  text-transform: uppercase;
}

.hub-label-accent {
  color: var(--gold);
}

.hub-label-dark {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 768px) {
  .home-main .hero .hub-label {
    gap: 0.28em;
    font-size: 0.95rem;
    letter-spacing: 0.08em !important;
  }
}

.terrain-river {
  display: none !important;
}

.terrain-river__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.terrain-river__base,
.terrain-river__progress {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.terrain-river__base {
  stroke: rgba(25, 35, 29, 0.18);
  stroke-width: 1.7;
}

.terrain-river__progress {
  stroke: var(--accent, var(--gold, #d8a51d));
  stroke-width: 2.8;
  stroke-dasharray: var(--river-length, 1);
  stroke-dashoffset: var(--river-length, 1);
  transition: stroke-dashoffset 0.08s linear;
}

.terrain-river__node {
  fill: rgba(25, 35, 29, 0.32);
  transform-box: fill-box;
  transform-origin: center;
  transition: fill 0.25s ease, opacity 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}

.terrain-river__node.is-active {
  fill: var(--accent, var(--gold, #d8a51d));
  filter: drop-shadow(0 0 8px rgba(216, 165, 29, 0.55));
  transform: scale(1.35);
}

.terrain-river__halo {
  fill: var(--accent, var(--gold, #d8a51d));
  opacity: 0;
  filter: blur(3px);
  transition: opacity 0.35s ease;
}

.terrain-river__halo.is-active {
  opacity: 0.22;
}

@media (min-width: 1101px) {
  .terrain-river {
    display: block !important;
    position: fixed;
    left: clamp(18px, 2.2vw, 42px);
    top: 18vh;
    width: 56px;
    height: 64vh;
    z-index: 12;
    pointer-events: none;
    opacity: 0.72;
  }
}

@media (max-width: 1100px) {
  .terrain-river,
  .terrain-river *,
  .terrain-river svg,
  .terrain-river__svg,
  .terrain-river__base,
  .terrain-river__progress,
  .terrain-river__node,
  .terrain-river__halo {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
  }
}

/* === BEGIN: MOBILE QA FIXES (HEADER / PANELS) === */
body{
  padding-top:var(--header-offset, 72px);
}
html{
  scroll-padding-top:var(--scroll-offset, 98px);
}
section{
  scroll-margin-top:var(--scroll-offset, 98px);
}
@media (max-width:1040px){
  body{
    padding-top:var(--header-offset, 138px);
  }
  html{
    scroll-padding-top:var(--scroll-offset, 150px);
  }
  section{
    scroll-margin-top:var(--scroll-offset, 150px);
  }
  .nav{
    gap:14px;
  }
  .nav-links{
    align-items:start;
  }
  .nav-links a{
    overflow-wrap:anywhere;
  }
}
@media (max-width:720px){
  body{
    padding-top:var(--header-offset, 190px);
  }
  html{
    scroll-padding-top:var(--scroll-offset, 204px);
  }
  section{
    scroll-margin-top:var(--scroll-offset, 204px);
  }}
@media (max-width:480px){
  .nav{
    width:calc(100% - 28px);
    gap:10px;
  }
  .nav-links{
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:8px 10px;
  }
  .nav-links a{
    font-size:0.54rem;
    line-height:1.12;
    letter-spacing:0.06em;
  }
  .brand span{
    font-size:0.58rem;
  }}
/* === END: MOBILE QA FIXES (HEADER / PANELS) === */
/* === BEGIN: RESPONSIVE NAVIGATION FINAL === */
@media (max-width:1040px){
  .nav-links{
    display:flex !important;
    width:100%;
    max-width:100%;
    flex-wrap:nowrap;
    justify-content:flex-start;
    gap:14px;
    overflow-x:auto;
    overflow-y:hidden;
    white-space:nowrap;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    padding-bottom:4px;
  }
  .nav-links::-webkit-scrollbar{display:none;}
  .nav-links a{
    flex:0 0 auto;
    display:block;
    white-space:nowrap;
    overflow-wrap:normal;
  }
}
@media (max-width:480px){
  .nav-links{
    display:flex !important;
    grid-template-columns:none !important;
    gap:13px;
  }
  .nav-links a{
    font-size:0.58rem;
    line-height:1.1;
    letter-spacing:0.07em;
  }
}
/* === END: RESPONSIVE NAVIGATION FINAL === */
/* === BEGIN: PROGRESSIVE DISCLOSURE NAV === */
.nav-links a.is-active,
.subnav a.is-active,
.drawer-link.is-active{
  color:var(--ink);
  font-weight:950;
}
.nav-toggle{
  display:none;
  align-items:center;
  gap:10px;
  min-height:42px;
  padding:0 12px;
  border:1px solid var(--line);
  background:rgba(255,250,240,0.58);
  color:var(--ink);
  font-size:0.68rem;
  font-weight:850;
  letter-spacing:0.12em;
  text-transform:uppercase;
  cursor:pointer;
}
.nav-toggle__icon{
  position:relative;
  width:18px;
  height:12px;
  border-top:2px solid currentColor;
  border-bottom:2px solid currentColor;
}
.nav-toggle__icon::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:100%;
  border-top:2px solid currentColor;
  transform:translateY(-50%);
}
.subnav{
  width:100%;
  border-top:1px solid rgba(34,44,37,0.08);
  background:rgba(246,241,232,0.92);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.subnav__inner{
  width:var(--page);
  margin:0 auto;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:22px;
}

.subnav a{
  position:relative;
  color:var(--muted);
  font-size:0.66rem;
  font-weight:850;
  letter-spacing:0.12em;
  text-decoration:none;
  text-transform:uppercase;
  white-space:nowrap;
}
.subnav a:hover{
  color:var(--ink);
}
.subnav a.is-active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-8px;
  height:1px;
  background:rgba(34,44,37,0.62);
}
.drawer-overlay{
  position:fixed;
  inset:0;
  z-index:10000;
  background:rgba(17,21,16,0.44);
  backdrop-filter:blur(7px);
  -webkit-backdrop-filter:blur(7px);
}
.drawer-overlay[hidden],
.mobile-drawer[hidden]{
  display:none !important;
}
.mobile-drawer{
  position:fixed;
  top:0;
  right:0;
  bottom:0;
  z-index:10001;
  width:min(92vw, 430px);
  height:100vh;
  height:100dvh;
  background:rgba(255,250,240,0.98);
  border-left:1px solid var(--line);
  box-shadow:-24px 0 80px rgba(17,21,16,0.22);
  overflow:hidden;
}
.mobile-drawer__panel{
  height:100%;
  display:flex;
  flex-direction:column;
  gap:22px;
  padding:max(18px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}
.mobile-drawer__bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.mobile-drawer__title,
.drawer-group__label{
  margin:0;
  color:var(--gold);
  font-size:0.7rem;
  font-weight:850;
  letter-spacing:0.16em;
  text-transform:uppercase;
}
.drawer-close{
  appearance:none;
  border:1px solid var(--line);
  background:rgba(246,241,232,0.76);
  color:var(--ink);
  width:42px;
  height:42px;
  border-radius:999px;
  font-size:1.2rem;
  line-height:1;
  font-weight:850;
  cursor:pointer;
}
.drawer-nav,
.drawer-group{
  display:grid;
  gap:6px;
}
.drawer-group{
  padding-top:10px;
  border-top:1px solid var(--line);
}
.drawer-link{
  width:100%;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0;
  border:0;
  border-bottom:1px solid var(--line);
  background:transparent;
  color:var(--ink);
  font-size:clamp(1.45rem, 7vw, 2.7rem);
  font-family:var(--serif);
  font-weight:400;
  line-height:1;
  letter-spacing:-0.045em;
  text-align:left;
  text-decoration:none;
}
.drawer-group--axes .drawer-link{
  min-height:40px;
  font-family:var(--sans);
  font-size:0.78rem;
  font-weight:780;
  letter-spacing:0.13em;
  text-transform:uppercase;
}
.drawer-group--axes .drawer-link.is-active{
  font-weight:950;
}
.drawer-meta{
  margin:auto 0 0;
  display:flex;
  justify-content:space-between;
  gap:16px;
  color:var(--muted);
  font-size:0.68rem;
  font-weight:850;
  letter-spacing:0.14em;
  text-transform:uppercase;
}
.drawer-meta a{
  color:inherit;
  text-decoration:none;
}
.axis-link-card{
  display:block;
  color:inherit;
  text-decoration:none;
}
body.is-drawer-open{
  overflow:hidden;
}
@media (max-width:1040px){
  .nav{
    min-height:64px !important;
    padding:10px 0 !important;
    flex-direction:row !important;
    align-items:center !important;
  }
  .nav-group{
    width:auto !important;
    margin-left:auto;
    flex-direction:row !important;
    align-items:center !important;
    gap:12px !important;
  }
  .nav-links{
    display:none !important;
  }
  .nav-toggle{
    display:inline-flex;
  }
  .subnav__inner{
    width:100%;
    min-height:40px;
    justify-content:flex-start;
    gap:18px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:0 max(14px, env(safe-area-inset-right)) 0 max(14px, env(safe-area-inset-left));
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .subnav__inner::-webkit-scrollbar{
    display:none;
  }

  .subnav a{
    flex:0 0 auto;
    font-size:0.64rem;
  }
}
@media (max-width:480px){
  .brand span{
    max-width:170px;
    line-height:1.12;
  }
  .language-switcher{
    font-size:0.62rem;
  }
  .nav-toggle{
    min-height:38px;
    padding:0 10px;
  }
  .subnav a{
    font-size:0.61rem;
    letter-spacing:0.11em;
  }
}
/* === END: PROGRESSIVE DISCLOSURE NAV === */

/* === BEGIN: KMETHIC LOGO MOBILE VISIBILITY FIX === */
@media (max-width: 680px) {
  .kmethic-lockup {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 28px;
    overflow: visible;
  }

  .kmethic-logo,
  .kmethic-lockup img {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    min-height: 1px;
    object-fit: contain;
    opacity: 1;
    visibility: visible;
    transform: none;
    mix-blend-mode: normal;
  }
}
/* === END: KMETHIC LOGO MOBILE VISIBILITY FIX === */

/* 6. Legal pages */
body.legal-page {
  padding-top: 72px;
}

body.legal-page .site-header {
  background: rgba(246, 241, 232, 0.88);
  border-bottom: 1px solid var(--line);
}

body.legal-page .nav {
  min-height: 72px;
  justify-content: space-between;
  gap: 24px;
}

body.legal-page .brand {
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

body.legal-page .brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

body.legal-page .nav-group {
  display: flex;
  align-items: center;
  gap: 34px;
}

body.legal-page .nav-links,
body.legal-page .language-switcher {
  display: flex;
  align-items: center;
  gap: 18px;
}

body.legal-page .nav-links a,
body.legal-page .language-switcher a {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

body.legal-page .nav-links a:hover,
body.legal-page .language-switcher a:hover,
body.legal-page .language-switcher .is-active {
  color: var(--gold);
}

body.legal-page .language-switcher {
  margin-left: 0;
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

body.legal-page main {
  width: var(--page);
  margin: 0 auto;
  min-height: calc(100vh - 72px);
  padding: 150px 0 110px;
  overflow: visible;
}

.legal-shell {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.6fr);
  gap: clamp(48px, 8vw, 140px);
  border-top: 1px solid var(--line);
  padding-top: 90px;
}

.legal-kicker {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 26px;
}

.legal-title {
  font-family: var(--serif);
  font-size: clamp(4.4rem, 8vw, 9rem);
  line-height: 0.86;
  letter-spacing: -0.075em;
  margin: 0 0 42px;
}

.legal-intro {
  font-size: 1.12rem;
  line-height: 1.58;
  color: var(--ink-soft);
  max-width: 780px;
  margin: 0 0 70px;
}

.legal-content {
  max-width: 900px;
}

.legal-content section {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.legal-content h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0 0 18px;
}

.legal-content p,
.legal-content li {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 12px;
}

.legal-content ul {
  margin: 0;
  padding-left: 1.1rem;
}

.legal-content a {
  color: var(--ink);
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.back-link {
  display: inline-flex;
  margin-top: 30px;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.legal-page .site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 38px;
}

body.legal-page .footer-inner {
  width: var(--page);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
}

body.legal-page .footer-links {
  display: flex;
  gap: 18px;
}

body.legal-page .footer-links a {
  color: var(--muted);
}

body.legal-page .footer-links a:hover {
  color: var(--gold);
}

@media (max-width: 980px) {
  body.legal-page {
    padding-top: 190px;
  }

  body.legal-page .site-header .nav {
    width: calc(100% - 28px);
    min-height: auto;
    padding: 15px 0 14px;
    gap: 14px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  body.legal-page .site-header .brand {
    max-width: 100%;
    min-width: 0;
    gap: 10px;
    white-space: normal;
  }

  body.legal-page .site-header .brand img {
    width: 34px;
    height: auto;
    flex: 0 0 auto;
  }

  body.legal-page .site-header .brand span {
    white-space: normal;
    font-size: 0.72rem;
    line-height: 1.18;
    letter-spacing: 0.13em;
  }

  body.legal-page .site-header .nav-group {
    width: 100%;
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
    justify-content: flex-start;
  }

  body.legal-page .site-header .nav-links {
    width: 100%;
    max-width: none;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 14px;
    row-gap: 10px;
    overflow: visible;
    white-space: normal;
    padding: 0;
  }

  body.legal-page .site-header .nav-links a {
    display: block;
    font-size: 0.60rem;
    line-height: 1.12;
    letter-spacing: 0.08em;
    white-space: normal;
  }

  body.legal-page .site-header .language-switcher {
    border-left: 0;
    padding-left: 0;
    margin-left: 0;
    gap: 16px;
    font-size: 0.72rem;
  }

  .legal-shell {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 60px;
  }

  body.legal-page main {
    padding-top: 90px;
  }

  .legal-title {
    font-size: clamp(3.4rem, 16vw, 6.5rem);
  }

  body.legal-page .footer-inner {
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  body.legal-page {
    padding-top: 232px;
  }

  body.legal-page .site-header .nav-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
