/* Meet Me Bali — shared styles
   Palette: warm white, logo gold, sand / light brown, deep green. */

:root {
  /* Dark, like the Meet me Bali logo on charcoal */
  --paper: #1a1718;
  --white: #231f20;
  --sand: #2e2829;
  --tan: #d2b896;
  --brown: #7a5c3e;
  --green: #1f3a2e;
  --green-deep: #142820;
  --gold: #d3b369;
  --gold-deep: #b8954a;
  --ink: #f4efe7;
  --ink-soft: #b8afa4;
  --on-dark: #f4efe7;
  --on-dark-soft: #c4bcb2;
  --on-gold: #1a1718;

  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-text: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --step-small: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --step-title: clamp(1.75rem, 1.3rem + 1.3vw, 2.5rem);
  --step-head: clamp(2.5rem, 1.4rem + 4.2vw, 5.25rem);
  --step-display: clamp(3.5rem, 1.5rem + 8.4vw, 10rem);

  --gutter: clamp(16px, 3.2vw, 44px);
  --section: clamp(96px, 14vw, 200px);
  --radius: 2px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--step-body);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: var(--radius); }
html { scrollbar-color: var(--tan) var(--paper); }

.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: var(--gutter); top: -60px; z-index: 100;
  background: var(--gold); color: var(--on-gold); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { padding-inline: var(--gutter); }
.measure { max-width: 34em; }
.tabular { font-variant-numeric: tabular-nums; }

/* ——— Buttons ——— */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 48px; padding: 0 1.4em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 0; border-radius: 999px; cursor: pointer;
  font-family: var(--font-text); font-size: var(--step-small); font-weight: 500; letter-spacing: 0.01em;
  text-decoration: none; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--on-gold); }
.btn--light { --btn-bg: var(--on-dark); --btn-fg: var(--on-gold); }
.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; border: 1.5px solid currentColor; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --btn-bg: var(--gold); --btn-fg: var(--on-gold); }
  .btn--gold:hover { --btn-bg: var(--on-dark); --btn-fg: var(--on-gold); }
  .btn--light:hover { --btn-bg: var(--gold); --btn-fg: var(--on-gold); }
  .btn--ghost:hover { --btn-bg: var(--gold); --btn-fg: var(--on-gold); border-color: var(--gold); }
}
.btn svg { width: 18px; height: 18px; flex: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-weight: 500; text-decoration: none;
  text-decoration: underline 1.5px transparent; text-underline-offset: 0.3em;
  transition: text-decoration-color 240ms var(--ease-out);
}
.link-arrow::after { content: "→"; transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover { text-decoration-color: currentColor; }
  .link-arrow:hover::after { transform: translateX(4px); }
}

/* ——— Header ——— */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 76px; padding-inline: var(--gutter);
  color: var(--ink);
  transition: background-color 300ms var(--ease-out), transform 400ms var(--ease-out), color 300ms var(--ease-out);
}
.site-header.is-scrolled { background: var(--paper); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header[data-tone="light"]:not(.is-scrolled) { color: var(--on-dark); }
.brand { display: block; width: clamp(150px, 14vw, 196px); line-height: 0; }
.brand img { width: 100%; height: auto; }
.brand .brand-ink { display: none; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav__links { display: flex; gap: clamp(16px, 2vw, 30px); font-size: var(--step-small); font-weight: 500; }
.nav__links a { text-decoration: none; position: relative; padding-block: 6px; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 300ms var(--ease-out);
}
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
}
.site-header[data-tone="light"]:not(.is-scrolled) .btn { --btn-bg: var(--on-dark); --btn-fg: var(--on-gold); }

.menu-toggle {
  display: none; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 4px; background: none; border: 0; cursor: pointer;
  font-size: var(--step-small); font-weight: 500;
}
.menu-toggle__bars { position: relative; width: 22px; height: 10px; }
.menu-toggle__bars::before, .menu-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor;
  transition: transform 300ms var(--ease-out), top 300ms var(--ease-out);
}
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { top: 8.5px; }
.menu-open .menu-toggle__bars::before { top: 4.25px; transform: rotate(45deg); }
.menu-open .menu-toggle__bars::after { top: 4.25px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 32px;
  padding: 96px var(--gutter) 32px;
  background: var(--green); color: var(--on-dark);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 520ms var(--ease-drawer);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-open .site-header { color: var(--on-dark); background: transparent; }
.mobile-menu ul { display: grid; gap: 4px; }
.mobile-menu a.mobile-menu__link {
  display: block; padding-block: 6px; text-decoration: none;
  font-family: var(--font-display); font-size: clamp(2.25rem, 10vw, 3.5rem); line-height: 1.05;
}
.mobile-menu__foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; font-size: var(--step-small); color: var(--on-dark-soft); }
.mobile-menu__foot a { color: var(--on-dark); }

