/* ============================================================
   The Prestigious Cut® — Design Tokens
   Colors • Typography • Spacing • Radii • Shadows • Motion
   ============================================================ */

/* ---------- WEB FONTS (self-hosted, latin subset) ---------- */

@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('./fonts/cinzel-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/cormorant-garamond-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/cormorant-garamond-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/cormorant-garamond-400-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./fonts/lato-300.woff2') format('woff2');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/lato-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/lato-700.woff2') format('woff2');
}

:root {
  /* ---------- BRAND PALETTE ---------- */
  --gold:            #CFB53B;   /* Prestigious Gold  — signature accent */
  --gold-deep:       #A8912E;   /* aged / darker gold */
  --gold-soft:       #E5D48A;   /* highlight sheen   */
  --black:           #000000;   /* Executive Black   */
  --silver:          #C0C0C0;   /* Professional Silver */
  --silver-light:    #D9D6CE;   /* warm silver, borders */
  --ivory:           #F7F5F2;   /* Warm Ivory — page ground */
  --ivory-tint:      #EFEBE4;   /* card / hover ground */
  --charcoal:        #4A4A4A;   /* Charcoal Gray — body */
  --charcoal-soft:   #6B6B6B;   /* secondary text */
  --charcoal-mute:   #8C8C8C;   /* tertiary / captions */

  /* ---------- SEMANTIC — SURFACES ---------- */
  --bg:              var(--ivory);
  --bg-alt:          #FFFFFF;
  --bg-inverse:      var(--black);
  --bg-veil:         rgba(0, 0, 0, 0.55);   /* over imagery */
  --surface:         #FFFFFF;
  --surface-tint:    var(--ivory-tint);
  --surface-inverse: #0B0B0B;

  /* ---------- SEMANTIC — FOREGROUND ---------- */
  --fg:              #1A1A1A;   /* not pure black — softer read on ivory */
  --fg-strong:       var(--black);
  --fg-muted:        var(--charcoal);
  --fg-soft:         var(--charcoal-soft);
  --fg-quiet:        var(--charcoal-mute);
  --fg-inverse:      var(--ivory);
  --fg-accent:       var(--gold-deep);   /* gold text — always use deeper tone for legibility */

  /* ---------- SEMANTIC — BORDERS & RULES ---------- */
  --border:          rgba(0, 0, 0, 0.10);
  --border-strong:   rgba(0, 0, 0, 0.24);
  --border-gold:     var(--gold);
  --border-inverse:  rgba(255, 255, 255, 0.18);
  --hairline:        1px;

  /* ---------- SEMANTIC — STATE ---------- */
  --success:         #4C7C4C;
  --warning:         #B08A3E;
  --danger:          #8B3A3A;
  --info:            var(--charcoal);

  /* ---------- TYPOGRAPHY ---------- */
  --font-display: 'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
  --font-serif:   'Cormorant Garamond', 'EB Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:    'Lato', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  /* Type scale (modular, editorial) */
  --fs-eyebrow:  11px;    /* uppercase caption */
  --fs-caption:  13px;
  --fs-body:     16px;
  --fs-lead:     19px;    /* intro paragraph */
  --fs-h6:       15px;
  --fs-h5:       18px;
  --fs-h4:       22px;
  --fs-h3:       30px;
  --fs-h2:       44px;
  --fs-h1:       64px;
  --fs-display:  88px;    /* hero, editorial */

  --lh-tight:    1.1;
  --lh-snug:     1.25;
  --lh-normal:   1.5;
  --lh-loose:    1.7;

  /* Letter-spacing — the "quiet luxury" tell */
  --ls-tight:   -0.01em;
  --ls-normal:   0;
  --ls-wide:     0.08em;
  --ls-wider:    0.18em;   /* eyebrows, small caps */
  --ls-widest:   0.32em;   /* logo lockup, dividers */

  /* ---------- SPACING (8pt base, editorial gutters) ---------- */
  --sp-0:  0;
  --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;
  --sp-11: 160px;

  --gutter:   32px;
  --measure:  62ch;   /* readable text column */

  /* ---------- RADII (restrained — editorial, not app-y) ---------- */
  --r-none:   0;
  --r-xs:     2px;
  --r-sm:     3px;
  --r-md:     4px;
  --r-lg:     6px;
  --r-pill:   999px;

  /* ---------- SHADOWS — soft, print-like ---------- */
  --shadow-hair:  0 1px 0 rgba(0, 0, 0, 0.04);
  --shadow-xs:    0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm:    0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md:    0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg:    0 20px 48px rgba(0, 0, 0, 0.12);
  --shadow-gold:  0 0 0 1px var(--gold), 0 8px 24px rgba(207, 181, 59, 0.18);

  /* ---------- MOTION ---------- */
  --ease-out:    cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:    140ms;
  --dur-med:     240ms;
  --dur-slow:    420ms;

  /* ---------- LAYOUT ---------- */
  --page-max:      1280px;
  --page-max-wide: 1440px;
  --nav-h:         88px;
}

