
/* Layout idea: a repair-shop work order. Console-grey plastic, cartridge-red accent, ticket-style cards with punched edges. */
:root {
  --bg: #dcdbd6;
  --surface: #eceae5;
  --ink: #1c1f23;
  --muted: #565a60;
  --accent: #c8322a;
  --accent-ink: #ffffff;
  --label: #f1c232;
  --line: #1c1f23;
  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #16181b; --surface: #202328; --ink: #ecebe6; --muted: #a2a5ab;
    --accent: #e5483f; --accent-ink: #16181b; --label: #e2b52f; --line: #ecebe6;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #16181b; --surface: #202328; --ink: #ecebe6; --muted: #a2a5ab;
  --accent: #e5483f; --accent-ink: #16181b; --label: #e2b52f; --line: #ecebe6;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.55;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; line-height: .95; margin: 0; text-wrap: balance; letter-spacing: .01em; }
.mono { font-family: var(--font-mono); font-weight: 500; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }

/* Header */
header { border-bottom: 3px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--font-display); font-weight: 900; font-size: 1.35rem; text-transform: uppercase; line-height: .9; }
.brand-name small { display: block; font-family: var(--font-mono); font-size: .62rem; font-weight: 600; letter-spacing: .14em; color: var(--accent); margin-top: 3px; }
nav { display: flex; gap: 20px; flex-wrap: wrap; }
nav a { text-decoration: none; font-family: var(--font-mono); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 6px 0; border-bottom: 2px solid transparent; }
nav a:hover { border-color: var(--accent); }

/* Hero */
.hero { padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-weight: 900; font-size: clamp(3.2rem, 9vw, 7rem); }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lede { font-size: 1.2rem; max-width: 34em; margin: 24px 0 32px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; text-decoration: none; font-family: var(--font-mono); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; padding: 14px 22px; border: 3px solid var(--line); box-shadow: 5px 5px 0 var(--line); transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--line); }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: var(--surface); }

.cart { width: 100%; max-width: 400px; justify-self: center; transform: rotate(3deg); filter: drop-shadow(8px 10px 0 rgba(0,0,0,.18)); }
@media (prefers-reduced-motion: no-preference) {
  .cart { animation: bob 6s ease-in-out infinite; }
  @keyframes bob { 50% { transform: rotate(1deg) translateY(-6px); } }
}

/* Ticker */
.ticker { border-block: 3px solid var(--line); background: var(--ink); color: var(--bg); overflow: hidden; }
.ticker-row { display: flex; gap: 36px; padding: 11px 0; white-space: nowrap; width: max-content; }
@media (prefers-reduced-motion: no-preference) {
  .ticker-row { animation: slide 38s linear infinite; }
  @keyframes slide { to { transform: translateX(-50%); } }
}
.ticker .mono { font-size: .78rem; }
.ticker .dot { color: var(--label); }

/* Sections */
section { padding: 72px 0; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; border-bottom: 3px solid var(--line); padding-bottom: 14px; }
.sec-head h2 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900; }
.sec-head .mono { color: var(--muted); }

