@layer reset, base, layout, components, responsive;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body, h1, h2, h3, p, ul, ol, blockquote { margin: 0; }
  ul, ol { padding: 0; }
  img { display: block; max-width: 100%; height: auto; }
  button, input, select, textarea { font: inherit; }
  button, a { -webkit-tap-highlight-color: transparent; }
}

@layer base {
  :root {
    --navy-950: #001322;
    --navy-900: #031b2d;
    --navy-800: #082b57;
    --teal-500: #4f8c91;
    --teal-300: #82b7b7;
    --copper-700: #9d4029;
    --copper-600: #b45e3c;
    --copper-500: #ce7047;

    /* Secondary CTA accent sampled from the Be Fluid artwork.
       Keep this as a separate token because this may be client/theme-specific. */
    --cta-secondary: #548382;
    --pricing-featured-light: #033448;
    --pricing-card-light-gray: #ddddda;
    --paper: #f5f1ea;
    --paper-deep: #ece4d9;
    /* Light-mode section surfaces. */
    --surface-light: #f5f1ea;
    --surface-light-deep: #ece4d9;
    --ink: #0b1d27;
    --ink-soft: #3b4a50;
    --line-dark: rgba(245, 241, 234, .15);
    --line-paper: rgba(11, 29, 39, .15);
    --theme-services: var(--surface-light);
    --theme-ownership: var(--surface-light);
    --theme-faq: var(--surface-light-deep);
    --theme-text: #0b1d27;
    --theme-text-soft: #3b4a50;
    --theme-line: rgba(11, 29, 39, .15);
    --pricing-card-bg: var(--pricing-card-light-gray);
    --theme-callout: var(--surface-light-deep);
    --theme-fineprint: #5d686c;
    --pricing-cta-bg: var(--paper-deep);
    --pricing-cta-border: var(--copper-600);
    --pricing-cta-text: var(--ink);
    --pricing-cta-hover-bg: var(--paper-deep);
    --pricing-featured-cta-bg: var(--pricing-featured-light);
    --pricing-featured-cta-border: var(--pricing-featured-light);
    --pricing-featured-cta-text: var(--paper);
    --pricing-featured-cta-hover-bg: var(--pricing-featured-light);
    --serif: Georgia, 'Times New Roman', serif;
    --sans: 'Avenir Next', Avenir, 'Segoe UI', Helvetica, Arial, sans-serif;
    --page-pad: clamp(1.25rem, 4vw, 5rem);
    --content: 1180px;
    --header-h: 84px;
  }

  @media (prefers-color-scheme: dark) {
    :root {
      --theme-services: #182126;
      --theme-ownership: #10191e;
      --theme-faq: #151f24;
      --theme-text: #edf1f0;
      --theme-text-soft: #b8c4c4;
      --theme-line: rgba(237, 241, 240, .14);
      --pricing-card-bg: #20292e;
      --theme-callout: #202b30;
      --theme-fineprint: #9babab;
      --pricing-cta-bg: var(--cta-secondary);
      --pricing-cta-border: var(--cta-secondary);
      --pricing-cta-text: white;
      --pricing-cta-hover-bg: var(--teal-500);
      --pricing-featured-cta-bg: var(--copper-600);
      --pricing-featured-cta-border: var(--copper-600);
      --pricing-featured-cta-text: white;
      --pricing-featured-cta-hover-bg: var(--copper-500);
    }
  }

  :root:has(#theme-dark:checked) {
    --theme-services: #182126;
    --theme-ownership: #10191e;
    --theme-faq: #151f24;
    --theme-text: #edf1f0;
    --theme-text-soft: #b8c4c4;
    --theme-line: rgba(237, 241, 240, .14);
    --pricing-card-bg: #20292e;
    --theme-callout: #202b30;
    --theme-fineprint: #9babab;
    --pricing-cta-bg: var(--cta-secondary);
    --pricing-cta-border: var(--cta-secondary);
    --pricing-cta-text: white;
    --pricing-cta-hover-bg: var(--teal-500);
    --pricing-featured-cta-bg: var(--copper-600);
    --pricing-featured-cta-border: var(--copper-600);
    --pricing-featured-cta-text: white;
    --pricing-featured-cta-hover-bg: var(--copper-500);
  }

  :root:has(#theme-light:checked) {
    --theme-services: var(--surface-light);
    --theme-ownership: var(--surface-light);
    --theme-faq: var(--surface-light-deep);
    --theme-text: #0b1d27;
    --theme-text-soft: #3b4a50;
    --theme-line: rgba(11, 29, 39, .15);
    --pricing-card-bg: var(--pricing-card-light-gray);
    --theme-callout: var(--surface-light-deep);
    --theme-fineprint: #5d686c;
    --pricing-cta-bg: var(--paper-deep);
    --pricing-cta-border: var(--copper-600);
    --pricing-cta-text: var(--ink);
    --pricing-cta-hover-bg: var(--paper-deep);
    --pricing-featured-cta-bg: var(--pricing-featured-light);
    --pricing-featured-cta-border: var(--pricing-featured-light);
    --pricing-featured-cta-text: var(--paper);
    --pricing-featured-cta-hover-bg: var(--pricing-featured-light);
  }

  body {
    min-width: 320px;
    background: var(--navy-950);
    color: var(--paper);
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.62;
    text-rendering: optimizeLegibility;
  }

  body.nav-open { overflow: hidden; }
  a { color: inherit; }
  button { color: inherit; }
  h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: .98; text-wrap: balance; }
  h2 { font-size: clamp(2.75rem, 6vw, 5.7rem); letter-spacing: -.045em; }
  h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); }
  p { text-wrap: pretty; }

  :focus-visible {
    outline: 3px solid var(--teal-300);
    outline-offset: 4px;
  }

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

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

  .skip-link {
    position: fixed;
    z-index: 1000;
    top: .75rem;
    left: .75rem;
    padding: .75rem 1rem;
    background: var(--paper);
    color: var(--ink);
    transform: translateY(-180%);
    transition: transform .2s ease;
  }
  .skip-link:focus { transform: translateY(0); }

  .eyebrow {
    color: var(--teal-300);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .19em;
    line-height: 1.2;
    text-transform: uppercase;
  }
  .eyebrow-dark { color: #376f74; }
}