@media (max-width: 960px) {
  .nav__links, .nav .btn { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (min-width: 961px) { .mobile-menu { display: none; } }

/* ——— Section basics ——— */
.section { padding-block: var(--section); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head h2 { font-size: var(--step-head); max-width: 12em; }
.section-head p { max-width: 30em; color: var(--ink-soft); }
.lead { font-size: var(--step-lead); line-height: 1.4; }
.soft { color: var(--ink-soft); }

/* ——— Hero: the front of Pro Padel Bali, words on top ——— */
.hero-photo { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--on-dark); background: var(--paper); overflow: hidden; isolation: isolate; }
.hero-photo__bg { position: absolute; inset: 0; margin: 0; z-index: -2; }
.hero-photo__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: hero-settle 2400ms var(--ease-out) both; }
@keyframes hero-settle { from { transform: scale(1.06); } }
.hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top, rgb(26 23 24 / 0.95) 0%, rgb(26 23 24 / 0.55) 28%, rgb(26 23 24 / 0) 55%),
    linear-gradient(to bottom, rgb(26 23 24 / 0.45) 0%, rgb(26 23 24 / 0) 18%); /* taste-skill-ignore: scrim under text on a photo */
}
.hero-photo__body {
  width: 100%; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 24px; align-items: end;
  padding: 140px var(--gutter) clamp(36px, 6svh, 64px);
  text-shadow: 0 1px 24px rgb(26 23 24 / 0.4); /* taste-skill-ignore: legibility on photos */
}
.hero-photo__title { grid-column: 1 / 8; display: grid; gap: 16px; }
.hero-photo__side { grid-column: 9 / 13; display: grid; gap: 20px; }
.hero-photo__place { font-size: var(--step-small); font-weight: 500; color: var(--gold); }
.hero-photo h1 { font-size: clamp(2.6rem, 1.1rem + 3.9vw, 5.25rem); font-weight: 400; line-height: 0.98; letter-spacing: -0.03em; }
.hero-photo__lede { font-size: var(--step-body); line-height: 1.5; color: var(--on-dark-soft); }
.hero-photo__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo .btn--ghost { color: var(--on-dark); }
.js .hero-photo__title > *, .js .hero-photo__side > * { animation: hero-rise 1000ms var(--ease-out) both; }
.js .hero-photo__title > :nth-child(2) { animation-delay: 80ms; }
.js .hero-photo__side > :nth-child(1) { animation-delay: 180ms; }
.js .hero-photo__side > :nth-child(2) { animation-delay: 260ms; }
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } }
@media (max-width: 1000px) {
  .hero-photo__title, .hero-photo__side { grid-column: 1 / -1; }
  .hero-photo__side { max-width: 34em; }
}
@media (max-width: 760px) {
  /* the photo takes the top of the screen; the words sit below the building, on the road */
  .hero-photo__bg { bottom: 30svh; }
  .hero-photo__bg img { object-position: 42% 50%; }
  .hero-photo::before { background: linear-gradient(to top, var(--paper) 0%, var(--paper) 30%, rgb(26 23 24 / 0.6) 44%, rgb(26 23 24 / 0) 60%), linear-gradient(to bottom, rgb(26 23 24 / 0.45) 0%, rgb(26 23 24 / 0) 18%); /* taste-skill-ignore: scrim under text on a photo */ }
  .hero-photo__body { padding-bottom: 32px; row-gap: 20px; }
}

/* ——— More than a cafe ——— */
.more { padding-block: var(--section) clamp(48px, 7vw, 96px); }
.more__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.more__grid h2 { grid-column: 1 / 7; font-size: var(--step-head); }
.more__text { grid-column: 8 / 13; display: grid; gap: 18px; }
.ways-index { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: clamp(48px, 7vw, 88px); }
.ways-index a {
  display: grid; gap: 10px; padding: 18px 0 0; text-decoration: none;
  font-family: var(--font-display); font-size: var(--step-lead); line-height: 1.15;
  border-top: 2px solid var(--sand); transition: border-color 300ms var(--ease-out), color 300ms var(--ease-out);
}
.ways-index a span { font-family: var(--font-text); font-size: var(--step-small); font-weight: 500; color: var(--gold); }
@media (hover: hover) and (pointer: fine) { .ways-index a:hover { border-color: var(--gold); } }
@media (max-width: 900px) {
  .more__grid { grid-template-columns: 1fr; gap: 24px; }
  .more__grid h2, .more__text { grid-column: 1; }
  .ways-index { grid-template-columns: 1fr 1fr; row-gap: 20px; }
}

