/* ============================================================
   Auræ Design System — Colors & Typography
   Coastal-cowgirl meets tropical luxe.
   Editorial. Grounded. Quietly confident.
   ============================================================ */

/* -------- Web Fonts -------- */
@font-face {
  font-family: "Canela";
  src: url("./fonts/Canela-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Canela";
  src: url("./fonts/Canela-RegularItalic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Canela";
  src: url("./fonts/Canela-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Canela";
  src: url("./fonts/Canela-BoldItalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Humankinda";
  src: url("./fonts/Humankind.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* DM Sans — self-hosted (was Google Fonts CDN) */
@font-face {
  font-family: "DM Sans";
  src: url("./fonts/dm-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  src: url("./fonts/dm-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  src: url("./fonts/dm-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "DM Sans";
  src: url("./fonts/dm-sans-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  src: url("./fonts/dm-sans-latin-ext-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans";
  src: url("./fonts/dm-sans-latin-ext-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}


:root {
  /* ----------------------------------------
     COLOR — Brand palette (from guidelines)
     ---------------------------------------- */
  --parchment:      #EDEBE0;   /* Neutral / base — 48% usage. Sun-bleached linen, hint of olive. */
  --coffee-bean:    #26150B;   /* Primary dark   — 24% usage */
  --dark-khaki:     #3D3B16;   /* Secondary deep — 10% usage */
  --palm-leaf:      #8D855A;   /* Warm accent    — 10% usage */
  --light-blue:     #AFCDD0;   /* Cool accent    —  5% usage */
  --deep-cerulean:  #2E6B8A;   /* Bold accent    —  3% usage */

  /* Tonal extensions of the core palette (derived, used sparingly) */
  --parchment-2:    #E4E1D3;   /* Slightly deeper parchment for cards/wells */
  --parchment-3:    #D8D4C2;   /* Subtle divider tone */
  --coffee-bean-80: #4A3527;   /* Softened coffee for hover/secondary text */
  --palm-leaf-30:   #D6D2BE;   /* Palm leaf wash for hairlines on parchment */

  /* ----------------------------------------
     COLOR — Semantic
     ---------------------------------------- */
  --bg:             var(--parchment);
  --bg-alt:         var(--parchment-2);
  --bg-inverse:     var(--coffee-bean);

  --fg-1:           var(--coffee-bean);     /* Primary text */
  --fg-2:           var(--dark-khaki);      /* Secondary text */
  --fg-3:           var(--palm-leaf);       /* Captions, labels, hairlines */
  --fg-inverse:     var(--parchment);       /* Text on dark surfaces */

  --accent:         var(--deep-cerulean);   /* High-impact: links, one CTA */
  --accent-soft:    var(--light-blue);      /* Hover wash, image overlay */

  --rule:           var(--palm-leaf);       /* Hairline rules — 0.3–0.5pt */
  --rule-soft:      var(--palm-leaf-30);

  /* ----------------------------------------
     TYPE — Families
     ---------------------------------------- */
  --font-display:   "Canela", "Canela Trial", Georgia, "Times New Roman", serif;
  --font-wordmark:  "Humankinda", "Canela", Georgia, serif;       /* AURÆ wordmark only */
  --font-body:      "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* ----------------------------------------
     TYPE — Scale (8px base)
     ---------------------------------------- */
  --fs-h1:        clamp(2.75rem, 5vw + 1rem, 4.5rem);   /* 56–72px */
  --fs-h2:        clamp(2rem, 3vw + 0.5rem, 2.75rem);   /* 36–44px */
  --fs-h3:        clamp(1.375rem, 1.5vw + 0.5rem, 1.75rem); /* 24–28px */
  --fs-body-lg:   1.125rem;   /* 18 */
  --fs-body:      1rem;       /* 16 */
  --fs-ui:        0.875rem;   /* 14 */
  --fs-ui-sm:    0.8125rem;   /* 13 */
  --fs-caption:   0.75rem;    /* 12 */
  --fs-label:     0.625rem;   /* 10 — uppercase tracked */

  --lh-display:   1.08;
  --lh-heading:   1.14;
  --lh-body:      1.55;
  --lh-tight:     1.25;

  --tracking-display:   -0.01em;
  --tracking-body:       0;
  --tracking-ui:         0.02em;
  --tracking-label:      0.18em;   /* All-caps labels */

  /* ----------------------------------------
     SPACING — 8px base grid
     ---------------------------------------- */
  --space-1:  4px;
  --space-2:  8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;
  --space-9: 128px;

  --content-max: 1100px;     /* Desktop max content width */
  --gutter:      48px;

  /* ----------------------------------------
     BORDERS, RADII, SHADOWS
     Auræ is restrained — almost flat. Hairlines do the work.
     ---------------------------------------- */
  --hairline:  0.5px;
  --rule-w:    1px;

  --radius-0:   0px;       /* Default — most elements are crisp */
  --radius-1:   2px;       /* Form fields, badges */
  --radius-2:   4px;       /* Cards, buttons (subtle) */
  --radius-pill: 999px;    /* AE chip, tag pills */

  /* Shadows are whisper-quiet — used on lifted cards & menus only */
  --shadow-1: 0 1px 0 rgba(38, 21, 11, 0.04);
  --shadow-2: 0 6px 20px -10px rgba(38, 21, 11, 0.18);
  --shadow-3: 0 24px 60px -28px rgba(38, 21, 11, 0.28);

  /* Subtle film grain overlay alpha — 8–12% on hero sections */
  --grain-opacity: 0.10;

  /* ----------------------------------------
     MOTION — quiet, editorial
     ---------------------------------------- */
  --ease-out:    cubic-bezier(.2, .7, .2, 1);
  --ease-in-out: cubic-bezier(.6, 0, .4, 1);
  --dur-1:  120ms;   /* hover state */
  --dur-2:  280ms;   /* nav / reveal */
  --dur-3:  600ms;   /* image / hero crossfade */
}


/* ============================================================
   SEMANTIC ELEMENT STYLES
   Apply via tag selectors so utility-light HTML still looks right.
   ============================================================ */

html {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--fg-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--tracking-body);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--fg-1);
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-display);
  letter-spacing: var(--tracking-display);
}
h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-heading);
  letter-spacing: var(--tracking-display);
}
h3 {
  font-size: var(--fs-h3);
  font-style: italic;
  line-height: var(--lh-heading);
}
h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-ui);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--palm-leaf);
  margin-bottom: var(--space-2);
}

p {
  margin: 0 0 var(--space-3);
  text-wrap: pretty;
  max-width: 64ch;
}

blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-h3);
  line-height: var(--lh-heading);
  color: var(--fg-1);
  border-left: var(--rule-w) solid var(--rule);
  padding-left: var(--space-4);
  margin: var(--space-5) 0;
  max-width: 48ch;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: opacity var(--dur-1) var(--ease-out);
}
a:hover { opacity: 0.7; }

hr {
  border: 0;
  border-top: var(--hairline) solid var(--rule);
  margin: var(--space-5) 0;
}

small, .caption {
  font-size: var(--fs-caption);
  color: var(--fg-3);
  letter-spacing: var(--tracking-ui);
}

.label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--palm-leaf);
}

.wordmark {
  font-family: var(--font-wordmark);
  font-weight: 400;
  letter-spacing: 0;
  /* The Æ ligature is a brand signature — never substitute */
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-ui-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--palm-leaf);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--palm-leaf);
}
