/* Σουβλατζίδικο «Η Πλατεία» — patent-sheet homepage */

/* Fonts, served from this site (SIL Open Font License): Commissioner (variable, 400-700) and GFS Didot */
@font-face { font-family: "Commissioner"; src: url(assets/fonts/commissioner-greek.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "Commissioner"; src: url(assets/fonts/commissioner-latin.woff2) format("woff2"); font-weight: 400 700; font-display: swap; 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: "GFS Didot"; src: url(assets/fonts/gfs-didot-greek.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: "GFS Didot"; src: url(assets/fonts/gfs-didot-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; 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; }

:root {
  --paper: #f7f1e8;
  --paper-2: #ece3d6;
  --ink: #1e1814;
  --ink-2: #4b4139;
  --ink-3: #6a5e54;
  --rule-soft: #cdc2b3;
  --carmine: #b8192f;
  --carmine-dark: #96111f;
  --open: #1f7a4d;

  --f-display: "GFS Didot", "Didot", "Bodoni 72", serif;
  --f-text: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;

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

  --gutter: clamp(16px, 3vw, 40px);
  --header-h: 64px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-color: var(--ink-3) var(--paper);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.55 var(--f-text);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
/* Sections below the first screen are laid out only as they come near, so the first screen shows sooner on a slow phone.
   They keep their last real height once seen (auto), so the page doesn't jump. */
.sheet.section, .sheet.band { content-visibility: auto; contain-intrinsic-size: auto 900px; }
h1, h2, h3, p, figure, blockquote, ol, dl, dd { margin: 0; }
ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--carmine); color: #fff; }
:focus-visible { outline: 2px solid var(--carmine); outline-offset: 3px; }

html[lang="el"] [data-l="en"],
html[lang="en"] [data-l="el"] { display: none !important; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tnum { font-variant-numeric: tabular-nums; }
.skip {
  position: fixed; top: 8px; left: 8px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: var(--paper);
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

.icon {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}

/* One ruled sheet: every block shares the same column and vertical rules */
.sheet {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
@media (min-width: 1100px) {
  .sheet { border-inline: 1px solid var(--ink); }
}

.display {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px;
  border: 1px solid var(--ink); border-radius: 2px;
  font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; }
.btn-call { background: var(--carmine); border-color: var(--carmine); color: #fff; }
.btn-line { color: var(--ink); }
.btn .icon { transition: transform 200ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .btn-call:hover { background: var(--carmine-dark); border-color: var(--carmine-dark); }
  .btn-call:hover .icon { transform: rotate(-12deg); }
  .btn-line:hover { background: var(--ink); color: var(--paper); }
  .btn-line:hover .icon { transform: translateY(2px); }
}

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.top-inner {
  display: flex; align-items: center; gap: 24px;
  height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 40px; height: 40px; border-radius: 4px; }
.brand-name { font-size: 15px; font-weight: 500; white-space: nowrap; }
.brand-name b { font-weight: 700; color: var(--carmine); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  font-size: 14px; font-weight: 500; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  padding-block: 4px;
  transition: background-size 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav a:hover { background-size: 100% 1px; }
}
.top-actions { display: flex; align-items: center; gap: 12px; }

.lang {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--ink); border-radius: 2px; padding: 2px;
}
.lang button {
  position: relative; z-index: 1;
  width: 38px; height: 32px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  transition: color 220ms ease;
}
.lang-thumb {
  position: absolute; top: 2px; left: 2px; bottom: 2px; width: 38px;
  background: var(--ink);
  transition: transform 260ms var(--ease-out);
}
html[lang="el"] .lang [data-set-lang="el"],
html[lang="en"] .lang [data-set-lang="en"] { color: var(--paper); }
html[lang="en"] .lang-thumb { transform: translateX(100%); }

@media (max-width: 899px) { .nav { display: none; } .top-actions { margin-left: auto; } }
@media (max-width: 559px) { .brand-kind { display: none; } }
@media (max-width: 359px) { .brand-name { display: none; } }

/* ---------- hero: copy on the left; on the right the finished pita floats over the walk-in photo of the shop
   (after the barbershop site's hero) and turns as you scroll. Scrolling on, what goes inside appears on the pita
   itself, one ingredient per step: a dot on its spot and a tag with a close-up from the same photo (after
   botler.gr). main.js sets --p and each tag's --in. ---------- */
.hero-pin { position: relative; overflow-x: clip; }             /* the turned pita never makes the page scroll sideways */
.hero {
  --p: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: center;
  min-height: min(calc(100svh - var(--header-h)), 900px);
  padding-inline: 0;
}
.hero > * { padding: clamp(24px, 3vw, 48px) var(--gutter); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero h1 {
  font-size: clamp(3rem, 1.4rem + 4.4vw, 6.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 9ch;
}
.lead {
  margin: 28px 0 36px;
  max-width: 30ch;
  font-size: 1.25rem;
  color: var(--ink-2);
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn { min-height: 54px; padding-inline: 24px; font-size: 1.0625rem; }
.hero-phone { margin-top: 22px; font-size: 14px; color: var(--ink-3); }

/* The pita: floats over a soft floor shadow, leans toward the mouse, turns a little with the scroll */
.hero-fig { margin: 0; display: grid; justify-items: center; gap: 10px; min-width: 0; }
.stage3d { position: relative; width: min(100%, 640px); aspect-ratio: 1; container-type: inline-size; }   /* tags size to it */
.build-shadow {
  position: absolute; left: 18%; right: 18%; bottom: 8%; height: 9%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30, 24, 20, 0.3), rgba(30, 24, 20, 0));
  animation: build-shadow 6s ease-in-out infinite;
  will-change: transform;
}
@keyframes build-shadow { 0%, 100% { transform: scale(1); } 50% { transform: scale(0.88); } }
.build-float { position: absolute; inset: 0; display: grid; place-items: center; animation: build-float 6s ease-in-out infinite; will-change: transform; }
@keyframes build-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.gyro {                                                     /* one full turn with the scroll, swinging up to 16° in 3D mid-turn */
  --rx: 0deg; --ry: 0deg;
  --turn: -4deg; --swing: 0deg;                              /* main.js: one full turn, then rest */
  position: relative; width: 94%;
  transform: perspective(1200px) rotateX(var(--rx)) rotateY(calc(var(--ry) + var(--swing))) rotate(var(--turn));
}
.build-final { display: block; width: 100%; height: auto; }       /* no CSS filter: on a moving layer it costs every frame */

/* An ingredient: a dot on its spot, and a paper tag beside it with a round close-up from the same photo.
   The newest one shows its close-up; earlier ones fold down to number and name. */
.ings { position: absolute; inset: 0; pointer-events: none; }
.ing {                                                      /* turns back around its dot, so the tag stays level */
  --in: 0; position: absolute; left: var(--sx); top: var(--sy); opacity: var(--in);
  transform: rotate(calc(var(--turn) * -1)); transform-origin: 0 0;
}
.ing-dot {
  position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--carmine);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 2px 6px rgba(30, 24, 20, 0.35);
  transform: scale(calc(0.3 + 0.7 * var(--in)));
}
.ing-pill {
  position: absolute; display: flex; align-items: center; gap: 7px;
  padding: 3px 11px 3px 3px;
  background: var(--paper); border: 1px solid var(--ink); border-radius: 999px;
  box-shadow: 0 10px 20px -12px rgba(30, 24, 20, 0.55);
  white-space: nowrap; font-size: clamp(11px, 2.2cqi, 13px); font-weight: 600; line-height: 1;
  transition: padding 300ms var(--ease-out);
}
.ing-pill::before {                                         /* the leader from the dot to the tag */
  content: ""; position: absolute; background: var(--ink);
}
.ing-right .ing-pill { left: 20px; top: 0; transform: translateY(-50%) translateX(calc((1 - var(--in)) * -8px)); }
.ing-right .ing-pill::before { right: 100%; top: 50%; width: 14px; height: 1px; }
.ing-left .ing-pill { right: 20px; top: 0; transform: translateY(-50%) translateX(calc((1 - var(--in)) * 8px)); }
.ing-left .ing-pill::before { left: 100%; top: 50%; width: 14px; height: 1px; }
.ing-up .ing-pill { bottom: 20px; left: 0; transform: translateX(-50%) translateY(calc((1 - var(--in)) * 8px)); }
.ing-up .ing-pill::before { top: 100%; left: 50%; width: 1px; height: 14px; }
.ing-down .ing-pill { top: 20px; left: 0; transform: translateX(-50%) translateY(calc((1 - var(--in)) * -8px)); }
.ing-down .ing-pill::before { bottom: 100%; left: 50%; width: 1px; height: 14px; }
.ing-img {
  position: relative; flex: none; width: clamp(28px, 6.4cqi, 40px); height: clamp(28px, 6.4cqi, 40px); border-radius: 50%; overflow: hidden;
  background: var(--paper-2); box-shadow: inset 0 0 0 1px rgba(30, 24, 20, 0.2);
  transition: width 300ms var(--ease-out), height 300ms var(--ease-out), margin 300ms var(--ease-out);
}
.ing-img img {                                              /* a close-up: the photo at 9×, its spot at the centre */
  position: absolute; left: 50%; top: 50%; width: 900%; max-width: none; height: auto;
  transform: translate(calc(var(--fx) * -100%), calc(var(--fy) * -100%));
}
.ing-no { font-size: 0.85em; color: var(--ink-3); }
.ing.is-current .ing-no { color: var(--carmine); }
.ing:not(.is-current) .ing-pill { padding: 5px 10px; }
.ing:not(.is-current) .ing-img { width: 0; height: 0; margin-right: -7px; }
.ing-count {
  margin: 0; display: flex; align-items: baseline; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
}
.ing-count b { color: var(--carmine); }
.hero-cap { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.fig-title { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.build-hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  display: none; align-items: center; gap: 8px; margin: 0; padding: 0;
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2);
  opacity: calc(1 - var(--p) * 14);
}
.build-hint .icon { width: 16px; height: 16px; }

/* Tablets and up (tall enough): the hero holds still for almost two screens while the pita turns and the tags come in */
@media (min-width: 720px) and (min-height: 560px) and (prefers-reduced-motion: no-preference) {
  .hero-pin { height: 280svh; }
  .hero { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); min-height: 0; }
  .stage3d { width: min(100%, 640px, calc(100svh - var(--header-h) - 140px)); }
  .build-hint { display: flex; }
}
@media (max-width: 719px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-bottom: 8px; }
  .hero .cta-row .btn { flex: 1 1 auto; }
  .ing-sm-down .ing-pill {                                   /* no room on its left on a phone: hang it below the dot */
    left: 0; right: auto; top: 20px;
    transform: translateX(-50%) translateY(calc((1 - var(--in)) * -8px));
  }
  .ing-sm-down .ing-pill::before { left: 50%; top: auto; bottom: 100%; width: 1px; height: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .build-float, .build-shadow { animation: none; }
  .ing { --in: 1; }
}

/* Live open/closed line: filled green dot with a slow ring when open, hollow ink dot when closed */
.open-now {
  position: relative; display: flex; align-items: center; gap: 9px; width: fit-content;
  margin-bottom: 6px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink);
}
.open-now[hidden] { display: none; }
.open-now::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%;
  border: 1.5px solid var(--ink-3); box-sizing: border-box;
}
.open-now.is-open::before { background: var(--open); border-color: var(--open); }
.open-now.is-open::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50%; background: var(--open); opacity: 0;
  animation: open-ring 2.8s var(--ease-out) infinite;
}
@keyframes open-ring {
  0% { transform: scale(1); opacity: 0.45; }
  70%, 100% { transform: scale(3); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .open-now.is-open::after { animation: none; } }
.title-block .open-now { margin: 8px 0 0; }

/* ---------- sections ---------- */
.section {
  padding-block: clamp(64px, 9vw, 128px);
  border-top: 1px solid var(--ink);
}
.h2 { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.6rem); line-height: 1.06; }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px 48px; align-items: end;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.section-sub { color: var(--ink-2); max-width: 40ch; justify-self: end; }
@media (max-width: 899px) {
  .section-head { grid-template-columns: 1fr; }
  .section-sub { justify-self: start; }
}

.dish { background: var(--paper); padding: clamp(16px, 2vw, 26px); display: flex; flex-direction: column; }
.frame {
  position: relative;
  margin: 16px 6px 18px;
  aspect-ratio: 4 / 5;
  background: var(--paper-2);
  transform-style: preserve-3d;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
/* registration ticks at the four corners */
.frame::after {
  content: ""; position: absolute; inset: -7px; pointer-events: none;
  --t: linear-gradient(var(--ink), var(--ink));
  background:
    var(--t) 0 0 / 14px 1px no-repeat, var(--t) 0 0 / 1px 14px no-repeat,
    var(--t) 100% 0 / 14px 1px no-repeat, var(--t) 100% 0 / 1px 14px no-repeat,
    var(--t) 0 100% / 14px 1px no-repeat, var(--t) 0 100% / 1px 14px no-repeat,
    var(--t) 100% 100% / 14px 1px no-repeat, var(--t) 100% 100% / 1px 14px no-repeat;
}
.dish figcaption { display: flex; flex-direction: column; flex: 1; }
.dish h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; }
.dish p { margin: 6px 0 16px; font-size: 15px; color: var(--ink-2); max-width: 42ch; }
.slot {
  align-self: flex-start; margin-top: auto;
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border: 1px dashed var(--ink-3); border-radius: 2px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2);
}
.slot::before, .slot::after { color: var(--ink-3); }
.slot::before { content: "["; margin-right: 6px; }
.slot::after { content: "]"; margin-left: 6px; }

/* Photo reveal (only when JS has marked it pending) */
.frame img { transition: clip-path 1000ms var(--ease-out), transform 1300ms var(--ease-out); }
html.js .frame.pending img { clip-path: inset(0 0 100% 0); transform: scale(1.06); }

/* Kitchen */
.kitchen {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 96px); align-items: center;
}
.kitchen-copy { display: grid; gap: 20px; justify-items: start; }
.kitchen-copy p { font-size: 1.0625rem; color: var(--ink-2); max-width: 46ch; }
.kitchen-copy .btn { margin-top: 8px; }
.kitchen-figs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.5vw, 32px); }
.dish-quiet { padding: 0; background: none; }
.dish-quiet .frame { margin-bottom: 14px; }
@media (max-width: 899px) { .kitchen { grid-template-columns: 1fr; } }

