:root {
  --void: #08120e;
  --panel: #10211a;
  --panel-2: #173028;
  --lime: #d8f26a;
  --copper: #e08a4f;
  --copper-soft: #f0c2a4;
  --cream: #f4f0e6;
  --ink: #10211a;
  --muted: #b7c6bc;
  --line: rgba(244, 240, 230, 0.14);
  --header: 74px;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --sans: "Sora", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(216, 242, 106, 0.08), transparent 60%),
    linear-gradient(rgba(216, 242, 106, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 242, 106, 0.045) 1px, transparent 1px),
    var(--void);
  background-size: auto, 72px 72px, 72px 72px, auto;
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.55;
}

img { display: block; max-width: 100%; }

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, p { margin: 0; }

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  background: var(--lime);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 30;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

section[id] { scroll-margin-top: 90px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header);
  background: rgba(8, 18, 14, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner, .footer-row {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.mark { width: 42px; height: 42px; border-radius: 12px; }
.mark-lg { width: 78px; height: 78px; border-radius: 22px; }

.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.85rem;
  letter-spacing: 0.01em;
  line-height: 0.9;
}

.brand-name span { color: var(--lime); margin-left: 0.04em; }
.brand-name-lg { font-size: clamp(3rem, 5vw, 4.4rem); }

.hero-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0 22px;
}

.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-weight: 500; color: var(--muted); }
.nav a:hover { color: var(--cream); }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--copper-soft);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(216, 242, 106, 0.7);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(216, 242, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(216, 242, 106, 0); }
}

.hero { padding: 54px 0 28px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: end;
}

h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(4.6rem, 8.4vw, 7.6rem);
  line-height: 0.82;
  letter-spacing: -0.02em;
}

h1 em {
  font-style: normal;
  color: var(--lime);
}

.lede {
  max-width: 42ch;
  margin-top: 18px;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: #e7ff8a; }
.btn-ghost { border-color: var(--line); color: var(--cream); background: transparent; }
.btn-ghost:hover { border-color: var(--cream); }

.fine {
  margin-top: 16px;
  color: #8ea096;
  font-size: 0.82rem;
}

.hero-stage { display: grid; gap: 14px; }

.scene-switch {
  display: flex;
  gap: 8px;
}

.scene-tab {
  border: 1px solid var(--line);
  background: rgba(16, 33, 26, 0.8);
  color: var(--muted);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.scene-tab.is-on {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

.yard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.bay {
  min-height: 108px;
  padding: 12px;
  border-radius: 16px;
  background:
    repeating-linear-gradient(-45deg, rgba(244, 240, 230, 0.04) 0 6px, transparent 6px 12px),
    var(--panel);
  border: 1px solid var(--line);
}

.bay span {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--copper-soft);
}

.bay strong {
  display: block;
  margin-top: 18px;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.bay em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  color: var(--muted);
  font-size: 0.78rem;
}

.bay.is-hot {
  border-color: var(--lime);
  box-shadow: inset 0 0 0 1px var(--lime);
}

.ticket {
  justify-self: end;
  width: min(100%, 380px);
  margin-top: -28px;
  padding: 16px 16px 14px;
  color: var(--ink);
  background: var(--cream);
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.barcode {
  height: 28px;
  margin-bottom: 12px;
  background: repeating-linear-gradient(
    90deg,
    var(--ink) 0 2px,
    transparent 2px 4px,
    var(--ink) 4px 5px,
    transparent 5px 9px,
    var(--ink) 9px 12px,
    transparent 12px 14px
  );
  opacity: 0.88;
}

.ticket-top, .ticket-net, .ticket dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.ticket-top { font-family: var(--mono); font-size: 0.86rem; }
.ticket-meta { margin: 6px 0 8px; color: #5d6b62; font-size: 0.8rem; }
.ticket dl { margin: 0; }
.ticket dl div {
  padding: 7px 0;
  border-top: 1px dashed #ddd4c4;
  font-family: var(--mono);
  font-size: 0.84rem;
}
.ticket dt { color: #66756c; }
.ticket dd { margin: 0; }

.ticket-net {
  align-items: center;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 2px solid var(--ink);
}

.ticket-net span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #66756c;
}

.ticket-net strong {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.9;
}

.ticket-net em {
  font-style: normal;
  font-weight: 650;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--lime);
  font-size: 0.82rem;
}

.ticket[data-tone="wait"] .ticket-net em { background: #efe2c8; }
.ticket[data-tone="sale"] .ticket-net em { background: #f3d2c0; }

.spine-section, .saha, .stage, .contact { padding: 88px 0; }

.section-head { max-width: 40rem; margin-bottom: 32px; }
.section-head h2, .contact h2 {
  margin-top: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
}
.section-head p:last-child, .contact .lede { margin-top: 14px; color: var(--muted); }

.spine {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.spine::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lime), var(--copper), transparent);
}

.spine li { position: relative; padding-top: 8px; }
.spine span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--void);
  border: 2px solid var(--lime);
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--lime);
}
.spine h3 {
  margin-top: 16px;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}
