/* ==========================================================================
   LUMA Coffee — stylesheet
   Editorial, restrained, Mediterranean-minimal design system.
   ========================================================================== */

:root{
  /* --- color tokens ------------------------------------------------- */
  --ivory:       #F5F1E8;
  --sand:        #E7DDCB;
  --sand-deep:   #D8C9AE;
  --espresso:    #2A2119;
  --espresso-70: rgba(42,33,25,.7);
  --espresso-45: rgba(42,33,25,.45);
  --espresso-15: rgba(42,33,25,.15);
  --espresso-08: rgba(42,33,25,.08);
  --terracotta:  #A85C3E;
  --terracotta-dim: #8C4B32;
  --oak:         #9C7B52;
  --steel:       #6E6C63;
  --moss:        #5F6B4F;
  --cream-panel: #FBF8F2;
  --line:        rgba(42,33,25,.14);
  --line-soft:   rgba(42,33,25,.08);

  /* --- type ------------------------------------------------------- */
  --f-display: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --f-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --f-eyebrow: "Inter", sans-serif;

  /* --- rhythm ------------------------------------------------------- */
  --edge: clamp(20px, 5.5vw, 72px);
  --radius: 2px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; }
h1,h2,h3,h4{ margin: 0; font-family: var(--f-display); font-weight: 500; letter-spacing: -0.01em; }
p{ margin: 0; }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; cursor: pointer; }

.container{ max-width: 1320px; margin: 0 auto; padding-left: var(--edge); padding-right: var(--edge); }

/* visually hidden but accessible */
.visually-hidden{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--espresso);
  color: var(--ivory);
  padding: 14px 20px;
  z-index: 999;
  font-size: 14px;
  letter-spacing: .04em;
}
.skip-link:focus{ left: 12px; top: 12px; }

:focus-visible{
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

/* --- eyebrow / label style ------------------------------------------ */
.eyebrow{
  font-family: var(--f-eyebrow);
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terracotta-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled{
  background: rgba(245,241,232,.92);
  backdrop-filter: blur(10px);
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom-color: var(--line-soft);
}

.brand-mark{
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: .06em;
  font-weight: 600;
  text-decoration: none;
  color: var(--espresso);
}
.site-header.is-scrolled .brand-mark,
.hero-nav-fallback{ color: var(--espresso); }

.site-header:not(.is-scrolled) .brand-mark,
.site-header:not(.is-scrolled) .nav-link,
.site-header:not(.is-scrolled) .nav-cta{
  color: var(--ivory);
}

.main-nav{
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links{
  display: flex;
  gap: 34px;
}
.nav-link{
  text-decoration: none;
  font-size: 14.5px;
  letter-spacing: .02em;
  color: var(--espresso);
  position: relative;
  padding: 4px 0;
}
.nav-link::after{
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right .28s ease;
}
.nav-link:hover::after, .nav-link:focus-visible::after{ right: 0; }

.nav-cta{
  border: 1px solid currentColor;
  padding: 10px 20px;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--espresso);
  transition: background .25s ease, color .25s ease;
  white-space: nowrap;
}
.site-header:not(.is-scrolled) .nav-cta:hover{ background: var(--ivory); color: var(--espresso); }
.site-header.is-scrolled .nav-cta:hover{ background: var(--espresso); color: var(--ivory); }

.nav-toggle{
  display: none;
  background: none;
  border: none;
  width: 30px; height: 22px;
  position: relative;
  padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}
.nav-toggle span{ top: 10px; }
.nav-toggle span::before{ top: -8px; }
.nav-toggle span::after{ top: 8px; }
.nav-toggle[aria-expanded="true"] span{ background: transparent; }
.nav-toggle[aria-expanded="true"] span::before{ top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after{ top: 0; transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero{
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--ivory);
  overflow: hidden;
}
.hero-media{
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-media img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero-media::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,15,10,.42) 0%, rgba(20,15,10,.18) 32%, rgba(20,15,10,.10) 55%, rgba(20,15,10,.62) 100%);
}
.hero-content{
  position: relative;
  z-index: 1;
  padding: 0 var(--edge) 12vh;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  width: 100%;
}
.hero-place{
  margin: 0 0 18px;
}
.hero-title{
  font-size: clamp(64px, 13vw, 168px);
  line-height: .86;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}
.hero-tagline{
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.6vw, 30px);
  max-width: 20ch;
  color: rgba(245,241,232,.94);
}
.hero-meta{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 22px;
  text-align: right;
}
.hero-meta .location{
  font-size: 13.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245,241,232,.85);
}
.hero-actions{
  display: flex;
  gap: 14px;
}
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid currentColor;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--ivory);
  color: var(--espresso);
  border-color: var(--ivory);
}
.btn-primary:hover{ background: transparent; color: var(--ivory); }
.btn-ghost{
  color: var(--ivory);
  border-color: rgba(245,241,232,.55);
}
.btn-ghost:hover{ background: rgba(245,241,232,.12); border-color: var(--ivory); }
.btn-dark{
  color: var(--espresso);
  border-color: var(--espresso);
}
.btn-dark:hover{ background: var(--espresso); color: var(--ivory); }

