@layer reset, base, layout, components, motion;
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, p, figure { margin: 0; }
  button, input { font: inherit; }
  img, svg, canvas { max-width: 100%; display: block; }
  a { color: inherit; }
}
@layer base {
  :root { --paper: #ffffff; --ink: #082344; --muted: #526171; --line: #D5DAE5; --accent: #269DE9; --white: #ffffff; --gutter: clamp(1.25rem, 5vw, 5rem); font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif; color: var(--ink); background: var(--paper); font-synthesis: none; }
  body { font-size: 1rem; line-height: 1.6; }
  h1, h2, h3 { font-weight: 700; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
  h1 { font-size: clamp(3.2rem, 6.2vw, 6.6rem); max-width: 11ch; }
  h2 { font-size: clamp(2.4rem, 4.3vw, 4.7rem); }
  h3 { font-size: 1.55rem; letter-spacing: -.02em; }
  p { text-wrap: pretty; }
  a { text-decoration-thickness: 1px; text-underline-offset: .3em; }
  a, button, summary { -webkit-tap-highlight-color: transparent; }
  :focus-visible { outline: 3px solid #269DE9; outline-offset: 5px; }
  section, [id] { scroll-margin-top: 2rem; }
  ::selection { color: var(--ink); background: var(--accent); }
}
@layer layout {
  .wrap { max-width: 1600px; margin-inline: auto; padding-inline: var(--gutter); }
  .section { padding-block: clamp(4.5rem, 8vw, 8rem); }
  .site-header { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
  .brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; line-height: 1.15; font-size: .9rem; font-weight: 700; letter-spacing: -.02em; }
  .brand img { width: 180px; height: auto; flex: 0 0 auto; }
  .main-nav { display: flex; gap: 2.2rem; align-items: center; font-size: .83rem; }
  .main-nav a { text-decoration: none; padding-block: .7rem; }
  .main-nav a:hover { text-decoration: underline; }
  .hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: 3rem; align-items: center; padding-top: 1.5rem; padding-bottom: 5rem; min-height: 660px; }
  .hero-copy { padding-block: 2rem; }
  .hero-copy .lead { max-width: 33rem; margin: 1.8rem 0 2rem; }
  .lead { font-size: 1.06rem; color: var(--muted); line-height: 1.7; }
  .section-top { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 3rem; }
  .section-top h2 { max-width: 13ch; }
  .section-top > p { color: var(--muted); max-width: 24rem; }
  .site-footer { border-top: 1px solid var(--line); padding-block: 2rem; display: flex; justify-content: space-between; gap: 2rem; font-size: .78rem; color: var(--muted); }
  .site-footer p { max-width: 32rem; }
  @media (min-width: 1600px) { .hero { min-height: 760px; } }
  @media (max-width: 900px) { .hero { grid-template-columns: 1fr 1fr; gap: 1.5rem; } h1 { font-size: clamp(2.8rem, 6.3vw, 4.4rem); } }
  @media (max-width: 680px) { .site-header { min-height: 90px; gap: 1rem; } .main-nav { gap: 1rem; font-size: .75rem; } .hero { grid-template-columns: 1fr; padding-top: 0; padding-bottom: 3.5rem; gap: 1.5rem; } h1 { font-size: clamp(3.2rem, 11vw, 5rem); max-width: 12ch; } .hero-copy { padding-top: 1.5rem; } .section-top { display: block; } .section-top > p { margin-top: 1.5rem; } .site-footer { flex-direction: column; } }
}
@layer components {
  .skip-link { position: fixed; z-index: 10; top: .7rem; left: .7rem; padding: .8rem 1rem; background: var(--ink); color: white; transform: translateY(-180%); }
  .skip-link:focus { transform: translateY(0); }
  .eyebrow { display: flex; gap: .8rem; align-items: center; font-size: .67rem; line-height: 1.4; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.7rem; }
  .eyebrow::before { content: ''; height: 2px; width: 32px; background: var(--accent); flex: 0 0 auto; }
  .button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.5rem; border: 1px solid var(--ink); border-radius: 0; padding: 1rem 1.25rem; min-height: 52px; text-decoration: none; font-size: .85rem; line-height: 1.4; }
  .button-primary { background: var(--ink); color: var(--paper); font-weight: 600; }
  .button-primary:not(:disabled):hover { background: #194A81; }
  .button:disabled { opacity: 1; cursor: not-allowed; }
  .button span { font-size: 1.2rem; }
  .hero-art { background: #082344; min-width: 0; aspect-ratio: 1 / 1.15; position: relative; overflow: hidden; color: #A3C9E6; }
  .hero-art > svg { width: 100%; height: 100%; position: absolute; inset: 0; }
  .process { background: var(--ink); color: var(--paper); }
  .process .lead { color: #A3C9E6; }
  @media (max-width: 680px) { .hero-art { aspect-ratio: 1.12; } .eyebrow { margin-bottom: 1.3rem; } }
}
@layer motion {
  @media (prefers-reduced-motion: no-preference) { .button, .main-nav a { transition: background-color .18s ease; } }
}
@layer components {
  .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; }
  summary { font-size: .82rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; padding-block: .9rem; }
  details { border-bottom: 1px solid var(--line); margin-top: 1rem; }
  summary { cursor: pointer; list-style: none; border-top: 1px solid var(--line); }
  summary::-webkit-details-marker { display: none; }
  summary span { font-size: 1.3rem; font-weight: 400; }
  details[open] > summary span { transform: rotate(45deg); }
  .detail-copy { padding: .4rem 0 1.2rem; font-size: .88rem; color: var(--muted); }
  .detail-copy p + p { margin-top: .8rem; }
}
@layer components {
  .about { border-top: 1px solid var(--line); }
  .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
  .about-grid p + p { margin-top: 1.3rem; color: var(--muted); font-size: .95rem; }
  .large-copy { font-size: clamp(1.6rem, 2.3vw, 2.5rem); line-height: 1.3; letter-spacing: -.03em; max-width: 22ch; }
  .services { padding-top: 1rem; }
  .services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .services-grid article { display: flex; flex-direction: column; border-top: 1px solid var(--ink); padding-top: 1.5rem; }
  .service-number { font-size: .67rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 2.7rem; }
  .services-grid h3 { margin-bottom: 1rem; }
  .services-grid p { font-size: .9rem; color: var(--muted); padding-bottom: 2rem; }
  .service-foot { margin-top: auto; border-top: 1px solid var(--line); padding-top: 1rem; color: var(--muted); font-size: .72rem; }
  .process .section-top > p { color: #A3C9E6; }
  .journey-art { position: relative; overflow: hidden; aspect-ratio: 900 / 580; background: #082344; color: #D5DAE5; }
  .journey-art > svg { width: 100%; height: 100%; }
  .process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
  .process-step { border-top: 1px solid #3D89C8; padding-top: 1.4rem; }
  .process-step > span { color: #269DE9; font-size: .74rem; display: block; margin-bottom: 1.7rem; }
  .process-step h3 { font-size: 1.5rem; line-height: 1.2; margin-bottom: 1rem; }
  .process-step p { color: #A3C9E6; font-size: .9rem; }
  .faq { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; }
  .faq-items details { margin: 0; border-bottom: 0; }
  .faq-items details:last-child { border-bottom: 1px solid var(--line); }
  .faq-items summary { padding-block: 1.5rem; font-size: .94rem; }
  .faq-items summary span { flex: 0 0 auto; }
  .contact { background: var(--accent); }
  .contact h2 { font-size: clamp(3.7rem, 8vw, 8rem); }
  .contact-bottom { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-top: 2.5rem; }
  .contact-bottom > p { line-height: 1.6; }
  @media (max-width: 800px) { .about-grid { gap: 2rem; } .services-grid, .process-steps { gap: 1.4rem; } .faq { gap: 2rem; } .process-step h3 { font-size: 1.3rem; } }
  @media (max-width: 680px) { .about-grid, .faq { grid-template-columns: 1fr; gap: 2.3rem; } .services-grid, .process-steps { grid-template-columns: 1fr; gap: 2rem; } .service-number { margin-bottom: 1.5rem; } .process-step { display: flex; gap: 1.5rem; } .journey-art { aspect-ratio: 1; } .journey-art > svg { width: 155%; max-width: none; margin-left: -28%; } .contact-bottom { align-items: start; flex-direction: column; } .contact h2 { font-size: clamp(3.2rem, 11.8vw, 5rem); } }
}
@layer components {
  [hidden] { display: none !important; }
  .menu-button { background: transparent; color: var(--ink); border: 1px solid var(--line); min-height: 44px; min-width: 70px; font-size: .8rem; cursor: pointer; }
  @media (max-width: 680px) { .site-header { flex-wrap: wrap; padding-block: 1.3rem; } .main-nav { width: 100%; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1rem; } .main-nav a { min-height: 44px; display: flex; align-items: center; } .site-header[data-enhanced] .main-nav { flex-direction: column; align-items: stretch; border-top: 1px solid var(--line); padding-top: .8rem; } }
}
@layer motion {
  .motion-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
  .motion-toggle { position: absolute; z-index: 3; right: 1.2rem; top: 3.5rem; color: var(--ink); background: var(--paper); border: 1px solid var(--ink); padding: .65rem .8rem; min-height: 44px; font-size: .7rem; cursor: pointer; }
}
@layer components {
  .hero-art.has-source-poster { background: #082344; color: var(--ink); }
  .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
}
@layer base {
  h1, h2, h3 { overflow-wrap: anywhere; }
}
@layer components {
  .hero-copy, .about-grid > *, .services-grid > *, .faq > * { min-width: 0; }
  .button { display: inline-grid; grid-template-columns: minmax(0, 1fr) auto; max-width: 100%; text-align: left; overflow-wrap: anywhere; }
}
/* Verified October 22 ESA proposal: black cover, white pages, navy type, azure rules. */
@layer components {
  h2, h3 { color: #194A81; }
  .site-header, .hero { color: #fff; max-width: none; padding-inline: max(var(--gutter), calc((100vw - 1440px) / 2)); }
  .hero { padding-top: 2rem; padding-bottom: 5rem; }
  .hero .eyebrow { color: #4AA0D9; }
  .hero .button-primary { background: #269DE9; border-color: #269DE9; color: #082344; }
  .hero .button-primary:not(:disabled):hover { background: #A3C9E6; }
  .hero-art.has-source-poster { color: #fff; }
  .site-header .menu-button { color: white; border-color: #3D89C8; }
  .section-top { padding-bottom: 1.7rem; border-bottom: 2px solid #269DE9; }
  .eyebrow, .service-number { color: #194A81; }
  .services-grid article { border-top: 2px solid #269DE9; }
  .process { background: #082344; color: white; }
  .process h2, .process h3 { color: white; }
  .process .eyebrow { color: #A3C9E6; }
  .process-step > span { color: #4AA0D9; font-weight: 700; }
  .contact { background: #EAF4FB; border-top: 2px solid #269DE9; }
  .contact h2 { color: #082344; }
  @media (max-width: 680px) { .brand img { width: 150px; } .site-header { min-height: 114px; } .hero { padding-top: .5rem; } }
}

@layer components {
  .booking-status { display: block; margin-top: .5rem; font-size: .7rem; color: inherit; }
  .process-cta { margin-top: 2.5rem; }
  .process-cta .button-primary { background: white; color: var(--ink); }
  .audience-examples { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
  .audience-examples > p { margin-block: 1rem 2rem; color: var(--muted); }
  .audience-examples h3 { font-size: 1.25rem; margin-bottom: .8rem; }
  .audience-examples article p { color: var(--muted); font-size: .95rem; }
}

@layer components {
  .collaboration-photo { margin-top: 3rem; }
  .collaboration-photo img { width: 100%; height: auto; max-height: 580px; object-fit: cover; object-position: center 42%; }
  .service-photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: 1.5rem; }
  .services-grid article:first-child .service-photo { object-position: center 35%; }
  .services-grid .service-number { margin-bottom: 1.5rem; }
}

/* A full scene carries the opening; core offer stays independent of media. */
@layer components {
  .site-header { min-height: 104px; }
  .brand img { width: 160px; }
  .hero { display: block; min-height: 0; padding: 0; overflow: visible; }
  .hero-stage { position: relative; isolation: isolate; min-height: calc(100svh - 104px); display: flex; align-items: center; padding-inline: max(var(--gutter), calc((100vw - 1440px) / 2)); background: #020b14; }
  .hero-copy { position: relative; z-index: 2; width: 52%; padding-block: 3.5rem; }
  .hero h1 { font-size: clamp(2.8rem, 4.1vw, 4.1rem); max-width: 21ch; line-height: 1.07; margin-bottom: 1.75rem; }
  .hero .eyebrow { margin-bottom: 1.25rem; }
  .hero-art { --scene-position: right center; position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
  .hero-art::after { content: ''; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, #020b14ed 0%, #020b14d9 30%, #020b1499 45%, #020b1400 68%); pointer-events: none; }
  .hero-art .hero-poster, .hero-art .motion-canvas { object-position: var(--scene-position); }
  .hero-art .motion-toggle { top: 1rem; right: 1rem; }
  .contact h2 { max-width: 17ch; font-size: clamp(2.7rem, 5.6vw, 5.5rem); }
  @media (max-width: 900px) and (min-width: 769px) { .hero-copy { width: 65%; } }
  @media (max-width: 768px) {
    .site-header { min-height: 82px; padding-block: .5rem; }
    .brand img { width: 115px; }
    .hero-stage { min-height: calc(100svh - 82px); align-items: flex-start; }
    .hero-copy { width: 100%; padding-block: 1.5rem 3rem; }
    .hero h1 { font-size: clamp(1.75rem, 7.4vw, 2.65rem); max-width: 24ch; line-height: 1.08; margin-bottom: 1.25rem; }
    .hero .eyebrow { font-size: .59rem; margin-bottom: 1rem; }
    .hero .button { padding: .8rem 1rem; font-size: .8rem; }
    .hero .booking-status { font-size: .65rem; }
    .hero-art { --scene-position: center center; }
    .hero-art::after { background: linear-gradient(180deg, #020b14f5 0%, #020b14cf 25%, #020b1400 57%); }
    .hero-art .motion-toggle { top: auto; bottom: 1rem; right: 1rem; }
  }
}

/* Full-section background examples. Source stills remain under composition review. */
@layer components {
  .scene-stage { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(620px, 56.25vw, 920px); width: 100%; overflow: hidden; background: #031328; color: white; }
  .hero-stage.scene-stage { min-height: min(56.25vw, calc(100svh - 104px)); padding: 0; }
  .scene-stage .agent-scene { position: absolute; z-index: auto; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; overflow: hidden; background: #031328; }
  .scene-window, .scene-window picture { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
  .scene-window picture img, .hero-art.agent-scene .scene-window .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; transform: none; object-fit: cover; object-position: right center; }
  .scene-window::after { content: ''; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(90deg, #031328c9 0%, #031328b3 36%, #03132840 50%, transparent 65%); }
  .hero-art::after { display: none; }
  .scene-overlay { position: relative; z-index: 2; width: 100%; pointer-events: none; }
  .scene-overlay > * { pointer-events: auto; }
  .hero-copy.scene-overlay { width: 48%; margin-left: max(var(--gutter), calc((100vw - 1440px) / 2)); padding-block: 3rem; }
  .hero h1 { max-width: none; margin-bottom: 1.5rem; line-height: 1; text-wrap: wrap; }
  .hero-title-main { display: block; font-size: clamp(3.5rem, 5.25vw, 5.25rem); font-weight: 800; line-height: 1; letter-spacing: -.035em; color: #fff; }
  .hero-title-sub { display: block; margin-top: .35em; font-size: clamp(1.375rem, 2.2vw, 2.25rem); font-weight: 700; line-height: 1.15; letter-spacing: -.015em; color: #9bd8ff; }
  .hero .eyebrow, .scene-stage .eyebrow { color: #9bd8ff; }
  .scene-stage h2 { color: white; }
  .hero-support { background: #031328; }
  .agent-break { background: #031328; color: white; }
  .agent-break-copy { width: 37%; max-width: 31rem; }
  .agent-break h2 { margin-bottom: 1.5rem; }
  .agent-break-copy > p:not(.eyebrow), .process-intro > p:not(.eyebrow) { max-width: 29rem; color: #d1e1ef; font-size: 1.05rem; }
  .process-intro { width: 43%; max-width: 37rem; }
  .process-intro h2 { max-width: 12ch; margin-bottom: 1.5rem; }
  .process-cta { margin-top: 2rem; }
  .process-detail { padding-block: 4rem 5rem; }
  .process-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; margin-top: 0; }
  .process-step > span { margin-bottom: 1rem; }
  .scene-stage .motion-toggle { top: 1rem; bottom: auto; right: 1rem; }
  @media (min-width: 769px) and (max-width: 1100px) {
    .hero-copy.scene-overlay { width: 46%; }
    .hero-title-main { font-size: clamp(3rem, 6vw, 4.5rem); }
    .scene-stage h2 { font-size: clamp(2.4rem, 4.3vw, 3.5rem); }
  }
  @media (max-width: 768px) {
    .scene-stage { min-height: 740px; align-items: flex-start; }
    .hero-stage.scene-stage { min-height: min(calc(100svh - 82px), 177.78vw); }
    .hero-copy.scene-overlay { width: auto; margin: 0; padding: 1.75rem var(--gutter) 21rem; }
    .hero h1 { margin-bottom: 1.25rem; }
    .hero-title-main { font-size: clamp(2.75rem, 13vw, 4rem); }
    .hero-title-sub { font-size: clamp(1.25rem, 5.6vw, 1.625rem); }
    .scene-stage .scene-overlay.wrap { padding-block: 3rem 24rem; }
    .agent-break-copy, .process-intro { width: 100%; max-width: 35rem; }
    .scene-stage h2 { font-size: clamp(2.6rem, 9vw, 4rem); }
    .agent-break-copy > p:not(.eyebrow), .process-intro > p:not(.eyebrow) { font-size: 1rem; max-width: 30rem; }
    .scene-window picture img, .hero-art.agent-scene .scene-window .hero-poster { width: 156%; height: auto; left: -56%; right: auto; top: auto; bottom: 1.5rem; object-fit: contain; object-position: right bottom; mask-image: linear-gradient(180deg, transparent, #000 14%); }
    .scene-window::after { background: linear-gradient(180deg, #031328 0%, #031328f0 35%, #03132866 55%, transparent 72%); }
    .process-detail { padding-block: 3rem; }
    .process-steps { grid-template-columns: 1fr; gap: 2rem; }
    .process-step { display: flex; gap: 1.5rem; }
    .process-step > span { margin: 0; padding-top: .15rem; }
  }
}
@layer motion {
  .scene-stage .scene-window .motion-canvas { object-position: right center; }
  /* Frame-fixture toggle (never rendered for the real videos) stays clear of the taller overlay header. */
  @media (min-width: 681px) { .hero-stage .motion-toggle { top: calc(var(--header-h) + 1rem); } }
}

/* Reviewed video uses the same framing as its approved background poster. */
@layer motion {
  .scene-window .ambient-video[hidden] { display: none; }
  @media (max-width: 768px) {
    .scene-stage .scene-window .ambient-video:not(.ambient-portrait) { width: 156%; height: auto; left: -56%; right: auto; top: auto; bottom: 1.5rem; object-fit: contain; object-position: right bottom; mask-image: linear-gradient(180deg, transparent, #000 14%); }
    .scene-stage .scene-window .ambient-video.ambient-portrait { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
    /* Candidate meeting route reaches farther left; keep that complete route visible. */
    .scene-stage .journey-art .scene-window picture img, .scene-stage .journey-art .scene-window .ambient-video { width: 144%; left: -44%; }
  }
}

/* Agent Team Architecture: illustrative glossy agent hierarchy beside generic integration capabilities. */
@layer components {
  .architecture { --org-line: #3D89C8; --org-card: #082344; --org-ice: #9bd8ff; --org-text: #d1e1ef; position: relative; background: radial-gradient(70% 55% at 22% 0%, #269DE91f, #269DE900 70%), #031328; color: #fff; }
  .architecture h2, .architecture h3 { color: #fff; }
  .architecture .eyebrow { color: var(--org-ice); }
  .architecture .section-top h2 { max-width: none; }
  .architecture .section-top > p { color: var(--org-text); max-width: 34rem; }
  .svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
  .architecture-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(3rem, 5vw, 5rem); align-items: start; }
  .panel-title { font-size: 1.25rem; line-height: 1.25; margin-bottom: 1.75rem; }
  /* Reference-matched branching tree: You -> 3 executive agents (3fr 2fr 3fr) -> 3/2/3 operator agents, each operator 1/8 of the width. */
  .agent-org { --you: 112px; --exec-h: 76px; --op-h: 52px; --stem: 1.25rem; min-width: 0; background: radial-gradient(46% 26% at 50% 14%, #269DE929, #269DE900 70%); }
  .org-note { font-size: .8125rem; color: #A3C9E6; margin-bottom: 2rem; }
  :where(.org-tree, .org-tree ol, .org-tree ul) { list-style: none; margin: 0; padding: 0; }
  .org-root { display: flex; flex-direction: column; align-items: center; }
  .org-human { display: flex; flex-direction: column; align-items: center; gap: .125rem; max-width: 16rem; font-size: .875rem; line-height: 1.4; color: var(--org-text); text-align: center; }
  .org-human strong { color: #fff; font-size: 1.125rem; }
  .org-human .org-rank { color: #A3C9E6; }
  /* The human node is blue like the chart but deliberately faceless: a labelled badge, not an agent. */
  .org-you { display: grid; place-items: center; width: var(--you); height: var(--you); margin-bottom: .625rem; border-radius: 30%; background: radial-gradient(55% 40% at 32% 22%, rgba(227, 245, 255, .95), rgba(227, 245, 255, 0) 72%), linear-gradient(180deg, #9bd8ff, #4fb4f2 62%, #269DE9); box-shadow: inset 0 0 0 1.5px #ffffff8c, inset 0 -6px 14px #194A8159, 0 0 28px #269DE98c; color: #031328; font-size: calc(var(--you) * .27); font-weight: 800; letter-spacing: -.02em; }
  .org-execs::before, .org-execs::after, .org-node--exec::before, .org-operators::before, .org-node--operator::before, .org-node--operator::after { content: ''; position: absolute; background: var(--org-line); }
  .org-execs { position: relative; display: grid; grid-template-columns: 3fr 2fr 3fr; grid-template-rows: auto auto; width: 100%; margin-top: calc(var(--stem) * 2); }
  .org-execs::before { top: calc(var(--stem) * -2); left: calc(50% - 1px); width: 2px; height: var(--stem); }
  .org-execs::after { top: calc(var(--stem) * -1 - 1px); left: 18.75%; right: 18.75%; height: 2px; }
  .org-node--exec { position: relative; display: grid; grid-row: span 2; grid-template-rows: subgrid; min-width: 0; }
  .org-node--exec::before { top: calc(var(--stem) * -1); left: calc(50% - 1px); width: 2px; height: var(--stem); }
  .org-card { --fig: var(--op-h); display: flex; flex-direction: column; align-items: center; padding-inline: .375rem; text-align: center; overflow-wrap: anywhere; }
  .org-node--exec > .org-card { --fig: var(--exec-h); }
  .org-figure { display: flex; align-items: center; justify-content: center; height: var(--fig); margin-bottom: .5rem; }
  .org-avatar { --k: 1; display: block; width: auto; height: calc(var(--fig) * var(--k)); overflow: visible; filter: drop-shadow(0 0 .45rem #269DE98c) drop-shadow(0 .3rem .35rem #031328b3); }
  .agent--pill { --k: .74; } .agent--triangle { --k: .94; } .agent--squircle { --k: .92; } .agent--hexagon { --k: .96; } .agent--small { --k: .84; }
  .org-rank { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; color: var(--org-ice); }
  .org-title { margin-top: .25rem; font-size: 1.0625rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; color: #fff; }
  .org-desc { margin-top: .25rem; font-size: .8125rem; line-height: 1.45; color: var(--org-text); }
  .org-operators { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin-top: calc(var(--stem) * 2); }
  .org-operators::before { top: calc(var(--stem) * -2); left: calc(50% - 1px); width: 2px; height: var(--stem); }
  .org-node--operator { position: relative; min-width: 0; }
  .org-node--operator::before { top: calc(var(--stem) * -1); left: calc(50% - 1px); width: 2px; height: var(--stem); }
  .org-node--operator::after { top: calc(var(--stem) * -1 - 1px); left: 0; right: 0; height: 2px; }
  .org-node--operator:first-child::after { left: calc(50% - 1px); }
  .org-node--operator:last-child::after { right: calc(50% - 1px); }
  .org-node--operator .org-card { padding-inline: .25rem; }
  .org-node--operator .org-rank { color: #A3C9E6; }
  .org-node--operator .org-title { font-size: .875rem; line-height: 1.2; }
  .org-node--operator .org-desc { font-size: .75rem; line-height: 1.35; color: #c4d6e6; }
  /* Dashed peer handoffs under the operator row, as in the reference: open-topped brackets between operator centres (k + .5)/8, arrow at the receiving agent. */
  .org-crosslinks { position: relative; height: 2.75rem; margin-top: .75rem; }
  .org-link { position: absolute; top: 0; border: 2px dashed #9bd8ff; border-top: 0; border-radius: 0 0 6px 6px; }
  .org-link::after { content: ''; position: absolute; top: -.25rem; right: -7px; border: 6px solid transparent; border-top: 0; border-bottom: 9px solid #9bd8ff; }
  .org-link--intake { left: calc(6.25% - 1px); width: calc(37.5% + 2px); height: 2.5rem; }
  .org-link--estimates { left: calc(56.25% - 1px); width: calc(12.5% + 2px); height: 1.5rem; }
  .org-handoffs { display: grid; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; font-size: .8125rem; line-height: 1.45; color: var(--org-text); }
  .org-handoffs li::before { content: ''; display: inline-block; width: 1.5rem; margin-right: .625rem; vertical-align: middle; border-top: 2px dashed #9bd8ff; }
  .org-handoffs strong { color: #fff; }
  .agent-org, .integration-panel { overflow-wrap: anywhere; }
  .integration-panel { min-width: 0; }
  .integration-intro { color: var(--org-text); font-size: .9375rem; margin-bottom: 1.25rem; }
  /* Full-width grid of integration options: grouped columns of white tiles. Official logos are unaltered; other services use a clean text identity. */
  .integration-panel .integration-intro { max-width: 46rem; }
  .integration-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); gap: 1.75rem 2rem; }
  .integration-group-title { margin-bottom: .625rem; padding-bottom: .5rem; border-bottom: 1px solid #1d3445; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; color: #A3C9E6; }
  .integration-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin: 0; padding: 0; list-style: none; }
  .integration-tile { display: flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: .5rem .625rem; border-radius: 8px; background: #fff; color: #082344; font-size: .875rem; font-weight: 700; line-height: 1.2; text-align: center; overflow-wrap: anywhere; }
  .integration-tile--logo img { display: block; width: auto; height: auto; max-height: 2.25rem; max-width: 100%; object-fit: contain; }
  .integration-tile--icon { justify-content: flex-start; gap: .5rem; text-align: left; }
  .integration-tile--icon img { flex: none; display: block; width: 1.5rem; height: 1.5rem; object-fit: contain; }
  .integration-note { margin-top: 1.5rem; max-width: 52rem; font-size: .8125rem; color: #A3C9E6; }
  @media (max-width: 1199px) {
    .architecture-grid { grid-template-columns: minmax(0, 1fr); }
    .agent-org { --you: 96px; --exec-h: 68px; --op-h: 46px; }
  }
  /* Phones and narrow tablets: a readable outline in DOM order. Rails meet character centres; ranks still shrink by tier. */
  @media (max-width: 768px) {
    .agent-org { --you: 72px; --exec-h: 52px; --op-h: 38px; }
    .org-root { align-items: stretch; }
    .org-human { display: grid; grid-template-columns: var(--you) minmax(0, 1fr); column-gap: .875rem; align-items: center; max-width: none; text-align: left; }
    .org-you { grid-row: span 3; margin: 0; }
    .org-execs { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 1.5rem; width: auto; margin: 1.25rem 0 0 calc(var(--you) / 2 - 1px); padding-left: 1.25rem; }
    .org-execs::before, .org-execs::after, .org-operators::before { display: none; }
    .org-node--exec { display: block; grid-row: auto; }
    .org-node--exec::before { top: calc(var(--exec-h) / 2 - 1px); left: -1.25rem; width: 1.25rem; height: 2px; }
    .org-node--exec::after { content: ''; position: absolute; top: -1.5rem; left: -1.25rem; width: 2px; height: calc(100% + 1.5rem); background: var(--org-line); }
    .org-node--exec:first-child::after { top: -1.25rem; height: calc(100% + 1.25rem); }
    .org-node--exec:last-child::after { height: calc(1.5rem + var(--exec-h) / 2 + 1px); }
    .org-card { display: grid; grid-template-columns: calc(var(--fig) * 1.3) minmax(0, 1fr); column-gap: .75rem; align-items: start; padding: 0; text-align: left; }
    .org-figure { grid-row: span 3; margin: 0; }
    .org-operators { display: grid; grid-auto-flow: row; grid-auto-columns: auto; gap: 1rem; margin: 1rem 0 0 calc(var(--exec-h) * .65 - 1px); padding-left: 1.125rem; }
    .org-node--operator::before { top: calc(var(--op-h) / 2 - 1px); left: -1.125rem; width: 1.125rem; height: 2px; }
    .org-node--operator::after, .org-node--operator:first-child::after { top: -1rem; left: -1.125rem; right: auto; width: 2px; height: calc(100% + 1rem); }
    .org-node--operator:last-child::after { right: auto; height: calc(1rem + var(--op-h) / 2 + 1px); }
    .org-node--operator .org-card { padding: 0; }
    .org-crosslinks { display: none; }
    .org-handoffs { margin-top: 1.5rem; }
  }
}

/* Platforms: where an agent team can run. Typographic cards, no vendor marks; drafts appear only in private review builds. */
@layer components {
  .platforms .section-top > p { max-width: 34rem; }
  .platform-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
  .platform-card { height: 100%; padding: 1.5rem; border: 1px solid #D5DAE5; border-top: 3px solid #269DE9; background: #fff; }
  .platform-chip { margin-bottom: .75rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #194A81; }
  .platform-card h3 { margin-bottom: .625rem; font-size: 1.375rem; color: #082344; }
  .platform-text { font-size: .9375rem; line-height: 1.55; color: var(--muted); }
  .platform-card--draft { border: 2px dashed #3D89C8; }
  .draft-flag { display: inline-block; margin-bottom: .75rem; padding: .25rem .5rem; background: #EAF4FB; font-size: .75rem; font-weight: 700; color: #194A81; }
  .platforms-note { margin-top: 1.5rem; max-width: 46rem; font-size: .8125rem; color: var(--muted); }
}

/* Agent-team polish: prominent light ESA logo over the opening scene (Loom-legible), broad hero support, 12px type floor, navy footer. */
@layer components {
  /* Header height follows the logo (600x337 art, ratio .5617) plus .75rem above and below. */
  :root { --logo-w: clamp(232px, 18vw, 280px); --header-h: calc(var(--logo-w) * .5617 + 1.5rem); }
  @media (max-width: 1199px) { :root { --logo-w: 208px; } }
  @media (max-width: 768px) { :root { --logo-w: 184px; } }
  @media (max-width: 680px) { :root { --logo-w: clamp(148px, 45vw, 176px); --header-h: calc(var(--logo-w) * .5617 + .5rem); } }
  .site-header { position: absolute; inset: 0 0 auto; z-index: 5; isolation: isolate; min-height: var(--header-h); padding-block: 0; background: transparent; border-bottom: 0; }
  .site-header { pointer-events: none; }
  .site-header > * { pointer-events: auto; }
  .site-header::before { content: ''; position: absolute; z-index: -1; inset: 0 0 -2rem; pointer-events: none; background: linear-gradient(180deg, #031328e6 0%, #031328a6 55%, #03132800 100%); }
  .brand img { width: var(--logo-w); }
  .main-nav { gap: 2rem; font-size: .875rem; font-weight: 500; letter-spacing: .01em; }
  .main-nav a { color: #EAF4FB; }
  .main-nav a:hover { color: #fff; text-decoration-color: #269DE9; text-decoration-thickness: 2px; text-underline-offset: .45em; }
  .hero { background: #031328; }
  .hero-stage.scene-stage { min-height: min(56.25vw, 100svh); }
  .hero-copy.scene-overlay { padding-block: calc(var(--header-h) + 2rem) 3rem; }
  .hero-sub { max-width: 34rem; margin-bottom: 2rem; font-size: 1.125rem; line-height: 1.55; color: #d1e1ef; }
  .hero-support { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-block: clamp(3rem, 5vw, 4.5rem); border-top: 0; color: #fff; }
  .hero-statement { max-width: 24ch; font-size: clamp(1.5rem, 2.2vw, 2.25rem); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; text-wrap: balance; }
  .hero-values { list-style: none; margin: 0; padding: 0; }
  .hero-values li { padding-block: 1rem; border-top: 1px solid #49627a; font-size: 1rem; line-height: 1.55; color: #d1e1ef; }
  .hero-values li:last-child { border-bottom: 1px solid #49627a; }
  .hero-values strong { display: block; margin-bottom: .25rem; font-size: 1.0625rem; color: #fff; }
  .eyebrow { font-size: .75rem; }
  .eyebrow, .hero-statement { overflow-wrap: anywhere; }
  .booking-status, .hero .booking-status { font-size: .8125rem; text-wrap: balance; }
  .service-number, .process-step > span { font-size: .75rem; }
  .button, .hero .button { min-height: 48px; padding: .875rem 1.5rem; font-size: .9375rem; line-height: 1.3; }
  .button span { font-size: 1.05rem; line-height: 1; }
  .contact-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 2rem; align-items: end; }
  .contact-bottom > p { grid-row: span 2; max-width: 40rem; }
  .contact-bottom .booking-status { grid-column: 2; }
  .about :focus-visible, .services :focus-visible, .faq :focus-visible, .contact :focus-visible { outline-color: #194A81; }
  .site-footer { max-width: none; margin: 0; padding-inline: max(var(--gutter), calc((100vw - 1440px) / 2)); border-top: 0; background: #031328; color: #d1e1ef; font-size: .875rem; }
  @media (max-width: 1100px) and (min-width: 681px) { .main-nav { gap: 1.25rem; } }
  /* The larger 184px logo leaves ~630px at 700: tighter link spacing keeps the five links on one row. */
  @media (max-width: 768px) and (min-width: 681px) { .site-header { gap: 1.25rem; } .main-nav { gap: 1rem; } }
  @media (max-width: 768px) {
    .hero-stage.scene-stage { min-height: min(100svh, 177.78vw); }
    .hero-copy.scene-overlay { padding-top: calc(var(--header-h) + 1.25rem); }
    .hero-sub { font-size: 1rem; margin-bottom: 1.5rem; }
    .hero .button { padding: .75rem 1rem; font-size: .875rem; }
    .hero-support { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .contact-bottom { grid-template-columns: minmax(0, 1fr); row-gap: 1.5rem; }
    .contact-bottom > p { grid-row: auto; }
    .contact-bottom .booking-status { grid-column: 1; margin-top: -1rem; }
  }
  /* Phones keep the header in flow on solid navy: no-JS safe, no shift when the menu script loads. */
  @media (max-width: 680px) {
    .site-header { position: relative; padding-block: .25rem; background: #031328; }
    .site-header::before { display: none; }
    .hero-stage.scene-stage { min-height: min(calc(100svh - var(--header-h)), 177.78vw); }
    /* Reserve the art band (156vw wide, ~88vw tall, top ~14% masked) below the CTA so microcopy never sits on the agents. */
    .hero-copy.scene-overlay { padding-top: 1.75rem; padding-bottom: calc(78vw + 1.5rem); }
    .main-nav { font-size: .875rem; }
    .site-header[data-enhanced] .main-nav { border-top-color: #49627a; padding-bottom: .75rem; }
  }
  /* With scripting on, the phone menu stays collapsed until navigation.mjs enhances it, so the header never shrinks after first paint (CLS). */
  @media (scripting: enabled) and (max-width: 680px) {
    .site-header:not([data-enhanced]) .main-nav { display: none; }
  }
}
