/* =============================================================
   Delicia de Mi Tierra — home prototype
   Palette: espresso / cream / clay / olive / gold, teal accent
   Type: Fraunces (display) + Manrope (UI)
   ============================================================= */

:root {
  --espresso: #1b130e;
  --espresso-2: #241a12;
  --ink: #2a1f17;
  --cocoa: #3c2c20;

  --cream: #f5ecdd;
  --cream-2: #efe2cf;
  --sand: #e3d2b6;
  --paper: #f3ead9;

  --clay: #b65e37;
  --clay-deep: #97492a;
  --gold: #d99a4e;
  --olive: #6c7049;
  --olive-deep: #545a36;
  --teal: #2f6b5e;

  --muted: #7c6a55;
  --line: rgba(43, 31, 23, 0.16);
  --line-light: rgba(245, 236, 221, 0.22);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", ui-sans-serif, system-ui, sans-serif;

  --header-h: 80px;
  --wrap: 1240px;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --radius: 18px;

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

* { box-sizing: border-box; }

html {
  scroll-padding-top: var(--header-h);
  background: var(--espresso);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Lenis owns wheel; allow native fallback */
html.lenis, html.lenis body { height: auto; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: clip;
}

img, svg, picture, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.02; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--clay); color: var(--cream); }

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

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

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 2000;
  background: var(--espresso); color: var(--cream);
  padding: .7rem 1rem; border-radius: 8px; transform: translateY(-160%);
  transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- reduced-motion gating: pre-hide only when motion allowed ---------- */
html.anim [data-reveal] { opacity: 0; transform: translateY(28px); }
html.anim [data-hero] { opacity: 0; transform: translateY(22px); }
html.anim .reveal-line > span { opacity: 0; }   /* GSAP owns yPercent from a clean start */
html.anim .hero__cue { opacity: 0; }

/* =============================================================
   Shared bits
   ============================================================= */
