/* Antigravity-inspired flat architectural landing page: pure surfaces, zero gradients, vast dead space */

body.land-body {
  background: var(--bg);
  color: var(--body);
}

.page-main { overflow-x: clip; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ------------------------------------------------------------------ 1. Airy Centered Hero */
.hero {
  position: relative;
  min-height: 92svh;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 62px;
}

.shader-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}

.hero-in {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(28px, 4vh, 56px);
  padding-bottom: clamp(48px, 7vh, 88px);
  display: flex;
  justify-content: center;
}

.hero-copy {
  width: 100%;
  max-width: 760px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-mark-wrap { margin-bottom: 24px; }
.hero-mark {
  width: 40px;
  height: 40px;
  color: var(--ink);
  display: block;
}
.hero-mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 8.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 2;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(52px, 7.6vw, 94px);
  font-weight: 500;
  line-height: 1.01;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-wrap: balance;
  animation: hero-enter 0.72s var(--ease-out) 0.04s both;
}
.hero-title span { display: block; }
.hero-title .hero-sub {
  margin-top: 10px;
  font-size: clamp(24px, 3.4vw, 44px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.032em;
  color: var(--muted);
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero-ask {
  margin-top: 42px;
  width: 100%;
  max-width: 540px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-float);
  padding: 15px 14px 12px 20px;
  display: grid;
  gap: 10px;
  text-align: left;
  animation: hero-enter 0.72s var(--ease-out) 0.16s both;
  transition: border-color 0.18s var(--ease-out);
}
.hero-ask:focus-within {
  border-color: var(--accent);
}

.hero-input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 16px/1.5 var(--font);
  padding: 2px 0;
}
.hero-input::placeholder { color: var(--faint); }
.hero-input:focus { outline: none; }

.hero-ask-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--line-soft);
}

.hero-run {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font: 500 13.5px/1 var(--font);
  height: 36px;
  padding: 0 20px;
  cursor: pointer;
  transition: opacity 0.14s var(--ease-out), transform 0.12s var(--ease-out);
}
.hero-run:hover { opacity: 0.86; }
.hero-run:active { transform: scale(0.97); }

/* ------------------------------------------------------------------ 2. Verified Real Logo Marquee */
.logos-band {
  padding: 12px 0 clamp(72px, 9vh, 116px);
  text-align: center;
}
.logos-label {
  font-size: 12.5px;
  color: var(--faint);
  margin-bottom: 24px;
}
.logos-marquee {
  max-width: 1080px;
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 11%, #000 89%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 11%, #000 89%, transparent);
}
.logos-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 42s linear infinite;
}
.logos-marquee:hover .logos-track { animation-play-state: paused; }
.logos-row {
  display: flex;
  align-items: center;
  gap: 58px;
  padding: 0 29px;
  margin: 0;
  list-style: none;
}
.logos-row li { display: flex; align-items: center; flex-shrink: 0; }
.logos-row img {
  display: block;
  width: auto;
  max-width: 136px;
  object-fit: contain;
  filter: grayscale(1) brightness(0);
  opacity: 0.42;
  transition: opacity 0.18s var(--ease-out);
}
html[data-theme="dark"] .logos-row img {
  filter: grayscale(1) brightness(0) invert(1);
  opacity: 0.48;
}
.logos-row img:hover { opacity: 0.78; }
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logos-track { animation: none; }
}

/* ------------------------------------------------------------------ Shared Bands */
.band {
  padding: clamp(116px, 14vh, 188px) 0;
}
.band-rule {
  border-top: 1px solid var(--line-soft);
}

.band-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 32px;
  margin-bottom: 48px;
}

.band-h {
  font-family: var(--display);
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.03;
  color: var(--ink);
}

.text-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}
.text-link:hover { color: var(--ink); text-decoration: underline; }

/* ------------------------------------------------------------------ 3. Auto-Looping Speed Race (pure theme-matched surfaces) */
.race-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.race-pane {
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.24s var(--ease-out);
}

.race-pane-fast {
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--ink) 18%, var(--line));
}
.race-pane-fast.is-done {
  border-color: var(--accent);
}
.race-pane-fast .pane-head { border-bottom-color: var(--line); }
.race-pane-fast .pane-head strong { color: var(--ink); }
.race-pane-fast .pane-stats { color: var(--muted); }
.race-pane-fast .pane-time { color: var(--accent); }
.race-pane-fast .pane-bar { background: var(--line-soft); }
.race-pane-fast .pane-bar-fill { background: var(--accent); }
.race-pane-fast .stream-out { color: var(--ink); }

