/* ============================================================
   Le Gabriel — main.css
   Committed brand: deep forest green + terracotta on cream paper.
   ============================================================ */

:root{
  /* color */
  --paper:        oklch(96% 0.012 80);
  --paper-warm:   oklch(93% 0.018 75);
  --paper-deep:   oklch(88% 0.025 70);
  --ink:          oklch(20% 0.018 150);
  --green:        oklch(34% 0.060 150);
  --green-deep:   oklch(22% 0.050 150);
  --green-darker: oklch(16% 0.040 150);
  --green-soft:   oklch(58% 0.075 150);
  --terracotta:   oklch(58% 0.140 45);
  --terracotta-deep: oklch(48% 0.150 38);
  --brass:        oklch(72% 0.090 85);
  --shadow:       oklch(20% 0.030 150 / 0.18);

  /* type */
  --serif: 'Cormorant Garamond', 'Cormorant', 'EB Garamond', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.25rem;
  --fs-lg: 2rem;
  --fs-xl: 3.5rem;
  --fs-2xl: 5.5rem;
  --fs-3xl: 9rem;

  /* motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bloom: cubic-bezier(0.65, 0, 0.35, 1);

  /* layout */
  --gutter: clamp(20px, 5vw, 80px);
  --max: 1440px;
}

