/* ---------- Fonts (self-hosted, Greek + Latin subsets) ----------
   Headings use Arial Bold from the visitor's device (iPhone, Mac, Windows). Android has no
   Arial, so it gets Arimo (same proportions, free); browsers only download it when needed. */
@font-face {
  font-family: "Arimo"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/display-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Arimo"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Commissioner"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/assets/fonts/text-greek.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Commissioner"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("/assets/fonts/text-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  /* Palette from coolors.co/4a7693-f1fffa-6b2737-fca311-db9d47. The token names come from the
     first palette and are kept so the rules below read the same; the comments say what each is now. */
  --stone: #F1FFFA;   /* mint cream: main surface */
  --sand: #ECE9D3;    /* second surface: stone mixed with 22% ochre (warm, so the hero photo stays warm) */
  --marine: #6B2737;  /* wine: signature, dark sections with light text */
  --fjord: #DB9D47;   /* ochre: decoration and the reviews band; never text on light surfaces (2.3:1) */
  --mist: #E1E5E3;    /* secondary text on wine (8.4:1) */
  --rodi: #4A7693;    /* steel blue: accent, buttons, CTA band (white text 4.9:1) */
  --sun: #FCA311;     /* orange: small highlights on wine only (5.3:1); never on light surfaces */
  --ink: #1B2430;
  --muted: #50575E;
  --quiet: #69655F;   /* resting text on stone, AA 4.8:1 */

  --display: Arial, "Arimo", sans-serif;
  --text: "Commissioner", system-ui, sans-serif;

  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.4rem, 1.2rem + .8vw, 1.85rem);
  --step-3: clamp(1.85rem, 1.4rem + 2vw, 3rem);
  --step-4: clamp(2.4rem, 1.5rem + 3.8vw, 4.75rem);
  --step-5: clamp(3rem, 1.4rem + 6.6vw, 7.25rem);

  --gutter: clamp(1.25rem, 4.5vw, 4.5rem);
  --section: clamp(5rem, 11vw, 10rem);
  --max: 90rem;
  --measure: 34em;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr: 4.25rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { accent-color: var(--rodi); caret-color: var(--rodi); scrollbar-color: color-mix(in srgb, var(--ink) 45%, transparent) var(--stone); scroll-behavior: smooth; scroll-padding-top: var(--hdr); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--stone); color: var(--ink);
  font-family: var(--text); font-size: var(--step-0); font-weight: 380; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.1; }
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--rodi); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--rodi); color: #fff; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 50; background: var(--ink); color: var(--stone); padding: .7rem 1.1rem; border-radius: 10px; }
.skip:focus { top: 1rem; }
.ph { font-style: italic; color: var(--muted); }

