/* ============================================================
   BEDAZZLE — shared design tokens & base styles
   Soft-luxury monochrome editorial. Black / cream / warm grey.
   ============================================================ */

:root {
  /* Surfaces */
  --bg:          #EEEBE4;   /* warm paper background */
  --bg-2:        #E7E3DB;   /* slightly deeper warm grey */
  --surface:     #FBFAF6;   /* card / panel surface (warm white) */
  --surface-2:   #F4F1EA;   /* inset surface */
  --white:       #FFFFFF;
  --dark:        #14110D;   /* near-black panels (waitlist) */
  --dark-2:      #1E1A15;

  /* Ink / text */
  --ink:         #14110D;   /* warm near-black, headings + outlines */
  --ink-soft:    #57534B;   /* secondary text */
  --ink-mute:    #8C877D;   /* tertiary / captions */
  --on-dark:     #F6F3EC;   /* text on dark panels */
  --on-dark-soft:#B8B2A6;

  /* Lines */
  --line:        rgba(20, 17, 13, 0.12);
  --line-strong: rgba(20, 17, 13, 0.22);
  --line-dark:   rgba(246, 243, 236, 0.16);

  /* Accent — restrained warm champagne, used sparingly */
  --champagne:   #C6A86B;
  --champagne-soft: #DCC79B;
  --sage:        #8C9A86;   /* soft success / match */

  /* Type */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadow — soft, premium, never harsh */
  --shadow-sm: 0 1px 2px rgba(20,17,13,.05), 0 2px 8px rgba(20,17,13,.04);
  --shadow-md: 0 4px 14px rgba(20,17,13,.07), 0 10px 30px rgba(20,17,13,.06);
  --shadow-lg: 0 10px 30px rgba(20,17,13,.10), 0 30px 60px rgba(20,17,13,.10);
  --shadow-card: 0 1px 3px rgba(20,17,13,.06), 0 8px 24px rgba(20,17,13,.07);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);

  /* Layout */
  --maxw: 1780px;
  --gutter: clamp(20px, 2.6vw, 52px);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.05; }

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ---- Display type ---- */
.display {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 0.98;
}

/* ---- Eyebrow / caps label ---- */
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 32px;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: var(--on-dark);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .25s, color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(20,17,13,.03); }

.btn--light {
  background: var(--surface);
  color: var(--ink);
  border-color: transparent;
}

.btn--sm { height: 44px; padding: 0 22px; font-size: 11px; }

/* ---- Focus ---- */
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Inputs ---- */
.field {
  width: 100%;
  height: 56px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.field::placeholder { color: var(--ink-mute); }
.field:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(20,17,13,.06); }

/* ---- Generic container ---- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---- Wordmark ---- */
.wordmark {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 20px;
  text-transform: uppercase;
}

/* ---- image-slot defaults ---- */
image-slot {
  --is-bg: var(--surface-2);
  --is-fg: var(--ink-mute);
  background: var(--surface-2);
  display: block;
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* real image fill (production replacement for prototype image-slot) */
.slot-img { width:100%; height:100%; object-fit:cover; display:block; }
