:root {
  --bg: #0c0c0d;
  --bg-soft: #141415;
  --bg-card: #17181a;
  --line: #26272b;
  --ink: #ece9e2;
  --muted: #9a978f;
  --accent: #c9a227;
  --accent-dim: #8f7418;
  --font: "Inter", "Helvetica Neue", system-ui, -apple-system, sans-serif;
  --font-display: "Archivo", "Arial Black", var(--font);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,12,13,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand svg { height: 30px; width: auto; }
.nav-links { display: flex; gap: 28px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.nav-links a { color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--ink);
  color: var(--ink);
  transition: background .2s, color .2s;
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn-accent { border-color: var(--accent); color: var(--accent); }
.btn-accent:hover { background: var(--accent); color: #000; }

/* ---------- hero ---------- */
.hero { padding: 110px 0 90px; text-align: center; }
.hero .kicker {
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(44px, 8vw, 110px);
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.hero h1 .thin { font-weight: 300; display: block; color: var(--muted); font-size: .42em; letter-spacing: .18em; }
.hero p.sub {
  max-width: 620px; margin: 30px auto 0;
  color: var(--muted); font-size: 17px;
}
.hero .cta-row { margin-top: 44px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- sections ---------- */
section { padding: 90px 0; }
section.alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { margin-bottom: 52px; }
.sec-head .kicker { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.sec-head h2 {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(30px, 4.5vw, 54px); letter-spacing: -.01em; line-height: 1;
}
.sec-head p { color: var(--muted); margin-top: 14px; max-width: 640px; }

/* ---------- flagship ---------- */
.flagship { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.flagship-art {
  background: radial-gradient(circle at 50% 40%, #1d1e22 0%, #101011 70%);
  border: 1px solid var(--line);
  padding: 56px 40px;
}
.flagship-art img { filter: drop-shadow(0 24px 48px rgba(0,0,0,.6)); margin: 0 auto; max-height: 420px; }
.flagship-copy .tag {
  display: inline-block; font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--bg); background: var(--accent); padding: 6px 12px; margin-bottom: 20px; font-weight: 700;
}
.flagship-copy h3 {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(34px, 5vw, 58px); line-height: 1; margin-bottom: 20px;
}
.flagship-copy p { color: var(--muted); margin-bottom: 16px; }
.flagship-copy p strong { color: var(--ink); }
.spec-list { margin: 28px 0; border-top: 1px solid var(--line); }
.spec-list div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-list dt, .spec-list .k { color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-size: 12px; }
.flagship-copy .btn { margin-top: 8px; }
.note { font-size: 13px; color: var(--muted); margin-top: 14px; font-style: italic; }

/* ---------- design grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: var(--bg-card); border: 1px solid var(--line);
  transition: transform .25s, border-color .25s;
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); border-color: var(--accent-dim); }
.card .art { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 28px; background: #101114; }
.card .art img { max-height: 100%; object-fit: contain; }
.card .meta { padding: 18px 20px 22px; border-top: 1px solid var(--line); }
.card .meta .joke { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 15px; line-height: 1.25; }
.card .meta .desc { color: var(--muted); font-size: 13px; margin-top: 8px; }
.card .meta .status {
  display: inline-block; margin-top: 12px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}
.card .meta .status.live { color: var(--accent); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.about-copy p { color: var(--muted); margin-bottom: 18px; font-size: 17px; }
.about-copy p strong { color: var(--ink); }
.principles { list-style: none; }
.principles li {
  border-top: 1px solid var(--line); padding: 22px 0;
}
.principles li:last-child { border-bottom: 1px solid var(--line); }
.principles .n { font-size: 11px; letter-spacing: .25em; color: var(--accent); text-transform: uppercase; }
.principles h4 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; margin: 8px 0 6px; }
.principles p { color: var(--muted); font-size: 14px; }

/* ---------- contact ---------- */
.contact-form { max-width: 560px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; background: var(--bg-card); border: 1px solid var(--line);
  color: var(--ink); padding: 14px 16px; font-size: 15px; font-family: var(--font);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 140px; resize: vertical; }

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--line); padding: 56px 0 36px; margin-top: 0;
}
.foot-grid { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.foot-grid .brand svg { height: 26px; }
.foot-links { display: flex; gap: 24px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.foot-links a:hover { color: var(--ink); }
.legal { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.legal .version { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; opacity: 0.7; }
/* "Coming soon" placeholder tiles: shown until real product mocks exist.
   Swap the tile contents for an <img> when the mock is ready — the .art
   container already handles centering and aspect ratio. */
.card .art.soon, .flagship-art.soon {
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.soon-label {
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted); line-height: 2;
  border: 1px dashed var(--line); padding: 28px 32px;
}
.flagship-art.soon { min-height: 420px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-3 { grid-template-columns: 1fr; }
  .flagship, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  /* Mobile header: the old code hid the nav entirely, leaving phones with
     no way to navigate. Instead, wrap the header into two rows — brand +
     Etsy button on top, nav links in a scrollable strip underneath. */
  .nav { flex-wrap: wrap; height: auto; padding: 12px 0; row-gap: 10px; }
  .nav-links {
    display: flex; order: 3; width: 100%;
    gap: 20px; font-size: 12px;
    overflow-x: auto; padding-bottom: 4px;
  }
  .nav .btn { padding: 10px 18px; font-size: 11px; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
  .hero { padding: 80px 0 60px; }
  /* Tap targets: full-width buttons are easier to hit on phones. */
  .cta-row .btn { width: 100%; text-align: center; }
  .foot-links { gap: 16px; }
}
