/* ============================================================
   The Bärner Barn — boutique stylesheet
   Mobile-first, system-friendly, no preprocessor required.
   ============================================================ */

:root {
  /* warm boutique palette */
  --paper:   #f5ede2;
  --paper-2: #efe5d5;
  --bone:    #e6dbc7;
  --ink:     #1d1812;
  --ink-2:   #3a322a;
  --muted:   #6e6353;
  --line:    #d9cdb7;
  --soil:    #5a4632;
  --gold:    #a8814d;
  --accent:  #8b6a3a;

  --maxw: 1320px;
  --pad-x: clamp(1.1rem, 4vw, 2.5rem);
  --gap:   clamp(1rem, 2.4vw, 1.6rem);

  --shadow: 0 18px 50px -28px rgba(36, 26, 14, 0.35);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Cormorant Garamond", "Garamond", "Times New Roman", serif;

  --ease: cubic-bezier(0.2, 0.65, 0.2, 1);
}

* { box-sizing: border-box; }
*::selection { background: var(--ink); color: var(--paper); }

/* Safety: never let display rules win against the hidden attribute. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

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

/* ---------- helpers ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper); padding: .6rem 1rem; z-index: 999;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.display {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.005em;
  font-size: clamp(2.1rem, 5.5vw, 4.6rem);
  margin: 0 0 1rem;
}
.display em { font-style: italic; color: var(--soil); font-weight: 500; }

.eyebrow {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0 0 1rem;
}

.section {
  padding: clamp(4rem, 9vw, 7.5rem) var(--pad-x);
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}

.section__label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.4rem;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  color: var(--muted);
}
.section__label .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--soil);
  letter-spacing: 0;
}
.section__label::after {
  content: "";
  flex: 0 0 60px;
  height: 1px;
  background: var(--line);
}
.section__title { margin-bottom: 1.6rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.4rem;
  min-height: 48px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn--solid {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}
.btn--solid:hover {
  background: var(--soil);
  border-color: var(--soil);
  color: var(--paper);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(245, 237, 226, 0.72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .45s var(--ease), background .45s var(--ease),
              backdrop-filter .45s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(245, 237, 226, 0.92);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem var(--pad-x);
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  transition: opacity .3s var(--ease);
}
.nav__brand:hover { opacity: .78; color: var(--ink); }
.nav__logo {
  height: 44px;
  width: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
@media (min-width: 900px) {
  .nav__logo { height: 52px; }
}
.nav__links {
  display: none;
  gap: clamp(1rem, 2.5vw, 2.2rem);
  font-size: .92rem;
  letter-spacing: .02em;
}
.nav__links a { position: relative; padding: .4rem 0; }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

.nav__tools { display: flex; align-items: center; gap: .9rem; }
.lang {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  letter-spacing: .08em;
  color: var(--muted);
}
.lang__btn {
  padding: .35rem .25rem;
  letter-spacing: .12em;
  border-radius: 2px;
  color: var(--muted);
  transition: color .2s var(--ease);
}
.lang__btn.is-active { color: var(--ink); font-weight: 600; }
.lang__btn:hover { color: var(--ink); }

.nav__burger {
  width: 42px; height: 42px;
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  border-radius: 1px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 72px 0 0;
  z-index: 45;
  background: var(--paper);
  padding: 2rem var(--pad-x) calc(2rem + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  animation: fade .25s var(--ease);
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 1.1rem; }
.mobile-menu nav a {
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 400;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}
.mobile-menu__info {
  color: var(--muted);
  font-size: .9rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}
.mobile-menu__info p { margin: .2rem 0; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;          /* fallback */
  min-height: 100svh;         /* small viewport, accounts for iOS chrome */
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
}
.hero__bg, .hero__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
  z-index: -2;
}
@media (max-width: 720px) {
  .hero__bg img { object-position: 58% 45%; }
}
.hero__bg img { transform: scale(1.06); will-change: transform; }
/* parallax (subtle) is driven by JS via translate3d, kept inside scale(1.06) */
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(15,10,6,0.05) 0%, rgba(15,10,6,0.55) 70%, rgba(15,10,6,0.85) 100%),
    linear-gradient(180deg, rgba(15,10,6,0.30) 0%, rgba(15,10,6,0.10) 30%);
}
.hero__content {
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad-x) clamp(3rem, 8vw, 5rem);
  color: var(--paper);
}
.hero__content .eyebrow { color: rgba(245, 237, 226, 0.75); }
.hero__content .display { color: var(--paper); max-width: 18ch; }
.hero__content .display em { color: var(--bone); }
.hero__lede {
  max-width: 46ch;
  color: rgba(245, 237, 226, 0.92);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  margin: 1rem 0 1.8rem;
}
.hero__cta { display: flex; gap: .7rem; flex-wrap: wrap; }
.hero__cta .btn--ghost {
  color: var(--paper); border-color: rgba(245,237,226,.85);
}
.hero__cta .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.hero__scroll {
  position: absolute;
  bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  width: 28px; height: 44px;
  border: 1px solid rgba(245,237,226,.6);
  border-radius: 14px;
  display: none;
}
.hero__scroll span {
  display: block;
  width: 2px; height: 7px;
  background: rgba(245,237,226,.85);
  margin: 7px auto 0;
  animation: dot 1.8s var(--ease) infinite;
}
@keyframes dot {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(16px); opacity: 0; }
  61% { transform: translateY(0); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ---------- story ---------- */
.story__grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.story__figure img {
  border-radius: 2px;
  box-shadow: var(--shadow);
  aspect-ratio: 2006 / 2837;
  object-fit: contain;
}
.story__text p { color: var(--ink-2); max-width: 54ch; margin: 0 0 1rem; }
.story__sign {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--muted);
  font-size: 1.1rem;
}