.scroll-cue{
  position: absolute;
  bottom: 26px; left: var(--edge);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(245,241,232,.8);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.scroll-cue .line{
  width: 1px; height: 34px;
  background: rgba(245,241,232,.55);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after{
  content: "";
  position: absolute;
  top: -100%; left: 0; right: 0; height: 100%;
  background: var(--ivory);
  animation: scrollcue 2.2s ease-in-out infinite;
}
@keyframes scrollcue{
  0%{ top: -100%; }
  60%{ top: 100%; }
  100%{ top: 100%; }
}
@media (prefers-reduced-motion: reduce){ .scroll-cue .line::after{ animation: none; top: 0; } }

/* ==========================================================================
   Section scaffolding
   ========================================================================== */
section{ position: relative; }
.section-pad{ padding: clamp(84px, 12vw, 160px) 0; }
.section-pad-sm{ padding: clamp(56px, 8vw, 96px) 0; }

.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Intro
   ========================================================================== */
.intro{ background: var(--ivory); }
.intro-grid{
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: 60px;
  align-items: start;
}
.intro-head{ position: sticky; top: 120px; }
.intro-heading{
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.08;
  max-width: 11ch;
}
.intro-body{
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}
.intro-lede{
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.55;
  color: var(--espresso-70);
  max-width: 46ch;
}
.founders-line{
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--espresso-45);
}
.founders-line strong{ color: var(--espresso); font-weight: 600; }

/* ==========================================================================
   Menu section
   ========================================================================== */
.menu{ background: var(--cream-panel); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.menu-intro{
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: clamp(48px, 6vw, 84px);
}
.menu-intro h2{
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
}
.menu-note{
  max-width: 30ch;
  font-size: 14.5px;
  color: var(--espresso-45);
  text-align: right;
}

.menu-category{
  display: grid;
  grid-template-columns: .84fr 1fr;
  gap: 56px;
  padding: clamp(48px, 6vw, 76px) 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.menu-category:last-child{ border-bottom: 1px solid var(--line); }
.menu-category.reverse{ grid-template-columns: 1fr .84fr; }
.menu-category.reverse .menu-figure{ order: 2; }

.menu-figure{ position: relative; overflow: hidden; }
.menu-figure img{
  width: 100%; height: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.menu-figure:hover img{ transform: scale(1.035); }

.menu-cat-label{ margin-bottom: 22px; }
.menu-cat-title{
  font-size: clamp(26px, 2.6vw, 34px);
  margin-bottom: 26px;
}
.menu-list{ display: flex; flex-direction: column; }
.menu-item{
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 13px 0;
  border-bottom: 1px dotted var(--espresso-15);
}
.menu-item:first-child{ padding-top: 0; }
.menu-item-name{ font-size: 16.5px; white-space: nowrap; }
.menu-item-fill{
  flex: 1;
  border-bottom: 1px dotted var(--espresso-15);
  transform: translateY(-5px);
}
.menu-item-price{
  font-size: 15px;
  color: var(--espresso-70);
  font-variant-numeric: tabular-nums;
}
.menu-cat-note{
  margin-top: 22px;
  font-size: 13.5px;
  font-style: italic;
  color: var(--moss);
}

/* ==========================================================================
   Story / editorial split
   ========================================================================== */
.story{ background: var(--ivory); }
.story-split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
}
.story-media{ position: relative; height: 100%; min-height: 480px; }
.story-media img{ width: 100%; height: 100%; object-fit: cover; }
.story-text{ padding: 0 var(--edge) 0 clamp(40px, 6vw, 96px); }
.story .story-media{ margin-left: calc(var(--edge) * -1); }

.section-heading{
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.12;
  max-width: 14ch;
  margin-bottom: 26px;
}
.section-copy{
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--espresso-70);
  max-width: 46ch;
  margin-bottom: 22px;
}

.pull-quote{
  margin-top: 8px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.pull-quote p{
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.4;
  color: var(--espresso);
  max-width: 20ch;
}

/* full bleed quote band */
.quote-band{
  background: var(--espresso);
  color: var(--ivory);
}
.quote-band .container{
  padding-top: clamp(70px, 9vw, 120px);
  padding-bottom: clamp(70px, 9vw, 120px);
}
.quote-band blockquote{
  margin: 0;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4.4vw, 54px);
  line-height: 1.25;
  max-width: 18ch;
}
.quote-band cite{
  display: block;
  margin-top: 30px;
  font-style: normal;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245,241,232,.6);
}

/* ==========================================================================
   Coffee philosophy
   ========================================================================== */
.coffee-sec{ background: var(--ivory); }
.coffee-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.coffee-media{ overflow: hidden; }
.coffee-media img{ width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.home-block{
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.home-block h3{ font-size: 20px; margin-bottom: 10px; }
.home-block p{ font-size: 15.5px; color: var(--espresso-70); max-width: 42ch; }

/* ==========================================================================
   Atmosphere / lifestyle
   ========================================================================== */
.atmosphere{
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  overflow: hidden;
}
.atmosphere-media{ position: absolute; inset: 0; }
.atmosphere-media img{ width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.atmosphere-media::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,15,10,.72) 0%, rgba(20,15,10,.12) 55%, rgba(20,15,10,.05) 100%);
}
.atmosphere-content{
  position: relative;
  z-index: 1;
  padding: clamp(48px, 8vw, 96px) var(--edge);
  max-width: 620px;
}
.atmosphere-content .eyebrow{ color: rgba(245,241,232,.75); }
.atmosphere-content h2{
  font-size: clamp(32px, 4.4vw, 52px);
  margin: 18px 0 18px;
  line-height: 1.1;
}
.atmosphere-content p{
  font-size: 17px;
  color: rgba(245,241,232,.88);
  max-width: 42ch;
  line-height: 1.7;
}

/* ==========================================================================
   Visit
   ========================================================================== */
.visit{ background: var(--sand); }
.visit-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.visit-media{ overflow: hidden; }
.visit-media img{ width: 100%; aspect-ratio: 5/6; object-fit: cover; }
.visit-info dl{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 22px;
  margin: 30px 0 34px;
}
.visit-info dt{
  font-size: 12.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--espresso-45);
  padding-top: 3px;
}
.visit-info dd{
  margin: 0;
  font-size: 16px;
  color: var(--espresso);
}
.hours-table{ width: 100%; border-collapse: collapse; margin-bottom: 8px; }
.hours-table td{ padding: 6px 0; font-size: 15.5px; border-bottom: 1px dotted var(--espresso-15); }
.hours-table td:last-child{ text-align: right; color: var(--espresso-70); font-variant-numeric: tabular-nums; }
.hours-table tr:last-child td{ border-bottom: none; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact{ background: var(--ivory); }
.contact-single{ max-width: 640px; }
.contact-list{ margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.contact-list a{
  text-decoration: none;
  font-size: 17px;
  display: inline-flex;
  gap: 12px;
  align-items: baseline;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  width: fit-content;
}
.contact-list a span.k{
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--espresso-45);
  width: 74px;
  flex-shrink: 0;
}

/* ==========================================================================
   Closing image
   ========================================================================== */
.closing{
  position: relative;
  height: 62vh;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  overflow: hidden;
}
.closing-tall{
  height: 124vh;
  min-height: 840px;
}
.closing img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closing::after{
  content: "";
  position: absolute; inset: 0;
  background: rgba(20,15,10,.34);
}
.closing p{
  position: relative;
  z-index: 1;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(30px, 5vw, 58px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  background: var(--espresso);
  color: rgba(245,241,232,.82);
  padding: clamp(56px, 7vw, 88px) 0 28px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(245,241,232,.14);
}
.footer-brand .brand-mark{ color: var(--ivory); }
.footer-tag{ margin-top: 14px; font-size: 14px; color: rgba(245,241,232,.55); }
.footer-col h4{
  font-family: var(--f-eyebrow);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245,241,232,.5);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col address{ font-style: normal; font-size: 15px; line-height: 1.7; }
.footer-col ul{ display: flex; flex-direction: column; gap: 10px; }
.footer-col a{
  text-decoration: none;
  font-size: 15px;
  color: rgba(245,241,232,.82);
}
.footer-col a:hover{ color: var(--ivory); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(245,241,232,.45);
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px){
  .intro-grid{ grid-template-columns: 1fr; gap: 30px; }
  .intro-head{ position: static; }
  .menu-category, .menu-category.reverse{ grid-template-columns: 1fr; gap: 28px; }
  .menu-category.reverse .menu-figure{ order: 0; }
  .menu-figure img{ aspect-ratio: 16/10; }
  .story-split{ grid-template-columns: 1fr; }
  .story-media{ margin-left: 0 !important; min-height: 340px; order: -1; }
  .story-text{ padding: clamp(40px,7vw,64px) var(--edge) 0; }
  .coffee-grid{ grid-template-columns: 1fr; }
  .coffee-media{ order: -1; }
  .visit-grid{ grid-template-columns: 1fr; }
  .visit-media{ order: -1; }
  .contact-grid{ grid-template-columns: 1fr; gap: 50px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px){
  body{ font-size: 16px; }
  .main-nav{ position: fixed; inset: 0; top: 0; z-index: 90; background: var(--ivory); flex-direction: column; justify-content: center; align-items: center; gap: 44px; transform: translateY(-100%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
  .main-nav.is-open{ transform: translateY(0); }
  .nav-links{ flex-direction: column; align-items: center; gap: 30px; }
  .nav-link, .site-header .nav-link{ color: var(--espresso) !important; font-size: 22px; font-family: var(--f-display); }
  .nav-cta{ display: none; }
  .nav-toggle{ display: block; position: relative; z-index: 95; }
  .site-header:not(.is-scrolled) .nav-toggle{ color: var(--ivory); }
  .nav-toggle[aria-expanded="true"]{ color: var(--espresso); mix-blend-mode: normal; }

  .hero-content{ grid-template-columns: 1fr; }
  .hero-meta{ align-items: flex-start; text-align: left; }
  .hero-actions{ flex-wrap: wrap; }
  .btn{ padding: 15px 20px; }

  .menu-intro{ flex-direction: column; align-items: flex-start; gap: 14px; }
  .menu-note{ text-align: left; }

  .footer-grid{ grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
  .atmosphere{ min-height: 64vh; }
  .closing-tall{ height: 90vh; min-height: 620px; }
}

@media (max-width: 480px){
  .hero-title{ font-size: clamp(52px, 17vw, 84px); }
  .section-heading{ max-width: none; }
}

/* ==========================================================================
   Cookie consent banner (EU / GDPR style)
   ========================================================================== */
.cookie-banner{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  background: var(--cream-panel);
  border-top: 1px solid var(--line);
  box-shadow: 0 -12px 40px rgba(42,33,25,.12);
  transform: translateY(100%);
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.cookie-banner.is-visible{ transform: translateY(0); }
.cookie-banner-inner{
  max-width: 1080px;
  margin: 0 auto;
  padding: 26px var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cookie-text{
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--espresso-70);
  max-width: 640px;
  margin: 0;
}
.cookie-text a{ color: var(--espresso); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions{ display: flex; gap: 12px; flex-shrink: 0; }
.btn-ghost-dark{
  color: var(--espresso);
  border-color: var(--espresso-15);
  background: transparent;
}
.btn-ghost-dark:hover{ border-color: var(--espresso); }

@media (max-width: 640px){
  .cookie-banner-inner{ flex-direction: column; align-items: stretch; gap: 18px; padding: 24px var(--edge); }
  .cookie-actions{ width: 100%; }
  .cookie-actions .btn{ flex: 1; }
}

/* footer legal links (Cookie Policy / Cookie Settings) */
.footer-legal-links{
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.footer-legal-links a{
  font-size: 13px;
  color: rgba(245,241,232,.45);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-legal-links a:hover{ color: rgba(245,241,232,.82); }
.footer-link-btn{
  background: none;
  border: none;
  padding: 0;
  font-family: var(--f-body);
  font-size: 13px;
  color: rgba(245,241,232,.45);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.footer-link-btn:hover{ color: rgba(245,241,232,.82); }

@media (max-width: 780px){
  .footer-bottom{ gap: 14px; }
  .footer-legal-links{ gap: 16px; }
}

/* ==========================================================================
   Legal / policy pages
   ========================================================================== */
.legal-hero{
  padding: clamp(150px, 20vw, 220px) 0 clamp(56px, 7vw, 88px);
  background: var(--ivory);
  border-bottom: 1px solid var(--line-soft);
}
.legal-hero .eyebrow{ margin-bottom: 22px; }
.legal-hero h1{
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  max-width: 16ch;
}
.legal-hero .updated{
  margin-top: 20px;
  font-size: 14.5px;
  color: var(--espresso-45);
}

.legal-body{ background: var(--ivory); }
.legal-grid{
  display: grid;
  grid-template-columns: 0.62fr 1fr;
  gap: 60px;
  align-items: start;
}
.legal-toc{ position: sticky; top: 130px; display: flex; flex-direction: column; gap: 12px; }
.legal-toc a{
  text-decoration: none;
  font-size: 14.5px;
  color: var(--espresso-45);
  padding: 6px 0;
  border-left: 2px solid transparent;
  padding-left: 16px;
}
.legal-toc a:hover{ color: var(--espresso); border-left-color: var(--terracotta); }

.legal-content section{ padding-bottom: 52px; margin-bottom: 52px; border-bottom: 1px solid var(--line-soft); }
.legal-content section:last-child{ border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.legal-content h2{
  font-size: clamp(24px, 2.6vw, 30px);
  margin-bottom: 18px;
  scroll-margin-top: 120px;
}
.legal-content h3{
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--terracotta-dim);
  margin: 28px 0 10px;
}
.legal-content p{
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--espresso-70);
  max-width: 62ch;
  margin-bottom: 14px;
}
.legal-content ul{ margin: 0 0 14px; padding-left: 0; display: flex; flex-direction: column; gap: 10px; }
.legal-content li{
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--espresso-70);
  padding-left: 22px;
  position: relative;
  max-width: 60ch;
}
.legal-content li::before{
  content: "";
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
}
.legal-table{
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 18px;
  font-size: 15px;
}
.legal-table th, .legal-table td{
  text-align: left;
  padding: 12px 16px 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.legal-table th{
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--espresso-45);
}
.legal-table td{ color: var(--espresso-70); }
.legal-note{
  background: var(--cream-panel);
  border: 1px solid var(--line);
  padding: 22px 26px;
  font-size: 15px;
  color: var(--espresso-70);
  margin: 6px 0 18px;
}
.legal-content a{ color: var(--espresso); text-decoration: underline; text-underline-offset: 3px; }
.settings-link-inline{
  background: none; border: none; padding: 0; font: inherit;
  color: var(--espresso); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

@media (max-width: 900px){
  .legal-grid{ grid-template-columns: 1fr; }
  .legal-toc{ position: static; flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
}

/* ==========================================================================
   Legal pages (Cookie Policy, etc.) — no dark photo hero behind the header,
   so the header must render in its readable/dark state from the start,
   regardless of scroll position.
   ========================================================================== */
.page-legal .site-header{
  background: rgba(245,241,232,.92);
  backdrop-filter: blur(10px);
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.page-legal .brand-mark,
.page-legal .nav-link,
.page-legal .nav-cta{
  color: var(--espresso) !important;
}
.page-legal .nav-toggle{ color: var(--espresso); }