.spine p { margin-top: 6px; color: var(--muted); font-size: 0.95rem; }

.spine-id {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-family: var(--mono);
  color: var(--lime);
}
.spine-id span {
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.75rem;
}

.saha { background: #0c1813; }

.bento {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}

.cell {
  padding: 20px;
  border-radius: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.cell-kapi { grid-row: 1 / span 2; }
.cell-kantar { grid-column: 2 / span 2; }

.cell-kicker {
  color: var(--copper-soft);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cell h3 {
  margin: 8px 0;
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: 0.01em;
}

.cell p { color: var(--muted); }

.plate {
  display: flex;
  align-items: stretch;
  margin-top: 28px;
  border: 3px solid var(--cream);
  border-radius: 10px;
  overflow: hidden;
  max-width: 280px;
}
.plate span {
  display: grid;
  place-items: center;
  width: 42px;
  background: #1d4e9e;
  color: white;
  font-weight: 700;
  font-size: 0.8rem;
}
.plate strong {
  flex: 1;
  padding: 12px 10px;
  text-align: center;
  letter-spacing: 0.08em;
  font-size: 1.25rem;
}

.weights, .meters { list-style: none; margin: 14px 0 0; padding: 0; }
.weights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.weights li {
  padding: 10px;
  border-radius: 12px;
  background: var(--void);
}
.weights span, .meters span { display: block; color: var(--muted); font-size: 0.78rem; }
.weights strong {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.weights li:last-child strong { color: var(--lime); }

.meters li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}
.meters i, .intake b {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--copper), var(--lime));
  width: var(--w);
}

.sale-figure {
  margin-top: 12px;
  font-family: var(--display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.9;
  color: var(--cream);
}
.sale-figure span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}

.grades {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.grades li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(8, 18, 14, 0.45);
}

.swatch {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex: none;
}
.swatch-iron { background: linear-gradient(145deg, #d5d8d6, #5c6360 45%, #2a2e2c); }
.swatch-copper { background: linear-gradient(145deg, #f0c2a2, #c4622f 40%, #6a3018); }
.swatch-pet { background: linear-gradient(145deg, #b7e7c8, #2f8f62 42%, #12382a); }
.swatch-paper { background: linear-gradient(145deg, #f3e2b8, #c49a5a 48%, #7a5a32); }

.grades strong { display: block; font-size: 0.95rem; }
.grades span { color: var(--muted); font-size: 0.8rem; }

.window {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #efeae0;
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding: 0 14px;
  background: #e4ddd0;
}
.window-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c9c0b0;
}
.window-bar p {
  margin-left: 8px;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #66756c;
}

.screen { display: grid; grid-template-columns: 168px 1fr; min-height: 460px; }
.side { background: #143026; color: #e7eee8; padding: 18px 12px; }
.side p {
  margin: 0 8px 16px;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
}
.side ul { list-style: none; margin: 0; padding: 0; }
.side li { padding: 8px 10px; border-radius: 8px; color: #c5d2ca; }
.side .is-on { background: var(--lime); color: var(--ink); font-weight: 650; }

.screen-main { padding: 18px; }
.screen-head, .screen-split { display: flex; justify-content: space-between; gap: 12px; }
.screen-head { align-items: center; }
.screen-head p { color: #66756c; font-size: 0.82rem; }
.screen-head h3 {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 0.9;
}
.chip {
  border-radius: 999px;
  background: #f4f8d4;
  border: 1px solid #d5e2a4;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 650;
}

.intake { display: grid; gap: 8px; margin: 16px 0; }
.intake div { display: grid; grid-template-columns: 70px 1fr 48px; gap: 8px; align-items: center; font-size: 0.82rem; }
.intake b { height: 10px; background: #173028; }
.intake em { font-style: normal; text-align: right; color: #4d5e54; }

.screen-split { align-items: stretch; display: grid; grid-template-columns: 1fr 190px; }
.sheet, .sale-card {
  background: white;
  border: 1px solid #e4dccf;
  border-radius: 14px;
  padding: 12px;
}
.sheet { overflow-x: auto; }
.sheet h4 { font-size: 0.92rem; margin-bottom: 6px; }
table { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
th, td { padding: 8px 8px 8px 0; border-bottom: 1px solid #eee6da; text-align: left; white-space: nowrap; }
th { color: #66756c; font-weight: 500; }

.pill { display: inline-block; border-radius: 999px; padding: 3px 8px; font-size: 0.74rem; font-weight: 650; }
.pill-ok { background: var(--ink); color: var(--lime); }
.pill-sale { background: #f3d7cb; color: #7a341c; }
.pill-stock { background: #ece7dc; }

.sale-card p, .sale-card span, .sale-card em { display: block; }
.sale-card p { color: #66756c; font-size: 0.78rem; }
.sale-card strong {
  margin-top: 8px;
  font-family: var(--display);
  font-size: 2.3rem;
  font-weight: 700;
  line-height: 0.9;
}
.sale-card span { color: #4d5e54; }
.sale-card em { margin-top: 14px; font-style: normal; font-size: 0.8rem; color: #2c6848; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 6px; font-size: 0.88rem; font-weight: 600; }
.full { grid-column: 1 / -1; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #10211a;
  color: var(--cream);
  border-radius: 12px;
  padding: 12px;
  font-weight: 400;
}
textarea { resize: vertical; }
.contact-form .btn { margin-top: 14px; }
.form-status { min-height: 1.4em; margin-top: 12px; font-weight: 600; }
.form-hint { margin-top: 6px; color: var(--muted); font-size: 0.85rem; }

.site-footer { padding: 10px 0 28px; border-top: 1px solid var(--line); }
.footer-word {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(5rem, 18vw, 11rem);
  line-height: 0.8;
  letter-spacing: -0.035em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(216, 242, 106, 0.45);
}
.footer-row { padding-bottom: 8px; }
.footer-row p { color: var(--muted); font-size: 0.92rem; }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
::selection { background: var(--lime); color: var(--ink); }

@media (max-width: 980px) {
  .hero-grid, .spine, .bento, .grades, .contact-grid, .screen, .screen-split, .yard {
    grid-template-columns: 1fr 1fr;
  }
  .cell-kapi, .cell-kantar { grid-column: auto; grid-row: auto; }
  .spine::before { display: none; }
  .ticket { width: 100%; margin-top: 0; justify-self: stretch; }
  .hero-grid { align-items: start; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .header-inner { position: relative; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    padding: 8px 4px 14px;
    background: #08120e;
    border-bottom: 1px solid var(--line);
  }
  .nav a { padding: 10px 8px; }
  .nav.is-open { display: flex; }
  .hero-grid, .spine, .bento, .grades, .fields, .yard, .weights, .screen, .screen-split {
    grid-template-columns: 1fr;
  }
  h1 { font-size: clamp(4rem, 20vw, 5.2rem); }
  .footer-row { align-items: flex-start; flex-direction: column; height: auto; }
  .side { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
  .side p { margin: 0 8px 0 0; }
  .side ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .sheet th:nth-child(2), .sheet td:nth-child(2) { display: none; }
  .brand-name-lg { font-size: 2.6rem; }
  .mark-lg { width: 58px; height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .live-dot { animation: none; }
}