/* ---------- categories ---------- */
.cats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
}
.cat {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  background: var(--bone);
  box-shadow: var(--shadow);
}
.cat picture, .cat img {
  width: 100%; height: 100%;
  display: block;
}
.cat img {
  object-fit: cover;
  aspect-ratio: 4/5;
  transition: transform .9s var(--ease), filter .9s var(--ease);
  filter: saturate(1.02);
}
.cat:hover img { transform: scale(1.04); filter: saturate(1.08); }
.cat__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(1rem, 3vw, 1.6rem) clamp(1rem, 3vw, 1.6rem) clamp(1.1rem, 3vw, 1.7rem);
  color: var(--paper);
  background:
    linear-gradient(180deg, transparent 0%, rgba(15,10,6,0.35) 35%, rgba(15,10,6,0.92) 100%);
}
.cat__cap h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin: 0 0 .4rem;
  letter-spacing: .005em;
}
.cat__cap p {
  margin: 0;
  font-size: clamp(.85rem, 1.05vw, .95rem);
  line-height: 1.45;
  color: rgba(245,237,226,.94);
  max-width: 44ch;
}
.cat__cap--center { text-align: center; padding: clamp(1.6rem, 5vw, 3rem) var(--pad-x); }
.cat__cap--center p { margin-inline: auto; max-width: 56ch; }

/* ---------- brands ---------- */
.brands__intro { max-width: 52ch; color: var(--ink-2); margin: 0 0 2.4rem; }

/* ---------- pull / quality promise ---------- */
.pull {
  background: var(--bone);
  padding: clamp(4rem, 10vw, 7rem) var(--pad-x);
  text-align: center;
}
.pull__q {
  max-width: 24ch;
  margin: 0 auto;
  font-size: clamp(1.8rem, 4.4vw, 3.4rem);
  line-height: 1.2;
  color: var(--ink);
}
.pull__q em { color: var(--soil); font-style: italic; }

.pull--promise .pull__inner {
  text-align: center;
  width: 100%;
}
.pull--promise .pull__eyebrow {
  margin: 0 0 1.2rem;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.pull--promise .pull__q { max-width: 20ch; margin-inline: auto; }
.pull--promise .pull__body {
  max-width: 52ch;
  margin: 1.6rem auto 0;
  color: var(--ink-2);
  font-size: clamp(.98rem, 1.2vw, 1.05rem);
  line-height: 1.6;
}
@media (min-width: 720px) {
  .pull--promise .pull__inner {
    position: sticky;
    top: 25vh;
    transition: opacity .6s var(--ease), transform .6s var(--ease);
  }
  /* turn off the default .pull__q sticky so the wrapper drives the animation */
  .pull--promise .pull__q { position: static; top: auto; }
}

/* ---------- peek: a fixed photo the page briefly reveals ---------- */
.peek {
  position: relative;
  height: 100svh;
  min-height: 520px;
  background-image: url('../img/img_1325-1600.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: var(--ink);
}
@media (max-width: 720px) {
  .peek {
    background-attachment: scroll;
    background-size: contain;
    background-color: var(--bone);
    height: auto;
    min-height: 0;
    aspect-ratio: 1600 / 1068;
  }
  .pull--promise { padding-block: 2.6rem; }
}

/* ---------- gallery (justified rows, full-frame photos) ---------- */
.gallery__grid {
  --g-gap: 8px;
  display: flex;
  flex-direction: column;
  gap: var(--g-gap);
}
.g-row {
  display: flex;
  gap: var(--g-gap);
  width: 100%;
}
.g-cell {
  position: relative;
  padding: 0;
  margin: 0;
  border: 0;
  background: var(--bone);
  overflow: hidden;
  cursor: zoom-in;
  border-radius: 2px;
  min-width: 0;
}
.g-cell picture, .g-cell img {
  display: block;
  width: 100%;
  height: 100%;
}
.g-cell img {
  object-fit: cover;
  transition: transform .8s var(--ease), opacity .4s var(--ease);
  opacity: .98;
}
.g-cell:hover img,
.g-cell:focus-visible img { transform: scale(1.02); opacity: 1; }

/* ---------- visit ---------- */
.visit__addr {
  font-style: normal;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 1rem 0 1.6rem;
}
.visit__hours {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .25rem 1.5rem;
  margin: 0 0 1.4rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.visit__hours div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .25rem 0;
  font-size: .95rem;
}
.visit__hours dt { color: var(--ink); }
.visit__hours dd { margin: 0; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.visit__hours .muted dt, .visit__hours .muted dd { color: var(--muted); }
.visit__status {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--soil);
  margin: 0 0 1.4rem;
  min-height: 1.5em;
}
.visit__status .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: .5rem; vertical-align: middle; background: var(--muted); }
.visit__status .dot--open { background: #5b8d4e; box-shadow: 0 0 0 3px rgba(91,141,78,.18); }
.visit__cta { display: flex; gap: .7rem; flex-wrap: wrap; }

.visit__media { display: grid; gap: var(--gap); }
.visit__photo img {
  border-radius: 2px;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.visit__map {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16/10;
  background: var(--bone);
}
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(0.85) contrast(.95); }

/* ---------- reviews ---------- */
.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap);
  margin-bottom: clamp(3rem, 6vw, 4rem);
}
.review {
  background: var(--paper-2);
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: 2px;
  border: 1px solid var(--line);
}
.review__stars { color: var(--gold); letter-spacing: .25em; margin: 0 0 .8rem; font-size: .9rem; }
.review__q {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.45;
  margin: 0 0 .8rem;
  color: var(--ink);
}
.review__by { margin: 0; color: var(--muted); font-size: .9rem; }

