/* To Fresko. A fish taverna by the water: whitewash and Aegean blue, blue chairs and
   blue-and-white checked tablecloths, a reed roof, painted fish in the trees and a
   fishing boat on the roof. Light throughout; the blue is the blue of their logo. */
:root {
  /* Brand tokens — change these per restaurant */
  --white: #FFFFFF;
  --foam: #F4F9FD;
  --sea-1: #EAF3FA;
  --sea-2: #DCEBF6;
  --blue: #1F45B5;         /* their logo blue */
  --blue-deep: #16337F;
  --aegean: #2F7FC1;
  --sand: #F6EFE2;
  --ink: #18233A;
  --muted: #5D6880;
  --sun: #F2B33D;
  --line: rgba(24, 35, 58, .12);

  --f-logo: "Courgette", "Brush Script MT", cursive;
  --f-display: "Piazzolla", Georgia, serif;
  --f-body: "Manrope", "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(--white); color: var(--ink); 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; color: var(--blue-deep); }
h2 { font-size: var(--h2); }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--aegean); 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, .fishcalc-in, .gallery-in, .visit-in, .foot-in {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: var(--gutter); padding-right: var(--gutter-r);
}

/* Blue-and-white checked tablecloth */
.menu {
  background-color: #fff;
  background-image:
    linear-gradient(90deg, rgba(31,69,181,.22) 50%, transparent 0),
    linear-gradient(rgba(31,69,181,.22) 50%, transparent 0);
  background-size: 28px 28px;
}

/* ---------- Logo ---------- */
.brand { display: grid; text-decoration: none; line-height: 1; }
.logo { display: inline-flex; align-items: flex-start; font: 400 2rem/1 var(--f-logo); color: var(--blue); letter-spacing: -.01em; }
.logo-fish { width: 26px; height: 16px; color: var(--blue); margin-left: 2px; transform: rotate(-14deg) translateY(-6px); }
.logo-sub { font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: #fff; }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255,255,255,.95); 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: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 600; color: var(--ink); padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--blue); border-color: var(--blue); }

.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font: 700 .82rem/1 var(--f-body); letter-spacing: .06em; border: 1.5px solid var(--blue); padding: 9px 12px; border-radius: 999px; color: var(--blue); 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: 1px solid var(--line); border-radius: 12px; min-width: 190px; box-shadow: 0 18px 40px rgba(22,51,127,.15); }
.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 .98rem/1 var(--f-body); padding: 10px; }
.lang-list button span { font-size: .74rem; font-weight: 700; color: var(--muted); }
.lang-list button:hover, .lang-list button[aria-current="true"] { background: var(--foam); }
.lang-list button[aria-current="true"] span { color: var(--blue); }

