/*
Theme Name: L'Qahwa
Theme URI: https://example.com/
Author: L'Qahwa
Description: The L'Qahwa website — a Moroccan specialty coffee house. Warm ivory, dark olive and natural stone; a native HTML menu driven by a Menu Item post type; contact, hours and homepage copy editable in the Customizer. No page builder, no required plugins.
Version: 1.2.1
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lqahwa
Tags: one-column, custom-menu, custom-logo, editor-style, translation-ready
*/

/* ══════════════════════════════════════════════════════════════════
   Everything below is the L'Qahwa design system. Colours live as CSS
   custom properties on :root — change one value there and it updates
   everywhere on the site. You should not need to touch anything else.
   ══════════════════════════════════════════════════════════════════ */

/* The published page is wrapped in <html>/<body> by WordPress, so the
   reset the artifact relied on is restated here. */
html{-webkit-text-size-adjust:100%}
/* ── L'QAHWA — brand tokens ─────────────────────────────────────────
   The identity is fixed: warm ivory ground, dark olive, natural stone.
   This page commits to that single palette in every viewer theme.     */
:root{
  color-scheme: light;

  --olive:#344129;
  --forest:#1D271D;
  --ivory:#F5F1E7;
  --cream:#FAF8F2;
  --stone:#D8CEBD;
  --beige:#C4B39A;
  --charcoal:#20221D;
  --white:#FFFFFF;

  --ink:var(--charcoal);
  --ink-soft:#585B4F;
  --ink-on-dark:#EDE8DA;
  --ink-on-dark-soft:#B6B8A5;
  --rule:var(--stone);

  --serif:"Cormorant Garamond","Iowan Old Style",Georgia,"Times New Roman",serif;
  --sans:"Manrope","Helvetica Neue",Helvetica,Arial,sans-serif;

  --wrap:1240px;
  --gutter:clamp(20px,5vw,48px);
  --sect:clamp(68px,10vw,132px);

  --label:.72rem;
  --track:.18em;
}

*,*::before,*::after{box-sizing:border-box}

body{
  margin:0;
  background:var(--ivory);
  color:var(--ink);
  font-family:var(--sans);
  font-size:clamp(1rem,.96rem + .18vw,1.0625rem);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

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

h1,h2,h3{margin:0;font-family:var(--serif);font-weight:500;line-height:1.06;text-wrap:balance;letter-spacing:-.005em}
p{margin:0}

::selection{background:var(--olive);color:var(--ivory)}

:focus-visible{outline:2px solid var(--olive);outline-offset:3px;border-radius:2px}
.on-dark :focus-visible{outline-color:var(--beige)}

.skip{position:absolute;left:-9999px;top:0;z-index:200;background:var(--olive);color:var(--ivory);padding:12px 18px;font-size:var(--label);letter-spacing:var(--track);text-transform:uppercase;text-decoration:none}
.skip:focus{left:12px;top:12px}

/* ── shared pieces ─────────────────────────────────────────────── */
.wrap{width:100%;max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gutter)}
/* Anchored sections clear the fixed header when jumped to. */
section[id]{scroll-margin-top:calc(92px + env(safe-area-inset-top,0px))}
.section{padding-block:var(--sect)}

.label{
  font-size:var(--label);font-weight:600;letter-spacing:var(--track);
  text-transform:uppercase;color:var(--olive);margin:0;
}
.label--muted{color:var(--ink-soft)}
.label--light{color:var(--beige)}

/* the short olive dash under the wordmark, lifted from the signage */
.dash{display:block;width:34px;height:1.5px;background:var(--olive);border:0;margin:0}
.dash--light{background:var(--beige)}

.display{font-size:clamp(2.1rem,1.35rem + 3.4vw,4rem)}
.display--lg{font-size:clamp(2.6rem,1.4rem + 5.2vw,5.4rem)}
.lead{max-width:46ch;color:var(--ink-soft);font-size:clamp(1.02rem,.98rem + .25vw,1.15rem)}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.6em;
  font-family:var(--sans);font-size:var(--label);font-weight:600;
  letter-spacing:var(--track);text-transform:uppercase;text-decoration:none;
  padding:15px 26px;border-radius:2px;border:1px solid var(--olive);
  background:var(--olive);color:var(--ivory);cursor:pointer;
  transition:background .25s ease,color .25s ease,border-color .25s ease;
}
.btn:hover{background:var(--forest);border-color:var(--forest)}
.btn--ghost{background:transparent;color:var(--olive)}
.btn--ghost:hover{background:var(--olive);color:var(--ivory)}
.btn--onimage{background:rgba(29,39,29,.82);border-color:rgba(245,241,231,.5);color:var(--ivory);backdrop-filter:blur(3px)}
.btn--onimage:hover{background:var(--forest);border-color:var(--forest)}
.btn--onimage.btn--ghost{background:transparent;border-color:rgba(245,241,231,.65);color:var(--ivory)}
.btn--onimage.btn--ghost:hover{background:rgba(245,241,231,.14)}
.btn--light{background:var(--ivory);border-color:var(--ivory);color:var(--olive)}
.btn--light:hover{background:var(--beige);border-color:var(--beige);color:var(--forest)}

