:root {
  color-scheme: dark;
  --black: #030405;
  --panel: #08101a;
  --panel-soft: #0d1724;
  --line: #2b394b;
  --muted: #a6b1bf;
  --white: #f7f8fb;
  --orange: #ff6900;
  --orange-soft: #ff9a52;
  --focus: #72c9ff;
  --content: 1440px;
}

* { box-sizing: border-box; }
html { background: var(--black); color: var(--white); scroll-behavior: smooth; }
body { margin: 0; min-width: 0; background: var(--black); color: var(--white); font-family: Arial, Helvetica, sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
main:focus { outline: none; }

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: white; color: black; padding: 12px 16px; border-radius: 4px; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.prototype-ribbon {
  align-items: center;
  background: #f57a20;
  color: #130a03;
  display: flex;
  font-size: .82rem;
  font-weight: 800;
  gap: 9px;
  justify-content: center;
  letter-spacing: .08em;
  min-height: 34px;
  padding: 7px 16px;
  position: relative;
  text-transform: uppercase;
  z-index: 60;
}
.prototype-ribbon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #111; }

.site-shell { min-height: 100svh; background: var(--black); }
.customer-header {
  align-items: center;
  background: linear-gradient(180deg, rgba(3,4,5,.96), rgba(3,4,5,.82));
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: grid;
  gap: 20px;
  grid-template-columns: 172px 1fr auto;
  min-height: 82px;
  padding: 12px clamp(18px, 3vw, 48px);
  position: relative;
  z-index: 50;
}
.wordmark { align-items: center; display: flex; height: 54px; overflow: hidden; width: 150px; }
.wordmark img { margin-left: -46px; max-width: none; width: 230px; }
.customer-nav { align-items: center; display: flex; gap: 8px; }
.customer-nav a { align-items: center; display: inline-flex; font-weight: 700; min-height: 48px; padding: 0 17px; position: relative; text-decoration: none; }
.customer-nav a:hover, .customer-nav a[aria-current="page"] { color: var(--orange); }
.customer-nav a[aria-current="page"]::before { background: var(--orange); border-radius: 50%; content: ""; height: 9px; left: 2px; width: 9px; }
.customer-tools { align-items: center; display: flex; gap: 10px; }
.icon-link, .menu-button { align-items: center; background: transparent; border: 1px solid transparent; color: white; display: inline-flex; height: 44px; justify-content: center; min-width: 44px; padding: 8px; text-decoration: none; }
.icon-link:hover, .menu-button:hover { border-color: var(--line); }
.menu-button { display: none; cursor: pointer; }

.solid-button, .outline-button, .quiet-button, .chip-link {
  align-items: center;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: 9px;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  text-decoration: none;
}
.solid-button { background: var(--orange); border: 1px solid var(--orange); color: #0b0602; }
.solid-button:hover { background: #ff812f; }
.outline-button { background: rgba(0,0,0,.42); border: 1px solid #8b97a5; color: white; }
.outline-button:hover { border-color: var(--orange); }
.quiet-button { background: #111923; border: 1px solid var(--line); color: white; }
.quiet-button:hover { border-color: #64768d; }
.sign-in-button { border-color: var(--orange); min-height: 42px; min-width: 106px; padding-block: 9px; }

.home-hero { background: radial-gradient(circle at 78% 12%, rgba(16,67,118,.18), transparent 30%), linear-gradient(180deg, #05080c 0%, #030405 100%); padding: clamp(42px, 5vw, 72px) clamp(20px, 3.4vw, 54px) 34px; }
.hero-copy { align-items: end; display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) auto; margin: 0 auto 30px; max-width: var(--content); }
.hero-copy > div:first-child { max-width: 900px; }
.hero-preview { background: #05080c; border: 1px solid #354256; border-radius: 8px; box-shadow: 0 28px 80px rgba(0,0,0,.42); margin: 0 auto; max-width: var(--content); overflow: hidden; }
.hero-preview > div { display: block; }
.hero-preview img { aspect-ratio: 3 / 2; height: auto; object-fit: contain; width: 100%; }
.hero-preview figcaption { align-items: center; background: #0d141e; border-top: 1px solid #2d3949; color: #dbe3ec; display: flex; gap: 24px; justify-content: space-between; min-height: 68px; padding: 12px 18px; }
.hero-preview figcaption > span { display: grid; gap: 4px; }
.hero-preview figcaption strong { font-size: 1rem; }
.hero-preview figcaption small { color: var(--muted); font-size: .82rem; font-weight: 400; }
.hero-preview:hover { border-color: #5d718a; }
.event-state { align-items: center; display: flex; flex-wrap: wrap; font-size: .92rem; font-weight: 800; gap: 10px; letter-spacing: .07em; margin: 0 0 16px; text-transform: uppercase; }
.event-state span { background: var(--orange); border-radius: 3px; color: #100801; padding: 5px 8px; }
.home-hero h1 { font-size: clamp(2.55rem, 5.1vw, 4.8rem); letter-spacing: -.055em; line-height: .98; margin: 0 0 22px; max-width: 14ch; }
.event-meta { color: #eef1f5; font-size: clamp(1rem, 1.6vw, 1.18rem); line-height: 1.6; margin: 0; max-width: 62ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.sample-note { color: #cbd3de; font-size: .82rem; line-height: 1.5; margin-top: 17px; max-width: 65ch; }
.tour-intro { align-items: center; background: linear-gradient(110deg, #101b29, #0b111a); border: 1px solid #384c64; border-radius: 8px; display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) auto; margin: 22px auto 28px; max-width: var(--content); padding: 22px clamp(20px, 3.4vw, 38px); }
.tour-intro-copy h2 { font-size: clamp(1.35rem, 2.4vw, 2rem); letter-spacing: -.035em; line-height: 1.08; margin: 4px 0 8px; }
.tour-intro-copy p:last-child { color: #c8d3df; line-height: 1.5; margin: 0; max-width: 68ch; }
.tour-intro-action { display: grid; gap: 12px; min-width: min(340px, 100%); }
.tour-kicker { color: var(--orange-soft); font-size: .76rem; font-weight: 800; letter-spacing: .1em; margin: 0; text-transform: uppercase; }
.tour-progress { background: #253448; border-radius: 999px; height: 7px; overflow: hidden; width: 100%; }
.tour-progress span { background: linear-gradient(90deg, var(--orange), #ffad70); border-radius: inherit; display: block; height: 100%; }

.content-section { margin: 0 auto; max-width: var(--content); padding: 22px clamp(20px, 3.4vw, 54px); }
.section-title-row { align-items: end; display: flex; gap: 20px; justify-content: space-between; margin-bottom: 14px; }
.section-title-row h2 { font-size: clamp(1.55rem, 2vw, 2rem); letter-spacing: -.035em; line-height: 1.08; margin: 0; }
.section-title-row p { color: var(--muted); margin: 0; }
.program-rail { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.program-card { background: #080d14; border: 1px solid #344154; border-radius: 6px; display: grid; grid-template-rows: auto 1fr; overflow: hidden; text-decoration: none; }
.program-card img { aspect-ratio: 3 / 2; background: #020304; height: auto; object-fit: contain; width: 100%; }
.program-card > div { background: #0d141e; border-top: 1px solid #2d3949; padding: 18px 20px 20px; }
.program-card h3 { font-size: clamp(1.18rem, 2vw, 1.65rem); letter-spacing: -.025em; line-height: 1.08; margin: 0 0 7px; }
.program-card p { color: #d7dee7; line-height: 1.45; margin: 0; }
.program-card:hover { border-color: var(--orange); }

.reel-rail { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reel-card { background: #080d14; border: 1px solid #344154; border-radius: 6px; display: grid; grid-template-rows: auto 1fr; overflow: hidden; text-decoration: none; }
.reel-card img { aspect-ratio: 3 / 2; background: #020304; height: auto; object-fit: contain; width: 100%; }
.reel-card span { background: #0d141e; border-top: 1px solid #2d3949; font-size: .95rem; font-weight: 800; line-height: 1.2; min-height: 48px; padding: 14px 16px; }
.reel-card:hover { border-color: var(--orange); }

.customer-footer { align-items: center; border-top: 1px solid rgba(255,255,255,.08); color: #8d9aaa; display: flex; font-size: .83rem; gap: 20px; justify-content: space-between; margin: 34px auto 0; max-width: var(--content); min-height: 96px; padding: 26px clamp(20px, 3.4vw, 54px); }
.customer-footer a { min-height: 44px; align-items: center; display: inline-flex; }

.gallery-main { margin: 0 auto; max-width: var(--content); padding: clamp(26px, 4vw, 58px) clamp(18px, 3.4vw, 54px) 70px; }
.gallery-heading { align-items: end; display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr) auto; margin-bottom: 25px; }
.gallery-heading h1 { font-size: clamp(2.45rem, 5vw, 4.7rem); letter-spacing: -.055em; line-height: .98; margin: 0 0 16px; max-width: 13ch; }
.gallery-heading p:not(.event-state) { color: #c9d2de; font-size: 1.06rem; line-height: 1.62; margin: 0; max-width: 72ch; }
.gallery-heading .solid-button { margin-bottom: 3px; }
.gallery-group { margin-top: 40px; }
.gallery-group-heading { align-items: end; display: flex; gap: 22px; justify-content: space-between; margin-bottom: 16px; }
.gallery-group-heading h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -.035em; line-height: 1.08; margin: 4px 0 0; }
.gallery-group-heading > p { color: var(--muted); line-height: 1.45; margin: 0; max-width: 48ch; text-align: right; }
.gallery-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-card { background: #080d14; border: 1px solid #344154; border-radius: 6px; display: grid; grid-template-rows: auto 1fr; overflow: hidden; text-decoration: none; }
.gallery-card.is-approved { border-color: #9b4d1e; outline: 2px solid rgba(255, 105, 0, .72); outline-offset: -2px; }
.gallery-card.is-rd { border-color: #75431f; outline: 2px dotted rgba(255, 105, 0, .72); outline-offset: -2px; }
.gallery-card:hover { border-color: var(--orange); }
.gallery-card-image { aspect-ratio: 3 / 2; background: #020304; border-bottom: 1px solid #2d3949; overflow: hidden; }
.gallery-card-image img { height: 100%; object-fit: contain; width: 100%; }
.gallery-card-body { display: grid; gap: 8px; padding: 16px 18px 18px; }
.gallery-card-meta { align-items: center; display: flex; gap: 10px; justify-content: space-between; }
.gallery-card-step { color: #8f9eaf; font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.gallery-card-body h3 { font-size: 1.15rem; line-height: 1.12; margin: 0; }
.gallery-card-body p { color: #bcc8d6; line-height: 1.45; margin: 0; }
.gallery-card-link { color: var(--orange); font-size: .85rem; font-weight: 800; margin-top: 2px; }

.screen-main { margin: 0 auto; max-width: var(--content); padding: clamp(26px, 4vw, 58px) clamp(18px, 3.4vw, 54px) 70px; }
.screen-topline { align-items: center; display: flex; gap: 12px; justify-content: space-between; margin-bottom: 25px; }
.back-link { align-items: center; color: #d5dde7; display: inline-flex; gap: 8px; min-height: 44px; text-decoration: none; }
.back-link:hover { color: var(--orange); }
.screen-step { color: var(--muted); font-size: .86rem; }
.tour-rail { align-items: center; background: #101925; border: 1px solid #34455a; border-radius: 6px; display: grid; gap: 18px; grid-template-columns: auto minmax(120px, 1fr) auto; margin: -2px 0 30px; padding: 14px 16px; }
.tour-rail-copy { display: grid; gap: 3px; min-width: 180px; }
.tour-rail-copy strong { font-size: .98rem; }
.tour-rail-copy span { color: #aebccc; font-size: .82rem; }
.tour-rail-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.tour-rail-actions a { min-height: 42px; padding: 9px 13px; }
.screen-heading { display: grid; gap: 22px; grid-template-columns: minmax(0, 1fr) auto; margin-bottom: 25px; }
.screen-heading h1 { font-size: clamp(2.15rem, 4vw, 4rem); letter-spacing: -.052em; line-height: 1; margin: 0 0 12px; }
.screen-heading p { color: #c9d2de; font-size: 1.06rem; line-height: 1.62; margin: 0; max-width: 68ch; }
.concept-pill { align-self: start; border: 1px solid #895226; border-radius: 999px; color: var(--orange-soft); font-size: .78rem; font-weight: 800; letter-spacing: .06em; padding: 9px 12px; text-transform: uppercase; white-space: nowrap; }
.screen-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.screen-actions-label { color: var(--muted); font-size: .79rem; font-weight: 800; letter-spacing: .08em; margin-right: 4px; text-transform: uppercase; }
.chip-link { background: #101925; border: 1px solid var(--line); font-size: .9rem; min-height: 44px; padding: 9px 15px; }
.chip-link:hover { border-color: var(--orange); }

.mockup-viewer { background: #070b10; border: 1px solid #354256; border-radius: 8px; box-shadow: 0 24px 70px rgba(0,0,0,.34); overflow: hidden; }
.tour-frame { position: relative; }
.tour-frame.has-tour-nav { align-items: center; display: grid; gap: 16px; grid-template-columns: minmax(96px, 112px) minmax(0, 1fr) minmax(96px, 112px); }
.tour-edge { align-items: center; background: rgba(7,11,16,.94); border: 1px solid #62748b; border-radius: 999px; color: #fff; display: flex; gap: 7px; justify-content: center; min-height: 48px; padding: 8px 12px; text-decoration: none; }
.tour-edge:hover { border-color: var(--orange); color: var(--orange-soft); }
.tour-edge small { font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.tour-edge-spacer { display: block; min-height: 1px; }
.viewer-toolbar { align-items: center; background: #0d141e; border-bottom: 1px solid #2d3949; display: flex; gap: 12px; justify-content: space-between; min-height: 58px; padding: 9px 12px 9px 18px; }
.viewer-toolbar p { color: #c3ceda; font-size: .84rem; line-height: 1.4; margin: 0; }
.image-scroll { background: #020304; max-height: min(74vh, 900px); overflow: auto; overscroll-behavior: contain; }
.image-scroll img { height: auto; margin: 0 auto; width: 100%; }
.image-caption { background: #0d141e; border-top: 1px solid #2d3949; color: #9eabb9; font-size: .8rem; line-height: 1.5; margin: 0; padding: 12px 18px; }

.screen-context { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 24px; }
.context-card { background: #0a111b; border: 1px solid #263445; border-radius: 6px; padding: 22px; }
.context-card h2 { font-size: 1.05rem; line-height: 1.2; margin: 0 0 10px; }
.context-card p { color: #aab6c5; line-height: 1.58; margin: 0; }
.journey-dock { align-items: center; background: #101925; border: 1px solid #34455a; border-radius: 6px; display: flex; gap: 18px; justify-content: space-between; margin-top: 24px; padding: 18px; }
.journey-dock p { color: #bcc7d4; line-height: 1.5; margin: 0; }
.journey-buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

@media (max-width: 980px) {
  .customer-header { grid-template-columns: 148px 1fr auto; gap: 8px; padding-inline: 18px; }
  .customer-nav { gap: 0; }
  .customer-nav a { padding-inline: 11px; }
  .wordmark { width: 135px; }
  .program-rail { grid-template-columns: 1fr; }
  .hero-copy { align-items: start; grid-template-columns: 1fr; }
  .tour-intro { grid-template-columns: 1fr; }
  .tour-intro-action { min-width: 0; }
  .reel-rail { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery-heading { align-items: start; grid-template-columns: 1fr; }
  .gallery-group-heading { align-items: start; flex-direction: column; gap: 7px; }
  .gallery-group-heading > p { max-width: 68ch; text-align: left; }
  .screen-context { grid-template-columns: 1fr; }
  .tour-rail { grid-template-columns: 1fr; }
  .tour-rail-actions { justify-content: flex-start; }
  .tour-frame.has-tour-nav { display: block; }
  .tour-edge, .tour-edge-spacer { display: none; }
}

@media (max-width: 720px) {
  .prototype-ribbon { font-size: .7rem; letter-spacing: .05em; }
  .customer-header { grid-template-columns: 1fr auto; min-height: 72px; }
  .customer-nav { align-items: stretch; background: #080d14; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: none; flex-direction: column; grid-column: 1 / -1; margin: 0 -18px -12px; padding: 8px 18px 14px; }
  .customer-nav.is-open { display: flex; }
  .customer-nav a { min-height: 46px; padding-inline: 18px; }
  .customer-tools { grid-column: 2; grid-row: 1; }
  .menu-button { display: inline-flex; }
  .icon-link { display: none; }
  .sign-in-button { min-width: auto; padding-inline: 13px; }
  .home-hero { padding-block: 38px 28px; }
  .home-hero h1 { font-size: clamp(2.7rem, 13vw, 4rem); max-width: 11ch; }
  .hero-copy { gap: 22px; margin-bottom: 24px; }
  .hero-actions { margin-top: 0; }
  .hero-preview figcaption { align-items: flex-start; flex-direction: column; gap: 4px; }
  .reel-rail { display: grid; grid-auto-columns: 82%; grid-auto-flow: column; grid-template-columns: none; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .reel-card { scroll-snap-align: start; }
  .section-title-row { align-items: start; flex-direction: column; gap: 7px; }
  .tour-intro { margin-inline: 14px; padding: 18px; }
  .tour-intro-action a { width: 100%; }
  .screen-heading { grid-template-columns: 1fr; gap: 12px; }
  .concept-pill { justify-self: start; }
  .viewer-toolbar { align-items: start; flex-direction: column; padding: 12px; }
  .image-scroll { max-height: 66vh; }
  .journey-dock { align-items: stretch; flex-direction: column; }
  .journey-buttons { justify-content: stretch; }
  .journey-buttons a, .journey-buttons button { flex: 1 1 100%; }
  .customer-footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 430px) {
  .sign-in-button { font-size: .86rem; }
  .hero-actions a { width: 100%; }
  .screen-main { padding-inline: 14px; }
  .gallery-main { padding-inline: 14px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-heading h1 { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .gallery-heading .solid-button { width: 100%; }
  .screen-heading h1 { font-size: clamp(2rem, 10.5vw, 2.7rem); }
  .screen-step { display: none; }
  .screen-topline { margin-bottom: 18px; }
  .screen-actions a { width: 100%; }
  .screen-actions-label { width: 100%; }
  .tour-rail-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .tour-rail-actions a { width: 100%; }
}

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