@layer layout {
  .site-header {
    position: fixed;
    z-index: 100;
    inset: 0 0 auto;
    height: var(--header-h);
    border-bottom: 1px solid transparent;
    transition: background .25s ease, border-color .25s ease, height .25s ease;
  }
  .site-header.is-scrolled {
    background: rgba(0, 19, 34, .93);
    border-color: var(--line-dark);
    backdrop-filter: blur(14px);
  }
  .theme-toggle {
    position: absolute;
    left: calc(var(--page-pad) + 14.5rem);
    top: 50%;
    display: flex;
    align-items: center;
    transform: translateY(-50%);
  }
  .theme-choice { position: absolute; opacity: 0; pointer-events: none; }
  .theme-button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(245, 241, 234, .14);
    border-radius: 50%;
    background: rgba(245, 241, 234, .06);
    color: var(--paper);
    cursor: pointer;
    font-size: 1.15rem;
    line-height: 1;
    user-select: none;
    transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
  }
  .theme-button:hover {
    background: var(--copper-500);
    border-color: var(--copper-500);
    color: var(--paper);
    transform: rotate(12deg);
  }
  .theme-choice:focus-visible + .theme-button { outline: 3px solid var(--teal-300); outline-offset: 4px; }
  .theme-button-light { display: none; }

  @media (prefers-color-scheme: dark) {
    .theme-button-dark { display: none; }
    .theme-button-light { display: grid; }
  }

  :root:has(#theme-dark:checked) .theme-button-dark { display: none; }
  :root:has(#theme-dark:checked) .theme-button-light { display: grid; }
  :root:has(#theme-light:checked) .theme-button-dark { display: grid; }
  :root:has(#theme-light:checked) .theme-button-light { display: none; }
  .header-inner {
    width: min(100%, calc(var(--content) + (2 * var(--page-pad))));
    height: 100%;
    margin: auto;
    padding-inline: var(--page-pad);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .hero {
    position: relative;
    --hero-wave-depth: clamp(2.4rem, 3vw, 3.6rem);
    --hero-wave-clearance: clamp(3rem, 4vw, 4.5rem);
    --hero-caption-offset: 2.5rem;
    min-height: 820px;
    padding: clamp(9.5rem, 16vh, 12rem) var(--page-pad)
      calc(var(--hero-caption-offset) + var(--hero-wave-clearance) + var(--hero-wave-depth));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, .9fr);
    align-items: center;
    gap: clamp(2rem, 7vw, 8rem);
    overflow: hidden;
    isolation: isolate;
    background:
      radial-gradient(circle at 82% 24%, rgba(79, 140, 145, .15), transparent 26rem),
      linear-gradient(145deg, var(--navy-950) 0%, #001a2c 58%, #00101c 100%);
  }
  .hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    /* The curve occupies the bottom of the hero padding, below the text and caption. */
    inset: auto -7% 0;
    height: var(--hero-wave-depth);
    background: var(--theme-services);
    border-radius: 62% 38% 0 0 / 100% 88% 0 0;
    pointer-events: none;
  }
  .hero-grain {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .12;
    background-image: repeating-linear-gradient(115deg, transparent 0 17px, rgba(130, 183, 183, .16) 18px, transparent 19px 32px);
    mask-image: linear-gradient(90deg, transparent 12%, black 88%);
  }
  .hero-copy { max-width: 710px; justify-self: end; }
  .hero h1 {
    margin: 1.1rem 0 1.65rem;
    font-size: clamp(3.5rem, 6.3vw, 7rem);
    letter-spacing: -.06em;
    text-wrap: balance;
  }
  .hero h1 em { color: var(--copper-500); font-weight: 400; }
  .hero-lede { max-width: 640px; color: #d8dddc; font-size: clamp(1.05rem, 1.5vw, 1.28rem); }
  .hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.2rem; }
  .hero-art { position: relative; min-height: 560px; display: grid; place-items: center; }
  .hero-art img {
    position: relative;
    z-index: 2;
    width: min(100%, 590px);
    height: auto;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 35px 45px rgba(0,0,0,.28));
  }
  .hero-art::after {
    content: '';
    position: absolute;
    z-index: 1;
    width: min(84%, 500px);
    aspect-ratio: 1;
    border: 1px solid rgba(180, 94, 60, .42);
    border-radius: 50%;
    transform: translate(6%, 3%);
  }
  .orbit { position: absolute; border: 1px solid rgba(130, 183, 183, .24); border-radius: 50%; }
  .orbit-one { width: 88%; aspect-ratio: 1.25; transform: rotate(-18deg); }
  .orbit-two { width: 67%; aspect-ratio: 1.8; transform: rotate(32deg); }
  .art-note { position: absolute; z-index: 3; right: 1rem; bottom: 4.5rem; color: rgba(245,241,234,.62); font-family: var(--serif); font-style: italic; }
  .hero-index { position: absolute; left: 50%; bottom: calc(-1 * var(--hero-caption-offset)); width: min(100%, 590px); padding-bottom: .8rem; border-bottom: 1px solid var(--line-dark); display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: rgba(245,241,234,.55); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; transform: translateX(-50%); }

  .intent-strip {
    position: relative;
    z-index: 2;
    padding: 1.3rem var(--page-pad) 3.4rem;
    background: var(--theme-services);
    color: var(--theme-text);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(.8rem, 2.6vw, 2.4rem);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
  }
  .intent-strip span { width: 4px; height: 4px; border-radius: 50%; background: var(--copper-500); }

  .paper-section { color: var(--theme-text); padding: clamp(5rem, 10vw, 9rem) var(--page-pad); }
  .services { position: relative; overflow: hidden; background: var(--theme-services); }
  .ownership { background: var(--theme-ownership); }
  .faq { background: var(--theme-faq); }
  .services, .ownership, .faq {
    --ink: var(--theme-text);
    --ink-soft: var(--theme-text-soft);
    --line-paper: var(--theme-line);
    --paper-deep: var(--theme-callout);
  }

  .dark-section { position: relative; background: var(--navy-950); padding: clamp(5rem, 10vw, 9rem) var(--page-pad); }
  .section-kicker {
    width: min(100%, var(--content));
    margin: 0 auto clamp(3.5rem, 7vw, 6.5rem);
    padding-bottom: .8rem;
    border-bottom: 1px solid var(--line-paper);
    display: flex;
    justify-content: space-between;
    color: var(--copper-700);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
  }
  .section-kicker-light { color: var(--teal-300); border-color: var(--line-dark); }

  .why-layout, .services-intro, .faq-layout {
    width: min(100%, var(--content));
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(3rem, 9vw, 9rem);
  }

  .principles { overflow: hidden; }
  .principles-heading, .principle-rows {
    width: min(100%, var(--content));
    margin-inline: auto;
  }
  .principles-heading h2 { margin-top: 1.1rem; }
  .principle-rows { margin-top: clamp(4rem, 8vw, 7rem); border-top: 1px solid var(--line-dark); }
  .principle-rows .principle-item {
    position: relative;
    min-height: 210px;
    display: grid;
    grid-template-columns: 4rem minmax(13rem, .7fr) minmax(15rem, 1fr);
    align-items: start;
    gap: clamp(1.25rem, 4vw, 4.5rem);
    padding: 2rem 0;
    border-bottom: 1px solid var(--line-dark);
    overflow: hidden;
  }
  .principle-number { color: var(--copper-500); font-size: .75rem; letter-spacing: .12em; }
  .principle-rows h3 { font-size: clamp(1.7rem, 3vw, 2.8rem); }
  .principle-rows p { max-width: 600px; color: #bdcaca; }
  .principle-word { position: absolute; right: 0; bottom: -.26em; color: rgba(79, 140, 145, .07); font-family: var(--serif); font-size: clamp(5rem, 11vw, 10rem); line-height: 1; pointer-events: none; }

  .services-upper {
    position: relative;
    z-index: 0;
    margin-inline: calc(var(--page-pad) * -1);
    padding-inline: var(--page-pad);
  }
  .services-upper::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("assets/Section-2-BGWave.svg") center center / cover no-repeat;
    opacity: 1;
    pointer-events: none;
  }
  .services-upper > .section-kicker { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
  .services-intro { grid-template-columns: 1fr; gap: 1.35rem; }
  .services-intro h2 { margin-top: 1.1rem; max-width: none; font-size: clamp(2.6rem, 4.5vw, 4.25rem); text-wrap: wrap; }
  .services-intro > p { max-width: 1000px; color: var(--ink-soft); font-size: 1.08rem; }
  .founding-offer {
    width: min(100%, var(--content));
    margin: clamp(2.5rem, 5vw, 4.25rem) auto 0;
    padding: clamp(1.5rem, 3.5vw, 2.75rem);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 1.5rem clamp(2rem, 5vw, 5rem);
    align-items: center;
    background: var(--paper-deep);
    border: 1px solid var(--line-paper);
    border-radius: .75rem;
  }
  .founding-offer h3 { margin-top: .65rem; font-size: clamp(1.8rem, 3vw, 2.8rem); }
  .founding-price-parts { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: center; }
  .founding-price-parts p { display: grid; gap: .35rem; }
  .founding-price-parts strong { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1; }
  .founding-price-parts span { color: var(--ink-soft); font-size: .82rem; }
  .founding-plus { color: var(--copper-700); font-family: var(--serif); font-size: 2rem; }
  .founding-offer-copy { grid-column: 1 / -1; max-width: 980px; color: var(--ink-soft); font-size: .92rem; }
  .normal-pricing-heading {
    width: min(100%, var(--content));
    margin: clamp(3rem, 6vw, 5rem) auto 0;
  }
  .normal-pricing-heading h3 { margin-top: .65rem; font-size: clamp(2rem, 3vw, 3rem); }
  .normal-pricing-heading > p:last-child { margin-top: .9rem; max-width: 860px; color: var(--ink-soft); }
  .pricing-grid {
    width: min(100%, var(--content));
    margin: clamp(4.25rem, 6.5vw, 5.75rem) auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .price-card { position: relative; display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--pricing-card-bg); border-radius: .75rem; }
  .price-card.featured { background: var(--navy-900); color: var(--paper); margin: -1.5rem 0; padding-top: 3.25rem; padding-bottom: 4rem; box-shadow: 0 24px 70px rgba(0,19,34,.2); }
  .price-topline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem .75rem; color: var(--copper-600); font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
  .featured .price-topline { color: var(--copper-500); }
  .featured .price-topline span { color: var(--teal-300); }
  .price-card h3 { margin-top: 2rem; min-height: 3.2em; }
  .price { margin-top: 1.5rem; font-family: var(--serif); font-size: clamp(2.25rem, 3.4vw, 3.75rem); line-height: 1; letter-spacing: -.04em; }
  .price-prefix, .price-unit { font-family: var(--sans); letter-spacing: normal; }
  .price-prefix { font-size: 1rem; }
  .price-unit { display: block; margin-top: .5rem; font-size: .875rem; font-weight: 700; line-height: 1.3; }
  .price-note { margin-top: .6rem; color: var(--ink-soft); font-size: .8rem; }
  .featured .price-note { color: #aebdbc; }
  .price-card ul { flex: 1 1 auto; margin: 2rem 0; list-style: none; }
  .price-card li { position: relative; padding: .55rem 0 .55rem 1.25rem; border-bottom: 1px solid var(--line-paper); font-size: .92rem; }
  .featured li { border-color: var(--line-dark); }
  .price-card li::before { content: ''; position: absolute; left: 0; top: 1.05rem; width: 5px; height: 5px; border-radius: 50%; background: var(--copper-500); }
  .inclusions {
    width: min(100%, var(--content));
    margin: 4.5rem auto 0;
    padding: 1.4rem 0;
    border-block: 1px solid var(--line-paper);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3rem;
    align-items: center;
  }
  .inclusions > p { color: var(--copper-700); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
  .inclusions ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem 2rem;
    list-style: none;
  }
  .inclusions li {
    display: grid;
    grid-template-columns: 1rem 1fr;
    gap: .55rem;
    align-items: start;
    color: var(--ink-soft);
  }
  .inclusions li::before { content: '✓'; color: #376f74; }
  .service-deep-dive { width: min(100%, var(--content)); margin: 3rem auto 0; border: 1px solid var(--line-paper); border-radius: .75rem; overflow: hidden; }
  .service-deep-dive > summary, .research-details > summary { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; cursor: pointer; list-style: none; font-weight: 800; }
  .service-deep-dive > summary { padding: clamp(1.35rem, 3vw, 2rem); color: var(--copper-700); }
  .service-deep-dive > summary::-webkit-details-marker, .research-details > summary::-webkit-details-marker { display: none; }
  .service-deep-dive > summary span, .research-details > summary span { font-size: 1.5rem; transition: transform .2s ease; }
  .service-deep-dive[open] > summary span, .research-details[open] > summary span { transform: rotate(45deg); }
  .service-deep-dive-body { padding: 0 clamp(1.5rem, 3.5vw, 2.75rem) clamp(1.5rem, 3.5vw, 2.75rem); }
  .service-deep-dive-body > section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 1rem clamp(2rem, 5vw, 5rem); padding: clamp(2rem, 4vw, 3.5rem) 0; border-top: 1px solid var(--line-paper); }
  .service-deep-dive-body > section > .eyebrow, .service-deep-dive-body > section > h3 { grid-column: 1; }
  .service-deep-dive-body > section > h3 { margin-top: -.35rem; }
  .service-deep-dive-body > section > p:not(.eyebrow), .service-deep-dive-body > section > .deep-dive-list { grid-column: 2; }
  .deep-dive-list { list-style: none; }
  .deep-dive-list li { position: relative; padding: .55rem 0 .55rem 1.25rem; border-bottom: 1px solid var(--line-paper); }
  .deep-dive-list li::before { content: '✓'; position: absolute; left: 0; color: #376f74; }
  .service-deep-dive-body p { color: var(--ink-soft); }
  .model-details { margin-top: 1.5rem; border-top: 1px solid var(--line-paper); }
  .model-details summary { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1.15rem 0 .15rem; color: var(--copper-700); font-weight: 800; cursor: pointer; list-style: none; }
  .model-details summary::-webkit-details-marker { display: none; }
  .model-details summary span { font-size: 1.4rem; transition: transform .2s ease; }
  .model-details[open] summary span { transform: rotate(45deg); }
  .model-details-body { padding: 1.15rem 0 .2rem; display: grid; gap: .9rem; max-width: 980px; }
  .model-details-body p { color: var(--ink-soft); }
  .research-details { border-top: 1px solid var(--line-paper); }
  .research-details > summary { padding: 1.5rem 0 .25rem; color: var(--copper-700); }
  .research-details-body { padding: 1.5rem 0 .25rem; }
  .research-intro, .research-average, .research-caveat { max-width: 1000px; color: var(--ink-soft); }
  .research-table-wrap { margin: 1.5rem 0; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
  .research-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .86rem; }
  .research-table th, .research-table td { padding: .85rem 1rem; border-bottom: 1px solid var(--line-paper); text-align: left; vertical-align: top; }
  .research-table th { color: var(--copper-700); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
  .research-sources { margin-top: 2rem; }
  .research-sources h4 { margin-bottom: .75rem; }
  .research-sources ul { padding-left: 1.2rem; }
  .research-sources li { margin: .45rem 0; color: var(--ink-soft); }
  .research-sources a { color: var(--copper-700); }
  .research-caveat { margin-top: 1.5rem; font-size: .84rem; }
  .care-callout {
    width: min(100%, var(--content));
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: .8fr 1.2fr auto;
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    padding: clamp(2rem, 4vw, 3.5rem);
    background: var(--paper-deep);
    border-radius: 0 4rem 0 4rem;
  }
  .care-callout h3 { margin-top: .7rem; }
  .care-callout > p { color: var(--ink-soft); }
  .care-callout > a { color: var(--copper-700); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .25rem; }
  .pricing-fineprint { width: min(100%, var(--content)); margin: 1.5rem auto 0; color: var(--theme-fineprint); font-size: .78rem; }

  .process-section {
    padding: clamp(5rem, 10vw, 9rem) var(--page-pad);
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(3rem, 9vw, 9rem);
    background:
      radial-gradient(circle at 0 70%, rgba(79,140,145,.17), transparent 28rem),
      var(--navy-950);
  }
  .process-section {
    position: relative;
    isolation: isolate;
  }
  .process-section::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: auto auto 0 0;
    width: min(46%, 46rem);
    height: clamp(9rem, 22vw, 20rem);
    pointer-events: none;
    background:
      radial-gradient(ellipse 112% 119% at -17% 122%, transparent 98%, rgba(130, 183, 183, .32) 99%, transparent),
      radial-gradient(ellipse 107% 121% at -10% 129%, transparent 98%, rgba(79, 140, 145, .38) 99%, transparent),
      radial-gradient(ellipse 101% 122% at -4% 136%, transparent 98%, rgba(206, 112, 71, .24) 99%, transparent),
      radial-gradient(ellipse 96% 123% at 1% 143%, transparent 98%, rgba(79, 140, 145, .25) 99%, transparent);
    mask-image: linear-gradient(90deg, #000 8%, rgba(0, 0, 0, .78) 48%, transparent 97%);
  }

  .process-copy { max-width: 570px; justify-self: end; }
  .process-copy .section-kicker { margin-bottom: 4rem; }
  .process-copy h2 { margin-top: 1.1rem; }
  .process-copy > p:last-child { margin-top: 2rem; color: #bdcaca; }
  .process-list { list-style: none; border-top: 1px solid var(--line-dark); }
  .process-list li { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 1.65rem 0; border-bottom: 1px solid var(--line-dark); }
  .process-list > li > span { color: var(--copper-500); font-size: .72rem; letter-spacing: .12em; }
  .process-list h3 { font-size: 1.6rem; }
  .process-list p { margin-top: .45rem; color: #bdcaca; }

  .ownership {
    display: grid;
    grid-template-columns: minmax(190px, .45fr) minmax(0, .9fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(2rem, 7vw, 7rem);
  }
  .ownership > .section-kicker { grid-column: 1 / -1; width: min(100%, var(--content)); margin-inline: auto; margin-bottom: 0; }
  .ownership-mark { align-self: stretch; min-height: 500px; display: grid; place-items: center; background: var(--navy-950); border-radius: 8rem 0 8rem 0; overflow: hidden; }
  .ownership-mark img { width: 100%; height: 100%; object-fit: cover; object-position: 48% center; }
  .ownership-intro h2 { margin-top: 1rem; }
  .ownership-intro > p:last-child { margin-top: 2rem; color: var(--ink-soft); }
  .ownership-list { border-top: 1px solid var(--line-paper); }
  .ownership-action { margin-top: 1.5rem; }
  .ownership-list .ownership-item { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line-paper); }
  .ownership-list .ownership-item > span { color: var(--copper-700); font-size: .72rem; letter-spacing: .1em; }
  .ownership-list h3 { font-size: 1.45rem; }
  .ownership-list p { margin-top: .35rem; color: var(--ink-soft); }
  .ownership-list p + p { margin-top: 1rem; }


  .faq-layout { align-items: start; }
  .faq-heading { position: sticky; top: 8rem; }
  .faq-heading h2 { margin-top: 1.1rem; }
  .faq-heading > p:last-child { max-width: 460px; margin-top: 2rem; color: var(--ink-soft); }
  .faq-list { border-top: 1px solid var(--line-paper); counter-reset: faq-item; }
  .faq-list details { border-bottom: 1px solid var(--line-paper); counter-increment: faq-item; }
  .faq-list summary { min-height: 74px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(.9rem, 2vw, 1.5rem); cursor: pointer; list-style: none; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.6rem); }
  .faq-list summary::before { content: counter(faq-item, decimal-leading-zero); color: var(--copper-700); font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
  .faq-list summary::-webkit-details-marker { display: none; }
  .faq-list summary span { color: var(--copper-700); font-family: var(--sans); font-size: 1.5rem; }
  .faq-list details p { max-width: 720px; padding: 0 3rem 1.5rem 0; color: var(--ink-soft); }
  .faq-toggle-input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; pointer-events: none; }
  .faq-secondary { display: none; }
  .faq-toggle-input:checked ~ .faq-secondary { display: block; }
  .faq-secondary:target { display: block; }
  .faq-toggle { display: flex; justify-content: center; align-items: center; min-height: 52px; margin-top: 1.25rem; border: 1px solid var(--line-paper); border-radius: .75rem; color: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: border-color .2s ease, background-color .2s ease; }
  .faq-toggle:hover { border-color: var(--copper-700); }
  .faq-toggle-less { display: none; }
  .faq-toggle-input:checked ~ .faq-toggle .faq-toggle-more { display: none; }
  .faq-toggle-input:checked ~ .faq-toggle .faq-toggle-less { display: inline; }
  .faq-toggle-input:focus-visible ~ .faq-toggle { outline: 2px solid var(--copper-700); outline-offset: 3px; }

  .contact-section {
    position: relative;
    padding: clamp(6rem, 11vw, 10rem) var(--page-pad);
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1fr);
    gap: clamp(3rem, 9vw, 9rem);
    overflow: hidden;
    background:
      radial-gradient(circle at 20% 40%, rgba(79,140,145,.16), transparent 25rem),
      var(--navy-900);
  }
  .contact-section > .section-kicker { grid-column: 1 / -1; margin-bottom: 0; }
  .contact-art { position: absolute; left: -5rem; bottom: -9rem; width: min(720px, 58vw); opacity: .24; pointer-events: none; }
  .contact-art img { width: 100%; height: auto; display: block; }
  .contact-copy { position: relative; z-index: 2; max-width: 620px; justify-self: end; }
  .contact-copy h2 { margin-top: 1.1rem; }
  .contact-copy > p:nth-of-type(2) { margin-top: 2rem; color: #bdcaca; font-size: 1.08rem; }
  .project-note { position: relative; z-index: 2; width: min(100%, 660px); }
  .form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
  .field-row { margin-bottom: 1.35rem; }
  .field-row label { display: block; margin-bottom: .45rem; color: #cdd7d5; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
  .field-row .optional { color: #8fa09e; font-weight: 500; }
  .field-row input, .field-row select, .field-row textarea {
    width: 100%;
    border: 1px solid rgba(245,241,234,.25);
    border-radius: 0;
    padding: .9rem 0;
    background: transparent;
    color: var(--paper);
    transition: border-color .2s ease;
  }
  .field-row input, .field-row select { border-width: 0 0 1px; }
  .field-row textarea { padding: .9rem; resize: vertical; }
  .field-row select { color-scheme: dark; }
  .field-row input:focus, .field-row select:focus, .field-row textarea:focus { outline: none; border-color: var(--teal-300); }
  .form-note { margin-top: 1rem; color: #9aadaa; font-size: .78rem; }
  .form-result { margin-top: 1.25rem; padding: 1rem; border: 1px solid rgba(130,183,183,.45); color: #d8e0df; }
  .submission-reference { margin-top: .65rem; color: var(--teal-300); font-size: .82rem; }
  .form-result-actions { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: .75rem; align-items: baseline; }
  .form-result-actions[hidden] { display: none; }
  .form-result-actions > span { color: #9aadaa; font-size: .78rem; }
  .text-button { border: 0; padding: 0; background: none; color: var(--teal-300); text-decoration: underline; text-underline-offset: .2rem; cursor: pointer; }

  /* app.js reveals the back-to-top control after the hero leaves the viewport. */

  .back-to-top {
    position: fixed;
    z-index: 90;
    right: clamp(1rem, 2.2vw, 2rem);
    bottom: clamp(1rem, 2.2vw, 2rem);
    min-width: 3rem;
    height: 2.65rem;
    padding-inline: .82rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(130, 183, 183, .22);
    border-radius: 1.15rem .4rem 1.15rem .4rem;
    background: rgba(0, 19, 34, .66);
    color: rgba(216, 224, 223, .88);
    text-decoration: none;
    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 .45rem 1.4rem rgba(0, 14, 25, .12);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(.35rem);
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, opacity .18s ease, visibility .18s ease;
  }
  .back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .back-to-top::before { content: attr(data-label); }
  .back-to-top:hover {
    background: rgba(3, 27, 45, .82);
    border-color: rgba(130, 183, 183, .38);
    color: var(--paper);
    transform: translateY(-2px);
  }
  .back-to-top:active { transform: translateY(0); }

  .site-footer { position: relative; padding: 4rem var(--page-pad) 2rem; background: #000e19; }
  .site-footer::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 8px;
    background: linear-gradient(90deg, var(--teal-500), var(--copper-500), var(--teal-500));
  }
  .footer-grid { width: min(100%, var(--content)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
  .footer-column { display: grid; align-content: start; gap: .7rem; color: #aebdbc; font-size: .88rem; }
  .footer-column a { width: fit-content; color: #d7dfde; text-decoration: none; }
  .footer-column a:hover, .footer-column a:focus-visible { color: var(--copper-500); }
  .footer-heading { margin-bottom: .35rem; color: var(--copper-500); font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
  .footer-summary > p { max-width: 28rem; line-height: 1.65; }
  .footer-brand { display: flex; align-items: center; gap: 1rem; margin-bottom: .7rem; }
  .footer-brand img { width: 64px; border-radius: 50%; }
  .footer-brand p { color: var(--paper); font-size: 1.15rem; letter-spacing: .28em; text-transform: uppercase; }
  .footer-brand span { color: var(--copper-500); font-size: .58rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
  .footer-meta { width: min(100%, var(--content)); margin: 4rem auto 0; padding-top: 1.2rem; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; color: #8ca09d; font-size: .75rem; }
}

@layer components {
  .brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
  .brand > img { width: 54px; border-radius: 50%; }
  .brand-type { display: grid; }
  .brand-name { font-size: 1.03rem; letter-spacing: .31em; line-height: 1.1; text-transform: uppercase; }
  .brand-tagline { margin-top: .28rem; color: var(--copper-500); font-size: .51rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
  .primary-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); }
  .primary-nav a { position: relative; color: #d7dfde; font-size: .77rem; text-decoration: none; }
  .primary-nav a::after { content: ''; position: absolute; inset: auto 0 -.45rem; height: 1px; background: var(--copper-500); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
  .primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
  .header-cta {
    flex: 0 0 auto;
    white-space: nowrap;
    text-decoration: none;
  }
  .nav-cta {
    padding: .68rem 1.1rem;
    border: 1px solid var(--copper-600);
    border-radius: .75rem;
    background: var(--copper-600);
    color: white;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
  }
  .nav-cta:hover {
    background: var(--copper-500);
    border-color: var(--copper-500);
    color: white;
    transform: translateY(-1px);
  }
  .nav-toggle { display: none; width: 48px; height: 48px; padding: 12px; border: 1px solid var(--line-dark); background: transparent; }
  .nav-toggle span:not(.sr-only) { display: block; height: 1px; margin: 5px 0; background: var(--paper); }

  @media (min-width: 821px) {
    .primary-nav {
      width: auto;
      margin-left: auto;
      justify-content: flex-end;
      gap: clamp(3.5rem, 5vw, 6rem);
    }
    .primary-nav > a {
      font-size: 1.08rem;
      font-weight: 600;
      letter-spacing: .025em;
    }
    .header-cta { margin-left: clamp(2rem, 3vw, 3.5rem); }
  }

  .button {
    min-height: 48px;
    padding: .88rem 1.25rem;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
    border-radius: .75rem;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  }
  .button:hover { transform: translateY(-2px); }
  .button-primary { background: var(--copper-600); color: white; }
  .button-primary:hover { background: var(--copper-500); }
  .button-quiet {
    border-color: var(--cta-secondary);
    background: var(--cta-secondary);
    color: white;
  }
  .button-quiet:hover {
    border-color: var(--teal-500);
    background: var(--teal-500);
    color: white;
  }
  .button-card { width: 100%; margin-top: auto; justify-content: center; text-align: center; border-color: var(--pricing-cta-border); background: var(--pricing-cta-bg); color: var(--pricing-cta-text); }
  .button-card:hover { border-color: var(--copper-600); background: var(--pricing-cta-hover-bg); color: var(--pricing-cta-text); }
  .featured .button-card { border-color: var(--pricing-featured-cta-border); background: var(--pricing-featured-cta-bg); color: var(--pricing-featured-cta-text); }
  .featured .button-card:hover { border-color: var(--copper-500); background: var(--pricing-featured-cta-hover-bg); color: var(--pricing-featured-cta-text); }

}

@layer responsive {
  @media (max-width: 1040px) {
    .hero { grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr); gap: 2rem; }
    .hero-art { min-height: 470px; }
    .ownership { grid-template-columns: .6fr 1fr; }
    .ownership-mark { grid-row: span 2; }
    .ownership-list { grid-column: 2; }
    .care-callout { grid-template-columns: 1fr 1fr; }
    .care-callout > a { grid-column: 2; }
  }

  @media (max-width: 820px) {
    :root { --header-h: 72px; }

    /* Progressive-enhancement baseline: if app.js fails or is disabled,
       keep ordinary navigation visible rather than exposing a dead hamburger. */
    html:not(.js) .site-header { height: auto; }
    html:not(.js) .header-inner {
      min-height: var(--header-h);
      height: auto;
      flex-wrap: wrap;
      gap: .35rem 1rem;
      padding-block: .65rem;
    }
    html:not(.js) .primary-nav {
      width: 100%;
      order: 3;
      justify-content: flex-start;
      flex-wrap: wrap;
      gap: .25rem 1rem;
      padding-bottom: .4rem;
    }
    html:not(.js) .primary-nav a { font-size: .76rem; }
    html:not(.js) .nav-cta { margin-left: 0; }

    .js .header-inner {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 0;
    }
    .js .brand { margin: 0; }
    .js .nav-toggle {
      display: block;
      order: 3;
      flex: 0 0 auto;
      margin: 0 .45rem 0 auto;
    }
    .js .header-cta {
      order: 4;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      align-self: center;
      margin: 0;
      padding: .62rem .78rem;
      font-size: .72rem;
      transform: translateY(-1px);
    }
    .js .primary-nav {
      position: fixed;
      inset: var(--header-h) 0 0;
      padding: 3rem var(--page-pad);
      flex-direction: column;
      align-items: stretch;
      background: rgba(0,19,34,.98);
      transform: translateX(100%);
      visibility: hidden;
      transition: transform .25s ease, visibility .25s ease;
    }
    .js .primary-nav.is-open { transform: none; visibility: visible; }
    .js .primary-nav a { padding: .85rem 0; font-family: var(--serif); font-size: 1.8rem; }
    .primary-nav .theme-toggle {
      position: static;
      z-index: auto;
      left: auto;
      top: auto;
      display: flex;
      align-items: center;
      align-self: stretch;
      gap: .35rem;
      margin-top: 1.25rem;
      padding-top: 1.25rem;
      border-top: 1px solid var(--line-dark);
      transform: none;
    }

    .hero {
      --hero-caption-offset: 0rem;
      min-height: auto;
      grid-template-columns: 1fr;
      padding-top: 6.75rem;
    }
    .hero-copy { justify-self: start; }
    .hero-art { min-height: 430px; max-width: 580px; width: 100%; justify-self: center; }
    .hero-index { display: none; }
    .intent-strip { flex-wrap: wrap; }

    .why-layout, .services-intro, .faq-layout, .process-section, .contact-section { grid-template-columns: 1fr; }
    .faq-heading { position: static; }
    .principle-rows .principle-item { grid-template-columns: 3rem 1fr; }
    .principle-rows p { grid-column: 2; }
    .pricing-grid { grid-template-columns: 1fr; border: 0; gap: 1rem; }
    .price-card { border: 1px solid var(--line-paper); }
    .price-card.featured { margin: 0; }
    .price-card ul { min-height: auto; }
    .inclusions { grid-template-columns: 1fr; gap: 1rem; }
    .inclusions ul { grid-template-columns: 1fr; }
    .founding-offer, .service-deep-dive-body > section { grid-template-columns: 1fr; }
    .service-deep-dive-body > section > .eyebrow, .service-deep-dive-body > section > h3, .service-deep-dive-body > section > p:not(.eyebrow), .service-deep-dive-body > section > .deep-dive-list { grid-column: 1; }
    .founding-price-parts { max-width: 620px; }
    .ownership { grid-template-columns: 1fr; }
    .ownership-mark { display: none; }
    .ownership-intro, .ownership-list { grid-column: 1; }
    .contact-copy { justify-self: start; }
    .project-note { width: 100%; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  @media (max-width: 560px) {
    .brand-type { display: grid; }
    .brand-tagline { display: none; }
    .hero { padding-top: 5.75rem; }
    .hero h1 {
      margin: .7rem 0 1rem;
      font-size: clamp(2.85rem, 13.5vw, 4.45rem);
      line-height: .94;
    }
    .hero-lede { font-size: 1rem; line-height: 1.45; }
    .hero-actions { gap: .65rem; margin-top: 1.25rem; }
    .hero-art { min-height: 330px; }
    .art-note { right: 0; bottom: 2.5rem; }
    .intent-strip { justify-content: flex-start; gap: .65rem 1rem; font-size: .64rem; }
    .intent-strip span { display: none; }
    .intent-strip p { width: calc(50% - .5rem); }
    .section-kicker { margin-bottom: 3rem; }
    .paper-section, .dark-section, .process-section, .contact-section { padding-block: 5rem; }
    .principle-rows .principle-item { grid-template-columns: 2.4rem 1fr; gap: .7rem; }
    .principle-word { display: none; }
    .founding-price-parts { grid-template-columns: 1fr; gap: .65rem; }
    .founding-plus { display: none; }
    .care-callout { grid-template-columns: 1fr; border-radius: 0 3rem 0 3rem; }
    .care-callout > a { grid-column: 1; }
    .process-copy { justify-self: start; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-meta { align-items: flex-start; flex-direction: column; gap: 1rem; }
  }

  .process-section, .ownership {
    padding-block: clamp(2.75rem, 5.5vw, 5rem);
    gap: clamp(1.5rem, 3vw, 3rem) clamp(2rem, 5vw, 5rem);
  }
  .process-copy .section-kicker { margin-bottom: clamp(1.25rem, 2.5vw, 2.25rem); }
  .process-copy h2, .ownership-intro h2 { margin-top: 0; }
  .process-list li, .ownership-list .ownership-item {
    padding-block: clamp(1rem, 1.5vw, 1.35rem);
  }

  @media (max-width: 820px) {
    .process-copy { justify-self: start; width: 100%; max-width: none; }
    .process-section::before {
      width: min(72%, 30rem);
      height: 2.75rem;
      opacity: .65;
    }
  }

  @media (max-width: 560px) {
    .process-list li, .ownership-list .ownership-item {
      grid-template-columns: 1.5rem minmax(0, 1fr);
      column-gap: .75rem;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  }

  @media print {
    .site-header, .hero-actions, .nav-toggle, .button, .back-to-top, .contact-section, .site-footer { display: none !important; }
    body, .dark-section, .process-section { background: white !important; color: black !important; }
    .process-section::before { display: none; }
    .paper-section, .dark-section, .process-section { padding: 2rem 0; }
  }
}

/* Pricing display: monthly-equivalent price prominently, full two-year contract directly below. */
.price small { font-family: var(--sans); font-size: .34em; font-weight: 700; }

/* Services audience qualification. */
.services-intro .audience-qualifier {
  max-width: 1000px;
  padding-top: 1rem;
  border-top: 1px solid var(--line-paper);
  color: var(--ink-soft);
  font-size: .92rem;
}
.services-intro .audience-qualifier strong {
  color: var(--ink);
}

/* Services hierarchy: decision information first, supporting detail second. */
.managed-service-summary,
.scope-summary {
  width: min(100%, var(--content));
  margin: 2.25rem auto 0;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  border: 1px solid var(--line-paper);
  border-radius: .75rem;
}
.managed-service-summary h3,
.scope-summary h3 { margin-top: .65rem; }
.managed-service-summary-copy,
.scope-summary > p { color: var(--ink-soft); }
.managed-service-summary-copy { display: grid; gap: .9rem; }
.service-deep-dive-secondary { margin-top: 2.25rem; background: var(--paper-deep); }
.service-deep-dive-secondary > summary { padding-block: 1.6rem; }

@media (max-width: 760px) {
  .managed-service-summary,
  .scope-summary { grid-template-columns: 1fr; }
}

/* Founding-client offer feature card. */
.founding-offer {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 72%);
  border-color: rgba(206, 112, 71, .72);
  color: var(--paper);
  box-shadow: 0 22px 60px rgba(0, 19, 34, .16);
}
.founding-offer .eyebrow-dark { color: var(--teal-300); }
.founding-offer h3 { color: var(--paper); }
.founding-price-parts {
  grid-template-columns: minmax(0, 1fr) clamp(2.8rem, 5vw, 4.5rem) minmax(0, 1fr);
  gap: clamp(.75rem, 1.5vw, 1.5rem);
}
.founding-price-parts p {
  min-width: 0;
  align-content: start;
}
.founding-price-parts strong {
  display: block;
  width: 100%;
  color: var(--paper);
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -.035em;
}
.founding-price-parts span:not(.founding-plus) { color: #c7d3d2; line-height: 1.35; }
.founding-price-parts .founding-total {
  grid-column: 1 / -1;
  justify-items: center;
  margin-top: .35rem;
  padding-top: clamp(1rem, 1.8vw, 1.35rem);
  border-top: 1px solid rgba(245, 241, 234, .18);
  text-align: center;
}
.founding-price-parts .founding-total strong {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  letter-spacing: -.025em;
}
.founding-price-parts .founding-total span {
  font-size: .78rem;
  letter-spacing: .035em;
}
.founding-plus {
  display: grid;
  place-items: center;
  align-self: start;
  min-height: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--copper-500) !important;
  font-family: var(--sans);
  font-size: clamp(2.8rem, 5vw, 4.5rem) !important;
  font-weight: 300;
  line-height: .72;
}
.founding-offer-copy {
  padding-top: 1.35rem;
  border-top: 1px solid rgba(245, 241, 234, .18);
  color: #c7d3d2;
}

@media (max-width: 560px) {
  .founding-price-parts { grid-template-columns: 1fr auto 1fr; align-items: start; }
  .founding-plus { display: grid; min-height: 2.6rem; font-size: 2.8rem !important; }
}

/* Supporting Services summary cards. */
.managed-service-summary,
.scope-summary {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, .22);
  box-shadow: 0 12px 34px rgba(0, 19, 34, .055);
}
.managed-service-summary::before,
.scope-summary::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
}
.managed-service-summary {
  border-color: rgba(79, 140, 145, .48);
}
.managed-service-summary::before { background: var(--teal-500); }
.managed-service-summary .eyebrow { color: var(--teal-500); }
.managed-service-summary h3 strong,
.managed-service-summary-copy strong { color: var(--navy-800); }
.scope-summary {
  background: linear-gradient(120deg, rgba(206, 112, 71, .065), rgba(255, 255, 255, .18) 55%);
  border-color: rgba(180, 94, 60, .42);
}
.scope-summary::before { background: var(--copper-500); }
.scope-summary .eyebrow { color: var(--copper-700); }

@media (prefers-color-scheme: dark) {
  .managed-service-summary,
  .scope-summary { background: rgba(255, 255, 255, .035); box-shadow: none; }
  .managed-service-summary { border-color: rgba(130, 183, 183, .34); }
  .managed-service-summary .eyebrow { color: var(--teal-300); }
  .managed-service-summary h3 strong,
  .managed-service-summary-copy strong { color: var(--teal-300); }
  .scope-summary { border-color: rgba(206, 112, 71, .4); }
  .scope-summary .eyebrow { color: var(--copper-500); }
}

/* Section 02 spacing and major-section surface rhythm. */
.services {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.why-section {
  background: var(--surface-light-deep);
  color: var(--theme-text);
  padding-block: clamp(3rem, 6vw, 5rem);
}
@media (prefers-color-scheme: dark) {
  :root:not(:has(#theme-light:checked)) .why-section { background: #103740; }
}
:root:has(#theme-dark:checked) .why-section { background: #103740; }
.why-section .section-kicker {
  color: var(--theme-text-soft);
  border-color: var(--theme-line);
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}
.why-section .why-layout { gap: clamp(1.25rem, 5vw, 5rem); }
.why-section h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
.why-copy {
  max-width: 52ch;
  color: var(--theme-text-soft);
  font-size: 1.08rem;
}
.why-copy .why-close {
  margin-top: 1rem;
  color: var(--theme-text);
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.4;
}

/* Section 04: light-gray persuasion surface, alternating against 03 and 05. */
.principles {
  background: var(--surface-light);
  color: var(--ink);
}
.principles .section-kicker-light {
  color: var(--copper-700);
  border-color: var(--line-paper);
}
.principles .eyebrow { color: var(--teal-500); }
.principles .principle-rows {
  border-color: var(--line-paper);
}
.principles .principle-rows .principle-item {
  border-color: var(--line-paper);
}
.principles .principle-rows p { color: var(--ink-soft); }
.principles .principle-number { color: var(--copper-700); }
.principles .principle-word { color: rgba(8, 43, 87, .055); }

@media (prefers-color-scheme: dark) {
  .principles {
    background: #202b30;
    color: var(--paper);
  }
  .principles .section-kicker-light {
    color: var(--teal-300);
    border-color: var(--line-dark);
  }
  .principles .eyebrow { color: var(--copper-500); }
  .principles .principle-rows,
  .principles .principle-rows .principle-item { border-color: var(--line-dark); }
  .principles .principle-rows p { color: #bdcaca; }
  .principles .principle-number { color: var(--copper-500); }
  .principles .principle-word { color: rgba(79, 140, 145, .07); }
}

/* Keep Section 04 synchronized with the site's explicit theme toggle, regardless of OS preference. */
:root:has(#theme-dark:checked) .principles {
  background: #202b30;
  color: var(--paper);
}
:root:has(#theme-dark:checked) .principles .section-kicker-light {
  color: var(--teal-300);
  border-color: var(--line-dark);
}
:root:has(#theme-dark:checked) .principles .eyebrow { color: var(--copper-500); }
:root:has(#theme-dark:checked) .principles .principle-rows,
:root:has(#theme-dark:checked) .principles .principle-rows .principle-item { border-color: var(--line-dark); }
:root:has(#theme-dark:checked) .principles .principle-rows p { color: #bdcaca; }
:root:has(#theme-dark:checked) .principles .principle-number { color: var(--copper-500); }
:root:has(#theme-dark:checked) .principles .principle-word { color: rgba(79, 140, 145, .07); }

:root:has(#theme-light:checked) .principles {
  background: var(--surface-light);
  color: var(--ink);
}
:root:has(#theme-light:checked) .principles .section-kicker-light {
  color: var(--copper-700);
  border-color: var(--line-paper);
}
:root:has(#theme-light:checked) .principles .eyebrow { color: var(--teal-500); }
:root:has(#theme-light:checked) .principles .principle-rows,
:root:has(#theme-light:checked) .principles .principle-rows .principle-item { border-color: var(--line-paper); }
:root:has(#theme-light:checked) .principles .principle-rows p { color: var(--ink-soft); }
:root:has(#theme-light:checked) .principles .principle-number { color: var(--copper-700); }
:root:has(#theme-light:checked) .principles .principle-word { color: rgba(8, 43, 87, .055); }

/* Pricing-card list presentation. */
.pricing-grid { list-style: none; padding: 0; }
.research-table caption {
  padding: 0 0 1rem;
  color: var(--ink-soft);
  font-weight: 700;
  text-align: left;
}

/* Contact-form validation feedback. */
.field-error {
  margin-top: -.35rem;
  color: #f2b7a6;
  font-size: .84rem;
  font-weight: 700;
}
.field-row input[aria-invalid="true"] { border-color: var(--copper-500); }

/* SPS footer directory: human-readable sitemap and recovery navigation. */
.site-footer {
  padding-top: clamp(4rem, 7vw, 6rem);
}

.footer-grid,
.footer-meta {
  width: min(100%, 1440px);
}

.footer-grid {
  grid-template-columns: minmax(240px, 1.35fr) minmax(170px, .8fr) minmax(220px, 1.15fr) minmax(190px, .9fr);
  gap: clamp(2rem, 4vw, 4.5rem);
}

.footer-column {
  gap: .62rem;
}

.footer-column a,
.footer-meta a {
  color: #d7dfde;
  text-decoration: none;
  text-underline-offset: .2em;
}

.footer-column a:hover,
.footer-column a:focus-visible,
.footer-meta a:hover,
.footer-meta a:focus-visible {
  color: var(--copper-500);
}

.footer-top-link,
.footer-action-link {
  margin-top: .65rem;
  color: var(--teal-300) !important;
  font-weight: 700;
}





.footer-meta {
  margin-top: clamp(3rem, 5vw, 4.5rem);
}

main [id] {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }


}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Mobile navigation must remain a self-contained opaque surface at every scroll position. */
@media (max-width: 820px) {
  .site-header.is-scrolled {
    backdrop-filter: none;
  }

  .js .primary-nav {
    z-index: 110;
    min-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--navy-950);
    box-shadow: inset 0 1px 0 var(--line-dark);
    opacity: 1;
  }

  .primary-nav a {
    color: #e6eceb;
  }
}

/* Form required cues and focus treatment. */
.required-note {
  color: #aebdbc;
  font-size: .82em;
  font-weight: 500;
}

.field-row input:focus-visible,
.field-row select:focus-visible,
.field-row textarea:focus-visible {
  outline: 3px solid var(--teal-300);
  outline-offset: 3px;
  border-color: var(--teal-300);
}

#main {
  scroll-margin-top: var(--header-h);
}

@media (forced-colors: active) {
  .field-row input:focus-visible,
  .field-row select:focus-visible,
  .field-row textarea:focus-visible,
  :focus-visible {
    outline: 3px solid Highlight;
    outline-offset: 3px;
  }
}

/* Pricing-model disclosure spans the full deep-dive section width. */
.service-deep-dive-body > section > .model-details {
  grid-column: 1 / -1;
  width: 100%;
}

/* 404 recovery page ------------------------------------------------------ */
.error-page {
  min-height: 100svh;
  background: var(--navy-950);
  color: var(--paper);
}

.error-page .site-header { background: rgba(0, 19, 34, .96); }

.error-hero {
  min-height: 78svh;
  padding-top: clamp(8rem, 14vh, 11rem);
  padding-bottom: clamp(5rem, 9vw, 8rem);
}

.error-copy h1 {
  margin-top: 1rem;
  font-size: clamp(3.9rem, 8vw, 7.7rem);
  letter-spacing: -.055em;
}

.error-copy h1 em {
  color: var(--copper-500);
  font-weight: 400;
}

.error-lede {
  max-width: 640px;
  margin-top: 2rem;
  color: #c7d3d2;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.error-mark p {
  position: absolute;
  z-index: 3;
  right: 1rem;
  bottom: 4rem;
  color: rgba(245,241,234,.62);
  font-family: var(--serif);
  font-style: italic;
}

.error-recovery {
  padding: clamp(2.5rem, 5vw, 4rem) var(--page-pad);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem clamp(1.25rem, 3vw, 2.75rem);
  background: var(--surface-light-deep);
  color: var(--ink);
}

.error-recovery p {
  width: 100%;
  color: var(--copper-700);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-align: center;
  text-transform: uppercase;
}

.error-recovery a {
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: var(--copper-500);
  text-underline-offset: .25rem;
}

.error-recovery a:hover,
.error-recovery a:focus-visible { color: var(--copper-700); }

.error-footer {
  padding: 1.3rem var(--page-pad);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  background: #000e19;
  color: #8ca09d;
  font-size: .75rem;
}

.error-footer a { color: #d7dfde; text-decoration: none; }
.error-footer a:hover,
.error-footer a:focus-visible { color: var(--copper-500); }

@media (prefers-color-scheme: dark) {
  .error-recovery { background: #182126; color: #edf1f0; }
  .error-recovery a { color: #edf1f0; }
  .error-recovery p { color: var(--copper-500); }
}

@media (max-width: 560px) {
  .error-page .brand-type { display: none; }
  .error-copy h1 { font-size: clamp(3.35rem, 16vw, 5rem); }
  .error-mark p { right: 0; bottom: 2rem; }
  .error-footer { flex-direction: column; }
}

/* Keep the 404 Hero's curved lower boundary visually continuous with
   the recovery section beneath it. */
.error-hero::after {
  background: var(--surface-light-deep);
}

@media (prefers-color-scheme: dark) {
  .error-hero::after {
    background: #182126;
  }
}

/* Section 02 wave: strengthen the authored transparent artwork against the light surface only. */
:root:has(#theme-light:checked) .services-upper::before {
  mix-blend-mode: multiply;
  filter: saturate(1.3) brightness(.8);
}

@media (prefers-color-scheme: light) {
  :root:not(:has(#theme-dark:checked)) .services-upper::before {
    mix-blend-mode: multiply;
    filter: saturate(1.3) brightness(.8);
  }
}

/* Standard MPS expansion: all formerly collapsed SPS content is visible.
   These rules reuse the approved SPS typography, spacing and colors. */
@layer mps-expansion {
  .service-deep-dive,
  .research-details,
  .model-details {
    display: block;
    border-top: 1px solid var(--line-paper);
    margin-top: clamp(2rem, 4vw, 4rem);
    padding-top: clamp(1.5rem, 3vw, 3rem);
  }
  .service-deep-dive-body { display: grid; gap: clamp(3rem, 6vw, 6rem); }
  .service-deep-dive-body > section { padding-block: clamp(1rem, 2vw, 2rem); }
  .expanded-heading {
    font-family: var(--serif);
    font-size: clamp(1.45rem, 2.6vw, 2.4rem);
    font-weight: 400;
    line-height: 1.18;
    margin-bottom: clamp(1rem, 2vw, 1.8rem);
    color: var(--ink);
  }
  .faq-list .faq-primary,
  .faq-list .faq-secondary {
    display: block;
    padding: 1.8rem 0 2.2rem;
    border-bottom: 1px solid var(--line-paper);
    counter-increment: faq-item;
  }
  .faq-list .expanded-heading {
    display: grid;
    grid-template-columns: 2rem minmax(0, 1fr);
    align-items: baseline;
    gap: 1rem;
    margin: 0 0 1rem;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
  }
  .faq-list .expanded-heading::before {
    content: counter(faq-item, decimal-leading-zero);
    color: var(--copper-700);
    font-family: var(--sans);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
  }
  .faq-list article > p { max-width: 780px; padding: 0 0 0 3rem; color: var(--ink-soft); }
  .research-details-body,
  .model-details-body { display: grid; gap: 1.2rem; }
  .research-table-wrap { max-width: 100%; overflow-x: auto; }
}

/* Four-page expansion: additions only. The SPS rules above remain intact. */
@layer mps-adaptation {
  .subpage-hero {
    position: relative;
    min-height: clamp(360px, 52vh, 540px);
    padding: calc(var(--header-h) + clamp(4rem, 7vw, 7rem)) var(--page-pad) clamp(4rem, 7vw, 7rem);
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: radial-gradient(circle at 80% 22%, rgba(79,140,145,.16),transparent 28rem),linear-gradient(145deg,var(--navy-950),#001a2c);
  }
  .about-hero::before {
    content: '';
    position: absolute;
    z-index: 0;
    inset: auto max(var(--page-pad), calc((100% - var(--content)) / 2)) 0 auto;
    width: clamp(12rem, 24vw, 30rem);
    height: min(73%, 28rem);
    pointer-events: none;
    background: url("assets/02-sheltered-current.webp") left bottom / auto 118% no-repeat;
    transform: scaleX(-1);
    opacity: .72;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 45%, transparent 94%),
      linear-gradient(0deg, transparent, #000 14%, #000 72%, transparent);
    mask-composite: intersect;
  }
  @media (max-width: 1100px) {
    .about-hero::before { opacity: .42; }
  }
  @media (max-width: 820px) {
    .about-hero::before {
      right: var(--page-pad);
      width: 8rem;
      height: 4rem;
      background-size: 100% auto;
      opacity: .5;
    }
  }
  @media print {
    .about-hero::before { display: none; }
  }

  .subpage-hero::after { content:'';position:absolute;inset:auto -15% -80% 20%;height:130%;z-index:-1;border:1px solid rgba(79,140,145,.16);border-radius:50%;transform:rotate(-12deg); }
  .subpage-hero-inner { width:min(100%,var(--content));margin-inline:auto;position:relative;z-index:1; }
  .subpage-hero h1 { max-width:960px;margin:1rem 0 1.6rem;font:400 clamp(3.5rem,7vw,7rem)/.98 var(--serif);letter-spacing:-.05em; }
  .subpage-hero h1 em { color:var(--copper-500);font-weight:400; }
  .subpage-hero-inner>p:not(.eyebrow) { max-width:710px;color:#d0dada;font-size:clamp(1rem,1.6vw,1.22rem);line-height:1.65; }
  .subpage-hero .button { margin-top:2rem; }
  .about-intro-grid { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(2rem,7vw,8rem);width:min(100%,var(--content));margin:auto; }
  .about-intro-grid h2 { margin-top:1rem; }
  .about-intro-grid>div:last-child { display:grid;align-content:center;gap:1.5rem;color:var(--ink-soft);font-size:1.1rem; }
  .home-process-bridge { min-height:500px; }
  .process-bridge-art { align-self:center;display:grid;gap:.85rem;padding:2rem;border-left:1px solid var(--line-dark); }
  .process-bridge-art span { padding:.75rem 1rem;border-bottom:1px solid var(--line-dark);font-family:var(--serif);font-size:clamp(1.2rem,2.4vw,2rem); }
  .home-ownership-bridge { grid-template-columns:minmax(200px,.45fr) minmax(0,1fr); }
  .home-ownership-bridge .ownership-mark { min-height:390px; }
  .home-ownership-bridge .ownership-intro { max-width:640px; }
  .home-ownership-bridge .ownership-intro .button { margin-top:1.5rem; }
  .contact-section[aria-labelledby="contact-title"] {
    gap: clamp(1.5rem, 5vw, 5rem);
    padding-inline: max(var(--page-pad), calc((100% - var(--content)) / 2));
  }
  #contact-start { justify-self: start; }
  #contact-start h2 { margin-top: 0; font-size: clamp(2.25rem, 4vw, 3.8rem); }
  #contact-start p { margin-top: .75rem; }
  #contact-start a, #contact-fallback a { color: var(--teal-300); text-underline-offset: .2em; }
  .contact-method { min-inline-size: 0; border: 0; padding: 0; margin: 0; }
  .contact-method legend { padding: 0; margin-bottom: .65rem; font-weight: 700; }
  .field-hint { margin: .4rem 0; color: #bdcaca; font-size: .875rem; }
  .contact-method .field-error, #contact-fallback { margin-top: .55rem; }
  .contact-next { margin-bottom: .85rem; }

  @media (max-width: 820px) {
    .contact-hero {
      min-height: 0;
      padding-block: calc(var(--header-h) + 2rem) 2.5rem;
    }
    .contact-hero h1 { font-size: clamp(2.6rem, 9vw, 4.5rem); }
    .contact-section[aria-labelledby="contact-title"] { padding-block: 2.5rem; }
  }

  .home-contact-bridge {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    padding-inline: max(var(--page-pad), calc((100% - var(--content)) / 2));
  }
  .home-contact-bridge .contact-copy { justify-self: start; }
  .home-contact-bridge .contact-copy h2 { margin-top: 0; font-size: clamp(2.25rem, 4vw, 3.8rem); }
  .home-contact-bridge .contact-copy > p { margin-top: 1rem; color: #bdcaca; font-size: 1.08rem; }
  .home-contact-bridge .contact-copy a { color: var(--teal-300); text-underline-offset: .2em; }
  .home-contact-bridge .field-row .form-note { margin: 0 0 .45rem; }
  .site-header .primary-nav>a[aria-current="page"]::after { transform:scaleX(1);transform-origin:left; }
  .site-header .primary-nav>a { text-decoration:none; }
  .site-header .primary-nav>a[aria-current="page"] { color:var(--paper); }
  .site-header .theme-toggle { position:relative;left:auto;top:auto;transform:none;flex:0 0 auto; }
  @media(min-width:821px) {
    .site-header .header-inner { gap:clamp(.75rem,1.4vw,1.6rem); }
    .site-header .primary-nav { gap:clamp(.75rem,1.4vw,1.65rem);margin-left:auto;min-width:0; }
    .site-header .primary-nav>a { font-size:clamp(.76rem,1vw,.94rem);white-space:nowrap; }
    .site-header .header-cta { margin-left:0;white-space:nowrap; }
  }
  @media(max-width:820px) {
    .subpage-hero { padding-block:calc(var(--header-h) + 3rem) 4rem; }
    .subpage-hero h1 { font-size:clamp(3rem,10vw,5rem); }
    .about-intro-grid { grid-template-columns:1fr; }
    .home-ownership-bridge { grid-template-columns:1fr; }
    .home-ownership-bridge .ownership-mark { min-height:280px;max-height:430px; }
    .home-contact-bridge { grid-template-columns: 1fr; }
    .js .site-header .primary-nav:not(.is-open) { visibility:hidden;transform:translateX(100%);pointer-events:none; }
    .js .site-header .primary-nav.is-open { visibility:visible;transform:translateX(0);pointer-events:auto; }
    .site-header .primary-nav .theme-toggle { position:static;transform:none; }
  }
  @media(max-width:520px) {
    .process-bridge-art { padding:1rem; }
    .home-ownership-bridge .ownership-mark { display:none; }
    .faq-list article>p { padding-left:0; }
  }
}
@layer mps-adaptation {
  .about-intro {
    position: relative;
    isolation: isolate;
    background:
      radial-gradient(ellipse at 8% 100%, rgba(79, 140, 145, .18), transparent 64%),
      radial-gradient(ellipse at 96% 0%, rgba(206, 112, 71, .13), transparent 59%),
      var(--theme-services);
    color: var(--theme-text);
  }
  .about-intro::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    opacity: var(--about-intro-light-accent, 1);
    background:
      radial-gradient(ellipse 104% 118% at 7% 118%, rgba(206, 112, 71, .22), rgba(206, 112, 71, .10) 73%, transparent 100%),
      radial-gradient(ellipse 91% 150% at 0% 124%, transparent 97.8%, rgba(157, 64, 41, .36) 98.5%, transparent 99.2%),
      radial-gradient(ellipse 96% 154% at 0% 136%, transparent 97.8%, rgba(79, 140, 145, .38) 98.5%, transparent 99.2%),
      radial-gradient(ellipse 100% 157% at 0% 147%, transparent 97.8%, rgba(157, 64, 41, .28) 98.5%, transparent 99.2%);
    background-size: min(62%, 58rem) clamp(9rem, 23vw, 21rem);
    background-position: left bottom;
    background-repeat: no-repeat;
    mask-image: linear-gradient(90deg, #000 12%, transparent 64%);
  }

  @media (prefers-color-scheme: dark) {
    :root:not(:has(#theme-light:checked)) .about-intro { --about-intro-light-accent: 0; }
  }
  :root:has(#theme-dark:checked) .about-intro { --about-intro-light-accent: 0; }

  @media (max-width: 820px) {
    .about-intro::before {
      background-size: 92% 8rem;
      mask-image: linear-gradient(90deg, #000 18%, transparent 88%);
    }
  }

  @media print {
    .about-intro::before { display: none; }
  }

  .about-intro-grid>div:last-child { color:var(--theme-text-soft); }

  #ownership {
    position: relative;
    isolation: isolate;
    overflow: clip;
    grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
    align-items: start;
    padding-inline: max(var(--page-pad), calc((100% - var(--content)) / 2));
  }
  #ownership .ownership-intro { grid-column: 1; }
  #ownership .ownership-list { grid-column: 2; }
  #ownership .ownership-mark {
    display: block;
    position: absolute;
    z-index: -1;
    inset: auto auto 0 0;
    width: clamp(15rem, 31vw, 36rem);
    height: min(62%, 34rem);
    min-height: 0;
    background: none;
    border-radius: 0;
    overflow: visible;
    pointer-events: none;
    opacity: .75;
    mask-image: linear-gradient(90deg, #000 26%, transparent 95%),
      linear-gradient(0deg, transparent, #000 18%, #000 69%, transparent);
    mask-composite: intersect;
  }
  #ownership .ownership-mark img {
    object-fit: contain;
    object-position: left bottom;
    transform: scale(1.2);
    transform-origin: left bottom;
  }

  @media (max-width: 820px) {
    #ownership { grid-template-columns: minmax(0, 1fr); }
    #ownership .ownership-list { grid-column: 1; }
    #ownership .ownership-mark {
      width: clamp(9rem, 34vw, 16rem);
      height: 11rem;
      opacity: .22;
    }
  }

  @media print {
    #ownership .ownership-mark { display: none; }
  }
}
@layer mps-adaptation {
  .service-detail-row { background:var(--theme-services);color:var(--theme-text); }
  .service-detail-row:nth-of-type(even) { background:var(--theme-faq); }
  .service-detail-inner { width:min(100%,var(--content));margin-inline:auto; }
  .service-detail-inner>section { display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:1rem clamp(2rem,6vw,7rem);align-items:start; }
  .service-detail-inner>section>.eyebrow,
  .service-detail-inner>section>h3 { grid-column:1; }
  .service-detail-inner>section>p:not(.eyebrow),
  .service-detail-inner>section>ul,
  .service-detail-inner>section>article { grid-column:2; }
  .service-detail-inner h3 { font-size:clamp(1.9rem,3.5vw,3.5rem);line-height:1.05;letter-spacing:-.035em; }
  .service-detail-inner .deep-dive-list { padding-left:1.2rem;display:grid;gap:.7rem; }
  .service-detail-inner .deep-dive-list li::marker { color:var(--copper-700); }
  .service-detail-inner p { max-width:850px; }
  .service-detail-inner .model-details { margin-top:1rem; }
  .service-research-row .service-detail-inner>h2 { margin:1rem 0 2rem; }
  .service-research-row .research-details { max-width:100%; }
  @media(max-width:820px) {
    .service-detail-inner>section { grid-template-columns:1fr; }
    .service-detail-inner>section>.eyebrow,
    .service-detail-inner>section>h3,
    .service-detail-inner>section>p:not(.eyebrow),
    .service-detail-inner>section>ul,
    .service-detail-inner>section>article { grid-column:1; }
  }
}
/* Required unlayered fix: the approved SPS has some unlayered late mobile rules.
   Layered MPS additions cannot override those by specificity alone. */
@media (max-width:820px) {
  html.js .site-header .primary-nav:not(.is-open) {
    display:none;
    visibility:hidden;
    transform:translateX(100%);
    pointer-events:none;
  }
  html.js .site-header .primary-nav.is-open {
    display:flex;
    visibility:visible;
    transform:translateX(0);
    pointer-events:auto;
  }
}

/* Standard MPS narrow-screen header: keep brand, menu and contact CTA
   inside the viewport without sacrificing the persistent CTA. */
@media (max-width: 560px) {
  .site-header .header-inner { gap: 0; }
  .site-header .brand { flex: 0 1 auto; min-width: 0; gap: .45rem; }
  .site-header .brand > img { width: 40px; flex: 0 0 40px; }
  .site-header .brand-name { font-size: .82rem; letter-spacing: .18em; white-space: nowrap; }
  .site-header .brand-tagline { font-size: .43rem; letter-spacing: .12em; white-space: nowrap; }
  .js .site-header .nav-toggle { width: 42px; height: 42px; padding: 9px; margin: 0 .35rem 0 auto; }
  .js .site-header .header-cta { padding: .55rem .62rem; font-size: .68rem; }
}
@media (max-width: 360px) {
  .site-header .brand > img { width: 35px; flex-basis: 35px; }
  .site-header .brand-name { font-size: .76rem; letter-spacing: .13em; }
  .js .site-header .nav-toggle { margin-inline: .2rem; }
  .js .site-header .header-cta { padding-inline: .5rem; }
}

/* Standard MPS: visible service-detail rows must retain readable foreground
   colors in BOTH themes. The original SPS has unlayered paper-section rules,
   which otherwise override the layered MPS adaptations on these new rows. */
.paper-section.service-detail-row {
  background: var(--theme-services);
  color: var(--theme-text);
}
.paper-section.service-detail-row:nth-of-type(even) {
  background: var(--theme-faq);
}
.service-detail-row .service-detail-inner h2,
.service-detail-row .service-detail-inner h3,
.service-detail-row .service-detail-inner .expanded-heading,
.service-detail-row .service-detail-inner p:not(.eyebrow),
.service-detail-row .service-detail-inner li,
.service-detail-row .service-detail-inner strong {
  color: var(--theme-text);
}
.service-detail-row .service-detail-inner .eyebrow {
  color: var(--copper-500);
}
.service-detail-row .service-detail-inner .model-details,
.service-detail-row .service-detail-inner .research-details {
  border-color: var(--theme-line);
}

/* Home Section 02: concise three-card overview; retain the original authored
   Section-2-BGWave.svg behind the cards, with full offer detail on Services. */
.services-upper.home-pricing-wave {
  padding-bottom: clamp(3rem, 5vw, 5rem);
}
.home-pricing-wave .normal-pricing-heading {
  margin-top: 0;
}
.home-pricing-wave .normal-pricing-heading h2 {
  margin-top: .65rem;
  font-size: clamp(2rem, 3vw, 3rem);
}
.home-pricing-wave .pricing-grid {
  margin-top: clamp(3rem, 5vw, 4.5rem);
}

.home-pricing-wave .price-card h3 {
  margin-top: 1.5rem;
  min-height: 0;
}

.home-pricing-wave .price-card ul {
  margin-block: 1.25rem 1.5rem;
}

@media (min-width: 821px) {
  .home-pricing-wave .pricing-grid {
    gap: clamp(.65rem, 1.1vw, 1rem);
  }

  .home-pricing-wave .price-card h3 {
    min-height: 2em;
  }

  /* Match the button baseline while the featured card extends below the others. */
  .home-pricing-wave .price-card.featured {
    padding-bottom: calc(clamp(1.5rem, 3vw, 2.5rem) + 1.5rem);
  }
}

.standalone-pricing {
  width: min(100%, var(--content));
  margin: clamp(3rem, 5vw, 4.5rem) auto 0;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--theme-line);
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 2fr);
  align-items: center;
  gap: 1rem clamp(1.5rem, 4vw, 3rem);
}
.standalone-pricing ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  gap: .75rem;
  list-style: none;
}
.standalone-pricing li { display: grid; }
.standalone-pricing a {
  display: grid;
  gap: .65rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background: #245355;
  color: var(--paper);
  border-radius: .65rem;
  text-decoration: none;
}
.standalone-pricing a:is(:hover, :focus-visible) { background: #2e6062; }
.standalone-pricing a:focus-visible { outline: 3px solid var(--theme-text); outline-offset: 3px; }
.standalone-service-action {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  font-weight: 700;
}
.standalone-pricing a:is(:hover, :focus-visible) .standalone-service-action { text-decoration: underline; text-underline-offset: .2em; }
.standalone-service-price { color: #d6e1e0; font-size: .875rem; }
.standalone-service-price strong {
  margin-inline-end: .35rem;
  color: var(--paper);
  font: 400 clamp(1.75rem, 2.5vw, 2.25rem)/1 var(--serif);
}

@media (max-width: 1040px) {
  .standalone-pricing { grid-template-columns: 1fr; }
}

.selected-work {
  padding-block: clamp(1.75rem, 4svh, 3rem);
  background:
    radial-gradient(ellipse 85% 105% at 12% 100%, rgba(79, 140, 145, .21), transparent 72%),
    radial-gradient(ellipse 62% 130% at 100% 0%, rgba(206, 112, 71, .085), transparent 72%),
    linear-gradient(135deg, #0b2330, #0e2833 58%, var(--navy-900));
  color: var(--paper);
}
.selected-work .section-kicker { margin-bottom: clamp(.85rem, 2vw, 1.5rem); }
.selected-work-inner { width: min(100%, var(--content)); margin-inline: auto; }
.selected-work-inner > h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); }
.selected-work-layout {
  display: grid;
  grid-template-areas: "preview project";
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  align-items: center;
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
}
.selected-work-project {
  grid-area: project;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  background: #0b202b;
  border-radius: .75rem;
}
.selected-work-project h3 {
  margin: .45rem 0 .75rem;
  font-size: clamp(1.95rem, 2.8vw, 2.5rem);
  letter-spacing: -.025em;
}
.selected-work-project > p:not(.eyebrow),
.selected-work-project li {
  color: #d6e1e0;
  font-size: clamp(1.0625rem, 1.2vw, 1.125rem);
  line-height: 1.5;
}
.selected-work-project ul { padding-left: 1.2rem; margin: .85rem 0 1.15rem; }
.selected-work-project li + li { margin-top: .3rem; }
.selected-work-project li::marker { color: var(--teal-300); }

.selected-work-preview { grid-area: preview; min-width: 0; margin: 0; }
.selected-work-laptop {
  padding: clamp(.25rem, .55vw, .45rem);
  padding-bottom: 0;
  background: #18252c;
  border-radius: .75rem .75rem .3rem .3rem;
  box-shadow: 0 0 0 1px rgba(172, 194, 197, .15), 0 1rem 2.25rem rgba(0, 0, 0, .3);
}
.selected-work-laptop img { width: 100%; height: auto; border-radius: .5rem .5rem 0 0; }
.selected-work-laptop::after {
  content: "";
  display: block;
  height: clamp(.4rem, .95vw, .7rem);
  margin-inline: -1%;
  border-radius: 0 0 45% 45% / 0 0 90% 90%;
  background: #29373d;
}

.selected-work + .home-contact-bridge { padding-top: clamp(2rem, 4svh, 3rem); }

@media (max-width: 800px) {
  .selected-work-layout {
    grid-template-areas: "project" "preview";
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Combined Home section 02: labels for Blake's selected three offerings. */
.home-pricing-wave .offer-price-label {
  margin-top: .8rem;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.1vw, 2rem);
  line-height: 1.2;
  letter-spacing: -.02em;
}
.home-pricing-wave .price-card.featured .offer-price-label { color: var(--paper); }

.home-pricing-wave .offer-price-label > .price-note {
  margin-top: 0;
  margin-bottom: .2rem;
}

.home-pricing-wave .offer-price-label + .price-note,
.home-pricing-wave .featured .price-note + .price-note {
  margin-top: .35rem;
}
@media (max-width: 600px) {
  .home-pricing-wave .offer-price-label { font-size: 1.55rem; }
}

/* Shared detailed footer directory, matching the Services page footer. */
.footer-nested-nav,
.footer-contact-block {
  display: grid;
  align-content: start;
  gap: .62rem;
}
.footer-nested-nav {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
}
.footer-actions .footer-nested-nav { margin-top: 2rem; }

/* Match the three Home package cards to the Services comparison-card edges. */
.home-pricing-wave .pricing-grid .price-card {
  border: 1px solid var(--theme-line);
  border-top: 2px solid var(--copper-600);
  box-shadow: 0 5px 18px rgba(0,19,34,.09), 0 20px 44px rgba(0,19,34,.09);
}
.home-pricing-wave .pricing-grid .price-card.featured {
  border-color: rgba(217,142,91,.62);
  box-shadow: 0 16px 36px rgba(0,19,34,.17), 0 30px 72px rgba(0,19,34,.19);
}

/* Complete the Home pricing group: give its horizontal full-picture card
   the same subtle copper-edged treatment as the three package cards. */
#services .care-callout {
  border: 1px solid var(--theme-line);
  border-top: 2px solid var(--copper-600);
  box-shadow: 0 5px 18px rgba(0,19,34,.09), 0 20px 44px rgba(0,19,34,.09);
}