.btn-row{display:flex;flex-wrap:wrap;gap:12px}

.figure{margin:0;overflow:hidden;background:var(--stone)}
.figure img{width:100%;height:100%;object-fit:cover}

/* ── header ────────────────────────────────────────────────────── */
.header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  padding-top:env(safe-area-inset-top,0px);
  transition:background .3s ease,border-color .3s ease;
  border-bottom:1px solid transparent;
}
.header.is-solid{background:rgba(245,241,231,.94);backdrop-filter:blur(10px);border-bottom-color:var(--rule)}

.header__bar{
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  height:76px;
}
.brand{
  font-family:var(--serif);font-size:1.6rem;font-weight:500;letter-spacing:.005em;
  text-decoration:none;color:var(--ivory);line-height:1;
  transition:color .3s ease;
}
.header.is-solid .brand{color:var(--olive)}

.nav{display:none;align-items:center;gap:30px}
.nav a{
  font-size:var(--label);font-weight:500;letter-spacing:.12em;text-transform:uppercase;
  text-decoration:none;color:rgba(245,241,231,.9);padding-block:6px;
  border-bottom:1px solid transparent;transition:color .25s ease,border-color .25s ease;
}
.nav a:hover{border-bottom-color:currentColor}
.header.is-solid .nav a{color:var(--ink)}
.header.is-solid .nav a:hover{color:var(--olive)}

.header .btn{padding:12px 20px;display:none}

.burger{
  display:inline-flex;flex-direction:column;justify-content:center;gap:5px;
  width:44px;height:44px;padding:0 10px;margin-right:-10px;
  background:none;border:0;cursor:pointer;
}
.burger span{display:block;height:1.5px;background:var(--ivory);transition:background .3s ease}
.header.is-solid .burger span{background:var(--olive)}

/* mobile menu panel */
.sheet{
  position:fixed;inset:0;z-index:110;background:var(--forest);color:var(--ink-on-dark);
  padding:calc(env(safe-area-inset-top,0px) + 22px) var(--gutter) calc(env(safe-area-inset-bottom,0px) + 32px);
  display:flex;flex-direction:column;
}
.sheet[hidden]{display:none!important}
.sheet__top{display:flex;align-items:center;justify-content:space-between;height:54px}
.sheet__close{background:none;border:0;color:var(--ivory);font-size:1.9rem;line-height:1;cursor:pointer;padding:6px 10px;margin-right:-10px}
.sheet__nav{display:flex;flex-direction:column;gap:2px;margin-top:8vh}
.sheet__nav a{
  font-family:var(--serif);font-size:2.1rem;text-decoration:none;color:var(--ivory);
  padding-block:10px;border-bottom:1px solid rgba(216,206,189,.18);
}
.sheet__foot{margin-top:auto;display:flex;flex-direction:column;gap:18px}
.sheet__foot .btn{width:100%}

/* ── hero ──────────────────────────────────────────────────────── */
.hero{position:relative;min-height:min(86vh,780px);display:flex;align-items:flex-end;isolation:isolate}
.hero__img{position:absolute;inset:0;z-index:-2}
.hero__img img{width:100%;height:100%;object-fit:cover;object-position:50% 52%}
.hero::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(to bottom,rgba(29,39,29,.60) 0%,rgba(29,39,29,.22) 26%,rgba(29,39,29,.24) 46%,rgba(29,39,29,.66) 74%,rgba(29,39,29,.86) 100%);
}
.hero__inner{padding-bottom:clamp(44px,7vw,84px);padding-top:150px;color:var(--ivory);animation:rise .9s ease-out both;text-shadow:0 1px 26px rgba(29,39,29,.45)}
.hero__inner .label{color:var(--ivory);margin-bottom:18px}
.hero h1{font-size:clamp(3.4rem,1.6rem + 8vw,7.2rem);color:var(--ivory);font-weight:500}
.hero__sub{font-family:var(--serif);font-style:italic;font-size:clamp(1.25rem,1rem + 1vw,1.75rem);color:rgba(245,241,231,.92);margin-top:10px}
.hero .btn-row{margin-top:clamp(26px,4vw,38px)}

