/* Glumpe v1 — editorial restraint */
:root {
  --paper: #F5F2EB;
  --paper-2: #EFEADD;
  --ink: #141414;
  --ink-soft: #2A2823;
  --muted: #6B6258;
  --hairline: #D8D2C2;
  --accent: #B8492A;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) {
  .wrap { padding: 0 22px; }
  body { font-size: 16px; }
}

/* ---------- Nav ---------- */
nav.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
nav.top.scrolled { border-bottom-color: var(--hairline); }
nav.top .row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
.wordmark {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
nav.top ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 32px;
  font-size: 14px;
  letter-spacing: 0.02em;
}
nav.top ul a { color: var(--ink-soft); }
@media (max-width: 640px) {
  nav.top ul { gap: 18px; font-size: 13px; }
  nav.top ul a.hide-sm { display: none; }
}

/* ---------- Hero ---------- */
section.hero { padding: 120px 0 96px; }
@media (max-width: 640px) { section.hero { padding: 64px 0 56px; } }
h1.display {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(44px, 7.5vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  max-width: 14ch;
}
h1.display em { font-style: italic; font-weight: 300; color: var(--ink-soft); }
p.lead {
  font-size: clamp(18px, 2.1vw, 22px);
  line-height: 1.45;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 44px;
  font-weight: 400;
}

/* ---------- Buttons ---------- */
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
a.btn, button.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-family: inherit;
  cursor: pointer;
  transition: all .15s ease;
}
a.btn.primary, button.btn.primary { background: var(--ink); color: var(--paper); }
a.btn.primary:hover, button.btn.primary:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
a.btn.secondary { background: transparent; color: var(--ink); border-color: var(--hairline); }
a.btn.secondary:hover { border-color: var(--ink); color: var(--ink); }
.arrow { font-size: 16px; transition: transform .15s ease; }
a.btn:hover .arrow, button.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Sections ---------- */
section { padding: 96px 0; border-top: 1px solid var(--hairline); }
@media (max-width: 640px) { section { padding: 64px 0; } }
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 24px;
  font-weight: 500;
}
h2.section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  max-width: 22ch;
}

/* ---------- Thesis ---------- */
.thesis p {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  max-width: 32ch;
  margin: 0;
}

/* ---------- Studio grid ---------- */
.studio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 64px;
  margin-top: 56px;
}
@media (max-width: 720px) { .studio-grid { grid-template-columns: 1fr; gap: 40px; } }
.studio-item .num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}
.studio-item h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.studio-item p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }

/* ---------- Audience cards ---------- */
.audience-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 820px) { .audience-row { grid-template-columns: 1fr; gap: 16px; } }
.audience-card {
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 36px 32px 32px;
  background: var(--paper-2);
  transition: border-color .15s ease, transform .15s ease;
}
.audience-card:hover { border-color: var(--ink); }
.audience-card .tag {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
  display: block;
}
.audience-card h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.audience-card p { margin: 0 0 24px; color: var(--muted); font-size: 15px; }
.audience-card a.go {
  font-size: 14px; font-weight: 500; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
}
.audience-card a.go:hover { color: var(--accent); }

/* ---------- Footprint ---------- */
.footprint {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 720px) { .footprint { grid-template-columns: 1fr; gap: 32px; } }
.footprint .label {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.footprint .where {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px; font-weight: 400; line-height: 1.2; letter-spacing: -0.01em;
}
.footprint .where small {
  display: block; font-family: 'Inter', sans-serif;
  font-size: 14px; color: var(--muted); margin-top: 8px;
  letter-spacing: 0; font-weight: 400;
}

/* ---------- Closing ---------- */
.closing { text-align: center; padding: 120px 0 96px; }
@media (max-width: 640px) { .closing { padding: 72px 0 56px; } }
.closing h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 18ch;
  margin: 0 auto 36px;
}
.closing .cta-row { justify-content: center; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--hairline);
  padding: 48px 0 56px;
  color: var(--muted);
  font-size: 13px;
}
footer .row {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  align-items: end;
}
footer ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 24px; flex-wrap: wrap;
}
footer ul a { color: var(--muted); }
footer ul a:hover { color: var(--ink); }
footer .fineprint { font-size: 12px; color: var(--muted); margin-top: 8px; }

/* ---------- Structured footer ---------- */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px 24px;
  align-items: start;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}
.footer-brand .fineprint { font-size: 12px; }
.footer-head {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 14px; font-weight: 600;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: block; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--muted); font-size: 14px; }
.footer-col a:hover { color: var(--ink); }

/* ---------- Subpage hero ---------- */
.page-hero { padding: 96px 0 56px; }
@media (max-width: 640px) { .page-hero { padding: 56px 0 32px; } }
.page-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  max-width: 18ch;
}
.page-hero p.lead {
  max-width: 56ch;
}

/* ---------- Forms ---------- */
.form-block {
  border-top: 1px solid var(--hairline);
  padding: 56px 0 96px;
}
@media (max-width: 640px) { .form-block { padding: 40px 0 64px; } }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 24px;
  max-width: 720px;
}
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--paper);
}
.field textarea { resize: vertical; min-height: 110px; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.form-actions { margin-top: 32px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.form-actions .small { font-size: 13px; color: var(--muted); }

/* ---------- Two-up routed intake ---------- */
.routes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 720px) { .routes { grid-template-columns: 1fr; } }
.route {
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 36px 32px;
  background: var(--paper-2);
}
.route h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: 24px;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.route p { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.route a.email {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.route a.email:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Compliance notice ---------- */
.notice {
  margin-top: 48px;
  padding: 24px 28px;
  background: var(--paper-2);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 760px;
}
.notice strong { color: var(--ink-soft); }

/* ---------- Credibility marks ---------- */
.hero-seal {
  display: block;
  width: 78px; height: 78px;
  margin: 0 0 28px;
  color: var(--ink);
}
.hero-seal text { font-family: 'Fraunces', Georgia, serif; }

.figure-band { border-top: 1px solid var(--hairline); padding: 96px 0; }
@media (max-width: 640px) { .figure-band { padding: 64px 0; } }
.figure-band .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 760px) {
  .figure-band .wrap { grid-template-columns: 1fr; gap: 36px; }
  .figure-band .figure-art { order: -1; max-width: 320px; }
}
.figure-art { width: 100%; height: auto; color: var(--ink); }
.figure-cap h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.figure-cap p { color: var(--muted); margin: 0; max-width: 44ch; font-size: 16px; }
.figure-cap .eyebrow { margin-bottom: 18px; }

/* ---------- Reveal ----------
   Visible by default. Only hidden once JS opts in (html.js), so a stale
   frame, missing scroll event, or disabled JS never blanks the page. */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}