/* ---------- Hero ---------- */
.hero { position: relative; background: linear-gradient(#fff 0, #fff 60%, var(--foam)); }
.hero-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(34px, 6vw, 84px) clamp(70px, 9vw, 120px); }
.hero-copy { min-width: 0; display: grid; gap: 18px; }
.eyebrow { font-size: .88rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--aegean); }
.hero h1 { font-size: clamp(2.4rem, 1.4rem + 3.8vw, 4.5rem); }
.h1-a { display: block; }
.h1-b { display: block; font-style: italic; font-weight: 500; color: var(--aegean); }
.lede { max-width: 34em; font-size: 1.08rem; color: #3D4760; }
.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: 999px; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.btn-solid { background: var(--blue); color: #fff; }
.btn-solid:hover { background: var(--blue-deep); transform: translateY(-1px); }
.btn-line { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-line:hover { background: var(--blue); 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(--ink); font-weight: 700; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: #999; }
.status.is-open i { background: #28A060; box-shadow: 0 0 0 4px rgba(40,160,96,.16); }
.status.is-closed i { background: #D2453A; }
.hero-media img { width: 100%; aspect-ratio: 4 / 4.6; max-height: 600px; object-fit: cover; border-radius: 200px 200px 16px 16px; border: 8px solid #fff; box-shadow: 0 24px 44px rgba(22,51,127,.18); }
.waves { position: absolute; left: 0; bottom: -1px; width: 100%; height: 70px; display: block; }

/* ---------- Menus for two ---------- */
.sets { background: var(--sea-1); }
.sets-in { padding-block: clamp(40px, 6vw, 80px); display: grid; gap: 28px; }
.sets-head { display: grid; gap: 10px; max-width: 46em; }
.sets-head p { color: #3D4760; }
.set-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.set-card { background: #fff; border-radius: 18px; padding: 22px 22px 20px; display: grid; gap: 10px; align-content: start; box-shadow: 0 10px 26px rgba(22,51,127,.08); border-top: 6px solid var(--blue); }
.set-top { display: flex; align-items: center; justify-content: space-between; }
.set-top svg { width: 46px; height: 28px; color: var(--blue); }
.save { font-size: .76rem; font-weight: 800; letter-spacing: .04em; color: #fff; background: #D2453A; padding: 5px 10px; border-radius: 999px; }
.set-card h3 { font-size: 1.45rem; }
.set-price { color: var(--muted); }
.set-price b { font: 700 2rem/1 var(--f-display); color: var(--blue); }
.set-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; font-size: .95rem; }
.set-list li { padding-left: 18px; position: relative; color: #3D4760; }
.set-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--aegean); }
.set-list li.main { font-weight: 700; color: var(--ink); }

/* ---------- Fish for your table ---------- */
.fishcalc { background: #fff; }
.fishcalc-in { padding-block: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.fc-copy { display: grid; gap: 12px; }
.fc-copy p { color: #3D4760; }
.fc-box { background: var(--foam); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: grid; gap: 14px; }
.fc-row { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.fc-row output { font: 700 2rem/1 var(--f-display); color: var(--blue); }
#fc-people { width: 100%; accent-color: var(--blue); height: 28px; }
.fc-people-icons { display: flex; flex-wrap: wrap; gap: 6px; min-height: 22px; }
.fc-people-icons svg { width: 32px; height: 19px; color: var(--aegean); }
.fc-result { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; }
.fc-result > b { font: 700 2.2rem/1 var(--f-display); color: var(--blue-deep); }
.fc-cost { color: var(--muted); }
.fc-cost b { font: 700 1.3rem/1 var(--f-display); color: var(--ink); }
.fc-note { font-size: .9rem; color: var(--muted); }

/* ---------- Menu: white card on the checked 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: #fff; padding: clamp(28px, 5vw, 56px); border-radius: 14px; box-shadow: 0 24px 50px rgba(22,51,127,.18); }
.menu-head { display: grid; justify-items: center; text-align: center; gap: 4px; }
.menu-logo { display: inline-flex; align-items: flex-start; font: 400 1.6rem/1 var(--f-logo); color: var(--blue); }
.menu-logo svg { width: 22px; height: 14px; transform: rotate(-14deg) translateY(-4px); margin-left: 2px; }
.menu-note { font-size: .92rem; color: var(--muted); }
.tabs { display: flex; gap: 6px; margin: 18px 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: none; border: 1.5px solid transparent; border-radius: 999px; cursor: pointer; color: var(--muted); font: 700 .95rem/1 var(--f-body); padding: 10px 15px; }
.tab:hover { color: var(--blue); border-color: var(--line); }
.tab[aria-selected="true"] { color: #fff; background: var(--blue); }
.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: 700; font-size: 1.02rem; line-height: 1.3; min-width: 0; }
.item-note { font-size: .75rem; font-weight: 700; color: #D2453A; }
.item-fill { flex: 1; min-width: 10px; border-bottom: 1.5px dotted rgba(24,35,58,.25); transform: translateY(-4px); }
.item-size { font-size: .85rem; color: var(--muted); white-space: nowrap; }
.item-price { font: 700 1.08rem/1 var(--f-display); white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--blue-deep); }
.item-with { margin-top: 2px; font-size: .93rem; color: var(--muted); max-width: 38em; }
.part-note { margin-top: 12px; font-size: .95rem; color: var(--muted); }
.menu-more { margin-top: 26px; text-align: center; font-size: .95rem; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery { background: var(--foam); }
.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: 14px; background: var(--sea-2); 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: #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: 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: 700; font-size: .8rem; letter-spacing: .1em; 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 { font: 700 .85rem/1 var(--f-body); text-decoration: none; border: 1.5px solid var(--blue); background: none; color: var(--blue); padding: 8px 12px; cursor: pointer; border-radius: 999px; }
.chip:hover { background: var(--blue); color: #fff; }
.boat img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; }
.boat figcaption { margin-top: 8px; font-size: .95rem; color: var(--muted); }
.social { font-size: .95rem; }
.map { position: relative; min-height: 380px; border-radius: 18px; overflow: hidden; background: var(--sea-1); box-shadow: 0 16px 34px rgba(22,51,127,.12); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--blue); color: #fff; padding: 6px 10px; border-radius: 8px; font-size: .88rem; }

/* ---------- Footer ---------- */
.foot { position: relative; background: var(--sea-2); color: var(--muted); padding-top: 40px; }
.foot-waves { position: absolute; top: -1px; left: 0; width: 100%; height: 40px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 18px calc(24px + env(safe-area-inset-bottom, 0px)); font-size: .92rem; }
.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(14, 26, 58, .9); }
.lightbox img { max-height: 88vh; width: auto; margin: auto; border-radius: 10px; }
.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(--blue); 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; }
  .waves path:first-child { animation: drift 9s ease-in-out infinite alternate; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
@keyframes drift { to { transform: translateX(-60px); } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-in, .visit-in, .fishcalc-in { grid-template-columns: 1fr; }
  .hero-media { max-width: 440px; }
  .set-cards { grid-template-columns: 1fr; }
  .items { columns: 1; }
  .map { min-height: 300px; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .logo { font-size: 1.8rem; }
  .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; }
  .waves { height: 44px; }
}
