/* Aquinian house — ported from ABC-LIA/aquinian-marketing. */

html:has(.house-shell) {
  background: #f7f3eb;
  scroll-behavior: smooth;
}
.house-shell {
  min-height: 100dvh;
  padding: 0;
  overflow-x: clip;
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(10, 23, 48, 0.025) 1px),
    var(--paper, #f7f3eb);
  background-size: min(8vw, 7rem) 100%;
  color: var(--navy-950, #07101f);
}

.house-page {
  --paper: #f7f3eb;
  --ivory: #fffdf8;
  --surface: #ffffff;
  --navy-950: #07101f;
  --navy-900: #0a1730;
  --navy-800: #142746;
  --navy-700: #263b5b;
  --ink-muted: #566075;
  --gold-700: #8c6b36;
  --gold-500: #b79357;
  --gold-300: #d8c398;
  --gold-200: #e7dbc0;
  --rule: rgba(10, 23, 48, 0.15);
  --fine-line: rgba(10, 23, 48, 0.09);
  --fine-line-gold: rgba(183, 147, 87, 0.36);
  --reflected-light: rgba(255, 255, 255, 0.76);
  --reflected-gold: rgba(216, 195, 152, 0.19);
  --serif: 'Cormorant Garamond', 'Gentium Plus', Georgia, serif;
  --sans: 'IBM Plex Sans', 'Noto Sans', sans-serif;
  --script-greek: 'Gentium Plus', 'Noto Serif', serif;
  --script-hebrew: 'Noto Serif Hebrew', 'Frank Ruhl Libre', serif;
  --script-syriac: 'Noto Serif Syriac', 'Estrangelo Edessa', serif;
  --container: 76rem;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --section-space: clamp(5rem, 11vw, 9rem);
  --depth-ground: 0 0 0 1px rgba(255, 255, 255, 0.64);
  --shadow-ambient: 0 2.5rem 7rem rgba(7, 16, 31, 0.1);
  --shadow-elevated:
    0 0.8rem 1.8rem rgba(7, 16, 31, 0.07),
    0 3rem 8rem rgba(7, 16, 31, 0.12),
    -1.2rem 1.4rem 4rem rgba(183, 147, 87, 0.08);
  --shadow-frame:
    0 0.5rem 1.4rem rgba(7, 16, 31, 0.05),
    0 2.4rem 6.5rem rgba(7, 16, 31, 0.1);
  --motion-fast: 180ms;
  --motion-standard: 560ms;
  --motion-slow: 880ms;
  --motion-stagger: 70ms;
  --ease-out-expressive: cubic-bezier(0.22, 1, 0.36, 1);
}

/* typography */
.house-page {
  color: var(--navy-950);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}

.house-page h1,
.house-page h2,
.house-page h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.house-page h1 {
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.94;
}

.house-page h2 {
  font-size: clamp(2.7rem, 5.6vw, 4.8rem);
  line-height: 0.98;
}

.house-page h3 {
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.1;
}

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

.house-page ::selection {
  color: var(--ivory);
  background: var(--navy-800);
}

/* global */
.house-page {
  overflow-x: hidden;
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(10, 23, 48, 0.025) 1px),
    var(--paper);
  background-size: min(8vw, 7rem) 100%;
}


.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: var(--ivory);
  background: var(--navy-950);
  transform: translateY(-200%);
}

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

.house-page :focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 4px;
}

.house-page a,
.house-page button,
.house-page summary {
  -webkit-tap-highlight-color: rgba(183, 147, 87, 0.16);
}

.house-page section[id] {
  scroll-margin-top: 6rem;
}

/* utilities */
.house-page .eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold-700);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.house-page .eyebrow::before {
  width: 2.4rem;
  height: 1px;
  background: var(--gold-500);
  content: '';
  transform: scaleX(1);
  transform-origin: left;
  transition: transform var(--motion-standard) var(--ease-out-expressive);
}

.house-page [data-reveal='stagger']:not(.is-visible) > .eyebrow::before {
  transform: scaleX(0);
}

.house-page .body-copy {
  color: var(--navy-700);
}

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

.house-page [data-reveal],
.house-page [data-reveal] [data-reveal-child],
.house-page [data-reveal=stagger] > [data-reveal-child] {
  opacity: 1 !important;
  transform: none !important;
}


/* --- components/conversation/ConversationMockup.astro (.conversation-frame) --- */

  .conversation-frame .window {
    position: relative;
    z-index: 2;
    overflow: hidden;
    background: var(--ivory);
    border: 1px solid var(--fine-line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }

  .conversation-frame header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1.2rem;
    color: var(--ivory);
    background: var(--navy-900);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .conversation-frame .transcript {
    position: relative;
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.25rem);
    padding: clamp(1.65rem, 4vw, 3rem) clamp(1.2rem, 4vw, 2.8rem) 0;
    background:
      linear-gradient(90deg, transparent calc(100% - 1px), rgba(10, 23, 48, 0.018) 1px),
      var(--ivory);
    background-size: 5.6rem 100%;
  }

  .conversation-frame article {
    position: relative;
  }

  .conversation-frame small {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--gold-700);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .conversation-frame article p {
    font-family: var(--serif);
    font-size: clamp(1.02rem, 1.8vw, 1.24rem);
    line-height: 1.5;
  }

  .conversation-frame article p + p {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--fine-line);
  }

  .conversation-frame .user-message {
    justify-self: end;
    width: min(76%, 27rem);
    padding: 1.1rem 1.3rem;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.54), transparent),
      var(--paper);
    border: 1px solid var(--fine-line);
    border-left: 2px solid var(--gold-500);
    box-shadow: 0 1rem 2.6rem rgba(7, 16, 31, 0.05);
  }

  .conversation-frame .user-message::after {
    position: absolute;
    bottom: -1.2rem;
    left: -1.8rem;
    width: 2.2rem;
    height: 1.5rem;
    border-bottom: 1px solid var(--fine-line-gold);
    border-left: 1px solid var(--fine-line-gold);
    content: '';
  }

  .conversation-frame .aquinian-message {
    justify-self: center;
    width: min(91%, 39rem);
    padding: 1.35rem 1.45rem 1.45rem;
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid var(--fine-line);
    border-left: 2px solid var(--gold-500);
    box-shadow: 0 1.2rem 3.2rem rgba(7, 16, 31, 0.04);
  }

  .conversation-frame .aquinian-message::before {
    position: absolute;
    top: 1.4rem;
    left: -0.34rem;
    width: 0.55rem;
    height: 0.55rem;
    background: var(--ivory);
    border: 1px solid var(--gold-500);
    content: '';
    transform: rotate(45deg);
  }

  .conversation-frame .aquinian-message::after {
    position: absolute;
    bottom: -2.05rem;
    left: 50%;
    width: 1px;
    height: 2.05rem;
    background: var(--gold-500);
    content: '';
    opacity: 0.62;
  }

  @media (max-width: 42rem) {
    .conversation-frame header {
      padding-inline: 0.9rem;
    }

    .conversation-frame .transcript {
      gap: 1.35rem;
      padding: 1.25rem 0.85rem 0;
    }

    .conversation-frame .user-message {
      width: 91%;
      padding: 0.95rem 1rem;
    }

    .conversation-frame .user-message::after {
      display: none;
    }

    .conversation-frame .aquinian-message {
      width: 96%;
      padding: 1.05rem 1rem 1.1rem;
    }

    .conversation-frame .aquinian-message::after {
      bottom: -1.4rem;
      height: 1.4rem;
    }

    .conversation-frame article p {
      font-size: 1rem;
    }
  }


/* --- components/conversation/ConversationReasoningFlow.astro (.reasoning-flow) --- */

  .reasoning-flow {
    position: relative;
    z-index: 3;
    height: 5.6rem;
    padding-inline: 1.25rem;
    overflow: hidden;
    background:
      radial-gradient(circle at 50% 45%, rgba(183, 147, 87, 0.15), transparent 16%),
      linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(247, 243, 235, 0.94));
  }

  .reasoning-flow svg {
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  .reasoning-flow path, .reasoning-flow circle {
    vector-effect: non-scaling-stroke;
  }

  .reasoning-flow path {
    fill: none;
    stroke: var(--fine-line-gold);
    stroke-width: 1;
  }

  .reasoning-flow .flow-input, .reasoning-flow .flow-bus, .reasoning-flow .mobile-flow {
    stroke: rgba(140, 107, 54, 0.76);
    stroke-width: 1.3;
  }

  .reasoning-flow .aperture circle {
    fill: rgba(255, 253, 248, 0.96);
    stroke: var(--gold-500);
    stroke-width: 1.15;
  }

  .reasoning-flow .aperture circle:nth-child(2) {
    stroke: var(--gold-700);
  }

  .reasoning-flow .aperture .aperture-core {
    fill: var(--gold-500);
    stroke: none;
  }

  .reasoning-flow .desktop-flow circle {
    fill: var(--ivory);
    stroke: var(--gold-700);
    stroke-width: 1.15;
  }

  .reasoning-flow .desktop-flow path:nth-of-type(n + 2) {
    transition-delay: 140ms;
  }

  .reasoning-flow .mobile-flow {
    display: none;
  }

  @media (max-width: 42rem) {
    .reasoning-flow {
      height: 4.6rem;
      padding-inline: 0;
      background:
        radial-gradient(circle at 50% 47%, rgba(183, 147, 87, 0.14), transparent 20%),
        linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(247, 243, 235, 0.94));
    }

    .reasoning-flow .desktop-flow {
      display: none;
    }

    .reasoning-flow .mobile-flow {
      display: block;
    }
  }