.sec { padding: var(--section) var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .75rem 1.5rem; border: 1.5px solid transparent; border-radius: 999px;
  font-family: var(--text); font-size: 1rem; font-weight: 560; line-height: 1.1; text-decoration: none;
  cursor: pointer; transition: color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--fill, var(--ink)); transform: translateY(101%);
  transition: transform .35s var(--ease);
}
.btn:focus-visible::before { transform: none; }
@media (hover: hover) { .btn:hover::before { transform: none; } }
.btn:active { transform: scale(.97); }
.btn-lg { min-height: 3.5rem; padding: .9rem 1.8rem; font-size: 1.05rem; }
.btn-rodi { background: var(--rodi); color: #fff; --fill: var(--ink); }
.btn-ink { background: var(--marine); color: var(--stone); --fill: var(--rodi); }
.btn-ink:focus-visible { color: #fff; }
@media (hover: hover) { .btn-ink:hover { color: #fff; } }
.btn-line { border-color: currentColor; background: transparent; color: var(--ink); --fill: var(--ink); }
.btn-line:focus-visible { color: var(--stone); border-color: var(--ink); }
@media (hover: hover) { .btn-line:hover { color: var(--stone); border-color: var(--ink); } }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 30; height: var(--hdr);
  display: flex; align-items: center; gap: 1.5rem; padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--stone) 96%, transparent);
  transition: transform .4s var(--ease), box-shadow .3s;
}
.hdr.scrolled { box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 12%, transparent); }
.hdr.hide { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.25rem; white-space: nowrap; }
.brand img { width: 26px; }
.brand { min-width: 0; } .brand > span { overflow: hidden; text-overflow: ellipsis; } /* safety net: never slide under the call button */
.nav { display: none; margin-left: auto; }
.nav ul { display: flex; gap: clamp(1rem, 3.75vw - 1.75rem, 1.75rem); }
.nav a, .hdr-cta { white-space: nowrap; }
.nav a { position: relative; text-decoration: none; font-size: .98rem; color: var(--muted); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.3rem; height: 2px; background: var(--rodi); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a[aria-current="true"] { color: var(--ink); }
@media (hover: hover) { .nav a:hover { color: var(--ink); } }
.nav a[aria-current="true"]::after { transform: scaleX(1); }
@media (hover: hover) { .nav a:hover::after { transform: scaleX(1); } }
.hdr-cta { display: none; min-height: 2.6rem; padding: .5rem 1.15rem; font-size: .95rem; }
.hdr-call {
  flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: .45rem; min-height: 3rem; padding: 0 1.1rem;
  border-radius: 999px; background: var(--rodi); color: #fff; font-weight: 560; font-size: .98rem; text-decoration: none;
  transition: background-color .3s var(--ease), transform .3s var(--ease);
}
.hdr-call svg { width: 1.1rem; height: 1.1rem; }
.hdr-call:active { transform: scale(.97); }
@media (hover: hover) { .hdr-call:hover { background: var(--ink); } }
@media (max-width: 519px) { .hdr { gap: .75rem; } .brand { font-size: clamp(.85rem, (100vw - 186px) / 11.9, 1.05rem); } /* the name is ~11.3em of Arial Bold; 186px = padding, two buttons, gaps, logo */ .hdr-call { width: 3rem; padding: 0; justify-content: center; } .hdr-call span { display: none; } }
@media (max-width: 359px) { .hdr { gap: .5rem; } .brand { font-size: .85rem; } .brand img { display: none; } }
.burger { flex: none; width: 3rem; height: 3rem; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--marine); cursor: pointer; }
.burger-lines, .burger-lines::before, .burger-lines::after { display: block; width: 18px; height: 2px; background: var(--stone); border-radius: 2px; transition: transform .3s var(--ease), background-color .2s; }
.burger-lines { position: relative; }
.burger-lines::before, .burger-lines::after { content: ""; position: absolute; left: 0; }
.burger-lines::before { top: -6px; } .burger-lines::after { top: 6px; }
.burger[aria-expanded="true"] .burger-lines { background: transparent; }
.burger[aria-expanded="true"] .burger-lines::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-lines::after { transform: translateY(-6px) rotate(-45deg); }
.mnav {
  position: fixed; inset: var(--hdr) 0 auto 0; height: calc(100dvh - var(--hdr));
  background: var(--marine); color: var(--stone); padding: 2rem var(--gutter); overflow-y: auto;
}
.mnav[hidden] { display: none; }
.mnav ul { display: grid; gap: .25rem; }
.mnav a { display: block; padding: .35rem 0; font-family: var(--display); font-weight: 700; font-size: clamp(2.1rem, 8.5vw, 2.9rem); line-height: 1.1; text-decoration: none; }
.mnav li:last-child a { color: var(--sun); }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; display: grid; gap: 2rem;
  padding: 1rem var(--gutter) clamp(3rem, 7vw, 6rem);
  max-width: var(--max); margin: 0 auto;
}
.hero-art { position: relative; height: min(62vw, 30rem); }
.hero-block { position: absolute; inset: 0 0 0 12%; overflow: hidden; background: var(--sand); border-radius: 50vw 50vw 1.5rem 1.5rem; }
/* multiply turns the photo's white studio wall into sand, so the arch still reads against the stone page */
.hero-photo { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; mix-blend-mode: multiply; }
.shape { position: absolute; }
.shape { will-change: transform; } /* main.js moves them with the scroll */
.shape-rodi { width: 34%; left: 0; bottom: 4%; }
.shape-leaf { width: 12%; right: 6%; top: 10%; rotate: 28deg; }
.shape-ring { width: 40%; right: -6%; bottom: -8%; }

