/* Taverna Stefanos, Ialysos. By the water, with a little wood: whitewashed driftwood planks,
   the white wooden beams and window frames of their terrace, Aegean blue from their signs with
   its chevron key, waves, and set-menu cards like the board by the door. */
:root {
  /* Brand tokens — change these per restaurant */
  --blue: #1F56A6;           /* their signs */
  --navy: #0F2D5C;
  --aqua: #9FD3E0;
  --sea: #2A6FB8;
  --white: #FBFAF6;          /* whitewash */
  --plank: #EFE9DF;          /* whitewashed driftwood */
  --wood: #9C7A55;
  --wood-dk: #6E5236;
  --coral: #C9443A;          /* the red headings of their menu book */
  --ink: #1D2A3A;
  --muted: #5D6876;
  --line: rgba(29, 42, 58, .13);

  --f-display: "Commissioner", "Segoe UI", Arial, sans-serif;
  --f-body: "Literata", Georgia, serif;

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1180px;
  --h2: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.04rem/1.62 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; text-wrap: balance; margin: 0; line-height: 1.06; letter-spacing: -.015em; }
h2 { font-size: var(--h2); }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; font-family: var(--f-display); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--blue); color: #fff; padding: 8px 12px; }
.skip:focus { left: 16px; }

.top-in, .hero-in, .sets-in, .gallery-in, .visit-in, .foot-in {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: var(--gutter); padding-right: var(--gutter-r);
}

/* Whitewashed driftwood planks */
.planks {
  background-color: var(--plank);
  background-image:
    repeating-linear-gradient(180deg, transparent 0 46px, rgba(110,82,54,.13) 46px 48px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 1px, transparent 1px 23px, rgba(156,122,85,.025) 23px 37px, transparent 37px 61px);
}

