/* ============================================================
   Sari Polinger Design System — Colors & Type
   ------------------------------------------------------------
   The brand is built on a single photograph — tree shadows
   cast on a warm, lime-washed wall. Everything else is just
   supporting that image.
   ============================================================ */

/* ---- Web Fonts ------------------------------------------------
   Display: Italiana — closest free stand-in for the custom
   wordmark on the business cards (flared-serif, open-counter,
   high-contrast). TRUE brand face is a licensed display serif —
   ask the user for the actual font file to replace.

   Body: Jost — geometric grotesque that matches the clean,
   moderately-condensed body type on the cards.

   Mono: JetBrains Mono — for code/notes only; not part of
   customer-facing surfaces.
---------------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=JetBrains+Mono:wght@400;500&display=swap");

@font-face {
  font-family: "Metanoia";
  src: url("fonts/Metanoia.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* =========================================================
     COLORS — "warm wall" palette
     Pulled from the brand photography: lime-washed taupe with
     soft shadows. Every swatch is on a warm beige axis; avoid
     cool greys.
     ========================================================= */

  /* Core neutrals — background -> text */
  --cream:          #F4ECE1;  /* lightest wall highlight */
  --sand:           #EAD9C4;  /* default page background */
  --linen:          #E2CFB6;  /* softer secondary panel */
  --taupe:          #C7AE91;  /* mid-tone wall */
  --clay:           #A88A6B;  /* shadow edge */
  --umber:          #7A5C42;  /* deep shadow / primary text */
  --espresso:       #4A382A;  /* deepest text / wordmark on cream */

  /* Brand accents — pulled from card ink colors */
  --ink:            #6B4A32;  /* body ink on the cards */
  --bronze:         #8E6B4A;  /* warm accent / links */
  --olive-shadow:   #5C4A3A;  /* leaf shadow hue */

  /* Semantic color tokens — reference the core palette */
  --bg:             var(--cream);
  --bg-alt:         var(--sand);
  --bg-raised:      #FBF6EE;       /* card on page */
  --bg-inverse:     var(--umber);  /* dark panels / hero */

  --fg:             var(--espresso);
  --fg-2:           var(--ink);     /* secondary copy */
  --fg-3:           var(--clay);    /* tertiary, captions */
  --fg-muted:       #A89078;        /* disabled / placeholder */
  --fg-inverse:     var(--cream);

  --accent:         var(--bronze);
  --accent-hover:   var(--umber);
  --accent-muted:   rgba(142, 107, 74, 0.12);

  --border:         rgba(74, 56, 42, 0.14);   /* espresso @ 14% */
  --border-strong:  rgba(74, 56, 42, 0.28);
  --divider:        rgba(74, 56, 42, 0.08);

  --shadow-1: 0 1px 2px rgba(74, 56, 42, 0.06), 0 1px 3px rgba(74, 56, 42, 0.04);
  --shadow-2: 0 4px 12px rgba(74, 56, 42, 0.08), 0 2px 6px rgba(74, 56, 42, 0.05);
  --shadow-3: 0 12px 32px rgba(74, 56, 42, 0.12), 0 4px 12px rgba(74, 56, 42, 0.06);
  --shadow-inset: inset 0 0 0 1px rgba(74, 56, 42, 0.08);

  /* Functional */
  --ok:             #6A7F4F;   /* olive — lives in the palette */
  --warn:           #B88548;
  --err:            #9C4F3A;

  /* =========================================================
     TYPE — display serif + clean grotesque
     ========================================================= */
  --font-display: "Metanoia", "Didot", "Bodoni 72", Georgia, serif;
  --font-body:    "TT Commons Pro Expanded", "Jost", "Futura", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Scale — hospitality-catalog pacing (airy, generous) */
  --fs-xs:   12px;
  --fs-sm:   14px;
  --fs-base: 16px;
  --fs-md:   18px;
  --fs-lg:   22px;
  --fs-xl:   28px;
  --fs-2xl:  36px;
  --fs-3xl:  48px;
  --fs-4xl:  64px;
  --fs-5xl:  88px;
  --fs-6xl:  120px;

  /* Tracking — display face wants breathing room */
  --ls-display-loose: 0.18em;   /* logo, section labels */
  --ls-display-tight: 0.04em;   /* headlines */
  --ls-eyebrow:       0.32em;   /* all-caps eyebrow labels */
  --ls-body:          0.01em;

  /* Line heights */
  --lh-tight: 1.05;
  --lh-snug:  1.2;
  --lh-body:  1.55;
  --lh-loose: 1.7;

  /* Spacing (8pt base, half step for fine work) */
  --space-0:  0;
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;
  --space-10: 128px;

  /* Radii — soft, furniture-like */
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 8px;
  --r-xl: 16px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 140ms;
  --dur-base: 240ms;
  --dur-slow: 480ms;
}

/* ============================================================
   Base element styling — these are the semantic "tokens"
   (h1, h2, body, eyebrow, etc). Import this file and the
   elements inherit the brand automatically.
   ============================================================ */

html, body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  font-weight: 400;
  letter-spacing: var(--ls-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Wordmark — always use class .wordmark, never type "SARI POLINGER" as text */
.wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: var(--ls-display-loose);
  text-transform: uppercase;
  line-height: 1;
}

/* Headings — display serif in all caps for weightier moments,
   lower-case italic for editorial feel */
h1, .h1 {
  font-family: var(--font-display);
  font-size: clamp(var(--fs-3xl), 6vw, var(--fs-5xl));
  font-weight: 400;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display-loose);
  text-transform: uppercase;
  color: var(--fg);
  margin: 0 0 var(--space-5);
}

h2, .h2 {
  font-family: var(--font-display);
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-3xl));
  font-weight: 400;
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-display-loose);
  text-transform: uppercase;
  color: var(--fg);
  margin: 0 0 var(--space-4);
}

h3, .h3 {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: 500;
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg);
  margin: 0 0 var(--space-3);
}

h4, .h4 {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 500;
  line-height: var(--lh-snug);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg);
  margin: 0 0 var(--space-2);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-3);
}

p {
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--fg-2);
  margin: 0 0 var(--space-4);
  max-width: 62ch;
}

.lede {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-xl);
  line-height: var(--lh-snug);
  color: var(--fg);
  letter-spacing: var(--ls-display-tight);
}

small, .small { font-size: var(--fs-sm); color: var(--fg-3); }
.caption { font-size: var(--fs-xs); color: var(--fg-3); letter-spacing: 0.04em; }

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

hr {
  border: 0;
  border-top: 1px solid var(--divider);
  margin: var(--space-7) 0;
}

code, .mono {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--accent-muted);
  padding: 0.12em 0.4em;
  border-radius: var(--r-sm);
  color: var(--umber);
}

/* A decorative leaf-shadow overlay you can layer behind hero sections */
.shadow-bg {
  background-image: url("assets/shadow-bg-wide.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.shadow-bg--light {
  background-image: url("assets/shadow-bg-light-wide.png");
}
