/* Beni, Rise & Shine. Layout: a full-screen photo with the white logo;
   below, big rounded photos swap sides on a 12-column grid. */
:root {
  --paper: #ffffff;      /* page background */
  --ink: #13022b;        /* Beni ink: text, wordmark, footer */
  --muted: #4b4160;      /* secondary text (9:1 on white) */
  --yolk: #fed16e;       /* buttons and highlights (ink on yolk 14:1) */
  --yolk-deep: #f7bb3b;  /* button hover */
  --sage: #9cc4a3;       /* hero cloth, decoration only (never text) */
  --sage-soft: #e6f0e7;  /* quiet sage tint */
  --error: #b3261e;      /* form errors (6.5:1 on white) */
  --pink: #fbe4e8;      /* Anna-Laura pâtisserie pink, for the pastry card */
  --line: rgba(19, 2, 43, 0.12);
  --on-ink: #ffffff;

  --sans: "Outfit", "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: max(1.25rem, env(safe-area-inset-left, 0px));
  --gutter-r: max(1.25rem, env(safe-area-inset-right, 0px));
  --header-h: 4.5rem;
  --radius: 1.5rem;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (min-width: 48rem) {
  :root { --gutter: max(3rem, env(safe-area-inset-left, 0px)); --gutter-r: max(3rem, env(safe-area-inset-right, 0px)); --header-h: 5.5rem; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);   /* 17px body */
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, p { margin: 0; }
main:focus { outline: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; left: var(--gutter); top: 0.75rem; z-index: 100;
  padding: 0.75rem 1rem; border-radius: 0.5rem; background: var(--ink); color: var(--on-ink);
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* A two-tone ring stays visible on white, sage, yolk and the ink footer. */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px var(--paper);
  border-radius: 0.25rem;
}

.label {
  display: inline-flex; align-items: center; gap: 0.6em;
  font: 700 0.8125rem/1.2 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- buttons ---------- */
.button {
  display: inline-flex; align-items: center; gap: 0.6em;
  min-height: 2.75rem; padding: 0.75rem 1.35rem;
  border: 0; border-radius: 0.65rem;
  background: var(--yolk); color: var(--ink);
  font: 700 0.875rem/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background-color 250ms ease, transform 250ms var(--ease-out);
}
.button:hover { background: var(--yolk-deep); }
.arrow { transition: transform 250ms var(--ease-out); }
.button:hover .arrow { transform: translateX(4px); }

.text-link {
  font-weight: 600; text-decoration: none;
  background: linear-gradient(var(--yolk), var(--yolk)) left 88% / 100% 0.4em no-repeat;
  transition: background-size 300ms var(--ease-out);
}
.text-link:hover { background-size: 100% 0.85em; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; gap: 1rem;
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--gutter-r) 0 var(--gutter);
  background: transparent;
  color: var(--ink);
  transition: height 350ms var(--ease-out), background-color 350ms ease, box-shadow 350ms ease;
}
.header.is-solid {
  --header-h: 3.75rem;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
}
.wordmark {
  margin-right: auto; display: block;
  transition: opacity 350ms ease;
}
.wordmark img { width: auto; height: 1.85rem; }
.header.is-solid .wordmark img { height: 1.6rem; }
.nav { display: none; gap: 1.75rem; }
.nav a, .drawer nav a { text-decoration: none; }
.nav a {
  font: 600 0.875rem/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase;
  padding-block: 0.5rem;
  background: linear-gradient(var(--yolk), var(--yolk)) left 80% / 0 0.45em no-repeat;
  transition: background-size 300ms var(--ease-out);
}
.nav a:hover, .nav a[aria-current] { background-size: 100% 0.45em; }
.header-button { padding-inline: 0.9rem; }
@media (min-width: 48rem) { .header-button { padding-inline: 1.1rem; } }

.burger {
  display: grid; place-content: center; gap: 7px;
  width: 2.75rem; height: 2.75rem; margin-right: -0.5rem;
  border: 0; background: none; color: inherit; cursor: pointer;
}
.burger i { display: block; width: 1.5rem; height: 2px; border-radius: 2px; background: currentColor; }

@media (min-width: 48rem) {
  .nav { display: flex; margin-right: 1rem; }
  .burger { display: none; }
}

/* On the home page the big wordmark lives in the hero until you scroll */
.page-index .header:not(.is-solid) .wordmark { opacity: 0; pointer-events: none; }
.page-index .header:not(.is-solid) { color: var(--on-ink); }
.page-index .header:not(.is-solid) :focus-visible { outline-color: var(--on-ink); box-shadow: 0 0 0 3px var(--ink); }

/* ---------- mobile drawer ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 30;
  display: flex; flex-direction: column;
  padding: calc(env(safe-area-inset-top, 0px) + 1rem) var(--gutter-r) calc(env(safe-area-inset-bottom, 0px) + 2rem) var(--gutter);
  background: var(--paper);
  transform: translateX(100%);
  transition: transform 450ms var(--ease-out);
  overflow-y: auto;
}
.drawer.is-open { transform: none; }
.drawer-close {
  align-self: flex-end; min-height: 2.75rem; padding: 0 0.25rem;
  border: 0; background: none; color: var(--ink); cursor: pointer;
  font: 700 0.875rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase;
}
.drawer nav { display: grid; gap: 0.75rem; justify-items: start; margin-block: auto; }
.drawer nav a {
  font: 800 clamp(2.5rem, 12vw, 3.75rem)/1.05 var(--sans); letter-spacing: -0.01em; text-transform: uppercase;
}
.drawer nav a[aria-current] {
  background: linear-gradient(var(--yolk), var(--yolk)) left 85% / 100% 0.35em no-repeat;
}
.drawer-foot { display: grid; gap: 1rem; justify-items: start; color: var(--muted); }
body.drawer-open { overflow: hidden; }

/* ---------- hero: one full-screen photo with the white logo on top ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center; text-align: center;
  height: 100vh; height: 100svh; min-height: 32rem; max-height: 64rem;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px)) var(--gutter-r) 3rem var(--gutter);
  background: var(--ink);
}
.slides { z-index: -1; }
.slides, .slide, .slide picture, .slide img { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide img { object-fit: cover; }
.slide { opacity: 0; transition: opacity 1800ms ease-in-out; }
.slide.is-on { opacity: 1; }
.slide.is-on img { animation: drift 8s ease-out both; }
@keyframes drift { from { transform: scale(1.05); } to { transform: none; } }
/* Shade the photo so the white logo and header stay readable on any picture */
.slides::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(19, 2, 43, 0.55), rgba(19, 2, 43, 0) 30%),
    radial-gradient(ellipse 70% 45% at 50% 52%, rgba(19, 2, 43, 0.45), rgba(19, 2, 43, 0.15));
}
.hero-mark {
  width: min(76vw, 30rem);
  filter: drop-shadow(0 0.25rem 1.5rem rgba(19, 2, 43, 0.45));
  animation: rise 1400ms 200ms var(--ease-out) both;
}
.hero-mark img { width: 100%; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
/* A small, quiet pause/play icon (required so the slideshow can be stopped) */
.pause {
  position: absolute; right: calc(var(--gutter-r) - 0.5rem); bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem; padding: 0;
  border: 0; background: none; color: var(--on-ink); cursor: pointer;
  opacity: 0.6; transition: opacity 200ms ease;
}
.pause:hover, .pause:focus-visible { opacity: 1; }
.pause svg { width: 0.9rem; height: 0.9rem; fill: currentColor; }
.pause .icon-play, .pause.is-paused .icon-pause { display: none; }
.pause.is-paused .icon-play { display: block; }

/* ---------- intro line ---------- */
.intro { padding: clamp(4rem, 12vw, 9rem) var(--gutter-r) clamp(4rem, 12vw, 8rem) var(--gutter); }
.intro p {
  max-width: 22ch; margin-inline: auto; text-align: center;
  font: 500 clamp(1.75rem, 5.4vw, 3.25rem)/1.18 var(--sans);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* ---------- photo blocks: supporting pictures, kept modest ---------- */
.block {
  display: grid; gap: 1.25rem;
  padding: 0 var(--gutter-r) clamp(3.5rem, 9vw, 6.5rem) var(--gutter);
  max-width: 68rem; margin-inline: auto;
}
.block-photo img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius); background: var(--sage-soft);
}
.block-text { display: grid; gap: 0.75rem; justify-items: start; }
.block-text .label::before {
  content: ""; width: 0.75em; height: 0.75em; border-radius: 50%; background: var(--yolk);
}
.statement {
  max-width: 20ch;
  font: 700 clamp(1.5rem, 4.2vw, 2.25rem)/1.15 var(--sans);
  letter-spacing: -0.015em; text-wrap: balance;
}
.block-text .text-link { margin-top: 0.4rem; }

