/* =========================================================
   FORMA — Landing Page styles
   Tokens + page styles, bundled for static publishing.
   ========================================================= */

/* ---------- Webfonts (Google Fonts CDN) ---------- */
@import url('https://fonts.googleapis.com/css2?family=Tenor+Sans&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Inter+Tight:wght@300;400;500;600&family=JetBrains+Mono:wght@300;400;500&display=swap');

:root {
  /* ===== Color · Paper & Bone ===== */
  --paper:        #F6F4F2;
  --paper-pure:  #FFFFFF;
  --bone:         #EAE5DB;
  --linen:        #DDD5C4;
  --sand:         #C9BFA8;

  /* ===== Color · Ink ===== */
  --ink:          #1A1A1A;
  --graphite:     #3D3A35;
  --slate:        #6B665E;
  --mist:         #8A857C;
  --hairline:     #C8C2B5;

  /* ===== Color · Gold ===== */
  --gold:         #B08D57;
  --gold-soft:    #C9A876;
  --gold-deep:    #8C6B3D;
  --gold-wash:    #EDE3CE;

  /* ===== Semantic ===== */
  --bg:           var(--paper);
  --fg:           var(--ink);
  --fg-muted:     var(--slate);
  --fg-faint:     var(--mist);
  --accent:       var(--gold);
  --rule:         var(--hairline);

  /* ===== Type families ===== */
  --font-display: "Tenor Sans", "Optima", "Avenir Next", sans-serif;
  --font-serif:   "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --font-sans:    "Inter Tight", "Söhne", "Helvetica Neue", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  /* ===== Line height / tracking ===== */
  --lh-body:    1.55;  /* @kind other */
  --lh-heading: 1.25;  /* @kind other */
  --lh-display: 1.12;  /* @kind other */

  /* ===== Motion ===== */
  --ease-standard: cubic-bezier(0.4, 0.0, 0.2, 1);  /* @kind other */
  --dur-fast:      180ms;  /* @kind other */
}

/* =========================================================
   Element defaults
   ========================================================= */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container { max-width: 1440px; margin: 0 auto; }

/* ===== Top bar ===== */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 26px 64px; border-bottom: 0.5px solid var(--hairline); }
.topbar nav { display: flex; gap: 36px; }
.topbar nav a { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--graphite); border: 0; padding-bottom: 4px; cursor: pointer; text-decoration: none; transition: color var(--dur-fast) var(--ease-standard), border-color var(--dur-fast) var(--ease-standard); }
.topbar nav a:hover { color: var(--ink); border-bottom: 1px solid var(--gold); }

/* ===== Hero ===== */
.hero { min-height: 82vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px 64px; text-align: center; }
.hero img.word { width: clamp(260px, 50vw, 720px); height: auto; display: block; margin: 0 auto 30px; }
.hero .tag { font-family: var(--font-display); font-size: clamp(13px, 1.4vw, 18px); letter-spacing: 0.42em; text-transform: uppercase; color: var(--ink); }
.hero-fade { opacity: 1; }

/* ===== Generic section ===== */
section { padding: 96px 64px; border-top: 0.5px solid var(--hairline); }
.eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mist); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 56px; }

/* ===== Manifesto (single page) ===== */
.manifesto-page { padding: 150px 64px; }
.manifesto-page .head { text-align: center; margin-bottom: 100px; }
.manifesto-page .head .title { font-family: var(--font-display); font-size: clamp(56px, 9vw, 120px); letter-spacing: 0.08em; color: var(--ink); line-height: 1; }
.manifesto-page .body { max-width: 660px; margin: 0 auto; }
.manifesto-page .movement { margin-bottom: 72px; }
.manifesto-page .movement:last-child { margin-bottom: 0; }
.manifesto-page .movement h3 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 22px; font-weight: 400; }
.manifesto-page .movement p { font-family: var(--font-serif); font-weight: 300; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.7; color: var(--graphite); margin: 0 0 18px; text-align: justify; hyphens: none; -webkit-hyphens: none; text-wrap: pretty; }
.manifesto-page .movement p:last-child { margin-bottom: 0; }
.manifesto-page .movement p em { color: var(--ink); font-style: italic; }