/* --- components/conversation/ConversationSection.astro (.conversation) --- */

  .conversation {
    position: relative;
    padding: var(--section-space) 0;
    overflow: hidden;
    background:
      radial-gradient(circle at 80% 44%, rgba(216, 195, 152, 0.15), transparent 29rem),
      var(--paper);
    border-block: 1px solid var(--fine-line);
    scroll-margin-top: 7rem;
  }

  .conversation::before {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, transparent 49.94%, rgba(183, 147, 87, 0.07) 50%, transparent 50.06%);
    background-size: min(10vw, 9rem) 100%;
    content: '';
    pointer-events: none;
    mask-image: linear-gradient(to right, transparent, black 44%, black 94%, transparent);
  }

  .conversation .section-grid {
    position: relative;
    display: grid;
    grid-template-areas:
      'heading product'
      'body product'
      'features product'
      'cta product';
    grid-template-columns: minmax(0, 0.64fr) minmax(36rem, 1.36fr);
    column-gap: clamp(3rem, 5vw, 5rem);
    row-gap: 1.9rem;
    align-items: start;
    margin-top: 2.5rem;
  }

  .conversation .heading-area {
    grid-area: heading;
  }

  .conversation .body-copy {
    grid-area: body;
    display: grid;
    gap: 0.85rem;
    color: var(--navy-700);
    font-size: 0.94rem;
    line-height: 1.62;
  }

  .conversation .product-stage {
    position: relative;
    grid-area: product;
    min-width: 0;
    padding: 1.15rem 0 1.8rem 1.2rem;
    perspective: 100rem;
    transform-style: preserve-3d;
  }

  .conversation .product-shell {
    position: relative;
    z-index: 3;
    transform: rotateY(-1.35deg) rotateX(0.35deg) translateZ(0.5rem);
    transform-origin: center left;
  }

  .conversation .depth-plane {
    position: absolute;
    pointer-events: none;
    border: 1px solid var(--fine-line-gold);
  }

  .conversation .depth-plane-back {
    z-index: -2;
    inset: 5% -3% 0 12%;
    background: rgba(255, 253, 248, 0.3);
    transform: translateZ(-2.4rem);
  }

  .conversation .depth-plane-mid {
    z-index: -1;
    inset: 1% 2% 4% 5%;
    background: rgba(255, 255, 255, 0.34);
    box-shadow: var(--shadow-ambient);
    transform: translateZ(-1.1rem);
  }

  .conversation .features {
    grid-area: features;
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--fine-line);
  }

  .conversation .features li {
    display: grid;
    grid-template-columns: 2.8rem 1fr;
    gap: 0.75rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--fine-line);
  }

  .conversation .features span {
    color: var(--gold-700);
    font-size: 0.63rem;
  }

  .conversation .features h3 {
    margin-bottom: 0.4rem;
    font-size: 1.32rem;
  }

  .conversation .features p {
    color: var(--navy-700);
    font-size: 0.86rem;
    line-height: 1.6;
  }

  .conversation .cta-area {
    grid-area: cta;
    justify-self: start;
  }

  @media (max-width: 64rem) {
    .conversation .section-grid {
      grid-template-areas:
        'heading'
        'body'
        'product'
        'features'
        'cta';
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    .conversation .heading-area, .conversation .body-copy, .conversation .features, .conversation .cta-area {
      max-width: 48rem;
    }

    .conversation .product-stage {
      width: min(100%, 44rem);
      margin-inline: auto;
      padding: 1rem;
      perspective: none;
    }

    .conversation .product-shell {
      transform: none;
    }

    .conversation .depth-plane {
      display: none;
    }
  }

  @media (max-width: 42rem) {
    .conversation {
      background: var(--paper);
    }

    .conversation::before {
      display: none;
    }

    .conversation .section-grid {
      gap: 1.7rem;
    }

    .conversation .product-stage {
      padding: 0;
    }

    .conversation .features li {
      grid-template-columns: 2.4rem 1fr;
    }
  }


/* --- components/conversation/StructuredHandoff.astro (.handoff) --- */

  .handoff {
    position: relative;
    z-index: 4;
    padding: 1rem 1.25rem 1.35rem;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.36), transparent 52%),
      var(--paper);
    border-top: 1px solid var(--fine-line-gold);
    box-shadow: 0 -1.2rem 3rem rgba(7, 16, 31, 0.035);
  }

  .handoff-heading {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.85rem;
  }

  .handoff-heading > span {
    width: auto;
    height: 1px;
    flex: 1 1 auto;
    padding: 0;
    background: var(--fine-line-gold);
    border: 0;
  }

  .handoff p {
    color: var(--gold-700);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }

  .handoff-modes {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .handoff-modes span {
    position: relative;
    display: grid;
    min-height: 3rem;
    place-items: center;
    padding: 0.55rem 0.45rem;
    color: var(--navy-700);
    background: rgba(255, 253, 248, 0.78);
    border: 1px solid var(--fine-line);
    border-top-color: var(--gold-300);
    font-size: clamp(0.72rem, 0.72vw, 0.77rem);
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
  }

  .handoff-modes span::before {
    position: absolute;
    top: -0.29rem;
    left: 50%;
    width: 0.42rem;
    height: 0.42rem;
    background: var(--paper);
    border: 1px solid var(--gold-500);
    content: '';
    transform: translateX(-50%) rotate(45deg);
  }

  @media (max-width: 42rem) {
    .handoff {
      padding: 0.9rem 0.85rem 1rem;
    }

    .handoff-modes {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.5rem;
    }

    .handoff-modes span {
      min-height: 2.8rem;
      padding-inline: 0.55rem;
    }

    .handoff-modes span:last-child {
      grid-column: 1 / -1;
    }

    .handoff-modes span::before {
      display: none;
    }
  }


/* --- components/faq/FaqItem.astro (.faq-item) --- */

  .faq-item {
    border-bottom: 1px solid var(--rule);
  }

  .faq-item:first-child {
    border-top: 1px solid var(--rule);
  }

  .faq-item summary {
    display: grid;
    min-height: 7.5rem;
    grid-template-columns: 4rem minmax(0, 1fr) 2.8rem;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    padding: 1.5rem 0;
    cursor: pointer;
    list-style: none;
  }

  .faq-item summary::-webkit-details-marker {
    display: none;
  }

  .faq-item summary:focus-visible {
    outline: 3px solid var(--gold-500);
    outline-offset: 5px;
  }

  .faq-item .question-number {
    color: var(--gold-700);
    font-size: 0.68rem;
    font-weight: 600;
  }

  .faq-item .question-text {
    color: var(--navy-950);
    font-family: var(--serif);
    font-size: clamp(1.4rem, 2.35vw, 2.1rem);
    line-height: 1.2;
  }

  .faq-item .disclosure-mark {
    position: relative;
    width: 1.7rem;
    height: 1.7rem;
    border: 1px solid var(--gold-500);
  }

  .faq-item .disclosure-mark::before, .faq-item .disclosure-mark::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.72rem;
    height: 1px;
    background: var(--navy-800);
    content: '';
    transform: translate(-50%, -50%);
  }

  .faq-item .disclosure-mark::after {
    width: 1px;
    height: 0.72rem;
  }

  .faq-item details[open] .disclosure-mark::after {
    opacity: 0;
  }

  .faq-item details[open] summary {
    border-bottom: 1px solid var(--fine-line-gold);
  }

  .faq-item .answer {
    display: grid;
    max-width: 56rem;
    gap: 0.7rem;
    padding: 2rem 4.8rem 2.8rem 6.5rem;
    color: var(--navy-700);
    font-size: 0.9rem;
    line-height: 1.75;
  }

  @media (max-width: 48rem) {
    .faq-item summary {
      min-height: 6.5rem;
      grid-template-columns: 2.4rem minmax(0, 1fr) 2.3rem;
      gap: 0.75rem;
      padding: 1.25rem 0;
    }

    .faq-item .question-text {
      font-size: 1.35rem;
    }

    .faq-item .disclosure-mark {
      width: 2rem;
      height: 2rem;
    }

    .faq-item .answer {
      padding: 1.5rem 0.4rem 2.2rem 3.15rem;
      font-size: 0.86rem;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .faq-item .disclosure-mark::after {
      transition: none;
    }
  }


/* --- components/faq/FaqSection.astro (.faq) --- */

  .faq {
    position: relative;
    padding: var(--section-space) 0;
    overflow: hidden;
    background: var(--ivory);
    border-top: 1px solid var(--fine-line-gold);
  }

  .faq::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% - min(38rem, 44vw));
    width: 1px;
    background: rgba(183, 147, 87, 0.12);
    content: '';
    pointer-events: none;
  }

  .faq-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(17rem, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(4rem, 9vw, 9rem);
    margin-top: clamp(3rem, 7vw, 6rem);
  }

  .faq .heading-area {
    align-self: start;
  }

  .faq h2 {
    max-width: 9ch;
  }

  .faq-index {
    min-width: 0;
  }

  @media (max-width: 64rem) {
    .faq-layout {
      grid-template-columns: 1fr;
      gap: 3rem;
    }

    .faq h2 {
      max-width: 14ch;
    }

    .faq::before {
      left: var(--gutter);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .faq .heading-area {
      opacity: 1 !important;
      transform: none !important;
      transition-delay: 0s !important;
    }
  }


/* --- components/final-cta/FinalCtaSection.astro (.final-cta) --- */

  .final-cta {
    position: relative;
    padding: clamp(5rem, 10vw, 9rem) 0;
    overflow: hidden;
    color: var(--ivory);
    background: var(--navy-950);
    border-top: 1px solid rgba(216, 195, 152, 0.28);
    border-bottom: 1px solid rgba(216, 195, 152, 0.2);
  }

  .final-cta .conclusion-frame {
    position: relative;
    padding: clamp(2rem, 5vw, 4.5rem);
    border: 1px solid rgba(216, 195, 152, 0.3);
  }

  .final-cta .conclusion-frame::before, .final-cta .conclusion-frame::after {
    position: absolute;
    width: 1.8rem;
    height: 1.8rem;
    content: '';
    pointer-events: none;
  }

  .final-cta .conclusion-frame::before {
    top: 0.7rem;
    left: 0.7rem;
    border-top: 1px solid var(--gold-500);
    border-left: 1px solid var(--gold-500);
  }

  .final-cta .conclusion-frame::after {
    right: 0.7rem;
    bottom: 0.7rem;
    border-right: 1px solid var(--gold-500);
    border-bottom: 1px solid var(--gold-500);
  }

  .final-cta .eyebrow {
    color: var(--gold-300);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
  }

  .final-cta .conclusion-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(25rem, 0.95fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: center;
    margin-top: 2rem;
  }

  .final-cta h2 {
    max-width: 8ch;
    color: var(--ivory);
    font-size: clamp(3.7rem, 7.5vw, 7.4rem);
    line-height: 0.88;
  }

  .final-cta .supporting-copy {
    display: grid;
    max-width: 43rem;
    gap: 0.7rem;
    margin-top: 2rem;
    color: rgba(255, 253, 248, 0.72);
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .final-cta .resolution {
    display: grid;
    justify-items: start;
  }

  .final-cta .launch {
    display: inline-flex;
    min-height: 3.45rem;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    padding: 0.8rem 1.7rem;
    color: var(--navy-950);
    background: var(--ivory);
    border: 1px solid var(--ivory);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
  }

  .final-cta .launch:hover {
    color: var(--ivory);
    background: var(--navy-800);
    border-color: var(--gold-500);
  }

  .final-cta .support-line {
    margin-top: 1rem;
    color: rgba(255, 253, 248, 0.72);
    font-size: 0.76rem;
  }

  .final-cta .language-line {
    margin-top: 1.8rem;
    padding-top: 1rem;
    color: var(--gold-300);
    border-top: 1px solid rgba(216, 195, 152, 0.25);
    font-size: 0.72rem;
    line-height: 1.6;
  }

  @media (max-width: 64rem) {
    .final-cta .conclusion-grid {
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }

    .final-cta h2 {
      max-width: 10ch;
    }

    .final-cta .resolution {
      width: min(100%, 44rem);
    }
  }

  @media (max-width: 48rem) {
    .final-cta {
      padding: 4rem 0;
    }

    .final-cta .conclusion-frame {
      padding: 2rem 1.2rem 2.5rem;
    }

    .final-cta h2 {
      font-size: clamp(3.2rem, 15vw, 4.5rem);
    }

    .final-cta .launch {
      width: 100%;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .final-cta [data-testid='final-cta-section'] [data-reveal], .final-cta [data-testid='final-cta-section'] [data-reveal-child] {
      opacity: 1 !important;
      transform: none !important;
      transition-delay: 0s !important;
    }

    .final-cta [data-testid='final-cta-section'] [data-reveal-line] {
      stroke-dashoffset: 0 !important;
    }
  }


/* --- components/final-cta/ResolvedAxis.astro (.resolved-axis) --- */

  .resolved-axis {
    width: 100%;
  }

  .resolved-axis svg {
    width: 100%;
    height: auto;
  }

  .resolved-axis path, .resolved-axis circle {
    fill: var(--navy-950);
    stroke: var(--gold-500);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
  }

  .resolved-axis .endpoint {
    fill: var(--gold-300);
  }

  @media (max-width: 48rem) {
    .resolved-axis svg {
      width: 100%;
      transform: none;
    }
  }


/* --- components/global/MobileNavigation.astro (.mobile-navigation) --- */

  .mobile-navigation {
    display: none;
  }

  .mobile-navigation summary {
    display: flex;
    cursor: pointer;
    list-style: none;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .mobile-navigation summary::-webkit-details-marker {
    display: none;
  }

  .mobile-navigation .menu-icon, .mobile-navigation .menu-icon::before {
    width: 1.2rem;
    height: 1px;
    background: currentColor;
  }

  .mobile-navigation .menu-icon {
    position: relative;
  }

  .mobile-navigation .menu-icon::before {
    position: absolute;
    top: -0.35rem;
    content: '';
  }

  .mobile-navigation nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: grid;
    padding: 1rem var(--gutter) 1.5rem;
    background: var(--ivory);
    border-block: 1px solid var(--rule);
  }

  .mobile-navigation nav a {
    padding: 0.8rem 0;
    color: var(--navy-900);
    text-decoration: none;
  }

  .mobile-navigation .launch {
    color: var(--gold-700);
    font-weight: 600;
  }

  @media (max-width: 64rem) {
    .mobile-navigation {
      display: block;
    }
  }


/* --- components/global/PrimaryButton.astro (.primary-button) --- */

  .primary-button {
    display: inline-flex;
    min-height: 3.35rem;
    align-items: center;
    justify-content: center;
    gap: 1.1rem;
    padding: 0.9rem 1.3rem;
    color: var(--ivory);
    background: var(--navy-950);
    border: 1px solid var(--navy-950);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: background-color 180ms ease, transform 180ms ease;
  }

  .primary-button:hover {
    background: var(--navy-800);
    transform: translateY(-2px);
  }


/* --- components/global/ScholasticFrame.astro (.frame) --- */

  .frame {
    position: relative;
    isolation: isolate;
    padding: clamp(1rem, 2vw, 1.5rem);
    background:
      linear-gradient(135deg, var(--reflected-light), transparent 32%),
      var(--surface);
    border: 1px solid var(--fine-line);
    box-shadow: var(--depth-ground), var(--shadow-frame);
  }

  .frame::before, .frame::after {
    position: absolute;
    pointer-events: none;
    content: '';
  }

  .frame::before {
    z-index: 2;
    inset: 0.48rem;
    border: 1px solid var(--fine-line-gold);
  }

  .frame::after {
    z-index: 1;
    top: 0;
    right: 9%;
    width: 42%;
    height: 36%;
    background: linear-gradient(145deg, var(--reflected-light), transparent 68%);
    opacity: 0.7;
  }

  .frame .corner {
    position: absolute;
    z-index: 3;
    width: 1.05rem;
    height: 1.05rem;
    pointer-events: none;
  }

  .frame .corner-tl {
    top: 0.26rem;
    left: 0.26rem;
    border-top: 1px solid var(--gold-500);
    border-left: 1px solid var(--gold-500);
  }

  .frame .corner-tr {
    top: 0.26rem;
    right: 0.26rem;
    border-top: 1px solid var(--gold-500);
    border-right: 1px solid var(--gold-500);
  }

  .frame .corner-bl {
    bottom: 0.26rem;
    left: 0.26rem;
    border-bottom: 1px solid var(--gold-500);
    border-left: 1px solid var(--gold-500);
  }

  .frame .corner-br {
    right: 0.26rem;
    bottom: 0.26rem;
    border-right: 1px solid var(--gold-500);
    border-bottom: 1px solid var(--gold-500);
  }

  .frame-rule {
    position: absolute;
    z-index: 4;
    display: block;
    pointer-events: none;
    background: var(--gold-500);
  }

  .frame-rule-top {
    top: -1px;
    left: 16%;
    width: 29%;
    height: 2px;
  }

  .frame-rule-side {
    top: 20%;
    right: -1px;
    width: 2px;
    height: 18%;
    opacity: 0.55;
  }

  @media (max-width: 48rem) {
    .frame {
      box-shadow: 0 1.2rem 3rem rgba(7, 16, 31, 0.08);
    }

    .frame::after, .frame-rule-side {
      display: none;
    }

    .frame .corner {
      width: 0.72rem;
      height: 0.72rem;
    }
  }


/* --- components/global/SecondaryButton.astro (.secondary-button) --- */

  .secondary-button {
    display: inline-flex;
    min-height: 3.35rem;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.3rem;
    color: var(--navy-900);
    border-bottom: 1px solid var(--gold-500);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: color 180ms ease, border-color 180ms ease;
  }

  .secondary-button:hover {
    color: var(--gold-700);
    border-color: var(--navy-900);
  }


/* --- components/global/SectionContainer.astro (.section-container) --- */

  .section-container {
    width: min(100%, calc(var(--container) + (var(--gutter) * 2)));
    margin-inline: auto;
    padding-inline: var(--gutter);
  }


/* --- components/global/SectionHeading.astro (.section-heading) --- */

  .section-heading {
    display: grid;
    max-width: 59rem;
    gap: 1.5rem;
  }

  .section-heading h2 {
    max-width: 13ch;
  }

  .section-heading p {
    max-width: 36rem;
    color: var(--navy-700);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.6;
  }


/* --- components/global/SectionIndex.astro (.index) --- */

  .index {
    display: flex;
    gap: 1rem;
    align-items: center;
    color: var(--gold-700);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .index span:first-child {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid var(--gold-300);
    border-radius: 50%;
  }


/* --- components/global/SiteFooter.astro (.footer) --- */

  .footer {
    padding: 4rem 0 2rem;
    color: rgba(255, 253, 248, 0.72);
    background: var(--navy-950);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: minmax(16rem, 2fr) repeat(3, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
  }

  .footer .identity p {
    max-width: 25rem;
    margin-top: 1rem;
  }

  .footer .brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--ivory);
    font-family: var(--serif);
    font-size: 1.75rem;
    text-decoration: none;
  }

  .footer .brand-mark {
    display: grid;
    width: 2.35rem;
    height: 2.35rem;
    flex: 0 0 auto;
    place-items: center;
    background: var(--ivory);
  }

  .footer nav, .footer .company {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .footer strong {
    margin-bottom: 0.5rem;
    color: var(--gold-300);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
  }

  .footer nav a {
    text-decoration-color: transparent;
    text-underline-offset: 0.25rem;
  }

  .footer nav a:hover {
    color: var(--ivory);
    text-decoration-color: var(--gold-500);
  }

  .footer-base {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    font-size: 0.75rem;
  }

  @media (max-width: 48rem) {
    .footer-grid {
      grid-template-columns: 1fr 1fr;
    }

    .footer .identity {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 31rem) {
    .footer-grid {
      grid-template-columns: 1fr;
    }

    .footer-base {
      display: grid;
      gap: 0.5rem;
    }
  }


/* --- components/global/SiteHeader.astro (.site-header) --- */

  .site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    background: rgba(255, 253, 248, 0.9);
    border-bottom: 1px solid var(--fine-line);
    box-shadow: 0 0.5rem 2rem rgba(7, 16, 31, 0.025);
    backdrop-filter: blur(1.1rem) saturate(120%);
  }

  .site-header .header-inner {
    display: grid;
    min-height: 4.5rem;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
  }

  .site-header .brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    line-height: 1;
    text-decoration: none;
  }

  .site-header .brand .brand-mark {
    display: block;
    width: 35px;
    height: 35px;
    flex: 0 0 auto;
  }

  .site-header .wordmark {
    display: inline-flex;
    align-items: baseline;
    gap: 0.45rem;
    white-space: nowrap;
  }

  .site-header .wordmark-name {
    font-family: 'EB Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
  }

  .site-header .wordmark-tagline {
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.06em;
  }

  .site-header .desktop-navigation {
    display: flex;
    gap: 2.1rem;
  }

  .site-header .desktop-navigation a {
    position: relative;
    padding: 0.65rem 0;
    color: var(--navy-700);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: color var(--motion-fast) ease;
  }

  .site-header .desktop-navigation a::after {
    position: absolute;
    right: 0;
    bottom: 0.35rem;
    left: 0;
    height: 1px;
    background: var(--gold-500);
    content: '';
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--motion-standard) var(--ease-out-expressive);
  }

  .site-header .desktop-navigation a:hover {
    color: var(--gold-700);
  }

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

  .site-header .desktop-cta {
    justify-self: end;
  }

  @media (max-width: 64rem) {
    .site-header .header-inner {
      grid-template-columns: 1fr auto;
      gap: 1rem;
    }

    .site-header .brand {
      gap: 0.55rem;
    }

    .site-header .brand .brand-mark {
      width: 31px;
      height: 31px;
    }

    .site-header .wordmark {
      gap: 0.35rem;
    }

    .site-header .wordmark-name {
      font-size: 1.36rem;
    }

    .site-header .wordmark-tagline {
      font-size: 0.59rem;
    }

    .site-header .desktop-navigation, .site-header .desktop-cta {
      display: none;
    }
  }


/* --- components/hero/HeroProductMockup.astro (.mockup-wrap) --- */

  .mockup-wrap {
    position: relative;
    width: min(100%, 41rem);
    margin-inline: auto;
    padding: clamp(1rem, 2vw, 1.75rem);
    perspective: 110rem;
    transform-style: preserve-3d;
  }

  .mockup-wrap .hero-frame {
    transform: rotateY(-3.2deg) rotateX(0.8deg) translateZ(1rem);
    transform-origin: center left;
    box-shadow: var(--depth-ground), var(--shadow-elevated);
    transition: transform var(--motion-slow) var(--ease-out-expressive);
  }

  .mockup-wrap .stage-plane, .mockup-wrap .stage-glow {
    position: absolute;
    pointer-events: none;
  }

  .mockup-wrap .stage-plane {
    border: 1px solid var(--fine-line-gold);
  }

  .mockup-wrap .stage-plane-back {
    z-index: -3;
    inset: 6% -2% 1% 11%;
    background: rgba(255, 253, 248, 0.34);
    transform: translateZ(-3rem) rotateY(-4deg);
  }

  .mockup-wrap .stage-plane-mid {
    z-index: -2;
    inset: 2% 3% 5% 5%;
    background: rgba(255, 255, 255, 0.38);
    box-shadow: 0 2rem 6rem rgba(7, 16, 31, 0.05);
    transform: translateZ(-1.5rem) rotateY(-2deg);
  }

  .mockup-wrap .stage-glow {
    z-index: -4;
    top: 6%;
    right: -13%;
    width: 76%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(216, 195, 152, 0.28), transparent 67%);
    filter: blur(0.2rem);
  }

  .mockup-wrap .folio-number {
    position: absolute;
    z-index: -1;
    top: -3.2rem;
    right: -0.2rem;
    color: rgba(183, 147, 87, 0.11);
    font-family: var(--serif);
    font-size: 13rem;
    line-height: 1;
  }

  .mockup-wrap .mockup {
    position: relative;
    z-index: 2;
    min-height: 32.5rem;
    color: var(--navy-900);
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.82), transparent 30%),
      var(--ivory);
    border: 1px solid var(--fine-line);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  }

  .mockup-wrap header, .mockup-wrap .mode-row, .mockup-wrap .continue-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mockup-wrap header {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--fine-line);
    font-family: var(--serif);
    font-weight: 600;
  }

  .mockup-wrap header div {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .mockup-wrap header .mark {
    display: block;
    width: 1.7rem;
    height: 1.7rem;
    flex: 0 0 auto;
  }

  .mockup-wrap .mode-row {
    padding: 0.68rem 1.2rem;
    color: var(--ink-muted);
    background: rgba(231, 219, 192, 0.22);
    border-bottom: 1px solid var(--fine-line);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mockup-wrap .transcript {
    display: grid;
    gap: 1.4rem;
    padding: clamp(1.5rem, 4vw, 2.6rem) clamp(1.2rem, 3vw, 2.1rem);
  }

  .mockup-wrap .message {
    max-width: 87%;
  }

  .mockup-wrap .message small {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--gold-700);
    font-size: 0.59rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .mockup-wrap .message p {
    font-family: var(--serif);
    font-size: 1.12rem;
    line-height: 1.45;
  }

  .mockup-wrap .user {
    justify-self: end;
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), transparent), var(--paper);
    border-left: 2px solid var(--gold-500);
    box-shadow: 0 0.8rem 2.2rem rgba(7, 16, 31, 0.045);
  }

  .mockup-wrap .response {
    padding-left: 1rem;
    border-left: 1px solid var(--gold-300);
  }

  .mockup-wrap .rule {
    width: 2rem;
    height: 1px;
    margin: 1rem 0;
    background: var(--gold-500);
  }

  .mockup-wrap .muted {
    color: var(--navy-700);
    font-size: 0.98rem !important;
  }

  .mockup-wrap .continue-row {
    margin: 0 1.25rem 1.25rem;
    padding: 0.8rem 1rem;
    color: var(--ivory);
    background: var(--navy-900);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mockup-wrap .continue-label {
    flex: 0 0 auto;
  }

  .mockup-wrap .continue-line {
    width: auto;
    height: 1px;
    flex: 1 1 auto;
    margin-inline: 0.85rem;
    background: rgba(255, 253, 248, 0.26);
  }

  @media (hover: hover) and (min-width: 66.01rem) {
    .mockup-wrap:hover .hero-frame {
      transform: rotateY(-1.4deg) rotateX(0.35deg) translate3d(-0.2rem, -0.25rem, 1.25rem);
    }
  }

  @media (max-width: 66rem) {
    .mockup-wrap {
      width: min(100%, 39rem);
      perspective: none;
    }

    .mockup-wrap .hero-frame {
      transform: none;
    }

    .mockup-wrap .stage-plane, .mockup-wrap .stage-glow {
      display: none;
    }
  }

  @media (max-width: 34rem) {
    .mockup-wrap {
      padding: 0.35rem 0;
      perspective: none;
    }

    .mockup-wrap .mockup {
      min-height: auto;
    }

    .mockup-wrap .folio-number {
      display: none;
    }
  }


/* --- components/hero/HeroReasoningField.astro (.reasoning-field) --- */

  .reasoning-field {
    position: absolute;
    z-index: -1;
    top: 1rem;
    right: max(-8rem, -7vw);
    width: min(49rem, 58vw);
    pointer-events: none;
    opacity: 0.68;
  }

  .reasoning-field svg {
    width: 100%;
    height: auto;
    overflow: visible;
  }

  .reasoning-field .field-lines {
    stroke: var(--fine-line-gold);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
  }

  .reasoning-field .field-lines path:nth-child(2) {
    transition-delay: 120ms;
  }

  .reasoning-field .field-lines path:nth-child(3) {
    transition-delay: 220ms;
  }

  .reasoning-field .field-lines path:nth-child(4), .reasoning-field .field-lines path:nth-child(5) {
    transition-delay: 320ms;
  }

  .reasoning-field .field-orbits {
    stroke: var(--fine-line);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
  }

  .reasoning-field .field-nodes {
    fill: var(--paper);
    stroke: var(--gold-500);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
  }

  .reasoning-field .field-marks {
    stroke: var(--gold-300);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
  }

  @media (max-width: 62rem) {
    .reasoning-field {
      top: 36%;
      right: -14rem;
      width: 42rem;
      opacity: 0.45;
    }
  }

  @media (max-width: 48rem) {
    .reasoning-field {
      display: none;
    }
  }


/* --- components/hero/HeroSection.astro (.hero) --- */

  .hero {
    position: relative;
    z-index: 0;
    min-height: calc(100svh - 4.5rem);
    padding: clamp(3.25rem, 6.5vw, 6.5rem) 0 clamp(4.5rem, 8vw, 7rem);
    overflow: hidden;
    background:
      radial-gradient(circle at 81% 29%, var(--reflected-gold), transparent 31rem),
      radial-gradient(circle at 68% 52%, rgba(255, 255, 255, 0.86), transparent 25rem),
      linear-gradient(180deg, var(--ivory), var(--paper));
    border-bottom: 1px solid var(--fine-line);
  }

  .hero::before {
    position: absolute;
    z-index: -2;
    inset: 0;
    background:
      linear-gradient(90deg, transparent 49.95%, var(--fine-line) 50%, transparent 50.05%),
      linear-gradient(180deg, transparent 74%, rgba(183, 147, 87, 0.08) 74.1%, transparent 74.2%);
    background-size: min(9vw, 8rem) 100%, 100% 100%;
    content: '';
    mask-image: linear-gradient(to right, transparent 4%, black 28%, black 96%, transparent);
  }

  .hero::after {
    position: absolute;
    z-index: -1;
    top: 12%;
    right: -9rem;
    width: 38rem;
    height: 38rem;
    border: 1px solid rgba(183, 147, 87, 0.11);
    border-radius: 50%;
    content: '';
  }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(28rem, 1.04fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5.5rem);
  }

  .hero-copy {
    display: grid;
    justify-items: start;
    gap: clamp(0.85rem, 1.5vw, 1.35rem);
  }

  .hero h1 {
    max-width: 11.4ch;
    font-size: clamp(3.35rem, 5.25vw, 5.45rem);
    line-height: 0.92;
  }

  .hero .body-copy {
    display: grid;
    max-width: 39rem;
    gap: 0.45rem;
    font-size: clamp(0.92rem, 1.12vw, 1rem);
    line-height: 1.58;
  }

  .hero .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
  }

  .hero .support {
    margin-top: -0.45rem;
    color: var(--ink-muted);
    font-size: 0.72rem;
  }

  .hero .trust-wrap, .hero .quote-wrap {
    width: 100%;
  }

  .hero .quote-wrap {
    max-width: 39rem;
  }

  @media (min-width: 66.01rem) and (max-width: 90rem) {
    .hero {
      padding-top: clamp(2.75rem, 4vw, 4rem);
    }

    .hero-copy {
      gap: 0.78rem;
    }

    .hero h1 {
      max-width: 12.5ch;
      font-size: clamp(3.2rem, 4.7vw, 4.5rem);
    }

    .hero .body-copy {
      gap: 0.28rem;
      font-size: 0.91rem;
      line-height: 1.48;
    }
  }

  @media (max-width: 66rem) {
    .hero-grid {
      grid-template-columns: 1fr;
    }

    .hero-copy {
      max-width: 48rem;
    }

    .hero h1 {
      max-width: 13ch;
    }
  }

  @media (max-width: 34rem) {
    .hero {
      min-height: 0;
      padding-top: 3.25rem;
    }

    .hero h1 {
      font-size: clamp(2.75rem, 12.4vw, 3.9rem);
    }

    .hero .actions a {
      width: 100%;
    }

    .hero::after {
      display: none;
    }
  }