.qr {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
  background: var(--bone);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  border-radius: 3px;
}
.qr__text .display { margin: .4rem 0 .8rem; font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.qr__text p { margin: 0 0 1.2rem; color: var(--ink-2); }
.qr__code {
  background: var(--paper);
  padding: 1rem;
  border-radius: 2px;
  width: max-content;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.qr__code img { width: 180px; height: 180px; }

/* ---------- contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
}
.contact__list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: .2rem;
  border-top: 1px solid var(--line);
}
.contact__list li { border-bottom: 1px solid var(--line); }
.contact__list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  font-size: 1.05rem;
  transition: padding .25s var(--ease);
}
.contact__list a:hover { padding-left: .35rem; color: var(--soil); }
.contact__lbl {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  color: var(--muted);
  min-width: 90px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.contact__icon { flex: 0 0 auto; opacity: .85; }

.contact__form { display: grid; gap: 1rem; }
.form__intro { color: var(--ink-2); margin: 0 0 .4rem; }
.contact__form label { display: grid; gap: .3rem; font-size: .85rem; color: var(--muted); }
.contact__form label span { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
/* Required-field asterisk: auto-added next to the label of any label wrapping a required field. */
.contact__form label:has(input[required], textarea[required]) > span::after {
  content: " *";
  color: var(--soil);
  font-weight: 600;
}
.contact__form input,
.contact__form textarea {
  font: inherit;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: .85rem 1rem;
  width: 100%;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.contact__form input:focus,
.contact__form textarea:focus {
  border-color: var(--ink);
  background: var(--paper);
  outline: none;
}
.contact__form .hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.contact__form button { justify-self: start; margin-top: .4rem; }
.form__note { font-size: .8rem; color: var(--muted); margin: .2rem 0 0; }

/* ---------- footer ---------- */
.foot {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(2.2rem, 5vw, 3.5rem) var(--pad-x) calc(clamp(2.2rem, 5vw, 3.5rem) + env(safe-area-inset-bottom));
  margin-top: clamp(3rem, 8vw, 5rem);
}
.foot__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  gap: .9rem;
  text-align: center;
}
.foot__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .25rem;
}
.foot__logo {
  height: 52px;
  width: auto;
  display: block;
  opacity: .92;
}
.foot__addr { margin: 0; color: rgba(230,219,199,.85); font-size: .95rem; }
.foot__meta { margin: 0; color: rgba(230,219,199,.55); font-size: .8rem; letter-spacing: .04em; }

/* ---------- mobile dock ---------- */
.dock {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  gap: .5rem;
  padding: .55rem .8rem calc(.55rem + env(safe-area-inset-bottom));
  background: rgba(245, 237, 226, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.dock__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .5rem .9rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.dock__btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.dock__btn:hover { background: var(--soil); border-color: var(--soil); color: var(--paper); }
body.menu-open .dock { display: none; }

/* ---------- lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(15,10,6,.94);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 3vw, 2.5rem);
  animation: fade .2s var(--ease);
}
.lb[hidden] { display: none; }
.lb__stage { margin: 0; max-width: 100%; max-height: 100%; display: grid; gap: .8rem; place-items: center; }
.lb__stage img {
  max-width: 100%;
  max-height: 80vh;
  max-height: 80svh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lb__stage figcaption {
  color: rgba(245,237,226,.85);
  font-family: var(--font-serif);
  font-style: italic;
  text-align: center;
  font-size: 1rem;
}
.lb button {
  position: absolute;
  width: 50px; height: 50px;
  border-radius: 999px;
  color: var(--paper);
  background: rgba(245,237,226,.08);
  font-size: 1.6rem;
  line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s var(--ease);
}
.lb button:hover { background: rgba(245,237,226,.2); }
.lb__close { top: 1rem; right: 1rem; font-size: 1.8rem; }
.lb__prev  { left: 1rem;  top: 50%; transform: translateY(-50%); }
.lb__next  { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (min-width: 720px) {
  .story__grid { grid-template-columns: 1fr 1.2fr; }
  .contact__grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .reviews__grid { grid-template-columns: repeat(3, 1fr); }
  .qr { grid-template-columns: 1.4fr 1fr; }
  .qr__code { margin: 0; }
}

@media (min-width: 900px) {
  .cats__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(0, auto);
  }
  .cat--tall img { aspect-ratio: 3/4; }
  .cat--wide { grid-column: span 2; }
  .cat--wide img { aspect-ratio: 16/9; }
  .cat--full { grid-column: 1 / -1; }
  .cat--full img { aspect-ratio: 21/9; min-height: 480px; }
}

@media (min-width: 900px) {
  .nav__links { display: inline-flex; }
  .nav__burger { display: none; }
  .dock { display: none; }
  .foot { margin-bottom: 0; }
  .hero__scroll { display: block; }
  body { padding-bottom: 0; }
}

@media (max-width: 899px) {
  body { padding-bottom: 72px; }   /* room for the mobile dock */
}

/* High-DPI subtle tonemap for hero only */
@media (prefers-color-scheme: dark) {
  /* keep boutique cream theme, no dark mode to maintain brand */
}

/* =============================================================
   POLISH LAYER
   Targeted refinements added in a second pass.
   Lives at the end so it can refine without restructuring.
   ============================================================= */

:root {
  --shadow-soft:   0 2px 6px rgba(36, 26, 14, 0.04),
                   0 24px 60px -32px rgba(36, 26, 14, 0.28);
  --shadow-deep:   0 4px 14px rgba(36, 26, 14, 0.06),
                   0 40px 90px -36px rgba(36, 26, 14, 0.45);
}

/* Slow, premium ease everywhere */
.btn, .nav__brand, .cat img, .review, .g-cell img, .brand,
.contact__list a, .lang__btn {
  transition-duration: .5s;
}

/* Section header refinement: small ornamental rule above title */
.section__title {
  position: relative;
  letter-spacing: -0.01em;
  margin-top: 1.6rem;
}
.section__title::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--soil);
  margin: 0 0 1.4rem;
  opacity: .65;
}