/* Our words */
.words {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 112px); align-items: center;
}
.words-photo { position: relative; justify-self: center; width: min(100%, 280px); }
.words-photo .frame { aspect-ratio: 9 / 16; margin: 0; }
.seal {
  position: absolute; right: -56px; bottom: -40px;
  width: 150px; height: 150px;
  color: var(--carmine);
  transform: rotate(var(--seal-r, -10deg));
}
.seal circle { stroke: currentColor; stroke-width: 1.2; }
.seal circle:first-of-type { fill: var(--paper); }
.seal text { fill: currentColor; }
.seal-ring { font: 600 11.5px var(--f-text); letter-spacing: 0.18em; }
.seal-mid { font: 22px var(--f-display); }
.quote { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.6rem); line-height: 1.12; }
.words-cite { margin-top: 20px; }
.words-body { margin-top: 28px; font-size: 1.0625rem; color: var(--ink-2); max-width: 48ch; }
.words-cite { font-size: 14px; color: var(--ink-3); }
.words-cite a { color: var(--ink); }
@media (max-width: 899px) {
  .words { grid-template-columns: 1fr; }
  .words-photo { width: min(62%, 240px); justify-self: start; }
  .seal { width: 120px; height: 120px; right: -70px; bottom: -28px; }
}

/* Find us + patent title block */
.find { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.find .cta-row { margin-top: 32px; }

/* FIG. 7: the menu QR in 3D */
.qr-fig { margin-top: 40px; display: grid; justify-items: start; gap: 10px; }
.qr-fig[hidden] { display: none; }
.qr-stage { width: min(100%, 300px); aspect-ratio: 1; opacity: 0; transition: opacity 600ms ease; }
.qr-stage.is-ready { opacity: 1; }
.qr-stage canvas { display: block; width: 100%; height: 100%; }
.qr-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.qr-note { flex-basis: 100%; font-size: 14px; color: var(--ink-2); }
.qr-note a { color: var(--carmine); font-weight: 600; text-underline-offset: 3px; }   /* on a phone you can't scan your own screen */
.title-block {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px; background: var(--ink); border: 1px solid var(--ink);
}
.tb-row { background: var(--paper); padding: 14px 18px 16px; min-width: 0; }
.tb-wide { grid-column: 1 / -1; }
.nowrap { white-space: nowrap; }
.title-block dt { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.title-block dd { margin-top: 6px; font-weight: 500; overflow-wrap: anywhere; }
.tb-name { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; line-height: 1.2; }
.tb-phone { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.tb-phone a { font-size: 1.25rem; font-weight: 600; text-decoration: none; }
.tb-insta { display: inline-flex; align-items: center; gap: 8px; }
.title-block .slot { margin-top: 0; }
@media (max-width: 899px) { .find { grid-template-columns: 1fr; } }
@media (max-width: 479px) { .title-block { grid-template-columns: 1fr; } }

.copy {
  display: inline-grid; grid-template-columns: 16px auto; align-items: center; column-gap: 6px;
  padding: 6px 10px; min-height: 32px;
  border: 1px solid var(--rule-soft); border-radius: 2px;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  transition: transform 160ms var(--ease-out), border-color 200ms ease;
}
.copy:active { transform: scale(0.97); }
.copy .icon { width: 16px; height: 16px; grid-area: 1 / 1; }
.copy-label, .copy-done { grid-area: 1 / 2; }
.copy .i-check, .copy-done { opacity: 0; transform: scale(0.9); filter: blur(2px); }
.copy .i-copy, .copy-label, .copy .i-check, .copy-done {
  transition: opacity 200ms ease, transform 200ms var(--ease-out), filter 200ms ease;
}
.copy.is-done .i-copy, .copy.is-done .copy-label { opacity: 0; transform: scale(0.9); filter: blur(2px); }
.copy.is-done .i-check, .copy.is-done .copy-done { opacity: 1; transform: none; filter: none; }
.copy.is-done { color: var(--carmine); border-color: var(--carmine); }
@media (hover: hover) and (pointer: fine) { .copy:hover { border-color: var(--ink); } }

/* Footer */
.foot {
  container-type: inline-size;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  padding-block: 28px;
  border-top: 1px solid var(--ink);
  font-size: 13px; color: var(--ink-3);
}
/* The sheet's signature: the name set across the full width, letters rising into place on first view */
.foot-mark {
  flex: 1 0 100%;
  margin: 8px 0 12px;
  padding-top: 0.06em;
  overflow: hidden;
  font-family: var(--f-display);
  font-size: calc((min(100vw, 1320px) - 2 * var(--gutter) - 20px) / 4.72);
  font-size: calc(100cqw / 4.72); /* fills the sheet width exactly */
  line-height: 0.9;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--ink);
}
.foot-mark .ch { display: inline-block; transition: transform 1000ms var(--ease-out), opacity 500ms ease; transition-delay: calc(var(--i) * 40ms); }
html.js .foot-mark.mark-pending .ch { transform: translateY(85%); opacity: 0; }
.foot img { border-radius: 3px; }
.foot-credit { margin-left: auto; }
.foot a { color: var(--ink-2); }
.foot-legal { flex: 1 0 100%; display: flex; flex-wrap: wrap; gap: 6px 20px; padding-top: 12px; border-top: 1px solid var(--rule-soft); }
.foot-legal a { min-height: 32px; display: inline-flex; align-items: center; text-underline-offset: 3px; }
.foot-legal [hidden] { display: none; }
.foot-legal [aria-current="page"] { color: var(--ink); text-decoration: none; font-weight: 600; }

/* Policy pages (privacy, cookies, terms, refunds): one plain reading column on the same ruled sheet */
.legal-page .top-actions { margin-left: auto; }
.legal-page .foot { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }   /* no call bar on these pages */
.legal-sheet { padding-block: clamp(36px, 6vw, 72px); }
.legal { max-width: 70ch; margin: 0 auto; }
.legal h1 { margin: 0 0 8px; font-family: var(--f-display); font-weight: 400; font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.5rem); line-height: 1.05; letter-spacing: -0.01em; }
.legal .updated { margin: 0 0 28px; font-size: 14px; color: var(--ink-3); }
.legal h2 { margin: 40px 0 10px; font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; line-height: 1.15; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal p, .legal li { font-size: 17px; line-height: 1.6; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 1.2em; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--carmine); text-underline-offset: 3px; }
.legal .short { margin: 0 0 8px; padding: 16px 18px; border: 1px solid var(--ink); background: var(--paper-2); }
.legal .owner { font-size: 16px; }
.legal .table-wrap { overflow-x: auto; margin: 0 0 14px; }
.legal table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.legal th, .legal td { padding: 10px 14px 10px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule-soft); }
.legal th { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); border-bottom-color: var(--ink); }
.legal code { font-size: 0.92em; }
.legal [hidden] { display: none; }
.legal .btn { margin: 4px 0 14px; }

