.flagship {
  --ink: #f4f2ed;
  --mute: #a9afb5;
  --line: rgba(255, 255, 255, 0.13);
  --accent: #38f6e8;
  --amber: #ffbe5c;
  background: #0a0c10;
  color: var(--ink);
  font-family: "Helvetica Neue", -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif;
}
.flagship .wrap, .flagship .mast nav { width: min(1352px, 90%); }
.flagship h1, .flagship h2, .flagship h3 { font-family: inherit; font-weight: 550; }
.flagship .logo, .stage figcaption span:first-child { font: 780 28px/.95 "Helvetica Neue", Arial, sans-serif; letter-spacing: -.08em; }
.flagship .mast nav { justify-content: flex-start; gap: 25px; position: relative; min-height: 72px; }
.flagship .mast .logo { margin-right: auto; }
.flagship #site-links { flex-wrap: nowrap; gap: 26px; }
.flagship .lang { font: 600 12px/1.4 var(--sans); }
.menu-toggle { display: none; }

.flagship .hero { background: #040912; }
.flagship .hero canvas { image-rendering: pixelated; }
.flagship .hero-shade {
  background:
    linear-gradient(0deg, rgba(6, 10, 16, 0.88) 0%, rgba(6, 10, 16, 0.25) 45%, rgba(6, 10, 16, 0.18) 100%),
    linear-gradient(90deg, rgba(6, 10, 16, 0.72) 0%, rgba(6, 10, 16, 0.15) 58%, transparent 100%);
}
.flagship .hero-content { padding-bottom: clamp(58px, 8.5svh, 108px); }
.eyebrow, .catalog, .day small, .stage figcaption, .dimension, .specs dt {
  font: 520 11px/1.4 "SFMono-Regular", Menlo, Consolas, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow { color: #9ea6ae; }
.eyebrow.light { display: inline-flex; align-items: center; gap: 9px; color: #dff8f5; letter-spacing: .14em; }
.eyebrow.light i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.flagship .hero-copy { max-width: 820px; }
.flagship .hero h1 { font-size: clamp(54px, 6.4vw, 102px); line-height: 1.04; letter-spacing: -.06em; margin: 20px 0 16px; }
.flagship:lang(en) .hero h1 { max-width: 12ch; }
.flagship .hero-copy > p { color: #dce7e8; line-height: 1.65; max-width: 44ch; }
.flagship .pill { padding: 13px 22px; border-radius: 4px; font-weight: 560; transition: transform .15s ease, background .2s ease; }
.flagship .primary, .reserve-button { background: var(--ink); color: #0b0d11; }
.flagship .primary:hover, .reserve-button:hover { background: var(--accent); color: #041518; }
.flagship .secondary { background: rgba(8, 14, 22, 0.56); border-color: rgba(255, 255, 255, 0.28); backdrop-filter: blur(8px); }
.flagship .water-hint { color: #b9ced0; }
.water-hint a, .section-links a, .ip, .timeline a { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: currentColor; }
.flagship .scroll-link { right: 5%; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, 0.34); border-radius: 50%; display: grid; place-items: center; }

.section { padding: clamp(64px, 6vw, 96px) 0; }
.section-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; margin-bottom: 36px; }
.section-title h2 { font-size: clamp(36px, 3.6vw, 60px); line-height: 1.12; letter-spacing: -.05em; margin-top: 10px; }
.section-title p, .section-links { color: var(--mute); font-size: 14px; }
.section-links { display: flex; gap: 25px; }

/* Section 2: Live 45mm Optical Cube Stage */
.bench { display: grid; grid-template-columns: minmax(0, 56fr) minmax(0, 44fr); border: 1px solid var(--line); }
.stage {
  position: relative;
  margin: 0;
  background: radial-gradient(circle at 50% 42%, #131c24 0%, #090b0f 70%);
  min-height: 490px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 58px 24px 48px;
}
.stage figcaption {
  position: absolute;
  z-index: 3;
  inset: 22px 26px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #c2c8ce;
  font-size: 10px;
}
.stage figcaption span:first-child { font-size: 16px; color: #f2efeb; }

.optical-rig {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}
.caustic-pool {
  position: absolute;
  bottom: -24px;
  width: 340px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(56, 246, 232, 0.32), rgba(255, 190, 92, 0.1) 48%, transparent 72%);
  filter: blur(14px);
  pointer-events: none;
  transition: background .6s ease;
}
.stage[data-model="1"] .caustic-pool {
  background: radial-gradient(ellipse at center, rgba(178, 92, 255, 0.36), rgba(64, 210, 255, 0.12) 48%, transparent 72%);
}
.stage[data-model="2"] .caustic-pool {
  background: radial-gradient(ellipse at center, rgba(46, 245, 168, 0.32), rgba(255, 190, 92, 0.14) 48%, transparent 72%);
}

.glass-cube {
  position: relative;
  width: clamp(230px, 24vw, 310px);
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: #03070e;
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    inset 0 0 24px rgba(180, 245, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 24px 54px rgba(0, 0, 0, 0.65);
}
.glass-cube canvas {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  cursor: crosshair;
}
.glass-cube::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.04) 48%, rgba(255, 255, 255, 0.16) 50%, transparent 52%, rgba(255, 255, 255, 0.08) 100%);
  border-top: 2px solid rgba(255, 255, 255, 0.42);
}
.glass-cube::after {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.cube-base {
  position: relative;
  width: clamp(254px, 26.5vw, 340px);
  height: 54px;
  margin-top: -2px;
  border-radius: 6px 6px 10px 10px;
  background: linear-gradient(180deg, #2a2d34 0%, #14161b 45%, #0c0e12 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.78), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: background .45s ease, border-color .45s ease;
}
.cube-base::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
}
.stage[data-model="1"] .cube-base {
  background: linear-gradient(180deg, #f0ece2 0%, #dbd5c8 55%, #b9b2a4 100%);
  border-color: rgba(255, 255, 255, 0.65);
}
.stage[data-model="2"] .cube-base {
  background: repeating-linear-gradient(96deg, #5d3b26 0 4px, #4b2e1c 4px 9px, #6c462e 9px 13px);
  border-color: rgba(235, 190, 150, 0.28);
}

.dimension {
  position: absolute;
  bottom: 18px;
  left: 38%;
  width: 24%;
  height: 8px;
  border: solid #8e9296;
  border-width: 0 1px;
  display: grid;
  place-items: center;
  color: #b7bcc2;
  font-size: 9px;
}
.dimension::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: #6f747a; }
.dimension span { position: relative; padding: 0 8px; background: #0a0c10; line-height: 1; }

.config {
  background: #12151a;
  border-left: 1px solid var(--line);
  padding: clamp(28px, 3.1vw, 52px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}
.finishes { display: flex; gap: 7px; margin: 12px 0 26px; }
.finish {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 43px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #171b22;
  color: var(--ink);
  border-radius: 3px;
  font: 500 13px/1.25 var(--sans);
  cursor: pointer;
}
.finish[aria-pressed="true"] { border-color: var(--accent); background: rgba(56, 246, 232, 0.1); }
.chip { display: inline-block; width: 15px; height: 15px; border-radius: 50%; border: 1px solid #ffffff40; flex: none; }
.chip-0 { background: linear-gradient(135deg, #494b4d, #101012); }
.chip-1 { background: linear-gradient(135deg, #f6f3e8, #bfb9ab); }
.chip-2 { background: repeating-linear-gradient(110deg, #69452f 0 2px, #8d6344 3px 5px); }
.readout h3 { font-size: clamp(24px, 2.25vw, 38px); line-height: 1.15; letter-spacing: -.045em; }
#price { font-size: clamp(34px, 3vw, 44px); line-height: 1.15; letter-spacing: -.055em; margin: 8px 0 18px; font-weight: 500; }
.specs { display: grid; grid-template-columns: 1fr 1fr; border: solid var(--line); border-width: 1px 0; }
.specs > div { padding: 10px 10px 10px 0; }
.specs > div:nth-child(even) { border-left: 1px solid var(--line); padding-left: 18px; }
.specs > div:nth-child(n+3) { border-top: 1px solid var(--line); }
.specs dt { color: #969da6; font-size: 10px; margin-bottom: 3px; }
.specs dd { font-size: 14px; }
.reserve-button { border: 0; border-radius: 3px; font: 600 14px/1.4 var(--sans); padding: 14px 16px; width: 100%; margin-top: 24px; cursor: pointer; }
.ip { align-self: center; margin-top: 13px; font-size: 12px; color: #b8c0c8; }

/* Section 3: Three Live HD-2D Cyber Worlds Gallery */
.realms { background: #0d1015; border-top: 1px solid var(--line); }
.flagship .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.flagship .exhibit { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.flagship .print {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #04070c;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 6px;
  transition: border-color .25s ease, transform .25s ease;
}
.flagship .exhibit:hover .print { border-color: var(--accent); transform: translateY(-2px); }
.flagship .print canvas { display: block; width: 100%; height: 100%; image-rendering: pixelated; }
.flagship .caption { display: flex; align-items: baseline; justify-content: flex-start; gap: 8px; margin-top: 14px; }
.flagship .caption h3 { font: 550 clamp(18px, 1.5vw, 23px)/1.25 var(--sans); letter-spacing: -.03em; margin: 0; }
.flagship .caption .catalog { color: var(--amber); font-size: 11px; }
.caption .arrow { margin-left: auto; color: var(--mute); }
.flagship .exhibit p { font-size: 13px; color: var(--mute); margin: 8px 0 0; line-height: 1.6; }

/* Section 4: Warm off-white Swiss Evolution Timeline */
.evolution { background: #eeede8; color: #1a1917; padding-bottom: clamp(88px, 8vw, 136px); }
.evolution .eyebrow, .evolution .section-title p { color: #575650; }
.timeline { border: solid #787770; border-width: 1px 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.timeline article { padding: 26px clamp(18px, 2.3vw, 38px) 28px; display: flex; align-items: flex-start; flex-direction: column; }
.timeline article + article { border-left: 1px solid #96958d; }
.timeline article:first-child { padding-left: 0; }
.day { display: flex; gap: 10px; align-items: baseline; font-size: clamp(68px, 7.2vw, 108px); line-height: 1; letter-spacing: -.09em; font-weight: 500; }
.day small { color: #914021; font-size: 13px; letter-spacing: .06em; }
.timeline h3 { font-size: clamp(21px, 1.8vw, 28px); margin: 24px 0 10px; letter-spacing: -.03em; }
.timeline p { font-size: 15px; line-height: 1.8; color: #474741; max-width: 35em; }
.timeline a { font-size: 13px; margin-top: auto; padding-top: 24px; color: #713b27; }

.flagship footer { border: 0; padding: 36px 0; }
.flagship dialog { background: #14171d; color: var(--ink); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 6px; }
.flagship dialog h2 { font-size: 26px; letter-spacing: -.04em; }
.flagship dialog strong { display: block; color: var(--accent); margin-bottom: 12px; }
.flagship dialog input { background: #0c0e13; color: var(--ink); }
.flagship dialog .reserve-button { margin: 0; }
.flagship [hidden] { display: none !important; }

@media (max-width: 900px) {
  .flagship #site-links { gap: 14px; }
  .bench { grid-template-columns: 1fr; }
  .config { border-left: 0; border-top: 1px solid var(--line); }
  .flagship .gallery { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .flagship .wrap, .flagship .mast nav { width: calc(100% - 36px); }
  .flagship .mast nav { padding: 14px 0; min-height: 58px; gap: 16px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; background: none; border: 0; color: var(--ink); padding: 6px; }
  .flagship #site-links { display: none; position: absolute; z-index: 4; top: 100%; right: 0; min-width: 170px; background: #10141cf7; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, 0.2); }
  .menu-toggle[aria-expanded="true"] + #site-links { display: grid; gap: 0; }
  #site-links a { padding: 10px 0; }
  .flagship .hero h1 { font-size: clamp(38px, 10.6vw, 62px); }
  .section-title { display: block; margin-bottom: 24px; }
  .section-title p, .section-links { margin-top: 12px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline article, .timeline article:first-child { padding: 21px 0; display: grid; grid-template-columns: 88px 1fr; column-gap: 16px; }
  .timeline article + article { border-left: 0; border-top: 1px solid #96958d; }
  .day { display: block; grid-row: span 3; font-size: 56px; }
  .day small { display: block; margin: 3px 0 7px; }
  .timeline h3 { margin: 0 0 6px; }
  .timeline a { padding-top: 10px; }
}