@media (min-width: 48rem) {
  .block { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; align-items: center; }
  .block-photo img { aspect-ratio: 4 / 3; }
  .block-a .block-photo { grid-column: 2 / span 5; }
  .block-a .block-text { grid-column: 8 / span 4; }
  .block-b .block-photo { grid-column: 7 / span 5; grid-row: 1; }
  .block-b .block-text { grid-column: 2 / span 4; grid-row: 1; }
  .block-c .block-photo { grid-column: 3 / span 3; }
  .block-c .block-text { grid-column: 7 / span 5; }
  .block-c .block-photo img { aspect-ratio: 1; border-radius: 50%; }
}

/* ---------- inner page heading: the sage cloth again ---------- */
.page-head {
  display: grid; gap: 1rem; justify-items: start;
  padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 2.5rem) var(--gutter-r) clamp(3rem, 8vw, 4.5rem) var(--gutter);
  border-radius: 0 0 var(--radius) var(--radius);
  background-color: var(--sage);
}
.page-title {
  font: 800 clamp(3.5rem, 16vw, 7.5rem)/0.9 var(--sans);
  letter-spacing: -0.03em; text-transform: uppercase;
}
.menu-notes { display: grid; gap: 0.25rem; max-width: 40rem; font-weight: 500; }

/* ---------- menu: section shortcuts ---------- */
html:has(.page-menu) { scroll-padding-top: calc(3.75rem + 3.75rem + 1.5rem + env(safe-area-inset-top, 0px)); }
.jump {
  position: sticky; top: calc(3.75rem + env(safe-area-inset-top, 0px)); z-index: 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.jump-track {
  display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none;
  padding: 0.75rem var(--gutter-r) 0.75rem var(--gutter);
}
.jump-track::-webkit-scrollbar { display: none; }
.jump a {
  flex: none; display: inline-flex; align-items: center; min-height: 2.25rem; padding: 0 0.9rem;
  border: 1.5px solid var(--line); border-radius: 999px;
  font: 600 0.875rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color 200ms ease, border-color 200ms ease;
}
.jump a:hover { border-color: var(--ink); }
.jump a.is-current { background: var(--yolk); border-color: var(--yolk); }

/* ---------- menu: sections and dishes ---------- */
.menu {
  display: grid; gap: clamp(3.5rem, 8vw, 5.5rem);
  padding: clamp(3rem, 8vw, 5rem) var(--gutter-r) clamp(5rem, 12vw, 8rem) var(--gutter);
  max-width: 78rem; margin-inline: auto;
}
.menu-section { display: grid; gap: 1.25rem; align-content: start; }
.menu-title {
  justify-self: start;
  padding: 0.45em 1em 0.4em; border-radius: 999px;
  background: var(--yolk);
  font: 800 clamp(1.25rem, 4vw, 1.625rem)/1 var(--sans);
  letter-spacing: 0.02em; text-transform: uppercase;
}
.menu-note { max-width: 60ch; color: var(--muted); }
.dishes { display: grid; gap: 1.75rem 4rem; margin: 0.5rem 0 0; padding: 0; list-style: none; }
.dish { display: grid; gap: 0.3rem; min-width: 0; }
.dish-head { display: flex; align-items: baseline; gap: 0.5rem; }
.dish-name {
  margin: 0; font: 700 1.1875rem/1.3 var(--sans);
  background: linear-gradient(var(--yolk), var(--yolk)) left 88% / 0 0.4em no-repeat;
  transition: background-size 300ms var(--ease-out);
}
.dish:hover .dish-name { background-size: 100% 0.4em; }
.price {
  margin-left: auto; padding-left: 0.75rem;
  font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap;
}
.dish-text { max-width: 60ch; color: var(--muted); }
.extras { display: grid; gap: 0.15rem; margin: 0.25rem 0 0; padding: 0; list-style: none; font-size: 0.9375rem; }
.extras li { display: flex; gap: 0.5rem; }
.extras li::before { content: "+"; font-weight: 700; color: var(--ink); }
.extras .price { margin-left: 0; padding-left: 0; font-weight: 600; }
.tag {
  display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.35rem; padding: 0 0.3rem;
  border: 1.5px solid var(--sage); border-radius: 999px;
  font: 700 0.6875rem/1 var(--sans); letter-spacing: 0.04em; text-decoration: none;
}
.legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 0.5rem; font-size: 0.9375rem; }