/* ——— The five experiences: big photographs that change, words on top ——— */
@keyframes reel-fill { to { transform: scaleX(1); } }
.stage { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--on-dark); background: var(--paper); overflow: hidden; isolation: isolate; }
.stage__slides { position: absolute; inset: 0; z-index: -2; }
.stage__slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1400ms var(--ease-in-out), transform 7000ms linear;
}
.stage__slides img.is-on { opacity: 1; transform: scale(1); }
/* a soft scrim on the side the words sit, so they read on every photograph */
.stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top, rgb(26 23 24 / 0.9) 0%, rgb(26 23 24 / 0.55) 40%, rgb(26 23 24 / 0.1) 72%),
    linear-gradient(to right, rgb(26 23 24 / 0.7) 0%, rgb(26 23 24 / 0.25) 45%, rgb(26 23 24 / 0) 65%); /* taste-skill-ignore: scrim under text on a photo */
}
.stage--right::before {
  background:
    linear-gradient(to top, rgb(26 23 24 / 0.9) 0%, rgb(26 23 24 / 0.55) 40%, rgb(26 23 24 / 0.1) 72%),
    linear-gradient(to left, rgb(26 23 24 / 0.7) 0%, rgb(26 23 24 / 0.25) 45%, rgb(26 23 24 / 0) 65%); /* taste-skill-ignore: scrim under text on a photo */
}
.stage__body {
  width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  padding: 120px var(--gutter) clamp(36px, 6svh, 64px);
}
.stage--right .stage__body { flex-direction: row-reverse; }
.stage__text { max-width: 36rem; display: grid; gap: 16px; text-shadow: 0 1px 24px rgb(26 23 24 / 0.35); } /* taste-skill-ignore: legibility on photos */
.stage--right .stage__text { text-align: left; }
.stage__label { font-size: var(--step-small); font-weight: 500; color: var(--on-dark-soft); }
.stage__label span { color: var(--gold); }
.stage h1, .stage h2 { font-size: clamp(2.5rem, 1.3rem + 3.6vw, 5rem); font-weight: 400; line-height: 1; letter-spacing: -0.025em; margin-bottom: 4px; text-wrap: balance; }
.stage__lead { font-size: var(--step-lead); line-height: 1.4; }
.stage__text p:not(.stage__label):not(.stage__lead) { color: var(--on-dark-soft); }
.stage__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.stage .btn--ghost { color: var(--on-dark); }
.stage__nav { display: flex; gap: 6px; flex: none; }
.stage__nav button { width: 34px; height: 28px; padding: 0; background: none; border: 0; cursor: pointer; display: flex; align-items: center; }
.stage__nav i { position: relative; display: block; width: 100%; height: 2px; background: rgb(252 251 248 / 0.3); overflow: hidden; }
.stage__nav i::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.stage__nav button.is-done i::after { transform: scaleX(1); }
.stage__nav button[aria-current="true"] i::after { animation: reel-fill var(--stage-ms, 5000ms) linear forwards; }
.stage.is-paused .stage__nav button[aria-current="true"] i::after { animation-play-state: paused; }
@media (max-width: 760px) {
  .stage { min-height: 92svh; }
  .stage::before, .stage--right::before { background: linear-gradient(to top, rgb(26 23 24 / 0.94) 0%, rgb(26 23 24 / 0.78) 48%, rgb(26 23 24 / 0.4) 72%, rgb(26 23 24 / 0.15) 100%); /* taste-skill-ignore: scrim under text on a photo */ }
  .stage__body, .stage--right .stage__body { flex-direction: column-reverse; align-items: flex-start; gap: 22px; padding-bottom: 32px; }
  .stage__nav button { width: 26px; }
}

