/* ============================================================
   Saffron — Redesign prototype
   Visual direction: warm editorial luxury (Mediterranean + Southern)
   Raspberry #a8356b preserved from the current site · saffron gold #f4b942
   (latent in the existing code) elevated to the accent role.
   ============================================================ */

:root {
  /* ---- Brand palette (exact match to current Saffron site) ---- */
  --raspberry: #a8356b;       /* primary brand */
  --raspberry-deep: #8a2b57;  /* deep plum */
  --raspberry-soft: #c54a82;  /* lighter accent */
  --saffron: #f4b942;         /* the gold accent — fills, rules, accents */
  --saffron-deep: #d4942e;    /* amber — decorative fills only */
  --gold-text: #946011;       /* dark gold for TEXT — AA on cream (5.0) & white (5.3) */

  /* ---- Neutrals (warm) ---- */
  --cream: #faf7f5;           /* warm off-white background */
  --cream-2: #f3ece6;         /* card surface */
  --ink: #2a2326;             /* warm charcoal text */
  --ink-soft: #6b5f62;        /* muted text */
  --line: #e7ddd6;            /* hairlines */

  /* ---- Typography ---- */
  --font-display: "Spectral", Georgia, "Times New Roman", serif;
  --font-sans: "Hanken Grotesk", ui-sans-serif, system-ui, sans-serif;

  --text-kicker: clamp(0.72rem, 0.68rem + 0.2vw, 0.8rem);
  --text-body: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
  --text-lead: clamp(1.2rem, 1.05rem + 0.7vw, 1.6rem);
  --text-h3: clamp(1.5rem, 1.2rem + 1.4vw, 2.4rem);
  --text-h2: clamp(2rem, 1.4rem + 2.6vw, 3.6rem);
  --text-hero: clamp(2.8rem, 1.2rem + 6.5vw, 7rem);

  /* ---- Rhythm ---- */
  --space-section: clamp(4.5rem, 3rem + 7vw, 11rem);
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 4rem);
  --maxw: 1320px;

  /* ---- Motion ---- */
  --dur-fast: 180ms;
  --dur: 420ms;
  --dur-slow: 900ms;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  font-feature-settings: "ss01";
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* Visible, consistent focus for keyboard users (WCAG 2.4.7) */
:focus-visible {
  outline: 2.5px solid var(--raspberry);
  outline-offset: 3px;
  border-radius: 3px;
}
.hero :focus-visible,
.signature :focus-visible,
.site-footer :focus-visible { outline-color: var(--saffron); }

/* Skip link */
.skip-link {
  position: absolute;
  left: 0.75rem; top: 0.4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--raspberry);
  color: #fff;
  border-radius: 6px;
  font-size: 0.85rem; font-weight: 700;
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus-visible { transform: none; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

.kicker {
  font-size: var(--text-kicker);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 600;
  color: var(--raspberry);
}

.serif { font-family: var(--font-display); }

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* ============================================================
   Announcement strip
   ============================================================ */
.announce {
  background: var(--raspberry-deep);
  color: #f6e8d8;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
}
.announce b { color: var(--saffron); font-weight: 700; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--gutter);
  background: color-mix(in oklab, var(--cream) 80%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur), background var(--dur), padding var(--dur);
}
.site-header.is-stuck {
  border-color: var(--line);
  background: color-mix(in oklab, var(--cream) 92%, transparent);
  padding-block: 0.6rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand img { height: 44px; width: auto; transition: height var(--dur); }
.is-stuck .brand img { height: 36px; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); }
.nav a {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding-block: 0.3rem;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--raspberry);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}
.nav a:hover::after,
.nav a:focus-visible::after,
.nav a[aria-current="true"]::after { transform: scaleX(1); }
.nav a[aria-current="true"] { color: var(--raspberry); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), background var(--dur), color var(--dur), box-shadow var(--dur);
}
.btn-primary {
  background: var(--raspberry);
  color: #fff;
  box-shadow: 0 6px 22px -8px color-mix(in oklab, var(--raspberry) 80%, black);
}
.btn-primary:hover { background: var(--raspberry-deep); transform: translateY(-2px); }
.btn-gold { background: var(--saffron); color: var(--ink); }
.btn-gold:hover { background: var(--saffron-deep); transform: translateY(-2px); }
.btn-ghost { border-color: currentColor; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }

