/* Taverna Tsambikos. From the place: the hand-lettered "Tsambikos" on a whitewashed
   wooden gable, warm yellow light on the terrace, beige tablecloths printed with olive
   branches, and the wood oven. Light and warm throughout. */
:root {
  /* Brand tokens — change these per restaurant */
  --cream: #FBF8F1;
  --white: #FFFFFF;
  --plank: #F4EFE4;        /* whitewashed wood */
  --cloth: #F2E6CB;        /* the beige tablecloth */
  --olive: #6E7F37;        /* olive leaves on the cloth */
  --olive-deep: #4F5D26;
  --charcoal: #2E2A25;     /* the letters of the sign */
  --muted: #6F675C;
  --terra: #B5552D;        /* wood oven */
  --sun: #E7B743;          /* the yellow terrace walls */
  --line: rgba(46, 42, 37, .13);

  --f-logo: "Dancing Script", "Brush Script MT", cursive;
  --f-display: "Literata", Georgia, "Times New Roman", serif;
  --f-body: "Open Sans", "Segoe UI", Arial, sans-serif;

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1160px;
  --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(--cream); color: var(--charcoal); font: 400 1.03rem/1.65 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: 600; text-wrap: balance; margin: 0; line-height: 1.12; letter-spacing: -.01em; }
h2 { font-size: var(--h2); }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--charcoal); color: #fff; padding: 8px 12px; }
.skip:focus { left: 16px; }

.top-in, .hero-in, .promise-in, .gallery-in, .visit-in, .foot-in {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: var(--gutter); padding-right: var(--gutter-r);
}

/* The tablecloth: beige, printed with olive sprigs */
.cloth-band, .menu {
  background-color: var(--cloth);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='%236E7F37' fill-opacity='.28'%3E%3Cg transform='translate(20 40) rotate(-24)'%3E%3Cpath d='M0 20C26 16 50 12 90 6' fill='none' stroke='%236E7F37' stroke-opacity='.34' stroke-width='1.6'/%3E%3Cpath d='M16 18c4-9 13-12 20-11-4 8-12 12-20 11ZM24 17c6 6 15 7 21 3-7-5-15-6-21-3ZM44 14c4-9 13-12 20-11-4 8-12 12-20 11ZM52 13c6 6 15 7 21 3-7-5-15-6-21-3Z'/%3E%3Cellipse cx='36' cy='26' rx='3.5' ry='4.5' fill='%234F5D26' fill-opacity='.35'/%3E%3C/g%3E%3Cg transform='translate(100 140) rotate(150)'%3E%3Cpath d='M0 20C26 16 50 12 90 6' fill='none' stroke='%236E7F37' stroke-opacity='.34' stroke-width='1.6'/%3E%3Cpath d='M16 18c4-9 13-12 20-11-4 8-12 12-20 11ZM24 17c6 6 15 7 21 3-7-5-15-6-21-3ZM44 14c4-9 13-12 20-11-4 8-12 12-20 11ZM52 13c6 6 15 7 21 3-7-5-15-6-21-3Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 180px 180px;
}
.cloth-band { height: 34px; border-block: 1px solid rgba(110,127,55,.25); }