/* ——— The menu, passing by ——— */
.menu-reel { background: #120f0c; color: var(--on-dark); padding-block: clamp(72px, 10vw, 140px) clamp(56px, 7vw, 96px); overflow: hidden; }
.menu-reel__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 20px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.menu-reel__head h2 { grid-column: 1 / 6; font-size: var(--step-head); font-weight: 400; }
.menu-reel__head p { grid-column: 6 / 10; color: var(--on-dark-soft); }
.menu-reel__controls { grid-column: 10 / 13; display: flex; gap: 10px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  background: transparent; color: var(--on-dark); border: 1.5px solid rgb(252 251 248 / 0.35); font-size: 1.125rem;
  transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out), color 200ms var(--ease-out), transform 160ms var(--ease-out);
}
.round-btn:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .round-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); } }
.menu-reel__track {
  display: flex; gap: clamp(14px, 1.6vw, 24px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding-inline: var(--gutter); padding-bottom: 6px;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.menu-reel__track::-webkit-scrollbar { display: none; }
.dish { flex: 0 0 clamp(230px, 23vw, 340px); scroll-snap-align: start; display: grid; grid-template-columns: 1fr auto; gap: 12px 16px; align-items: baseline; }
.dish__photo { grid-column: 1 / -1; margin: 0; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--radius); background: #1c1611; }
.dish__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .dish:hover .dish__photo img { transform: scale(1.04); } }
.dish__name { font-family: var(--font-display); font-size: var(--step-lead); line-height: 1.15; }
.dish__price { color: var(--gold); font-size: var(--step-small); font-weight: 500; white-space: nowrap; }
.menu-reel__note { margin-top: 28px; font-size: var(--step-small); color: var(--on-dark-soft); }
@media (max-width: 900px) {
  .menu-reel__head { grid-template-columns: 1fr; }
  .menu-reel__head h2, .menu-reel__head p, .menu-reel__controls { grid-column: 1; }
  .menu-reel__controls { justify-content: flex-start; }
  .dish { flex-basis: 68vw; }
}

/* ——— Two spaces. One Meet me world. ——— */
.where { background: var(--white); color: var(--on-dark); padding-block: var(--section); }
.where__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: clamp(48px, 7vw, 88px); }
.where__head h2 { grid-column: 1 / 8; font-size: var(--step-head); }
.where__head p { grid-column: 9 / 13; color: var(--on-dark-soft); }
.map {
  position: relative;
  display: grid; grid-template-columns: 1fr minmax(96px, 160px) 1fr; grid-template-rows: auto auto;
  column-gap: clamp(16px, 3vw, 40px);
}
.map__place { position: relative; z-index: 1; padding: clamp(24px, 3vw, 40px); background: var(--green); border-radius: 12px; display: grid; gap: 16px; align-content: start; transition: background-color 300ms var(--ease-out); }
.map__place--a { grid-column: 1; grid-row: 1; }
.map__place--b { grid-column: 3; grid-row: 1; }
.map__place h3 { font-size: var(--step-title); }
.map__place ul { display: grid; gap: 6px; }
.map__place a { font-size: var(--step-lead); text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.map__place a::after { content: "→"; color: var(--gold); transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .map__place:hover { background: var(--green-deep); }
  .map__place a:hover::after { transform: translateX(4px); }
}
.map__pin { width: 18px; height: 18px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 25%, transparent); /* taste-skill-ignore: map marker halo */ }
.map__road {
  grid-column: 2; grid-row: 1; position: relative;
  background: repeating-linear-gradient(to bottom, transparent 0 18px, color-mix(in srgb, var(--on-dark) 40%, transparent) 18px 34px) center / 2px 100% no-repeat, color-mix(in srgb, var(--on-dark) 7%, transparent); /* taste-skill-ignore: road markings */
  border-radius: 6px;
}
.map__road-name { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); white-space: nowrap; font-size: var(--step-small); color: var(--on-dark-soft); background: var(--white); padding: 4px 10px; }
.map__link { position: absolute; left: 25%; right: 25%; top: 56px; height: 2px; z-index: 0; }
.map__link span { display: block; height: 100%; background: var(--gold); transform-origin: left; }
.js .map__link span { transform: scaleX(0); transition: transform 1400ms var(--ease-out) 200ms; }
.js .map.is-in .map__link span { transform: scaleX(1); }
.map__connect { grid-column: 1 / -1; grid-row: 2; justify-self: center; display: inline-flex; align-items: center; gap: 14px; margin-top: 36px; font-family: var(--font-display); font-size: var(--step-lead); }
.map__connect img { width: 44px; height: auto; }
.map__connect a { color: var(--gold); text-decoration: none; }
.where__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 48px; }
.where .btn--ghost { color: var(--on-dark); }
@media (max-width: 760px) {
  .where__head { grid-template-columns: 1fr; gap: 16px; }
  .where__head h2, .where__head p { grid-column: 1; }
  .map { grid-template-columns: 1fr; grid-template-rows: auto 72px auto auto; }
  .map__place--a { grid-column: 1; grid-row: 1; }
  .map__road { grid-column: 1; grid-row: 2; margin-inline: -4px;
    background: repeating-linear-gradient(to right, transparent 0 18px, color-mix(in srgb, var(--on-dark) 40%, transparent) 18px 34px) center / 100% 2px no-repeat, color-mix(in srgb, var(--on-dark) 7%, transparent); /* taste-skill-ignore: road markings */ }
  .map__road-name { transform: translate(-50%, -50%); }
  .map__place--b { grid-column: 1; grid-row: 3; }
  .map__connect { grid-row: 4; }
  .map__link { display: none; }
}

