/* =====================================================================
   Yamas Greek Eatery — public marketing site design system.
   Matched to the cheersyamas.com brand: Aegean royal blue + mati blues,
   warm parchment + white brick, Cormorant Garamond display serif over
   IBM Plex Sans. Light, editorial, photography-forward. This is NOT the
   hub's design system — no navy glass, no app chrome.
   ===================================================================== */

:root {
  --blue: #27498F;          /* wordmark royal blue */
  --blue-deep: #1B3468;     /* footer / hover */
  --aegean: #2E86AB;        /* mati mid blue — kickers + accents */
  --sky: #5AB6E8;           /* mati light blue */
  --brown: #361A0C;         /* display headings on light */
  --ink: #43311F;           /* body copy */
  --ink-soft: #75695D;      /* secondary text */
  --paper: #FFFFFF;
  --page: #F5F8FB;          /* page background — off-white with a cool Aegean cast */
  --parchment: #F5F1ED;     /* warm section alternation */
  --stone: #E7E1D8;         /* hairlines on parchment */
  --line: #E5E5E5;          /* hairlines on white */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "IBM Plex Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --maxw: 1160px;
  --shadow: 0 10px 34px rgba(43, 33, 21, .10);

  /* Liquid-glass tokens — tints derived from the site's own warm surfaces
     (the cream card #FCFAF7 and paper white), never new hues. Tier 0 works
     everywhere; refraction is layered on by html.lg-refract (Chromium). */
  --glass-blur: 14px;
  --glass-saturate: 1.6;
  --glass-tint: rgb(252 250 247 / .58);
  --glass-tint-strong: rgb(252 250 247 / .72);
  --glass-border-hi: rgb(255 255 255 / .60);
  --glass-border-lo: rgb(54 26 12 / .10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  padding-top: 72px; /* clears the fixed header */
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- type ---------- */
.kicker {
  font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--aegean); margin-bottom: 14px;
}
.display, h1.display {
  font-family: var(--font-display); font-weight: 600; color: var(--brown);
  font-size: clamp(34px, 5.2vw, 56px); line-height: 1.08; letter-spacing: .015em;
  text-transform: uppercase;
}
.title {
  font-family: var(--font-display); font-weight: 600; color: var(--brown);
  font-size: clamp(27px, 3.6vw, 40px); line-height: 1.12; letter-spacing: .02em;
  text-transform: uppercase;
}
.subtitle {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2.4vw, 25px);
  color: var(--brown); letter-spacing: .02em;
}
.lead { font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.75; color: var(--ink); }
.muted { color: var(--ink-soft); }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-body); font-size: 13px; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; text-decoration: none; text-align: center;
  padding: 14px 28px; border-radius: 3px; border: 1px solid var(--blue);
  background: var(--blue); color: #fff; cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn.ghost { background: transparent; color: var(--blue); }