/* ---------- Header: whitewashed planks ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--plank); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: repeating-linear-gradient(0deg, var(--plank) 0 15px, #E9E2D3 15px 16px); border-bottom: 1px solid rgba(46,42,37,.18); }
.top-in { display: flex; align-items: center; gap: 24px; padding-block: 8px; }
.brand { display: grid; text-decoration: none; line-height: 1; }
.logo { font: 700 2.1rem/1 var(--f-logo); color: var(--charcoal); }
.logo-sub { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 2px; padding-left: 4px; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--charcoal); padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--olive); }

.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font: 600 .82rem/1 var(--f-body); letter-spacing: .06em; border: 1.5px solid var(--charcoal); padding: 9px 12px; border-radius: 999px; color: var(--charcoal); background: var(--white); }
.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: 6px; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 10px; min-width: 190px; box-shadow: 0 18px 40px rgba(46,42,37,.16); }
.lang-list button { width: 100%; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; background: none; border: 0; border-radius: 6px; color: var(--charcoal); cursor: pointer; text-align: left; font: 400 .98rem/1 var(--f-body); padding: 10px; }
.lang-list button span { font-size: .74rem; font-weight: 600; color: var(--muted); }
.lang-list button:hover, .lang-list button[aria-current="true"] { background: var(--cream); }
.lang-list button[aria-current="true"] span { color: var(--olive); }

/* ---------- Hero ---------- */
.hero { background: var(--cream); }
.hero-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(34px, 6vw, 88px); }
.hero-copy { min-width: 0; display: grid; gap: 18px; }
.eyebrow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .9rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--olive-deep); }
.sprig-mini { width: 44px; height: 15px; color: var(--olive); }
.hero h1 { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4.2rem); }
.h1-a { display: block; }
.h1-b { display: block; font-style: italic; font-weight: 500; color: var(--terra); }
.lede { max-width: 34em; font-size: 1.08rem; color: #4A443C; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; font: 600 1rem/1 var(--f-body); text-decoration: none; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.btn-solid { background: var(--olive-deep); color: #fff; }
.btn-solid:hover { background: #3F4A1E; transform: translateY(-1px); }
.btn-line { border-color: var(--charcoal); color: var(--charcoal); }
.btn-line:hover { background: var(--charcoal); color: #fff; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 4px 0 0; padding: 0; font-size: .95rem; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 9px; color: var(--charcoal); font-weight: 600; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: #999; }
.status.is-open i { background: #3A9A55; box-shadow: 0 0 0 4px rgba(58,154,85,.16); }
.status.is-closed i { background: var(--terra); }
.hero-media img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; border-radius: 6px; box-shadow: 0 24px 44px rgba(46,42,37,.2); }

/* ---------- Promise ---------- */
.promise { background: var(--white); }
.promise-in { padding-block: clamp(44px, 6vw, 84px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 18px clamp(28px, 5vw, 72px); align-items: start; }
.promise-head { display: grid; gap: 10px; }
.promise-head p { color: var(--muted); }
.promise-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.promise-list li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; }
.promise-list svg { width: 22px; height: 22px; flex: none; color: var(--olive); }
.family { grid-column: 2; font: 700 1.9rem/1.2 var(--f-logo); color: var(--terra); margin-top: 6px; }

/* ---------- Menu: white card on the tablecloth ---------- */
.menu { padding: clamp(36px, 5vw, 72px) var(--gutter-r) clamp(36px, 5vw, 72px) var(--gutter); }
.menu-card { max-width: 1000px; margin-inline: auto; background: var(--white); padding: clamp(28px, 5vw, 56px); border-radius: 6px; box-shadow: 0 2px 0 rgba(110,127,55,.25), 0 20px 44px rgba(79,93,38,.16); }
.menu-head { display: grid; justify-items: center; text-align: center; gap: 4px; }
.sprig-line { width: 120px; height: 40px; color: var(--olive); }
.menu-note { font-size: .92rem; color: var(--muted); }

.diet { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 20px 0 4px; }
.diet-l { font-size: .9rem; font-weight: 600; color: var(--muted); margin-right: 4px; }
.chip-f { display: inline-flex; align-items: center; gap: 6px; font: 600 .92rem/1 var(--f-body); color: var(--charcoal); background: var(--cream); border: 1.5px solid var(--line); border-radius: 999px; padding: 9px 14px; cursor: pointer; }
.chip-f svg { width: 16px; height: 16px; }
.chip-f.veg svg { color: #4C9A3A; }
.chip-f.vegan svg { color: #C4A35A; }
.chip-f[aria-pressed="true"] { background: var(--olive-deep); border-color: var(--olive-deep); color: #fff; }
.chip-f[aria-pressed="true"] svg { color: #fff; }

.tabs { display: flex; gap: 6px; margin: 12px 0 6px; overflow-x: auto; scrollbar-width: none; position: sticky; top: calc(64px + env(safe-area-inset-top, 0px)); z-index: 5; background: var(--white); padding-block: 10px; border-bottom: 1px solid var(--line); box-shadow: 0 -14px 0 var(--white); }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; background: none; border: 1.5px solid transparent; border-radius: 999px; cursor: pointer; color: var(--muted); font: 600 .95rem/1 var(--f-body); padding: 10px 15px; }
.tab:hover { color: var(--charcoal); border-color: var(--line); }
.tab[aria-selected="true"] { color: #fff; background: var(--charcoal); }
.tab.dim { opacity: .38; }
.part { padding-top: 22px; }
.panel h3 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.8rem); margin: 0 0 8px; }
.items { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 52px; }
.item { padding: 10px 0; break-inside: avoid; min-width: 0; border-bottom: 1px solid var(--line); }
.item-row { display: flex; align-items: baseline; gap: 8px; }
.item-name { font-weight: 600; font-size: 1.04rem; line-height: 1.3; min-width: 0; }
.item-note { font-size: .75rem; font-weight: 600; color: var(--olive); }
.diet-mark { display: inline-flex; align-self: center; }
.diet-mark svg { width: 16px; height: 16px; }
.diet-mark.veg svg { color: #4C9A3A; }
.diet-mark.vegan svg { color: #C4A35A; }
.item-fill { flex: 1; min-width: 10px; border-bottom: 1.5px dotted rgba(46,42,37,.28); transform: translateY(-4px); }
.item-size { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.item-price { font: 600 1.08rem/1 var(--f-display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.item-with { margin-top: 2px; font-size: .93rem; color: var(--muted); max-width: 38em; }
.part-note { margin-top: 12px; font-size: .95rem; font-style: italic; color: var(--muted); }
.menu-more { margin-top: 26px; text-align: center; font-style: italic; color: var(--muted); }
#menu-panels[data-diet="veg"] .item:not(.d-veg):not(.d-vegan),
#menu-panels[data-diet="vegan"] .item:not(.d-vegan) { display: none; }
.diet-empty { padding: 28px 0; text-align: center; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery { background: var(--cream); }
.gallery-in { padding-block: clamp(48px, 7vw, 96px); }
.gallery h2 { margin-bottom: 28px; }
.grid { columns: 3 240px; column-gap: 12px; }
.shot { break-inside: avoid; margin: 0 0 12px; display: block; width: 100%; padding: 0; border: 0; border-radius: 6px; background: var(--cloth); cursor: zoom-in; overflow: hidden; }
.shot img { width: 100%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.shot:hover img { transform: scale(1.03); }

/* ---------- Visit ---------- */
.visit { background: var(--white); border-top: 1px solid var(--line); }
.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-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-weight: 600; font-size: .82rem; letter-spacing: .08em; 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; }
.phone .mobile { flex-basis: 100%; color: var(--muted); }
.mini { display: inline-flex; gap: 6px; }
.chip { font: 600 .85rem/1 var(--f-body); text-decoration: none; border: 1.5px solid var(--charcoal); background: none; color: var(--charcoal); padding: 8px 12px; cursor: pointer; border-radius: 999px; }
.chip:hover { background: var(--charcoal); color: #fff; }
.hours-note { color: var(--muted); }
.social { font-size: .95rem; color: var(--muted); }
.map { position: relative; min-height: 360px; border-radius: 10px; overflow: hidden; background: var(--cloth); box-shadow: 0 16px 34px rgba(46,42,37,.12); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--charcoal); color: #fff; padding: 6px 10px; border-radius: 6px; font-size: .88rem; }

/* ---------- Footer ---------- */
.foot { background: repeating-linear-gradient(0deg, var(--plank) 0 15px, #E9E2D3 15px 16px); border-top: 1px solid rgba(46,42,37,.18); color: var(--muted); }
.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: .92rem; }
.foot .logo { font-size: 1.8rem; }
.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(30, 27, 22, .9); }
.lightbox img { max-height: 88vh; width: auto; margin: auto; border-radius: 6px; }
.lb-close { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); right: calc(14px + env(safe-area-inset-right, 0px)); width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: var(--charcoal); 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; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-in, .visit-in, .promise-in { grid-template-columns: 1fr; }
  .family { grid-column: auto; }
  .items { columns: 1; }
  .map { min-height: 300px; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .logo { font-size: 1.85rem; }
  .tabs { top: calc(60px + env(safe-area-inset-top, 0px)); }
  .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: 26px 16px 30px; }
}