/* Display refinement, optical letterspacing per weight */
.display { font-feature-settings: "liga", "kern"; }
.display em { letter-spacing: -0.008em; }

/* Subtle paper grain over the whole page for material feel.
   Pure CSS, no image, low perf cost (two fixed gradients). */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(168, 129, 77, .05), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(90, 70, 50, .06), transparent 65%);
  mix-blend-mode: multiply;
}
/* Stacking-context fix for body::before grain overlay.
   Do NOT touch position on .nav (it must stay fixed). */
main, .foot, .dock { position: relative; z-index: 2; }
.nav { z-index: 50; }            /* position already set on base rule */
.dock { z-index: 40; }
/* .lb and .mobile-menu keep their base position: fixed; never demote them. */
.cursor-dot, .cursor-ring { z-index: 200; position: fixed; }

/* Hero CTA glass refinement */
.hero__cta .btn--ghost {
  background: rgba(245, 237, 226, 0.08);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
}
.hero__cta .btn--solid {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.hero__cta .btn--solid:hover {
  background: var(--bone);
  border-color: var(--bone);
  color: var(--ink);
}

/* Soft inner highlight on category cards */
.cat {
  box-shadow: var(--shadow-soft);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.cat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-deep);
}
.cat__cap {
  padding: clamp(1.2rem, 3.4vw, 2rem);
  background: linear-gradient(180deg, transparent 0%, rgba(15,10,6,0.40) 35%, rgba(15,10,6,0.94) 100%);
}
.cat__cap h3 { letter-spacing: -0.005em; font-weight: 400; }

/* Stagger reveal: each .cat in the grid animates a beat later */
.cats__grid .cat.reveal { transition-delay: 0ms; }
.cats__grid .cat.reveal:nth-child(2) { transition-delay: 90ms; }
.cats__grid .cat.reveal:nth-child(3) { transition-delay: 180ms; }
.cats__grid .cat.reveal:nth-child(4) { transition-delay: 270ms; }
.cats__grid .cat.reveal:nth-child(5) { transition-delay: 360ms; }
.reviews__grid .review.reveal { transition-delay: 0ms; }
.reviews__grid .review.reveal:nth-child(2) { transition-delay: 120ms; }
.reviews__grid .review.reveal:nth-child(3) { transition-delay: 240ms; }

/* =============================================================
   Brand wall, editorial type instead of a flat list
   ============================================================= */
.brands__wall {
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr;
}
.brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .35rem;
  min-height: 96px;
  padding: 1.1rem .25rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: padding .5s var(--ease), color .4s var(--ease);
}
.brand::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--soil);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .5s var(--ease);
}
.brand:hover { padding-left: 1.1rem; }
.brand:hover::before { transform: scaleY(1); }
.brand__name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 3.6vw, 1.9rem);
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.05;
}
.brand__meta {
  font-family: var(--font-sans);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .4s var(--ease);
}
.brand:hover .brand__meta { color: var(--soil); }
@media (min-width: 640px) {
  .brands__wall { grid-template-columns: 1fr 1fr; column-gap: clamp(1.5rem, 4vw, 3rem); }
}
@media (min-width: 980px) {
  .brands__wall { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================
   Location card, visually less iframe-like
   ============================================================= */
.visit__map {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-deep);
}
.visit__map iframe {
  filter: saturate(0.7) contrast(.96) brightness(1.02);
  transition: filter .6s var(--ease);
}
.visit__map:hover iframe { filter: saturate(0.95) contrast(1) brightness(1); }
.visit__map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 120% at 50% 50%, transparent 55%, rgba(245, 237, 226, .25) 100%);
}
.visit__pin {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: .55rem .85rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--ink);
  box-shadow: 0 6px 18px -10px rgba(36, 26, 14, .35);
  pointer-events: none;
}
.visit__pin-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--soil);
  box-shadow: 0 0 0 4px rgba(168, 129, 77, .18);
}

/* =============================================================
   Gallery: smoother lightbox, soft shadow on cells
   ============================================================= */
.g-cell { box-shadow: var(--shadow-soft); }
.g-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(15,10,6,0.22) 100%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.g-cell:hover::after,
.g-cell:focus-visible::after { opacity: 1; }

/* Lightbox refinement: gentle scale + fade in */
.lb { animation: lbFade .35s var(--ease); }
.lb__stage img {
  animation: lbZoom .55s var(--ease);
  border-radius: 4px;
}
@keyframes lbFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes lbZoom {
  from { opacity: 0; transform: scale(.97); }
  to   { opacity: 1; transform: scale(1); }
}

/* =============================================================
   Status banner refinement
   ============================================================= */
.visit__status {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .4rem .9rem;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .92rem;
  font-style: italic;
  font-family: var(--font-serif);
  color: var(--ink);
}
.visit__status:empty { display: none; }