.nav-toggle {
  display: none;
  position: relative;
  z-index: 70;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: none; padding: 0; cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.site-header.nav-open .nav-toggle .icon-open { display: none; }
.site-header.nav-open .nav-toggle .icon-close { display: block; }

.nav-backdrop {
  position: fixed; inset: 0;
  z-index: 55;
  background: rgba(34,14,24,0.5);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur);
}
.site-header.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
.nav__cta { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: min(92vh, 880px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 1.4s var(--ease);
}
.hero.is-in .hero__media img { transform: scale(1); }
/* Readability scrim, sat below the content. Concentrated bottom-left where the
   text lives and faded toward the top-right so the lit atmosphere still shows. */
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(30,12,20,0.90) 0%, rgba(30,12,20,0.62) 26%, rgba(30,12,20,0.20) 52%, rgba(30,12,20,0) 74%),
    linear-gradient(to right, rgba(30,12,20,0.55) 0%, rgba(30,12,20,0.14) 44%, rgba(30,12,20,0) 70%),
    linear-gradient(to bottom, rgba(42,18,30,0.40) 0%, rgba(42,18,30,0) 30%);
}
.hero__inner { padding-block: clamp(3rem, 8vh, 7rem); }
.hero .kicker { color: var(--saffron); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--text-hero);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 1rem 0 1.4rem;
  max-width: 18ch;
  font-optical-sizing: auto;
}
.hero h1 em { font-style: italic; color: var(--saffron); }
.hero__lead {
  max-width: 46ch;
  font-size: var(--text-lead);
  color: #f3e7df;
  line-height: 1.5;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.scroll-cue {
  position: absolute;
  bottom: 1.6rem; right: var(--gutter);
  z-index: 2;
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.7rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: #f3e7df;
}
.scroll-cue span { width: 46px; height: 1px; background: currentColor; transform-origin: right; animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0%,100% { transform: scaleX(0.3); opacity: 0.4; } 50% { transform: scaleX(1); opacity: 1; } }

/* ============================================================
   Intro manifesto
   ============================================================ */
.intro { padding-block: var(--space-section); text-align: center; }
.intro .wrap { max-width: 60ch; }
.intro__ornament {
  width: 42px; height: 42px; margin: 0 auto 1.8rem;
  color: var(--saffron-deep);
}
.intro p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-h3);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.intro p em { font-style: italic; color: var(--raspberry); }
.intro__sign {
  display: inline-flex; align-items: center; gap: 0.7rem;
  margin-top: 2rem;
  font-size: 0.82rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-soft);
}
.intro__sign::before {
  content: ""; width: 2rem; height: 1px; background: var(--saffron-deep);
}

/* ============================================================
   Experiences — alternating editorial blocks
   ============================================================ */
.experiences { padding-bottom: var(--space-section); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--text-h2);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.section-head h2 em { font-style: italic; color: var(--raspberry); }
.section-head p { max-width: 34ch; color: var(--ink-soft); }

.exp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
  padding-block: clamp(2.5rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
}
.exp--flip .exp__media { order: 2; }
.exp__media {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 60px -32px rgba(42,18,30,0.5);
}
.exp__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.exp:hover .exp__media img { transform: scale(1.05); }
/* Category label — sentence case, gold accent, not a tracked-uppercase eyebrow */
.exp__cat {
  display: inline-flex; align-items: center; gap: 0.55rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem; font-weight: 600;
  color: var(--gold-text);
}
.exp__cat::before {
  content: ""; width: 1.6rem; height: 1.5px;
  background: var(--saffron-deep);
}
.exp__body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-h3);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}
.exp__body p { color: var(--ink-soft); max-width: 46ch; }
.exp__meta {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem;
  margin: 1.4rem 0 1.6rem;
  font-size: 0.82rem; letter-spacing: 0.04em;
  color: var(--ink);
}
.exp__meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.exp__meta span::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--saffron-deep);
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 44px; /* comfortable tap target */
  font-weight: 700; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--raspberry);
}
.link-arrow svg { transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg,
.link-arrow:focus-visible svg { transform: translateX(6px); }

/* Paired row (Catering + Wholesale) — a compact 2-up that breaks the
   rhythm of the full-width alternating blocks and groups the B2B offerings. */
.exp-pair {
  padding-block: clamp(2.5rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
}
.exp-pair__label { margin-bottom: 1.4rem; }
.exp-pair__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.exp-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1.1rem;
  box-shadow: 0 24px 50px -34px rgba(42,18,30,0.5);
}
.exp-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}
.exp-card:hover .exp-card__media img { transform: scale(1.05); }
.exp-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.3rem, 1.1rem + 0.9vw, 1.8rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}
.exp-card p { color: var(--ink-soft); max-width: 42ch; margin-bottom: 1rem; }