/* ——— Closing ——— */
.closing { position: relative; min-height: 88svh; display: flex; align-items: flex-end; color: var(--on-dark); overflow: hidden; }
.closing__bg { position: absolute; inset: 0; margin: 0; }
.closing__bg img { width: 100%; height: 100%; object-fit: cover; }
.closing__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(14 24 19 / 0.78), rgb(14 24 19 / 0.15) 60%); /* taste-skill-ignore: scrim under text on a photo */ }
.closing__body { position: relative; z-index: 1; display: grid; gap: 20px; justify-items: start; padding-block: clamp(56px, 8vw, 112px); }
.closing h2 { font-size: var(--step-head); max-width: 13em; font-weight: 400; }
.closing p { font-size: var(--step-lead); color: var(--on-dark-soft); }

/* ——— Footer: photograph half, menu half ——— */
.site-footer { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; background: #121011; color: var(--on-dark); }
.site-footer__photo { margin: 0; position: relative; overflow: hidden; }
.site-footer__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.site-footer__body { display: flex; flex-direction: column; gap: 56px; padding: clamp(48px, 6vw, 80px) var(--gutter) 28px clamp(28px, 6vw, 96px); }
.site-footer__brand { width: 180px; }
.footer-menu { display: grid; gap: 4px; }
.footer-menu a {
  display: inline-block; text-decoration: none;
  font-family: var(--font-display); font-size: var(--step-title); line-height: 1.3;
  transition: transform 300ms var(--ease-out), color 300ms var(--ease-out);
}
.footer-menu a small { font-family: var(--font-text); font-size: var(--step-small); color: var(--gold); margin-left: 10px; vertical-align: middle; }
@media (hover: hover) and (pointer: fine) {
  .footer-menu:hover a { color: var(--on-dark-soft); }
  .footer-menu a:hover { color: var(--gold); transform: translateX(12px); }
}
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; font-size: var(--step-small); color: var(--on-dark-soft); }
.site-footer__cols h3 { font-family: var(--font-text); font-size: var(--step-small); font-weight: 600; letter-spacing: 0; color: var(--on-dark); margin-bottom: 10px; }
.site-footer__cols a { color: var(--on-dark); }
.site-footer__cols li { margin-bottom: 4px; }
.site-footer__legal { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.8125rem; color: var(--on-dark-soft); }
@media (max-width: 860px) {
  .site-footer { grid-template-columns: 1fr; }
  .site-footer__photo { aspect-ratio: 4 / 3; }
  .site-footer__body { padding: 48px var(--gutter) 28px; }
}

/* ——— Floating WhatsApp ——— */
.wa-float {
  position: fixed; right: var(--gutter); bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--white); color: var(--ink); text-decoration: none; font-size: var(--step-small); font-weight: 500;
  outline: 1.5px solid color-mix(in srgb, var(--gold) 55%, transparent); outline-offset: -1.5px;
  transform: translateY(140%); transition: transform 500ms var(--ease-out), background-color 200ms var(--ease-out);
}
.wa-float.is-visible { transform: none; }
.wa-float svg { width: 22px; height: 22px; color: var(--gold); }
.wa-float:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { background: var(--sand); } }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 0 15px; } }

/* ——— Entrances (only when JS runs) ——— */
.js [data-reveal] > * { opacity: 0; transform: translateY(22px); }
.js [data-reveal].is-in > * {
  opacity: 1; transform: none;
  transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.js [data-reveal-img] { clip-path: inset(8% 8% 8% 8%); transform: scale(1.06); }
.js [data-reveal-img].is-in { clip-path: inset(0); transform: none; transition: clip-path 1100ms var(--ease-out), transform 1400ms var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] > *, .js [data-reveal-img] { opacity: 1; transform: none; clip-path: none; }
}