/* Mobile call bar */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1px solid var(--ink);
  transform: translateY(110%);
  transition: transform 340ms var(--ease-drawer);
}
.callbar .btn { width: 100%; }
.callbar .open-now { margin: 0 auto 8px; font-size: 12px; }
.callbar.is-visible { transform: none; }
@media (min-width: 900px) { .callbar { display: none; } }
@media (max-width: 899px) { .foot { padding-bottom: calc(122px + env(safe-area-inset-bottom)); } }

/* ---------- reduced motion: keep state changes, drop travel ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .frame img, .lang-thumb, .callbar, .btn, .btn .icon { transition-duration: 0ms !important; transition-delay: 0ms !important; }
  html.js .frame.pending img { clip-path: none; transform: none; }
  .callbar { transition: opacity 200ms ease !important; }
}

/* Narrow phones: the header call button keeps its icon; the number lives in the hero button and call bar */
.btn { white-space: nowrap; }
@media (max-width: 419px) {
  .top-call { width: 44px; padding: 0; }
  .top-call .tnum { display: none; }
}

/* ======================================================================
   Depth & effects
   ====================================================================== */

/* Walk-in background: real photos of the shop, faded under the paper.
   One per section, cross-faded; the active one slowly moves closer as you scroll. */
.scene {
  position: fixed; inset: 0; z-index: -1;
  overflow: hidden; pointer-events: none;
  background: var(--paper);
}
.scene img {
  position: absolute; inset: -3%;
  width: 106%; height: 106%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1100ms ease;
  will-change: transform, opacity;
}
.scene img.is-on { opacity: 1; }
/* The grey, the 1px blur and the 62% paper wash that keep every word readable are baked into the
   *-w.jpg files (tools/bg-wash.html): as CSS they were redrawn on every frame, which slowed every animation. */

