/* ============================================================
   Caron Studio — Foundations
   Brand: Full Service Visual Designer · Rotterdam
   Editorial · warm · personal · lichtdroog (lightly dry)
   ============================================================ */

/* Local brand fonts (variable, weight axis) */
@font-face {
  font-family: 'Libre Bodoni';
  src: url('fonts/LibreBodoni-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Libre Bodoni';
  src: url('fonts/LibreBodoni-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('fonts/InterTight-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter Tight';
  src: url('fonts/InterTight-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/JetBrainsMono-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/JetBrainsMono-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 800;
  font-style: italic;
  font-display: swap;
}

:root {
  /* ---------- BRAND COLORS ---------- */
  --green:          #3e5c4e;  /* Caron green — primary brand */
  --green-deep:     #2f4a3d;  /* deeper green — used for dark surfaces */
  --green-deeper:   #243a30;  /* deepest, footer/topbar background */
  --green-light:    #4e7362;  /* mid-tone, hover/transitions */
  --green-soft:     #6fa589;  /* accent dot, illustrations */

  --gold:           #b57c46;  /* Caron gold — italic accents, CTAs hover */
  --gold-warm:      #b08144;  /* gold (live brand) */
  --gold-soft:      #c8a26b;  /* lighter gold, on dark backgrounds */

  --beige:          #f5f0e8;  /* warm beige */
  --paper:          #faf6ee;  /* primary background — slightly creamy */
  --paper-2:        #f0eadd;  /* alternate surface */
  --ivory:          #f3ede1;  /* image placeholder / chip */

  --ink:            #1a1a1a;  /* primary text */
  --ink-soft:       #2a2a2a;  /* nav text */

  --rule:           rgba(36,58,48,0.14);  /* hairline rule */
  --rule-strong:    rgba(36,58,48,0.28);  /* stronger hairline */

  /* ---------- SEMANTIC ---------- */
  --bg:             var(--paper);
  --bg-alt:         var(--paper-2);
  --bg-dark:        var(--green-deeper);
  --surface-card:   #ffffff;
  --surface-hover:  var(--ivory);

  --fg:             var(--ink);
  --fg-muted:       rgba(26,26,26,0.72);
  --fg-quiet:       rgba(26,26,26,0.55);
  --fg-on-dark:     var(--paper);
  --fg-on-dark-muted: rgba(250,246,238,0.72);

  --accent:         var(--gold);
  --accent-soft:    var(--gold-soft);

  /* ---------- TYPOGRAPHY ---------- */
  --serif: 'Libre Bodoni', 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter Tight', -apple-system, system-ui, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, monospace;

  /* Type scale — editorial, generous */
  --t-display:    clamp(48px, 7.6vw, 130px);   /* h0 — final CTA, massive */
  --t-h1:         clamp(40px, 5.6vw, 88px);    /* hero, section headers */
  --t-h2:         clamp(38px, 4.8vw, 76px);
  --t-h3:         clamp(28px, 3vw, 44px);
  --t-h4:         24px;
  --t-h5:         18px;
  --t-body-lg:    16px;
  --t-body:       15px;
  --t-body-sm:    14px;
  --t-caption:    13px;
  --t-eyebrow:    11px;     /* mono uppercase */
  --t-tag:        10px;     /* mono uppercase */
  --t-micro:      9px;      /* tiny mono labels */

  /* Letter spacing & line-height tokens */
  --ls-display: -0.025em;
  --ls-h1:      -0.02em;
  --ls-h3:      -0.01em;
  --ls-eyebrow: 0.22em;
  --ls-mono:    0.16em;
  --lh-tight:   1.0;
  --lh-snug:    1.18;
  --lh-body:    1.65;
  --lh-loose:   1.85;

  /* ---------- SPACING ---------- */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  22px;
  --s-6:  32px;
  --s-7:  48px;
  --s-8:  64px;
  --s-9:  80px;
  --s-10: 130px;  /* large section vertical rhythm */
  --s-11: 140px;

  /* ---------- RADII ---------- */
  --r-none:  0;
  --r-xs:    2px;     /* default image / surface — barely there */
  --r-sm:    8px;
  --r-md:    18px;    /* service cards, large containers */
  --r-pill:  100px;   /* buttons, tags, chips */
  --r-full:  9999px;  /* circles */

  /* ---------- BORDERS ---------- */
  --bw-hair:  1px;
  --bw-rule:  1.5px;
  --br-rule:  1px solid var(--rule);
  --br-rule-strong: 1px solid var(--rule-strong);

  /* ---------- SHADOWS ---------- */
  --shadow-card:   0 30px 60px rgba(36,58,48,0.12);
  --shadow-deep:   0 30px 60px rgba(36,58,48,0.18);
  --shadow-offset: -16px -16px 0 var(--paper);   /* paper offset, layered photo style */

  /* ---------- MOTION ---------- */
  --ease-out:   cubic-bezier(.2, .7, .2, 1);
  --ease-soft:  cubic-bezier(.4, 0, .2, 1);
  --t-fast:     0.2s;
  --t-base:     0.3s;
  --t-slow:     0.6s;
  --t-slower:   1.2s;
}

/* ============================================================
   SEMANTIC TYPOGRAPHY UTILITIES
   ============================================================ */

.display, h1.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--t-display);
  line-height: 0.96;
  letter-spacing: var(--ls-display);
  color: var(--green-deep);
}

h1, .h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--t-h1);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-h1);
  color: var(--green-deep);
}

h2, .h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--t-h2);
  line-height: 1.02;
  letter-spacing: var(--ls-h1);
  color: var(--green-deep);
}

h3, .h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--t-h3);
  line-height: 1.1;
  letter-spacing: var(--ls-h3);
  color: var(--green-deep);
}

h4, .h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--t-h4);
  line-height: 1.1;
  letter-spacing: var(--ls-h3);
  color: var(--ink);
}

/* The signature italic-gold pattern: <h_> with <em> inside.
   This is THE single most recognisable typographic move in the brand. */
h1 em, h2 em, h3 em, h4 em,
.h1 em, .h2 em, .h3 em, .h4 em,
.display em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

p, .body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: var(--t-body-lg);
  line-height: var(--lh-body);
  color: var(--ink);
}

.body-muted { color: var(--fg-muted); }
.body-quiet { color: var(--fg-quiet); }
.body-sm    { font-size: var(--t-body-sm); }
.body-lead  { font-size: var(--t-body-lg); line-height: 1.7; }

/* Eyebrow — mono uppercase, micro letterspacing. Used everywhere
   above sections, on tags, in nav meta lines.                  */
.eyebrow {
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--t-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow .num { color: var(--gold); font-weight: 500; }
.eyebrow-plain { /* no rule */
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--t-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--green);
}

.tag {
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--t-tag);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  padding: 5px 10px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-pill);
  display: inline-block;
}

.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 36px;
  color: var(--green-deep);
  letter-spacing: var(--ls-h3);
  line-height: 1;
}

.italic-accent {
  font-style: italic;
  color: var(--gold);
}

code, .mono {
  font-family: var(--mono);
  font-size: 13px;
}