.hero-role { color: var(--muted); font-size: var(--step--1); line-height: 1.4; margin-bottom: 1.25rem; }
.hero-title { font-size: var(--step-5); font-weight: 700; line-height: .96; letter-spacing: -0.03em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: inline-block; }
.hero-title .line-thin { font-weight: 400; }
@media (max-width: 699px) { .hero { gap: 1.5rem; } }
/* The copy column is a size container, so a long word in the title (set in the CMS) shrinks the title
   instead of pushing the page wider. --title-em is the widest unbreakable piece, estimated in page.mjs. */
.hero-copy { container-type: inline-size; min-width: 0; }
.hero-title { font-size: min(var(--step-5), 96cqi / var(--title-em, 1)); }
.hero-lede { max-width: 30em; margin-top: 1.75rem; font-size: var(--step-1); line-height: 1.5; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.status { display: flex; align-items: center; gap: .6rem; margin-top: 1.25rem; font-size: .95rem; color: var(--muted); }
.status:empty { display: none; }
.status::before { content: ""; flex: none; width: .6rem; height: .6rem; border-radius: 50%; background: var(--fjord); }
.status.is-open::before { background: var(--rodi); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.hero-facts { display: grid; gap: .25rem; padding-top: 1.25rem; border-top: 1.5px solid var(--ink); font-size: .95rem; color: var(--muted); }
.hero-facts strong { color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 1.5rem; margin-right: .35rem; }

/* load sequence: the one orchestrated moment */
.js .hero-title .line > span { transform: translateY(105%); animation: rise .6s var(--ease) forwards; }
.js .hero-title .line:nth-child(2) > span { animation-delay: .06s; }
.js .hero-title .line:nth-child(3) > span { animation-delay: .12s; }
.js .hero-block { transform: translateY(5%); animation: settle .6s var(--ease) forwards; } /* no fade: the photo is the LCP element */
.js .shape { opacity: 0; animation: pop .5s .2s var(--ease) forwards; }
.js .shape-leaf { animation-delay: .3s; } .js .shape-ring { animation-delay: .35s; }
@keyframes rise { to { transform: none; } }
@keyframes settle { to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; scale: .85; } to { opacity: 1; scale: 1; } }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; translate: 0 16px; transition: opacity .5s var(--ease), translate .5s var(--ease); }
.js [data-reveal].in { opacity: 1; translate: 0 0; }