/* ============================================================
   RESET
   ============================================================ */
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
html{ -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; text-rendering:optimizeLegibility; scroll-behavior:auto; }
body{
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img,video,iframe{display:block;max-width:100%;height:auto}
img,video{user-select:none;-webkit-user-drag:none}
a{color:inherit;text-decoration:none}
button{font:inherit;background:none;border:0;cursor:pointer;color:inherit}
ul{list-style:none;margin:0;padding:0}
table{border-collapse:collapse;width:100%}

/* lock scroll while reveal is up */
body.is-revealing{overflow:hidden;height:100vh}

/* ============================================================
   TYPE PRIMITIVES
   ============================================================ */
.eyebrow{
  display:inline-block;
  font-family: var(--sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.eyebrow--light{ color: oklch(78% 0.10 50) }

.section-title{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, var(--fs-2xl));
  line-height: 0.96;
  letter-spacing: -0.015em;
  color: var(--green);
  margin: 0.4em 0 0;
}
.section-title--light{ color: var(--paper) }

/* ============================================================
   FLORAL REVEAL
   ============================================================ */
.reveal{
  position: fixed; inset: 0;
  z-index: 9999;
  background: var(--green-darker);
  display: grid;
  place-items: center;
  pointer-events: none;
  /* whole reveal fades + slides up after the flower has finished blooming */
  animation: reveal-out 1.0s var(--ease) 2.3s forwards;
}
.reveal__veil{
  position:absolute; inset:0;
  background:
    radial-gradient( ellipse at 50% 45%, oklch(28% 0.06 150 / 0.0) 0%, oklch(15% 0.04 150 / 0.92) 75%),
    url('../assets/img/terrace-flowers.jpg') center/cover no-repeat;
  filter: saturate(1.1) blur(3px);
  opacity: 0.22;
  animation: veil-fade 1.2s var(--ease) forwards;
}
@keyframes veil-fade{ from{opacity:0} to{opacity:0.22} }

.reveal__stage{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 4.5vh, 52px);
  z-index: 2;
}

.reveal__bloom{
  position: relative;
  width: clamp(140px, 22vmin, 200px);   /* small, logo-scale */
  aspect-ratio: 1;
  filter: drop-shadow(0 12px 24px oklch(15% 0.04 30 / 0.5));
  opacity: 0;
  animation: bloom-fade-in 0.5s var(--ease) 0.05s forwards;
}
@keyframes bloom-fade-in{ to { opacity: 1 } }

.bloom{ width: 100%; height: 100%; overflow: visible }

/* Each petal opens by scaling from 0 → 1 around the center (0,0).      */
/* The petal path is drawn pointing UP (tip at y=-90); rotation per --i  */
/* gives the clockwise sweep across the layer.                          */
.bloom .petal{
  transform-box: view-box;
  transform-origin: 50% 50%;
  transform: rotate(var(--rot, 0deg)) scale(0);
  opacity: 0;
  animation-name: petal-open;
  animation-duration: var(--dur, 1s);
  animation-timing-function: var(--ease-bloom);
  animation-fill-mode: forwards;
  animation-delay: calc(var(--start, 0s) + var(--i) * var(--step, 0.08s));
}

/* Layer 1 — outer petals, 8 spokes at 45° intervals, opens 0 → ~1.0s   */
.bloom__layer--outer .petal{ --start: 0s; --step: 0.075s; --dur: 0.85s; }
.bloom__layer--outer .petal[style*="--i:0"]{ --rot:   0deg; }
.bloom__layer--outer .petal[style*="--i:1"]{ --rot:  45deg; }
.bloom__layer--outer .petal[style*="--i:2"]{ --rot:  90deg; }
.bloom__layer--outer .petal[style*="--i:3"]{ --rot: 135deg; }
.bloom__layer--outer .petal[style*="--i:4"]{ --rot: 180deg; }
.bloom__layer--outer .petal[style*="--i:5"]{ --rot: 225deg; }
.bloom__layer--outer .petal[style*="--i:6"]{ --rot: 270deg; }
.bloom__layer--outer .petal[style*="--i:7"]{ --rot: 315deg; }

/* Layer 2 — mid petals, 8 spokes offset 22.5°, opens 0.45 → ~1.3s      */
.bloom__layer--mid .petal{ --start: 0.45s; --step: 0.07s; --dur: 0.75s; }
.bloom__layer--mid .petal[style*="--i:0"]{ --rot:  22.5deg; }
.bloom__layer--mid .petal[style*="--i:1"]{ --rot:  67.5deg; }
.bloom__layer--mid .petal[style*="--i:2"]{ --rot: 112.5deg; }
.bloom__layer--mid .petal[style*="--i:3"]{ --rot: 157.5deg; }
.bloom__layer--mid .petal[style*="--i:4"]{ --rot: 202.5deg; }
.bloom__layer--mid .petal[style*="--i:5"]{ --rot: 247.5deg; }
.bloom__layer--mid .petal[style*="--i:6"]{ --rot: 292.5deg; }
.bloom__layer--mid .petal[style*="--i:7"]{ --rot: 337.5deg; }

/* Layer 3 — inner petals, 6 spokes at 60°, opens 0.85 → ~1.55s         */
.bloom__layer--inner .petal{ --start: 0.85s; --step: 0.065s; --dur: 0.65s; }
.bloom__layer--inner .petal[style*="--i:0"]{ --rot:  30deg; }
.bloom__layer--inner .petal[style*="--i:1"]{ --rot:  90deg; }
.bloom__layer--inner .petal[style*="--i:2"]{ --rot: 150deg; }
.bloom__layer--inner .petal[style*="--i:3"]{ --rot: 210deg; }
.bloom__layer--inner .petal[style*="--i:4"]{ --rot: 270deg; }
.bloom__layer--inner .petal[style*="--i:5"]{ --rot: 330deg; }

@keyframes petal-open{
  0%   { transform: rotate(var(--rot, 0deg)) scale(0);    opacity: 0 }
  30%  { opacity: 1 }
  100% { transform: rotate(var(--rot, 0deg)) scale(1);    opacity: 1 }
}

.bloom__core{
  transform-box: view-box;
  transform-origin: 50% 50%;
  transform: scale(0);
  opacity: 0;
  animation: core-pop 0.55s var(--ease-bloom) 1.35s forwards;
}
@keyframes core-pop{
  0%   { transform: scale(0); opacity: 0 }
  60%  { opacity: 1 }
  100% { transform: scale(1); opacity: 1 }
}

.reveal__lockup{
  position: relative;
  text-align: center;
  z-index: 3;
  opacity: 0;
  transform: translateY(8px);
  animation: lockup-in 0.8s var(--ease) 1.55s forwards;
}
@keyframes lockup-in{ to{ opacity:1; transform: translateY(0) } }

.reveal__mark{
  display:flex;
  justify-content:center;
  gap: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--paper);
  text-transform: uppercase;
}
.reveal__mark > span{
  display:inline-block;
  opacity: 0;
  transform: translateY(0.4em);
  animation: char-in 0.7s var(--ease) forwards;
}
.reveal__mark > span:nth-child(1){ animation-delay: 1.55s }
.reveal__mark > span:nth-child(2){ animation-delay: 1.60s }
.reveal__mark > span:nth-child(3){ animation-delay: 1.65s }
.reveal__mark > span:nth-child(4){ animation-delay: 1.70s }
.reveal__mark > span:nth-child(5){ animation-delay: 1.75s }
.reveal__mark > span:nth-child(6){ animation-delay: 1.80s }
.reveal__mark > span:nth-child(7){ animation-delay: 1.85s }
.reveal__mark > span:nth-child(8){ animation-delay: 1.90s }
.reveal__mark > span:nth-child(9){ animation-delay: 1.95s }
.reveal__mark > span:nth-child(10){ animation-delay: 2.00s }
@keyframes char-in{ to{opacity:1; transform:translateY(0)} }