/* ——— Menu page ——— */
.menu-hero { padding-top: clamp(120px, 14vw, 180px); padding-bottom: clamp(32px, 4vw, 48px); display: grid; gap: 20px; }
.menu-hero__place { font-size: var(--step-small); font-weight: 500; color: var(--ink-soft); }
.menu-hero__place a { color: var(--gold); text-decoration: none; }
.menu-hero h1 { font-size: var(--step-display); font-weight: 400; line-height: 0.95; letter-spacing: -0.035em; }
.menu-hero__lede { font-size: var(--step-lead); line-height: 1.4; color: var(--ink-soft); max-width: 32em; }
.menu-hero__tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.menu-search { position: relative; flex: 1 1 320px; max-width: 460px; }
.menu-search svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--ink-soft); pointer-events: none; }
.menu-search input {
  width: 100%; min-height: 52px; padding: 0 20px 0 50px; border-radius: 999px;
  border: 1.5px solid color-mix(in srgb, var(--ink) 18%, transparent); background: var(--white); color: var(--ink);
  font: inherit; font-size: var(--step-body); transition: border-color 200ms var(--ease-out);
}
.menu-search input::placeholder { color: color-mix(in srgb, var(--ink-soft) 80%, transparent); }
.menu-search input:focus { outline: none; border-color: var(--gold); }
.menu-hero__note { font-size: var(--step-small); color: var(--ink-soft); }

.menu-nav {
  position: sticky; top: 76px; z-index: 30;
  display: flex; align-items: center; gap: 16px;
  padding: 12px var(--gutter); background: var(--paper);
  transition: top 400ms var(--ease-out);
}
.site-header.is-hidden ~ main .menu-nav { top: 0; }
.menu-nav__switch { display: inline-flex; flex: none; padding: 4px; border-radius: 999px; background: var(--sand); }
.menu-nav__switch a { min-height: 40px; padding: 0 18px; display: inline-flex; align-items: center; border-radius: 999px; text-decoration: none; font-size: var(--step-small); font-weight: 500; color: var(--ink-soft); transition: background-color 250ms var(--ease-out), color 250ms var(--ease-out); }
.menu-nav__switch a.is-on { background: var(--ink); color: var(--on-gold); }
.menu-nav__chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; mask-image: linear-gradient(to right, #000 92%, transparent); }
.menu-nav__chips::-webkit-scrollbar { display: none; }
.menu-nav__chips[hidden] { display: none; }
.menu-nav__chips a { flex: none; min-height: 40px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; text-decoration: none; font-size: var(--step-small); color: var(--ink-soft); white-space: nowrap; transition: background-color 250ms var(--ease-out), color 250ms var(--ease-out); }
.menu-nav__chips a.is-on { background: var(--gold); color: var(--on-gold); }
@media (hover: hover) and (pointer: fine) { .menu-nav__chips a:not(.is-on):hover, .menu-nav__switch a:not(.is-on):hover { color: var(--ink); } }

.menu-body { padding-bottom: var(--section); }
.menu-group { font-size: var(--step-head); font-weight: 400; padding-top: clamp(56px, 7vw, 96px); scroll-margin-top: 150px; }
.menu-group[hidden] { display: none; }
.msec { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 24px; padding-top: clamp(48px, 6vw, 80px); scroll-margin-top: 140px; }
.msec[hidden] { display: none; }
.msec__head { grid-column: 1 / -1; display: grid; gap: 10px; max-width: 46em; }
.msec__head h2 { font-size: var(--step-title); font-weight: 500; }
.msec__note { color: var(--ink-soft); font-size: var(--step-small); }
.msec__items { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 22px 48px; align-content: start; }
.msec--photo .msec__photo { grid-column: 1 / 5; grid-row: 2; align-self: start; position: sticky; top: 150px; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: #1c1611; }
.msec--photo .msec__photo img { width: 100%; height: 100%; object-fit: cover; }
.msec--photo .msec__items { grid-column: 5 / -1; grid-row: 2; }
.mi[hidden] { display: none; }
.mi__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.mi__name { font-family: var(--font-display); font-size: var(--step-lead); font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; }
.mi__price { flex: none; font-weight: 500; color: var(--gold); }
.mi__desc { margin-top: 4px; color: var(--ink-soft); font-size: var(--step-small); line-height: 1.5; max-width: 34em; }
.mi mark { background: color-mix(in srgb, var(--gold) 35%, transparent); color: inherit; border-radius: 2px; }
.menu-empty { padding-top: 48px; font-size: var(--step-lead); color: var(--ink-soft); }
.menu-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 48px var(--section); }
.menu-cta p { font-family: var(--font-display); font-size: var(--step-title); }
.menu-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) {
  .msec--photo .msec__photo { grid-column: 1 / -1; grid-row: auto; position: relative; top: auto; aspect-ratio: 16 / 10; }
  .msec--photo .msec__items { grid-column: 1 / -1; grid-row: auto; }
  .menu-nav { gap: 10px; padding-block: 10px; }
  .menu-nav__switch a { padding: 0 14px; }
}