/* Sheet progress: a carmine dimension line under the header */
.progress {
  position: absolute; left: 0; bottom: -1px;
  width: 100%; height: 2px;
  background: var(--carmine);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* Word-by-word heading reveal (only once JS has split the words) */
.w {
  display: inline-block; overflow: hidden; vertical-align: top;
  padding: 0.16em 0.06em 0.1em; margin: -0.16em -0.06em -0.1em;
}
.wi {
  display: inline-block;
  transition: transform 1000ms var(--ease-out) calc(var(--wi) * 55ms), opacity 500ms ease calc(var(--wi) * 55ms);
}
html.js .reveal-pending .wi { transform: translateY(108%); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  /* Hide the hero headline until it is split, with a safety net if JS never runs */
  html.js .hero h1:not(.is-split) { opacity: 0; animation: show-anyway 0s linear 1.2s forwards; }
}
@keyframes show-anyway { to { opacity: 1; } }
.hero .lead, .hero .cta-row, .hero .hero-phone { transition: opacity 700ms ease 450ms, transform 900ms var(--ease-out) 450ms; }
html.js .hero.intro-pending .lead,
html.js .hero.intro-pending .cta-row,
html.js .hero.intro-pending .hero-phone { opacity: 0; transform: translateY(10px); }

/* Section rules draw in like a pen stroke */
.section { border-top: 0; position: relative; }
.section::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--ink);
  transform-origin: 0 50%;
  transition: transform 1300ms var(--ease-out);
}
html.js .section.rule-pending::before { transform: scaleX(0); }