/* Sides and extras: a tight list of name and price */
.menu-compact .dishes { gap: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); column-gap: 3rem; }
.menu-compact .dish { padding-block: 0.6rem; border-bottom: 1px dashed var(--line); }
.menu-compact .dish-name { font-size: 1.0625rem; font-weight: 600; }

/* A section with only words (the pastry case) becomes a card */
.menu-callout {
  padding: clamp(1.75rem, 5vw, 3rem); border-radius: var(--radius);
  background: var(--pink);
}
.menu-callout .menu-note { color: var(--ink); font-size: 1.125rem; max-width: 52ch; }
.menu-callout .menu-title { background: var(--paper); }
.menu-callout { justify-items: start; }
.section-logo { width: min(100%, 24rem); height: auto; }
/* When a section shows its own logo, the logo says the name; keep the heading for screen readers */
.section-logo + .menu-title {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; padding: 0;
}

@media (min-width: 60rem) {
  .menu-full .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.page-intro { max-width: 36rem; font-size: 1.1875rem; font-weight: 500; }
.section-title {
  font: 800 clamp(1.75rem, 5vw, 2.5rem)/1.05 var(--sans);
  letter-spacing: -0.02em; text-transform: uppercase;
}
.label::before { content: none; }
.contact-side .label, .visit-details .label, .getting-here .label {
  margin-bottom: 0.4rem;
}

/* ---------- contact ---------- */
.contact {
  display: grid; gap: 3rem;
  max-width: 68rem; margin-inline: auto;
  padding: clamp(2.5rem, 7vw, 4.5rem) var(--gutter-r) clamp(4rem, 10vw, 7rem) var(--gutter);
}
.contact-form { display: grid; gap: 1.25rem; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 0.8rem 1rem;
  border: 1.5px solid var(--muted); border-radius: 0.65rem;
  background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.5 var(--sans);   /* 17px: phones won't zoom in */
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus-visible, .field textarea:focus-visible { border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field-error { color: var(--error); font-size: 0.9375rem; font-weight: 600; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-actions .button { font-size: 0.9375rem; cursor: pointer; }
.form-actions .button:disabled { opacity: 0.6; cursor: progress; }
.form-status { flex: 1 1 16rem; min-width: 0; font-weight: 500; }
.form-sent {
  display: none; gap: 0.5rem; padding: 2rem; border-radius: var(--radius);
  background: var(--sage-soft);
}
.form-sent:target, .form-sent.is-shown { display: grid; }
.form-sent:target + .contact-form { display: none; }
.form-sent h2 { font: 700 1.5rem/1.2 var(--sans); }
.contact-side {
  display: grid; gap: 1.5rem; align-content: start;
  padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: var(--radius);
  background: var(--sage-soft);
}
.contact-side .hours span, .visit .hours span { display: inline-block; min-width: 5.5em; color: var(--muted); }
@media (min-width: 56rem) { .contact { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 4rem; } }

/* ---------- visit ---------- */
.visit {
  display: grid; gap: 2.5rem;
  max-width: 72rem; margin-inline: auto;
  padding: clamp(2.5rem, 7vw, 4.5rem) var(--gutter-r) 0 var(--gutter);
}
.visit-details { display: grid; gap: 1.75rem; align-content: start; justify-items: start; }
.visit-details address { font-style: normal; font-size: 1.1875rem; font-weight: 600; max-width: 22ch; }
.visit-details p + p { margin-top: 0.25rem; }
.closures { margin: 0.75rem 0 0; padding: 0.75rem 1rem; list-style: none; border-radius: 0.65rem; background: var(--yolk); font-weight: 600; }
.visit-map iframe {
  display: block; width: 100%; aspect-ratio: 4 / 3; border: 0;
  border-radius: var(--radius); background: var(--sage-soft);
}
@media (min-width: 56rem) {
  .visit { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 4rem; }
  .visit-map iframe { aspect-ratio: auto; height: 100%; min-height: 26rem; }
}
.offers, .getting-here {
  display: grid; gap: 1.75rem; justify-items: start;
  max-width: 72rem; margin-inline: auto;
  padding: clamp(4rem, 10vw, 6rem) var(--gutter-r) 0 var(--gutter);
}
.offer-list {
  display: grid; gap: 1rem; width: 100%; margin: 0; padding: 0; list-style: none;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.offer {
  display: grid; gap: 0.5rem; align-content: start;
  padding: 1.5rem; border-radius: var(--radius);
  border: 1.5px solid var(--line);
}
.offer h3 { margin: 0; display: flex; gap: 0.6rem; align-items: baseline; font: 700 1.1875rem/1.25 var(--sans); }
.offer h3::before { content: ""; flex: none; width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--yolk); }
.offer p { color: var(--muted); }
.offer-logo { background: var(--pink); border-color: transparent; }
.offer-logo p { color: var(--ink); }
.offer-img { width: min(100%, 13rem); height: auto; margin-bottom: 0.5rem; }
.getting-here, .offers:last-child { padding-bottom: clamp(4rem, 10vw, 7rem); }
.getting-here dl {
  display: grid; gap: 1.5rem 3rem; width: 100%; margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.getting-here dd { margin: 0; }
.here-text { max-width: 44rem; font-size: 1.1875rem; line-height: 1.6; }

/* ---------- footer ---------- */
.footer {
  display: grid; gap: 2.25rem;
  padding: 4.5rem var(--gutter-r) calc(env(safe-area-inset-bottom, 0px) + 3rem) var(--gutter);
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--ink); color: #e8e4f0;
}
.footer-mark img { width: 10rem; }
.footer .label { margin-bottom: 0.75rem; color: var(--yolk); }
.footer address { font-style: normal; max-width: 22ch; }
.footer a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.footer a:hover { color: var(--yolk); }
.footer p + p { margin-top: 0.25rem; }
.hours { margin: 0; padding: 0; list-style: none; font-variant-numeric: tabular-nums; }
.hours span { display: inline-block; min-width: 5.5em; color: #b9b0c9; }
.hours .closure { margin-top: 0.5rem; color: var(--yolk); }
.footer :focus-visible { outline-color: var(--yolk); box-shadow: 0 0 0 3px var(--ink); }
@media (min-width: 48rem) {
  .footer { grid-template-columns: 1.4fr repeat(3, 1fr); column-gap: 2rem; align-items: start; }
  .footer-reserve { grid-column: 1 / -1; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.14); }
}

/* ---------- scroll reveal (only for things that start off-screen) ---------- */
.will-reveal { opacity: 0; transform: translateY(16px); }
.will-reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 550ms var(--ease-out), transform 550ms var(--ease-out);
}

/* ---------- reduced motion: everything still, shown at once ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .will-reveal { opacity: 1; transform: none; }
}
