/* GlitzByNique — design tokens
   Client-mandated palette: Emerald Estate.
   Her three colors anchor a full 9-step scale rather than being used alone —
   three values cannot express borders, disabled states, or type hierarchy. */

:root {
  /* Emerald neutral scale. #0B1D17 and #F4F7F5 are the client's own values and
     land naturally at 800 and 50; the rest are interpolated on the same hue,
     desaturating as they lighten so mid-tones read as stone rather than mint. */
  --emerald-950: #08150F;
  --emerald-900: #0B1D17; /* design-ignore: client brand — Emerald Estate ground */
  --emerald-800: #16281F;
  --emerald-700: #283F33;
  --emerald-600: #46584D;
  --emerald-500: #6E7E74;
  --emerald-400: #A0ADA5;
  --emerald-300: #CBD6CF;
  --emerald-200: #E4EBE6;
  --emerald-100: #F4F7F5; /* design-ignore: client brand — Emerald Estate base */

  /* Semantic */
  --bg:             var(--emerald-900);
  --bg-recessed:    var(--emerald-950);
  --bg-raised:      var(--emerald-800);
  --border:         var(--emerald-700);
  --border-strong:  var(--emerald-600);
  --text-primary:   var(--emerald-100);
  --text-secondary: var(--emerald-400);
  --text-tertiary:  var(--emerald-500);

  /* The one accent. Gold is reserved for: section rules, the active nav state,
     price emphasis, and the single primary action. Never a fill for large
     areas, never a gradient, never a glow. */
  --accent:        #D4AF37; /* design-ignore: client brand — Emerald Estate accent */
  --accent-press:  #B8952C;
  --accent-quiet:  rgba(212, 175, 55, 0.14);

  /* Type — Category A: high-contrast serif display, grotesque body, mono for
     precision. Bodoni Moda carries the fashion-editorial register; Archivo
     keeps body copy plain-spoken; JetBrains Mono sets prices and service codes
     so the menu reads as a catalogue, not a salon flyer. */
  --font-display: 'Bodoni Moda', Georgia, serif;
  --font-body:    'Archivo', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Modular scale, 1.25 — established before anything is placed. */
  --step--1: 0.8rem;
  --step-0:  1rem;
  --step-1:  1.25rem;
  --step-2:  1.563rem;
  --step-3:  1.953rem;
  --step-4:  2.441rem;
  --step-5:  3.052rem;
  --display: clamp(2.75rem, 8vw, 6.5rem);

  /* Space — 4px base */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  --space-24: 96px;
  --space-32: 128px;
  --space-section: clamp(64px, 10vw, 128px);

  /* Measure */
  --measure: 58ch;
  --measure-tight: 42ch;
}

/* Structural defaults — borders carry depth, never shadows. */
.rule {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── Tonal layering ───────────────────────────────────────────────────
   A single flat ground across a whole page reads as austere no matter how
   good the type is. Alternating sections across three steps of the emerald
   scale gives depth without introducing a second colour — the accent budget
   stays intact and the photography still carries the colour. */
.ground--deep   { background: var(--bg-recessed); }
.ground--raised { background: var(--bg-raised); }

/* ── Gold as structure ────────────────────────────────────────────────
   Gold earns more of the page by doing structural work — numbering sections,
   marking the major divisions, registering the images — rather than by being
   spread around as ornament. Still well under 5% of the visual field. */

/* Large section numeral in the left rail. High presence, few pixels. */
.numeral {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  display: block;
  margin-bottom: var(--space-3);
}

/* Major divisions get a gold hairline; minor ones stay in --border, so the
   rules themselves carry a hierarchy. */
.rule--major {
  border: 0;
  border-top: 1px solid var(--accent);
  margin: 0;
}

/* Registration marks — printer's crop marks at the corners of a figure.
   Borrowed from press sheets, not decoration for its own sake. */
.registered { position: relative; }
.registered::before,
.registered::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--accent);
  border-style: solid;
  pointer-events: none;
}
.registered::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.registered::after  { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

.label {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.display-heading {
  font-family: var(--font-display);
  font-size: var(--display);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.body-measure {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  max-width: var(--measure);
  color: var(--text-primary);
}

/* Index row — the portfolio and service menu are lists, not card grids.
   Typography and a single hairline do the hierarchy. */
.index-row {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  gap: var(--space-6);
  align-items: baseline;
  padding-block: var(--space-6);
  border-top: 1px solid var(--border);
}

.index-row__num { font-family: var(--font-mono); font-size: var(--step--1); color: var(--text-tertiary); }
.index-row__name { font-family: var(--font-display); font-size: var(--step-2); font-weight: 400; }
.index-row__price { font-family: var(--font-mono); font-size: var(--step-0); color: var(--accent); }

/* Actions — rectangle, 1px border, text. Accent fill for the one primary act. */
.action {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--space-4) var(--space-8);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  background: transparent;
  text-decoration: none;
}

.action:hover { border-color: var(--accent); color: var(--accent); }

.action--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--emerald-950);
}

.action--primary:hover { background: var(--accent-press); border-color: var(--accent-press); color: var(--emerald-950); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