.reveal__sub{
  display:block;
  margin-top: 12px;
  font-family: var(--sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: oklch(82% 0.08 50);
  opacity: 0;
  animation: char-in 0.6s var(--ease) 2.10s forwards;
}

@keyframes reveal-out{
  0%   { transform: translateY(0);    opacity: 1; clip-path: inset(0 0 0 0); }
  100% { transform: translateY(-8vh); opacity: 0; clip-path: inset(0 0 100% 0); }
}

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: 18px clamp(16px, 4vw, 48px);
  color: var(--paper);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease);
}
.nav.is-stuck{
  background: oklch(96% 0.012 80 / 0.92);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  color: var(--green);
  padding-top: 12px; padding-bottom: 12px;
  box-shadow: 0 1px 0 oklch(34% 0.06 150 / 0.08);
}

.nav__brand{
  display:grid;
  grid-template-columns: auto;
  line-height: 1;
}
.nav__brand-name{
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  font-weight: 500;
}
.nav__brand-sub{
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: 0.78;
}

.nav__links{
  justify-self: center;
  display: flex;
  gap: clamp(16px, 2.5vw, 36px);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.20em;
  text-transform: uppercase;
}
.nav__links a{
  position: relative;
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity 0.3s var(--ease);
}
.nav__links a::after{
  content:'';
  position:absolute;
  left:0; right:0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav__links a:hover{ opacity: 1 }
.nav__links a:hover::after{ transform: scaleX(1) }

.nav__hours{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.92;
}
.nav__hours .dot{
  display:inline-block;
  width: 7px; height: 7px;
  background: oklch(72% 0.18 145);
  border-radius: 50%;
  box-shadow: 0 0 0 0 oklch(72% 0.18 145 / 0.6);
  animation: dot-pulse 2.4s var(--ease) infinite;
}
@keyframes dot-pulse{
  0%   { box-shadow: 0 0 0 0 oklch(72% 0.18 145 / 0.6) }
  70%  { box-shadow: 0 0 0 10px oklch(72% 0.18 145 / 0) }
  100% { box-shadow: 0 0 0 0 oklch(72% 0.18 145 / 0) }
}

@media (max-width: 880px){
  .nav__links{ display: none }
  .nav{ grid-template-columns: 1fr auto }
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--paper);
  isolation: isolate;
}
.hero__media{ position:absolute; inset:0; z-index:-1 }
.hero__poster, .hero__video{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit: cover;
}
.hero__video{ opacity: 0; transition: opacity 1s var(--ease) }
.hero__video.is-ready{ opacity: 1 }
.hero__veil{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, oklch(15% 0.04 150 / 0.55) 0%, oklch(15% 0.04 150 / 0.20) 35%, oklch(15% 0.04 150 / 0.55) 100%),
    radial-gradient( ellipse at 50% 50%, oklch(15% 0.04 150 / 0) 30%, oklch(15% 0.04 150 / 0.55) 100% );
}

