/* ============================================================
   RENAN BUENO MUSIC — Color & Type Foundations
   Refined / conservatory · warm earth tones · elegant serif
   English. Timeless.
   ------------------------------------------------------------
   Load fonts (Google Fonts CDN) alongside this file:
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&display=swap" rel="stylesheet">
   ============================================================ */

:root {
  /* ---- CORE PALETTE (warm earth) ---------------------------- */
  --paper:        #F5EEE2;  /* primary background — warm ivory   */
  --paper-2:      #EFE4D2;  /* alt background / sand panel        */
  --paper-3:      #E7D9C2;  /* deeper sand, dividers, cards       */
  --linen:        #FBF7EF;  /* lightest surface / cards on paper  */

  --ink:          #2A2420;  /* primary text — warm near-black     */
  --ink-2:        #4A4039;  /* secondary text                     */
  --ink-3:        #756A5F;  /* muted / captions                   */

  --terracotta:   #B85C38;  /* PRIMARY accent — burnt clay        */
  --terracotta-d: #9C4A2C;  /* hover / deep                       */
  --terracotta-l: #D08A6B;  /* tint                               */

  --ochre:        #C79A4B;  /* gold / ochre — hairlines, marks    */
  --ochre-d:      #A87E37;
  --clay:         #B08463;  /* clay rose — soft secondary         */
  --olive:        #6E6A4F;  /* muted olive — rare cool counter    */

  --espresso:     #2B211B;  /* dark surface (Direction 3 base)    */
  --espresso-2:   #38291F;  /* dark surface raised                */

  /* ---- SEMANTIC SURFACE / TEXT ------------------------------ */
  --bg:           var(--paper);
  --bg-alt:       var(--paper-2);
  --surface:      var(--linen);
  --fg:           var(--ink);
  --fg-muted:     var(--ink-2);
  --fg-subtle:    var(--ink-3);
  --accent:       var(--terracotta);
  --accent-hover: var(--terracotta-d);
  --gold:         var(--ochre);

  /* ---- LINES & HAIRLINES ------------------------------------ */
  --line:         rgba(42, 36, 32, 0.14);  /* default hairline   */
  --line-strong:  rgba(42, 36, 32, 0.28);
  --line-gold:    rgba(199, 154, 75, 0.55);

  /* ---- RADII (restrained — timeless, not bubbly) ------------ */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;
  --r-pill: 999px;

  /* ---- SHADOWS (soft, warm, low) ---------------------------- */
  --shadow-sm: 0 1px 2px rgba(42, 36, 32, 0.06),
               0 1px 1px rgba(42, 36, 32, 0.04);
  --shadow-md: 0 4px 14px rgba(42, 36, 32, 0.08),
               0 1px 3px rgba(42, 36, 32, 0.05);
  --shadow-lg: 0 18px 48px rgba(42, 36, 32, 0.14),
               0 4px 12px rgba(42, 36, 32, 0.07);

  /* ---- SPACING (8pt base, generous editorial rhythm) -------- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;
  --maxw: 1200px;     /* content max width */
  --maxw-text: 64ch;  /* comfortable reading measure */

  /* ---- MOTION ----------------------------------------------- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);   /* gentle ease-out */
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 160ms;
  --dur: 320ms;
  --dur-slow: 600ms;

  /* ---- TYPE FAMILIES ---------------------------------------- */
  --serif-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --serif-text:    "EB Garamond", Georgia, "Times New Roman", serif;
  --font-fallback: Georgia, "Times New Roman", serif;
}

/* ============================================================
   TYPE SCALE — semantic helpers
   Display: Cormorant Garamond (high-contrast, classical)
   Text:    EB Garamond
   Eyebrows / labels: EB Garamond, uppercase, letterspaced
   ============================================================ */

.t-display {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(3.25rem, 7vw, 6rem);   /* ~52–96px */
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--fg);
}

.t-h1 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 5vw, 4rem);    /* ~40–64px */
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.t-h2 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 2.75rem); /* ~32–44px */
  line-height: 1.1;
  color: var(--fg);
}

.t-h3 {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.2vw, 1.875rem); /* ~24–30px */
  line-height: 1.18;
  color: var(--fg);
}

.t-lead {
  font-family: var(--serif-text);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);  /* ~20–24px */
  line-height: 1.5;
  color: var(--fg-muted);
}

.t-body {
  font-family: var(--serif-text);
  font-weight: 400;
  font-size: 1.1875rem;   /* 19px */
  line-height: 1.65;
  color: var(--fg-muted);
}

.t-small {
  font-family: var(--serif-text);
  font-weight: 400;
  font-size: 1rem;        /* 16px */
  line-height: 1.55;
  color: var(--fg-subtle);
}

.t-eyebrow {
  font-family: var(--serif-text);
  font-weight: 500;
  font-size: 0.8125rem;   /* 13px */
  line-height: 1;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.t-eyebrow--ink { color: var(--fg-subtle); }

.t-quote {
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--fg);
}

/* Decorative small-caps lockup used for labels & the logo line */
.t-smallcaps {
  font-family: var(--serif-display);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