/* Photo glare + lift while it tilts */
.glare { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 300ms ease; mix-blend-mode: soft-light; }
.glare::before {
  content: ""; position: absolute; left: -30%; top: -30%; width: 160%; height: 160%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0));
  transform: translate(var(--gx, 0%), var(--gy, 0%));
}
.frame { transition: box-shadow 300ms ease; }
.frame.is-tilting { box-shadow: 0 22px 34px -20px rgba(30, 24, 20, 0.5); }
.frame.is-tilting .glare { opacity: 1; }

/* Seal stamps in the first time it is seen */
.seal { transition: scale 520ms var(--ease-out), opacity 300ms ease; }
html.js .seal.stamp-pending { scale: 1.35; opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .scene img { transform: none !important; transition-duration: 300ms; }
  html.js .reveal-pending .wi { transform: none; opacity: 1; }
  html.js .hero.intro-pending .lead, html.js .hero.intro-pending .cta-row, html.js .hero.intro-pending .hero-phone { opacity: 1; transform: none; }
  html.js .section.rule-pending::before { transform: none; }
  html.js .seal.stamp-pending { scale: 1; opacity: 1; }
}

/* Text that sits straight on the walk-in background gets a soft paper halo, so it stays readable over dark corners */
.hero-copy, .ing-count, .hero-cap, .build-hint,
.section-head, .kitchen-copy, .words-text, .find-cta {
  text-shadow: 0 0 2px rgba(247, 241, 232, 0.95), 0 0 14px rgba(247, 241, 232, 0.9);
}
.btn { text-shadow: none; }