/* ——— Section pages ——— */
.page-intro { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 24px; align-items: end; padding-block: var(--section) clamp(48px, 7vw, 96px); }
.page-intro h2 { grid-column: 1 / 7; font-size: var(--step-head); font-weight: 400; }
.page-intro__text { grid-column: 8 / 13; display: grid; gap: 18px; }
.page-intro__text .lead { color: var(--ink); }
.page-intro__text p:not(.lead) { color: var(--ink-soft); }
@media (max-width: 900px) { .page-intro { grid-template-columns: 1fr; } .page-intro h2, .page-intro__text { grid-column: 1; } }

/* photo + words, alternating; photos keep their own shape */
.rows { display: grid; gap: clamp(72px, 10vw, 140px); padding-bottom: var(--section); }
.row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 28px; align-items: center; }
.row__media { grid-column: 1 / 7; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--white); }
.row__media img { width: 100%; height: auto; }
.row__text { grid-column: 8 / 13; display: grid; gap: 16px; max-width: 32em; }
.row--flip .row__media { grid-column: 7 / 13; grid-row: 1; }
.row--flip .row__text { grid-column: 1 / 6; grid-row: 1; }
.row__label { font-size: var(--step-small); font-weight: 500; color: var(--gold); }
.row h2, .row h3 { font-size: var(--step-title); font-weight: 400; line-height: 1.1; }
.row__text p:not(.row__label) { color: var(--ink-soft); }
.row__text .btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.row__list { display: grid; gap: 8px; color: var(--ink-soft); }
.row__list li { display: flex; gap: 12px; }
.row__list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.62em; border-radius: 50%; background: var(--gold); }
.row__qr { width: 132px; height: auto; border-radius: 8px; background: #fff; padding: 8px; }
@media (max-width: 900px) {
  .row, .row--flip { grid-template-columns: 1fr; }
  .row__media, .row--flip .row__media, .row__text, .row--flip .row__text { grid-column: 1; grid-row: auto; }
}

/* small photo strip */
.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 6px; scrollbar-width: none; margin-bottom: var(--section); }
.strip::-webkit-scrollbar { display: none; }
.strip figure { flex: 0 0 auto; height: clamp(220px, 32vw, 420px); margin: 0; scroll-snap-align: start; overflow: hidden; border-radius: var(--radius); background: var(--white); }
.strip img { height: 100%; width: auto; }

/* courses */
.courses { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 16px; padding-bottom: var(--section); }
.course { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.4vw, 32px); background: var(--white); border-radius: 14px; }
.course--featured { background: var(--green); }
.course__tag { align-self: flex-start; padding: 4px 10px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-size: 0.8125rem; font-weight: 600; }
.course h3 { font-size: var(--step-title); font-weight: 400; line-height: 1.05; }
.course__meta { font-size: var(--step-small); color: var(--gold); font-weight: 500; }
.course__desc { color: var(--ink-soft); font-size: var(--step-small); }
.course ul { display: grid; gap: 6px; font-size: var(--step-small); }
.course ul li { display: flex; gap: 10px; }
.course ul li::before { content: "✓"; color: var(--gold); flex: none; }
.course__price { margin-top: auto; padding-top: 12px; font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 0.9vw, 2rem); white-space: nowrap; }
.course__price small { display: block; font-family: var(--font-text); font-size: var(--step-small); color: var(--ink-soft); }
.course .btn { width: 100%; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 16px; padding-bottom: var(--section); counter-reset: step; }
.step { padding: 26px; background: var(--white); border-radius: 14px; display: grid; gap: 10px; align-content: start; }
.step__n { font-family: var(--font-display); font-size: var(--step-title); color: var(--gold); line-height: 1; }
.step h3 { font-size: var(--step-lead); font-weight: 500; }
.step p { color: var(--ink-soft); font-size: var(--step-small); }

