/* ── Fonts ───────────────────────────────────────── */
@font-face {
  font-family: 'Bebas';
  src: url('fonts/bebas-book.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bebas';
  src: url('fonts/bebas-reg.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ── Tokens ─────────────────────────────────────── */
:root {
  --bg:        #ffffff;
  --surface:   #f7f7f5;
  --border:    #e4e4e0;
  --ink:       #1a1a18;
  --ink-muted: #767672;
  --accent:    #1a1a18;
  --accent-fg: #ffffff;
  --radius:    4px;
  --nav-h:     60px;

  --font-display: 'Georgia', serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Nav ────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 100;
}
.nav-logo {
  font-family: 'Bebas', var(--font-display);
  font-size: 25px;
  letter-spacing: -0.02em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--nav-h);
  line-height: 1;
}
.nav-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  align-self: center;
}
.nav-logo-text {
  display: inline-block;
  position: relative;
  top: 4px;
}

/* ── Desktop nav links ───────────────────────────── */
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  position: relative;
  top: 4px;
}
.nav-links a {
  font-family: 'Bebas', var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }

/* ── Mobile menu button (3-dot) ──────────────────── */
.nav-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  width: 28px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  border-radius: var(--radius);
  transition: background 0.15s;
}
.nav-menu-btn:hover { background: var(--surface); }
.nav-menu-btn span {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink);
  transition: background 0.15s;
}

/* ── Mobile dropdown ─────────────────────────────── */
.nav-dropdown {
  display: none;
  position: absolute;
  top: var(--nav-h);
  right: 0;
  left: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  z-index: 99;
  flex-direction: column;
}
.nav-dropdown.open { display: flex; }
.nav-dropdown a {
  font-family: 'Bebas', var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover  { background: var(--surface); color: var(--ink); }
.nav-dropdown a.active { color: var(--ink); }

/* ── Page Shell ─────────────────────────────────── */
main { padding-top: var(--nav-h); min-height: calc(100vh - var(--nav-h)); }
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 32px;
}

/* ── Typography helpers ──────────────────────────── */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}

/* ── Buttons ─────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 10px 22px;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  border-radius: var(--radius);
  margin-top: 16px;
  font-family: var(--font-body);
}
.btn:hover { opacity: 0.85; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--ink); }

/* ── Status badges ───────────────────────────────── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 20px;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
}
.status-dot.open    { background: #3ab06e; }
.status-dot.limited { background: #e8a020; }
.status-dot.closed  { background: #d04040; }

/* ── Hyperlinks ──────────────────────────────────── */
a:not(.nav-logo):not(.nav-links a):not(.nav-dropdown a):not(.btn):not(.btn-outline) {
  color: #1a56db;
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:not(.nav-logo):not(.nav-links a):not(.nav-dropdown a):not(.btn):not(.btn-outline):hover {
  color: #1e40af;
}
a:not(.nav-logo):not(.nav-links a):not(.nav-dropdown a):not(.btn):not(.btn-outline):visited {
  color: #6b21a8;
}

/* Inline content links — post bodies, order notes, bio */
.post-body a,
.order-note a,
.bio-text a {
  color: #1a56db;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.post-body a:hover,
.order-note a:hover,
.bio-text a:hover {
  color: #1e40af;
}
.post-body a:visited,
.order-note a:visited,
.bio-text a:visited {
  color: #6b21a8;
}

/* ── Footer ─────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 24px 32px;
  font-size: 12px;
  color: var(--ink-muted);
  display: flex;
  justify-content: space-between;
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 640px) {
  nav { padding: 0 20px; }
  .nav-logo { font-size: 22px; }
  .nav-links { display: none; }
  .nav-menu-btn { display: flex; }
  .container { padding: 40px 20px; }
  footer { flex-direction: column; gap: 6px; }
}