/* ============================================================
   BASE TYPESET
   ============================================================ */

html { font-size: 16px; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  text-wrap: pretty;
}

/* --- Editorial display: Cinzel, all-caps, wide tracking --- */
.tpc-display,
h1.tpc-display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--fg-strong);
}

/* --- Standard headings: Cormorant Garamond (editorial serif) --- */
h1, .tpc-h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--fg-strong);
  margin: 0 0 var(--sp-4);
}
h2, .tpc-h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--fg-strong);
  margin: 0 0 var(--sp-4);
}
h3, .tpc-h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: var(--lh-snug);
  color: var(--fg-strong);
  margin: 0 0 var(--sp-3);
}
h4, .tpc-h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: var(--fs-h4);
  line-height: var(--lh-snug);
  color: var(--fg-strong);
  margin: 0 0 var(--sp-3);
}
h5, .tpc-h5 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-h5);
  line-height: var(--lh-snug);
  color: var(--fg-strong);
  margin: 0 0 var(--sp-2);
}
h6, .tpc-h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-h6);
  line-height: var(--lh-snug);
  color: var(--fg-strong);
  margin: 0 0 var(--sp-2);
}

/* --- Eyebrow / small-caps label — a signature move --- */
.tpc-eyebrow {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-eyebrow);
  line-height: 1;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--fg-accent);
  display: inline-block;
}
.tpc-eyebrow--muted { color: var(--fg-quiet); }

/* --- Lead paragraph --- */
.tpc-lead {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: var(--fs-lead);
  line-height: var(--lh-loose);
  color: var(--fg-muted);
  max-width: var(--measure);
}

/* --- Body copy --- */
p, .tpc-p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: var(--lh-loose);
  color: var(--fg-muted);
  max-width: var(--measure);
  margin: 0 0 var(--sp-4);
}

.tpc-caption {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-caption);
  line-height: var(--lh-normal);
  color: var(--fg-quiet);
  letter-spacing: 0.02em;
}

/* --- Pullquote (editorial) --- */
.tpc-quote {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: 34px;
  line-height: 1.35;
  color: var(--fg-strong);
  max-width: 24ch;
  border-top: 1px solid var(--gold);
  padding-top: var(--sp-5);
  margin: var(--sp-6) 0;
}

/* --- Divider — the gold hairline flourish --- */
.tpc-rule {
  border: 0;
  height: 1px;
  background: var(--gold);
  width: 48px;
  margin: var(--sp-5) 0;
}
.tpc-rule--wide { width: 96px; }
.tpc-rule--silver { background: var(--silver); }

/* --- Links --- */
a {
  color: var(--fg-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
a:hover { border-bottom-color: var(--gold); color: var(--gold-deep); }

/* --- Selection --- */
::selection { background: var(--gold); color: var(--black); }