/* =============================================================
   Custom cursor (desktop, fine pointer only)
   ============================================================= */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 200;
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
  will-change: transform;
  transition: opacity .25s var(--ease), background .35s var(--ease),
              border-color .35s var(--ease), width .35s var(--ease),
              height .35s var(--ease);
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--ink);
  border-radius: 50%;
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(29, 24, 18, .55);
  border-radius: 50%;
}
body.cursor-on .cursor-dot,
body.cursor-on .cursor-ring { opacity: 1; }
body.cursor-grow .cursor-ring {
  width: 58px; height: 58px;
  background: rgba(29, 24, 18, .06);
  border-color: rgba(29, 24, 18, .85);
}
body.cursor-hide .cursor-dot,
body.cursor-hide .cursor-ring { opacity: 0; }

body.cursor-light .cursor-dot { background: var(--paper); }
body.cursor-light .cursor-ring { border-color: rgba(245, 237, 226, .65); }
body.cursor-light.cursor-grow .cursor-ring {
  background: rgba(245, 237, 226, .12);
  border-color: rgba(245, 237, 226, .95);
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-dot, .cursor-ring { display: none !important; }
}
@media (hover: hover) and (pointer: fine) {
  body.cursor-on { cursor: none; }
  body.cursor-on a, body.cursor-on button,
  body.cursor-on .g-cell, body.cursor-on .dock__btn { cursor: none; }
  body.cursor-on input, body.cursor-on textarea, body.cursor-on select { cursor: text; }
}

/* =============================================================
   Tiny mobile refinements
   ============================================================= */
@media (max-width: 720px) {
  .hero__content .display { font-size: clamp(2.3rem, 9vw, 3.4rem); }
  .hero__lede { font-size: 1rem; }
  .section { padding-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); }
  .story__figure img { aspect-ratio: auto; height: auto; object-fit: contain; }
  .pull__q { font-size: clamp(1.7rem, 6.5vw, 2.4rem); }
  .visit__pin { font-size: .76rem; padding: .45rem .7rem; }
}

/* =============================================================
   POLISH LAYER 2
   Iteration v3: floating header, hero-as-cover, designed map,
   calmer animations, refined brand wall, stronger review block.
   ============================================================= */

/* ---------- header: floating glass that materialises past the hero ---------- */
.nav.nav--floating {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background .45s var(--ease), backdrop-filter .45s var(--ease),
              border-color .45s var(--ease);
}
.nav.nav--floating .nav__brand {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.nav.nav--floating .nav__links a,
.nav.nav--floating .lang__btn,
.nav.nav--floating .lang { color: rgba(245, 237, 226, .9); }
.nav.nav--floating .nav__links a::after { background: var(--paper); }
.nav.nav--floating .lang__btn.is-active { color: var(--paper); }
.nav.nav--floating .nav__burger span { background: var(--paper); }

body.is-past-hero .nav.nav--floating {
  background: rgba(245, 237, 226, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
body.is-past-hero .nav.nav--floating .nav__brand {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
body.is-past-hero .nav.nav--floating .nav__links a,
body.is-past-hero .nav.nav--floating .lang { color: var(--ink-2); }
body.is-past-hero .nav.nav--floating .nav__links a::after { background: var(--accent); }
body.is-past-hero .nav.nav--floating .lang__btn { color: var(--muted); }
body.is-past-hero .nav.nav--floating .lang__btn.is-active { color: var(--ink); }
body.is-past-hero .nav.nav--floating .nav__burger span { background: var(--ink); }

/* When the mobile menu is open we always show ink-coloured chrome */
body.menu-open .nav.nav--floating { background: var(--paper); }
body.menu-open .nav.nav--floating .nav__burger span { background: var(--ink); }
body.menu-open .nav.nav--floating .lang { color: var(--muted); }
body.menu-open .nav.nav--floating .lang__btn.is-active { color: var(--ink); }
body.menu-open .nav.nav--floating .nav__brand { opacity: 1; pointer-events: auto; transform: none; }

/* slight resize of nav padding to feel lighter */
.nav__inner { padding-block: .7rem; }
.nav__logo { height: 38px; }
@media (min-width: 900px) { .nav__logo { height: 44px; } }

/* ---------- hero: editorial cover with centered logo ---------- */
.hero {
  align-items: stretch;
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 64ch;
  margin: 0 auto;
  padding: clamp(6rem, 14vh, 9rem) var(--pad-x) clamp(3rem, 7vh, 4.5rem);
}
.hero__logo {
  display: block;
  width: auto;
  height: clamp(96px, 16vh, 160px);
  margin: 0 auto auto;     /* push everything else down via flex */
  opacity: .98;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .35));
}
.hero__content .eyebrow {
  color: rgba(245, 237, 226, 0.78);
  letter-spacing: 0.24em;
  margin-bottom: 1.1rem;
}
.hero__title.display {
  max-width: 22ch;
  margin: 0 auto .9rem;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
}
.hero__title.display em {
  display: block;
  color: var(--bone);
}
.hero__lede {
  margin: 0 auto 1.8rem;
  max-width: 46ch;
}
.hero__cta {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: .7rem 1.1rem;
}
.hero__ctaText {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .6rem .25rem;
  min-height: 44px;
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(245, 237, 226, .9);
  position: relative;
  transition: color .3s var(--ease), opacity .3s var(--ease);
}
.hero__ctaText::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 1px;
  background: rgba(245, 237, 226, .55);
  transform: scaleX(.4); transform-origin: left;
  transition: transform .4s var(--ease);
}
.hero__ctaText:hover { color: var(--paper); }
.hero__ctaText:hover::after { transform: scaleX(1); }

/* slight reverse-veil so the centered logo and copy don't feel washed out */
.hero__veil {
  background:
    radial-gradient(60% 50% at 50% 25%, rgba(15,10,6,0.05) 0%, rgba(15,10,6,0.35) 70%),
    linear-gradient(180deg, rgba(15,10,6,0.10) 0%, rgba(15,10,6,0.55) 80%, rgba(15,10,6,0.80) 100%);
}

/* ---------- designed map (SVG-based) ---------- */
.visit__map {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bone);
  box-shadow: var(--shadow-deep);
  margin: 0;
  aspect-ratio: 400 / 280;
}
.visit__mapsvg {
  display: none;     /* the SVG map is no longer used; real Google Maps iframe in POLISH LAYER 5 */
}
.visit__map::after { display: none; }   /* drop the old vignette overlay */
.visit__map-cap {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(245, 237, 226, .96) 55%);
  color: var(--ink);
  font-size: .85rem;
}
.visit__map-pin {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.visit__map-hint {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--soil);
  font-size: .95rem;
}
@media (max-width: 480px) {
  .visit__map-cap { flex-direction: column; align-items: flex-start; gap: .25rem; padding: .75rem .85rem; }
  .visit__map-hint { font-size: .85rem; }
}