.btn.ghost:hover { background: var(--blue); color: #fff; }
/* On-photo CTAs are glass pills (Tier 0): white-derived tint over imagery,
   fluid press response. Inside .hero .tile they revert to solid variants
   (never stack glass on glass — see the tile rules below). */
.btn.onphoto, .btn.solid-onphoto {
  border-radius: 999px;
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  box-shadow: inset 1px 1px 0 var(--glass-border-hi), inset -1px -1px 0 var(--glass-border-lo);
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform 240ms cubic-bezier(.2, .9, .3, 1.2);
  contain: layout paint;
}
.btn.onphoto:active, .btn.solid-onphoto:active { transform: scale(.97); }
.btn.onphoto:focus-visible, .btn.solid-onphoto:focus-visible { outline: 2px solid var(--glass-border-hi); outline-offset: 2px; }
.btn.onphoto { border-color: rgb(255 255 255 / .65); background: rgb(255 255 255 / .16); color: #fff; }
.btn.onphoto:hover { background: #fff; color: var(--brown); }
.btn.solid-onphoto { border-color: rgb(255 255 255 / .70); background: rgb(255 255 255 / .82); color: var(--brown); }
.btn.solid-onphoto:hover { background: #fff; color: var(--brown); }
.btn[disabled] { opacity: .55; cursor: default; }
.btnrow { display: flex; gap: 14px; flex-wrap: wrap; }
.btnrow.center { justify-content: center; }

/* ---------- header ---------- */
/* Glass bar — the everyday glass moment. Tint stays the site's own white so it
   reads near-solid over white sections and glassy only over photography. */
.site-header {
  /* fixed (not sticky): persistent on every browser — Safari has flaky
     sticky behavior combined with backdrop-filter/contain */
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transform: translateZ(0); /* own compositor layer — stops iOS fixed+backdrop-filter jitter */
  background: rgb(255 255 255 / .28); /* mostly clear — a whisper of tint, the blur does the work */
  -webkit-backdrop-filter: blur(20px) saturate(var(--glass-saturate));
  backdrop-filter: blur(20px) saturate(var(--glass-saturate));
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 1px 0 var(--glass-border-hi);
}
.site-header .bar {
  max-width: var(--maxw); margin: 0 auto; padding: 0 22px; height: 72px;
  display: flex; align-items: center; gap: 26px;
}
.site-header .logo { flex: 0 0 auto; display: inline-flex; align-items: center; } /* never let flex crush the wordmark */
.site-header .logo img { height: 30px; width: auto; display: block; }
@media (max-width: 920px) {
  /* centered wordmark fills the glass bar */
  .site-header .logo img { height: 52px; }
}
.site-header nav { display: flex; gap: 11px; margin-left: auto; align-items: center; }
.site-header nav a {
  /* brand serif (Cormorant) — ties the nav to the wordmark + display headings.
     Fluid size so 8 links + the full logo + Order button never overflow (and never
     crush the logo) on narrower desktops; ~15px on wide screens, scales down toward
     the mobile breakpoint. */
  font-family: var(--font-display); font-size: clamp(10.5px, 1.1vw, 15px); font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--brown); text-decoration: none; padding: 6px 0; white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.site-header nav a:hover { color: var(--blue); }
.site-header nav a.on { color: var(--blue); border-bottom-color: var(--blue); }
.site-header .order-cta { margin-left: 8px; padding: 11px 20px; }
/* (hamburger retired — the mobile tab bar's More tab opens the nav sheet) */

/* ---------- mobile glass tab bar ---------- */
.tab-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: none; align-items: stretch;
  background: rgb(252 250 247 / .30); /* mostly clear — a whisper of tint, the blur does the work */
  -webkit-backdrop-filter: blur(24px) saturate(var(--glass-saturate));
  backdrop-filter: blur(24px) saturate(var(--glass-saturate));
  border-top: 1px solid var(--stone);
  box-shadow: 0 -10px 34px rgba(30, 20, 10, .14), inset 0 1px 0 var(--glass-border-hi);
  padding: 7px 4px calc(7px + env(safe-area-inset-bottom));
  transform: translateZ(0);
  transition: transform .32s ease;
}
.lg-refract .tab-bar {
  -webkit-backdrop-filter: url(#lg-glass) blur(18px) saturate(var(--glass-saturate));
  backdrop-filter: url(#lg-glass) blur(18px) saturate(var(--glass-saturate));
}
.tab-bar.hide { transform: translateY(110%); }
.tab-bar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  text-decoration: none; color: var(--ink-soft); padding: 3px 0 2px;
  font-size: 10px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
}
.tab-bar a svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tab-bar a.on { color: var(--blue); }
.tab-bar .order-tab .ic {
  width: 48px; height: 48px; border-radius: 50%; background: var(--blue);
  display: grid; place-items: center; margin-top: -24px;
  border: 3px solid rgb(252 250 247 / .92);
  box-shadow: 0 8px 22px rgba(39, 73, 143, .38);
}
.tab-bar .order-tab .ic svg { stroke: #fff; width: 24px; height: 24px; }
.tab-bar .order-tab { color: var(--blue); }
@media (max-width: 920px) {
  .tab-bar { display: flex; }
  .site-footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .mobile-menu { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-transparency: reduce) {
  .tab-bar, .lg-refract .tab-bar {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: #FCFAF7;
  }
}

/* mobile menu overlay */
.mobile-menu {
  display: none; position: fixed; inset: 72px 0 0 0; z-index: 55;
  background: rgb(255 255 255 / .82);
  -webkit-backdrop-filter: blur(22px) saturate(var(--glass-saturate));
  backdrop-filter: blur(22px) saturate(var(--glass-saturate));
  padding: 28px 26px; overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; font-family: var(--font-display); font-size: 26px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; color: var(--brown); text-decoration: none;
  padding: 13px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu a.on { color: var(--blue); }
.mobile-menu a.btn {
  margin-top: 22px; width: 100%; font-family: var(--font-body); font-size: 13px;
  letter-spacing: .15em; color: #fff; border-bottom: 0;
}
body.menu-open { overflow: hidden; }
@media (max-width: 920px) {
  .site-header nav { display: none; }
  .site-header .bar { justify-content: center; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 82vh; display: flex; align-items: center; color: #fff; }
.hero.short { min-height: 56vh; }
.hero .bg { position: absolute; inset: 0; overflow: hidden; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.hero .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,14,8,.42) 0%, rgba(20,14,8,.30) 45%, rgba(20,14,8,.58) 100%);
}
.hero .inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 110px 22px 80px; width: 100%; }
/* Tile behind the hero text for legibility over photography.
   Styled as a warm printed card in the site's own palette (parchment, brown
   serif, Aegean rule) — NOT the hub's navy glass. Text and buttons inside
   flip to their on-light variants. */
.hero .tile {
  display: inline-block; max-width: 660px;
  background: var(--glass-tint-strong);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-saturate));
  border: 1px solid var(--stone);
  border-top: 3px solid var(--aegean);
  border-radius: 6px; padding: 38px 42px;
  box-shadow: 0 18px 50px rgba(30, 20, 10, .30),
    inset 1px 1px 0 var(--glass-border-hi),
    inset -1px -1px 0 var(--glass-border-lo);
  contain: layout paint;
}
/* Tier 1 (Chromium only, set by site.js): the hero card refracts — the photo
   visibly bends at the card's edges. (An earlier "renderer hang" blamed on
   this filter turned out to be a test artifact: the probe used rAF in a
   hidden page, where rAF never fires.) */
.lg-refract .hero .tile {
  -webkit-backdrop-filter: url(#lg-glass) blur(var(--glass-blur)) saturate(var(--glass-saturate));
  backdrop-filter: url(#lg-glass) blur(var(--glass-blur)) saturate(var(--glass-saturate));
}
.hero .tile .kicker { color: var(--aegean); opacity: 1; }
.hero .tile h1 { color: var(--brown); text-shadow: none; }
.hero .tile p.sub { color: var(--ink); opacity: 1; }
.hero .tile .btn.solid-onphoto, .hero .tile .btn.onphoto {
  border-radius: 3px;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}
.hero .tile .btn.solid-onphoto { background: var(--blue); border-color: var(--blue); color: #fff; }
.hero .tile .btn.solid-onphoto:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.hero .tile .btn.onphoto { background: transparent; border-color: var(--blue); color: var(--blue); }
.hero .tile .btn.onphoto:hover { background: var(--blue); color: #fff; }
@media (max-width: 560px) { .hero .tile { padding: 26px 24px; } }
.hero .kicker { color: #fff; opacity: .92; }
.hero h1 {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(40px, 6.5vw, 74px); line-height: 1.04; letter-spacing: .02em;
  max-width: 15ch; text-shadow: 0 2px 22px rgba(0,0,0,.35);
}
.hero p.sub { margin: 20px 0 30px; font-size: clamp(16px, 1.8vw, 19px); max-width: 56ch; opacity: .95; }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section.tight { padding: 60px 0; }
.section.parchment { background: var(--parchment); }
.section.brick { background: #fff url("../img/texture-white-brick.jpg") center/cover; }
.section-head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.section-head .rule {
  width: 54px; height: 2px; background: var(--aegean); margin: 18px auto 0;
}

/* ---------- cards & grids ---------- */
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 1000px) { .grid4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 880px) { .grid3 { grid-template-columns: 1fr; } .grid2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid4 { grid-template-columns: 1fr; } }

/* Cards sit on flat backgrounds, where glass is invisible — per the
   flat-background rule they stay near-solid and only pick up the specular
   inner border, so the material language matches the true glass surfaces. */
.card {
  background: var(--paper); border: 1px solid var(--stone); border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow), inset 1px 1px 0 var(--glass-border-hi), inset -1px -1px 0 var(--glass-border-lo);
}
.card .photo { aspect-ratio: 4 / 3; overflow: hidden; }
.card .photo.tall { aspect-ratio: 3 / 3.6; }
.card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .photo img { transform: scale(1.035); }
.card .body { padding: 24px 24px 28px; }
.card .body h3 {
  font-family: var(--font-display); font-size: 23px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--brown); margin-bottom: 4px;
}
.card .body .tag { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--aegean); margin-bottom: 10px; }
.card .body p { font-size: 15px; color: var(--ink); }

/* split feature (photo + copy) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split .photo { border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
.split.flip .photo { order: 2; }
@media (max-width: 880px) { .split, .split.flip { grid-template-columns: 1fr; gap: 30px; } .split.flip .photo { order: 0; } }

/* ---------- quotes ---------- */
.quote {
  background: var(--paper); border: 1px solid var(--stone); border-top: 3px solid var(--aegean);
  border-radius: 6px; padding: 30px 28px;
  box-shadow: var(--shadow), inset 1px 1px 0 var(--glass-border-hi), inset -1px -1px 0 var(--glass-border-lo);
}
.quote p {
  font-family: var(--font-display); font-size: 19.5px; line-height: 1.5; color: var(--brown);
  font-style: italic;
}
.quote .who { margin-top: 16px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-style: normal; font-family: var(--font-body); }

/* ---------- location cards ---------- */
.loc-card .meta { display: grid; gap: 6px; margin: 14px 0 20px; font-size: 15px; }
.loc-card .meta a { color: var(--blue); text-decoration: none; }
.loc-card .meta a:hover { text-decoration: underline; }
.loc-card .hours { color: var(--ink-soft); font-size: 14px; line-height: 1.6; }

/* ---------- menu page ---------- */
.menu-nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0 0 40px; }
.menu-nav a {
  font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--brown); text-decoration: none; padding: 9px 16px; border: 1px solid var(--stone);
  border-radius: 999px; background: var(--paper);
}
.menu-nav a:hover { border-color: var(--blue); color: var(--blue); }
.menu-cat { margin-bottom: 54px; }
.menu-cat h2 {
  font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; color: var(--brown); text-align: center; margin-bottom: 8px;
}
.menu-cat .rule { width: 44px; height: 2px; background: var(--aegean); margin: 0 auto 30px; }
.menu-items { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 46px; }
@media (max-width: 760px) { .menu-items { grid-template-columns: 1fr; } }
.mi { break-inside: avoid; }
.mi .row { display: flex; align-items: baseline; gap: 10px; }
.mi .nm { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--brown); letter-spacing: .015em; }
.mi .dots { flex: 1; border-bottom: 1px dotted #C9BBA8; transform: translateY(-4px); }
.mi .pr { font-weight: 600; color: var(--blue); font-size: 16.5px; white-space: nowrap; }
.mi .ds { font-size: 14.5px; color: var(--ink-soft); margin-top: 3px; max-width: 52ch; }

/* ---------- news / posts ---------- */
.post-card { display: flex; flex-direction: column; }
.post-card .photo { aspect-ratio: 16 / 10; }
.post-card time { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.badge {
  display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px;
}
.badge.special { background: rgba(46,134,171,.12); color: var(--aegean); }
.badge.announcement { background: rgba(39,73,143,.10); color: var(--blue); }
.badge.loc { background: var(--parchment); color: var(--ink-soft); }

/* ---------- community feed (news.html) ---------- */
/* Location filter — pill row, same language as .menu-nav */
.loc-filter { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0 0 40px; }
.loc-filter button {
  font: 600 12px/1 var(--font-body); letter-spacing: .13em; text-transform: uppercase;
  color: var(--brown); padding: 9px 16px; border: 1px solid var(--stone);
  border-radius: 999px; background: var(--paper); cursor: pointer;
}
.loc-filter button:hover { border-color: var(--blue); color: var(--blue); }
.loc-filter button.on { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Moment cards — a person, not a brand channel */
.moment-author { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.moment-author .avi {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto;
  background: var(--aegean); color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 19px; font-weight: 600;
}
.moment-author .who { font-size: 14.5px; font-weight: 600; color: var(--brown); line-height: 1.3; }
.moment-author .meta { font-size: 12.5px; color: var(--ink-soft); }
.moment-body { font-size: 15.5px; color: var(--ink); }

/* like / comment row */
.pc-actions { display: flex; align-items: center; gap: 20px; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; }
.pc-actions button {
  font: 600 13.5px var(--font-body); color: var(--ink-soft); background: none; border: 0;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 4px 0;
}
.pc-actions button:hover { color: var(--blue); }
.pc-like .hrt { font-size: 16px; line-height: 1; }
.pc-like.on { color: #B3402A; }
.pc-like.on:hover { color: #B3402A; }
@media (prefers-reduced-motion: no-preference) {
  .pc-like .hrt { transition: transform .18s ease; }
  .pc-like.on .hrt { transform: scale(1.15); }
}

/* comments */
.pc-comments { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 14px; }
.pc-comments .cnote { font-size: 13px; color: var(--ink-soft); }
.comment { padding: 8px 0; }
.comment .chead { font-size: 13px; font-weight: 600; color: var(--brown); }
.comment .chead time { font-weight: 400; color: var(--ink-soft); margin-left: 8px; font-size: 12px; }
.comment .ctext { font-size: 14.5px; color: var(--ink); margin-top: 2px; }
.comment .creply { font: 600 12px var(--font-body); color: var(--aegean); background: none; border: 0; cursor: pointer; padding: 2px 0; }
.comment.reply { margin-left: 26px; border-left: 2px solid var(--stone); padding-left: 12px; }
.comment.pending { opacity: .75; }
.comment.pending .cpend { font-size: 12px; color: var(--aegean); font-style: italic; }
.cform { display: flex; gap: 8px; margin-top: 10px; }
.cform input {
  flex: 1; font: 14.5px var(--font-body); color: var(--ink);
  background: #FCFAF7; border: 1px solid var(--stone); border-radius: 999px; padding: 10px 16px;
}
.cform input:focus { outline: none; border-color: var(--aegean); }
.cform button {
  font: 600 12px/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
  background: var(--blue); color: #fff; border: 0; border-radius: 999px; padding: 0 18px; cursor: pointer;
}
.cform button:hover { background: var(--blue-deep); }
.cas { font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; }
.cas a { color: var(--aegean); text-decoration: none; }
.creplying { font-size: 12.5px; color: var(--aegean); margin-top: 10px; }
.creplying a { color: var(--ink-soft); }

/* first-name-once modal (mirrors the hub's menu-photos pattern, in site styling) */
.name-overlay {
  position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center;
  background: rgba(27, 20, 12, .55); padding: 22px;
}
.name-overlay.show { display: flex; }
.name-box {
  background: var(--paper); border: 1px solid var(--stone); border-top: 3px solid var(--aegean);
  border-radius: 8px; box-shadow: var(--shadow); max-width: 380px; width: 100%;
  padding: 32px 28px; text-align: center;
}
.name-box h3 { font-family: var(--font-display); font-size: 26px; text-transform: uppercase; letter-spacing: .03em; color: var(--brown); }
.name-box p { color: var(--ink-soft); font-size: 14px; margin-top: 6px; }
.name-box input {
  width: 100%; font: 16px var(--font-body); color: var(--ink); text-align: center;
  background: #FCFAF7; border: 1px solid var(--stone); border-radius: 4px; padding: 12px 13px; margin-top: 16px;
}
.name-box input:focus { outline: none; border-color: var(--aegean); }
.name-box .btn { width: 100%; margin-top: 14px; }

.feed-toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 95;
  background: var(--blue-deep); color: #fff; font-size: 13.5px; font-weight: 600;
  border-radius: 999px; padding: 10px 18px; opacity: 0; pointer-events: none;
  transition: opacity .25s ease; max-width: 88%; text-align: center;
}
.feed-toast.show { opacity: 1; }
@media (max-width: 920px) { .feed-toast { bottom: calc(86px + env(safe-area-inset-bottom)); } }

/* ---------- gallery ---------- */
.masonry { columns: 3 300px; column-gap: 18px; }
.masonry figure { margin: 0 0 18px; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); break-inside: avoid; }
.masonry img { width: 100%; }

/* ---------- forms ---------- */
.form-card {
  background: var(--paper); border: 1px solid var(--stone); border-top: 3px solid var(--blue);
  border-radius: 6px; padding: 36px 34px; box-shadow: var(--shadow); max-width: 640px; margin: 0 auto;
}
.form-card label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin: 18px 0 6px; }
.form-card input, .form-card select, .form-card textarea {
  /* 16px min — anything smaller makes iOS Safari auto-zoom (and shift) on focus */
  width: 100%; font: 16px/1.45 var(--font-body); color: var(--ink);
  background: #FCFAF7; border: 1px solid var(--stone); border-radius: 4px; padding: 12px 13px;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: none; border-color: var(--aegean); }
.form-card textarea { resize: vertical; min-height: 92px; }
.form-card .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-card .row2 { grid-template-columns: 1fr; } }
.form-card .btn { width: 100%; margin-top: 26px; }
.form-err { color: #B3402A; font-size: 14px; margin-top: 12px; text-align: center; min-height: 20px; }
.form-ok { text-align: center; padding: 26px 6px; }
.form-ok .big { font-size: 44px; }
.form-ok h3 { font-family: var(--font-display); font-size: 26px; color: var(--brown); margin: 10px 0 8px; }
.form-ok p { color: var(--ink-soft); }

/* ---------- order chooser overlay ---------- */
.order-overlay {
  position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center;
  background: rgba(27, 20, 12, .55); padding: 22px;
}
.order-overlay.open { display: flex; }
.order-box {
  background: var(--glass-tint-strong);
  -webkit-backdrop-filter: blur(20px) saturate(var(--glass-saturate));
  backdrop-filter: blur(20px) saturate(var(--glass-saturate));
  box-shadow: var(--shadow), inset 1px 1px 0 var(--glass-border-hi), inset -1px -1px 0 var(--glass-border-lo);
  border-radius: 8px; max-width: 560px; width: 100%;
  padding: 40px 36px; text-align: center; position: relative;
  contain: layout paint;
}
/* Tier 1 (Chromium, set by site.js): the one signature refraction moment —
   safe here because the overlay's backdrop is static while it's open. */
.lg-refract .order-box {
  -webkit-backdrop-filter: url(#lg-glass) blur(20px) saturate(var(--glass-saturate));
  backdrop-filter: url(#lg-glass) blur(20px) saturate(var(--glass-saturate));
}
.order-box .close { position: absolute; top: 12px; right: 16px; font-size: 26px; line-height: 1; background: none; border: 0; color: var(--ink-soft); cursor: pointer; }
.order-box h3 { font-family: var(--font-display); font-size: 30px; text-transform: uppercase; letter-spacing: .03em; color: var(--brown); margin-bottom: 6px; }
.order-box p { color: var(--ink-soft); margin-bottom: 24px; }
.order-box .choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .order-box .choices { grid-template-columns: 1fr; } }

/* ---------- banner CTA ---------- */
.banner {
  position: relative; color: #fff; text-align: center; padding: 96px 22px; overflow: hidden;
}
.banner .bg { position: absolute; inset: 0; }
.banner .bg img { width: 100%; height: 100%; object-fit: cover; }
.banner .bg::after { content: ""; position: absolute; inset: 0; background: rgba(23, 16, 9, .55); }
.banner .inner { position: relative; z-index: 1; }
.banner h2 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 26px; text-shadow: 0 2px 18px rgba(0,0,0,.4); }

/* ---------- footer ---------- */
.site-footer { background: var(--blue-deep); color: rgba(255,255,255,.86); margin-top: 0; }
.site-footer .top {
  max-width: var(--maxw); margin: 0 auto; padding: 64px 22px 50px;
  display: grid; grid-template-columns: 1.1fr 1fr 1fr .9fr; gap: 40px;
}
@media (max-width: 920px) { .site-footer .top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .top { grid-template-columns: 1fr; } }
.site-footer .mati { width: 76px; height: 76px; border-radius: 50%; margin-bottom: 16px; }
.site-footer h4 { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer p, .site-footer a { font-size: 14.5px; line-height: 1.7; color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .links a { display: block; padding: 3px 0; }
.site-footer .social { display: flex; gap: 12px; margin-top: 14px; }
.site-footer .social a {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: #fff; font-size: 15px;
}
.site-footer .social a:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.site-footer .legal {
  border-top: 1px solid rgba(255,255,255,.16); text-align: center; padding: 20px 22px;
  font-size: 13px; color: rgba(255,255,255,.62);
}

/* ---------- glass accessibility fallbacks ---------- */
/* Reduced transparency: every glass surface goes solid in the site's own paper
   color; nothing else about the design changes. */
@media (prefers-reduced-transparency: reduce) {
  .site-header, .hero .tile, .lg-refract .hero .tile, .order-box, .mobile-menu,
  .btn.onphoto, .btn.solid-onphoto {
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .site-header { background: rgba(255, 255, 255, .97); }
  .hero .tile, .order-box, .mobile-menu { background: #FCFAF7; }
  .btn.solid-onphoto { background: #fff; }
  .btn.onphoto { background: rgba(20, 14, 8, .55); }
}
@media (prefers-reduced-motion: reduce) {
  .btn.onphoto:active, .btn.solid-onphoto:active { transform: none; }
}

/* ---------- motion ---------- */
/* Parallax: hero/banner photos get vertical bleed and are translated slower than
   the scroll by site.js, so the page appears to slide over a photo sitting behind it. */
.hero .bg img, .banner .bg img {
  height: 144%; top: -22%; position: relative;
  will-change: transform;
}
/* card photos float over their frames: slight over-scale gives the parallax
   drift (written by site.js) room to move without exposing edges */
.card .photo { isolation: isolate; }
.site-footer { overflow: hidden; }
.site-footer .top { will-change: transform; }
/* Scroll-driven parallax (compositor-side — buttery on iOS Safari, where the
   JS scroll/rAF path stutters during momentum scrolling). When the browser
   supports animation-timeline, site.js skips its JS parallax entirely and
   these animations own the exact same movements. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero .bg img, .banner .bg img {
      animation: lg-par-bg linear both;
      animation-timeline: view(block);
      animation-range: cover 0% cover 100%;
    }
    .card .photo img {
      animation: lg-par-card linear both;
      animation-timeline: view(block);
      animation-range: cover 0% cover 100%;
    }
    .site-footer .top {
      animation: lg-par-foot linear both;
      animation-timeline: view(block);
      animation-range: entry 0% entry 100%;
    }
  }
}
@keyframes lg-par-bg { from { transform: translateY(-8%); } to { transform: translateY(8%); } }
@keyframes lg-par-card { from { transform: translateY(3.5%) scale(1.12); } to { transform: translateY(-3.5%) scale(1.12); } }
@keyframes lg-par-foot { from { transform: translateY(-52px); } to { transform: translateY(0); } }

/* Scroll reveal: .anim is added by site.js only (no-JS users see everything),
   .in arrives from an IntersectionObserver. Stagger via --anim-delay. */
@media (prefers-reduced-motion: no-preference) {
  .anim {
    opacity: 0; transform: translateY(26px);
    transition: opacity .7s ease, transform .75s cubic-bezier(.22, .61, .36, 1);
    transition-delay: var(--anim-delay, 0s);
  }
  .anim.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .bg img, .banner .bg img { height: 100%; top: 0; }
}

/* ---------- chat toast (interim, until the assistant widget ships) ---------- */
.chat-toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px);
  z-index: 95; max-width: calc(100vw - 32px);
  background: var(--glass-tint-strong); color: var(--brown);
  -webkit-backdrop-filter: blur(20px) saturate(var(--glass-saturate));
  backdrop-filter: blur(20px) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border-hi);
  border-radius: 999px; padding: 12px 22px;
  font-size: 14px; font-weight: 600; letter-spacing: .01em;
  box-shadow: 0 14px 38px rgba(20, 14, 8, .22), inset 0 1px 0 var(--glass-border-hi);
  opacity: 0; pointer-events: none; transition: opacity .28s ease, transform .28s ease;
}
.lg-refract .chat-toast {
  -webkit-backdrop-filter: url(#lg-glass) blur(20px) saturate(var(--glass-saturate));
  backdrop-filter: url(#lg-glass) blur(20px) saturate(var(--glass-saturate));
}
.chat-toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-transparency: reduce) {
  .chat-toast, .lg-refract .chat-toast {
    -webkit-backdrop-filter: none; backdrop-filter: none; background: #FCFAF7;
  }
}
@media (max-width: 920px) { .chat-toast { bottom: calc(84px + env(safe-area-inset-bottom)); } }

/* ---------- utilities ---------- */
.spacer-s { height: 18px; }
.note { font-size: 13.5px; color: var(--ink-soft); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 10px 14px; }

/* =====================================================================
   Ask Yamás — support chat widget (js/chat.js).
   Light-glass language: cream glass panel, blue guest bubbles, parchment
   assistant bubbles, Aegean "Yamás team" bubbles. Floating card on desktop,
   full sheet on mobile/tablet (where the tab bar is present).
   ===================================================================== */
.yc-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 78;
  width: 58px; height: 58px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--glass-border-hi);
  background: var(--glass-tint-strong); color: var(--blue);
  -webkit-backdrop-filter: blur(18px) saturate(var(--glass-saturate));
  backdrop-filter: blur(18px) saturate(var(--glass-saturate));
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(30, 20, 10, .22), inset 0 1px 0 var(--glass-border-hi);
  transition: transform .22s ease, box-shadow .22s ease, opacity .2s ease, bottom .32s cubic-bezier(.22,.61,.36,1);
}
.lg-refract .yc-fab {
  -webkit-backdrop-filter: url(#lg-glass) blur(18px) saturate(var(--glass-saturate));
  backdrop-filter: url(#lg-glass) blur(18px) saturate(var(--glass-saturate));
}
.yc-fab svg { width: 26px; height: 26px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.yc-fab:hover { transform: translateY(-2px); box-shadow: 0 15px 34px rgba(30, 20, 10, .30); }
.yc-fab:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.yc-fab.open { transform: scale(0); opacity: 0; pointer-events: none; }
@media (prefers-reduced-transparency: reduce) {
  .yc-fab, .lg-refract .yc-fab { -webkit-backdrop-filter: none; backdrop-filter: none; background: #FBF9F6; }
}

.yc-panel {
  position: fixed; right: 24px; bottom: 24px; z-index: 99;
  width: 390px; max-width: calc(100vw - 32px);
  height: min(78vh, 640px);
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--glass-tint-strong);
  -webkit-backdrop-filter: blur(22px) saturate(var(--glass-saturate));
  backdrop-filter: blur(22px) saturate(var(--glass-saturate));
  border: 1px solid var(--glass-border-hi);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(30, 20, 10, .34), inset 0 1px 0 var(--glass-border-hi);
  /* closed state via visibility+pointer-events, NOT the [hidden] attr — an author
     display rule overrides [hidden], which would leave an invisible click-eating layer */
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(24px) scale(.98);
  transition: opacity .26s ease, transform .3s cubic-bezier(.22,.61,.36,1), visibility 0s linear .32s;
}
.lg-refract .yc-panel {
  -webkit-backdrop-filter: url(#lg-glass) blur(22px) saturate(var(--glass-saturate));
  backdrop-filter: url(#lg-glass) blur(22px) saturate(var(--glass-saturate));
}
.yc-panel.open {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  transition: opacity .26s ease, transform .3s cubic-bezier(.22,.61,.36,1), visibility 0s;
}

.yc-head {
  position: relative; padding: 16px 18px 13px;
  background: rgba(255,255,255,.30);
  border-bottom: 1px solid var(--stone);
  box-shadow: 0 2px 0 rgba(46,134,171,.28);
}
.yc-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; letter-spacing: .01em; color: var(--brown); }
.yc-title em { font-style: normal; color: var(--aegean); }
.yc-disc { font-size: 11.5px; line-height: 1.4; color: var(--ink-soft); margin-top: 3px; padding-right: 26px; }
.yc-close {
  position: absolute; top: 12px; right: 12px; width: 30px; height: 30px;
  border: 0; background: rgba(54,26,12,.06); border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: var(--ink);
}
.yc-close svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.yc-close:hover { background: rgba(54,26,12,.12); }

.yc-log { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.yc-row { display: flex; }
.yc-row.yc-user { justify-content: flex-end; }
.yc-bub {
  max-width: 84%; padding: 9px 13px; border-radius: 15px; font-size: 14.5px; line-height: 1.45;
  white-space: pre-wrap; word-wrap: break-word;
}
.yc-bub a { color: inherit; text-decoration: underline; font-weight: 600; word-break: break-word; }
.yc-user .yc-bub { background: var(--blue); color: #fff; border-bottom-right-radius: 5px; }
.yc-assistant .yc-bub { background: #fff; color: var(--ink); border: 1px solid var(--stone); border-bottom-left-radius: 5px; }
.yc-assistant .yc-bub a { color: var(--blue); }
.yc-manager .yc-bub {
  background: rgba(46,134,171,.12); color: var(--brown);
  border: 1px solid rgba(46,134,171,.42); border-bottom-left-radius: 5px;
}
.yc-manager .yc-bub a { color: var(--aegean); }
.yc-who { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--aegean); margin-bottom: 2px; }
.yc-sys {
  align-self: center; text-align: center; max-width: 92%;
  font-size: 12.5px; line-height: 1.45; color: var(--ink-soft);
  background: var(--parchment); border: 1px solid var(--stone); border-radius: 12px; padding: 8px 13px;
}
.yc-esc {
  align-self: center; text-align: center; max-width: 94%;
  font-size: 13px; line-height: 1.45; color: #2f6a45;
  background: rgba(95,194,126,.14); border: 1px solid rgba(95,194,126,.5); border-radius: 12px; padding: 9px 14px;
}
.yc-typing { display: flex; gap: 4px; padding: 6px 4px 2px 8px; }
.yc-typing span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ink-soft); opacity: .5;
  animation: yc-blink 1.2s infinite ease-in-out;
}
.yc-typing span:nth-child(2) { animation-delay: .18s; }
.yc-typing span:nth-child(3) { animation-delay: .36s; }
@keyframes yc-blink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

.yc-emailbar { display: none; gap: 8px; padding: 0 14px 12px; }
.yc-emailbar.show { display: flex; }
.yc-form { display: flex; gap: 9px; padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--stone); background: rgba(255,255,255,.28); }
.yc-emailbar input, .yc-form input {
  /* 16px min — anything smaller makes iOS Safari auto-zoom (and shift) on focus */
  flex: 1; font: 16px var(--font-body); color: var(--ink);
  background: #fff; border: 1px solid var(--stone); border-radius: 12px; padding: 11px 14px; outline: none;
}
.yc-emailbar input:focus, .yc-form input:focus { border-color: var(--aegean); }
.yc-emailbar button {
  border: 0; border-radius: 12px; padding: 0 16px; font: 600 14px var(--font-body);
  background: var(--blue); color: #fff; cursor: pointer;
}
.yc-send {
  flex: 0 0 auto; width: 46px; border: 0; border-radius: 12px; cursor: pointer;
  background: var(--blue); color: #fff; display: grid; place-items: center;
}
.yc-send svg { width: 20px; height: 20px; fill: currentColor; }
.yc-send:disabled { opacity: .5; cursor: default; }
.yc-send:focus-visible, .yc-emailbar button:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* mobile / tablet — full sheet over the page (clears the tab bar) */
@media (max-width: 920px) {
  .yc-fab { bottom: calc(84px + env(safe-area-inset-bottom)); right: 18px; }
  /* when the tab bar auto-hides on scroll, drop the launcher toward the bottom */
  body.tabbar-hidden .yc-fab { bottom: calc(20px + env(safe-area-inset-bottom)); }
  .yc-panel {
    right: 0; bottom: 0; left: 0; top: 0;
    width: 100%; max-width: 100%; height: 100%;
    border-radius: 0; border: 0;
    transform: translateY(100%);
  }
  .yc-panel.open { transform: none; }
  body.yc-lock { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .yc-fab, .yc-panel { transition: opacity .2s ease; transform: none; }
  .yc-panel { transform: none; }
  .yc-typing span { animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .yc-panel, .lg-refract .yc-panel {
    -webkit-backdrop-filter: none; backdrop-filter: none; background: #FBF9F6;
  }
}

/* typing caret while an incoming reply types out */
.yc-txt.yc-caret::after {
  content: ""; display: inline-block; width: 2px; height: 1.05em;
  background: currentColor; margin-left: 2px; vertical-align: -2px;
  opacity: .55; animation: yc-caret-blink 1s steps(1) infinite;
}
@keyframes yc-caret-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .yc-txt.yc-caret::after { animation: none; } }
