/* ============================================================
   CasketMart — Design Tokens
   Source: Claude Design export (styles.css)
   Warm, calm, trustworthy. Gold + deep teal on warm cream.
   Newsreader (serif display) + Hanken Grotesk (humanist sans).
   ============================================================ */

:root {
  /* warm neutrals */
  --cream:    #FAF6EE;
  --cream-2:  #F3ECDD;
  --cream-3:  #EDE3D1;
  --paper:    #FFFFFF;
  --ink:      #221E18;
  --ink-2:    #6A6055;
  --ink-3:    #938777;
  --line:     #E7DECD;
  --line-2:   #DCD0BB;

  /* brand gold */
  --gold:        #B8841C;
  --gold-bright: #F2A81F;
  --gold-deep:   #946514;
  --gold-tint:   #F6EACB;
  --gold-tint-2: #EFDDB4;

  /* deep teal */
  --teal:      #08403F;
  --teal-2:    #0E5953;
  --teal-deep: #052B2B;
  --teal-tint: #E6EFEC;
  --teal-line: #1C5C57;

  /* status */
  --green: #3F7D52;
  --red:   #B4452F;

  /* typography */
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  /* shape */
  --r-sm: 6px;
  --r:    11px;
  --r-lg: 18px;
  --r-xl: 26px;

  /* shadows (warm-tinted) */
  --sh-sm: 0 1px 2px rgba(60,45,20,.06), 0 2px 6px rgba(60,45,20,.05);
  --sh:    0 4px 14px rgba(60,45,20,.08), 0 1px 3px rgba(60,45,20,.06);
  --sh-lg: 0 24px 60px -18px rgba(40,30,12,.30), 0 8px 22px -12px rgba(40,30,12,.18);
  --sh-gold: 0 10px 26px -10px rgba(184,132,28,.45);

  --maxw: 1240px;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { margin: 0; padding: 0; list-style: none; }

/* ── LAYOUT ── */
.wrap        { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 920px;       margin: 0 auto; padding: 0 32px; }

/* ── TYPE HELPERS ── */
.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: currentColor;
  opacity: .55;
}
.eyebrow.on-dark  { color: var(--gold-bright); }
.eyebrow.no-rule::before { display: none; }

.display { font-size: clamp(38px, 5vw, 64px); line-height: 1.02; letter-spacing: -.02em; }
.lede    { font-size: 19px; line-height: 1.65; color: var(--ink-2); }
.serif   { font-family: var(--serif); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: .01em;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .2s ease, background .18s ease, color .18s;
  white-space: nowrap;
  line-height: 1;
  border: none;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px -10px rgba(8,64,63,.55); }
.btn-primary:hover { background: var(--teal-2); box-shadow: 0 12px 26px -10px rgba(8,64,63,.6); color: #fff; }

.btn-gold { background: var(--gold); color: #fff; box-shadow: var(--sh-gold); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; }

.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-outline:hover { border-color: var(--ink); background: rgba(0,0,0,.02); }
.btn-outline.on-dark { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline.on-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn-ghost { background: transparent; color: var(--teal); padding-left: 8px; padding-right: 8px; }
.btn-ghost:hover { color: var(--gold-deep); }

.btn-lg { padding: 17px 32px; font-size: 16.5px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ── CHIPS / BADGES ── */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  background: var(--paper); border: 1px solid var(--line);
  padding: 7px 13px; border-radius: 999px;
}
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px; }
.pill-gold  { background: var(--gold-tint);  color: var(--gold-deep); }
.pill-teal  { background: var(--teal-tint);  color: var(--teal); }
.pill-green { background: #E8F5EE; color: var(--green); }

/* ── CARDS ── */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}

/* ── STARS ── */
.stars { display: inline-flex; gap: 2px; color: var(--gold-bright); }
.stars svg { width: 16px; height: 16px; }

/* ── SECTION RHYTHM ── */
.section    { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 14px; }
.section-head p  { margin-top: 16px; }

/* dark teal surface */
.surface-teal  { background: var(--teal); color: #EAF1EF; }
.surface-teal h1, .surface-teal h2, .surface-teal h3 { color: #fff; }
.surface-cream2 { background: var(--cream-2); }

/* ── UTILITY ── */
.hr        { height: 1px; background: var(--line); border: 0; }
.muted     { color: var(--ink-2); }
.center    { text-align: center; }
.nowrap    { white-space: nowrap; }
.grid      { display: grid; }
.flex      { display: flex; }
.gap-sm    { gap: 10px; }
.gap       { gap: 18px; }
.gap-lg    { gap: 32px; }
.items-center { align-items: center; }

::selection { background: var(--gold-tint-2); color: var(--ink); }

/* ── RESPONSIVE BASE ── */
@media (max-width: 680px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
  .section    { padding: 56px 0; }
  .section-sm { padding: 36px 0; }
}
