/* Sykofilos (O Sikofillos). From the place: red-and-white checked tablecloths, blue wooden
   chairs, a reed ceiling, the blackboard with white capital letters, the paper menu you
   tick, the fig leaf in the name (συκόφυλλο), the wine glass and grapes of the logo,
   and the cats. */
:root {
  /* Brand tokens — change these per restaurant */
  --cream: #FBF7EE;
  --paper: #F3F6FB;        /* the pale paper of their menu */
  --ink: #1F2328;
  --muted: #61676E;
  --red: #C8322F;          /* tablecloth check */
  --red-soft: rgba(200, 50, 47, .45);
  --blue: #2B5EA8;         /* the chairs */
  --blue-deep: #1E4785;
  --fig: #4D7A3A;
  --board: #1E2523;        /* blackboard */
  --chalk: #F1EFE6;
  --chalk-mute: #B9BDB4;
  --wood: #8A5A34;
  --line: rgba(31, 35, 40, .14);

  --f-display: "Alegreya", "Palatino Linotype", Palatino, Georgia, serif;
  --f-body: "Alegreya Sans", "Gill Sans", "Segoe UI", Arial, sans-serif;
  --f-caps: "Alegreya Sans SC", "Alegreya Sans", "Gill Sans", 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(2.1rem, 1.4rem + 2.8vw, 3.4rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.1rem/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: 700; text-wrap: balance; margin: 0; line-height: 1.05; }
h2 { font-size: var(--h2); }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.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, .cats-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 */
.gingham, .gingham-strip {
  background:
    linear-gradient(90deg, var(--red-soft) 50%, transparent 0) 0 0 / 22px 22px,
    linear-gradient(var(--red-soft) 50%, transparent 0) 0 0 / 22px 22px,
    #fff;
}
.gingham-strip { height: 11px; }

/* ---------- 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: 8px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.brand .glass { width: 30px; height: 36px; color: #7A2234; }
.word { font: 700 1.55rem/1 var(--f-display); letter-spacing: -.01em; }
.word i { font-weight: 500; color: var(--muted); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font: 500 1rem/1 var(--f-caps); letter-spacing: .06em; color: var(--muted); padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); border-color: var(--red); }

.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; border: 1.5px solid var(--ink); padding: 9px 12px; border-radius: 6px; background: #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: 6px; list-style: none; background: #fff; border: 1.5px solid var(--ink); border-radius: 8px; min-width: 190px; box-shadow: 6px 6px 0 var(--red-soft); }
.lang-list button { width: 100%; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; background: none; border: 0; border-radius: 4px; color: var(--ink); cursor: pointer; text-align: left; font: 400 1rem/1 var(--f-body); padding: 10px; }
.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(--paper); }
.lang-list button[aria-current="true"] span { color: var(--red); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-fig { position: absolute; width: 520px; height: 520px; left: -260px; bottom: -230px; color: var(--fig); opacity: .28; transform: rotate(-24deg); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding-block: clamp(40px, 6vw, 92px); }
.hero-copy { min-width: 0; display: grid; gap: 20px; }
.eyebrow { font: 700 .95rem/1 var(--f-caps); letter-spacing: .14em; color: var(--red); }
.hero h1 { font-size: clamp(2.8rem, 1.5rem + 4.6vw, 5.4rem); letter-spacing: -.02em; }
.h1-a { display: block; }
.h1-b { display: block; font-style: italic; font-weight: 500; color: var(--blue); }
.lede { max-width: 33em; font-size: 1.18rem; color: #33383E; }
.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: 700 1rem/1 var(--f-body); text-decoration: none; border-radius: 6px; border: 1.5px solid var(--ink); cursor: pointer; transition: transform .15s, box-shadow .15s, background .2s; }
.btn-solid { background: var(--blue); border-color: var(--blue-deep); color: #fff; box-shadow: 4px 4px 0 var(--ink); }
.btn-solid:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn-line { background: #fff; color: var(--ink); }
.btn-line:hover { box-shadow: 4px 4px 0 var(--red-soft); }
.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: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.status.is-open i { background: #2F9A55; box-shadow: 0 0 0 4px rgba(47,154,85,.18); }
.status.is-closed i { background: var(--red); }
.hero-media { position: relative; padding: 12px 18px 40px 0; }
.photo { background: #fff; padding: 12px 12px 46px; border: 1px solid var(--line); box-shadow: 0 22px 40px rgba(31,35,40,.16); transform: rotate(2.5deg); }
.photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; }
.hero-cat { position: absolute; width: 64px; height: 75px; right: 6px; top: -50px; color: var(--ink); transform: rotate(2.5deg); }

/* ---------- Set menus (blackboard) ---------- */
.sets { background: var(--board); color: var(--chalk); background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px); background-size: 4px 4px; border-block: 14px solid var(--wood); }
.sets-in { padding-block: clamp(48px, 7vw, 96px); display: grid; gap: 32px; }
.sets-head { display: grid; gap: 12px; max-width: 46em; }
.sets h2 { font: 700 var(--h2)/1.05 var(--f-caps); letter-spacing: .04em; color: #fff; }
.sets-head p { color: var(--chalk-mute); }
.set-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.set-card { border: 2px dashed rgba(241,239,230,.4); border-radius: 14px; padding: 24px; display: grid; gap: 14px; align-content: start; }
.set-card h3 { font: 700 1.6rem/1.1 var(--f-caps); letter-spacing: .04em; display: flex; align-items: center; gap: 10px; color: #fff; }
.set-card h3 .sym { width: 40px; height: 30px; color: var(--chalk); }
.set-price { font-size: 1.05rem; color: var(--chalk-mute); }
.set-price b { font: 700 2.6rem/1 var(--f-display); color: #F6D96B; margin-right: 4px; }
.set-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 18px; font-family: var(--f-caps); font-size: 1.02rem; letter-spacing: .03em; }
.set-list li { padding: 3px 0; break-inside: avoid; }
.set-list li::before { content: "✓ "; color: #F6D96B; }
.set-add { justify-self: start; background: var(--chalk); color: var(--board); border-color: var(--chalk); }
.set-add:hover { background: #fff; }
.set-add.added { animation: pop .5s; }
@keyframes pop { 40% { transform: scale(1.08); } }

/* ---------- Menu: the paper menu you tick ---------- */
.menu { padding: clamp(40px, 6vw, 80px) var(--gutter-r) clamp(40px, 6vw, 80px) var(--gutter); }
.menu-card { max-width: 980px; margin-inline: auto; background: var(--paper); border: 2px solid var(--ink); border-radius: 4px; padding: clamp(24px, 5vw, 56px); box-shadow: 10px 10px 0 var(--red-soft); position: relative; }
.menu-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--ink); border-radius: 2px; pointer-events: none; }
.menu-head { display: grid; justify-items: center; text-align: center; gap: 6px; }
.menu-logo .glass { width: 34px; height: 40px; color: #7A2234; }
.menu-note { font-size: .98rem; color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; font-size: .95rem; color: var(--muted); }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
.sym { width: 24px; height: 18px; flex: none; }
.sym.pig { color: #C2577A; }
.sym.fishy { color: var(--blue); }
.tabs { display: flex; gap: 6px; margin: 22px 0 6px; overflow-x: auto; scrollbar-width: none; position: sticky; top: calc(66px + env(safe-area-inset-top, 0px)); z-index: 5; background: var(--paper); padding-block: 10px; border-bottom: 1.5px solid var(--ink); }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; background: none; border: 1.5px solid transparent; border-radius: 6px; cursor: pointer; color: var(--muted); font: 700 1.02rem/1 var(--f-caps); letter-spacing: .04em; padding: 9px 14px; }
.tab:hover { color: var(--ink); border-color: var(--line); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.part { padding-top: 22px; }
.panel h3 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; margin-bottom: 8px; }
.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 dashed var(--line); }
.item-row { display: flex; align-items: center; gap: 10px; }
.tick { flex: none; width: 24px; height: 24px; border: 2px solid var(--ink); border-radius: 3px; background: #fff; cursor: pointer; padding: 0; position: relative; }
.tick:hover { box-shadow: 2px 2px 0 var(--red-soft); }
.tick[aria-pressed="true"]::after { content: ""; position: absolute; left: 3px; top: -6px; width: 20px; height: 22px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22'%3E%3Cpath d='M2 12c3 2 5 5 6 8 3-8 6-13 11-19' fill='none' stroke='%23C8322F' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.item.on .item-name { color: var(--red); }
.item-name { font-size: 1.12rem; font-weight: 500; min-width: 0; }
.marks { display: inline-flex; gap: 4px; }
.marks .sym { width: 22px; height: 16px; }
.item-note { font-size: .8rem; font-weight: 700; color: var(--red); }
.item-fill { flex: 1; min-width: 10px; border-bottom: 2px dotted rgba(31,35,40,.3); align-self: flex-end; margin-bottom: 8px; }
.item-size { font-size: .9rem; color: var(--muted); white-space: nowrap; }
.item-price { font: 700 1.15rem/1 var(--f-display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.item-price::before { content: "€"; font-size: .8em; margin-right: 1px; }
.item-with { margin: 2px 0 0 34px; font-size: .98rem; font-style: italic; color: var(--muted); max-width: 36em; }
.part-note { margin-top: 12px; font-size: 1rem; font-style: italic; color: var(--muted); }

/* ---------- Order slip ---------- */
.slipbar { position: fixed; z-index: 30; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: min(560px, calc(100vw - 24px)); }
.slipbar-btn { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 8px; box-shadow: 6px 6px 0 var(--red-soft); cursor: pointer; font: 500 1.02rem/1.2 var(--f-body); text-align: left; }
.slipbar-total { font: 700 1.2rem/1 var(--f-display); }
.slipbar-go { margin-left: auto; background: var(--blue); color: #fff; padding: 9px 14px; border-radius: 6px; font-weight: 700; white-space: nowrap; }
.slipbar.bump .slipbar-btn { animation: pop .4s; }
.slip { padding: 0; border: 0; background: transparent; width: min(520px, calc(100vw - 20px)); max-height: 90vh; }
.slip::backdrop { background: rgba(20, 22, 24, .6); }
.slip-paper { background: var(--paper); border: 2px solid var(--ink); border-radius: 6px; padding: 22px 20px 20px; display: grid; gap: 12px; box-shadow: 8px 8px 0 var(--red-soft); }
.slip-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.slip-head h2 { font-size: 1.8rem; }
.slip-x { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.slip-greek { font: 700 .9rem/1 var(--f-caps); letter-spacing: .08em; color: var(--muted); }
.slip-list { list-style: none; margin: 0; padding: 0; display: grid; }
.slip-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.slip-names { display: grid; min-width: 0; }
.slip-el { font: 700 1.25rem/1.2 var(--f-display); }
.slip-local { font-size: .92rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; gap: 8px; }
.qty button { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; font: 700 1.1rem/1 var(--f-body); cursor: pointer; }
.qty b { min-width: 1.2em; text-align: center; }
.slip-line { font: 700 1.05rem/1 var(--f-display); min-width: 4.4em; text-align: right; font-variant-numeric: tabular-nums; }
.slip-sum { display: flex; justify-content: space-between; align-items: baseline; font: 700 1.1rem/1 var(--f-caps); letter-spacing: .06em; padding-top: 4px; }
.slip-sum b { font: 700 1.8rem/1 var(--f-display); letter-spacing: 0; }
.slip-note { font-size: .9rem; color: var(--muted); }
.slip-clear { justify-self: start; min-height: 40px; }

/* ---------- Cats ---------- */
.cats { background: #fff; border-block: 1px solid var(--line); }
.cats-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 80px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.cats-photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 10px; }
.cats-copy { display: grid; gap: 14px; justify-items: start; }
.cats-icon { width: 48px; height: 56px; color: var(--ink); }
.cats-copy p { max-width: 32em; font-size: 1.15rem; color: #33383E; }

/* ---------- 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: 8px 8px 22px; border: 1px solid var(--line); background: #fff; cursor: zoom-in; box-shadow: 0 8px 18px rgba(31,35,40,.08); transition: transform .3s; }
.shot:nth-child(odd) { transform: rotate(-.8deg); }
.shot:nth-child(even) { transform: rotate(.8deg); }
.shot:hover { transform: rotate(0) translateY(-3px); }

/* ---------- Visit ---------- */
.visit { background: var(--blue); color: #fff; }
.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: 24px; 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 rgba(255,255,255,.25); }
.info dt { font: 700 .9rem/1.4 var(--f-caps); letter-spacing: .1em; color: #C9D6EE; }
.info dd { margin: 0; }
.phone { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.mini { display: inline-flex; gap: 6px; }
.chip { font: 700 .85rem/1 var(--f-body); text-decoration: none; border: 1.5px solid #fff; background: none; color: #fff; padding: 8px 12px; cursor: pointer; border-radius: 6px; }
.chip:hover { background: #fff; color: var(--blue); }
.road { color: #DCE5F5; }
.visit .btn-solid { background: #fff; color: var(--blue-deep); border-color: #fff; box-shadow: 4px 4px 0 var(--ink); }
.visit .btn-line { background: transparent; color: #fff; border-color: #fff; }
.social a { color: #fff; }
.map { position: relative; min-height: 360px; border: 2px solid var(--ink); border-radius: 6px; overflow: hidden; background: #dfe6f2; box-shadow: 8px 8px 0 var(--ink); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--ink); color: #fff; padding: 6px 10px; border-radius: 4px; font-size: .9rem; }

/* ---------- Footer ---------- */
.foot { background: var(--cream); color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 24px calc(96px + env(safe-area-inset-bottom, 0px)); font-size: .95rem; }
.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(20, 22, 24, .92); }
.lightbox img { max-height: 88vh; width: auto; margin: auto; border: 8px solid #fff; }
.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(--ink); 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-cat { animation: peek 1.2s .8s cubic-bezier(.2,.8,.3,1.2) both; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
@keyframes peek { from { transform: translateY(40px) rotate(2.5deg); opacity: 0; } to { transform: rotate(2.5deg); opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-in, .visit-in, .cats-in { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; margin-top: 30px; }
  .set-cards { grid-template-columns: 1fr; }
  .items { columns: 1; }
  .cats-photo { max-width: 420px; }
  .map { min-height: 300px; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .word { font-size: 1.35rem; }
  .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 26px; box-shadow: 6px 6px 0 var(--red-soft); }
  .set-list { columns: 1; }
  .item-with { margin-left: 34px; }
  .slipbar-go { padding: 8px 10px; }
  .hero-fig { width: 360px; height: 360px; left: -140px; bottom: -150px; }
}