/* ---------- review block: stronger but quiet ---------- */
.qr {
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 4vw, 2rem);
  align-items: center;
  text-align: center;
  background: var(--bone);
  padding: clamp(1.8rem, 5vw, 3rem);
  border-radius: 6px;
  border: 1px solid var(--line);
}
.qr__text { max-width: 36ch; }
.qr__title.display { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: .3rem 0 .8rem; line-height: 1.1; }
.qr__body { margin: 0 0 1.3rem; color: var(--ink-2); }
.qr__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
}
.qr__or {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.qr__code {
  background: var(--paper);
  padding: .85rem;
  border-radius: 4px;
  box-shadow: 0 4px 14px -8px rgba(36, 26, 14, .25);
}
.qr__code img { display: block; width: 144px; height: 144px; }
@media (min-width: 720px) {
  .qr {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: clamp(2rem, 5vw, 3rem);
  }
  .qr__text { max-width: 40ch; }
  .qr__cta {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
  .qr__code img { width: 160px; height: 160px; }
}

/* ---------- brand wall: more luft + calmer hover ---------- */
.brand {
  min-height: 110px;
  padding: 1.3rem .25rem;
  transition: padding .45s var(--ease);
}
.brand:hover { padding-left: 1rem; }
.brand__name { transition: transform .45s var(--ease); }
.brand:hover .brand__name { transform: translateX(2px); }

/* ---------- animations: dial down ---------- */
.cats__grid .cat.reveal:nth-child(2) { transition-delay: 60ms; }
.cats__grid .cat.reveal:nth-child(3) { transition-delay: 120ms; }
.cats__grid .cat.reveal:nth-child(4) { transition-delay: 180ms; }
.cats__grid .cat.reveal:nth-child(5) { transition-delay: 240ms; }
.reviews__grid .review.reveal:nth-child(2) { transition-delay: 90ms; }
.reviews__grid .review.reveal:nth-child(3) { transition-delay: 180ms; }
@media (max-width: 720px) {
  .reveal { transform: translateY(8px); }   /* shorter travel on mobile */
}

/* ---------- footer logo adjustment ---------- */
.foot__logo { height: 48px; }

/* ---------- hero scroll cue: show on desktop only, slightly more visible ---------- */
.hero__scroll { display: none; }
@media (min-width: 900px) {
  .hero__scroll { display: block; opacity: .85; }
}

/* =============================================================
   POLISH LAYER 3
   v4: header is invisible at top (no bar), hero is full svh,
   hours are a single column with "today" highlight,
   scroll experience gets filmic moments (sticky + fade) on desktop.
   ============================================================= */

/* The nav is fixed in v3 polish; ensure no peek above hero on the very first paint */
html, body { background: var(--ink); }   /* prevents flash before hero image renders */
body { background: var(--paper); }       /* paper for everything past hero */
.hero { background: var(--ink); }

/* No more body padding-top from fixed nav: hero sits behind nav by design */
@media (max-width: 899px) {
  body { padding-bottom: 76px; }         /* dock space */
}

/* Hours: single column always, gentle today highlight */
.visit__hours {
  display: flex !important;
  flex-direction: column;
  gap: 0 !important;
  padding: .8rem 0 !important;
}
.visit__hours > div {
  display: grid !important;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 1rem;
  padding: .6rem 0;
  border-bottom: 1px dashed rgba(217, 205, 183, 0.6);
  transition: padding .4s var(--ease), color .4s var(--ease);
}
.visit__hours > div:last-child { border-bottom: 0; }
.visit__hours dt { font-size: 1rem; }
.visit__hours dd { font-size: 1rem; font-variant-numeric: tabular-nums; }
.visit__hours .muted { color: var(--muted); }
.visit__hours .muted dt, .visit__hours .muted dd { color: var(--muted); }

/* Today: a small luminous bone strip, no shouting */
.visit__hours .is-today {
  position: relative;
  padding-left: .9rem !important;
  background: linear-gradient(90deg, rgba(168, 129, 77, .08) 0%, transparent 60%);
  border-radius: 4px;
}
.visit__hours .is-today::before {
  content: "";
  position: absolute;
  left: 0; top: 14%; bottom: 14%;
  width: 3px;
  background: var(--soil);
  border-radius: 3px;
}
.visit__hours .is-today dt {
  font-weight: 600;
  color: var(--ink);
}
.visit__hours .is-today dd { color: var(--ink); }

/* Story: figure becomes sticky on desktop while text scrolls past (filmic) */
@media (min-width: 900px) {
  .story__grid { align-items: start; }
  .story__figure {
    position: sticky;
    top: 12vh;
  }
  .story__text {
    padding-block: 2rem 4rem;
  }
  .story__text p:not(:last-child) {
    margin-bottom: 1.4rem;
  }
}

/* Pull quote: sticky for a beat, with subtle fade in/out tied to scroll */
@media (min-width: 720px) {
  .pull {
    min-height: 110svh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .pull__q {
    position: sticky;
    top: 25vh;
    transition: opacity .6s var(--ease), transform .6s var(--ease);
  }
}

/* Reveal: ensure no harsh bounce; mobile shorter travel */
.reveal { transform: translateY(10px); }
@media (max-width: 720px) {
  .reveal { transform: translateY(6px); }
}

/* Slight differential: section labels float into view a hair earlier */
.section__label.reveal { transition-delay: 0ms; }

/* The hero scroll cue gets repositioned for full-svh hero */
.hero__scroll { bottom: 2rem; }
@media (max-width: 899px) { .hero__scroll { display: none; } }   /* keep mobile clean */

/* No accidental scroll bleed: top of page truly only shows hero */
@media (max-width: 899px) {
  .hero { min-height: 100svh; }   /* dock is below hero anyway */
}

/* Footer doesn't need an extra padding bump since nav is fixed and not in flow */
.foot { margin-top: 0; }
.contact { padding-bottom: clamp(4rem, 9vw, 7rem); }

/* =============================================================
   POLISH LAYER 5
   v6: Final composition refinements
   - sticky-header logo: barn-only crop (desktop)
   - footer logo 2.5x larger
   - category grid: equal visual width per card
   - dock: inline above footer (no more floating)
   - mobile menu: lang switcher + full hours
   - map: real Google Maps embed (clean frame)
   - hero scroll cue: removed
   ============================================================= */

/* ---------- sticky header: barn-only icon ---------- */
.nav__logo {
  height: 40px;
  width: auto;
}
@media (min-width: 900px) {
  .nav__logo { height: 44px; }
}

/* ---------- footer logo: 2.5x bigger ---------- */
.foot__logo { height: 120px !important; }
@media (max-width: 480px) {
  .foot__logo { height: 96px !important; }
}
.foot { padding-block: clamp(3rem, 7vw, 5rem); }
.foot__brand { margin-bottom: .8rem; }

/* ---------- dock: inline, just above footer ---------- */
/* Dock is fully hidden: the Visit section already exposes call + route buttons
   right where users need them. The bottom dock would only duplicate those. */
.dock { display: none !important; }
@media (max-width: 899px) {
  body { padding-bottom: 0; }
}

/* ---------- mobile menu: tight, premium, no sprawl ---------- */
.mobile-menu {
  inset: 0;
  padding: calc(var(--pad-x) + 56px) var(--pad-x) calc(1.4rem + env(safe-area-inset-bottom));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  gap: .8rem;
  justify-content: flex-start;
}
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-menu__nav a {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  line-height: 1.1;
  font-weight: 400;
  padding: .55rem 0;
  color: var(--ink);
  border: 0;
}
.mobile-menu__lang {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
  color: var(--muted);
  letter-spacing: .04em;
  padding: .5rem 0 .6rem;
  border-top: 1px solid var(--line);
  margin-top: .3rem;
}
.mlang__btn {
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--muted);
  padding: .25rem .25rem;
  background: none;
  border: 0;
  cursor: pointer;
}
.mlang__btn.is-active { color: var(--ink); }
.mobile-menu__info { color: var(--muted); font-size: .85rem; padding-top: .2rem; border-top: 1px solid var(--line); }
.mobile-menu__hours {
  display: flex; flex-direction: column;
  margin: 0 0 .6rem;
}
.mobile-menu__hours > div {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: .2rem 0;
  color: var(--ink);
}
.mobile-menu__hours .muted dt, .mobile-menu__hours .muted dd { color: var(--muted); }
.mobile-menu__hours dt, .mobile-menu__hours dd { font-size: .82rem; line-height: 1.35; }
.mobile-menu__hours dd { font-variant-numeric: tabular-nums; }
.mobile-menu__hours .is-today dt { font-weight: 600; }
.mobile-menu__addr { font-size: .78rem; margin: .2rem 0 0; color: var(--muted); }

/* ---------- Google Maps iframe (back, clean frame) ---------- */
.visit__map {
  position: relative;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bone);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-deep);
  aspect-ratio: 4 / 3;
  isolation: isolate;
}
.visit__map iframe {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.92) contrast(.96);
  transition: filter .5s var(--ease);
}
.visit__map:hover iframe { filter: none; }
.visit__map-cap {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .85rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(245, 237, 226, .96) 50%);
  color: var(--ink);
  font-size: .85rem;
  pointer-events: none;
}
.visit__map-pin {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  letter-spacing: .01em;
}
.visit__map-hint {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--soil);
  font-size: .95rem;
}
@media (max-width: 480px) {
  .visit__map-cap { flex-direction: column; align-items: flex-start; gap: .2rem; padding: .7rem .85rem; }
  .visit__map-hint { font-size: .85rem; }
}