@keyframes rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}

/* ── brand intro ───────────────────────────────────────────────── */
.intro{display:grid;gap:clamp(34px,5vw,64px);align-items:center}
.intro__text{display:flex;flex-direction:column;gap:20px;align-items:flex-start}
.intro__text h2{max-width:14ch}
.intro .figure{aspect-ratio:4/5}

/* ── three principles ──────────────────────────────────────────── */
.principles{background:var(--cream);border-block:1px solid var(--rule)}
.principles__grid{display:grid;gap:clamp(30px,4vw,46px)}
.principle{display:flex;flex-direction:column;gap:14px;padding-top:22px;border-top:1px solid var(--rule)}
.principle h3{font-family:var(--sans);font-size:var(--label);font-weight:600;letter-spacing:var(--track);text-transform:uppercase;color:var(--olive)}
.principle p{color:var(--ink-soft);max-width:34ch}

/* ── coffee ────────────────────────────────────────────────────── */
.split{display:grid;gap:clamp(34px,5vw,70px);align-items:center}
.split__text{display:flex;flex-direction:column;gap:20px;align-items:flex-start}
.split .figure{aspect-ratio:1/1}

/* ── the house blends ──────────────────────────────────────────── */
.blends{background:var(--cream);border-block:1px solid var(--rule)}
.blends__head{display:flex;flex-direction:column;gap:18px;align-items:flex-start;margin-bottom:clamp(40px,5vw,66px)}
.blends__grid{display:grid;grid-template-columns:1fr;gap:clamp(34px,4vw,48px)}

.blend{display:flex;flex-direction:column;gap:24px}
.blend__shot{margin:0;overflow:hidden;background:var(--ivory);aspect-ratio:2/3;max-width:100%}
.blend__shot img{width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.2,.6,.2,1)}
.blend:hover .blend__shot img{transform:scale(1.03)}

.blend__body{display:flex;flex-direction:column;align-items:flex-start;gap:8px}
/* The Arabic sits one size under the name, as it does on the bag. */
.blend__arabic{font-family:"Amiri",var(--serif);font-size:1.15rem;line-height:1;color:var(--beige)}
.blend__name{font-family:var(--serif);font-weight:500;font-size:clamp(2rem,1.6rem + 1vw,2.5rem);line-height:1;color:var(--olive)}
.blend__notes{
  font-size:.72rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;
  color:var(--ink-soft);margin-top:2px;
}
.blend__facts{margin:14px 0 0;width:100%;display:flex;flex-direction:column}
.blend__facts > div{
  display:flex;align-items:baseline;justify-content:space-between;gap:16px;
  padding-block:10px;border-top:1px solid var(--rule);
}
.blend__facts > div:last-child{border-bottom:1px solid var(--rule)}
.blend__facts dt{
  font-size:.68rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
  color:var(--ink-soft);flex:none;
}
.blend__facts dd{margin:0;font-size:.92rem;text-align:right;color:var(--ink)}

.blends__foot{
  margin-top:clamp(36px,4vw,52px);font-size:.72rem;font-weight:500;
  letter-spacing:.16em;text-transform:uppercase;color:var(--ink-soft);
}

/* ── coffee & more grid ────────────────────────────────────────── */
.more__head{display:flex;flex-direction:column;gap:18px;align-items:flex-start;margin-bottom:clamp(34px,5vw,54px)}
.tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(14px,2.2vw,26px)}
.tile{text-decoration:none;display:flex;flex-direction:column;gap:12px}
.tile .figure{aspect-ratio:3/4}
.tile img{transition:transform .6s cubic-bezier(.2,.6,.2,1)}
.tile:hover img{transform:scale(1.04)}
.tile__name{font-family:var(--serif);font-size:1.35rem}
.tile__meta{font-size:.8rem;letter-spacing:.06em;color:var(--ink-soft);margin-top:-8px}