.hero__content{
  text-align: center;
  padding: 0 var(--gutter);
  max-width: 1100px;
}
.hero__eyebrow{
  display:inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-bottom: clamp(20px, 4vh, 38px);
}
.hero__title{
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.4rem, 14vw, var(--fs-3xl));
  line-height: 0.86;
  letter-spacing: -0.02em;
}
.hero__title-line{ display:block }
.hero__title-line--em em{
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.hero__rule{
  display:block;
  width: 80px;
  height: 1px;
  background: var(--terracotta);
  margin: clamp(28px, 5vh, 44px) auto;
  transform-origin: center;
  animation: rule-grow 1.4s var(--ease) 0.2s both;
}
@keyframes rule-grow{ from{transform:scaleX(0)} to{transform:scaleX(1)} }
.hero__caption{
  font-family: var(--sans);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 48ch;
  opacity: 0.92;
}

.hero__scroll{
  position: absolute;
  bottom: clamp(20px, 4vh, 36px);
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.78;
  transition: opacity 0.3s var(--ease);
}
.hero__scroll:hover{ opacity: 1 }
.hero__scroll svg{ width: 14px; height: 36px }
.hero__scroll svg path{ animation: scroll-cue 2.2s var(--ease) infinite }
@keyframes scroll-cue{
  0%,100%{ stroke-dashoffset: 0; opacity: 0.4 }
  50%   { opacity: 1 }
}

/* fade-in for hero content tied to reveal completion */
.hero__content > *,
.hero__scroll{
  opacity: 0;
  animation: hero-in 1.2s var(--ease) 2.6s forwards;
}
.hero__content > *:nth-child(1){ animation-delay: 2.7s }
.hero__content > *:nth-child(2){ animation-delay: 2.9s }
.hero__content > *:nth-child(3){ animation-delay: 3.2s }
.hero__content > *:nth-child(4){ animation-delay: 3.4s }
.hero__scroll{ animation-delay: 3.6s }
@keyframes hero-in{
  from{ opacity:0; transform: translateY(14px) }
  to  { opacity: var(--end-op, 1); transform: translateY(0) }
}
.hero__scroll{ --end-op: 0.78 }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto{
  position: relative;
  padding: clamp(120px, 18vw, 220px) var(--gutter) clamp(140px, 18vw, 240px);
  background: var(--paper);
  text-align: center;
}
.manifesto .eyebrow{ display: block; margin-bottom: clamp(28px, 4vw, 44px) }
.manifesto__text{
  margin: 0 auto;
  max-width: 32ch;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.32;
  color: var(--green);
  letter-spacing: -0.005em;
}
.manifesto__text em{ font-style: italic }
.manifesto__highlight{
  display: block;
  margin-top: 0.8em;
  color: var(--terracotta-deep);
  font-style: italic;
}
.manifesto__rule{
  display:block;
  width: 1px;
  height: 60px;
  background: var(--brass);
  margin: clamp(40px, 6vw, 60px) auto 18px;
}
.manifesto__signature{
  display:block;
  font-family: var(--sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.7;
}

/* ============================================================
   ATMOSPHERE
   ============================================================ */
.atmosphere{
  position: relative;
  padding: clamp(80px, 10vw, 140px) var(--gutter) clamp(120px, 14vw, 200px);
  background: var(--paper-warm);
}
.atmosphere__head{ max-width: 1200px; margin: 0 auto clamp(48px, 8vw, 96px) }
.atmosphere__head .eyebrow{ display: block }

.atmosphere__grid{
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: clamp(16px, 2.4vw, 30px);
}
.atmo{
  position: relative;
  margin: 0;
  overflow: hidden;
  background: oklch(80% 0.02 150);
  box-shadow: 0 20px 50px -30px var(--shadow);
}
.atmo img, .atmo video{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.atmo:hover img, .atmo:hover video{ transform: scale(1.04) }
.atmo figcaption{
  position: absolute;
  left: 18px; bottom: 14px;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 2px 14px oklch(15% 0.03 150 / 0.5);
}

.atmo--lead   { grid-column: span 7; grid-row: span 4; aspect-ratio: 4/5 }
.atmo--narrow { grid-column: span 5; grid-row: span 2; aspect-ratio: 5/4 }
.atmo--copy   { grid-column: span 5; grid-row: span 2;
  background: transparent; box-shadow:none;
  display: flex; flex-direction: column; justify-content: center;
  padding: 12px 4px;
}
.atmo--copy p{
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--green-deep);
  margin: 0 0 1.1em;
  max-width: 38ch;
}
.atmo--copy p:last-child{ margin-bottom: 0; color: var(--ink); font-style: italic }

.atmo--tall  { grid-column: span 4; grid-row: span 3; aspect-ratio: 3/4 }
.atmo--wide  { grid-column: span 8; grid-row: span 3; aspect-ratio: 16/9 }
.atmo--small { grid-column: span 6; grid-row: span 2; aspect-ratio: 4/3 }
.atmo--small-2{ grid-column: span 6 }

@media (max-width: 980px){
  .atmosphere__grid{ grid-template-columns: repeat(6, 1fr); grid-auto-rows: auto }
  .atmo{ grid-row: auto }
  .atmo--lead{ grid-column: span 6; aspect-ratio: 3/4 }
  .atmo--narrow{ grid-column: span 6; aspect-ratio: 5/4 }
  .atmo--copy{ grid-column: span 6; padding: 16px 0; aspect-ratio: auto }
  .atmo--tall{ grid-column: span 6; aspect-ratio: 4/5 }
  .atmo--wide{ grid-column: span 6; aspect-ratio: 16/9 }
  .atmo--small{ grid-column: span 3; aspect-ratio: 4/3 }
  .atmo--small-2{ grid-column: span 3; aspect-ratio: 4/3 }
}

/* ============================================================
   CARTE
   ============================================================ */
.carte{
  position: relative;
  padding: clamp(100px, 12vw, 160px) var(--gutter) clamp(100px, 12vw, 160px);
  background: var(--paper);
  background-image:
    linear-gradient(180deg, var(--paper) 0%, var(--paper) 100%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='400'><filter id='n'><feTurbulence baseFrequency='0.85' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0.13 0 0 0 0 0.16 0 0 0 0 0.10 0 0 0 0.05 0'/></filter><rect width='400' height='400' filter='url(%23n)'/></svg>");
  background-blend-mode: multiply, normal;
}
.carte__head{
  max-width: 800px;
  margin: 0 auto clamp(60px, 7vw, 100px);
  text-align: center;
}
.carte__head .eyebrow{ display: block }
.carte__lede{
  margin: 24px auto 0;
  max-width: 52ch;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--green-deep);
  opacity: 0.92;
}

.carte__grid{
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
}
.carte__col{ display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px) }

.carte__sec-title{
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--green);
  margin: 0 0 0.2em;
  text-align: center;
}
.carte__sec{
  position: relative;
  padding-top: 18px;
  border-top: 1px solid var(--terracotta);
}
.carte__sec::before{
  content:'';
  position:absolute;
  top:-1px; left:50%;
  width: 8px; height: 8px;
  background: var(--terracotta);
  transform: translate(-50%, -50%) rotate(45deg);
}
.carte__sec-sub{
  text-align: center;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin: 0 0 8px;
}
.carte__sec--accent{
  background: oklch(94% 0.03 60);
  padding: 28px clamp(24px, 3vw, 40px) 32px;
  border: 1px solid oklch(82% 0.06 50);
}
.carte__sec--accent .carte__sec-title{ color: var(--terracotta-deep) }
.carte__sec--accent::before{ display: none }

