/* ============================================================
   Utah Wedding Planners — Design Tokens
   Colors, type, spacing, radii, shadows, motion
   ============================================================ */

/* -----------------------------
   Fonts
   ----------------------------- */
@font-face {
  font-family: 'BentonModDisp';
  src: url('./fonts/BentonModDisp-UltraItalic.otf') format('opentype');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'BentonModDisp';
  src: url('./fonts/BentonModDisp-LightItalic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* Pair Benton Modern Display Italic with Inter Tight
   — Inter Tight is already on Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

:root {
  /* ============================================================
     COLOR — primary palette
     Warm cream + dark olive. Accent is the cream itself (inverted
     on dark surfaces), used for display type, price numerals and
     "checkmark" bullets.
     ============================================================ */
  --uwp-beige:        #e3dacc;  /* primary surface, warm cream */
  --uwp-dark-olive:   #2a2c20;  /* primary ink + dark surface */
  --uwp-off-white:    #f2f1f1;  /* body copy on dark surfaces */
  --uwp-white:        #ffffff;  /* pure white, sparingly */
  --uwp-card-faint:   #faf9f9;  /* faq item background */
  --uwp-card-border:  #565a7c;  /* package card stroke, slate */

  /* alphas used in the product */
  --uwp-dark-olive-80:  rgba(42, 44, 32, 0.80);
  --uwp-dark-olive-04:  rgba(42, 44, 32, 0.04);
  --uwp-white-90:       rgba(255, 255, 255, 0.90);
  --uwp-white-75:       rgba(255, 255, 255, 0.75);
  --uwp-white-70:       rgba(255, 255, 255, 0.70);
  --uwp-white-55:       rgba(255, 255, 255, 0.55);
  --uwp-white-40:       rgba(255, 255, 255, 0.40);
  --uwp-white-15:       rgba(255, 255, 255, 0.15);
  --uwp-white-10:       rgba(255, 255, 255, 0.10);

  /* ============================================================
     COLOR — semantic
     ============================================================ */
  --bg:              var(--uwp-beige);
  --bg-dark:         var(--uwp-dark-olive);
  --bg-card:         var(--uwp-card-faint);
  --bg-card-on-dark: rgba(248, 248, 248, 0.10);
  --bg-card-on-cream: rgba(255, 255, 255, 0.55);

  --fg:              var(--uwp-dark-olive);          /* ink on cream */
  --fg-muted:        rgba(42, 44, 32, 0.75);         /* 75% ink */
  --fg-subtle:       rgba(42, 44, 32, 0.50);         /* 50% ink */
  --fg-on-dark:      var(--uwp-off-white);           /* body on olive */
  --fg-on-dark-muted: rgba(242, 241, 241, 0.85);
  --fg-on-dark-subtle: rgba(242, 241, 241, 0.60);
  --fg-display:      var(--uwp-beige);               /* display type ON dark */

  --border-card:     var(--uwp-card-border);
  --border-hairline: rgba(255, 255, 255, 0.10);      /* dark-surface divider */

  /* ============================================================
     TYPE — families
     ============================================================ */
  --font-display:    'BentonModDisp', 'Benton Modern Display', Georgia, 'Times New Roman', serif;
  --font-body:       'Inter Tight', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  /* ============================================================
     TYPE — scale (px based, matches production)
     Display is Benton Modern Display, always italic.
     Two display weights in use: 300 Light Italic (editorial headers)
     and 900 Ultra Italic (price/POSTER moments).
     ============================================================ */
  --fs-hero:         70px;   /* H1 hero — Display Light Italic */
  --fs-display-lg:   56px;   /* CTA banner — Display Ultra Italic */
  --fs-display:      50px;   /* Section H2 — Display Light Italic */
  --fs-price:        46px;   /* Price — Display Ultra Italic */
  --fs-display-sm:   32px;   /* FAQ header — Display Ultra Italic */
  --fs-h3:           24px;   /* Footer H3 — Inter Tight 400 */
  --fs-lead:         23px;   /* Lead paragraph */
  --fs-body-lg:      18px;   /* Body large */
  --fs-body:         17px;   /* Body default */
  --fs-ui:           16px;   /* Buttons, nav */
  --fs-small:        15px;   /* Footer links, testimonial body */
  --fs-sm:           14px;   /* Secondary */
  --fs-xs:           13px;   /* Caption */
  --fs-micro:        12px;   /* Eyebrow, photo credit */

  /* line heights */
  --lh-display:      1.05;
  --lh-h2:           1.1;
  --lh-lead:         1.5;
  --lh-body:         1.65;
  --lh-loose:        1.75;

  /* letter-spacing (eyebrows use heavy tracking) */
  --ls-eyebrow:      3px;     /* hero eyebrow */
  --ls-caps:         2px;     /* step number / package name */

  /* ============================================================
     SPACING — 4px base, with section rhythm
     ============================================================ */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-7:  28px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-15: 60px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 100px;  /* hero vertical padding */

  /* container */
  --max-width: 1170px;
  --gutter:    24px;

  /* ============================================================
     RADII — the signature move is the oversized 50px "dome" that
     caps dark sections, and the 50px pill on all buttons.
     ============================================================ */
  --radius-pill:    50px;     /* buttons — always fully pilled */
  --radius-dome:    50px;     /* section top-corners (50 50 0 0) */
  --radius-xl:      25px;     /* step cards, footer, slider */
  --radius-lg:      20px;     /* booking inner, testimonial cards */
  --radius-md:      16px;     /* images, hero tiles */
  --radius-sm:      12px;     /* booking iframe */
  --radius-xs:      10px;     /* faq items */

  /* ============================================================
     ELEVATION / SHADOW
     The brand avoids drop shadows almost entirely — depth comes
     from layered color blocks (cream → olive → cream) and
     contained rounded corners. These tokens exist for edge cases.
     ============================================================ */
  --shadow-none:    none;
  --shadow-subtle:  0 1px 2px rgba(42, 44, 32, 0.06);
  --shadow-card:    0 4px 20px rgba(42, 44, 32, 0.08);
  --shadow-lift:    0 10px 30px rgba(42, 44, 32, 0.12);

  /* ============================================================
     MOTION
     Everything is a quiet 0.2–0.6s ease. No bounce, no spring.
     ============================================================ */
  --motion-fast:    0.2s ease;
  --motion-med:     0.35s ease;
  --motion-slow:    0.6s ease;
  --motion-hero:    0.8s ease;
  --hover-lift:     translateY(-2px);
  --hover-opacity:  0.88;
}

/* ============================================================
   SEMANTIC ELEMENT STYLES
   Apply to <h1> etc. by giving the root a `.uwp-typography`
   class, or reference the utility classes (.uwp-h1 etc.)
   ============================================================ */

.uwp-typography h1, .uwp-h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: var(--fs-hero);
  line-height: var(--lh-display);
  color: var(--fg);
  margin: 0;
}

.uwp-typography h2, .uwp-h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: var(--fs-display);
  line-height: var(--lh-h2);
  color: var(--fg);
  margin: 0;
}

