/* Gelf Studio — holding page · Brand Guidelines v1.2 · mobile-first */

/* ---------- Fonts (self-hosted, SIL OFL 1.1 — see fonts/OFL-LICENSE.txt) */
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ---------- Tokens (approved palette) */
:root {
  --paper: #EDEBE6;
  --ink: #121212;
  --grey: #66635C;       /* Grey / Paper — 5.03:1 on Paper */
  --kick: #FF4D00;       /* accent — graphic use only on Paper */

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: 20px;
  --max: 1360px;
  --rule: 1px solid var(--ink);

  color-scheme: light;
}
@media (min-width: 600px)  { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 56px; } }

/* ---------- Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, p { margin: 0; }
a { color: inherit; }

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

/* Labels — Geist Mono, ALL CAPS only in mono (guidelines 04) */
.label {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---------- Accessibility */
.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 10;
  background: var(--ink); color: var(--paper);
  padding: 12px 16px; font-family: var(--mono); font-size: 0.8125rem; text-decoration: none;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Header */
.site-header .wrap {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding-block: 24px;
}
.logo-link { display: inline-block; flex: none; padding-block: 4px; margin-block: -4px; text-decoration: none; }
/* Square logo, sized by scale. Minimum 80 px (tested); header uses 104–152 px. */
.logo { width: clamp(104px, 6vw + 72px, 152px); height: auto; }
.site-header .label { padding-top: 2px; text-align: right; }

/* ---------- Hero */
.hero .wrap { padding-block: clamp(72px, 14vh, 168px) clamp(88px, 6.75vw, 104px); } /* hero → Approach rule: width-based, ≈3× the space below the rule */
.hero h1 {
  font-weight: 600;
  font-size: clamp(3rem, 1.6rem + 7.2vw, 9rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
}
.hero .lead {
  margin-top: clamp(28px, 4vw, 48px);
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.4;
  max-width: 30ch;
}

/* ---------- Statement + contact */
.statement .wrap { position: relative; padding-block: clamp(24px, 2.25vw, 32px) clamp(64px, 10vh, 120px); }
.statement .wrap::before, .site-footer .wrap::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: var(--rule); }
.statement .label { margin-bottom: clamp(40px, 6vw, 72px); }
.statement h2 {
  font-weight: 600;
  font-size: clamp(2.125rem, 1.3rem + 2.9vw, 4.25rem); /* ~17% below v1 on desktop; mobile unchanged */
  line-height: 1;
  letter-spacing: -0.03em;
}
.contact { margin-top: clamp(48px, 7vw, 88px); display: grid; gap: 20px; }
.status { font-family: var(--mono); font-size: 0.8125rem; letter-spacing: 0.04em; color: var(--grey); }
.cta {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 48px; padding-block: 8px;
  font-size: clamp(1.125rem, 1rem + 0.7vw, 1.625rem);
  font-weight: 500;
  line-height: 1.25;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  width: fit-content;
}
.cta::before {
  /* Beat 1 — restrained Kick accent (derived composition, guidelines 05) */
  content: ""; flex: none; width: 0.7em; height: 0.7em; background: var(--kick);
}
.cta:hover { text-decoration-thickness: 2px; }

/* ---------- Footer */
.site-footer { margin-top: auto; }
.site-footer .wrap {
  position: relative;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px;
  padding-block: 8px 16px;
}
.site-footer .label { color: var(--ink); }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.site-footer a {
  display: inline-flex; align-items: center; min-height: 44px;
  text-decoration: none;
}
.site-footer a:hover { text-decoration: underline; text-underline-offset: 0.3em; }

/* ---------- Desktop: four-column beat grid (preferred principle) */
@media (min-width: 900px) {
  .hero .wrap, .statement .wrap {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px;
  }
  .hero h1 { grid-column: 1 / -1; }
  .hero .lead { grid-column: 3 / 5; }
  .statement .label { grid-column: 1 / 2; margin-bottom: 0; padding-top: 0.6em; }
  .statement h2 { grid-column: 2 / 5; }
  .contact { grid-column: 2 / 5; }
}

/* ---------- Legal pages */
.legal .wrap { padding-block: clamp(48px, 8vh, 96px) clamp(64px, 10vh, 120px); }
.legal h1 { font-weight: 600; font-size: clamp(2.25rem, 1.6rem + 3vw, 4rem); line-height: 1; letter-spacing: -0.03em; margin-bottom: 32px; }
.legal h2 { font-weight: 600; font-size: 1.25rem; letter-spacing: -0.01em; margin: 40px 0 12px; padding-top: 12px; border-top: var(--rule); }
.legal p, .legal li, .legal dd { max-width: 68ch; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.25em; margin: 8px 0; }
.legal dl { display: grid; grid-template-columns: 1fr; gap: 4px 24px; margin: 0; }
.legal dt { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); margin-top: 12px; }
.legal dd { margin: 0; }
@media (min-width: 700px) { .legal dl { grid-template-columns: 220px 1fr; } .legal dt { margin-top: 0; padding-top: 3px; } }
.review {
  border: 2px solid var(--ink); padding: 16px 18px; margin-bottom: 40px; max-width: 68ch;
  font-size: 0.9375rem;
}
.review strong { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 6px; }
.req { font-family: var(--mono); font-size: 0.875em; background: var(--ink); color: var(--paper); padding: 1px 6px; }

/* ---------- Motion */
@media (prefers-reduced-motion: no-preference) {
  .cta, .site-footer a { transition: text-decoration-thickness 120ms ease; }
}

/* ---------- Print */
@media print { .skip { display: none; } body { background: #fff; } }

/* Email address under CTA — comfortable tap target */
.status a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 0.25em; }