/* ---------- Logo ---------- */
.brand { display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center; text-decoration: none; line-height: 1; }
.brand-key { grid-row: span 2; width: 34px; height: 14px; color: var(--blue); }
.logo { font: 800 1.45rem/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.logo-sub { font: 500 .66rem/1 var(--f-display); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--white); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--white) 95%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; padding-block: 11px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font: 700 .95rem/1 var(--f-display); color: var(--ink); padding: 10px 13px; border-radius: 999px; }
.nav a:hover { background: #E4EEF8; color: var(--blue); }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font: 700 .88rem/1 var(--f-display); letter-spacing: .06em; padding: 10px 14px; border-radius: 999px; background: var(--blue); color: #fff; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 10px; height: 6px; transition: transform .2s; }
.lang[open] summary svg { transform: rotate(180deg); }
.lang-list { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none; background: #fff; border-radius: 14px; min-width: 200px; box-shadow: 0 20px 40px rgba(15,45,92,.2); }
.lang-list button { width: 100%; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; background: none; border: 0; border-radius: 8px; color: var(--ink); cursor: pointer; text-align: left; font: 500 1rem/1 var(--f-display); padding: 11px 12px; }
.lang-list button span { font-size: .75rem; font-weight: 700; color: var(--muted); }
.lang-list button:hover, .lang-list button[aria-current="true"] { background: #EEF4FA; }
.lang-list button[aria-current="true"] span { color: var(--blue); }

/* ---------- Hero ---------- */
.hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(36px, 6vw, 84px) clamp(56px, 7vw, 100px); }
.hero-copy { min-width: 0; display: grid; gap: 18px; }
.eyebrow { font: 700 .8rem/1.4 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 4vw, 4.6rem); color: var(--navy); }
.h1-a { display: block; }
.h1-b { display: block; font: italic 400 .62em/1.2 var(--f-body); color: var(--wood-dk); letter-spacing: 0; margin-top: .15em; }
.lede { max-width: 33em; color: #3E4A59; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 24px; font: 700 1rem/1 var(--f-display); text-decoration: none; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s; }
.btn svg { width: 20px; height: 20px; }
.btn-solid { background: var(--blue); color: #fff; }
.btn-solid:hover { background: var(--navy); transform: translateY(-1px); }
.btn-wa { background: #fff; color: #128C4B; border-color: #128C4B; }
.btn-wa:hover { background: #128C4B; color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: #fff; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 2px 0 0; padding: 0; font: 500 .95rem/1.4 var(--f-display); color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-weight: 700; }
.status i { width: 10px; height: 10px; border-radius: 50%; background: #999; }
.status.is-open i { background: #2E9E5B; box-shadow: 0 0 0 4px rgba(46,158,91,.18); }
.status.is-closed i { background: var(--coral); }
.lunch { font: 500 .9rem/1.4 var(--f-display); color: var(--muted); padding-left: 14px; border-left: 3px solid var(--wood); }
.lunch.is-now { color: var(--ink); border-left-color: #2E9E5B; }
/* The photo in a white wooden window frame, like their terrace */
.window { position: relative; padding: 14px; background: #fff; border-radius: 4px; box-shadow: 0 2px 0 rgba(110,82,54,.25), 0 30px 50px rgba(15,45,92,.18);
  background-image: repeating-linear-gradient(90deg, rgba(110,82,54,.04) 0 2px, transparent 2px 9px); }
.window img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; border-radius: 2px; }
.window::after { content: ""; position: absolute; left: 50%; top: 14px; bottom: 14px; width: 10px; transform: translateX(-50%); background: #fff; box-shadow: 0 0 6px rgba(0,0,0,.15); }

/* Waves between the wood and the sea */
.waves { height: 34px; margin-top: -34px; position: relative; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='34' viewBox='0 0 120 34'%3E%3Cpath d='M0 18c15 0 15-12 30-12s15 12 30 12 15-12 30-12 15 12 30 12v16H0Z' fill='%231F56A6'/%3E%3Cpath d='M0 24c15 0 15-9 30-9s15 9 30 9 15-9 30-9 15 9 30 9' fill='none' stroke='%239FD3E0' stroke-width='2'/%3E%3C/svg%3E") repeat-x 0 100% / 120px 34px; }
.waves.flip { margin-top: 0; transform: scaleY(-1); }

/* ---------- Set menus on blue ---------- */
.sets { background: var(--blue); color: #fff; }
.sets-in { padding-block: clamp(36px, 5vw, 70px) clamp(44px, 6vw, 84px); display: grid; gap: 28px; }
.sets-head { display: grid; gap: 10px; max-width: 44em; }
.sets-head p { color: #DCEAF8; }
.set-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.set { width: 100%; height: 100%; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; text-align: left; font: inherit; color: var(--ink); cursor: pointer; background: #fff; border: 0; border-radius: 14px; padding: 14px 18px 14px 14px; transition: transform .15s, box-shadow .15s; }
.set:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(10,30,70,.3); }
.set-no { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--blue); color: #fff; line-height: 1; }
.set-no small { font: 700 .55rem/1 var(--f-display); letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-top: 8px; }
.set-no b { font: 800 1.5rem/1 var(--f-display); margin-top: -10px; }
.set-body { display: grid; gap: 2px; min-width: 0; }
.set-name { font: 800 1.12rem/1.2 var(--f-display); color: var(--navy); }
.set-with { font-size: .93rem; color: #3E4A59; }
.set-inc { font: 500 .78rem/1.3 var(--f-display); color: var(--muted); }
.set-price { font: 800 1.35rem/1 var(--f-display); color: var(--blue); white-space: nowrap; }
.kids { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 24px; align-items: center; background: var(--navy); border-radius: 18px; padding: 22px 24px; }
.kids[hidden] { display: none; }
.kids-price { grid-row: span 2; font: 700 1rem/1.1 var(--f-display); color: var(--aqua); }
.kids-price b { display: block; font: 800 2.6rem/1 var(--f-display); color: #fff; margin-top: 4px; }
.kids p { color: #DCEAF8; }
.kids-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kid { font: 700 .9rem/1 var(--f-display); color: var(--navy); background: #fff; border: 0; border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.kid:hover { background: var(--aqua); }

/* ---------- Menu ---------- */
.menu { padding: clamp(40px, 6vw, 80px) var(--gutter-r) clamp(40px, 6vw, 80px) var(--gutter); }
.menu-card { position: relative; max-width: 1000px; margin-inline: auto; background: #fff; border-radius: 6px; padding: clamp(34px, 5vw, 60px) clamp(20px, 5vw, 56px) clamp(28px, 5vw, 56px); box-shadow: 0 2px 0 rgba(110,82,54,.2), 0 24px 50px rgba(15,45,92,.16); overflow: hidden; }
.key-band { position: absolute; left: 0; right: 0; top: 0; height: 16px; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='16' viewBox='0 0 40 16'%3E%3Cpath d='M0 14 7 3l7 11M7 14l7-11 7 11' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") repeat-x 6px 0 / 40px 16px; }
.menu-head { display: grid; justify-items: center; text-align: center; gap: 4px; }
.menu-note { color: var(--muted); font-size: .95rem; }
.tabs { display: flex; gap: 6px; margin: 22px 0 6px; overflow-x: auto; scrollbar-width: none; position: sticky; top: calc(64px + env(safe-area-inset-top, 0px)); z-index: 5; background: #fff; padding-block: 10px; border-bottom: 1px solid var(--line); box-shadow: 0 -14px 0 #fff; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; background: #EEF4FA; border: 0; border-radius: 999px; cursor: pointer; color: var(--ink); font: 700 .95rem/1 var(--f-display); padding: 11px 15px; }
.tab:hover { background: #DDE9F6; }
.tab[aria-selected="true"] { background: var(--blue); color: #fff; }
.part { padding-top: 26px; }
.panel h3 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); color: var(--coral); margin: 0 0 6px; text-transform: uppercase; letter-spacing: .02em; }
.items { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 48px; }
.item { padding: 10px 0; break-inside: avoid; min-width: 0; border-bottom: 1px solid var(--line); }
.item.flash { animation: flash 1.8s ease-out; }
@keyframes flash { 0%, 30% { background: #DDEFF6; } 100% { background: transparent; } }
.item-row { display: flex; align-items: baseline; gap: 8px; }
.item-name { font: 700 1.04rem/1.3 var(--f-display); min-width: 0; }
.item-fill { flex: 1; min-width: 10px; border-bottom: 2px dotted rgba(29,42,58,.2); transform: translateY(-5px); }
.item-size { font: 500 .85rem/1 var(--f-display); color: var(--muted); white-space: nowrap; }
.item-price { font: 800 1.04rem/1 var(--f-display); white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--blue); }
.item-with { margin-top: 3px; font-size: .94rem; color: var(--muted); max-width: 38em; }
.items.has-two { columns: 1; }
.item-price.two { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 4.6rem; gap: 10px; text-align: right; }
.item-price.one { min-width: 4.6rem; text-align: right; }
.size-head { display: flex; justify-content: flex-end; gap: 10px; padding: 6px 0 2px; font: 700 .74rem/1 var(--f-display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.size-head span { width: 4.6rem; text-align: right; }
.group + .group { margin-top: 6px; }
.part-note { margin-top: 12px; font-size: .94rem; color: var(--muted); font-style: italic; }

/* ---------- Gallery ---------- */
.gallery { background: var(--white); }
.gallery-in { padding-block: clamp(52px, 7vw, 96px); }
.gallery h2 { margin-bottom: 28px; color: var(--navy); }
.grid { columns: 3 240px; column-gap: 14px; }
.shot { break-inside: avoid; margin: 0 0 14px; display: block; width: 100%; padding: 0; border: 0; border-radius: 10px; background: var(--plank); cursor: zoom-in; overflow: hidden; }
.shot img { width: 100%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.shot:hover img { transform: scale(1.04); }

/* ---------- Visit ---------- */
.visit { background: #EEF4FA; }
.visit-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 80px); padding-block: clamp(56px, 8vw, 110px); }
.visit h2 { color: var(--navy); }
.visit-copy { display: grid; gap: 22px; align-content: start; min-width: 0; }
.info { margin: 0; display: grid; }
.info > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.info dt { font: 700 .78rem/1.5 var(--f-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.info dd { margin: 0; }
.phone { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.mini { display: inline-flex; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font: 700 .88rem/1 var(--f-display); text-decoration: none; border: 0; background: #fff; color: var(--ink); padding: 9px 13px; cursor: pointer; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.chip:hover { background: #DDE9F6; }
.chip.wa { color: #128C4B; }
.chip svg { width: 18px; height: 18px; }
.map { position: relative; min-height: 380px; border-radius: 14px; overflow: hidden; background: var(--plank); border: 10px solid #fff; box-shadow: 0 16px 34px rgba(15,45,92,.14); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--navy); color: #fff; padding: 6px 12px; border-radius: 999px; font: 500 .85rem/1.3 var(--f-display); }

/* ---------- Footer ---------- */
.foot { background: var(--navy); color: #C9D8EA; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px)); font-size: .93rem; }
.foot .logo { color: #fff; font-size: 1.2rem; }
.foot .credit { margin-left: auto; }

/* ---------- Lightbox ---------- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 1400px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(10, 25, 50, .9); }
.lightbox img { max-height: 88vh; width: auto; margin: auto; border-radius: 8px; }
.lb-close { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); right: calc(14px + env(safe-area-inset-right, 0px)); width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--blue); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .hero-copy > *:nth-child(2) { animation-delay: .07s; }
  .hero-copy > *:nth-child(3) { animation-delay: .14s; }
  .hero-copy > *:nth-child(4) { animation-delay: .21s; }
  .hero-copy > *:nth-child(5) { animation-delay: .28s; }
  .window { animation: rise 1s .15s cubic-bezier(.2,.7,.2,1) both; }
  .waves:not(.flip) { animation: tide 9s linear infinite; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
@keyframes tide { to { background-position: 120px 100%; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) { .set-list { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .hero-in, .visit-in { grid-template-columns: 1fr; }
  .window { order: -1; }
  .items { columns: 1; }
  .map { min-height: 300px; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .tabs { top: calc(60px + env(safe-area-inset-top, 0px)); }
  .window { padding: 9px; }
  .window::after { top: 9px; bottom: 9px; width: 7px; }
  .info > div { grid-template-columns: 1fr; gap: 2px; }
  .foot .credit { margin-left: 0; }
  .btn { flex: 1 1 auto; }
  .menu { padding-inline: 10px; }
  .menu-card { padding-inline: 16px; }
  .set { grid-template-columns: auto minmax(0, 1fr); padding: 12px; gap: 12px; }
  .set-price { grid-column: 2; }
  .set-no { width: 50px; height: 50px; }
  .kids { grid-template-columns: 1fr; padding: 20px; }
  .kids-price { grid-row: auto; }
  .item-price.two { grid-auto-columns: 3.9rem; gap: 6px; }
  .item-price.one { min-width: 3.9rem; }
  .size-head { gap: 6px; font-size: .68rem; }
  .size-head span { width: 3.9rem; }
}
