/* ============================================
   NelsonDigitalStudio — Design Tokens
   Boho · watercolor · feminine · minimalist
   ============================================ */

/* Webfont imports (Google Fonts substitutions for the brand's signature script + spaced sans).
   FLAGGED: brand banner uses a custom signature script. Closest matches are
   "Dancing Script" / "Sacramento" / "Mrs Saint Delafield" — using "Mrs Saint Delafield"
   for that thin one-stroke signature feel, with "Dancing Script" as fallback.
   Body uses "Cormorant Garamond" (display serif) + "Montserrat" (spaced sans). */
@import url('https://fonts.googleapis.com/css2?family=Tangerine:wght@400;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  /* ---------- Brand palette (extracted from banner) ---------- */
  --mustard:        #C9A648;   /* signature golden yellow */
  --mustard-deep:   #A8862F;
  --mustard-soft:   #E2C97A;

  --sage:           #A8C0C4;   /* dusty sage-teal */
  --sage-deep:      #7B989D;
  --sage-soft:      #C9D8DA;

  --blush:          #E6CFC0;   /* warm peach-blush */
  --blush-deep:     #C9A892;
  --blush-soft:     #F2DDD0;

  --cream:          #FAF3EA;   /* primary canvas */
  --cream-deep:     #F1E7D6;
  --paper:          #FDF9F3;   /* lightest paper background */

  --ink:            #1F1B16;   /* near-black, warm */
  --ink-soft:       #3A332C;
  --charcoal:       #5A524A;
  --warm-grey:      #8B8378;
  --light-grey:     #C7BFB4;
  --hairline:       #E8DFD0;   /* subtle borders */

  /* ---------- Semantic colors ---------- */
  --bg:             var(--cream);
  --bg-alt:         var(--paper);
  --bg-accent:      var(--blush-soft);
  --surface:        #FFFFFF;
  --surface-warm:   var(--paper);

  --fg:             var(--ink);
  --fg-1:           var(--ink);
  --fg-2:           var(--ink-soft);
  --fg-3:           var(--charcoal);
  --fg-muted:       var(--warm-grey);

  --accent:         var(--mustard);
  --accent-cool:    var(--sage);
  --accent-warm:    var(--blush-deep);

  --border:         var(--hairline);
  --border-strong:  var(--light-grey);

  /* Etsy brand orange — used only for the "Buy on Etsy" CTA */
  --etsy:           #F1641E;
  --etsy-dark:      #D45211;

  /* ---------- Type families ---------- */
  --font-signature: 'Tangerine', 'Mrs Saint Delafield', cursive;
  --font-script:    'Tangerine', cursive;
  --font-display:   'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans:      'Montserrat', 'Helvetica Neue', system-ui, sans-serif;
  --font-mono:      'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* ---------- Type scale ---------- */
  --fs-xs:    11px;
  --fs-sm:    13px;
  --fs-base:  15px;
  --fs-md:    17px;
  --fs-lg:    20px;
  --fs-xl:    26px;
  --fs-2xl:   34px;
  --fs-3xl:   46px;
  --fs-4xl:   62px;
  --fs-5xl:   84px;
  --fs-hero:  120px;

  --lh-tight: 1.05;
  --lh-snug:  1.25;
  --lh-base:  1.55;
  --lh-loose: 1.8;

  /* The brand's signature spaced-uppercase tracking */
  --tracking-luxe:   0.32em;
  --tracking-wide:   0.18em;
  --tracking-mid:    0.08em;
  --tracking-tight: -0.01em;

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

  /* ---------- Radii ---------- */
  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* ---------- Shadows (soft, paper-like) ---------- */
  --shadow-xs: 0 1px 2px rgba(31, 27, 22, 0.04);
  --shadow-sm: 0 2px 8px rgba(31, 27, 22, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 27, 22, 0.08);
  --shadow-lg: 0 18px 50px rgba(31, 27, 22, 0.10);
  --shadow-inner: inset 0 1px 2px rgba(31, 27, 22, 0.04);

  /* ---------- Motion ---------- */
  --ease-soft:   cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast:    160ms;
  --dur-base:    240ms;
  --dur-slow:    420ms;

  /* ---------- Layout ---------- */
  --container:        1240px;
  --container-narrow: 880px;
}

/* ============================================
   Semantic typography utility classes
   ============================================ */

.signature {
  font-family: var(--font-signature);
  font-weight: 400;
  font-size: var(--fs-hero);
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink);
}

.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-4xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--fg-1);
}

.h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-3xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--fg-1);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-2xl);
  line-height: var(--lh-snug);
  color: var(--fg-1);
}

.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-xl);
  line-height: var(--lh-snug);
  color: var(--fg-1);
}

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-luxe);
  text-transform: uppercase;
  color: var(--fg-3);
}

.tagline {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-md);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--fg-2);
}

.body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--fg-2);
}

.body-serif {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-md);
  line-height: var(--lh-base);
  color: var(--fg-2);
  font-style: italic;
}

.caption {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-xs);
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  color: var(--fg-3);
}

.price {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-lg);
  letter-spacing: 0;
  color: var(--ink);
}

/* Element defaults */
body { font-family: var(--font-sans); color: var(--fg-1); background: var(--bg); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; color: var(--fg-1); }
h1 { font-size: var(--fs-3xl); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-2xl); line-height: var(--lh-snug); }
h3 { font-size: var(--fs-xl); line-height: var(--lh-snug); }
p  { font-family: var(--font-sans); font-size: var(--fs-base); line-height: var(--lh-base); color: var(--fg-2); }
a  { color: var(--ink); text-decoration: none; transition: opacity var(--dur-fast) var(--ease-soft); }
a:hover { opacity: 0.66; }