.carte__list{
  display: flex; flex-direction: column;
  gap: 22px;
  margin-top: 24px;
}
.carte__list li{
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "dish price"
    "desc desc";
  column-gap: 24px;
  row-gap: 4px;
  align-items: baseline;
  transition: transform 0.45s var(--ease);
}
.carte__list li:hover{ transform: translateX(6px) }

.dish{
  grid-area: dish;
  font-family: var(--sans);
  font-size: 0.93rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.desc{
  grid-area: desc;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.45;
  color: oklch(40% 0.02 150);
  max-width: 56ch;
}
.desc:empty{ display:none }
.price{
  grid-area: price;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--terracotta-deep);
  letter-spacing: 0.02em;
  font-feature-settings: 'tnum' 1;
  white-space: nowrap;
}

.carte__list--formule li{ grid-template-columns: 1fr auto; grid-template-areas: "dish price" }
.carte__list--mini li  { grid-template-columns: 1fr; grid-template-areas: "dish" "desc" }

.carte__foot{
  max-width: 1280px;
  margin: clamp(60px, 7vw, 96px) auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
.carte__sec--mini{ padding-top: 18px }
.carte__fine{
  grid-column: 1 / -1;
  text-align: center;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: oklch(45% 0.02 150);
  margin: clamp(40px, 5vw, 72px) 0 0;
}

@media (max-width: 880px){
  .carte__grid, .carte__foot{ grid-template-columns: 1fr }
}

/* ============================================================
   GALERIE
   ============================================================ */
.galerie{
  background: var(--green-darker);
  color: var(--paper);
  padding: clamp(100px, 12vw, 160px) clamp(0px, 2vw, 24px) clamp(100px, 12vw, 160px);
}
.galerie__head{
  text-align: center;
  margin: 0 auto clamp(48px, 6vw, 80px);
  padding: 0 var(--gutter);
}
.galerie__head .eyebrow{ display:block; color: oklch(78% 0.10 50) }
.galerie__head .section-title{ color: var(--paper) }

.galerie__grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 9vw;
  grid-auto-flow: dense;
  gap: clamp(8px, 1.2vw, 14px);
  max-width: 1600px; margin: 0 auto;
}
.g{
  position: relative;
  margin: 0;
  overflow: hidden;
  background: oklch(28% 0.03 150);
}
.g img, .g video{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease), filter 0.6s var(--ease);
  filter: saturate(1.05);
}
.g:hover img, .g:hover video{ transform: scale(1.05) }

