/* ============================================================
   Design tokens · sourced from design_handoff/colors_and_type.css
   Font @imports moved to index.html <link> tags for perf.
   ============================================================ */

:root {
  /* Canvas */
  --canvas:        #F4F1EC;
  --canvas-alt:    #E8E3DB;
  --canvas-tint:   #DDD6CB;
  --canvas-ink:    #111111;

  /* Ink */
  --ink:           #2A1F1D;
  --ink-2:         #5C4A44;
  --ink-3:         #8A746C;
  --ink-4:         #B8A49B;
  --ink-on-dark:   #FBF6F1;

  /* Brand accent */
  --wine:          #7B3F3F;
  --wine-deep:     #5E2E2E;
  --rose:          #D4A59A;
  --rose-soft:     #E8C9B8;
  --rose-wash:     #F5E3DA;

  /* Lines */
  --line:          rgba(42, 31, 29, 0.12);
  --line-strong:   rgba(42, 31, 29, 0.24);
  --line-on-dark:  rgba(251, 246, 241, 0.18);
  --line-on-dark-strong: rgba(251, 246, 241, 0.32);

  /* Shadows (warm, slightly pink-tinted) */
  --shadow-sm:  0 1px 2px  rgba(80, 30, 30, 0.06);
  --shadow-md:  0 4px 16px rgba(80, 30, 30, 0.08);
  --shadow-lg:  0 16px 48px rgba(80, 30, 30, 0.10);
  --shadow-xl:  0 32px 80px rgba(80, 30, 30, 0.14);

  /* Type families */
  --font-display: 'Tenor Sans', 'Optima', 'Avenir Next', sans-serif;
  --font-sans:    'Jost', 'Futura', 'Avenir Next', -apple-system, sans-serif;
  --font-mono:    'Geist Mono', 'SF Mono', 'Menlo', monospace;
  --font-spread:  'Playfair Display', 'Times New Roman', serif;
  --font-script:  'Pinyon Script', 'Allura', cursive;
  /* Wordmark font · Jost weight 300 has proper Turkish dotless ı (Tenor Sans does not).
     Geometric editorial sans, similar family to Tenor Sans. */
  --font-wordmark: 'Jost', 'Optima', 'Avenir Next', sans-serif;

  /* Scale */
  --text-xs:   12px;
  --text-sm:   14px;
  --text-base: 16px;
  --text-md:   18px;
  --text-lg:   21px;
  --text-xl:   26px;
  --text-2xl:  32px;
  --text-3xl:  42px;
  --text-4xl:  56px;
  --text-5xl:  76px;
  --text-6xl:  104px;

  /* Spacing (8px) */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;
  --space-11: 160px;

  /* Radii */
  --radius-xs: 2px;
  --radius-sm: 6px;
  --radius-md: 12px;

  /* Motion */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:   200ms;
  --dur-med:    400ms;
  --dur-slow:   600ms;

  /* Layout */
  --max-content: 1280px;
  --max-reading:  640px;
  --nav-height:    72px;
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  font-weight: 400;
  letter-spacing: 0.005em;
}
img, svg { display: block; max-width: 100%; }

/* ============================================================
   Semantic type
   ============================================================ */
.display-1, h1.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 7vw, var(--text-6xl));
  line-height: 0.94;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.display-hero {
  font-family: var(--font-wordmark);
  font-style: normal;
  font-weight: 300;
  font-size: clamp(64px, 11vw, 184px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  margin: 0;
  font-feature-settings: "locl" 1;
  text-rendering: geometricPrecision;
}
.display-2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, var(--text-5xl));
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin: 0;
}
.display-italic {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 300;
}

h1, .h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, var(--text-4xl));
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
h2, .h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, var(--text-3xl));
  line-height: 1.08;
  letter-spacing: -0.008em;
  color: var(--ink);
  margin: 0;
}
h3, .h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-2xl);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0;
}
p, .body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
}
.body-lg {
  font-size: var(--text-md);
  line-height: 1.7;
  color: var(--ink-2);
}
.lead {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: var(--text-xl);
  line-height: 1.5;
  color: var(--ink);
}
.lead-italic {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 300;
  font-size: var(--text-xl);
  line-height: 1.5;
  color: var(--ink-2);
}
.small, small { font-size: var(--text-sm); color: var(--ink-3); }
.tiny { font-size: var(--text-xs); color: var(--ink-3); }

/* Eyebrow · the brand's signature numbered section label */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-2);
  line-height: 1;
}
.eyebrow-on-dark { color: rgba(251, 246, 241, 0.6); }

/* Pull-quote */
.pullquote {
  font-family: var(--font-sans);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, var(--text-2xl));
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: 0;
  margin: 0;
}

/* Links */
a { color: inherit; text-decoration: none; }
a.link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color var(--dur-fast) var(--ease-out);
}
a.link:hover { text-decoration-color: var(--ink); }

/* Hairline rule */
.rule { border: 0; height: 1px; background: var(--line); margin: var(--space-5) 0; }
.rule-strong { background: var(--line-strong); }
.rule-on-dark { background: var(--line-on-dark); }

::selection { background: var(--wine); color: var(--ink-on-dark); }