/* ── food / atmosphere bands ───────────────────────────────────── */
.band{position:relative;isolation:isolate;display:flex;align-items:flex-end;min-height:min(72vh,660px)}
.band__img{position:absolute;inset:0;z-index:-2}
.band__img img{width:100%;height:100%;object-fit:cover}
.band::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,rgba(29,39,29,.90) 0%,rgba(29,39,29,.76) 24%,rgba(29,39,29,.40) 52%,rgba(29,39,29,.10) 100%)}
.band__inner{color:var(--ivory);padding-block:clamp(40px,6vw,72px);display:flex;flex-direction:column;gap:16px;align-items:flex-start;text-shadow:0 1px 22px rgba(29,39,29,.4)}
.band__inner h2{color:var(--ivory);max-width:16ch}
.band__inner p{color:rgba(245,241,231,.88);max-width:44ch}

/* ── morocco ───────────────────────────────────────────────────── */
.home-sect{background:var(--forest);color:var(--ink-on-dark)}
.home-sect h2{color:var(--ivory)}
.home__grid{display:grid;gap:clamp(34px,5vw,64px);align-items:center}
.home__text{display:flex;flex-direction:column;gap:20px;align-items:flex-start}
.home__text p{color:var(--ink-on-dark-soft);max-width:44ch}
/* Scoped to .morocco, never .home: WordPress puts a "home" class on <body>
   for the front page, so ".home .figure" matched every figure on the site. */
.morocco .figure{aspect-ratio:16/9;background:var(--olive)}

/* ── menu ──────────────────────────────────────────────────────── */
.menu{background:var(--cream);border-block:1px solid var(--rule)}
.menu__head{display:flex;flex-direction:column;gap:16px;align-items:flex-start;margin-bottom:clamp(26px,3.5vw,38px)}
.menu__note{font-size:.82rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-soft)}

/* The category bar stays under the header while the menu scrolls, so on a
   phone any section is one tap away from anywhere in the list. */
.jump{
  display:flex;gap:8px;overflow-x:auto;padding-block:14px;margin-bottom:clamp(30px,4vw,48px);
  border-block:1px solid var(--rule);scrollbar-width:none;-webkit-overflow-scrolling:touch;
  position:sticky;top:calc(76px + env(safe-area-inset-top,0px));z-index:20;
  background:var(--cream);
}
.jump::-webkit-scrollbar{display:none}
.jump a{
  flex:0 0 auto;text-decoration:none;font-size:var(--label);font-weight:600;
  letter-spacing:.12em;text-transform:uppercase;color:var(--olive);
  padding:9px 16px;border:1px solid var(--rule);border-radius:2px;background:var(--ivory);
  transition:background .2s ease,color .2s ease,border-color .2s ease;
}
.jump a:hover{background:var(--olive);color:var(--ivory);border-color:var(--olive)}

.course{padding-top:clamp(40px,5vw,64px);scroll-margin-top:150px}
.menu .course{scroll-margin-top:150px}  /* beats section[id]: also clears the sticky category bar */
.course + .course{border-top:1px solid var(--rule);margin-top:clamp(40px,5vw,64px)}
.course__grid{display:grid;gap:clamp(28px,4vw,56px);align-items:start}
.course__title{font-size:clamp(1.9rem,1.4rem + 1.8vw,2.6rem);margin-bottom:26px}
.course .figure{aspect-ratio:3/4;max-height:560px}

/* The line under each printed page — "Sélectionnées avec exigence…" */
.course__foot{
  margin-top:30px;padding-top:16px;position:relative;
  font-size:.7rem;font-weight:500;letter-spacing:.14em;text-transform:uppercase;
  line-height:1.9;color:var(--ink-soft);text-wrap:pretty;
}
.course__foot::before{content:"";position:absolute;top:0;left:0;width:26px;height:1.5px;background:var(--olive)}

.group + .group{margin-top:34px}
.group__name{
  font-size:var(--label);font-weight:600;letter-spacing:var(--track);text-transform:uppercase;
  color:var(--ink-soft);margin-bottom:14px;
}
.items{list-style:none;margin:0;padding:0}
.item{
  display:flex;align-items:center;gap:16px;
  padding-block:10px;border-bottom:1px solid rgba(216,206,189,.55);
}
.item:last-child{border-bottom:0}
.item__body{flex:1;min-width:0}
.item__line{display:flex;align-items:baseline;gap:10px}
.item__name{font-size:1.02rem}
.item__dots{flex:1;border-bottom:1px dotted var(--beige);transform:translateY(-4px);min-width:16px}
.item__price{font-variant-numeric:tabular-nums;font-weight:600;font-size:.98rem;color:var(--olive)}
.item__desc{margin-top:3px;font-size:.86rem;line-height:1.5;color:var(--ink-soft);max-width:42ch}