/* ===== Pre-production ===== */
.pre-prod { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
@media (max-width: 920px) { .pre-prod { grid-template-columns: 1fr; gap: 36px; } }
.pre-prod .card { aspect-ratio: 4/5; background: var(--bone); border: 0.5px solid var(--hairline); position: relative; padding: 56px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px; text-align: center; }
.pre-prod .card .corners { position: absolute; inset: 28px; pointer-events: none; }
.pre-prod .card .corners::before, .pre-prod .card .corners::after { content: ""; position: absolute; width: 14px; height: 14px; border: 0.5px solid var(--mist); }
.pre-prod .card .corners::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.pre-prod .card .corners::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.pre-prod .card .poster-title { font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px); letter-spacing: 0.02em; line-height: 1.05; color: var(--ink); }
.pre-prod .card .poster-sub { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mist); max-width: 28ch; line-height: 1.8; }
.pre-prod h2 { font-family: var(--font-display); font-size: clamp(40px, 5vw, 64px); letter-spacing: 0.01em; line-height: 1.1; color: var(--ink); margin: 18px 0 24px; }
.pre-prod .descr { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: 22px; line-height: 1.5; color: var(--graphite); max-width: 38ch; margin-bottom: 36px; }
.pre-prod .meta-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--graphite); }
.pre-prod .meta-grid span { display: block; color: var(--mist); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.18em; font-size: 10px; }

/* ===== Studio / Founders ===== */
.studio-head { text-align: center; margin-bottom: 72px; }
.studio-head h3 { font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 60px); letter-spacing: 0.01em; line-height: 1.15; color: var(--ink); margin: 18px auto 0; max-width: 22ch; }
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; max-width: 920px; margin: 0 auto; }
@media (max-width: 720px) { .founders { grid-template-columns: 1fr; } }
.founder { text-align: center; padding: 40px 24px; border-top: 0.5px solid var(--hairline); }
.founder .name { font-family: var(--font-display); font-size: 26px; letter-spacing: 0.02em; color: var(--ink); margin-bottom: 8px; }
.founder .role { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 22px; }
.founder .bio { font-family: var(--font-sans); font-size: 14px; line-height: 1.7; color: var(--graphite); max-width: 32ch; margin: 0 auto; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
@media (max-width: 920px) { .contact { grid-template-columns: 1fr; } }
.contact h3 { font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 60px); letter-spacing: 0.01em; margin: 18px 0 32px; color: var(--ink); }
.info { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; line-height: 2.4; color: var(--graphite); }
.info a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--hairline); transition: border-color var(--dur-fast) var(--ease-standard), color var(--dur-fast) var(--ease-standard); }
.info a:hover { border-bottom-color: var(--gold); color: var(--gold-deep); }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.field label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mist); }
.field input, .field select, .field textarea { font-family: var(--font-sans); font-size: 14px; padding: 14px 16px; background: transparent; border: 1px solid var(--hairline); border-radius: 4px; color: var(--ink); outline: 0; transition: border-color 180ms; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.btn { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; padding: 16px 32px; border: 0; cursor: pointer; transition: all 180ms; display: inline-block; border-radius: 0; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--graphite); }

/* ===== Footer ===== */
footer { padding: 96px 64px 56px; text-align: center; border-top: 0.5px solid var(--hairline); }
footer img.sketch { width: 100px; height: auto; opacity: 0.6; display: block; margin: 0 auto 24px; }
footer img.word { display: block; margin: 0 auto 18px; }
footer .line { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mist); margin-bottom: 6px; }

/* ===== Delicate reveals — JS-gated so content is always visible without JS, in print, or with reduced motion ===== */
.js-anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1100ms cubic-bezier(0.16,1,0.3,1), transform 1100ms cubic-bezier(0.16,1,0.3,1); will-change: opacity, transform; }
.js-anim .reveal.in { opacity: 1; transform: none; }
@media print { .reveal { opacity: 1 !important; transform: none !important; } }

/* ===== Small-screen padding ===== */
@media (max-width: 720px) {
  .topbar { padding: 20px 24px; flex-direction: column; gap: 16px; }
  .hero { padding: 72px 24px 88px; }
  section, .manifesto-page { padding-left: 24px; padding-right: 24px; }
}
