/* ============================================
   Goldilugs — design tokens
   ============================================ */
:root {
  --bg: #1c1a17;
  --bg-raised: #221f1b;
  --ink: #ede7dc;
  --ink-muted: #948d7c;
  --ink-faint: #625c4f;
  --brass: #b08d57;
  --brass-soft: #8c703f;
  --line: #3a362f;
  --green: #4a5240;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --max: 1180px;
  --gutter: 32px;
}

* { box-sizing: border-box; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.mono {
  font-family: var(--mono);
  letter-spacing: 0.01em;
}

.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
  background: var(--bg);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}

.wordmark {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.wordmark span {
  color: var(--brass);
}

.site-nav {
  display: flex;
  gap: 34px;
}

.site-nav a {
  font-size: 14.5px;
  color: var(--ink-muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--brass);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  width: 40px;
  height: 40px;
  border-radius: 2px;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  margin: 4px auto;
}

@media (max-width: 760px) {
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 14px var(--gutter);
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle { display: block; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 120px;
  padding: 48px 0 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 14px;
  color: var(--ink-muted);
}

.footer-nav a:hover { color: var(--brass); }

.footer-fine {
  margin-top: 32px;
  font-size: 12.5px;
  color: var(--ink-faint);
  line-height: 1.7;
}

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--brass);
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 58px);
  max-width: 12ch;
}

.hero-sub {
  margin-top: 24px;
  max-width: 46ch;
  color: var(--ink-muted);
  font-size: 17.5px;
}

.hero-actions {
  margin-top: 36px;
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  background: var(--brass);
  color: #1c1a17;
  font-size: 14.5px;
  font-weight: 600;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn:hover { background: #c49d63; }

.btn-ghost {
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--brass);
  background: none;
  color: var(--brass);
}

.text-link {
  font-size: 14.5px;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.text-link:hover { color: var(--brass); border-color: var(--brass); }

.dial-figure {
  justify-self: end;
  width: 100%;
  max-width: 420px;
  opacity: 0.95;
}

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .dial-figure { justify-self: start; max-width: 280px; margin-top: 12px; order: -1; }
}

/* ---------- Sections ---------- */
section { padding: 84px 0; }

.section-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.section-label {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--brass-soft);
  padding-top: 6px;
}

.section-head h2 {
  font-size: clamp(24px, 3vw, 32px);
  max-width: 20ch;
}

@media (max-width: 700px) {
  .section-head { grid-template-columns: 1fr; gap: 12px; }
}

/* Spec list - philosophy points styled like a spec sheet */
.spec-list {
  border-top: 1px solid var(--line);
}

.spec-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.spec-row .spec-name {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink-muted);
  padding-top: 2px;
}

.spec-row .spec-body h3 {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 10px;
}

.spec-row .spec-body p {
  color: var(--ink-muted);
  max-width: 58ch;
  font-size: 15.5px;
}

@media (max-width: 700px) {
  .spec-row { grid-template-columns: 1fr; gap: 8px; }
}

/* Watch spec card (illustrative example) */
.spec-card {
  border: 1px solid var(--line);
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  background: var(--bg-raised);
}

.spec-card-title {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  margin-bottom: 6px;
}

.spec-card-title h3 { font-size: 22px; }
.spec-card-title span { font-family: var(--mono); font-size: 13px; color: var(--ink-faint); }

.spec-item .k {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-bottom: 4px;
}
.spec-item .v {
  font-size: 15.5px;
  color: var(--ink);
}

@media (max-width: 640px) {
  .spec-card { grid-template-columns: 1fr; }
}

/* Signup */
.signup {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signup .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.signup h2 { font-size: clamp(22px, 2.6vw, 28px); max-width: 22ch; }
.signup p { color: var(--ink-muted); margin-top: 14px; max-width: 42ch; }

.signup-form {
  display: flex;
  gap: 0;
  min-width: 340px;
}

.signup-form input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--line);
  border-right: none;
  color: var(--ink);
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 15px;
}

.signup-form input::placeholder { color: var(--ink-faint); }

.signup-form button {
  border-radius: 0;
  padding: 14px 24px;
}

.form-note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-faint);
}

@media (max-width: 760px) {
  .signup .wrap { grid-template-columns: 1fr; }
  .signup-form { min-width: 0; width: 100%; }
}

/* Page header (non-home pages) */
.page-hero {
  padding: 76px 0 60px;
  border-bottom: 1px solid var(--line);
}

.page-hero .hero-eyebrow { margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 46px); max-width: 16ch; }
.page-hero .hero-sub { margin-top: 20px; }

/* Two column prose layout (About) */
.prose-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
}

.prose-grid .label {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--brass-soft);
  padding-top: 6px;
}

.prose-body {
  max-width: 62ch;
}

.prose-body p {
  color: var(--ink-muted);
  font-size: 16.5px;
  margin-bottom: 22px;
}

.prose-body p:last-child { margin-bottom: 0; }

@media (max-width: 700px) {
  .prose-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* Status banner (Shop coming soon) */
.status-banner {
  border: 1px solid var(--line);
  background: var(--bg-raised);
  padding: 30px 34px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brass);
  margin-top: 8px;
  flex-shrink: 0;
}

.status-banner h3 { font-size: 17px; margin-bottom: 8px; }
.status-banner p { color: var(--ink-muted); font-size: 15px; max-width: 60ch; }

/* Journal list */
.journal-list { border-top: 1px solid var(--line); }

.journal-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.journal-row .j-status {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-faint);
  padding-top: 3px;
}

.journal-row h3 { font-size: 19px; font-weight: 500; margin-bottom: 8px; }
.journal-row p { color: var(--ink-muted); font-size: 15px; max-width: 56ch; }

@media (max-width: 700px) {
  .journal-row { grid-template-columns: 1fr; gap: 6px; }
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-block + .contact-block {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 22px;
}

.contact-block .k {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-bottom: 6px;
}

.contact-block .v { font-size: 16px; }
.contact-block .v a:hover { color: var(--brass); }

.contact-form label {
  display: block;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-faint);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 15px;
  margin-bottom: 22px;
  resize: vertical;
}

.contact-form textarea { min-height: 120px; }

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; gap: 10px; }
}