.eyebrow {
  font-family: var(--sans);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--clay-deep);
  margin: 0 0 1.1rem;
}
.eyebrow--light { color: var(--gold); }
.eyebrow span { color: inherit; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.6rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--light { color: var(--cream); }
.section-title {
  font-size: clamp(2.1rem, 5.2vw, 3.9rem);
  letter-spacing: -0.015em;
}
.section-intro { margin-top: 1.1rem; color: var(--muted); font-size: 1.06rem; max-width: 42rem; }
.section-head--center .section-intro { margin-inline: auto; }
.section-head--light .section-intro { color: rgba(245,236,221,.78); }

/* buttons */
.btn {
  --bg: var(--clay); --fg: var(--cream);
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--sans); font-weight: 600; font-size: .92rem;
  letter-spacing: .01em;
  padding: .92rem 1.5rem; border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer; transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  will-change: transform;
}
.btn--solid { background: var(--clay); color: var(--cream); box-shadow: 0 10px 30px -12px rgba(150,72,42,.7); }
.btn--solid:hover { background: var(--clay-deep); transform: translateY(-2px); }
.btn--ghost { background: rgba(245,236,221,.1); color: var(--cream); border-color: var(--line-light); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: rgba(245,236,221,.18); transform: translateY(-2px); }
.btn--line { background: transparent; color: var(--cream); border-color: var(--line-light); }
.btn--line:hover { border-color: var(--cream); transform: translateY(-2px); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1rem; }
.btn--wa { background: var(--teal); color: var(--cream); padding: .62rem 1.05rem; font-size: .85rem; }
.btn--wa:hover { background: #285c50; transform: translateY(-1px); }
.btn__dot { width: 8px; height: 8px; border-radius: 50%; background: #8fe3c5; box-shadow: 0 0 0 0 rgba(143,227,197,.7); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(143,227,197,.6)} 70%{box-shadow:0 0 0 7px rgba(143,227,197,0)} 100%{box-shadow:0 0 0 0 rgba(143,227,197,0)} }

/* =============================================================
   Header
   ============================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  color: var(--cream);
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,13,9,.55), rgba(20,13,9,0));
  opacity: 1; transition: opacity .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(244, 235, 220, 0.86);
  color: var(--ink);
  height: 66px;
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(40,24,12,.5);
  backdrop-filter: blur(14px) saturate(1.1);
}
.site-header.is-scrolled::before { opacity: 0; }
.site-header__inner {
  width: min(100% - 2 * var(--pad), var(--wrap));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.site-header.is-scrolled .btn--wa { background: var(--teal); color: var(--cream); }

.brand { display: inline-flex; align-items: center; gap: .7rem; color: inherit; }
.brand__mark { display: grid; place-items: center; color: var(--gold); }
.site-header.is-scrolled .brand__mark { color: var(--clay); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.45rem; letter-spacing: .01em; }
.brand__sub { font-family: var(--serif); font-style: italic; font-size: .86rem; opacity: .82; margin-top: 1px; }

.site-nav { display: flex; gap: 1.9rem; margin-left: auto; margin-right: 1.6rem; }
.site-nav a {
  position: relative; font-size: .95rem; font-weight: 500; padding: .3rem 0;
  opacity: .92;
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: currentColor; transition: width .3s var(--ease);
}
.site-nav a:hover { opacity: 1; }
.site-nav a:hover::after { width: 100%; }

/* =============================================================
   Hero
   ============================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: grid; align-items: end;
  padding: calc(var(--header-h) + 4vh) var(--pad) clamp(3rem, 8vh, 7rem);
  overflow: hidden;
  color: var(--cream);
  isolation: isolate;
}
.hero__bg, .hero__pixi {
  position: absolute; inset: 0; z-index: -3;
}
.hero__bg {
  background: url('../assets/art/hero-lagoon.jpg') center 38% / cover no-repeat;
  transform: scale(1.06);
}
.hero__pixi { z-index: -2; }
.hero__pixi canvas { width: 100% !important; height: 100% !important; display: block; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,13,9,.36) 0%, rgba(20,13,9,0) 26%, rgba(20,13,9,.12) 55%, rgba(20,13,9,.82) 100%),
    radial-gradient(120% 80% at 18% 92%, rgba(20,13,9,.6), transparent 60%);
}
.hero__arch {
  position: absolute; z-index: -1; top: 10%; right: -4%;
  width: clamp(220px, 34vw, 560px); opacity: .5; mix-blend-mode: screen;
  pointer-events: none;
}

.hero__content { position: relative; max-width: 60rem; }
.hero__content::before { /* image-independent legibility plate (gotcha #4) */
  content: ""; position: absolute; z-index: -1;
  inset: -8% -10% -22% -12%;
  background: radial-gradient(80% 86% at 26% 70%, rgba(18,11,7,.62), transparent 72%);
  filter: blur(6px);
}
.eyebrow--light { text-shadow: 0 1px 14px rgba(0,0,0,.4); }
.hero__title {
  font-size: clamp(3.4rem, 12vw, 9.5rem);
  letter-spacing: -0.03em; line-height: .92;
  margin: 0 0 1.4rem; text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.reveal-line { display: block; overflow: hidden; padding-bottom: .04em; }
.reveal-line > span { display: block; }
.reveal-line--accent { font-style: italic; color: var(--gold); }
.hero__lead {
  max-width: 34rem; font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  color: rgba(245,236,221,.92); line-height: 1.55;
  text-shadow: 0 1px 16px rgba(0,0,0,.4);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }

.hero__cue {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(245,236,221,.8);
}
.hero__cue-line { width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent); overflow: hidden; }
.hero__cue-line::after { content:""; display:block; width:100%; height:40%; background: var(--cream); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0%{transform:translateY(-110%)} 60%,100%{transform:translateY(260%)} }

/* =============================================================
   Manifesto
   ============================================================= */
.manifesto {
  position: relative; background: var(--cream);
  padding: clamp(5rem, 12vh, 10rem) 0;
  overflow: hidden;
}
.manifesto__blob {
  position: absolute; top: -8%; right: -6%; width: clamp(280px, 40vw, 640px);
  opacity: .5; pointer-events: none; z-index: 0;
}
.manifesto__inner { position: relative; z-index: 1; max-width: 60rem; }
.manifesto__lead {
  font-size: clamp(1.8rem, 4.4vw, 3.4rem);
  line-height: 1.08; letter-spacing: -0.018em; color: var(--ink);
  max-width: 22ch;
}
.manifesto__lead em { font-style: italic; color: var(--clay); }
.manifesto__body { margin-top: 1.6rem; max-width: 40rem; color: var(--muted); font-size: 1.1rem; }

.stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 5vw, 4rem); margin-top: 2.8rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.stats li { display: flex; flex-direction: column; }
.stats__n { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.7rem); color: var(--teal); line-height: 1; }
.stats__l { font-size: .9rem; color: var(--muted); margin-top: .35rem; }

