/* Ouzokamomata Greek Tapas. Comfort food: warm cream, tomato red, mustard and olive green,
   the olive-branch print of their paper placemats, round plates, chunky friendly type,
   soft round corners everywhere. */
:root {
  /* Brand tokens — change these per restaurant */
  --cream: #FFF6E8;
  --cream-2: #FBEBD2;
  --butter: #FFE7B3;
  --tomato: #D9472B;
  --tomato-deep: #B5361E;
  --mustard: #E9A93B;
  --olive: #4E5D2B;
  --olive-soft: #8A9A55;
  --ink: #3A2418;          /* warm brown */
  --muted: #7A6455;
  --line: rgba(58, 36, 24, .13);

  --f-logo: "Caveat", "Segoe Print", cursive;
  --f-display: "Roboto Slab", Rockwell, Georgia, serif;
  --f-body: "Alegreya 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(2rem, 1.3rem + 2.8vw, 3.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(--ink); font: 400 1.12rem/1.6 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.08; letter-spacing: -.01em; }
h2 { font-size: var(--h2); }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--tomato); color: #fff; padding: 8px 12px; }
.skip:focus { left: 16px; }

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

/* The placemat: olive branches on kraft paper */
.menu, .tapas {
  background-color: #E9DCC4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='170' viewBox='0 0 220 170'%3E%3Cg transform='translate(20 30) rotate(-12)'%3E%3Cpath d='M6 50C30 40 64 26 114 8' fill='none' stroke='%234E5D2B' stroke-opacity='.5' stroke-width='2.4' stroke-linecap='round'/%3E%3Cg fill='%234E5D2B' fill-opacity='.45'%3E%3Cpath d='M26 44c-2-12 4-22 14-26 2 12-4 22-14 26Z'/%3E%3Cpath d='M34 42c10 6 22 6 30 0-10-6-22-6-30 0Z'/%3E%3Cpath d='M56 34c-2-12 4-22 14-26 2 12-4 22-14 26Z'/%3E%3Cpath d='M64 32c10 6 22 6 30 0-10-6-22-6-30 0Z'/%3E%3C/g%3E%3Cellipse cx='48' cy='54' rx='6' ry='5' fill='%233A2418' fill-opacity='.55'/%3E%3C/g%3E%3Cg transform='translate(120 120) rotate(168)'%3E%3Cpath d='M6 50C30 40 64 26 114 8' fill='none' stroke='%234E5D2B' stroke-opacity='.5' stroke-width='2.4' stroke-linecap='round'/%3E%3Cg fill='%234E5D2B' fill-opacity='.45'%3E%3Cpath d='M26 44c-2-12 4-22 14-26 2 12-4 22-14 26Z'/%3E%3Cpath d='M56 34c-2-12 4-22 14-26 2 12-4 22-14 26Z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-size: 220px 170px;
}

/* ---------- Logo ---------- */
.brand { display: grid; text-decoration: none; line-height: 1; }
.logo { font: 700 2.2rem/.9 var(--f-logo); color: var(--tomato); }
.logo-sub { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--olive); margin-top: 3px; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--cream); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--cream) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; padding-block: 9px; }
.nav { display: flex; gap: 8px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 1rem; font-weight: 700; color: var(--ink); padding: 8px 14px; border-radius: 999px; }
.nav a:hover { background: var(--butter); }