/* editorial layout — varied spans, NOT a uniform grid */
.g--01{ grid-column: span 4; grid-row: span 3 }
.g--02{ grid-column: span 3; grid-row: span 2 }
.g--03{ grid-column: span 5; grid-row: span 3 }   /* video */
.g--04{ grid-column: span 3; grid-row: span 2 }
.g--05{ grid-column: span 4; grid-row: span 2 }
.g--06{ grid-column: span 3; grid-row: span 3 }
.g--07{ grid-column: span 3; grid-row: span 3 }
.g--08{ grid-column: span 6; grid-row: span 3 }   /* video */
.g--09{ grid-column: span 6; grid-row: span 3 }
.g--10{ grid-column: span 3; grid-row: span 2 }
.g--11{ grid-column: span 3; grid-row: span 2 }
.g--12{ grid-column: span 6; grid-row: span 3 }   /* video */
.g--13{ grid-column: span 3; grid-row: span 3 }
.g--14{ grid-column: span 3; grid-row: span 2 }
.g--15{ grid-column: span 6; grid-row: span 3 }
.g--16{ grid-column: span 3; grid-row: span 2 }
.g--17{ grid-column: span 4; grid-row: span 2 }
.g--18{ grid-column: span 4; grid-row: span 2 }

@media (max-width: 1024px){
  .galerie__grid{ grid-template-columns: repeat(6, 1fr); grid-auto-rows: 18vw }
  .g{ grid-column: span 3 !important; grid-row: span 2 !important }
  .g--01,.g--03,.g--08,.g--09,.g--12,.g--15{ grid-column: span 6 !important; grid-row: span 2 !important }
}
@media (max-width: 600px){
  .galerie__grid{ grid-template-columns: repeat(4, 1fr); grid-auto-rows: 28vw; gap: 6px }
  .g{ grid-column: span 2 !important; grid-row: span 1 !important }
  .g--01,.g--03,.g--08,.g--09,.g--12,.g--15{ grid-column: span 4 !important; grid-row: span 2 !important }
}

/* ============================================================
   ADRESSE
   ============================================================ */
.adresse{
  position: relative;
  background: var(--green-deep);
  color: var(--paper);
  padding: clamp(100px, 12vw, 160px) var(--gutter);
  overflow: hidden;
  isolation: isolate;
}
.adresse__veil{
  position: absolute; inset: 0;
  z-index: -1;
  opacity: 0.18;
}
.adresse__veil video{
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.6);
}
.adresse__head{
  max-width: 900px;
  margin: 0 auto clamp(60px, 8vw, 100px);
  text-align: center;
}
.adresse__head .eyebrow{ display:block }

.adresse__panels{
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: clamp(20px, 2.5vw, 32px);
  align-items: stretch;
}
.adresse__card{
  background: oklch(96% 0.012 80 / 0.06);
  border: 1px solid oklch(96% 0.012 80 / 0.16);
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  backdrop-filter: blur(4px);
}
.card__title{
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  font-style: italic;
  margin: 0;
  color: oklch(78% 0.10 50);
  letter-spacing: 0.005em;
}

/* hours */
.hours-table{
  font-family: var(--sans);
  font-size: 0.92rem;
}
.hours-table th, .hours-table td{
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid oklch(96% 0.012 80 / 0.10);
}
.hours-table th{ font-weight: 500; opacity: 0.78; letter-spacing: 0.04em }
.hours-table td{ text-align: right; font-feature-settings: 'tnum' 1; opacity: 0.95 }
.card__note{
  font-family: var(--serif); font-style: italic;
  font-size: 0.95rem; opacity: 0.72; margin: 0;
}