/* The Ultra Italic "poster" variant of H2 — used on the CTA banner
   and on the FAQ. Louder, heavier, always italic. */
.uwp-h2-poster {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: var(--fs-display-lg);
  line-height: var(--lh-display);
  margin: 0;
}

.uwp-typography h3, .uwp-h3 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-h3);
  line-height: 1.3;
  color: var(--fg);
  margin: 0;
}

.uwp-typography p, .uwp-p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: var(--lh-loose);
  color: var(--fg);
  margin: 0;
}

.uwp-lead {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-lead);
  line-height: var(--lh-lead);
  color: var(--fg-muted);
}

/* All-caps tracked eyebrow — the only place uppercase is used. */
.uwp-eyebrow {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--fs-sm);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg);
}

/* Step-number / package-name variant — shorter tracking, 500 wt. */
.uwp-eyebrow-strong {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-micro);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--fg-on-dark-subtle);
}

.uwp-small {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  line-height: var(--lh-body);
  color: var(--fg);
}

.uwp-caption {
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--fs-micro);
  color: var(--fg-subtle);
}

/* Price number — always Ultra Italic, in cream on dark. */
.uwp-price {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: var(--fs-price);
  line-height: 1;
  color: var(--uwp-beige);
}

.uwp-tagline {
  font-family: var(--font-body);
  font-style: italic;
  font-size: var(--fs-body-lg);
  color: var(--uwp-beige);
}