/* section heads on sub pages */
.sub-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 16px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.sub-head h2 { grid-column: 1 / 8; font-size: var(--step-head); font-weight: 400; }
.sub-head p { grid-column: 9 / 13; color: var(--ink-soft); }
@media (max-width: 900px) { .sub-head { grid-template-columns: 1fr; } .sub-head h2, .sub-head p { grid-column: 1; } }

/* WhatsApp enquiry forms */
.planner { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 32px; padding: clamp(28px, 4vw, 56px); margin-bottom: var(--section); background: var(--white); border-radius: 18px; }
.planner__intro { grid-column: 1 / 5; display: grid; gap: 16px; align-content: start; }
.planner__intro h2 { font-size: var(--step-title); font-weight: 400; line-height: 1.1; }
.planner__intro p { color: var(--ink-soft); }
.planner__intro a { color: var(--gold); }
.planner form { grid-column: 6 / 13; display: grid; gap: 22px; }
.field { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field legend { font-size: var(--step-small); font-weight: 500; color: var(--ink-soft); padding: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { position: relative; }
.choices input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choices span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid color-mix(in srgb, var(--ink) 22%, transparent); font-size: var(--step-small); transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out), color 200ms var(--ease-out); }
.choices input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.choices input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .choices label:hover span { border-color: var(--gold); } }
.planner input[type="text"], .planner input[type="date"], .planner input[type="number"], .planner select, .planner textarea {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: 10px;
  border: 1.5px solid color-mix(in srgb, var(--ink) 18%, transparent); background: var(--paper); color: var(--ink);
  font: inherit; font-size: var(--step-body); color-scheme: dark;
}
.planner textarea { min-height: 96px; padding: 12px 16px; resize: vertical; }
.planner input:focus, .planner select:focus, .planner textarea:focus { outline: none; border-color: var(--gold); }
.planner .btn { justify-self: start; min-height: 54px; padding: 0 26px; }
.planner__note { font-size: var(--step-small); color: var(--ink-soft); }
@media (max-width: 900px) { .planner { grid-template-columns: 1fr; } .planner__intro, .planner form { grid-column: 1; } .field-row { grid-template-columns: 1fr; } }

/* two places */
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: var(--section); }
.place { padding: clamp(24px, 3vw, 40px); background: var(--white); border-radius: 14px; display: grid; gap: 12px; align-content: start; }
.place h3 { font-size: var(--step-title); font-weight: 400; }
.place p { color: var(--ink-soft); }
@media (max-width: 760px) { .places { grid-template-columns: 1fr; } }

/* closing band */
.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(36px, 5vw, 64px); margin-bottom: var(--section); background: var(--green); border-radius: 18px; }
.cta-band h2 { font-size: var(--step-title); font-weight: 400; max-width: 18em; }
.cta-band .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn--ghost { color: var(--on-dark); }

/* live open / closed line */
.visit__status { display: inline-flex; align-items: center; gap: 8px; font-size: var(--step-small); font-weight: 500; color: var(--ink); }
.visit__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-soft); }
.visit__status.is-open::before { background: #5fb27f; }

/* WhatsApp choices (roastery) */
.wa-options { grid-column: 6 / 13; display: grid; gap: 10px; align-content: start; }
.wa-option {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 0 22px; border-radius: 12px; text-decoration: none;
  background: var(--paper); border: 1.5px solid color-mix(in srgb, var(--ink) 14%, transparent);
  font-family: var(--font-display); font-size: var(--step-lead);
  transition: border-color 200ms var(--ease-out), background-color 200ms var(--ease-out), transform 160ms var(--ease-out);
}
.wa-option::after { content: "WhatsApp →"; font-family: var(--font-text); font-size: var(--step-small); color: var(--gold); white-space: nowrap; }
.wa-option:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) { .wa-option:hover { border-color: var(--gold); } }
@media (max-width: 900px) { .wa-options { grid-column: 1; } }

/* coffee sizes */
.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.size { padding: clamp(24px, 3vw, 36px); background: var(--white); border-radius: 14px; display: grid; gap: 10px; align-content: start; }
.size--kilo { background: var(--green); }
.size__weight { font-family: var(--font-display); font-size: clamp(2.5rem, 1.6rem + 2.4vw, 4rem); line-height: 1; letter-spacing: -0.02em; }
.size p:not(.size__weight) { color: var(--ink-soft); }
.size--kilo p:not(.size__weight) { color: var(--on-dark); }
.sizes__actions { margin: 28px 0 var(--section); }
@media (max-width: 760px) { .sizes { grid-template-columns: 1fr; } }