/* map card */
.adresse__line{
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.45;
  letter-spacing: 0.005em;
}
.adresse__cta{
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 12px 22px;
  border: 1px solid oklch(78% 0.10 50);
  color: oklch(85% 0.08 60);
  border-radius: 999px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.adresse__cta:hover{ background: oklch(78% 0.10 50); color: var(--green-darker); border-color: oklch(78% 0.10 50) }
.adresse__map{
  margin-top: auto;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid oklch(96% 0.012 80 / 0.14);
}
.adresse__map iframe{
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(0.4) contrast(0.95) saturate(0.8) brightness(0.85);
}

/* practical */
.practical{ display: flex; flex-direction: column; gap: 14px; margin-top: 4px }
.practical li{
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid oklch(96% 0.012 80 / 0.10);
}
.practical__k{
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.65;
}
.practical__v{
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.4;
}

@media (max-width: 1024px){
  .adresse__panels{ grid-template-columns: 1fr 1fr }
  .adresse__card--map{ grid-column: 1 / -1 }
}
@media (max-width: 700px){
  .adresse__panels{ grid-template-columns: 1fr }
  .adresse__card--map{ grid-column: auto }
}

/* ============================================================
   INSTAGRAM
   ============================================================ */
.insta{
  position: relative;
  background: var(--paper);
  padding: clamp(100px, 12vw, 160px) var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
}
.insta__copy .eyebrow{ display: block }
.insta__copy .section-title{ margin-bottom: 0.6em }
.insta__lede{
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.5;
  color: var(--green-deep);
  max-width: 38ch;
  margin: 0 0 32px;
}
.insta__cta{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green);
  padding: 16px 26px;
  border: 1px solid var(--green);
  border-radius: 999px;
  transition: background 0.45s var(--ease), color 0.45s var(--ease);
}
.insta__cta:hover{ background: var(--green); color: var(--paper) }
.insta__cta svg{ transition: transform 0.45s var(--ease) }
.insta__cta:hover svg{ transform: translateX(4px) }

.insta__strip{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(8px, 1vw, 14px);
}
.insta__tile{
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--paper-deep);
}
.insta__tile img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.5s var(--ease);
  filter: saturate(1.05);
}
.insta__tile:hover img{ transform: scale(1.06) }

/* offset top row visually for editorial feel */
.insta__tile:nth-child(2),
.insta__tile:nth-child(4),
.insta__tile:nth-child(6){ transform: translateY(20px) }

@media (max-width: 980px){
  .insta{ grid-template-columns: 1fr }
  .insta__strip{ grid-template-columns: repeat(3, 1fr) }
  .insta__tile:nth-child(n){ transform: none }
  .insta__tile:nth-child(2),
  .insta__tile:nth-child(5){ transform: translateY(20px) }
}

/* ============================================================
   FOOTER
   ============================================================ */
.foot{
  background: var(--green-darker);
  color: var(--paper);
  padding: clamp(80px, 10vw, 140px) var(--gutter) 36px;
}
.foot__lockup{
  text-align: center;
  margin: 0 auto clamp(60px, 7vw, 100px);
  border-bottom: 1px solid oklch(96% 0.012 80 / 0.12);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.foot__mark{
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper);
}
.foot__sub{
  display: block;
  margin-top: 14px;
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.74;
}

.foot__cols{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 5vw, 64px);
}
.foot__cols div p{
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0;
  opacity: 0.92;
}
.foot__h{
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.62;
  margin-bottom: 14px;
}
.foot__cols a{
  border-bottom: 1px solid oklch(96% 0.012 80 / 0.3);
  transition: border-color 0.3s var(--ease);
}
.foot__cols a:hover{ border-color: oklch(78% 0.10 50) }