/* Services as work-order tickets */
.tickets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ticket { background: var(--surface); border: 3px solid var(--line); display: flex; flex-direction: column; position: relative; }
.ticket-top { background: var(--accent); color: var(--accent-ink); padding: 10px 18px; display: flex; justify-content: space-between; }
.ticket:nth-child(2) .ticket-top { background: var(--ink); color: var(--bg); }
.ticket:nth-child(3) .ticket-top { background: var(--label); color: #1c1f23; }
.ticket-body { padding: 22px 18px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.ticket h3 { font-size: 2.3rem; font-weight: 900; }
.ticket p { margin: 0; }
.ticket ul { margin: 0; padding: 0; list-style: none; border-top: 2px dashed var(--muted); padding-top: 14px; display: grid; gap: 8px; margin-top: auto; }
.ticket li { display: flex; gap: 10px; font-size: .95rem; }
.ticket li::before { content: ""; width: 10px; height: 10px; margin-top: 7px; flex: none; background: var(--ink); }

/* Era strip */
.eras { background: var(--surface); border-block: 3px solid var(--line); }
.era-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 3px solid var(--line); background: var(--bg); }
.era { padding: 20px 18px; border-right: 3px solid var(--line); }
.era:last-child { border-right: 0; }
.era .mono { color: var(--accent); }
.era h3 { font-size: 1.9rem; margin: 6px 0 10px; font-weight: 800; }
.era p { margin: 0; font-size: .95rem; color: var(--muted); }
.note { margin-top: 18px; color: var(--muted); font-size: .95rem; max-width: 48em; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; border-top: 6px solid var(--ink); padding-top: 14px; }
.steps li::before { content: "Step " counter(s); font-family: var(--font-mono); font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.steps h3 { font-size: 1.8rem; font-weight: 800; margin: 6px 0 8px; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Visit */
.visit { background: var(--ink); color: var(--bg); }
.visit .sec-head { border-color: var(--bg); }
.visit .sec-head .mono { color: var(--label); }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.addr { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.4rem, 6vw, 4.2rem); text-transform: uppercase; line-height: .95; margin: 0 0 22px; }
.visit p { max-width: 30em; }
.visit .btn { border-color: var(--bg); box-shadow: 5px 5px 0 var(--label); color: var(--bg); }
.visit .btn.primary { background: var(--accent); color: #fff; }
.visit .btn:hover { box-shadow: 3px 3px 0 var(--label); }
.sign { border: 3px solid var(--bg); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; background: color-mix(in srgb, var(--bg) 6%, transparent); }
.sign dl { margin: 0; display: grid; gap: 16px; }
.sign dt { color: var(--label); }
.sign dd { margin: 4px 0 0; font-size: 1.05rem; }

footer { padding: 28px 0 40px; border-top: 3px solid var(--line); }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid, .visit-grid { grid-template-columns: 1fr; }
  .cart { max-width: 300px; }
  .tickets { grid-template-columns: 1fr; }
  .era-grid { grid-template-columns: 1fr 1fr; }
  .era:nth-child(2) { border-right: 0; }
  .era:nth-child(-n+2) { border-bottom: 3px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .era-grid, .steps { grid-template-columns: 1fr; }
  .era { border-right: 0; border-bottom: 3px solid var(--line); }
  .era:last-child { border-bottom: 0; }
  nav { gap: 14px; }
  header { position: static; }
}

/* Inner pages */
.page-head { padding: 52px 0 44px; border-bottom: 3px solid var(--line); }
.page-head h1 { font-weight: 900; font-size: clamp(3rem, 8vw, 6rem); }
.page-head h1 em { font-style: normal; color: var(--accent); }
.page-head p { font-size: 1.15rem; max-width: 36em; margin: 18px 0 0; }
nav a[aria-current="page"] { border-color: var(--accent); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { background: var(--surface); border: 3px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.panel h3 { font-size: 2.2rem; font-weight: 900; }
.panel p { margin: 0; }
.panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; border-top: 2px dashed var(--muted); padding-top: 14px; }
.panel li { display: flex; gap: 10px; }
.panel li::before { content: ""; width: 10px; height: 10px; margin-top: 7px; flex: none; background: var(--accent); }
.cta-band { background: var(--accent); color: var(--accent-ink); border-block: 3px solid var(--line); padding: 44px 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; }
.cta-band .btn { background: var(--bg); color: var(--ink); border-color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { border: 3px solid var(--line); background: var(--surface); padding: 24px; display: grid; gap: 6px; align-content: start; }
.contact-card .mono { color: var(--accent); }
.contact-card .big { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; overflow-wrap: anywhere; }
.contact-card .big.soon { color: var(--muted); }
.contact-card a.big { text-decoration: none; border-bottom: 3px solid var(--accent); width: fit-content; max-width: 100%; }
.contact-card p { margin: 8px 0 0; color: var(--muted); }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 40em; }
.checklist li { display: flex; gap: 12px; }
.checklist li::before { content: ""; width: 14px; height: 14px; margin-top: 6px; flex: none; border: 3px solid var(--line); }
@media (max-width: 900px) { .split, .contact-grid { grid-template-columns: 1fr; } }

.credit { margin-top: 18px; padding-top: 16px; border-top: 2px dashed var(--muted); color: var(--muted); text-align: center; }

/* Soft-opening lock screen (shown only while html[data-locked]) */
.lock { display: none; }
html[data-locked] .lock { display: flex; }
html[data-locked] body > :not(.lock):not(script) { display: none !important; }
html[data-locked] body { background: #1c1f23; }
.lock { min-height: 100dvh; align-items: center; background: #1c1f23; color: #ecebe6; padding: 40px 0; }
.lock-inner { width: min(1060px, 100% - 32px); margin-inline: auto; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.lock-kicker { color: #f1c232; margin: 0 0 18px; }
.lock h1 { font-weight: 900; font-size: clamp(3.4rem, 10vw, 7.4rem); }
.lock h1 em { font-style: normal; color: #e5483f; display: block; }
.lock-sub { font-size: 1.15rem; max-width: 30em; margin: 22px 0 8px; color: #c9c8c2; }
.lock-days { color: #f1c232; margin: 0 0 26px; min-height: 1.2em; }
.lock-addr { font-style: normal; border: 3px solid #ecebe6; padding: 18px 22px; display: grid; gap: 6px; width: fit-content; max-width: 100%; margin-bottom: 28px; }
.lock-addr .mono { color: #f1c232; }
.lock-addr strong { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.8rem, 4.5vw, 2.8rem); line-height: 1; }
.lock .btn.primary { background: #e5483f; color: #fff; border-color: #ecebe6; box-shadow: 5px 5px 0 #f1c232; }
.lock-credit { color: #8d9096; margin: 34px 0 0; font-size: .7rem; }
@media (max-width: 800px) {
  .lock-inner { grid-template-columns: 1fr; }
  .lock .cart { max-width: 220px; order: -1; justify-self: start; }
}

.count { display: flex; gap: 12px; flex-wrap: wrap; margin: 6px 0 28px; }
.count div { border: 3px solid #ecebe6; background: #101214; min-width: 76px; padding: 10px 12px 8px; display: grid; gap: 4px; text-align: center; }
.count b { font-family: var(--font-mono); font-weight: 600; font-size: clamp(1.8rem, 6vw, 2.8rem); line-height: 1; color: #ecebe6; font-variant-numeric: tabular-nums; }
.count .mono { color: #f1c232; font-size: .68rem; }
@media (max-width: 400px) { .count { gap: 8px; } .count div { min-width: 64px; padding-inline: 8px; } }