/* ---------- categories: equal visual width across all cards ---------- */
@media (min-width: 700px) and (max-width: 979px) {
  .section--editorial .cats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section--editorial .cats__grid .cat,
  .section--editorial .cats__grid .cat--tall,
  .section--editorial .cats__grid .cat--wide { grid-column: span 1; }
  .section--editorial .cats__grid .cat--full { grid-column: 1 / -1; }
  .section--editorial .cats__grid .cat img { aspect-ratio: 4/5; }
  .section--editorial .cats__grid .cat--full img { aspect-ratio: 16/10; min-height: 0; }
}
@media (min-width: 980px) {
  .section--editorial .cats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section--editorial .cats__grid .cat,
  .section--editorial .cats__grid .cat--tall,
  .section--editorial .cats__grid .cat--wide { grid-column: span 1; }
  .section--editorial .cats__grid .cat--full { grid-column: 1 / -1; }
  .section--editorial .cats__grid .cat img { aspect-ratio: 4/5; }
  .section--editorial .cats__grid .cat--full img { aspect-ratio: 16/10; min-height: 0; }
}

/* ---------- gallery: dense flow ensures no holes ---------- */
/* ---------- safety: hide leftover hero scroll element if any cached ---------- */
.hero__scroll { display: none !important; }

/* ---------- v6: stronger filmic sticky moments (desktop only) ---------- */
@media (min-width: 980px) {
  /* Story: longer reveal window so the sticky figure holds for ~1 viewport */
  .story.section { padding-block: clamp(8rem, 14vw, 12rem); }
  .story__grid { gap: clamp(3rem, 6vw, 5rem); }
  .story__figure { top: 14vh; }
  .story__text { padding-block: 4rem 6rem; }
  .story__text p:not(:last-child) { margin-bottom: 1.8rem; }
  .story__text p { max-width: 50ch; }

  /* Editorial-section padding: more breathing so heads pin for longer */
  .section--editorial.section { padding-block: clamp(8rem, 14vw, 13rem); }
  .section--editorial > .section__head { top: 14vh; }

  /* Pull quote: even longer pin, slightly slower fade transition */
  .pull { min-height: 160svh; }
  .pull__q { top: 38vh; }
}