.foot__fine{
  max-width: 1100px;
  margin: clamp(60px, 8vw, 100px) auto 0;
  padding-top: 24px;
  border-top: 1px solid oklch(96% 0.012 80 / 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}

@media (max-width: 760px){
  .foot__cols{ grid-template-columns: 1fr; text-align: center }
  .foot__fine{ flex-direction: column; align-items: center; text-align: center }
}

/* ============================================================
   SCROLL-IN ANIMATIONS (set by JS)
   ============================================================ */
.fade-up{
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
.fade-up.in{ opacity: 1; transform: translateY(0) }

/* ============================================================
   MOBILE POLISH (≤768px) — final overrides
   ============================================================ */
@media (max-width: 768px){
  :root{ --gutter: clamp(18px, 5vw, 32px); }

  /* nav: make sure brand + pill fit the row */
  .nav{ padding: 14px 16px; gap: 12px }
  .nav__brand-name{ font-size: 1.25rem }
  .nav__brand-sub{ font-size: 0.58rem; letter-spacing: 0.28em }
  .nav__hours{ padding: 7px 11px; font-size: 0.62rem; letter-spacing: 0.14em }
  .nav__hours .dot{ width: 6px; height: 6px }

  /* hero: keep the wordmark inside the viewport */
  .hero__title{ font-size: clamp(3rem, 16vw, 6rem); letter-spacing: -0.025em }
  .hero__caption{ font-size: 0.85rem; letter-spacing: 0.04em; max-width: 32ch }
  .hero__eyebrow{ font-size: 0.66rem; letter-spacing: 0.28em }

  /* manifesto */
  .manifesto{ padding-block: clamp(80px, 16vw, 140px) }
  .manifesto__text{ font-size: clamp(1.4rem, 5.5vw, 2rem); line-height: 1.34 }

  /* atmosphere copy text size */
  .atmo--copy p{ font-size: 1.05rem; line-height: 1.55 }

  /* carte */
  .carte{ padding-block: clamp(80px, 14vw, 130px) }
  .carte__sec-title{ font-size: 1.6rem }
  .dish{ font-size: 0.88rem; letter-spacing: 0.04em }
  .desc{ font-size: 0.88rem; line-height: 1.4 }
  .price{ font-size: 1rem }
  .carte__sec--accent{ padding: 22px 18px 26px }
  .carte__list li{ column-gap: 14px; row-gap: 4px }

  /* gallery: bigger rows so each item gets visual weight */
  .galerie{ padding-inline: 6px }
  .galerie__head{ padding-inline: var(--gutter) }

  /* adresse */
  .adresse{ padding-block: clamp(80px, 14vw, 130px) }
  .adresse__card{ padding: 24px 20px }
  .adresse__line{ font-size: 1.15rem }
  .practical li{ grid-template-columns: 1fr; gap: 4px; padding-bottom: 14px }
  .practical__k{ font-size: 0.66rem; letter-spacing: 0.22em }
  .practical__v{ font-size: 1rem }
  .hours-table th, .hours-table td{ padding: 8px 0; font-size: 0.88rem }

  /* insta */
  .insta{ padding-block: clamp(80px, 14vw, 130px) }
  .insta__cta{ padding: 13px 20px; font-size: 0.74rem; letter-spacing: 0.2em }

  /* footer */
  .foot{ padding-block: clamp(70px, 12vw, 110px) 28px }
  .foot__mark{ font-size: clamp(2rem, 9vw, 3.4rem) }
}

/* very-narrow phones — iPhone SE and below */
@media (max-width: 360px){
  .nav__brand-sub{ display: none }
  .nav__hours{ font-size: 0.6rem; padding: 6px 10px }
  .hero__title{ font-size: clamp(2.6rem, 17vw, 5rem) }
  .hero__caption{ font-size: 0.78rem }
  .section-title{ font-size: clamp(2rem, 9vw, 3rem) }
  .carte__sec-title{ font-size: 1.45rem }
  .adresse__line{ font-size: 1.05rem }
}

/* short viewports — landscape phones, 16:9 displays */
@media (max-height: 560px){
  .reveal__bloom{ width: min(46vmin, 360px) }
  .reveal__lockup{ bottom: clamp(28px, 6vh, 60px) }
  .reveal__mark{ font-size: clamp(2rem, 5vw, 3rem) }
  .hero{ min-height: 100svh }
  .hero__title{ font-size: clamp(2.6rem, 9vw, 5rem) }
  .hero__eyebrow{ margin-bottom: 12px }
  .hero__rule{ margin-block: 14px; height: 1px }
  .hero__caption{ font-size: 0.78rem; max-width: 60ch; line-height: 1.5 }
  .hero__caption br{ display: none }
  .hero__scroll{ display: none }
}
@media (max-height: 460px) and (orientation: landscape){
  .hero__title-line{ display: inline-block }
  .hero__title-line + .hero__title-line{ margin-left: 0.18em }
}

/* iOS notch / home-indicator safe area */
@supports (padding: max(0px)){
  .nav{ padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)) }
  .hero__scroll{ bottom: max(20px, calc(env(safe-area-inset-bottom) + 8px)) }
  .foot{ padding-bottom: max(28px, env(safe-area-inset-bottom)) }
}

/* improve touch targets */
@media (hover: none) and (pointer: coarse){
  .nav__hours, .insta__cta, .adresse__cta{ min-height: 44px }
  .carte__list li:hover{ transform: none }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal{ animation: none; opacity: 0; pointer-events: none }
  body.is-revealing{ overflow: auto; height: auto }
  .hero__content > *, .hero__scroll{ opacity: 1 !important; transform: none !important }
}
