/* ==========================================================
   Aura Beauty — base.css
   Design tokens, reset, typography.
   Load order: base → layout → components → pages → responsive
   ========================================================== */

:root {
  /* ---- Colour (taken from the logo & visiting card) ---- */
  --forest:      hwb(162 4% 91%);   /* deepest green, page background */
  --emerald:     #081410;   /* card green */
  --panel:       #12362A;   /* raised panel */
  --panel-soft:  #16402F;

  --gold:        #C8A24C;
  --gold-light:  #EFD9A0;
  --gold-deep:   #8E6C28;

  --blush:       #E8C0B2;   /* rose-gold from the "O" of the monogram */
  --blush-soft:  #F6DCD3;

  --cream:       #EFE8DB;   /* primary text on green */
  --cream-dim:   rgba(239, 232, 219, 0.72);
  --cream-faint: rgba(239, 232, 219, 0.45);

  --rule:        rgba(200, 162, 76, 0.32);
  --rule-soft:   rgba(200, 162, 76, 0.16);

  --grad-gold:   linear-gradient(120deg, var(--gold-light), var(--gold) 45%, var(--gold-deep));
  --grad-blush:  linear-gradient(120deg, var(--blush-soft), var(--blush) 55%, #C98D7C);

  /* ---- Type ---- */
  --display: "Marcellus", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body:    "Jost", "Segoe UI", Helvetica, Arial, sans-serif;

  --step--1: clamp(0.82rem, 0.79rem + 0.15vw, 0.9rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
  --step-2:  clamp(1.5rem, 1.34rem + 0.8vw, 2rem);
  --step-3:  clamp(1.9rem, 1.6rem + 1.5vw, 2.9rem);
  --step-4:  clamp(2.4rem, 1.8rem + 2.9vw, 4.4rem);

  /* ---- Space & shape ---- */
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --measure: 62ch;
  --shell: 1180px;
  --radius: 3px;          /* engraved, not bubbly */
  --radius-panel: 6px;

  --ease: cubic-bezier(0.22, 0.68, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--forest);
  color: var(--cream);
  font-family: var(--body);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.75;
  letter-spacing: 0.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Soft botanical light, echoing the logo artwork */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(120vw 80vh at 78% -10%, rgba(200, 162, 76, 0.13), transparent 60%),
    radial-gradient(90vw 70vh at 0% 100%, rgba(232, 192, 178, 0.07), transparent 65%);
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 0.6em;
  color: var(--cream);
  letter-spacing: 0.005em;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: 0.03em; }
h4 { font-size: var(--step-0); letter-spacing: 0.06em; }

p { margin: 0 0 1.1em; max-width: var(--measure); }

a { color: var(--gold-light); text-decoration: none; }
a:hover { color: var(--blush); }

ul, ol { margin: 0 0 1.2em; padding-left: 1.1em; }
li { margin-bottom: 0.35em; }

strong { font-weight: 500; color: var(--gold-light); }

hr {
  border: 0;
  height: 1px;
  background: var(--rule);
  margin: 2.5rem 0;
}

::selection { background: var(--gold); color: var(--forest); }

:focus-visible {
  outline: 2px solid var(--blush);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -140%);
  background: var(--gold); color: var(--forest);
  padding: 0.6rem 1.2rem; z-index: 200; font-weight: 500;
}
.skip-link:focus { transform: translate(-50%, 0); color: var(--forest); }

/* Gold text finish used for the wordmark and key numerals */
.gilded {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.rosed {
  background: var(--grad-blush);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