.section__head {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.section__lead {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--soil);
  margin: .2rem 0 0;
  max-width: 32ch;
}

@media (min-width: 980px) {
  .section--editorial {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr);
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
  }
  .section--editorial > .section__head {
    position: sticky;
    top: 18vh;
    align-self: start;
    padding-block: 1rem;
  }
  .section--editorial > .section__body { min-width: 0; }
}

/* Inside editorial sections, neutralise the previous full-width section title rule
   so the head feels like a magazine margin note rather than a hero. */
.section--editorial .section__title { margin-top: .4rem; }
.section--editorial .section__title::before {
  width: 32px;
  margin-bottom: 1rem;
}

/* Mobile cats grid: single column */
@media (max-width: 699px) {
  .section--editorial .cats__grid {
    grid-template-columns: 1fr;
  }
}
/* Tablet/desktop overrides live in POLISH LAYER 5 above. */

/* Brand wall responsive inside editorial body */
@media (min-width: 980px) {
  .brands__wall { grid-template-columns: repeat(2, 1fr); }
}

/* Gallery inside editorial body shrinks columns to fit narrower track */

/* =============================================================
   Visit composition: 3-piece media flow (aerial, photo, map)
   ============================================================= */
.visit__media {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.4rem);
}
.visit__aerial {
  position: relative;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.visit__aerial img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
  filter: saturate(.94) brightness(1.02);
}
.visit__aerial::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15,10,6,0) 55%, rgba(15,10,6,.55) 100%),
    radial-gradient(120% 80% at 50% 30%, rgba(245, 237, 226, 0) 60%, rgba(15,10,6,.15) 100%);
}
.visit__aerial-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1rem clamp(1rem, 3vw, 1.8rem);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--paper);
  letter-spacing: .005em;
  z-index: 1;
}
.visit__photo {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.visit__photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* In editorial layout, the address column doesn't reveal-translate */
.section--editorial .section__head .visit__addr,
.section--editorial .section__head .visit__hours,
.section--editorial .section__head .visit__cta { margin-block: auto; }
.visit__cta { margin-top: 1.5rem; }

/* On mobile, render aerial first as a hero band, then text, then storefront, then map */
@media (max-width: 979px) {
  .visit.section { display: flex; flex-direction: column; gap: clamp(2rem, 5vw, 3rem); }
  .visit .section__head { order: 2; }
  .visit .section__body { order: 1; }
  .visit__aerial img { aspect-ratio: 16/10; }
}

/* =============================================================
   Pull-quote: keep sticky but stronger fade in/out
   ============================================================= */
@media (min-width: 720px) {
  .pull {
    min-height: 130svh;
    padding-block: clamp(8vh, 14vh, 22vh);
  }
  .pull__q {
    top: 35vh;
    max-width: 22ch;
  }
}

/* =============================================================
   Section padding inside editorial layout: more breathing room so
   the sticky head has room to "hold" while body scrolls past.
   ============================================================= */
@media (min-width: 980px) {
  .section--editorial.section {
    padding-block: clamp(7rem, 12vw, 11rem);
  }
}

/* =============================================================
   Reduce reveal motion further so sticky drama isn't fighting
   with reveal motion. Reveal is now purely a soft fade.
   ============================================================= */
.reveal { transform: none; opacity: 0; transition: opacity .9s var(--ease); }
.reveal.is-in { opacity: 1; }

/* =============================================================
   prefers-reduced-motion: no sticky shenanigans either
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .section--editorial > .section__head,
  .pull__q,
  .story__figure,
  .visit__aerial { position: static !important; top: auto !important; }
}

/* Aerial flows naturally with the other media; no sticky behaviour. */

/* --- Aerial caption always reads as bright on the image --- */
.visit__aerial-cap {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}

/* --- Mobile only: inactive desktop-style lang chip in soft grey for clear contrast --- */
@media (max-width: 899px) {
  .nav .lang__btn { color: #a39c91; }
  .nav .lang__btn.is-active { color: var(--ink); }
  .nav.nav--floating .lang__btn { color: rgba(245, 237, 226, .75); }
  .nav.nav--floating .lang__btn.is-active { color: var(--paper); }
}