.race-pane-slow {
  background: var(--subtle);
  border: 1px solid var(--line);
}
.race-pane-slow .pane-head { border-bottom-color: var(--line); }
.race-pane-slow .pane-head strong { color: var(--muted); }
.race-pane-slow .pane-stats { color: var(--faint); }
.race-pane-slow .pane-time { color: var(--muted); }
.race-pane-slow .pane-bar { background: var(--line-soft); }
.race-pane-slow .pane-bar-fill { background: var(--faint); }
.race-pane-slow .stream-out { color: var(--muted); }

.pane-head {
  padding: 15px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid transparent;
}
.pane-head strong { font-size: 14px; font-weight: 500; }

.pane-stats {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 12.5px;
}
.pane-time { font-weight: 500; min-width: 48px; text-align: right; }

.pane-bar { height: 2px; overflow: hidden; }
.pane-bar-fill {
  height: 100%;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
}

.stream-out {
  margin: 0;
  padding: 20px 22px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.56;
  white-space: pre-wrap;
  min-height: 296px;
  max-height: 340px;
  overflow-y: auto;
}

.caret {
  display: inline-block;
  width: 6px;
  height: 13px;
  margin-left: 2px;
  vertical-align: -2px;
  border-radius: 1px;
  background: var(--accent);
}
.caret-dim { background: var(--faint); }

/* Giant floating 3-number strip */
.stats-beat {
  margin-top: clamp(76px, 10vh, 128px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 40px;
}
.stat-col { display: grid; gap: 6px; }
.stat-num {
  font-family: var(--display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.045em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat-lbl { font-size: 15px; color: var(--muted); }

/* ------------------------------------------------------------------ 4. Pure Architectural Models Grid */
.models-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.model-col {
  padding: 48px 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 44px;
  text-decoration: none;
  border-right: 1px solid var(--line);
  transition: background-color 0.16s var(--ease-out);
}
.model-col:last-child { border-right: 0; }
.model-col:hover {
  background: var(--subtle);
  text-decoration: none;
}

.model-mid { display: grid; gap: 16px; }
.model-mid h3 {
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.038em;
  line-height: 1.04;
  color: var(--ink);
}
.model-tps {
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent);
}
.model-tps span {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
}

.model-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.model-go {
  font-family: var(--font);
  font-weight: 500;
  color: var(--ink);
}
.model-col:hover .model-go { color: var(--accent); }

/* ------------------------------------------------------------------ 5. Large Antigravity Circular Works-With Strip */
.works-band {
  text-align: center;
}
.works-h {
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 500;
  letter-spacing: -0.038em;
  color: var(--ink);
  margin-bottom: 52px;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px 18px;
}
.works-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.16s var(--ease-out), transform 0.2s var(--ease-out);
}
.works-item:hover {
  color: var(--ink);
  transform: translateY(-4px);
  text-decoration: none;
}
.works-orb {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--subtle);
  display: grid;
  place-items: center;
  color: var(--ink);
  transition: border-color 0.16s var(--ease-out), background-color 0.16s var(--ease-out);
}
.works-item:hover .works-orb {
  border-color: var(--ink);
  background: var(--surface);
}
.works-orb img {
  display: block;
  object-fit: contain;
  opacity: 0.88;
  transition: opacity 0.16s var(--ease-out);
}
html[data-theme="dark"] .works-orb img {
  filter: invert(1);
}
.works-item:hover .works-orb img {
  opacity: 1;
}
.works-name {
  font-size: 14.5px;
  font-weight: 500;
}

/* ------------------------------------------------------------------ 6. Swiss Architectural Hairline Pricing */
.price-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.price-col {
  padding: 46px 38px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  transition: background-color 0.16s var(--ease-out);
}
.price-col:last-child { border-right: 0; }
.price-col:hover {
  background: var(--subtle);
  text-decoration: none;
}
.price-col-mid {
  background: var(--subtle);
}

.price-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}
.price-big {
  margin-top: 8px;
  font-family: var(--display);
  font-size: clamp(46px, 5.2vw, 64px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.price-big span {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 3px;
}
.price-sub {
  font-size: 15.5px;
  color: var(--body);
}
.price-link {
  margin-top: 26px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.price-col:hover .price-link { color: var(--accent); }
.price-btn {
  margin-top: 22px;
}

.quiet-whisper {
  margin-top: 44px;
  font-size: 13.5px;
  color: var(--faint);
}

/* ------------------------------------------------------------------ 7. Pure-Canvas Closing */
.closing-band {
  text-align: center;
}
.closing-in {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.closing-title {
  font-family: var(--display);
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--ink);
}
.closing-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 920px) {
  .race-grid,
  .stats-beat,
  .models-grid,
  .price-table { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .model-col,
  .price-col {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 36px 20px;
  }
  .model-col:last-child,
  .price-col:last-child { border-bottom: 0; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