/* =============================================================
   Experiences
   ============================================================= */
.experiences { position: relative; background: var(--paper); padding: 0 0 clamp(4rem, 10vh, 8rem); }
.band-divider {
  width: 100%; height: clamp(70px, 12vw, 150px); object-fit: cover; object-position: bottom;
  display: block; transform: scaleX(-1); opacity: .9; margin-bottom: clamp(2.5rem, 6vh, 5rem);
}
.exp-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 2.2vw, 1.8rem);
}
.exp-grid .exp-card__media { aspect-ratio: 3 / 2; }   /* roomier in a 2x2 grid */
.exp-grid .exp-card__body h3 { font-size: 1.85rem; }

/* "no sabes cuál elegir" — banner below the grid (not a grid card) */
.exp-cta {
  margin-top: clamp(1.4rem, 3vw, 2rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--olive-deep), var(--cocoa)); color: var(--cream);
  border-radius: var(--radius); padding: 1.6rem clamp(1.5rem, 3vw, 2.4rem);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.exp-cta:hover { transform: translateY(-3px); box-shadow: 0 28px 50px -30px rgba(40,24,12,.6); }
.exp-cta__text h3 { font-size: 1.5rem; }
.exp-cta__text p { color: rgba(245,236,221,.82); margin-top: .3rem; }
.exp-cta__link { font-weight: 600; color: var(--gold); white-space: nowrap; font-size: 1.05rem; }
.exp-card {
  position: relative; background: var(--cream); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  display: flex; flex-direction: column; min-height: 320px;
}
.exp-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(40,24,12,.55); }
.exp-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.exp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.exp-card:hover .exp-card__media img { transform: scale(1.07); }
.exp-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.exp-card__body h3 { font-size: 1.6rem; }
.exp-card__body p { margin-top: .5rem; color: var(--muted); font-size: .98rem; flex: 1; }
.exp-card__price {
  margin-top: 1.1rem; align-self: flex-start;
  font-weight: 600; font-size: .82rem; letter-spacing: .04em;
  color: var(--clay-deep); background: rgba(182,94,55,.1);
  padding: .4rem .8rem; border-radius: 999px;
}
.exp-card--feature { background: linear-gradient(160deg, var(--olive-deep), var(--cocoa)); color: var(--cream); border: none; justify-content: center; }
.exp-card__body--cta { justify-content: center; }
.exp-card--feature h3 { font-size: 1.7rem; }
.exp-card--feature p { color: rgba(245,236,221,.82); }
.exp-card__link { margin-top: 1.2rem; font-weight: 600; color: var(--gold); }
.exp-card--feature:hover .exp-card__link { text-decoration: underline; }

/* =============================================================
   Feast / gallery
   ============================================================= */
.feast { position: relative; padding: clamp(5rem, 12vh, 9rem) 0; color: var(--cream); overflow: hidden; isolation: isolate; }
.feast__bg { position: absolute; inset: 0; z-index: -2; background: url('../assets/art/story-feast.jpg') center / cover fixed; }
.feast__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,13,9,.82), rgba(20,13,9,.7) 40%, rgba(20,13,9,.88)); }
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 1.1rem; margin-top: 1rem;
}
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; margin: 0; box-shadow: 0 24px 50px -30px rgba(0,0,0,.8); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.2rem .9rem;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem;
  background: linear-gradient(transparent, rgba(12,8,5,.78));
}