/* --- components/hero/IdentityQuote.astro (.identity-quote) --- */

  .identity-quote {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.8rem;
    padding: 0.85rem 0 0 1rem;
    border-top: 1px solid var(--gold-300);
    border-left: 1px solid var(--gold-300);
  }

  .identity-quote span {
    color: var(--gold-700);
    font-family: var(--serif);
    font-style: normal;
  }

  .identity-quote p {
    color: var(--navy-700);
    font-family: var(--serif);
    font-size: clamp(1.05rem, 1.5vw, 1.22rem);
    font-style: normal;
    line-height: 1.5;
  }


/* --- components/hero/LanguageTrustLine.astro (.language-trust) --- */

  .language-trust {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--navy-700);
    font-size: 0.76rem;
    letter-spacing: 0.025em;
  }

  .language-trust .trust-mark {
    position: relative;
    width: 1.45rem;
    height: 1px;
    flex: 0 0 auto;
    background: var(--gold-500);
  }

  .language-trust .trust-mark::after {
    position: absolute;
    top: -0.2rem;
    right: 0;
    width: 0.42rem;
    height: 0.42rem;
    background: var(--paper);
    border: 1px solid var(--gold-500);
    content: '';
    transform: rotate(45deg);
  }


/* --- components/languages/LanguageCard.astro (.language-panel) --- */

  .language-panel {
    position: relative;
    display: grid;
    align-content: start;
    min-height: 25rem;
    padding: clamp(2rem, 4vw, 3.2rem);
    overflow: hidden;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.72), transparent 34%),
      var(--ivory);
  }

  .language-panel::after {
    position: absolute;
    width: 1.15rem;
    height: 1.15rem;
    border-color: var(--gold-500);
    border-style: solid;
    content: '';
    opacity: 0.65;
  }

  .language-panel .panel-1, .language-panel .panel-3 {
    padding-right: clamp(3.5rem, 7vw, 6.5rem);
    border-right: 1px solid var(--fine-line-gold);
  }

  .language-panel .panel-2, .language-panel .panel-4 {
    padding-left: clamp(3.5rem, 7vw, 6.5rem);
  }

  .language-panel .panel-1, .language-panel .panel-2 {
    padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
    border-bottom: 1px solid var(--fine-line-gold);
  }

  .language-panel .panel-3, .language-panel .panel-4 {
    padding-top: clamp(3.5rem, 7vw, 6.5rem);
  }

  .language-panel .panel-1::after {
    top: 0.7rem;
    left: 0.7rem;
    border-width: 1px 0 0 1px;
  }

  .language-panel .panel-2::after {
    top: 0.7rem;
    right: 0.7rem;
    border-width: 1px 1px 0 0;
  }

  .language-panel .panel-3::after {
    bottom: 0.7rem;
    left: 0.7rem;
    border-width: 0 0 1px 1px;
  }

  .language-panel .panel-4::after {
    right: 0.7rem;
    bottom: 0.7rem;
    border-width: 0 1px 1px 0;
  }

  .language-panel .panel-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--fine-line);
  }

  .language-panel .card-index {
    color: var(--gold-700);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .language-panel h3 {
    font-size: clamp(1.35rem, 2.1vw, 1.8rem);
    text-align: right;
  }

  .language-panel .specimen-field {
    display: flex;
    min-height: 9.5rem;
    align-items: center;
    padding-block: 1.35rem 0.9rem;
    border-bottom: 1px solid var(--gold-300);
  }

  .language-panel .panel-copy {
    display: grid;
    gap: 0.9rem;
    padding-top: 1.1rem;
  }

  .language-panel p {
    color: var(--navy-700);
    font-size: 0.92rem;
    line-height: 1.65;
  }

  .language-panel small {
    color: var(--ink-muted);
    font-size: 0.72rem;
    line-height: 1.5;
  }

  @media (max-width: 48rem) {
    .language-panel {
      min-height: 0;
      padding: 1.6rem 1.25rem 1.9rem;
      border-right: 0;
      border-bottom: 1px solid var(--fine-line-gold);
    }

    .language-panel:last-child {
      border-bottom: 0;
    }

    .language-panel .specimen-field {
      min-height: 7.5rem;
    }

    .language-panel::after {
      display: none;
    }
  }


/* --- components/languages/LanguageReasoningLens.astro (.language-lens) --- */

  .language-lens {
    position: absolute;
    z-index: 5;
    top: 50%;
    left: 50%;
    width: 10.5rem;
    aspect-ratio: 1;
    pointer-events: none;
    transform: translate(-50%, -50%);
  }

  .language-lens svg {
    width: 100%;
    height: 100%;
    overflow: visible;
  }

  .language-lens path, .language-lens circle {
    vector-effect: non-scaling-stroke;
  }

  .language-lens path {
    stroke: rgba(140, 107, 54, 0.66);
    stroke-width: 1;
  }

  .language-lens .lens-lines path:nth-child(2) {
    transition-delay: 90ms;
  }

  .language-lens .lens-lines path:nth-child(3) {
    transition-delay: 180ms;
  }

  .language-lens .lens-lines path:nth-child(4) {
    transition-delay: 270ms;
  }

  .language-lens .lens-rings circle, .language-lens .mobile-lens circle {
    fill: rgba(255, 253, 248, 0.96);
    stroke: var(--gold-500);
    stroke-width: 1;
  }

  .language-lens .lens-nodes circle {
    fill: var(--ivory);
    stroke: var(--gold-700);
    stroke-width: 1;
  }

  .language-lens .lens-nodes .lens-core, .language-lens .mobile-lens .lens-core {
    fill: var(--navy-900);
    stroke: var(--gold-500);
  }

  .language-lens .mobile-lens {
    display: none;
  }

  @media (max-width: 48rem) {
    .language-lens {
      position: relative;
      top: auto;
      left: auto;
      width: 100%;
      height: 4.5rem;
      aspect-ratio: auto;
      background: var(--ivory);
      border-block: 1px solid var(--fine-line-gold);
      transform: none;
    }

    .language-lens .desktop-lens {
      display: none;
    }

    .language-lens .mobile-lens {
      display: block;
    }
  }


/* --- components/languages/LanguagesSection.astro (.languages) --- */

  .languages {
    position: relative;
    padding: var(--section-space) 0;
    overflow: hidden;
    background:
      linear-gradient(90deg, transparent calc(100% - 1px), rgba(10, 23, 48, 0.022) 1px),
      var(--ivory);
    background-size: min(9vw, 8rem) 100%;
  }

  .languages::before {
    position: absolute;
    top: 9%;
    right: -12rem;
    width: 34rem;
    height: 34rem;
    border: 1px solid rgba(183, 147, 87, 0.1);
    border-radius: 50%;
    content: '';
    pointer-events: none;
  }

  .languages .intro {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.68fr);
    gap: clamp(3rem, 8vw, 8rem);
    margin-top: 2.5rem;
  }

  .languages .opening-copy {
    display: grid;
    align-content: end;
    color: var(--navy-700);
    font-size: 1rem;
    line-height: 1.7;
  }

  .languages .modern-language-line {
    max-width: 62rem;
    margin-top: clamp(2.5rem, 6vw, 5rem);
    padding: clamp(1.5rem, 3vw, 2.2rem) clamp(1.4rem, 3vw, 2.5rem);
    color: var(--navy-900);
    background: rgba(255, 255, 255, 0.5);
    border-block: 1px solid var(--gold-300);
    border-left: 2px solid var(--gold-500);
    font-family: var(--serif);
    font-size: clamp(1.25rem, 2.3vw, 1.75rem);
    line-height: 1.42;
  }

  .languages .source-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 6vw, 6rem);
    margin-top: clamp(2rem, 4vw, 3.5rem);
    color: var(--navy-700);
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .languages .source-copy p:last-child {
    padding-left: clamp(1.5rem, 4vw, 3.5rem);
    border-left: 1px solid var(--fine-line-gold);
  }

  .languages .language-composition {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: clamp(4rem, 8vw, 7rem);
    padding: 1px;
    background: var(--navy-950);
    border: 1px solid var(--navy-900);
    box-shadow: var(--shadow-ambient);
  }

  .languages .closing {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: flex-start;
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding-top: 2.2rem;
    border-top: 1px solid var(--gold-300);
  }

  .languages .closing p {
    max-width: 46rem;
    color: var(--ink-muted);
    font-size: 0.75rem;
    line-height: 1.6;
  }

  .languages .closing .primary-button {
    margin-top: 0.2rem;
    flex: 0 0 auto;
  }

  @media (max-width: 48rem) {
    .languages::before {
      display: none;
    }

    .languages .intro, .languages .source-copy, .languages .language-composition {
      grid-template-columns: 1fr;
    }

    .languages .modern-language-line {
      padding: 1.35rem 1.1rem;
      font-size: 1.2rem;
    }

    .languages .source-copy {
      gap: 1.25rem;
    }

    .languages .source-copy p:last-child {
      padding-top: 1.25rem;
      padding-left: 0;
      border-top: 1px solid var(--fine-line-gold);
      border-left: 0;
    }

    .languages .language-composition {
      padding: 1px;
      background: var(--gold-300);
      box-shadow: 0 1.5rem 4rem rgba(7, 16, 31, 0.09);
    }

    .languages .closing {
      align-items: flex-start;
      flex-direction: column;
    }
  }