/* ---------- About ---------- */
.about { display: grid; gap: 3rem; max-width: var(--max); margin: 0 auto; }
.about-photo { margin: 0; position: relative; max-width: 26rem; }
.arch { position: relative; aspect-ratio: 4 / 5; border-radius: 50vw 50vw 1.25rem 1.25rem; background: var(--fjord); overflow: hidden; display: grid; place-items: center; }
.arch img { width: 58%; filter: brightness(0) invert(1); opacity: .85; transition: transform .8s var(--ease); }
@media (hover: hover) { .about-photo:hover .arch img { transform: scale(1.05) rotate(-3deg); } }
.arch .arch-photo { width: 100%; height: 100%; object-fit: cover; filter: none; opacity: 1; }
@media (hover: hover) { .about-photo:hover .arch .arch-photo { transform: scale(1.03); } }
.about-photo::after { content: ""; position: absolute; width: 28%; aspect-ratio: 1; right: -6%; bottom: 14%; border-radius: 50%; background: var(--rodi); }
.about-photo figcaption { margin-top: .9rem; font-size: .9rem; }
.about-title { font-size: var(--step-4); }
.about-pull { margin-top: 2rem; max-width: 18em; font-family: var(--display); font-weight: 400; font-size: var(--step-3); line-height: 1.12; color: var(--marine); }
.about-text { margin-top: 2rem; max-width: var(--measure); display: grid; gap: 1rem; color: var(--muted); }
.principles { margin-top: 2.5rem; border-top: 1.5px solid var(--ink); }
.principles li { display: grid; gap: .25rem; padding: 1rem 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.p-name { font-family: var(--display); font-weight: 700; font-size: 1.7rem; line-height: 1; }
.principles li > span:last-child { color: var(--muted); }

/* Shared entry animation for panels that open */
@keyframes drop { from { opacity: 0; translate: 0 -8px; } }

.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn:disabled::before { display: none; }

/* ---------- Useful (stone): the balanced plate ---------- */
.useful { max-width: var(--max); margin: 0 auto; display: grid; gap: 3.5rem; }
.useful-title { max-width: 9em; }
.plate-wrap { display: grid; gap: 2rem; align-items: center; }
.plate-copy h3 { font-size: var(--step-3); }
.plate-copy > p { margin-top: 1rem; color: var(--muted); max-width: 28em; }
.plate-info { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1.5px solid var(--ink); min-height: 9rem; }
.pi-name { font-family: var(--display); font-weight: 700; font-size: 1.8rem; line-height: 1; margin-bottom: .5rem; }
.plate { max-width: 34rem; justify-self: center; width: 100%; }
.plate svg { overflow: visible; }
.seg { cursor: pointer; transform-box: fill-box; transform-origin: center; transition: transform .35s var(--ease), opacity .3s; outline: none; }
@media (hover: hover) { .seg:hover { transform: scale(1.03); } }
.seg[aria-pressed="true"] { transform: scale(1.05); stroke: var(--ink); stroke-width: 4; }
.seg-oil { stroke: var(--stone); stroke-width: 4; }
.seg-oil[aria-pressed="true"] { stroke: var(--rodi); stroke-width: 6; }
.seg:focus-visible { stroke: var(--ink); stroke-width: 6; stroke-dasharray: 8 5; }
.seg-oil:focus-visible { stroke: #fff; }
.plate-label { font-family: var(--display); font-weight: 700; font-size: 22px; fill: var(--ink); pointer-events: none; text-anchor: middle; }
.plate-label-light { fill: #fff; }

/* ---------- Recipes (sand) ---------- */
.recipes { background: var(--sand); display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.recipes-head p { margin-top: 1rem; max-width: 30em; color: var(--muted); font-size: var(--step-1); line-height: 1.45; }
.rcp-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.rc-rodi { --rc: var(--rodi); --rc-ink: #fff; }
.rc-fjord { --rc: var(--fjord); --rc-ink: var(--ink); }
.rc-marine { --rc: var(--marine); --rc-ink: #fff; }
.rcp {
  position: relative; display: flex; flex-direction: column; background: var(--stone); border-radius: 2rem; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.rcp:has(.rcp-open:focus-visible) { outline: 3px solid var(--rodi); outline-offset: 4px; }
.rcp-art { position: relative; aspect-ratio: 4 / 3; background: var(--rc); color: var(--rc-ink); overflow: hidden; display: grid; place-items: center; }
.rcp-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
/* Without a photo: a plate seen from above, with a few "ingredients" on it. */
.rcp-plate {
  position: relative; width: 58%; aspect-ratio: 1; border-radius: 50%;
  background: color-mix(in srgb, var(--rc-ink) 12%, transparent);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--rc-ink) 40%, transparent);
  transition: transform 1s var(--ease);
}
.rcp-plate::before { content: ""; position: absolute; inset: 15%; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--rc-ink) 45%, transparent); }
.rcp-plate::after {
  content: ""; position: absolute; width: 16%; aspect-ratio: 1; left: 30%; top: 34%; border-radius: 50%; background: var(--rc-ink);
  box-shadow: 3.2em 0.6em 0 -0.15em var(--sun), 1.4em 2.4em 0 0.1em color-mix(in srgb, var(--rc-ink) 55%, transparent);
  font-size: clamp(.8rem, 1.6vw, 1.05rem); opacity: .9;
}
.rcp-num { position: absolute; left: 1.4rem; top: 1.1rem; font-family: var(--display); font-weight: 700; font-size: .95rem; letter-spacing: .06em; }
.rcp-body { display: flex; flex-direction: column; gap: .6rem; flex: 1; padding: 1.5rem 1.6rem 1.75rem; }
.rcp-cat { font-size: .78rem; font-weight: 620; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rcp h3 { font-size: var(--step-2); line-height: 1.08; }
.rcp-desc { color: var(--muted); font-size: .98rem; line-height: 1.5; }
.rcp-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.rcp-tags li { padding: .2rem .65rem; border-radius: 999px; background: var(--sand); font-size: .8rem; }
.rcp-meta { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; font-size: .9rem; }
.rcp-body .rcp-meta { margin-top: auto; padding-top: .4rem; }
.rcp-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.rcp-meta svg { width: 1.05rem; height: 1.05rem; flex: none; }
.rcp-open {
  align-self: flex-start; margin-top: .6rem; padding: 0; border: 0; background: none; cursor: pointer;
  font-weight: 620; text-decoration: underline; text-decoration-color: var(--rc); text-decoration-thickness: 3px; text-underline-offset: .35em;
}
.rcp-open::after { content: ""; position: absolute; inset: 0; } /* the whole card opens the recipe */
.rcp-open:focus-visible { outline: none; }
@media (hover: hover) {
  .rcp:hover { transform: translateY(-6px); box-shadow: 0 34px 50px -34px color-mix(in srgb, var(--ink) 60%, transparent); }
  .rcp:hover .rcp-plate { transform: rotate(-20deg) scale(1.05); }
  .rcp:hover .rcp-art img { transform: scale(1.04); }
}

/* The full recipe */
html:has(.rcp-dlg[open]) { overflow: hidden; }
.rcp-dlg {
  width: min(56rem, 100% - 2rem); max-width: none; max-height: min(90dvh, 62rem); padding: 0; border: 0; border-radius: 2rem;
  background: var(--stone); color: var(--ink); overflow: auto; overscroll-behavior: contain;
  box-shadow: 0 40px 80px -30px color-mix(in srgb, var(--ink) 70%, transparent);
}
.rcp-dlg::backdrop { background: color-mix(in srgb, var(--ink) 55%, transparent); backdrop-filter: blur(4px); }
.rcp-dlg[open] { animation: dlg-in .45s var(--ease); }
@keyframes dlg-in { from { opacity: 0; translate: 0 28px; } }
.rcp-dlg-photo { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.rcp-dlg-head { position: relative; background: var(--rc); color: var(--rc-ink); padding: clamp(1.75rem, 4vw, 3rem); padding-right: 5.5rem; }
.rcp-dlg-head .rcp-cat { color: inherit; opacity: .85; }
.rcp-dlg-head h3 { margin-top: .5rem; max-width: 15em; font-size: var(--step-3); line-height: 1.02; }
.rcp-dlg-head .rcp-meta { margin-top: 1.1rem; }
.rcp-close {
  position: absolute; top: 1.25rem; right: 1.25rem; display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0;
  border-radius: 50%; border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.rcp-close svg { width: 1.2rem; height: 1.2rem; }
@media (hover: hover) { .rcp-close:hover { background: var(--rc-ink); color: var(--rc); } }
.rcp-close:focus-visible { outline-color: var(--rc-ink); }
.rcp-dlg-body { display: grid; gap: 2rem; padding: clamp(1.5rem, 4vw, 3rem); }
.rcp-dlg h4 { margin: 0 0 .9rem; font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.1; }
.rcp-ing li { display: flex; gap: .7rem; padding: .55rem 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 13%, transparent); line-height: 1.45; }
.rcp-ing li::before { content: ""; flex: none; width: .45rem; height: .45rem; margin-top: .55em; border-radius: 50%; background: var(--rc); }
.rcp-steps ol { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 1.1rem; }
.rcp-steps li { counter-increment: step; display: grid; grid-template-columns: 2.2rem 1fr; gap: .85rem; line-height: 1.5; }
.rcp-steps li::before {
  content: counter(step); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--rc); color: var(--rc-ink); font-family: var(--display); font-weight: 700;
}
.rcp-steps li > span { padding-top: .25rem; }
.rcp-tip { padding: 1.25rem 1.5rem; border-radius: 1.25rem; background: var(--sand); }
.rcp-tip-t { margin-bottom: .3rem; font-family: var(--display); font-weight: 700; font-size: 1.1rem; }
@media (min-width: 760px) {
  .rcp-dlg-body { grid-template-columns: 2fr 3fr; column-gap: 3rem; }
  .rcp-tip { grid-column: 1 / -1; }
}
/* Phones: the recipe comes up as a sheet from the bottom. */
@media (max-width: 559px) {
  .rcp-dlg { width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 1.75rem 1.75rem 0 0; }
  @keyframes dlg-in { from { translate: 0 100%; } }
}

/* ---------- Reviews (fjord) ---------- */
.reviews { background: var(--fjord); color: var(--ink); display: grid; gap: 2.5rem; }
.rev-score { margin-top: 1rem; }
.rev-score .rev-rating { font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1; margin-right: .3rem; }
.rev-all { margin-top: 2rem; }
.rev-nav { position: relative; display: flex; align-items: center; gap: 1rem; margin-top: 2rem; }
.rev-arrow {
  display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0; border-radius: 50%;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color .2s, color .2s;
}
.rev-arrow svg { width: 1.3rem; height: 1.3rem; }
@media (hover: hover) { .rev-arrow:hover { background: var(--ink); color: var(--stone); } }
.rev-arrow:active { transform: scale(.94); }
.rev-pos { min-width: 3.5em; text-align: center; font-variant-numeric: tabular-nums; font-weight: 560; }
.rev-quotes { position: relative; }
.rev-quotes::before {
  content: "“"; position: absolute; top: -.32em; left: -.05em; font-family: var(--display); font-weight: 700;
  font-size: clamp(9rem, 20vw, 16rem); line-height: 1; color: var(--rodi); pointer-events: none;
}
.rev-quotes blockquote {
  position: relative; margin: 0; padding-top: clamp(4rem, 9vw, 7rem);
  font-family: var(--display); font-weight: 400; font-size: clamp(1.45rem, 1rem + 1.8vw, 2.4rem); line-height: 1.25;
  max-width: 22em;
}
.rev-quotes blockquote[hidden] { display: none; }
.rev-quotes blockquote:not([hidden]) { animation: drop .5s var(--ease); }

/* ---------- FAQ (stone) ---------- */
.faq { max-width: var(--max); margin: 0 auto; display: grid; gap: 2.5rem; }
.faq-title { max-width: 6em; }
.faq-list { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; font-family: var(--display); font-weight: 700; font-size: var(--step-2); line-height: 1.05;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%231B2430' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 1.1rem no-repeat;
  transition: rotate .35s var(--ease), background-color .3s;
}
@media (hover: hover) { .faq summary:hover { color: var(--marine); } }
.faq details[open] summary::after { rotate: 45deg; background-color: var(--fjord); }
.faq details p { padding: 0 0 1.5rem; max-width: 38em; color: var(--muted); }
.faq details[open] p { animation: drop .4s var(--ease); }

/* ---------- CTA (rodi) ---------- */
.cta { background: var(--rodi); color: #fff; padding: var(--section) var(--gutter); display: grid; gap: 2.5rem; }
.cta-title { font-size: var(--step-5); font-weight: 700; line-height: .96; letter-spacing: -0.03em; }
.cta-copy > p:not(.status) { margin-top: 1.5rem; max-width: 26em; font-size: var(--step-1); line-height: 1.45; }
.cta-phone { display: inline-block; margin-top: 1.5rem; font-family: var(--display); font-weight: 700; font-size: var(--step-3); line-height: 1; text-decoration: none; border-bottom: 3px solid #fff; transition: border-color .2s; }
@media (hover: hover) { .cta-phone:hover { border-color: var(--ink); } }
.status-light { color: #fff; }
.status-light::before { background: #fff; }
.status-light.is-open::before { background: #fff; animation: none; }
.cta-form-wrap { align-self: start; }
.book, .book-off { background: var(--stone); color: var(--ink); border-radius: 2rem; padding: clamp(1.5rem, 4vw, 2.75rem); display: grid; gap: 1.1rem; box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--ink) 60%, transparent); }
.book[hidden], .book-off[hidden] { display: none; }
.book h3 { font-size: var(--step-2); }
.book-lede { color: var(--muted); margin-top: -.4rem; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field > label { font-size: .9rem; font-weight: 560; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: .7rem 1rem; border-radius: .9rem;
  border: 1.5px solid color-mix(in srgb, var(--ink) 25%, transparent); background: #fff;
  font: inherit; color: var(--ink); transition: border-color .2s;
}
@media (hover: hover) { .field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); } }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--rodi); outline-offset: 1px; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--marine); box-shadow: 0 0 0 1px var(--marine); }
.field textarea { resize: vertical; min-height: 5.5rem; line-height: 1.45; }
.field ::placeholder { color: var(--quiet); opacity: 1; }
.opt { font-weight: 400; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; line-height: 1.45; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 1.2rem; height: 1.2rem; margin-top: .1rem; accent-color: var(--rodi); }
.book-note { font-size: .85rem; color: var(--muted); }
.book .btn { justify-self: start; }
.book-msg { font-weight: 560; }
.book-msg:empty { display: none; }
.book-msg.ok { color: var(--marine); }
.book-msg.err { color: var(--marine); }
.book-off-title { font-family: var(--display); font-weight: 700; font-size: var(--step-2); line-height: 1; }
.book-off p:not(.book-off-title) { color: var(--muted); }
.book-off .btn { justify-self: start; }

/* ---------- Contact ---------- */
.contact { max-width: var(--max); margin: 0 auto; display: grid; gap: 2.5rem; }
.contact address { margin-top: 1.5rem; font-style: normal; font-family: var(--display); font-weight: 700; font-size: var(--step-2); line-height: 1.05; }
.contact-near { margin: 1rem 0 1.5rem; color: var(--muted); }
.hours-title { margin-top: 3rem; font-size: 1.6rem; }
.hours { margin-top: .75rem; width: 100%; max-width: 28rem; border-collapse: collapse; font-size: .98rem; }
.hours th, .hours td { padding: .6rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid color-mix(in srgb, var(--ink) 15%, transparent); }
.hours th { font-weight: 400; color: var(--muted); padding-right: 1rem; }
.hours td { font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ink); font-weight: 650; }
.hours tr.is-today th::before { content: ""; display: inline-block; width: .5rem; height: .5rem; margin-right: .5rem; border-radius: 50%; background: var(--rodi); vertical-align: middle; }
.map { position: relative; min-height: 24rem; border-radius: 2rem; overflow: hidden; background: var(--sand); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.ftr { background: var(--marine); color: var(--stone); padding: clamp(3.5rem, 8vw, 6rem) var(--gutter) 2rem; display: grid; gap: 2.5rem; }
.ftr-top { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; }
.ftr-top img { width: 120px; }
.ftr-line { font-family: var(--display); font-weight: 400; font-size: var(--step-3); line-height: 1; }
.ftr-cols { display: grid; gap: 2rem; max-width: 60rem; }
.ftr-h { font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: #fff; margin-bottom: .4rem; }
.ftr-cols p:not(.ftr-h) { color: color-mix(in srgb, var(--stone) 85%, var(--fjord)); font-size: .95rem; max-width: 36em; }
.ftr-copy { padding-top: 1.5rem; border-top: 1px solid color-mix(in srgb, var(--fjord) 35%, transparent); font-size: .85rem; color: var(--mist); }

/* ---------- Tablet ---------- */
@media (min-width: 700px) {
  .hero-facts { grid-template-columns: repeat(2, auto); justify-content: start; gap: 2.5rem; }
  .principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1.5rem; }
  .principles li { border-bottom: 0; }
  .ftr-cols { grid-template-columns: 1fr 2fr; }
}

/* ---------- Desktop: asymmetric 12-column compositions ---------- */
@media (min-width: 1000px) {
  .nav { display: block; }
  .hdr-cta { display: inline-flex; }
  .burger, .hdr-call, .mnav, .mnav[hidden] { display: none; }

  .hero {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 1.5rem; row-gap: 2.5rem; padding-top: clamp(2rem, 4vw, 4rem);
    min-height: calc(100svh - var(--hdr));
  }
  .hero-art { grid-column: 7 / 13; grid-row: 1; height: auto; min-height: 36rem; margin-right: calc(var(--gutter) * -1); }
  .hero-block { inset: 0 0 0 14%; border-radius: 22rem 0 0 1.5rem; }
  .shape-rodi { width: 30%; left: -8%; bottom: 12%; }
  .hero-copy { grid-column: 1 / 9; grid-row: 1; align-self: center; position: relative; z-index: 2; }
  /* the copy overlaps the photo column by two of its eight columns: keep the title clear of the photo */
  .hero-title { max-width: 72cqi; font-size: min(clamp(4.25rem, .8rem + 6.2vw, 8.25rem), 70cqi / var(--title-em, 1)); }
  .hero-lede { max-width: 26em; }
  .hero-facts { grid-column: 1 / 13; }

  .about { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; align-items: start; }
  .about-photo { grid-column: 1 / 5; margin-top: 6rem; position: sticky; top: calc(var(--hdr) + 2rem); }
  .about-body { grid-column: 6 / 13; }
  .about-title { font-size: var(--step-5); }

  .useful-title { font-size: var(--step-5); }
  .plate-wrap { grid-template-columns: 5fr 7fr; gap: 4rem; }

  .recipes-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; align-items: end; }
  .recipes-head h2 { grid-column: 1 / 8; }
  .recipes-head p { grid-column: 8 / 13; margin-top: 0; }

  .reviews { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; }
  .rev-side { grid-column: 1 / 5; }
  .rev-quotes { grid-column: 6 / 13; }

  .faq { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; align-items: start; }
  .faq-title { grid-column: 1 / 5; position: sticky; top: calc(var(--hdr) + 2rem); font-size: clamp(2.5rem, 4.4vw, 5rem); }
  .faq-list { grid-column: 6 / 13; }

  .cta { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; padding-bottom: 0; }
  .cta-title { font-size: clamp(3.2rem, 7vw - .4rem, 6.25rem); } /* stays clear of the form column */
  .cta-copy { grid-column: 1 / 7; padding-bottom: var(--section); }
  .cta-form-wrap { grid-column: 8 / 13; margin-bottom: -6rem; position: relative; z-index: 2; }
  .contact { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; padding-top: calc(var(--section) + 2rem); }
  .contact-info { grid-column: 1 / 6; }
  .map { grid-column: 7 / 13; min-height: 34rem; margin-top: 6rem; }
}

@media (min-width: 1400px) {
  .recipes, .reviews, .cta {
    padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
    padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero-title .line > span { transform: none; }
  .js .hero-block { opacity: 1; transform: none; }
  .js .shape { opacity: 1; }
  .js [data-reveal] { opacity: 1; translate: none; }
  .shape { transform: none; }
}