.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font: 700 .85rem/1 var(--f-body); letter-spacing: .06em; padding: 10px 14px; border-radius: 999px; background: var(--butter); color: var(--ink); }
.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: 18px; min-width: 200px; box-shadow: 0 20px 40px rgba(58,36,24,.18); }
.lang-list button { width: 100%; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; background: none; border: 0; border-radius: 10px; color: var(--ink); cursor: pointer; text-align: left; font: 500 1.02rem/1 var(--f-body); 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: var(--cream); }
.lang-list button[aria-current="true"] span { color: var(--tomato); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-olive { position: absolute; color: var(--olive-soft); opacity: .35; pointer-events: none; }
.hero-olive.a { width: 320px; height: 160px; left: -60px; bottom: 10px; transform: rotate(-8deg); }
.hero-olive.b { width: 260px; height: 130px; right: -40px; top: 20px; transform: rotate(170deg); }
.hero-in { position: relative; 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 span { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); background: rgba(138,154,85,.18); padding: 6px 12px; border-radius: 999px; }
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5rem); }
.h1-a { display: block; }
.h1-b { display: block; font: 700 1.05em/1 var(--f-logo); color: var(--tomato); margin-top: .1em; letter-spacing: 0; }
.lede { max-width: 33em; font-size: 1.18rem; color: #5A4334; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; font: 700 1.05rem/1 var(--f-body); text-decoration: none; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s, box-shadow .2s; }
.btn-solid { background: var(--tomato); color: #fff; box-shadow: 0 6px 0 var(--tomato-deep); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--tomato-deep); }
.btn-line { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn-line:hover { background: var(--butter); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 4px 0 0; padding: 0; font-size: 1rem; 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: #3C9A55; box-shadow: 0 0 0 4px rgba(60,154,85,.18); }
.status.is-closed i { background: var(--tomato); }
.hero-plate { justify-self: center; width: min(100%, 520px); aspect-ratio: 1; border-radius: 50%; padding: 16px; background: #fff; box-shadow: 0 0 0 10px var(--cream-2), 0 30px 60px rgba(58,36,24,.22); }
.hero-plate img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ---------- Tapas for two ---------- */
.tapas-in { padding-block: clamp(48px, 7vw, 96px); display: grid; gap: 30px; }
.tapas-head { display: grid; gap: 10px; max-width: 44em; background: var(--cream); padding: 22px 26px; border-radius: 24px; justify-self: start; }
.tapas-head p { color: #5A4334; }
.tapas-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tapas-card { background: #fff; border-radius: 28px; padding: 24px 24px 22px; display: grid; gap: 12px; align-content: start; box-shadow: 0 14px 30px rgba(58,36,24,.14); }
.tc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tc-top svg { width: 46px; height: 46px; padding: 9px; border-radius: 50%; color: #fff; }
.tapas-card.meat .tc-top svg { background: var(--tomato); }
.tapas-card.sea .tc-top svg { background: #2F6E9E; }
.tapas-card.veg .tc-top svg { background: var(--olive); }
.tc-price { color: var(--muted); font-weight: 700; }
.tc-price b { font: 800 2rem/1 var(--f-display); color: var(--ink); }
.tapas-card h3 { font-size: 1.4rem; }
.tc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tc-list li { padding: 5px 0 5px 22px; position: relative; border-bottom: 1px dashed var(--line); font-size: 1.02rem; }
.tc-list li:last-child { border-bottom: 0; }
.tc-list li::before { content: ""; position: absolute; left: 2px; top: .9em; width: 9px; height: 9px; border-radius: 50%; background: var(--mustard); }

/* ---------- Signatures ---------- */
.sigs { background: var(--tomato); color: #fff; }
.sigs-in { padding-block: clamp(44px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 20px clamp(28px, 5vw, 64px); align-items: center; }
.sigs-head { display: grid; gap: 10px; }
.sigs-head p { color: #FFE2D6; }
.sig-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sig { width: 100%; height: 100%; text-align: left; font: inherit; color: var(--ink); cursor: pointer; display: grid; gap: 4px; padding: 16px 18px; background: var(--cream); border: 0; border-radius: 20px; box-shadow: 0 6px 0 var(--tomato-deep); transition: transform .15s, box-shadow .15s; }
.sig:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--tomato-deep); }
.sig-tab { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); }
.sig-name { font: 800 1.15rem/1.2 var(--f-display); }
.sig-price { font: 700 1.6rem/1 var(--f-logo); color: var(--tomato); }

/* ---------- Menu ---------- */
.menu { padding: clamp(40px, 6vw, 80px) var(--gutter-r) clamp(40px, 6vw, 80px) var(--gutter); }
.menu-card { max-width: 1000px; margin-inline: auto; background: var(--cream); border-radius: 32px; padding: clamp(28px, 5vw, 56px); box-shadow: 0 24px 50px rgba(58,36,24,.2); }
.menu-head { display: grid; justify-items: center; text-align: center; gap: 4px; }
.menu-note { color: var(--muted); }
.tabs { display: flex; gap: 6px; margin: 20px 0 6px; overflow-x: auto; scrollbar-width: none; position: sticky; top: calc(66px + env(safe-area-inset-top, 0px)); z-index: 5; background: var(--cream); padding-block: 10px; border-bottom: 2px dashed var(--line); box-shadow: 0 -14px 0 var(--cream); }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; background: #fff; border: 0; border-radius: 999px; cursor: pointer; color: var(--ink); font: 700 1rem/1 var(--f-body); padding: 11px 16px; box-shadow: inset 0 0 0 1.5px var(--line); }
.tab:hover { background: var(--butter); }
.tab[aria-selected="true"] { background: var(--tomato); color: #fff; box-shadow: none; }
.part { padding-top: 24px; }
.panel h3 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); margin: 0 0 8px; }
.items { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 48px; }
.item { padding: 11px 0; break-inside: avoid; min-width: 0; border-bottom: 1px dashed var(--line); }
.item.flash { animation: flash 1.8s ease-out; }
@keyframes flash { 0%, 30% { background: var(--butter); } 100% { background: transparent; } }
.item-row { display: flex; align-items: baseline; gap: 8px; }
.item-name { font: 700 1.08rem/1.3 var(--f-display); min-width: 0; }
.item-fill { flex: 1; min-width: 10px; border-bottom: 2px dotted rgba(58,36,24,.25); transform: translateY(-5px); }
.item-size { font-size: .9rem; color: var(--muted); white-space: nowrap; }
.item-price { font: 800 1.1rem/1 var(--f-display); white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--tomato); }
.item-with { margin-top: 3px; font-size: 1rem; color: var(--muted); max-width: 38em; }
.part-note { margin-top: 12px; font-size: 1rem; color: var(--muted); }
.menu-more { margin-top: 26px; text-align: center; font-size: .98rem; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery-in { padding-block: clamp(48px, 7vw, 96px); }
.gallery h2 { margin-bottom: 28px; }
.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: 24px; background: var(--cream-2); cursor: zoom-in; overflow: hidden; box-shadow: 0 10px 22px rgba(58,36,24,.12); }
.shot img { width: 100%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.shot:hover img { transform: scale(1.04); }

/* ---------- Visit ---------- */
.visit { background: var(--cream-2); }
.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 dashed var(--line); }
.info dt { font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.info dd { margin: 0; }
.phone { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.mini { display: inline-flex; gap: 6px; }
.chip { font: 700 .9rem/1 var(--f-body); text-decoration: none; border: 0; background: #fff; color: var(--ink); padding: 9px 14px; cursor: pointer; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.chip:hover { background: var(--butter); }
.wifi { color: var(--muted); }
.map { position: relative; min-height: 380px; border-radius: 28px; overflow: hidden; background: #E9DCC4; box-shadow: 0 16px 34px rgba(58,36,24,.14); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map figcaption { position: absolute; left: 14px; bottom: 14px; background: var(--ink); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: .88rem; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: #E5D3C2; }
.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: .95rem; }
.foot .logo { color: var(--mustard); font-size: 1.9rem; }
.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(40, 24, 16, .9); }
.lightbox img { max-height: 88vh; width: auto; margin: auto; border-radius: 18px; }
.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(--tomato); 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; }
  .hero-plate { animation: plate 1.1s .2s cubic-bezier(.2,.8,.3,1.1) both; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
@keyframes plate { from { transform: rotate(-30deg) scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) { .tapas-cards { grid-template-columns: 1fr; } .sigs-in { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .hero-in, .visit-in { grid-template-columns: 1fr; }
  .hero-plate { width: min(88%, 420px); }
  .items { columns: 1; }
  .map { min-height: 300px; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .logo { font-size: 2rem; }
  .tabs { top: calc(62px + 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; border-radius: 24px; }
  .sig-list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sig { padding: 14px; }
  .sig-name { font-size: 1rem; }
}