/* Over the stronger photo background, supporting text goes to full ink and a wider halo */
.lead, .hero-phone, .section-sub, .kitchen-copy p, .words-body, .words-cite {
  color: var(--ink);
}
.hero-copy, .ing-count, .hero-cap, .build-hint,
.section-head, .kitchen-copy, .words-text, .find-cta {
  text-shadow: 0 0 2px rgba(247, 241, 232, 1), 0 0 10px rgba(247, 241, 232, 0.95), 0 0 24px rgba(247, 241, 232, 0.85);
}

/* ======================================================================
   "Why Plateia" strip: four facts in one ruled row
   ====================================================================== */
.why { border-top: 1px solid var(--ink); padding-inline: 0; }
.why-list {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px; background: var(--ink);
}
.why-list li { background: var(--paper); padding: clamp(22px, 2.6vw, 34px) var(--gutter); }
.why-title { margin: 0 0 8px; font-size: 1.3125rem; font-weight: 600; line-height: 1.2; }
.why-list p { margin: 0; font-size: 15px; color: var(--ink-2); max-width: 32ch; }
/* Πίτα and Μαγειρευτά open a flowing row of dishes from the menu; the whole cell is the button */
.why-more { position: relative; transition: background-color 200ms ease, box-shadow 260ms var(--ease-out); }
.why-btn { display: inline-flex; align-items: center; gap: 8px; color: inherit; font: inherit; text-align: left; }
.why-btn::after { content: ""; position: absolute; inset: 0; }
.why-btn:focus-visible { outline: none; }
.why-more:has(.why-btn:focus-visible) { outline: 2px solid var(--carmine); outline-offset: -2px; }
.why-plus { width: 16px; height: 16px; flex: none; transition: transform 260ms var(--ease-out); }
.why-btn[aria-expanded="true"] .why-plus { transform: rotate(45deg); }
.why-more:has(.why-btn[aria-expanded="true"]) { box-shadow: inset 0 3px 0 var(--carmine); }
.why-list .why-cue { margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .why-more:hover { background: #efe7db; } }

.why-flow { border-top: 1px solid var(--ink); padding: 22px 0 26px; overflow: hidden; background: var(--paper); }
.why-flow[hidden] { display: none; }
.why-flow.is-in { animation: flow-in 420ms var(--ease-out); }
@keyframes flow-in { from { opacity: 0; transform: translateY(-8px); } }
.flow-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 0 var(--gutter) 18px; }
.flow-head .label { margin: 0; }
.flow-sub { flex: 1 1 260px; margin: 0; font-size: 14px; color: var(--ink-2); }
.flow-view { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.flow-view:focus-visible { outline: 2px solid var(--carmine); outline-offset: -2px; }
.flow-track { display: flex; width: max-content; margin: 0; padding: 4px 0; list-style: none; animation: flow var(--flow-dur, 40s) linear infinite; }
.flow-view:hover .flow-track, .flow-view:focus-within .flow-track { animation-play-state: paused; }
@keyframes flow { to { transform: translateX(-50%); } }    /* the row is repeated once, so half its width is one lap */
.flow-item { flex: none; width: 230px; margin-right: 18px; }
.flow-img { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); border: 1px solid var(--ink); }
.flow-img img { display: block; width: 100%; height: 100%; object-fit: contain; }   /* the whole photo, never cropped */
.flow-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 8px 0 0; font-size: 14px; }
.flow-price { font-weight: 600; }
@media (max-width: 559px) { .flow-item { width: 190px; margin-right: 14px; } }
@media (prefers-reduced-motion: reduce) {
  .flow-track { animation: none; }
  .flow-view { overflow-x: auto; }
  .why-flow.is-in { animation: none; }
}
@media (max-width: 899px) { .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .why-list { grid-template-columns: minmax(0, 1fr); } }