/* =============================================================
   Showcase slider (degustaciones · barra · clases)
   ============================================================= */
.showcase { background: var(--cream); padding: clamp(5rem, 12vh, 9rem) 0; overflow: hidden; }
.slider { position: relative; }
.slider__track { display: grid; }
.slide {
  grid-area: 1 / 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .7s var(--ease);
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide__media { position: relative; }
.slide__photo { width: 100%; border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; position: relative; z-index: 1; box-shadow: 0 40px 60px -34px rgba(40,24,12,.6); }
.slide__blob { position: absolute; z-index: 0; width: 88%; bottom: -10%; right: -12%; opacity: .8; pointer-events: none; }
.slide__copy .eyebrow { margin-bottom: .8rem; }
.slide__copy h3 { font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 3.4rem); letter-spacing: -0.015em; }
.slide__lead { margin-top: 1rem; color: var(--muted); font-size: 1.06rem; max-width: 34rem; }
.show-list { margin: 1.6rem 0 2rem; border-top: 1px solid var(--line); }
.show-list li { display: flex; justify-content: space-between; gap: 1.5rem; padding: .9rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--ink); }
.show-list li span:last-child { font-family: var(--serif); color: var(--clay); white-space: nowrap; }
.show-list li span:only-child { color: var(--muted); font-family: var(--sans); }
.slider__nav { display: flex; align-items: center; justify-content: center; gap: 1.4rem; margin-top: clamp(1.6rem, 4vw, 2.6rem); }
.slider__arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 1.05rem; cursor: pointer; display: grid; place-items: center; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.slider__arrow:hover { background: var(--clay); color: var(--cream); border-color: var(--clay); transform: translateY(-2px); }
.slider__dots { display: flex; gap: .55rem; }
.slider__dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(43,31,23,.22); cursor: pointer; transition: background .25s var(--ease), transform .25s var(--ease); }
.slider__dots button.is-active { background: var(--clay); transform: scale(1.35); }

/* =============================================================
   Classes — experience feature with its own landing
   ============================================================= */
.class-exp { position: relative; background: linear-gradient(150deg, var(--olive-deep), var(--cocoa)); color: var(--cream); padding: clamp(5rem, 12vh, 9rem) 0; overflow: hidden; }
.class-exp__arch { position: absolute; top: -8%; left: -4%; width: clamp(220px, 30vw, 460px); opacity: .14; mix-blend-mode: screen; pointer-events: none; }
.class-exp__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.class-exp__copy .section-title { color: var(--cream); font-size: clamp(2.2rem, 5vw, 3.8rem); }
.class-exp__lead { margin-top: 1.1rem; color: rgba(245,236,221,.82); font-size: 1.08rem; max-width: 40rem; }
.class-exp__meta { margin-top: 1.6rem; }
.class-exp__price { font-family: var(--serif); font-size: 2rem; color: var(--gold); }
.class-exp__price small { font-family: var(--sans); font-size: .9rem; color: rgba(245,236,221,.6); letter-spacing: .02em; }
.class-exp__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.class-exp__media { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 50px 80px -40px rgba(0,0,0,.8); }
.class-exp__media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }

/* ---------- Classes landing (classes.html) ---------- */
.subhero { position: relative; min-height: 70svh; display: grid; align-items: end; padding: calc(var(--header-h) + 6vh) 0 clamp(3rem, 7vh, 6rem); color: var(--cream); overflow: hidden; isolation: isolate; }
.subhero__bg { position: absolute; inset: 0; z-index: -2; background: url('../assets/photos/grill.jpg') center / cover; transform: scale(1.04); }
.subhero__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,13,9,.5), rgba(20,13,9,.4) 40%, rgba(20,13,9,.9)); }
.subhero__inner { position: relative; }
.back-link { display: inline-block; margin-bottom: 1.4rem; font-size: .9rem; font-weight: 600; letter-spacing: .02em; color: var(--gold); }
.back-link:hover { color: var(--cream); }
.subhero__title { font-size: clamp(2.8rem, 8vw, 6rem); letter-spacing: -0.025em; margin-bottom: 1rem; }
.subhero__lead { max-width: 40rem; color: rgba(245,236,221,.9); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }

.class-detail { background: var(--cream); padding: clamp(4rem, 10vh, 8rem) 0; }
.class-detail__grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.class-detail__main .section-title { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 1.6rem; }
.class-detail__list { border-top: 1px solid var(--line); }
.class-detail__list li { padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.class-detail__list h3 { font-size: 1.35rem; }
.class-detail__list p { margin-top: .35rem; color: var(--muted); }
.class-detail__card { position: sticky; top: 100px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem; display: flex; flex-direction: column; gap: 1rem; box-shadow: 0 30px 50px -34px rgba(40,24,12,.45); }
.class-detail__price { font-family: var(--serif); font-size: 2.6rem; color: var(--clay); }
.class-detail__price small { font-family: var(--sans); font-size: .9rem; color: var(--muted); }
.class-detail__note { color: var(--muted); font-size: .92rem; }
.class-detail__card .btn { justify-content: center; }

/* =============================================================
   Ritual / steps
   ============================================================= */
.ritual { background: var(--paper); padding: clamp(5rem, 12vh, 9rem) 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.step { text-align: center; }
.step__pebble { position: relative; display: grid; place-items: center; width: 120px; height: 120px; margin: 0 auto 1.4rem; }
.step__pebble img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.step__pebble b { position: relative; font-family: var(--serif); font-size: 2rem; color: var(--cream); text-shadow: 0 2px 12px rgba(0,0,0,.4); }
.step h3 { font-size: 1.5rem; }
.step p { margin-top: .6rem; color: var(--muted); max-width: 26rem; margin-inline: auto; }

/* =============================================================
   Chef
   ============================================================= */
.chef { background: linear-gradient(180deg, var(--espresso), var(--espresso-2)); color: var(--cream); padding: clamp(5rem, 13vh, 10rem) 0; overflow: hidden; }
.chef__grid { display: grid; grid-template-columns: 0.92fr 1fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.chef__portrait { position: relative; }
.chef__blob { position: absolute; z-index: 0; width: 116%; top: -10%; left: -12%; opacity: .42; }
.chef__art { position: relative; z-index: 1; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: 0 50px 80px -40px rgba(0,0,0,.8); }
.chef__art img { width: 100%; aspect-ratio: 7/6; object-fit: cover; }
.chef__tag { position: absolute; z-index: 2; bottom: 1rem; left: 1rem; font-size: .78rem; letter-spacing: .08em; background: rgba(20,13,9,.62); color: var(--gold); padding: .45rem .8rem; border-radius: 999px; backdrop-filter: blur(6px); }
.chef__copy .section-title { color: var(--cream); font-size: clamp(2.6rem, 6vw, 4.6rem); }
.chef__body { margin-top: 1.2rem; color: rgba(245,236,221,.82); font-size: 1.08rem; max-width: 38rem; }
.chef__sign { margin-top: 1.6rem; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold); }

/* =============================================================
   Reviews
   ============================================================= */
.reviews { position: relative; background: var(--cream); padding: clamp(5rem, 12vh, 9rem) 0; overflow: hidden; }
.reviews__blob { position: absolute; bottom: -10%; left: -6%; width: clamp(260px, 34vw, 520px); opacity: .45; pointer-events: none; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; position: relative; }
.review { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem; box-shadow: 0 22px 44px -34px rgba(40,24,12,.4); }
.review p { font-family: var(--serif); font-size: 1.2rem; line-height: 1.4; color: var(--ink); }
.review p::before { content: "“"; color: var(--clay); font-size: 1.4em; line-height: 0; vertical-align: -0.3em; margin-right: .08em; }
.review cite { display: block; margin-top: 1.2rem; font-style: normal; font-size: .88rem; color: var(--muted); letter-spacing: .02em; }

/* =============================================================
   CTA
   ============================================================= */
.cta { position: relative; background: var(--cocoa); color: var(--cream); overflow: hidden; }
.cta__photo { position: absolute; inset: 0; z-index: 0; background: url('../assets/photos/villa.jpg') center / cover; transform: scale(1.05); }
.cta__veil { position: absolute; inset: 0; z-index: 1; background: linear-gradient(150deg, rgba(150,73,42,.84), rgba(40,28,20,.92)); }
.cta__silhouette { position: absolute; top: 0; left: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; object-position: bottom; opacity: .18; mix-blend-mode: screen; pointer-events: none; }
.cta__inner { position: relative; z-index: 3; text-align: center; padding: clamp(5rem, 13vh, 9rem) 0; }
.cta__title { font-size: clamp(2.4rem, 6.5vw, 5rem); letter-spacing: -0.02em; max-width: 18ch; margin-inline: auto; }
.cta__lead { margin: 1.2rem auto 0; max-width: 38rem; color: rgba(245,236,221,.9); font-size: 1.1rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2.2rem; }
.cta .btn--solid { background: var(--cream); color: var(--clay-deep); box-shadow: 0 14px 34px -16px rgba(0,0,0,.5); }
.cta .btn--solid:hover { background: #fff; }

/* =============================================================
   Footer
   ============================================================= */
.site-footer { position: relative; background: var(--espresso); color: var(--cream); padding: clamp(4rem, 9vh, 7rem) 0 2.5rem; overflow: hidden; }
.site-footer__crest { position: absolute; top: -2px; right: -4%; width: clamp(260px, 38vw, 560px); opacity: .14; pointer-events: none; }
.site-footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 3rem; border-bottom: 1px solid var(--line-light); }
.site-footer__brand p { margin-top: 1rem; color: rgba(245,236,221,.66); max-width: 26rem; }
.brand--footer .brand__name { color: var(--cream); }
.brand--footer .brand__sub { color: var(--gold); }
.site-footer h4 { font-family: var(--sans); font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.site-footer__nav, .site-footer__contact { display: flex; flex-direction: column; gap: .65rem; }
.site-footer__nav a, .site-footer__contact a { color: rgba(245,236,221,.82); transition: color .25s var(--ease); width: fit-content; }
.site-footer__nav a:hover, .site-footer__contact a:hover { color: var(--cream); }
.site-footer__loc { margin-top: .6rem; color: rgba(245,236,221,.5); font-size: .9rem; }
.site-footer__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.8rem; color: rgba(245,236,221,.5); font-size: .82rem; }

/* =============================================================
   Page transition overlay (Barba, future pages)
   ============================================================= */
.page-transition { position: fixed; inset: 0; z-index: 1500; pointer-events: none; display: grid; }
.page-transition__panel { background: var(--espresso); transform: scaleY(0); transform-origin: bottom; }
html.is-navigating { cursor: progress; }

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1024px) {
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; max-width: 40rem; margin-inline: auto; }
  .chef__grid { grid-template-columns: 1fr; }
  .chef__portrait { max-width: 30rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-nav { display: none; }
  .exp-grid { grid-template-columns: 1fr; }
  .slide { grid-template-columns: 1fr; }
  .slide__media { max-width: 24rem; margin-inline: auto; }
  .class-exp__grid { grid-template-columns: 1fr; }
  .class-detail__grid { grid-template-columns: 1fr; }
  .class-detail__card { position: static; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item--tall { grid-row: span 1; }
  .gallery__item--wide { grid-column: span 1; }
  .feast__bg { background-attachment: scroll; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* honor reduced-motion fully */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .hero__bg { transform: none; }
  .feast__bg { background-attachment: scroll; }
}

