:root {
  --night: #030b18;
  --navy: #07162c;
  --blue: #102a52;
  --cyan: #56f0dc;
  --ice: #b9fff4;
  --gold: #f5c84c;
  --soft-gold: #f4d98a;
  --orange: #ff8a42;
  --paper: #f4f7f7;
  --ink: #102033;
  --muted: #7f91a6;
  --line: rgba(146, 222, 222, .2);
  --max: 1240px;
  --hero-gutter: clamp(24px, 5vw, 96px);
  --type-body: 18px;
  --type-intro: 20px;
  --type-fine: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: #fff;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  font-size: var(--type-body);
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 80px; padding: 12px var(--hero-gutter);
  background: rgba(3, 11, 24, .88); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}
.brand {
  display: block;
  width: 220px;
  height: 52px;
  background: url("assets/rapid-lightning-gold.svg") center / contain no-repeat;
  filter:
    drop-shadow(0 0 .35rem rgba(255, 221, 132, .22))
    drop-shadow(0 .12rem .18rem rgba(0, 0, 0, .58));
}
.brand img { display: none; }
.site-footer img { display: none; }
.site-nav {
  display: flex; gap: 0; align-items: center;
  color: #8e8e93;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--type-fine);
  font-weight: 500;
}
.site-nav a {
  position: relative;
  width: 86px;
  padding: 5px 0;
  text-align: center;
}
.site-nav a.active {
  color: #fff;
}
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 65px;
  height: 2px;
  border-radius: 2px;
  background: #00d4aa;
  transform: translateX(-50%);
}
.site-nav.nav-group-open > a.active {
  color: inherit;
}
.site-nav.nav-group-open > a.active::after {
  display: none;
}
.nav-group { position: relative; width: 86px; }
.nav-group summary { cursor: pointer; list-style: none; padding: 5px 0; text-align: center; }
.nav-group[open] summary,
.nav-group.active summary { position: relative; color: #fff; font-weight: 700; }
.nav-group[open] summary::after,
.nav-group.active summary::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 65px;
  height: 2px;
  border-radius: 2px;
  background: #00d4aa;
  transform: translateX(-50%);
}
.nav-group summary::-webkit-details-marker { display: none; }
.nav-submenu { position: absolute; z-index: 10; top: calc(100% + 8px); left: 50%; display: grid; min-width: 220px; padding: 8px; transform: translateX(-50%); background: rgba(6, 20, 38, .98); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
.nav-submenu a { width: auto; padding: 10px 12px; text-align: left; white-space: nowrap; }
.nav-submenu a::after { display: none; }
.text-link:hover { color: var(--cyan); }
.menu-button { display: none; border: 1px solid var(--line); background: transparent; color: white; padding: 9px 14px; border-radius: 6px; }
.menu-label { display: inline; }
.menu-icon { display: none; position: relative; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
.menu-icon::before,
.menu-icon::after { content: ""; position: absolute; left: 0; width: 100%; height: 100%; border-radius: inherit; background: currentColor; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }
.hero {
  position: relative; min-height: min(860px, calc(100svh - 80px)); display: grid;
  grid-template-columns: minmax(0, 660px) 1fr; align-items: center; gap: 5vw;
  padding: 72px max(24px, calc((100vw - var(--max)) / 2));
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(2, 10, 29, .94) 0%, rgba(2, 10, 29, .78) 32%, rgba(2, 10, 29, .12) 64%, rgba(2, 10, 29, .08) 100%),
    linear-gradient(0deg, rgba(2, 9, 23, .72) 0%, transparent 32%),
    var(--night) url("assets/lunar-rover-hero.jpg") center center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(142,255,236,.55) .7px, transparent .7px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
.hero-mobile-art { display: none; }
.hero-copy { position: relative; z-index: 1; }
.hero .eyebrow { color: #60a5fa; }
.hero h1 { max-width: 760px; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.035em; }
h1 { color: var(--soft-gold); font-size: clamp(2.6rem, 5vw, 4.25rem); }
h2 { font-size: clamp(2.4rem, 5vw, 3.65rem); }
h3 { font-size: 1.6rem; }
.eyebrow { color: var(--cyan); font-weight: 700; letter-spacing: .17em; text-transform: uppercase; font-size: 13px; }
.mobile-break { display: none; }
.tablet-break { display: none; }
.lede { max-width: 610px; margin: 24px 0; color: #cddbe5; font-size: var(--type-intro); }
.trust-line { margin-top: 30px; color: var(--ice); font-size: var(--type-fine); letter-spacing: .04em; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; padding: 13px 20px; border-radius: 7px; font-weight: 700; }
.primary { background: #3b82f6; color: #ffffff; }
.button[aria-disabled="true"] { cursor: default; opacity: .72; }
.secondary { border: 1px solid rgba(152, 255, 238, .36); background: rgba(10, 35, 60, .5); }
.proof-strip {
  display: grid; grid-template-columns: repeat(3, 105px) 1fr; align-items: center; column-gap: 28px; row-gap: 18px;
  padding: 22px max(24px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(90deg, #0e3153, #0a203a); border-block: 1px solid var(--line);
}
.proof-strip div { display: flex; align-items: baseline; justify-content: center; gap: 9px; }
.proof-strip strong { color: var(--gold); font-size: 1.5rem; }
.proof-strip span { color: #fff; font-size: 1.5rem; font-weight: 700; }
.proof-strip p { margin: 0; color: #aebdcc; text-align: right; }
.section { max-width: var(--max); margin: 0 auto; padding: 50px 24px; }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10vw; align-items: center; border-top: 1px solid var(--line); }
.section-copy p:not(.eyebrow), .viewer-callout p:not(.eyebrow), .page-copy, .page-copy p { color: #aebdcc; font-size: var(--type-body); max-width: 670px; }
.page-copy h3:not(:first-of-type) { margin-top: 28px; }
.text-link { display: inline-block; margin-top: 20px; color: var(--ice); font-weight: 700; }
.text-link span { color: var(--gold); padding-left: 5px; }
.product-mark { overflow: hidden; border-radius: 26px; background: transparent; }
.product-mark img { width: 100%; height: auto; margin: 0; border-radius: 26px; filter: drop-shadow(0 28px 26px rgba(0,0,0,.35)); }
.gallery-preview { max-width: none; background: #f5f1e7; color: var(--ink); padding-inline: max(24px, calc((100vw - var(--max)) / 2)); border-top: 1px solid rgba(7, 22, 44, .14); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 38px; }
.gallery-preview .eyebrow { color: #087f89; }
.gallery-preview .text-link { color: #07576c; }
.product-tour { display: grid; gap: clamp(58px, 7vw, 96px); }
.tour-result { display: grid; gap: 28px; }
.tour-result .tour-copy { max-width: 780px; }
.tour-result .tour-image { width: 100%; background: #07182b; }
.webviewer-embed { width: 100%; aspect-ratio: 3840 / 2024; overflow: hidden; border: 1px solid rgba(6, 67, 88, .2); border-radius: 18px; background: #07182b; box-shadow: 0 24px 58px rgba(15, 43, 61, .2); }
.webviewer-embed iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: inherit; }
.viewer-interaction-note { display: flex; grid-column: 1 / -1; align-items: center; gap: 16px; margin-top: -4px; }
.viewer-interaction-note img { display: block; flex: 0 0 66px !important; width: 66px !important; height: 66px !important; border-radius: 12px; object-fit: cover; }
.viewer-interaction-note p { margin: 0; color: #516477; font-size: var(--type-body); line-height: 1.45; }
.tour-breakdown-heading { padding-top: clamp(10px, 2vw, 28px); }
.tour-breakdown-heading h3 { margin: 0; color: var(--ink); font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1.05; }
.tour-row { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, .75fr); gap: clamp(36px, 5vw, 76px); align-items: center; }
.tour-row-reverse { grid-template-columns: minmax(260px, .75fr) minmax(0, 1.65fr); }
.tour-row-reverse .tour-image { order: 2; }
.tour-image { display: block; width: 100%; overflow: hidden; padding: 0; border: 1px solid rgba(6, 67, 88, .2); border-radius: 18px; background: #07182b; box-shadow: 0 24px 58px rgba(15, 43, 61, .2); cursor: zoom-in; appearance: none; }
.tour-image img { display: block; width: 100%; height: auto; }
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 5vh 5vw; background: rgba(1, 7, 15, .84); backdrop-filter: blur(8px); }
.lightbox-panel { position: relative; display: grid; place-items: center; max-width: 80vw; max-height: 80vh; }
.lightbox-image { display: block; max-width: 80vw; max-height: 80vh; border: 1px solid rgba(255, 255, 255, .22); border-radius: 14px; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
.lightbox-close { position: absolute; z-index: 1; top: -22px; right: -22px; display: grid; place-items: center; width: 48px; height: 48px; padding: 0 0 4px; border: 2px solid rgba(255, 255, 255, .8); border-radius: 50%; color: #fff; background: #07182b; box-shadow: 0 8px 24px rgba(0, 0, 0, .45); font: 400 2rem/1 sans-serif; cursor: pointer; }
.lightbox-close:hover,
.lightbox-close:focus-visible { color: #07182b; background: var(--cyan); outline: none; }
body.lightbox-open { overflow: hidden; }
.tour-copy h3 { margin: 0 0 18px; color: var(--ink); font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.05; }
.tour-copy > p:last-child { margin-bottom: 0; color: #516477; font-size: var(--type-body); }
@media (max-width: 640px) {
  .viewer-interaction-note { align-items: flex-start; gap: 12px; }
  .viewer-interaction-note img { flex-basis: 54px !important; width: 54px !important; height: 54px !important; border-radius: 10px; }
}
.feature-grid { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 330px 260px; gap: 18px; }
.feature-card { position: relative; overflow: hidden; border-radius: 18px; background: #0b1a2c; }
.feature-card.tall { grid-row: span 2; }
.feature-card img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.feature-card:hover img { transform: scale(1.025); }
.card-overlay { position: absolute; inset: auto 0 0; display: grid; gap: 4px; padding: 55px 24px 22px; color: white; background: linear-gradient(transparent, rgba(2,9,18,.93)); }
.card-overlay small { color: var(--cyan); text-transform: uppercase; letter-spacing: .12em; }
.card-overlay strong { font-size: 1.35rem; }
.quote-card { padding: 36px; color: white; background: linear-gradient(135deg, #0a3150, #07192e); }
.quote-card p { font-size: 1.8rem; line-height: 1.18; margin: 0 0 25px; }
.quote-card span { color: #a6bbc9; }
.viewer-callout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 7vw; align-items: center; }
.viewer-callout figure { margin: 0; }
.viewer-callout img { border-radius: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.38); }
.final-cta { padding-block: 72px; text-align: center; border-top: 1px solid var(--line); }
.final-cta .product-name { color: var(--soft-gold); }
.final-cta p:not(.eyebrow) { color: #aebdcc; font-size: var(--type-intro); }
.final-cta .button-row { justify-content: center; }
.site-footer { display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; padding: 44px max(24px, calc((100vw - var(--max)) / 2)); background: #020711; border-top: 1px solid var(--line); color: #8fa1b4; font-size: var(--type-fine); }
.site-footer div { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.site-footer a.active { font-weight: 700; }
.site-footer p { width: 100%; margin: 0; text-align: center; color: var(--soft-gold); }

.page-hero { min-height: 420px; display: grid; align-content: end; padding: 90px max(24px, calc((100vw - var(--max)) / 2)); background: radial-gradient(circle at 80% 20%, rgba(37,221,206,.18), transparent 30%), linear-gradient(140deg, #031021, #0b3156); }
.page-hero h1 { max-width: 920px; }
.page-hero p { max-width: 720px; color: #bdced9; font-size: var(--type-intro); }
.contact-section {
  max-width: none;
  padding-inline: max(24px, calc((100vw - var(--max)) / 2));
  background: radial-gradient(circle at 80% 20%, rgba(37,221,206,.18), transparent 30%), linear-gradient(140deg, #031021, #0b3156);
  color: #fff;
}
.contact-section p,
.contact-section a { color: #fff; }
.contact-logo { display: block; width: min(280px, 70vw); height: auto; margin: 26px 0 24px; }
.content-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; }
.info-card { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: #08182c; }
.info-card strong { display: block; color: var(--soft-gold); font-size: 2rem; margin-bottom: 10px; }
.workflow-top { position: relative; display: flex; justify-content: center; align-items: center; height: 190px; margin-bottom: 16px; }
.workflow-label { position: absolute; z-index: 1; top: 0; left: 0; display: flex; align-items: baseline; gap: 14px; white-space: nowrap; }
.workflow-top strong,
.workflow-label h3 { margin: 0; font-size: 2rem; line-height: 1; }
.info-card .workflow-label h3 { color: var(--soft-gold); font-size: 2rem; line-height: 1; }
.workflow-top img { position: absolute; z-index: 0; top: 0; left: 50%; width: 224px; height: 190px; object-fit: contain; object-position: center; border-radius: 8px; transform: translate(-50%, 42px); }
.workflow-card:first-child .workflow-top img { transform: translate(calc(-50% - 18px), 42px); }
.workflow-card:nth-child(2) .workflow-top img { transform: translate(-50%, 32px); }
.workflow-card > p { position: relative; z-index: 2; }
.info-card h3 { font-size: 1.4rem; margin-bottom: 12px; }
.info-card p { color: #d2bd78; font-size: var(--type-body); }
.light { max-width: none; padding-inline: max(24px, calc((100vw - var(--max)) / 2)); background: var(--paper); color: var(--ink); }
.light p { color: #516477; }
.light .info-card h3 { color: #fff; }
.light .info-card .workflow-label h3 { color: var(--soft-gold); }
.light .info-card p { color: #d2bd78; }
.light .workflow-card > p { color: #fff; }
.product-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 7vw; align-items: center; }
.product-hero img { border-radius: 24px; }
.purchase-list-section { padding-top: 48px; }
.download-list { display: grid; gap: 14px; margin-top: 35px; }
.download-row { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 22px 24px; border: 1px solid var(--line); border-radius: 12px; background: #08182c; }
.download-row p { margin: 4px 0 0; color: #93a8ba; }
.purchase-product { color: var(--soft-gold); }
.purchase-platform { margin-left: .22em; color: #c7d3dc; font-weight: 400; }
.availability-status { margin-left: .45em; color: #93a8ba; font-size: var(--type-fine); font-weight: 400; letter-spacing: 0; }
.purchase-meta { display: grid; justify-items: end; gap: 2px; text-align: right; }
.regular-price { color: #fff; }
.intro-price { color: #60a5fa; font-size: 1.2rem; }
.support-hero { min-height: 380px; }
.support-flow { padding-top: 58px; }
.knowledge-heading { font-size: clamp(1.6rem, 2.5vw, 2.1rem); }
.knowledge-section > .page-copy { max-width: 1100px; }
.support-faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 64px; margin-top: 52px; }
.support-faq h3 { margin-bottom: 12px; font-size: 1.35rem; line-height: 1.2; }
.support-faq p { max-width: none; margin: 0; color: #516477; }
.support-step {
  display: grid;
  grid-template-columns: 90px minmax(0, 760px);
  gap: 28px;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
}
.support-step:first-of-type { margin-top: 36px; border-top: 1px solid var(--line); }
.support-number { color: var(--soft-gold); font-size: 2rem; line-height: 1; }
.support-step h3 { margin-bottom: 14px; font-size: 1.6rem; }
.support-step p { color: #aebdcc; }
.support-step .button { margin-top: 12px; }
.notice { padding: 20px; border-left: 3px solid var(--gold); background: rgba(245,200,76,.08); color: #cfdae3; }
.comparison-teaser { max-width: none; padding-inline: max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: .72fr 1.28fr; gap: 6vw; align-items: center; background: linear-gradient(135deg, #06162a, #0c2c4b); }
.comparison-teaser > .comparison-intro { max-width: none; }
.comparison-teaser > div > p:not(.eyebrow) { color: #aebdcc; }
.comparison-teaser img { border-radius: 18px; box-shadow: 0 28px 70px rgba(0,0,0,.38); }
.comparison-case { display: grid; grid-template-columns: .65fr 1.35fr; gap: 5vw; align-items: center; }
.comparison-case .notice { color: #4b5d6c; background: #e8e3cb; border-color: #a57d16; margin-top: 25px; }
.comparison-case figure { margin: 0; }
.comparison-case img { border-radius: 16px; box-shadow: 0 20px 55px rgba(14,31,50,.2); }
.comparison-case figcaption { margin-top: 12px; color: #617283; font-size: var(--type-fine); }
.requirements-intro { max-width: 780px; color: #aebdcc; font-size: var(--type-intro); line-height: 1.7; }
.requirements-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 38px; }
.requirements-card { padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, #0a213a, #071426); }
.requirements-card h3 { color: var(--ice); font-size: 1.8rem; margin-bottom: 22px; }
.requirements-card dl { margin: 0; }
.requirements-card dl div { display: grid; grid-template-columns: 145px 1fr; gap: 18px; padding: 14px 0; border-top: 1px solid rgba(166, 226, 223, .13); }
.requirements-card dt { color: #dce9ef; font-weight: 700; }
.requirements-card dd { margin: 0; color: #9fb2c0; }
.requirements-note { margin-top: 22px; border-left-color: var(--soft-gold); line-height: 1.65; }
.requirements-note strong { color: var(--soft-gold); }
.light-card { background: white; border-color: rgba(20, 52, 71, .15); box-shadow: 0 18px 45px rgba(21, 48, 66, .08); }
.light-card h3 { color: #07576c; }
.light-card p, .capacity-note { line-height: 1.7; }
.capacity-note { max-width: 920px; margin: 26px 0 0; color: #516477; }
.viewer-capacity-note { color: #9fb2c0; }

/* Isolated Noah's Ark Gallery draft. Keep the exhibit quiet and the model factual. */
.gallery-page { background: var(--paper); color: var(--ink); }
.gallery-page .site-header { background: rgba(3, 11, 24, .97); }
.gallery-hero { position: relative; display: grid; grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr); grid-template-rows: minmax(0, 1fr); aspect-ratio: 2 / 1; max-height: 720px; overflow: hidden; background: #07182b; }
.gallery-hero-media { position: relative; grid-column: 1 / -1; grid-row: 1; width: 100%; height: 100%; min-width: 0; overflow: hidden; background: #07182b; }
.gallery-hero-media img { display: block; width: 100%; height: 100%; min-height: 100%; object-fit: cover; object-position: 57% center; }
.gallery-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 11, 24, .72), rgba(3, 11, 24, .16) 62%, rgba(3, 11, 24, .05)); }
.gallery-hero-copy { position: relative; z-index: 1; grid-column: 1 / -1; grid-row: 1; align-self: center; justify-self: start; width: min(720px, calc(100% - 48px)); max-width: none; margin: 0 max(24px, calc((100vw - var(--max)) / 2)); padding: 0; background: transparent; }
.gallery-hero-copy h1 { max-width: 560px; margin-top: 12px; color: #fff; font-size: clamp(2.25rem, 3.8vw, 3.5rem); line-height: 1.04; }
.gallery-hero-subtitle { max-width: 500px; margin: 18px 0 0; color: var(--soft-gold); font-size: clamp(.95rem, 1.25vw, 1.15rem); }
.gallery-hero-subtitle a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.gallery-hero-subtitle strong { white-space: nowrap; }
.gallery-context { background: var(--paper); }
.gallery-context-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr); gap: 6vw; align-items: start; }
.gallery-context .gallery-source-copy { max-width: 760px; }
.gallery-context .gallery-source-copy h2 { color: #735b16; }
.gallery-context .gallery-source-copy p:not(.eyebrow) { margin: 0 0 20px; color: #516477; }
.gallery-context .gallery-source-copy p:last-child { margin-bottom: 0; }
.gallery-context a { color: #735b16; text-decoration: underline; text-underline-offset: 3px; }
.gallery-context-figure { min-width: 0; margin: 0; }
.gallery-context-image-frame { overflow: hidden; aspect-ratio: 1; border: 1px solid rgba(16, 32, 51, .15); border-radius: 18px; box-shadow: 0 20px 55px rgba(14, 31, 50, .2); }
.gallery-context-image-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 53% center; transform: scale(1.12); transform-origin: center; }
.gallery-context-figure figcaption { margin-top: 12px; color: #617283; font-size: var(--type-fine); line-height: 1.45; text-align: left; }
.gallery-footnote { max-width: 980px !important; margin-top: 12px !important; color: #7b8790; font-size: .82rem; line-height: 1.45; }
.gallery-comparison { display: block; }
.comparison-intro { max-width: 760px; }
.comparison-images { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 34px 0 22px; }
.comparison-images figure { margin: 0; }
.comparison-image-trigger { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; appearance: none; }
.comparison-images img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center; border-radius: 16px; box-shadow: 0 20px 55px rgba(0, 0, 0, .28); }
.comparison-image-trigger:focus-visible { outline: 2px solid var(--cyan); outline-offset: 5px; border-radius: 16px; }
.comparison-images figcaption { margin-top: 10px; color: #c5d4dc; font-size: var(--type-fine); }
.comparison-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 24px 0 28px; padding-top: 18px; border-top: 1px solid rgba(166, 226, 223, .22); }
.comparison-link { display: inline-block; }
.gallery-comparison h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3.05rem); }
.gallery-comparison .eyebrow { color: var(--cyan); }
.gallery-comparison .text-link { color: var(--ice); }
.comparison-proof-card { padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: rgba(3, 11, 24, .36); box-shadow: 0 18px 50px rgba(0, 0, 0, .18); }
.comparison-proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 10px; }
.comparison-proof-grid > div { padding: 16px 0; border-top: 1px solid rgba(166, 226, 223, .14); }
.comparison-proof-card strong { display: block; color: var(--soft-gold); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.comparison-proof-card span { display: block; margin-top: 8px; color: #c5d4dc; font-size: var(--type-fine); }
.comparison-proof-note { margin: 18px 0 0; color: #aebdcc; font-size: var(--type-fine); line-height: 1.5; }
.gallery-model { max-width: none; padding-inline: max(24px, calc((100vw - var(--max)) / 2)); background: #eee9d8; scroll-margin-top: 65px; }
.gallery-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 44px; margin-bottom: 30px; }
.gallery-section-heading h2 { color: var(--ink); font-size: clamp(2.1rem, 4vw, 3.15rem); }
.gallery-lede { max-width: 520px; margin: 0; color: #516477; }
.gallery-viewer-frame { overflow: hidden; border: 1px solid rgba(16, 32, 51, .16); border-radius: 18px; background: #0a192f; box-shadow: 0 22px 70px rgba(244, 217, 138, .16); }
.gallery-viewer-frame iframe { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; border: 0; border-radius: inherit; overflow: hidden; }
.gallery-viewer-note { margin: 16px auto 0; color: #617283; text-align: center; }
.gallery-model .viewer-interaction-note { margin-top: 24px; }
.gallery-reconstruction { background: #fff; }
.gallery-source { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: 7vw; align-items: center; background: #fff; }
.gallery-build .eyebrow, .gallery-reconstruction .eyebrow, .gallery-thanks .eyebrow { color: #07576c; }
.gallery-build { padding-bottom: 8px; }
.gallery-reconstruction { padding-top: 8px; padding-bottom: 8px; }
.gallery-thanks { padding-top: 8px; }
.gallery-reconstruction-fact { max-width: 700px; margin-bottom: 20px; color: var(--ink); font-size: var(--type-body); }
.gallery-source-copy h2, .gallery-source-copy p:not(.eyebrow) { max-width: 700px; }
.gallery-source-copy h2 { margin-bottom: 24px; color: var(--ink); font-size: clamp(2rem, 3.6vw, 3.05rem); }
.gallery-source-copy p:not(.eyebrow) { color: #516477; }
.gallery-source-copy .text-link { display: inline-flex; margin-top: 12px; color: #07576c; }
.gallery-credit-card { padding: 28px; border: 1px solid rgba(16, 32, 51, .15); border-radius: 16px; background: #fff; box-shadow: 0 18px 50px rgba(21, 48, 66, .08); }
.gallery-build .gallery-credit-card, .gallery-thanks .gallery-credit-card { background: #f5f1e7; }
.gallery-build .gallery-credit-card h3 { color: var(--ink); }
.gallery-credit-card h3 { margin: 8px 0 12px; color: #07576c; font-size: 1.55rem; letter-spacing: -.02em; }
.gallery-credit-card p:not(.eyebrow) { margin: 0; color: #516477; }
.gallery-credit-card p:not(.eyebrow) + p:not(.eyebrow) { margin-top: 8px; }
.gallery-credit-card .gallery-permission { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(16, 32, 51, .12); color: #735b16; }
.gallery-credit-card .gallery-permission a { color: #07576c; text-decoration: underline; text-underline-offset: 3px; }
.gallery-proof { color: #fff; background: linear-gradient(135deg, #061426, #0a2949); }
.gallery-proof h2 { max-width: 800px; margin-top: 10px; color: #fff; font-size: clamp(2.1rem, 4vw, 3.15rem); }
.gallery-proof-intro { max-width: 760px; margin: 22px 0 0; color: #c5d4dc; font-size: 1.08rem; }
.gallery-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 38px; }
.gallery-stat-grid article { min-height: 138px; padding: 22px 20px; border: 1px solid rgba(166, 226, 223, .16); border-radius: 12px; background: rgba(3, 11, 24, .35); }
.gallery-stat-grid strong { display: block; color: var(--soft-gold); font-size: clamp(1.55rem, 3vw, 2.25rem); line-height: 1.05; }
.gallery-stat-grid span { display: block; margin-top: 12px; color: #b9cbd4; font-size: .94rem; }
.gallery-proof .gallery-proof-tagline { margin: 38px auto 0; color: var(--soft-gold); font-size: clamp(2rem, 4vw, 3.1rem); text-align: center; }
.gallery-proof-note { max-width: 850px; margin: 28px 0 0; color: #b7c8d2; }
.gallery-workflow { background: #fff; }
.gallery-workflow h2 { color: var(--ink); font-size: clamp(2.05rem, 3.8vw, 3.05rem); }
.workflow-line { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 4vw, 54px); margin: 38px 0 26px; padding: 25px 20px; border: 1px solid rgba(16, 32, 51, .12); border-radius: 15px; color: #07576c; background: #f5f1e7; font-weight: 700; }
.workflow-line b { color: var(--cyan); font-size: 1.5rem; }
.gallery-workflow-note { max-width: 860px; margin: 0 auto; color: #617283; text-align: center; }
.gallery-banner-disclaimer { padding: 12px 24px 22px; color: #617283; background: var(--paper); font-size: var(--type-fine); line-height: 1.45; text-align: left; }
.gallery-banner-disclaimer p { margin: 0 auto; }
.gallery-closing { padding: 72px 24px 88px; color: #fff; text-align: center; background: #030b18; }
.gallery-closing h2 { margin: 12px auto 28px; color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); }
.gallery-closing-break { display: none; }
.gallery-closing .button { color: #061426; background: #3b82f6; }

@media (min-width: 821px) {
  .gallery-hero {
    width: 100%;
    max-width: none;
    margin-top: 0;
  }
  .gallery-hero-shade {
    background: linear-gradient(90deg, rgba(3, 11, 24, .55) 0%, rgba(3, 11, 24, .28) 25%, rgba(3, 11, 24, .07) 50%, rgba(3, 11, 24, 0) 70%);
  }
  .gallery-hero-copy {
    transform: none;
  }
  .gallery-hero-media img {
    width: 100%;
    min-width: 100%;
    max-width: none;
    object-position: 63% center;
  }
}

@media (max-width: 820px) {
  .comparison-proof-grid { grid-template-columns: 1fr; }
  .gallery-hero { display: block; aspect-ratio: auto; min-height: 560px; max-height: none; background: #07182b; }
  .gallery-hero-media { position: absolute; inset: 0; width: auto; height: auto; }
  .gallery-hero-media img { min-height: 560px; }
  .gallery-hero-shade { background: linear-gradient(90deg, rgba(3, 11, 24, .72), rgba(3, 11, 24, .16) 62%, rgba(3, 11, 24, .05)); }
  .gallery-hero-copy { position: absolute; inset: 42px 24px auto; width: auto; margin: 0; padding: 0; background: transparent; }
  .gallery-hero-copy h1 { color: #fff; font-size: clamp(1.75rem, 7.5vw, 2.5rem); white-space: nowrap; }
  .gallery-hero-subtitle { color: var(--soft-gold); }
  .gallery-section-heading, .gallery-source { grid-template-columns: 1fr; display: grid; gap: 22px; }
  .gallery-context-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery-viewer-frame iframe { aspect-ratio: 2 / 1; }
  .gallery-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .site-header { min-height: 72px; padding-inline: 18px; }
}

@media (min-width: 521px) and (max-width: 820px) {
  .gallery-hero-copy { transform: translateY(-20px); }
}

@media (max-width: 520px) {
  .gallery-banner-disclaimer { display: none; }
  .gallery-hero { min-height: 500px; }
  .gallery-hero-media img { height: calc(100% + 15px); min-height: 515px; transform-origin: center bottom; transform: translateY(-15px) scale(1.15); }
  .gallery-hero-copy { inset: 6px 24px 24px; align-self: stretch; justify-self: stretch; }
  .gallery-hero-copy h1 { font-size: 28px; }
  .gallery-hero-copy .eyebrow,
  .gallery-hero-copy h1,
  .gallery-hero-subtitle { transform: translateY(20px); }
  .gallery-hero-copy .button-row { position: absolute; right: 0; bottom: -10px; left: 0; justify-content: center; margin-top: 0; }
  .gallery-model { scroll-margin-top: 96px; }
  .gallery-viewer-frame iframe { aspect-ratio: 2 / 1; }
  .gallery-stat-grid { grid-template-columns: 1fr 1fr; }
  .gallery-stat-grid article { min-height: 122px; padding: 18px 14px; }
  .workflow-line { flex-wrap: wrap; gap: 10px 16px; font-size: .95rem; }
  .gallery-closing-break { display: initial; }
}

@media (max-width: 820px) {
  .menu-button { display: grid; place-items: center; width: 48px; height: 42px; padding: 0; }
  .menu-label { display: none; }
  .menu-icon { display: block; }
  .site-nav { display: none; position: absolute; top: 79px; left: 0; right: 0; padding: 22px; flex-direction: column; align-items: center; background: #061426; }
  .site-nav.open { display: flex; }
  .site-nav a { width: 120px; min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 10px 0; }
  .nav-group { width: 120px; }
  .nav-group summary { min-height: 44px; display: flex; align-items: center; justify-content: center; padding: 10px 0; }
  .nav-submenu { position: static; min-width: 0; transform: none; margin: 0 0 8px; box-shadow: none; background: rgba(11, 49, 86, .45); }
  .nav-submenu a { min-height: 38px; padding: 8px 10px; text-align: center; }
  .hero, .split, .viewer-callout, .product-hero, .comparison-teaser, .comparison-case { grid-template-columns: 1fr; }
  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 0 24px 64px;
    background: var(--night);
  }
  .hero::before,
  .hero::after { display: none; }
  .hero-mobile-art {
    display: block;
    width: calc(100% + 48px);
    height: auto;
    max-width: none;
    margin: 0 -24px 38px;
    transform: scale(1.5);
    transform-origin: right center;
  }
  .hero-copy { z-index: 2; margin-top: 0; }
  .mobile-break { display: initial; }
  .proof-strip { grid-template-columns: repeat(3, 1fr); }
  .proof-strip p { grid-column: 1 / -1; text-align: left; }
  .feature-grid { grid-template-columns: 1fr; grid-template-rows: 480px 320px auto; }
  .feature-card.tall { grid-row: auto; }
  .section-heading { align-items: flex-start; flex-direction: column; display: flex; }
  .tour-row { grid-template-columns: 1fr; gap: 26px; }
  .tour-row-reverse { grid-template-columns: 1fr; }
  .tour-row-reverse .tour-image { order: initial; }
  .lightbox { padding: 4vh 3vw; }
  .lightbox-panel,
  .lightbox-image { max-width: 94vw; max-height: 84vh; }
  .lightbox-close { top: -18px; right: -8px; }
  .content-grid { grid-template-columns: 1fr; }
  .requirements-grid { grid-template-columns: 1fr; }
  .requirements-card dl div { grid-template-columns: 1fr; gap: 5px; }
  .support-step { grid-template-columns: 1fr; gap: 14px; }
  .support-faq { grid-template-columns: 1fr; }
  .download-row { grid-template-columns: 1fr; }
  .purchase-meta { justify-items: start; text-align: left; }
}

@media (min-width: 821px) and (max-width: 1100px) {
  .tablet-break { display: initial; }
}

/* Apollo view-control experiment. Kept separate from the approved page styles. */
.apollo-exhibit-module {
  --apollo-control-fill: linear-gradient(180deg, #0a2949, #061426);
  --apollo-control-border: rgba(244, 217, 138, .22);
  position: relative;
}

.apollo-viewer-frame {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(166, 226, 223, .32);
}

.apollo-view-caption {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  left: auto;
  bottom: auto;
  width: min(360px, calc(100% - 32px));
  opacity: 0;
  visibility: hidden;
  padding: 13px 16px 14px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: rgba(3, 11, 24, .75);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .2);
  pointer-events: none;
  transition: opacity 500ms ease, visibility 0s linear 500ms;
  min-height: 86px;
  box-sizing: border-box;
}

.apollo-view-caption.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 500ms ease;
}
.apollo-view-caption p { margin: 0; }
.apollo-view-caption-title {
  color: #00d4aa;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.apollo-view-caption-copy {
  margin-top: 5px !important;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.apollo-control-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
  margin-top: -18px;
  padding: 28px 18px 10px;
  border: 1px solid var(--apollo-control-border);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  color: var(--ink);
  background: var(--apollo-control-fill);
  box-shadow: 0 14px 32px rgba(16, 32, 51, .1);
}

.apollo-mobile-status-band { display: none; }

.apollo-control-kicker {
  margin: 0;
  color: var(--cyan);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.apollo-control-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.apollo-view-control {
  position: relative;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid rgba(166, 226, 223, .32);
  border-radius: 7px;
  color: #fff;
  background: #0a2949;
  font: inherit;
  font-size: .88rem;
  font-weight: 300;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.apollo-view-control:hover,
.apollo-view-control:focus-visible {
  border-color: var(--cyan);
  color: #fff;
  background: #0a2949;
  box-shadow: 0 0 14px rgba(86, 240, 220, .28);
  outline: none;
}
.apollo-view-control[aria-pressed="true"] {
  border-color: var(--cyan);
  color: #fff;
  background: #0a2949;
  box-shadow: 0 0 14px rgba(86, 240, 220, .28);
  outline: none;
  font-weight: 600;
}

.gallery-model .viewer-interaction-note {
  position: relative;
  z-index: 0;
  margin-top: 18px;
}

@media (max-width: 820px) {
  .comparison-images { grid-template-columns: 1fr; }
  .apollo-exhibit-module {
    overflow: hidden;
    border: 1px solid var(--apollo-control-border);
    border-radius: 18px;
    background: var(--apollo-control-fill);
    box-shadow: 0 14px 32px rgba(16, 32, 51, .1);
  }
  .apollo-viewer-frame {
    border: 0;
    border-radius: 17px 17px 0 0;
  }
  .apollo-control-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apollo-control-panel {
    gap: 12px;
    margin-top: 0;
    padding: 20px 13px 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .apollo-view-caption {
    position: absolute;
    top: auto;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    min-height: 0;
    max-height: 64px;
    margin: 0;
    padding: 8px 12px 14px;
    border: 0;
    border-radius: 0;
    background: rgba(3, 11, 24, .65);
    font-size: 11px;
    line-height: 1.25;
    opacity: 0;
    visibility: hidden;
  }
  .apollo-view-caption.is-rock-sample-2 { top: auto; right: 0; left: 0; bottom: 0; }
  .apollo-view-caption-title { display: inline; margin-right: 6px; font-size: .70rem; }
  .apollo-view-caption-copy { display: inline; margin-top: 0 !important; font-size: 11px; line-height: 1.3; }
  .apollo-view-control { min-height: 42px; padding-inline: 8px; font-size: .82rem; }
}

@media (max-width: 520px) {
  .apollo-view-caption { display: none; }
  .apollo-mobile-status-band {
    display: grid;
    height: 56px;
    min-height: 56px;
    max-height: 56px;
    align-items: center;
    padding: 6px 10px;
    overflow: hidden;
    box-sizing: border-box;
    border-top: 0;
    border-bottom: 0;
    color: var(--cyan);
    background: linear-gradient(180deg, #0a2949, #061426);
  }
  .apollo-mobile-select-prompt,
  .apollo-mobile-view-caption {
    grid-area: 1 / 1;
    width: 100%;
    margin: 0;
    padding-left: 11px;
    font-size: 10px;
    line-height: 1.25;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease, visibility 0s linear 300ms;
  }
  .apollo-mobile-select-prompt {
    align-self: center;
    color: var(--cyan);
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .apollo-mobile-select-prompt.is-visible,
  .apollo-mobile-view-caption.is-visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 300ms ease;
  }
  .apollo-mobile-view-caption .apollo-view-caption-title {
    display: inline;
    margin-right: 6px;
    font-size: .62rem;
    letter-spacing: .08em;
  }
  .apollo-mobile-view-caption .apollo-view-caption-copy {
    display: inline;
    margin-top: 0 !important;
    font-size: 10px;
    line-height: 1.25;
  }
  .apollo-control-kicker { display: none; }
  .apollo-view-caption { width: 100%; max-height: 60px; padding: 7px 10px 14px; font-size: 10px; line-height: 1.25; }
  .apollo-view-caption.is-rock-sample-2 { top: auto; right: 0; left: 0; bottom: 0; }
  .apollo-view-caption-title { display: inline; margin-right: 6px; font-size: .62rem; letter-spacing: .08em; }
  .apollo-view-caption-copy { display: inline; margin-top: 0 !important; font-size: 10px; line-height: 1.25; }
  .apollo-control-panel { grid-template-columns: 1fr; gap: 5px; margin-top: 0; padding: 10px 10px 10px; }
  .apollo-control-kicker { margin: 0 0 1px 2px; font-size: .68rem; }
  .apollo-control-grid { gap: 6px; }
  .apollo-view-control { min-height: 38px; font-size: .76rem; }
}