/* ======================================================================
   The dishes as a 3D ring (drag, swipe, arrows, arrow keys)
   ====================================================================== */
.ring-layout {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px); align-items: center;
}
.ring-wrap { min-width: 0; overflow: hidden; padding-block: 8px; }
.ring-stage {
  --card-w: clamp(150px, 14vw, 210px);
  --radius: calc(var(--card-w) * 1.2);
  position: relative;
  height: calc(var(--card-w) * 1.333 + 96px);
  perspective: 1400px;
  touch-action: pan-y; user-select: none; -webkit-user-select: none;
  cursor: grab;
}
.ring-stage.is-dragging { cursor: grabbing; }
.ring {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: translateZ(calc(var(--radius) * -1));
}
.ring-card {
  position: absolute; left: 50%; top: 50%;
  width: var(--card-w); aspect-ratio: 3 / 4;
  display: flex; flex-direction: column; gap: 8px;
  padding: 10px 10px 12px;
  background: var(--paper); border: 1px solid var(--ink);
  box-shadow: 0 18px 30px -18px rgba(30, 24, 20, 0.45);
  transform: translate(-50%, -50%) rotateY(calc(var(--i) * 60deg)) translateZ(var(--radius));
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  text-align: left; cursor: inherit;
}

/* Name plate on every dish photo: a small paper label pinned to the bottom left */
.dish-tag {
  position: absolute; left: 8px; bottom: 8px; z-index: 1; max-width: calc(100% - 16px);
  padding: 4px 8px; background: var(--paper); border: 1px solid var(--ink); border-radius: 2px;
  font-size: 12px; font-weight: 600; line-height: 1.25; color: var(--ink); text-align: left;
  box-shadow: 0 6px 14px -8px rgba(30, 24, 20, 0.45);
}
.ring-img { position: relative; }
.ring-card[aria-current="true"] .dish-tag { border-color: var(--carmine); }
.card3d .dish-tag { left: 12px; bottom: 12px; padding: 6px 10px; font-size: 14px; transform: translateZ(1px); }
.ring-img { flex: 1; min-height: 0; background: var(--paper-2); display: block; }
.ring-img img { width: 100%; height: 100%; object-fit: contain; }   /* the whole photo, never cropped */
.ring-card[aria-current="true"] { border-color: var(--carmine); }
.ring-floor {
  position: absolute; left: 15%; right: 15%; bottom: 6px; height: 44px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30, 24, 20, 0.22), rgba(30, 24, 20, 0));
}
.ring-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.ring-btn {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--ink); border-radius: 2px; background: var(--paper);
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.ring-btn:active { transform: scale(0.95); }
.ring-btn .icon { width: 22px; height: 22px; }
@media (hover: hover) and (pointer: fine) {
  .ring-btn:hover { background: var(--ink); color: var(--paper); }
}
.ring-hint { margin: 0; min-width: 12ch; text-align: center; font-size: 13px; color: var(--ink); }
.ring-panel { border-top: 2px solid var(--carmine); padding-top: 26px; display: grid; gap: 14px; justify-items: start; }
.ring-pos { margin: 0; font-size: 13px; color: var(--ink-3); }
.ring-info { display: grid; gap: 10px; justify-items: start; }
.ring-name { margin: 0; font-size: clamp(2rem, 1.3rem + 2vw, 3.2rem); line-height: 1.05; }
.ring-desc { margin: 0; font-size: 1.0625rem; color: var(--ink); max-width: 40ch; }
.ring-info .slot { margin-top: 2px; }
.ring-info.is-swapping { animation: ring-swap 380ms var(--ease-out); }
@keyframes ring-swap { from { opacity: 0; transform: translateY(8px); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
@media (max-width: 899px) {
  .ring-layout { grid-template-columns: minmax(0, 1fr); }
  .ring-stage { --card-w: clamp(130px, 38vw, 190px); }
}

/* ======================================================================
   3D cards: the whole photo on a printed card with real thickness.
   It turns as it crosses the screen and leans toward the mouse.
   ====================================================================== */
.card3d {
  aspect-ratio: auto;
  transform-style: preserve-3d;
  background: var(--paper);
  padding: 8px;
  border: 1px solid var(--ink);
  box-shadow: 0 26px 40px -24px rgba(30, 24, 20, 0.55);
  will-change: transform;
}
.card3d img { width: 100%; height: auto; object-fit: contain; }
.card3d::before {                                           /* the card's back sheet = its thickness */
  content: ""; position: absolute; inset: 0;
  background: var(--paper-2); border: 1px solid var(--ink);
  transform: translateZ(-7px);
}
.card3d::after { inset: -9px; }                             /* registration ticks sit just outside the card */
.dish-quiet .frame.card3d, .words-photo .frame.card3d { aspect-ratio: auto; }

/* ======================================================================
   Call band
   ====================================================================== */
.band {
  border-top: 1px solid var(--ink);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px 40px; padding-block: clamp(40px, 6vw, 72px);
  background: var(--paper);
}
.band-title { margin: 0; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.2rem); line-height: 1.08; max-width: 18ch; }
.band .btn { min-height: 56px; padding-inline: 28px; font-size: 1.0625rem; }

@media (prefers-reduced-motion: reduce) {
  .ring { transition: none !important; }
  .ring-info.is-swapping { animation: none; }
}

/* Prices taken from the shop's printed menu */
.price-tag { align-self: flex-start; font-size: 1.125rem; font-weight: 600; color: var(--ink); }
.tb-note { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--ink-2); }