/* --- components/languages/SourceLanguageSpecimen.astro (.specimen) --- */

  .specimen {
    width: 100%;
    min-height: 7rem;
    color: var(--navy-900);
    font-family: var(--serif);
    font-size: clamp(4.25rem, 7vw, 6.6rem);
    line-height: 1.08;
    text-align: start;
    unicode-bidi: isolate;
  }

  .specimen .script-grc {
    font-family: var(--script-greek);
  }

  .specimen .script-he {
    font-family: var(--script-hebrew);
  }

  .specimen .script-arc {
    font-family: var(--script-hebrew);
  }

  @media (max-width: 48rem) {
    .specimen {
      min-height: 5.4rem;
      font-size: clamp(4.1rem, 19vw, 5.5rem);
    }
  }


/* --- components/method/AuthorityHierarchy.astro (.authority-level) --- */

  .authority-level .authority-field {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.72), transparent 28%),
      var(--paper);
    border: 1px solid var(--rule);
    box-shadow: var(--shadow-frame);
  }

  .authority-level .authority-field::before {
    position: absolute;
    z-index: 0;
    inset: 0.55rem;
    border: 1px solid var(--fine-line-gold);
    content: '';
    pointer-events: none;
  }

  .authority-level .calibration {
    position: absolute;
    z-index: 1;
    top: 1.5rem;
    bottom: 1.5rem;
    left: 1.4rem;
    width: 7rem;
    height: calc(100% - 3rem);
    pointer-events: none;
  }

  .authority-level .calibration path, .authority-level .calibration circle {
    vector-effect: non-scaling-stroke;
  }

  .authority-level .axis {
    fill: none;
    stroke: var(--gold-500);
    stroke-width: 1;
  }

  .authority-level .ticks path {
    fill: none;
    stroke: var(--fine-line-gold);
    stroke-width: 1;
  }

  .authority-level .reading-lens circle {
    fill: rgba(247, 243, 235, 0.9);
    stroke: var(--gold-500);
    stroke-width: 1;
  }

  .authority-level ol {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 1.5rem 1.5rem 1.5rem 0;
    list-style: none;
  }

  .authority-level {
    position: relative;
    display: grid;
    min-height: 5.6rem;
    grid-template-columns: 4.5rem 1fr;
    align-items: center;
    margin-left: 1.7rem;
    padding-right: 1rem;
    border-bottom: 1px solid var(--fine-line);
  }

  .authority-level:last-child {
    border-bottom: 0;
  }

  .authority-level .level-number {
    position: relative;
    z-index: 2;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    justify-self: center;
    color: var(--gold-700);
    background: var(--paper);
    border: 1px solid var(--gold-300);
    border-radius: 50%;
    font-size: 0.68rem;
    font-weight: 600;
  }

  .authority-level .level-title {
    display: block;
    padding-left: var(--level-offset, 0rem);
    color: var(--navy-800);
    font-family: var(--serif);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    line-height: 1.2;
  }

  .authority-level .level-1, .authority-level .level-2, .authority-level .level-3 {
    border-bottom-color: rgba(10, 23, 48, 0.22);
  }

  .authority-level .level-1 .level-number, .authority-level .level-2 .level-number, .authority-level .level-3 .level-number {
    color: var(--ivory);
    background: var(--navy-900);
    border-color: var(--navy-900);
  }

  .authority-level .level-1 .level-title, .authority-level .level-2 .level-title, .authority-level .level-3 .level-title {
    color: var(--navy-950);
    font-weight: 600;
  }

  .authority-level .level-2 { --level-offset: 0.2rem; }
  .authority-level .level-3 { --level-offset: 0.45rem; }
  .authority-level .level-4 { --level-offset: 0.75rem; }
  .authority-level .level-5 { --level-offset: 1.05rem; }
  .authority-level .level-6 { --level-offset: 1.4rem; }
  .authority-level .level-7 { --level-offset: 1.75rem; }
  .authority-level .level-8 { --level-offset: 2.1rem; }
  .authority-level .level-9 { --level-offset: 2.45rem; }

  .authority-level .level-6 .level-title, .authority-level .level-7 .level-title, .authority-level .level-8 .level-title, .authority-level .level-9 .level-title {
    font-weight: 500;
  }

  .authority-level .level-7 .level-title {
    color: #1b3150;
  }

  .authority-level .level-8 .level-title, .authority-level .level-9 .level-title {
    color: #203553;
  }

  .authority-level .level-6 .level-number {
    color: var(--navy-800);
    border-color: var(--gold-500);
  }

  .authority-level .level-7 .level-number {
    color: #1b3150;
    border-color: var(--gold-500);
  }

  .authority-level .level-8 .level-number, .authority-level .level-9 .level-number {
    color: #203553;
    border-color: var(--gold-500);
  }

  .authority-level:nth-child(9) {
    transition-delay: calc(var(--motion-stagger) * 8);
  }

  @media (prefers-reduced-motion: reduce) {
    .authority-level {
      opacity: 1;
      transform: none;
      transition-delay: 0s !important;
    }
  }

  @media (max-width: 48rem) {
    .authority-level .reading-lens {
      display: none;
    }

    .authority-level .calibration {
      left: 0.8rem;
      width: 5.3rem;
    }

    .authority-level ol {
      padding: 1rem 0.9rem 1rem 0;
    }

    .authority-level {
      min-height: 5rem;
      grid-template-columns: 3.8rem 1fr;
      margin-left: 0.8rem;
      padding-right: 0.7rem;
    }

    .authority-level .level-title {
      padding-left: 0;
      font-size: 1.16rem;
    }
  }