/* ============================================================
   Food gallery — "A taste of Saffron" (curated, editorial mosaic)
   ============================================================ */
.gallery { padding-top: var(--space-section); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(120px, 11.5vw, 180px);
  gap: 0.7rem;
}
.gallery figure {
  position: relative; margin: 0;
  overflow: hidden; border-radius: 6px;
  box-shadow: 0 20px 44px -30px rgba(42,18,30,0.5);
}
.gallery figure img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform var(--dur-slow) var(--ease);
}
.gallery figure:hover img { transform: scale(1.05); }
.gallery .g-feature { grid-column: span 2; grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2rem 0.95rem 0.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem; color: #fff;
  background: linear-gradient(to top, rgba(30,12,20,0.82), rgba(30,12,20,0));
  /* Always visible (discoverable + keyboard-friendly); hover just lifts it slightly. */
  transform: translateY(4px);
  transition: transform var(--dur) var(--ease);
}
.gallery figure:hover figcaption { transform: none; }
@media (max-width: 760px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 40vw; }
  .gallery .g-feature { grid-column: span 2; grid-row: span 1; }
}

/* ============================================================
   Signature band (promo)
   ============================================================ */
.signature {
  position: relative;
  color: #fff;
  text-align: center;
  padding-block: clamp(5rem, 10vw, 9rem);
  overflow: hidden;
}
.signature__media { position: absolute; inset: 0; z-index: -2; }
.signature__media img { width: 100%; height: 100%; object-fit: cover; }
.signature::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in oklab, var(--raspberry-deep) 78%, transparent);
}
.signature .kicker { color: var(--saffron); }
.signature h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--text-h2);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 1rem auto 1.3rem;
  max-width: 18ch;
}
.signature h2 em { font-style: italic; color: var(--saffron); }
.signature p { max-width: 50ch; margin: 0 auto 2rem; color: #f3e7df; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: #d8ccc6;
  padding-block: clamp(3.5rem, 7vw, 6rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .serif {
  font-size: 2rem; color: #fff; letter-spacing: -0.01em;
}
.footer-brand p { margin-top: 0.8rem; max-width: 34ch; color: #b6a8a2; font-size: 0.95rem; }
.footer-col h4 {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--saffron); margin-bottom: 1.1rem; font-weight: 700;
}
.footer-col a, .footer-col p { display: block; color: #cabdb7; font-size: 0.95rem; margin-bottom: 0.55rem; }
.footer-col a { padding-block: 0.45rem; min-height: 24px; } /* tap target */
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  padding-top: 1.6rem;
  font-size: 0.8rem; color: #a99c95; /* AA: 5.76:1 on --ink */
}

/* ============================================================
   Scroll-reveal — content is visible by default; the hidden start
   state is opt-in via .js-anim (added by JS only when motion is OK),
   so no-JS / hidden-tab / headless renders never ship blank.
   ============================================================ */
.js-anim .reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease); }
.js-anim .reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-header > .btn-primary { display: none; } /* CTA moves inside the menu */
  /* Drop backdrop-filter on mobile: it creates a containing block that would
     trap the fixed nav drawer inside the header instead of the viewport. */
  .site-header, .site-header.is-stuck {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: color-mix(in oklab, var(--cream) 96%, transparent);
  }

  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(84vw, 340px);
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.2rem;
    padding: 5.5rem 1.6rem 2rem;
    background: var(--cream);
    box-shadow: -24px 0 60px -24px rgba(42,18,30,0.45);
    transform: translateX(100%);
    transition: transform var(--dur) var(--ease);
  }
  .site-header.nav-open .nav { transform: none; }
  .nav a {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    padding-block: 0.7rem;
    border-bottom: 1px solid var(--line);
  }
  .nav a::after { display: none; }
  .nav__cta { display: inline-flex; margin-top: 1.4rem; justify-content: center; }

  .exp { grid-template-columns: 1fr; }
  .exp--flip .exp__media { order: 0; }
  .exp-pair__grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__media img { transform: none; }
  html { scroll-behavior: auto; }
}