/* The cut-outs from the printed menu sit on the cream with no frame. */
.item__thumb{
  flex:none;width:76px;height:58px;object-fit:contain;object-position:center;
  filter:drop-shadow(0 6px 8px rgba(32,34,29,.10));
}
.item.has-thumb{padding-block:12px}

.feature{
  margin-top:30px;padding:24px;background:var(--ivory);border:1px solid var(--rule);
  display:flex;align-items:center;gap:20px;
}
.feature__text{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}
.feature__row{display:flex;align-items:baseline;gap:10px}
.feature h4{margin:0;font-size:var(--label);font-weight:600;letter-spacing:var(--track);text-transform:uppercase;color:var(--olive)}
.feature p{color:var(--ink-soft);font-size:.97rem}
.feature .item__thumb{width:120px;height:76px}

@media (max-width:420px){
  .item__thumb{width:60px;height:48px}
  .item{gap:12px}
  .feature{flex-direction:column-reverse;align-items:flex-start}
}

/* ── loyalty ───────────────────────────────────────────────────── */
.loyalty__grid{display:grid;gap:clamp(30px,4vw,58px);align-items:center}
.loyalty__text{display:flex;flex-direction:column;gap:18px;align-items:flex-start}
.card{
  background:var(--olive);color:var(--ivory);padding:clamp(26px,4vw,38px);
  display:flex;flex-direction:column;gap:22px;border-radius:2px;
}
.card__head{display:flex;flex-direction:column;gap:6px}
.card__brand{font-family:var(--serif);font-size:1.75rem;line-height:1}
.card__sub{font-size:.68rem;letter-spacing:var(--track);text-transform:uppercase;color:var(--beige)}
.stamps{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.stamp{aspect-ratio:1;border:1px solid rgba(216,206,189,.45);border-radius:50%;display:grid;place-items:center;font-size:.7rem;color:var(--beige);font-variant-numeric:tabular-nums}
.stamp--free{border-color:var(--beige);background:var(--beige);color:var(--forest);font-weight:600;font-size:.58rem;letter-spacing:.08em}
.card__foot{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;border-top:1px solid rgba(216,206,189,.28);padding-top:16px}
.card__field{flex:1}
.card__field span{display:block;font-size:.6rem;letter-spacing:var(--track);text-transform:uppercase;color:var(--beige);margin-bottom:8px}
.card__line{height:1px;background:rgba(216,206,189,.45)}
.card__note{font-size:.62rem;letter-spacing:.14em;text-transform:uppercase;color:var(--beige);text-align:right;line-height:1.6}

/* ── visit ─────────────────────────────────────────────────────── */
.visit{background:var(--cream);border-top:1px solid var(--rule)}
.visit__grid{display:grid;gap:clamp(34px,5vw,64px)}
.visit__head{display:flex;flex-direction:column;gap:16px;align-items:flex-start;margin-bottom:clamp(30px,4vw,46px)}

.facts{display:flex;flex-direction:column;gap:0;margin:0}
.fact{display:grid;grid-template-columns:1fr;gap:6px;padding-block:20px;border-top:1px solid var(--rule)}
.fact:last-child{border-bottom:1px solid var(--rule)}
.fact dt{font-size:var(--label);font-weight:600;letter-spacing:var(--track);text-transform:uppercase;color:var(--ink-soft)}
.fact dd{margin:0;font-size:1.05rem}
.fact a{color:var(--olive);text-underline-offset:3px}

.tbd{
  display:inline-block;font-size:.7rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:var(--olive);background:var(--stone);padding:3px 9px;border-radius:2px;
}

.map{
  aspect-ratio:4/3;background:var(--stone);border:1px solid var(--rule);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:28px;gap:12px;
}
.map p{font-size:.9rem;color:var(--ink-soft);max-width:30ch}

.hours{list-style:none;margin:0;padding:0}
.hours li{display:flex;justify-content:space-between;gap:16px;padding-block:6px;font-variant-numeric:tabular-nums}
.hours span:last-child{color:var(--ink-soft)}

/* ── footer ────────────────────────────────────────────────────── */
.footer{background:var(--olive);color:var(--ink-on-dark);padding-block:clamp(52px,7vw,84px) 0}
.footer__grid{display:grid;gap:clamp(34px,5vw,56px)}
.footer__brand{display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.footer__name{font-family:var(--serif);font-size:2.4rem;line-height:1;color:var(--ivory)}
.footer__desc{font-size:.8rem;letter-spacing:var(--track);text-transform:uppercase;color:var(--beige)}
.footer__cols{display:grid;grid-template-columns:repeat(2,1fr);gap:32px}
.fcol h3{font-family:var(--sans);font-size:var(--label);font-weight:600;letter-spacing:var(--track);text-transform:uppercase;color:var(--beige);margin-bottom:14px}
.fcol ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.fcol a,.fcol li{color:rgba(237,232,218,.88);text-decoration:none;font-size:.95rem}
.fcol a:hover{color:var(--ivory);text-decoration:underline;text-underline-offset:3px}
.footer__base{
  margin-top:clamp(42px,6vw,64px);padding-block:22px;border-top:1px solid rgba(216,206,189,.22);
  display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:space-between;
  font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;color:var(--beige);
  padding-bottom:calc(22px + env(safe-area-inset-bottom,0px));
}

/* ── responsive ────────────────────────────────────────────────── */
@media (min-width:600px){
  .tiles{grid-template-columns:repeat(3,1fr)}
  .fact{grid-template-columns:150px 1fr;gap:20px;align-items:baseline}
}
@media (min-width:860px){
  .nav{display:flex}
  .header .btn{display:inline-flex}
  .burger{display:none}
  .intro{grid-template-columns:1fr 1fr}
  .intro--rev .intro__text{order:2}
  .principles__grid{grid-template-columns:repeat(3,1fr)}
  .split{grid-template-columns:.95fr 1.05fr}
  .split--rev .split__text{order:2}
  .tiles{grid-template-columns:repeat(3,1fr)}
  .tile .figure{aspect-ratio:4/5}
  .blends__grid{grid-template-columns:repeat(3,1fr);gap:clamp(30px,3.4vw,48px)}
  .course__grid{grid-template-columns:1.25fr .78fr}
  .course__grid--rev{grid-template-columns:.78fr 1.25fr}
  .course__grid--rev .course__body{order:2}
  .home__grid{grid-template-columns:1fr 1fr}
  .loyalty__grid{grid-template-columns:1fr 1fr}
  .visit__grid{grid-template-columns:1.1fr .9fr}
  .footer__grid{grid-template-columns:1fr 1.15fr}
  .footer__cols{grid-template-columns:repeat(3,1fr)}
}

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

/* ══════════════════════════════════════════════════════════════════
   WordPress-specific additions.
   The block above is the design system shared with the static build;
   these rules cover markup that only WordPress produces — nav menus
   output as lists, an embedded map, the sold-out state, admin bar.
   ══════════════════════════════════════════════════════════════════ */

/* wp_nav_menu() wraps links in a <ul>, so the flex row moves to the list. */
.nav__list{display:flex;align-items:center;gap:30px;list-style:none;margin:0;padding:0}
.nav ul{list-style:none;margin:0;padding:0}
.sheet__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.sheet__nav{display:block;margin-top:8vh}

/* A custom logo replaces the wordmark in the header. */
.brand--logo{display:flex;align-items:center}
.brand--logo img{max-height:42px;width:auto;height:auto}

/* Sold out: the item stays readable and indexed, but visibly unavailable. */
.item.is-sold-out .item__name,
.feature.is-sold-out h4{color:var(--ink-soft);text-decoration:line-through;text-decoration-thickness:1px}
.item.is-sold-out .item__price,
.feature.is-sold-out .item__price{
  color:var(--ink-soft);font-weight:500;font-size:.72rem;
  letter-spacing:.14em;text-transform:uppercase;text-decoration:none;
}

/* The live map, once an embed URL has been entered. */
.map--live{padding:0;border:1px solid var(--rule);overflow:hidden}
.map--live iframe{width:100%;height:100%;border:0;display:block}

/* Editor content on the fallback template. */
.entry > * + *{margin-top:1.1em}
.entry h2,.entry h3{margin-top:1.6em;font-family:var(--serif)}
.entry a{color:var(--olive);text-underline-offset:3px}
.entry img{height:auto}
.pagination{margin-top:48px;display:flex;gap:14px;font-size:var(--label);letter-spacing:.12em;text-transform:uppercase}

/* The admin bar sits above the fixed header for logged-in users. */
body.admin-bar .header{top:32px}
body.admin-bar .jump{top:calc(108px + env(safe-area-inset-top,0px))}
@media screen and (max-width:782px){
  body.admin-bar .header{top:46px}
  body.admin-bar .jump{top:122px}
}