/* --- components/method/AuthoritySection.astro (.authority) --- */

  .authority {
    position: relative;
    padding: var(--section-space) 0;
    overflow: hidden;
    background:
      linear-gradient(90deg, transparent calc(100% - 1px), rgba(10, 23, 48, 0.024) 1px),
      var(--ivory);
    background-size: min(9vw, 8rem) 100%;
  }

  .authority-layout {
    display: grid;
    grid-template-areas:
      'heading hierarchy'
      'clarification hierarchy';
    grid-template-columns: minmax(0, 0.72fr) minmax(34rem, 1.28fr);
    column-gap: clamp(4rem, 8vw, 8rem);
    row-gap: 3rem;
    align-items: start;
    margin-top: 2.5rem;
  }

  .authority .heading-area {
    grid-area: heading;
  }

  .authority h2 {
    max-width: 10ch;
  }

  .authority .hierarchy-area {
    grid-area: hierarchy;
    min-width: 0;
  }

  .authority .clarification {
    grid-area: clarification;
    display: grid;
    gap: 1.3rem;
    max-width: 34rem;
    color: var(--navy-700);
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .authority .clarification p:last-child {
    padding: 1.2rem 0 1.2rem 1.3rem;
    color: var(--navy-900);
    border-left: 2px solid var(--gold-500);
    font-family: var(--serif);
    font-size: 1.16rem;
    line-height: 1.5;
  }

  @media (max-width: 64rem) {
    .authority-layout {
      grid-template-areas:
        'heading'
        'hierarchy'
        'clarification';
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }

    .authority .hierarchy-area {
      width: min(100%, 48rem);
    }
  }


/* --- components/method/WorkflowInstrument.astro (.workflow-instrument) --- */

  .workflow-instrument {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--navy-950);
    background: var(--ivory);
    border: 1px solid rgba(216, 195, 152, 0.58);
    box-shadow: var(--shadow-elevated);
  }

  .workflow-instrument::before {
    position: absolute;
    z-index: 0;
    inset: 0.55rem;
    border: 1px solid var(--fine-line-gold);
    content: '';
    pointer-events: none;
  }

  .workflow-instrument .workflow-axis {
    position: absolute;
    z-index: 3;
    top: 3.6rem;
    left: 0;
    width: 100%;
    height: 5.2rem;
    pointer-events: none;
  }

  .workflow-instrument .workflow-axis path,
  .workflow-instrument .workflow-axis circle {
    vector-effect: non-scaling-stroke;
  }

  .workflow-instrument .workflow-axis path {
    fill: none;
    stroke: var(--gold-500);
    stroke-width: 1;
  }

  .workflow-instrument .workflow-axis .ordered-rule {
    stroke: var(--navy-700);
  }

  .workflow-instrument .workflow-axis .verify-rule {
    stroke-dasharray: 4 4;
  }

  .workflow-instrument .axis-rings circle {
    fill: var(--ivory);
    stroke: var(--gold-500);
    stroke-width: 1;
  }

  .workflow-instrument .axis-nodes circle {
    fill: var(--ivory);
    stroke: var(--navy-800);
    stroke-width: 1;
  }

  .workflow-instrument ol {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 0.9fr 1.06fr 1.12fr 1.04fr 1.22fr;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .workflow-instrument .workflow-stage {
    position: relative;
    min-width: 0;
    min-height: 24rem;
    padding: 10rem clamp(1.1rem, 2vw, 1.7rem) 2.2rem;
    border-right: 1px solid var(--fine-line);
  }

  .workflow-instrument .workflow-stage:last-child {
    border-right: 0;
  }

  .workflow-instrument .stage-2,
  .workflow-instrument .stage-3 {
    background: rgba(231, 219, 192, 0.16);
  }

  .workflow-instrument .stage-3 {
    box-shadow: inset 0 2px 0 var(--gold-500);
  }

  .workflow-instrument .stage-4 {
    margin-left: 0.65rem;
    border-left: 2px solid var(--gold-500);
    background: rgba(255, 255, 255, 0.5);
  }

  .workflow-instrument .stage-number {
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    margin-bottom: 1rem;
    color: var(--gold-700);
    border: 1px solid var(--gold-300);
    border-radius: 50%;
    font-size: 0.68rem;
    font-weight: 600;
  }

  .workflow-instrument .stage-2 .stage-number {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 0.4rem var(--ivory), 0 0 0 calc(0.4rem + 1px) var(--gold-300);
  }

  .workflow-instrument h3 {
    margin-bottom: 0.85rem;
    font-size: clamp(1.45rem, 2.2vw, 1.95rem);
  }

  .workflow-instrument .stage-2 h3,
  .workflow-instrument .stage-3 h3 {
    color: var(--navy-900);
    font-weight: 600;
  }

  .workflow-instrument p {
    color: var(--navy-700);
    font-size: 0.86rem;
    line-height: 1.65;
  }

  .workflow-instrument .output-cue {
    color: var(--navy-900);
    border-bottom: 1px solid var(--gold-500);
    font-weight: 600;
    white-space: nowrap;
  }

  @media (max-width: 64rem) {
    .workflow-instrument .workflow-axis {
      display: none;
    }

    .workflow-instrument::after {
      position: absolute;
      z-index: 1;
      top: 2.25rem;
      bottom: 2.25rem;
      left: 2.35rem;
      width: 1px;
      background: var(--gold-300);
      content: '';
    }

    .workflow-instrument ol {
      grid-template-columns: 1fr;
    }

    .workflow-instrument .workflow-stage {
      min-height: 0;
      padding: 2rem 1.25rem 2rem 5rem;
      border-right: 0;
      border-bottom: 1px solid var(--fine-line);
    }

    .workflow-instrument .workflow-stage:last-child {
      border-bottom: 0;
    }

    .workflow-instrument .stage-4 {
      margin-top: 0.75rem;
      margin-left: 0;
      border-top: 2px solid var(--gold-500);
      border-left: 0;
    }

    .workflow-instrument .stage-number {
      position: absolute;
      z-index: 2;
      top: 1.85rem;
      left: 1.35rem;
      margin: 0;
      background: var(--ivory);
    }

    .workflow-instrument p {
      font-size: 0.92rem;
    }
  }


/* --- components/method/WorkflowSection.astro (section.workflow) --- */

  section.workflow {
    position: relative;
    padding: var(--section-space) 0;
    overflow: hidden;
    color: var(--ivory);
    background:
      linear-gradient(90deg, transparent calc(100% - 1px), rgba(216, 195, 152, 0.055) 1px),
      var(--navy-950);
    background-size: min(9vw, 8rem) 100%;
    border-top: 1px solid rgba(216, 195, 152, 0.18);
  }

  section.workflow::before {
    position: absolute;
    top: -17rem;
    right: -11rem;
    width: 38rem;
    height: 38rem;
    border: 1px solid rgba(216, 195, 152, 0.09);
    border-radius: 50%;
    content: '';
    pointer-events: none;
  }

  section.workflow .section-intro {
    margin-top: 2.5rem;
  }

  section.workflow h2 {
    max-width: 11ch;
    color: var(--ivory);
  }

  section.workflow .instrument-wrap {
    margin-top: clamp(3rem, 7vw, 6rem);
  }

  @media (max-width: 48rem) {
    section.workflow::before {
      display: none;
    }
  }


/* --- components/modes/ConversationModePanel.astro (.conversation-mode) --- */

  .conversation-mode {
    position: relative;
    display: grid;
    min-height: 31rem;
    grid-template-areas:
      'identity identity'
      'copy field'
      'best field';
    grid-template-columns: minmax(0, 0.83fr) minmax(28rem, 1.17fr);
    gap: clamp(2rem, 5vw, 5rem);
    padding: clamp(2rem, 5vw, 4.5rem);
    overflow: hidden;
    color: var(--ivory);
    background:
      linear-gradient(90deg, transparent calc(100% - 1px), rgba(216, 195, 152, 0.055) 1px),
      var(--navy-950);
    background-size: min(8vw, 7rem) 100%;
    border: 1px solid rgba(216, 195, 152, 0.32);
    box-shadow: var(--shadow-elevated);
  }

  .conversation-mode::before {
    position: absolute;
    inset: 0.65rem;
    border: 1px solid rgba(216, 195, 152, 0.16);
    content: '';
    pointer-events: none;
  }

  .conversation-mode .mode-identity {
    position: relative;
    z-index: 2;
    grid-area: identity;
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .conversation-mode .mode-number {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    place-items: center;
    color: var(--gold-300);
    border: 1px solid var(--gold-500);
    border-radius: 50%;
    font-size: 0.67rem;
    font-weight: 600;
  }

  .conversation-mode h3 {
    color: var(--ivory);
    font-size: clamp(2.4rem, 4.5vw, 4.4rem);
  }

  .conversation-mode .conversation-copy {
    position: relative;
    z-index: 2;
    grid-area: copy;
    align-self: center;
  }

  .conversation-mode .mode-heading {
    max-width: 19ch;
    padding-left: 1.2rem;
    color: var(--ivory);
    border-left: 2px solid var(--gold-500);
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3vw, 2.7rem);
    line-height: 1.08;
  }

  .conversation-mode .mode-framing {
    max-width: 43rem;
    margin-top: 1.4rem;
    margin-left: clamp(1.2rem, 3vw, 3rem);
    padding: 1.1rem 1.2rem;
    color: rgba(255, 253, 248, 0.72);
    border: 1px solid rgba(216, 195, 152, 0.18);
    font-size: 0.94rem;
    line-height: 1.7;
  }

  .conversation-mode .inquiry-field {
    position: relative;
    z-index: 2;
    grid-area: field;
    align-self: center;
    min-width: 0;
  }

  .conversation-mode svg {
    width: 100%;
    height: auto;
  }

  .conversation-mode path, .conversation-mode circle {
    fill: none;
    stroke: var(--gold-500);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
  }

  .conversation-mode path:last-of-type {
    stroke: rgba(216, 195, 152, 0.5);
  }

  .conversation-mode circle {
    fill: var(--navy-950);
  }

  .conversation-mode .field-node {
    fill: var(--gold-300);
  }

  .conversation-mode .best-for {
    position: relative;
    z-index: 2;
    grid-area: best;
    align-self: end;
  }

  .conversation-mode .best-for > p {
    margin-bottom: 0.8rem;
    color: var(--gold-300);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .conversation-mode ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .conversation-mode li {
    padding: 0.45rem 0.85rem;
    color: rgba(255, 253, 248, 0.82);
    border-block: 1px solid rgba(216, 195, 152, 0.24);
    border-right: 1px solid rgba(216, 195, 152, 0.24);
    font-size: 0.78rem;
  }

  .conversation-mode li:first-child {
    border-left: 1px solid rgba(216, 195, 152, 0.24);
  }

  @media (max-width: 64rem) {
    .conversation-mode {
      min-height: 0;
      grid-template-areas:
        'identity'
        'copy'
        'field'
        'best';
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    .conversation-mode .inquiry-field {
      width: min(100%, 44rem);
    }
  }

  @media (max-width: 42rem) {
    .conversation-mode {
      padding: 1.55rem 1.25rem 1.75rem;
    }

    .conversation-mode h3 {
      font-size: 2.4rem;
    }

    .conversation-mode .mode-heading {
      font-size: 1.65rem;
    }

    .conversation-mode .mode-framing {
      margin-left: 0.8rem;
    }

    .conversation-mode .inquiry-field {
      overflow: hidden;
    }

    .conversation-mode svg {
      width: 150%;
      max-width: none;
      transform: translateX(-17%);
    }

    .conversation-mode ul {
      display: grid;
      grid-template-columns: 1fr;
    }

    .conversation-mode li, .conversation-mode li:first-child {
      border: 0;
      border-top: 1px solid rgba(216, 195, 152, 0.24);
    }

    .conversation-mode li:last-child {
      border-bottom: 1px solid rgba(216, 195, 152, 0.24);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .conversation-mode li {
      opacity: 1;
      transform: none;
      transition-delay: 0s !important;
    }
  }


/* --- components/modes/ModesConnector.astro (.modes-connector) --- */

  .modes-connector {
    height: 7.8rem;
    padding-inline: 2rem;
    overflow: hidden;
  }

  .modes-connector svg {
    width: 100%;
    height: 100%;
  }

  .modes-connector path, .modes-connector circle {
    fill: none;
    stroke: var(--gold-500);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
  }

  .modes-connector path:not(.input):not(.branches) {
    stroke: rgba(183, 147, 87, 0.5);
  }

  .modes-connector circle {
    fill: var(--paper);
  }

  .modes-connector g circle {
    fill: var(--gold-500);
  }

  @media (max-width: 64rem) {
    .modes-connector {
      position: relative;
      width: 100%;
      height: 5rem;
      padding: 0;
    }

    .modes-connector svg {
      position: absolute;
      left: 50%;
      width: 15rem;
      transform: translateX(-50%);
    }

    .modes-connector .branches, .modes-connector g, .modes-connector path:last-of-type {
      display: none;
    }
  }


/* --- components/modes/ModesSection.astro (.modes) --- */

  .modes {
    position: relative;
    padding: var(--section-space) 0;
    overflow: hidden;
    background:
      linear-gradient(90deg, transparent calc(100% - 1px), rgba(10, 23, 48, 0.025) 1px),
      var(--ivory);
    background-size: min(9vw, 8rem) 100%;
    border-top: 1px solid var(--fine-line-gold);
  }

  .modes::before {
    position: absolute;
    top: -18rem;
    left: -14rem;
    width: 36rem;
    height: 36rem;
    border: 1px solid rgba(183, 147, 87, 0.11);
    border-radius: 50%;
    content: '';
    pointer-events: none;
  }

  .modes .section-heading {
    margin-top: 2.5rem;
  }

  .modes h2 {
    max-width: 10ch;
  }

  .modes-architecture {
    margin-top: clamp(3rem, 7vw, 6rem);
  }

  .modes .cta {
    display: flex;
    justify-content: flex-end;
    margin-top: 2.5rem;
  }

  @media (max-width: 48rem) {
    .modes::before {
      display: none;
    }

    .modes .cta {
      justify-content: flex-start;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .modes .section-heading, .modes .cta {
      opacity: 1;
      transform: none;
      transition-delay: 0s !important;
    }
  }


/* --- components/modes/StructuredModePanel.astro (.structured-mode) --- */

  .structured-mode {
    position: relative;
    min-width: 0;
    padding: clamp(1.6rem, 3vw, 2.5rem);
    background: var(--paper);
  }

  .structured-mode::after {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: 1.3rem;
    height: 1.3rem;
    border-right: 1px solid var(--fine-line-gold);
    border-bottom: 1px solid var(--fine-line-gold);
    content: '';
    pointer-events: none;
  }

  .structured-mode header {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .structured-mode .mode-number {
    display: grid;
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    place-items: center;
    color: var(--gold-700);
    border: 1px solid var(--gold-500);
    border-radius: 50%;
    font-size: 0.64rem;
    font-weight: 600;
  }

  .structured-mode h3 {
    color: var(--navy-950);
    font-size: clamp(1.7rem, 2.5vw, 2.45rem);
  }

  .structured-mode .mode-heading {
    max-width: 31ch;
    margin-top: 1.3rem;
    color: var(--navy-700);
    font-size: 0.92rem;
    line-height: 1.62;
  }

  .structured-mode .output-structure {
    display: grid;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--rule);
  }

  .structured-mode li {
    position: relative;
    display: grid;
    min-height: 3.15rem;
    grid-template-columns: 2.4rem minmax(0, 1fr);
    align-items: center;
    padding: 0.55rem 0.5rem 0.55rem 0;
    color: var(--navy-800);
    border-bottom: 1px solid var(--fine-line);
    font-size: 0.84rem;
    line-height: 1.35;
  }

  .structured-mode li > span:first-child {
    color: var(--gold-700);
    font-size: 0.62rem;
  }

  .structured-mode .mode-disputation .output-structure {
    grid-template-columns: 1fr 1fr;
    column-gap: 1.2rem;
  }

  .structured-mode .mode-disputation .focal {
    color: var(--navy-950);
    border-block: 1px solid var(--gold-500);
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 600;
  }

  .structured-mode .mode-doctrine-check {
    background:
      linear-gradient(90deg, transparent calc(100% - 1px), rgba(10, 23, 48, 0.025) 1px),
      var(--ivory);
    background-size: 4rem 100%;
  }

  .structured-mode .mode-doctrine-check li:nth-child(2) {
    border-left: 2px solid var(--gold-500);
    padding-left: 0.75rem;
  }

  .structured-mode .caution {
    margin-top: 1.6rem;
    padding: 1rem 1rem 1rem 1.2rem;
    color: var(--navy-700);
    border: 1px solid var(--fine-line-gold);
    border-left: 2px solid var(--gold-500);
    font-size: 0.76rem;
    line-height: 1.6;
  }

  .structured-mode .mode-natural-law li, .structured-mode .mode-cultural-diagnosis li {
    grid-template-columns: 2rem minmax(0, 1fr);
  }

  .structured-mode .mode-natural-law li::before, .structured-mode .mode-cultural-diagnosis li::before {
    position: absolute;
    top: 50%;
    left: 0.72rem;
    width: 1px;
    height: 100%;
    background: var(--fine-line-gold);
    content: '';
  }

  .structured-mode .mode-natural-law li:last-child::before, .structured-mode .mode-cultural-diagnosis li:last-child::before {
    display: none;
  }

  .structured-mode .mode-talk-article .output-structure {
    border-left: 1px solid var(--gold-300);
  }

  .structured-mode .mode-talk-article li {
    padding-left: 0.85rem;
  }

  @media (max-width: 42rem) {
    .structured-mode {
      padding: 1.6rem 1.25rem 1.8rem;
    }

    .structured-mode .mode-disputation .output-structure {
      grid-template-columns: 1fr;
    }
  }


/* --- components/modes/StructuredModesGrid.astro (.structured-modes) --- */

  .structured-modes {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    background: var(--fine-line-gold);
    border: 1px solid var(--fine-line-gold);
    box-shadow: var(--shadow-frame);
  }

  .structured-modes .mode-disputation {
    grid-column: span 7;
  }

  .structured-modes .mode-doctrine-check {
    grid-column: span 5;
  }

  .structured-modes .mode-natural-law, .structured-modes .mode-cultural-diagnosis, .structured-modes .mode-talk-article {
    grid-column: span 4;
  }

  @media (max-width: 64rem) {
    .structured-modes {
      grid-template-columns: 1fr;
    }

    .structured-modes .mode-disputation, .structured-modes .mode-doctrine-check, .structured-modes .mode-natural-law, .structured-modes .mode-cultural-diagnosis, .structured-modes .mode-talk-article {
      grid-column: auto;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .structured-modes .structured-mode {
      opacity: 1;
      transform: none;
      transition-delay: 0s !important;
    }
  }


/* --- components/pricing/OfferBridge.astro (.offer-bridge) --- */

  .offer-bridge {
    position: relative;
    display: grid;
    min-height: 30rem;
    place-items: center;
    background: var(--paper);
  }

  .offer-bridge .rule {
    width: 1px;
    height: calc(100% - 8rem);
    background: var(--gold-500);
  }

  .offer-bridge .origin, .offer-bridge .destination {
    position: absolute;
    left: 50%;
    width: 0.7rem;
    height: 0.7rem;
    background: var(--paper);
    border: 1px solid var(--gold-500);
    transform: translateX(-50%) rotate(45deg);
  }

  .offer-bridge .origin {
    top: 3.7rem;
  }

  .offer-bridge .destination {
    bottom: 3.7rem;
    background: var(--gold-500);
  }

  @media (max-width: 64rem) {
    .offer-bridge {
      min-height: 5rem;
    }

    .offer-bridge .rule {
      width: calc(100% - 5rem);
      height: 1px;
    }

    .offer-bridge .origin, .offer-bridge .destination {
      top: 50%;
      bottom: auto;
      left: 2.15rem;
      transform: translateY(-50%) rotate(45deg);
    }

    .offer-bridge .destination {
      right: 2.15rem;
      left: auto;
    }
  }


/* --- components/pricing/PricingEntry.astro (.entry) --- */

  .entry {
    position: relative;
    display: grid;
    min-height: 30rem;
    align-content: space-between;
    padding: clamp(2rem, 5vw, 4rem);
    overflow: hidden;
    color: var(--ivory);
    background: var(--navy-950);
  }

  .entry::after {
    position: absolute;
    right: 1.2rem;
    bottom: 1.2rem;
    width: 1.8rem;
    height: 1.8rem;
    border-right: 1px solid rgba(216, 195, 152, 0.4);
    border-bottom: 1px solid rgba(216, 195, 152, 0.4);
    content: '';
  }

  .entry-number {
    color: var(--gold-300);
    font-family: var(--serif);
    font-size: clamp(5rem, 11vw, 9rem);
    font-weight: 400;
    line-height: 0.8;
  }

  .entry h3 {
    max-width: 16ch;
    margin-top: clamp(3rem, 8vw, 7rem);
    color: var(--ivory);
    font-size: clamp(2rem, 3.5vw, 3.4rem);
    line-height: 1.04;
  }

  .entry p {
    max-width: 27rem;
    margin-top: 2rem;
    padding-top: 1.2rem;
    color: rgba(255, 253, 248, 0.76);
    border-top: 1px solid rgba(216, 195, 152, 0.32);
    font-size: 0.88rem;
  }

  @media (max-width: 48rem) {
    .entry {
      min-height: 25rem;
      padding: 2rem 1.4rem;
    }

    .entry-number {
      font-size: 6.5rem;
    }

    .entry h3 {
      margin-top: 3rem;
      font-size: 2.35rem;
    }
  }


/* --- components/pricing/PricingMembership.astro (.membership) --- */

  .membership {
    position: relative;
    display: grid;
    min-height: 30rem;
    align-content: center;
    padding: clamp(2rem, 5vw, 4.5rem);
    overflow: hidden;
    background: var(--ivory);
  }

  .membership::before {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 5rem;
    height: 1px;
    background: var(--fine-line-gold);
    box-shadow: 0 0.5rem 0 var(--fine-line-gold), 0 1rem 0 var(--fine-line-gold);
    content: '';
  }

  .membership-framing {
    color: var(--gold-700);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
  }

  .membership .price {
    margin-top: 1.2rem;
    color: var(--navy-950);
    font-family: var(--serif);
    font-size: clamp(4rem, 8vw, 7.2rem);
    line-height: 0.84;
  }

  .membership .terms {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: end;
    margin-top: clamp(3rem, 6vw, 5rem);
    padding-top: 1.5rem;
    border-top: 1px solid var(--rule);
  }

  .membership .allowance {
    color: var(--navy-900);
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1;
  }

  .membership .cancellation {
    color: var(--navy-700);
    font-size: 0.82rem;
  }

  .membership .cta {
    margin-top: 2.2rem;
  }

  @media (max-width: 48rem) {
    .membership {
      min-height: 0;
      padding: 2.4rem 1.4rem 2.6rem;
    }

    .membership .price {
      font-size: clamp(3.7rem, 17vw, 5.4rem);
    }

    .membership .terms {
      grid-template-columns: 1fr;
      gap: 1rem;
      margin-top: 2.5rem;
    }

    .membership .allowance {
      font-size: 2rem;
    }
  }


/* --- components/pricing/PricingSection.astro (.pricing) --- */

  .pricing {
    position: relative;
    padding: var(--section-space) 0;
    overflow: hidden;
    background: var(--paper);
    border-top: 1px solid var(--fine-line-gold);
  }

  .pricing::before, .pricing::after {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(183, 147, 87, 0.14);
    content: '';
    pointer-events: none;
  }

  .pricing::before {
    left: 12%;
  }

  .pricing::after {
    right: 12%;
  }

  .pricing .heading-area {
    position: relative;
    z-index: 1;
    margin-top: 2.5rem;
  }

  .pricing h2 {
    max-width: 15ch;
  }

  .pricing-field {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(4.5rem, 0.7fr) minmax(0, 7.3fr);
    margin-top: clamp(3rem, 7vw, 6rem);
    overflow: hidden;
    background: var(--fine-line-gold);
    border: 1px solid var(--fine-line-gold);
    gap: 1px;
  }

  .pricing .entry-area, .pricing .bridge-area, .pricing .membership-area, .pricing .value-area {
    min-width: 0;
  }

  .pricing .value-area {
    grid-column: 1 / -1;
  }

  @media (max-width: 64rem) {
    .pricing-field {
      grid-template-columns: 1fr;
    }

    .pricing .value-area {
      grid-column: auto;
    }
  }

  @media (max-width: 48rem) {
    .pricing::before, .pricing::after {
      display: none;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .pricing .heading-area, .pricing [data-testid='pricing-section'] [data-reveal], .pricing [data-testid='pricing-section'] [data-reveal-child] {
      opacity: 1 !important;
      transform: none !important;
      transition-delay: 0s !important;
    }
  }


/* --- components/pricing/PricingValueList.astro (.value-list) --- */

  .value-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--fine-line-gold);
    border-top: 1px solid var(--fine-line-gold);
    gap: 1px;
  }

  .value-list li {
    display: grid;
    min-height: 6.5rem;
    grid-template-columns: 3rem minmax(0, 1fr);
    align-items: center;
    padding: 1.2rem 1.5rem;
    color: var(--navy-800);
    background: var(--paper);
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .value-list li:last-child {
    grid-column: 1 / -1;
  }

  .value-list li span:first-child {
    color: var(--gold-700);
    font-size: 0.62rem;
    font-weight: 600;
  }

  @media (max-width: 48rem) {
    .value-list {
      grid-template-columns: 1fr;
    }

    .value-list li, .value-list li:last-child {
      min-height: 5.5rem;
      grid-column: auto;
      padding: 1rem 1.2rem;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .value-list li {
      opacity: 1;
      transform: none;
      transition-delay: 0s !important;
    }
  }


/* --- components/reasoning/MethodVerbs.astro (.verbs) --- */

  .verbs {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--navy-800);
  }

  .verbs li {
    display: grid;
    grid-template-columns: 4rem 1fr;
    align-items: baseline;
    padding: 1rem 0;
    border-bottom: 1px solid var(--rule);
  }

  .verbs span {
    color: var(--gold-700);
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }

  .verbs strong {
    font-family: var(--serif);
    font-size: clamp(1.55rem, 3vw, 2.6rem);
    font-weight: 500;
    line-height: 1.1;
  }


/* --- components/reasoning/ReasoningProblemSection.astro (.reasoning) --- */

  .reasoning {
    padding: var(--section-space) 0;
    background: var(--ivory);
  }

  .reasoning .intro {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.75fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: end;
    margin-top: 2.5rem;
    padding-bottom: clamp(3rem, 7vw, 6rem);
    border-bottom: 1px solid var(--gold-300);
  }

  .reasoning .statement {
    padding-left: 1.5rem;
    color: var(--gold-700);
    border-left: 1px solid var(--gold-500);
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3.7vw, 3.3rem);
    line-height: 1.05;
  }

  .reasoning-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.72fr);
    gap: clamp(3rem, 8vw, 8rem);
    margin-top: clamp(3rem, 7vw, 6rem);
  }

  .reasoning .body-copy {
    display: grid;
    gap: 1.5rem;
    max-width: 42rem;
    font-size: clamp(1rem, 1.7vw, 1.13rem);
  }

  @media (max-width: 48rem) {
    .reasoning .intro, .reasoning-grid {
      grid-template-columns: 1fr;
    }

    .reasoning .statement {
      max-width: 20ch;
    }
  }


/* --- components/trust/NoFabricationPanel.astro (.no-fabrication) --- */

  .no-fabrication {
    min-width: 0;
    padding: clamp(1.8rem, 4vw, 3.2rem);
    color: var(--ivory);
    background: var(--navy-900);
  }

  .no-fabrication ol {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .no-fabrication li {
    display: grid;
    min-height: 4.2rem;
    grid-template-columns: 3rem minmax(0, 1fr);
    align-items: center;
    color: rgba(255, 253, 248, 0.82);
    border-bottom: 1px solid rgba(216, 195, 152, 0.2);
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .no-fabrication li:last-child {
    border-bottom: 0;
  }

  .no-fabrication li span:first-child {
    color: var(--gold-300);
    font-size: 0.62rem;
  }

  @media (prefers-reduced-motion: reduce) {
    .no-fabrication li {
      opacity: 1;
      transform: none;
      transition-delay: 0s !important;
    }
  }


/* --- components/trust/ResponsibilityPanel.astro (.responsibility) --- */

  .responsibility {
    display: grid;
    min-width: 0;
    grid-template-columns: minmax(0, 1.05fr) minmax(16rem, 0.95fr);
    gap: clamp(2rem, 5vw, 4rem);
    padding: clamp(1.8rem, 4vw, 3.2rem);
    background: var(--ivory);
  }

  .responsibility .framing {
    align-self: center;
    padding: 1.3rem 0 1.3rem 1.5rem;
    color: var(--navy-900);
    border-left: 2px solid var(--gold-500);
    font-family: var(--serif);
    font-size: clamp(1.3rem, 2.4vw, 1.85rem);
    line-height: 1.45;
  }

  .responsibility-list > p {
    margin-bottom: 0.75rem;
    color: var(--gold-700);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
  }

  .responsibility ul {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--rule);
  }

  .responsibility li {
    padding: 0.75rem 0;
    color: var(--navy-700);
    border-bottom: 1px solid var(--fine-line);
    font-size: 0.82rem;
  }

  @media (max-width: 48rem) {
    .responsibility {
      grid-template-columns: 1fr;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .responsibility li {
      opacity: 1;
      transform: none;
      transition-delay: 0s !important;
    }
  }


/* --- components/trust/ReviewAxis.astro (.review-axis) --- */

  .review-axis {
    position: relative;
    padding: 1.8rem 1.6rem 1.5rem;
    background: var(--navy-950);
    border: 1px solid rgba(216, 195, 152, 0.28);
  }

  .review-axis svg {
    width: 100%;
    height: 4.2rem;
  }

  .review-axis path, .review-axis circle {
    fill: var(--navy-950);
    stroke: var(--gold-500);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
  }

  .review-axis .default-ring {
    stroke: var(--gold-300);
  }

  .review-axis ol {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .review-axis li {
    display: grid;
    gap: 0.25rem;
    color: rgba(255, 253, 248, 0.82);
    font-size: 0.78rem;
  }

  .review-axis li span:first-child {
    color: var(--gold-300);
    font-size: 0.62rem;
  }

  @media (max-width: 48rem) {
    .review-axis {
      padding: 1.4rem 1.2rem;
    }

    .review-axis svg {
      display: none;
    }

    .review-axis ol {
      grid-template-columns: 1fr;
    }

    .review-axis li {
      position: relative;
      min-height: 3.8rem;
      grid-template-columns: 2.6rem 1fr;
      align-items: center;
      gap: 0.75rem;
      border-bottom: 1px solid rgba(216, 195, 152, 0.2);
    }

    .review-axis li::before {
      position: absolute;
      top: 50%;
      bottom: -50%;
      left: 0.9rem;
      width: 1px;
      background: rgba(183, 147, 87, 0.45);
      content: '';
    }

    .review-axis li:last-child {
      border-bottom: 0;
    }

    .review-axis li:last-child::before {
      display: none;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .review-axis li {
      opacity: 1;
      transform: none;
      transition-delay: 0s !important;
    }
  }


/* --- components/trust/TrustSection.astro (section.trust) --- */

  section.trust {
    position: relative;
    padding: var(--section-space) 0;
    overflow: hidden;
    background:
      linear-gradient(90deg, transparent calc(100% - 1px), rgba(216, 195, 152, 0.045) 1px),
      var(--navy-950);
    background-size: min(9vw, 8rem) 100%;
    border-top: 1px solid rgba(216, 195, 152, 0.2);
  }

  section.trust .trust-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(30rem, 1.28fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: end;
    margin-top: 2.5rem;
  }

  section.trust h2 {
    max-width: 9ch;
    color: var(--ivory);
  }

  section.trust .positioning {
    max-width: 49rem;
    padding: 1.5rem 1.6rem;
    color: rgba(255, 253, 248, 0.78);
    border: 1px solid rgba(216, 195, 152, 0.28);
    border-left: 2px solid var(--gold-500);
    font-size: 0.92rem;
    line-height: 1.75;
  }

  section.trust .trust-instrument {
    margin-top: clamp(3rem, 7vw, 6rem);
    box-shadow: var(--shadow-elevated);
  }

  section.trust .instrument-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(24rem, 0.92fr);
    gap: 1px;
    background: var(--fine-line-gold);
    border: 1px solid var(--fine-line-gold);
    border-top: 0;
  }

  section.trust .instrument-grid > :nth-child(3), section.trust .instrument-grid > :nth-child(4) {
    grid-column: 1 / -1;
  }

  section.trust .cta {
    display: flex;
    justify-content: flex-end;
    margin-top: 2.5rem;
  }

  @media (max-width: 64rem) {
    section.trust .trust-intro, section.trust .instrument-grid {
      grid-template-columns: 1fr;
    }

    section.trust .instrument-grid > :nth-child(3), section.trust .instrument-grid > :nth-child(4) {
      grid-column: auto;
    }
  }

  @media (max-width: 48rem) {
    section.trust .trust-intro {
      gap: 2rem;
    }

    section.trust .positioning {
      padding: 1.2rem;
    }

    section.trust .cta {
      justify-content: flex-start;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    section.trust [data-testid='trust-section'] [data-reveal], section.trust [data-testid='trust-section'] [data-reveal-child] {
      opacity: 1 !important;
      transform: none !important;
      transition-delay: 0s !important;
    }

    section.trust [data-testid='trust-section'] [data-reveal-line] {
      stroke-dashoffset: 0 !important;
    }
  }


/* --- components/trust/VerificationStates.astro (.state) --- */

  .states {
    position: relative;
    min-width: 0;
    padding: clamp(1.8rem, 4vw, 3.2rem);
    overflow: hidden;
    background:
      linear-gradient(90deg, transparent calc(100% - 1px), rgba(10, 23, 48, 0.025) 1px),
      var(--paper);
    background-size: 4.5rem 100%;
  }

  .state .annotation-field {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: grid;
    width: 5rem;
    gap: 0.45rem;
  }

  .state .annotation-field span {
    height: 1px;
    background: var(--fine-line-gold);
  }

  .state .annotation-field span:nth-child(2) {
    width: 68%;
  }

  .state .annotation-field span:nth-child(3) {
    width: 42%;
  }

  .state ul {
    display: grid;
    gap: 1.15rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .state {
    position: relative;
    display: grid;
    min-height: 7rem;
    grid-template-columns: 3.8rem minmax(0, 1fr);
    align-items: center;
    padding: 1rem 1.3rem;
    color: var(--navy-800);
    background: rgba(255, 253, 248, 0.78);
    border: 1px solid var(--rule);
  }

  .state::after {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: 1.1rem;
    height: 1.1rem;
    border-right: 1px solid var(--fine-line-gold);
    border-bottom: 1px solid var(--fine-line-gold);
    content: '';
  }

  .state-marker {
    display: grid;
    width: 2.2rem;
    height: 2.2rem;
    place-items: center;
    color: var(--gold-700);
    border: 1px solid var(--gold-500);
    font-size: 0.65rem;
    font-weight: 600;
  }

  .state-label {
    display: block;
    font-family: var(--serif);
    font-size: clamp(1.55rem, 2.4vw, 2.2rem);
    line-height: 1;
  }

  .state-context {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gold-700);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.12em;
  }

  .state-1 {
    border-width: 2px;
    border-color: var(--navy-800);
  }

  .state-1 .state-marker {
    color: var(--ivory);
    background: var(--navy-800);
    border-color: var(--navy-800);
  }

  .state-2 {
    border-left: 3px double var(--gold-700);
  }

  .state-3 {
    color: #7d272d;
    border: 1px dashed #7d272d;
    border-left: 3px solid #7d272d;
  }

  .state-3 .state-marker {
    color: #7d272d;
    border-color: #7d272d;
    font-size: 0.85rem;
  }

  .state-3 .state-context {
    color: #7d272d;
  }

  @media (prefers-reduced-motion: reduce) {
    .state {
      opacity: 1;
      transform: none;
      transition-delay: 0s !important;
    }
  }


/* --- components/trust/VerificationWorkflow.astro (.trust-workflow) --- */

  .trust-workflow {
    min-width: 0;
    padding: clamp(1.8rem, 4vw, 3.2rem);
    background: var(--ivory);
  }

  .trust-workflow h3 {
    max-width: 24ch;
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    line-height: 1.08;
  }

  .trust-workflow ol {
    position: relative;
    display: grid;
    margin: 2.6rem 0 0;
    padding: 0 0 0 1.3rem;
    list-style: none;
    border-left: 1px solid var(--gold-500);
  }

  .trust-workflow li {
    position: relative;
    display: grid;
    min-height: 4.6rem;
    grid-template-columns: 3rem minmax(0, 1fr);
    align-items: center;
    color: var(--navy-800);
    border-bottom: 1px solid var(--fine-line);
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .trust-workflow li::before {
    position: absolute;
    left: -1.62rem;
    width: 0.58rem;
    height: 0.58rem;
    background: var(--ivory);
    border: 1px solid var(--gold-500);
    content: '';
    transform: rotate(45deg);
  }

  .trust-workflow li:last-child {
    border-bottom: 0;
  }

  .trust-workflow .step-number {
    color: var(--gold-700);
    font-size: 0.64rem;
    font-weight: 600;
  }

  @media (prefers-reduced-motion: reduce) {
    .trust-workflow li {
      opacity: 1;
      transform: none;
      transition-delay: 0s !important;
    }
  }


/* --- pages/404.astro (.not-found) --- */

  .not-found {
    min-height: 65vh;
    padding: var(--section-space) 0;
    background: var(--ivory);
  }

  .not-found h1 {
    max-width: 14ch;
    margin: 2rem 0;
  }

  .not-found p:not(.eyebrow) {
    margin-bottom: 2rem;
    color: var(--navy-700);
  }


.house-page .header-inner {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.1rem;
}
.house-page .desktop-navigation {
  gap: 1.15rem;
  flex-wrap: nowrap;
  min-width: 0;
  justify-content: center;
  overflow: hidden;
}
.house-page .desktop-navigation a {
  font-size: 0.72rem;
  white-space: nowrap;
}
.house-page .hs-tools {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.45rem;
}
.house-page .site-header .primary-button {
  min-height: 2.7rem;
  padding: 0.55rem 1rem;
  font-size: 0.75rem;
}
.house-page .hero-grid {
  grid-template-columns: minmax(18rem, 0.96fr) minmax(0, 1.04fr);
}
.house-page .conversation .section-grid {
  grid-template-columns: minmax(16rem, 0.7fr) minmax(0, 1.3fr);
}
.house-page .conversation .section-grid > * {
  min-width: 0;
}
.house-page .handoff-heading p {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-700);
  font-family: var(--sans);
  max-width: none;
}
.house-page .structured-modes > .mode-disputation { grid-column: span 7; }
.house-page .structured-modes > .mode-investigate { grid-column: span 5; }
.house-page .structured-modes > .mode-lecture,
.house-page .structured-modes > .mode-cultural-diagnosis,
.house-page .structured-modes > .mode-talk-article { grid-column: span 4; }
@media (max-width: 64rem) {
  .house-page .structured-modes > .structured-mode { grid-column: auto; }
  .house-page .hero-grid,
  .house-page .conversation .section-grid {
    grid-template-columns: 1fr;
  }
}
.house-page .language-composition { position: relative; }
.house-page .language-panel { min-width: 0; }
.house-page .specimen {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--navy-950);
}
.house-page .specimen.script-grc { font-family: var(--script-greek); }
.house-page .specimen.script-he,
.house-page .specimen.script-arc { font-family: var(--script-hebrew); }
.house-page .workflow-stage { min-width: 0; }
.house-page .contact-section {
  padding: var(--section-space) 0;
  background: var(--ivory);
  border-top: 1px solid var(--fine-line-gold);
}
.house-page .contact-section h2 {
  max-width: 10ch;
  font-size: clamp(2.4rem, 5vw, 4rem);
}
.house-page .contact-grid {
  display: grid;
  grid-template-columns: minmax(17rem, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 6vw, 6rem);
  margin-top: clamp(2rem, 5vw, 4rem);
}
.house-page .letters {
  display: grid;
  gap: 1px;
  background: var(--fine-line-gold);
  border: 1px solid var(--fine-line-gold);
}
.house-page .letter {
  display: grid;
  gap: 0.4rem;
  padding: 1.4rem 1.5rem;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
}
.house-page .letter strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-950);
  letter-spacing: 0;
  text-transform: none;
}
.house-page .letter-kind {
  color: var(--gold-700);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.house-page .footer {
  color: rgba(255, 253, 248, 0.72);
  background: var(--navy-950);
}
.house-page .footer .brand {
  color: var(--ivory);
}
.house-page .footer .brand-mark {
  background: var(--ivory);
}
.house-page .footer a {
  color: rgba(255, 253, 248, 0.72);
}
.house-page .footer a:hover {
  color: var(--ivory);
}
.house-page .footer strong {
  color: var(--gold-300);
}
.house-page .footer .company span {
  max-width: 16rem;
  line-height: 1.45;
}
.house-page .inquiry-field path,
.house-page .inquiry-field circle,
.house-page .modes-connector path,
.house-page .modes-connector circle,
.house-page .reasoning-field path,
.house-page .reasoning-field circle,
.house-page .resolved-axis path,
.house-page .resolved-axis circle,
.house-page .language-lens path,
.house-page .language-lens circle {
  fill: none;
  stroke: var(--gold-500);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
@media (max-width: 64rem) {
  .house-page .contact-grid { grid-template-columns: 1fr; }
}

/* Designed navy bands stay navy in both themes — match original aquinian.com */
section.workflow,
section.trust,
.house-page .footer,
.house-page .conversation-mode {
  --navy-950: #07101f;
  --navy-900: #0a1730;
  --navy-800: #142746;
  --navy-700: #263b5b;
  --ivory: #fffdf8;
  --paper: #f7f3eb;
  --gold-700: #8c6b36;
  --gold-500: #b79357;
  --gold-300: #d8c398;
  --ink-muted: #566075;
}
section.workflow {
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(216, 195, 152, 0.055) 1px),
    #07101f !important;
  color: #fffdf8;
}
section.workflow h2 {
  color: #fffdf8 !important;
}
section.workflow .index {
  color: #d8c398;
}
.house-page .footer {
  background: #07101f !important;
  color: rgba(255, 253, 248, 0.72) !important;
}
.house-page .footer .brand,
.house-page .footer .brand span {
  color: #fffdf8 !important;
}
.house-page .footer .brand-mark {
  background: #fffdf8 !important;
}
.house-page .footer a {
  color: rgba(255, 253, 248, 0.72);
}
.house-page .footer a:hover {
  color: #fffdf8;
}
.house-page .footer strong {
  color: #d8c398 !important;
}
section.trust {
  background:
    linear-gradient(90deg, transparent calc(100% - 1px), rgba(216, 195, 152, 0.045) 1px),
    #07101f !important;
}
section.trust h2 {
  color: #fffdf8 !important;
}

/* House typography: roman everywhere, larger copy, contrast on navy */
.house-page,
.house-page * {
  font-style: normal !important;
}
.house-page .wordmark-name,
.house-page .wordmark-tagline,
.house-page .brand,
.house-page .site-header .brand span {
  font-style: normal !important;
  font-family: var(--serif);
  color: var(--navy-950);
}
.house-page .wordmark-tagline {
  font-family: var(--sans);
  color: var(--navy-700);
  letter-spacing: 0.12em;
}
.house-page .primary-button,
.house-page .primary-button span {
  color: #fffdf8 !important;
  font-family: var(--sans);
  font-style: normal !important;
}
.house-page .primary-button {
  background: #07101f;
  border-color: #07101f;
}

.house-page .hero .body-copy,
.house-page .hero .body-copy p {
  font-family: var(--sans);
  font-size: clamp(1.08rem, 1.35vw, 1.22rem);
  line-height: 1.65;
  color: var(--navy-800);
}
.house-page .hero .support {
  font-size: 0.88rem;
  font-family: var(--sans);
  color: var(--ink-muted);
}

.house-page .continue-row,
.house-page .continue-row span,
.house-page .continue-label {
  color: #fffdf8 !important;
  font-family: var(--sans);
  font-weight: 600;
  font-style: normal !important;
}
.house-page .continue-row {
  background: #0a1730;
}
.house-page .continue-line {
  background: rgba(255, 253, 248, 0.78) !important;
}

.house-page .reasoning .body-copy p,
.house-page .reasoning .statement,
.house-page .conversation .body-copy p,
.house-page .languages .opening-copy p,
.house-page .languages .source-copy p,
.house-page .languages .modern-language-line,
.house-page .languages .closing p,
.house-page .authority .clarification p,
.house-page .contact-section .body-copy {
  font-family: var(--sans);
  font-style: normal !important;
  font-size: clamp(1.1rem, 1.45vw, 1.28rem);
  line-height: 1.7;
  color: var(--navy-800);
}
.house-page .section-heading p {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-style: normal !important;
  font-family: var(--sans);
}
.house-page .verbs strong {
  font-style: normal !important;
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
}
.house-page .conversation .features p {
  font-size: 1.05rem;
  font-family: var(--sans);
  font-style: normal !important;
}
.house-page .conversation .features h3 {
  font-style: normal !important;
}
.house-page .handoff p {
  color: var(--navy-800);
  font-style: normal !important;
  font-size: 0.82rem;
}
.house-page .handoff-modes span {
  font-size: 0.95rem;
  font-style: normal !important;
  color: var(--navy-900);
  min-height: 3.4rem;
}
.house-page .conversation-frame .transcript article p,
.house-page .mockup .message p {
  font-style: normal !important;
  font-size: 1.18rem;
}

.house-page .conversation-mode,
.house-page .conversation-mode p,
.house-page .conversation-mode h3,
.house-page .conversation-mode li,
.house-page .conversation-mode span,
.house-page .entry,
.house-page .entry p,
.house-page .entry h3,
.house-page .entry span,
.house-page .conversation-frame header,
.house-page .conversation-frame header span {
  color: #fffdf8;
  font-style: normal !important;
}
.house-page .conversation-mode .mode-framing {
  color: rgba(255, 253, 248, 0.88);
  font-size: 1.08rem;
}
.house-page .conversation-mode .best-for,
.house-page .conversation-mode .best-for p,
.house-page .conversation-mode .best-for li {
  font-size: 1.05rem;
  color: rgba(255, 253, 248, 0.9);
}
.house-page .entry-number {
  color: #d8c398;
}
.house-page .entry p {
  font-size: 1.15rem;
  color: rgba(255, 253, 248, 0.9);
}
.house-page .membership-framing {
  font-size: 0.92rem;
  font-style: normal !important;
}
.house-page .membership .price {
  font-style: normal !important;
}
.house-page .membership .allowance {
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-style: normal !important;
}
.house-page .membership .cancellation {
  font-size: 1.05rem;
}
.house-page .value-list li,
.house-page .value-list span {
  font-size: 1.08rem;
  font-style: normal !important;
}
.house-page .workflow-instrument p,
.house-page .structured-mode p,
.house-page .structured-mode li,
.house-page .trust-workflow,
.house-page .trust-workflow li,
.house-page .responsibility,
.house-page .no-fabrication li,
.house-page .faq-item .answer p,
.house-page .supporting-copy p {
  font-style: normal !important;
  font-size: 1.05rem;
}
.house-page h1,
.house-page h2,
.house-page h3 {
  font-style: normal !important;
}
.house-page .positioning {
  font-size: 1.12rem;
  font-style: normal !important;
}

