/* (+)ουσίες · Ousies. From the place: the wooden sign with "(+)ουσίες" in round brown
   letters and a red plus, "Τσίπουρο · Ούζο · Σούμα · Ρακί" above it, and their printed
   menu: old parchment with torn edges, wood on the sides, and yellow highlighter bars
   behind the headings. */
:root {
  /* Brand tokens — change these per restaurant */
  --wood: #3A2A1C;
  --wood-2: #4A3524;
  --wood-3: #5C4430;
  --parch: #EFE3C6;
  --parch-2: #E6D6B2;
  --ink: #2B241D;
  --muted: #6E6152;
  --brown: #4A3424;        /* the letters of the sign */
  --red: #D8362B;          /* the plus */
  --hl: 242, 212, 92;      /* highlighter yellow, as r,g,b */
  --cream: #F8F1E1;
  --line: rgba(43, 36, 29, .16);
  --line-wood: rgba(248, 241, 225, .16);

  --f-display: "Comfortaa", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --f-body: "Fira Sans", "Segoe UI", Arial, sans-serif;
  --f-item: "Fira Sans Condensed", "Arial Narrow", "Fira Sans", 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.6vw, 3.2rem);
  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.05rem/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.12; letter-spacing: -.01em; }
h2 { font-size: var(--h2); }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--red); color: #fff; padding: 8px 12px; }
.skip:focus { left: 16px; }

.top-in, .hero-in, .spirits-in, .gallery-in, .visit-in, .foot-in {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: var(--gutter); padding-right: var(--gutter-r);
}

/* Highlighter, like the bars on their printed menu */
mark, .panel h3 {
  color: inherit;
  background: linear-gradient(100deg, rgba(var(--hl), 0) 0, rgba(var(--hl), .85) 1.5%, rgba(var(--hl), .62) 50%, rgba(var(--hl), .8) 97%, rgba(var(--hl), 0) 100%);
  padding: .02em .3em .08em; border-radius: .25em .5em .3em .45em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Wood planks */
.wood {
  background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.18) 0 2px, transparent 2px 140px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 7px),
    linear-gradient(90deg, var(--wood) 0 22%, var(--wood-2) 22% 40%, var(--wood) 40% 61%, var(--wood-3) 61% 63%, var(--wood-2) 63% 82%, var(--wood) 82%);
}

/* ---------- Logo: (+)ουσίες ---------- */
.logo { font: 700 1.6rem/1 var(--f-display); letter-spacing: -.02em; color: var(--cream); white-space: nowrap; }
.logo .paren { font-weight: 600; opacity: .9; }
.logo .plus { color: var(--red); font-weight: 700; margin: 0 .02em; }

/* ---------- Header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--wood); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--wood); border-bottom: 3px solid rgba(var(--hl), .8); color: var(--cream); }
.top-in { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.brand { text-decoration: none; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; font-weight: 500; color: #D8CBB2; padding-block: 6px; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; border-color: rgba(var(--hl), 1); }

.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: 1px solid var(--line-wood); padding: 9px 12px; border-radius: 999px; color: var(--cream); }
.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(--parch); border: 1px solid var(--line); border-radius: 10px; min-width: 190px; box-shadow: 0 18px 40px rgba(0,0,0,.3); }
.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(--ink); 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: rgba(var(--hl), .45); }

/* ---------- Hero ---------- */
.hero { color: var(--cream); }
.hero { background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.16) 0 2px, transparent 2px 170px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 1px, transparent 1px 6px),
    linear-gradient(90deg, var(--wood) 0 24%, var(--wood-2) 24% 46%, var(--wood) 46% 70%, var(--wood-2) 70%); }
.hero-in { 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: 18px; }
.sign-words { font: 700 .95rem/1.2 var(--f-display); letter-spacing: .08em; text-transform: uppercase; color: rgba(var(--hl), 1); }
.eyebrow { font-size: .95rem; color: #D8CBB2; }
.hero h1 { font-size: clamp(2.5rem, 1.4rem + 4vw, 4.8rem); color: #fff; }
.h1-a { display: block; }
.h1-a mark { color: var(--ink); }
.h1-b { display: block; margin-top: .25em; font-weight: 600; font-size: .62em; color: #F1E6CF; }
.lede { max-width: 34em; font-size: 1.1rem; color: #E7DCC6; }
.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-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #BE2A20; transform: translateY(-1px); }
.btn-line { border-color: rgba(248,241,225,.5); color: var(--cream); }
.btn-line:hover { border-color: var(--cream); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 4px 0 0; padding: 0; font-size: .95rem; color: #D8CBB2; }
.status { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-weight: 600; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: #999; }
.status.is-open i { background: #5BC26F; box-shadow: 0 0 0 4px rgba(91,194,111,.2); }
.status.is-closed i { background: var(--red); }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 4.8; max-height: 620px; object-fit: cover; border-radius: 6px; border: 10px solid var(--parch); box-shadow: 0 30px 50px rgba(0,0,0,.4); transform: rotate(1.5deg); }

/* ---------- Menu on parchment ---------- */
.menu { background:
    repeating-linear-gradient(90deg, rgba(0,0,0,.16) 0 2px, transparent 2px 170px),
    linear-gradient(90deg, var(--wood-2) 0 30%, var(--wood) 30% 66%, var(--wood-2) 66%);
  padding: clamp(36px, 5vw, 72px) var(--gutter-r) clamp(36px, 5vw, 72px) var(--gutter); border-top: 1px solid rgba(0,0,0,.4); }
.parchment {
  max-width: 1000px; margin-inline: auto; padding: clamp(34px, 5vw, 64px) clamp(20px, 5vw, 60px);
  background:
    radial-gradient(circle at 12% 18%, rgba(160,120,60,.16), transparent 30%),
    radial-gradient(circle at 88% 70%, rgba(160,120,60,.18), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(120,80,30,.14), transparent 40%),
    var(--parch);
  /* torn top and bottom edges */
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M0 14V7l6 2 5-5 8 4 6-3 7 4 5-6 9 5 6-2 4 3 8-5 6 4 7-1 5 3 8-6 6 5 7-2 5 3 9-5 5 4 7-3 6 3 5-4 8 5 6-3 7 2 4-4V14Z'/%3E%3C/svg%3E") top / 100% 14px no-repeat,
    linear-gradient(#000, #000) center / 100% calc(100% - 26px) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M0 0v7l7-2 5 5 8-4 5 3 8-4 6 6 7-5 5 2 6-3 8 5 5-4 7 1 6-3 7 6 5-5 8 2 6-3 7 5 5-4 8 3 5-3 7 4 6-5 5 3 8-2 4 4V0Z'/%3E%3C/svg%3E") bottom / 100% 14px no-repeat;
          mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M0 14V7l6 2 5-5 8 4 6-3 7 4 5-6 9 5 6-2 4 3 8-5 6 4 7-1 5 3 8-6 6 5 7-2 5 3 9-5 5 4 7-3 6 3 5-4 8 5 6-3 7 2 4-4V14Z'/%3E%3C/svg%3E") top / 100% 14px no-repeat,
    linear-gradient(#000, #000) center / 100% calc(100% - 26px) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M0 0v7l7-2 5 5 8-4 5 3 8-4 6 6 7-5 5 2 6-3 8 5 5-4 7 1 6-3 7 6 5-5 8 2 6-3 7 5 5-4 8 3 5-3 7 4 6-5 5 3 8-2 4 4V0Z'/%3E%3C/svg%3E") bottom / 100% 14px no-repeat;
}
.menu-head { display: grid; justify-items: center; text-align: center; gap: 8px; }
.menu-note { font-size: .92rem; color: var(--muted); }

.search { margin: 26px auto 6px; max-width: 560px; display: grid; gap: 6px; }
.search label { font-weight: 600; font-size: .95rem; }
.search-box { display: flex; align-items: center; gap: 10px; background: #FBF6EA; border: 1.5px solid var(--brown); border-radius: 999px; padding: 4px 6px 4px 16px; }
.search-box:focus-within { box-shadow: 0 0 0 4px rgba(var(--hl), .6); }
.search-box svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.search-box input { flex: 1; min-width: 0; border: 0; background: none; font: 400 1.05rem/1.4 var(--f-body); color: var(--ink); padding: 9px 0; outline: none; }
.search-box input::-webkit-search-cancel-button { display: none; }
.search-box button { border: 0; background: var(--brown); color: var(--cream); border-radius: 999px; padding: 8px 14px; font: 600 .88rem/1 var(--f-body); cursor: pointer; }
.search-count { font-size: .9rem; color: var(--muted); min-height: 1.4em; text-align: center; }
.results { padding-top: 6px; }
.results .none { text-align: center; color: var(--muted); padding: 24px 0; }
.results .items { columns: 1; }

.tabs { display: flex; gap: 6px; margin: 10px 0 6px; overflow-x: auto; scrollbar-width: none; position: sticky; top: calc(68px + env(safe-area-inset-top, 0px)); z-index: 5; background: var(--parch); padding-block: 10px; border-bottom: 2px solid var(--brown); }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; background: none; border: 0; border-radius: 6px; cursor: pointer; color: var(--muted); font: 700 1rem/1 var(--f-display); padding: 10px 14px; }
.tab:hover { color: var(--ink); background: rgba(var(--hl), .3); }
.tab[aria-selected="true"] { color: var(--ink); background: rgba(var(--hl), .85); }
.part { padding-top: 24px; }
.panel h3 { display: inline-block; font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); margin: 0 0 10px; }
.items { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 52px; }
.item { padding: 9px 0; break-inside: avoid; min-width: 0; border-bottom: 1px solid var(--line); }
.item-row { display: flex; align-items: baseline; gap: 10px; }
.item-name { font: 600 1.1rem/1.25 var(--f-item); color: var(--ink); min-width: 0; }
.item-note { font-size: .78rem; font-weight: 600; color: var(--red); }
.item-fill { flex: 1; min-width: 10px; border-bottom: 1.5px dotted rgba(43,36,29,.35); transform: translateY(-4px); }
.item-size { font: 500 .9rem/1 var(--f-item); color: var(--muted); white-space: nowrap; }
.item-price { font: 600 1.1rem/1 var(--f-item); white-space: nowrap; font-variant-numeric: tabular-nums; }
.item-with { margin-top: 2px; font-size: .95rem; color: var(--muted); max-width: 38em; }
.part-note { margin-top: 12px; font-size: .95rem; color: var(--muted); }

/* ---------- Spirits ---------- */
.spirits { background: var(--cream); }
.spirits-in { padding-block: clamp(48px, 7vw, 96px); display: grid; gap: 30px; }
.spirits-head { display: grid; gap: 10px; max-width: 44em; }
.spirits-head .sign-words { color: var(--red); }
.spirits-head p:last-child { color: var(--muted); }
.spirit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.spirit { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px 20px; display: grid; gap: 10px; align-content: start; position: relative; overflow: hidden; }
.spirit::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: rgba(var(--hl), .9); }
.carafe { width: 34px; height: 54px; color: var(--brown); }
.spirit-ouzo .carafe { color: #8AA7B8; }
.spirit-souma .carafe { color: #9A6B3C; }
.spirit-raki .carafe { color: #6C7F5A; }
.spirit h3 { font-size: 1.6rem; }
.sp-latin { margin-top: -8px; font: 600 .82rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.sp-desc { font-size: .98rem; color: #4A4036; }
.sp-price { margin-top: auto; font-size: .9rem; color: var(--muted); }
.sp-price b { font: 700 1.25rem/1 var(--f-display); color: var(--ink); }

/* ---------- Gallery ---------- */
.gallery { background: var(--wood); color: var(--cream); }
.gallery-in { padding-block: clamp(48px, 7vw, 96px); }
.gallery h2 { margin-bottom: 28px; }
.gallery h2 mark { color: var(--ink); }
.grid { columns: 3 240px; column-gap: 12px; }
.shot { break-inside: avoid; margin: 0 0 12px; display: block; width: 100%; padding: 0; border: 6px solid var(--parch); border-radius: 4px; background: var(--parch); 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(--parch); }
.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: .85rem; 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: 10px 16px; }
.mini { display: inline-flex; gap: 6px; }
.chip { font: 600 .85rem/1 var(--f-body); text-decoration: none; border: 1.5px solid var(--brown); background: none; color: var(--brown); padding: 8px 12px; cursor: pointer; border-radius: 999px; }
.chip:hover { background: var(--brown); color: var(--cream); }
.book { color: var(--muted); }
.visit .btn-line { border-color: var(--brown); color: var(--brown); }
.visit .btn-line:hover { background: var(--brown); color: var(--cream); }
.map { position: relative; min-height: 360px; border-radius: 10px; overflow: hidden; border: 8px solid #fff; box-shadow: 0 20px 40px rgba(43,36,29,.18); background: #E3D9C2; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--wood); color: var(--cream); padding: 6px 10px; border-radius: 6px; font-size: .88rem; }

/* ---------- Footer ---------- */
.foot { background: var(--wood); color: #CDBFA6; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 26px calc(26px + 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(30, 22, 15, .93); }
.lightbox img { max-height: 88vh; width: auto; margin: auto; border: 8px solid var(--parch); }
.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: var(--red); 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; }
  .h1-a mark { background-size: 0 100%; background-repeat: no-repeat; animation: swipe .9s .5s cubic-bezier(.6,.1,.2,1) forwards; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
@keyframes swipe { to { background-size: 100% 100%; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) { .spirit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .hero-in, .visit-in { grid-template-columns: 1fr; }
  .hero-media { max-width: 480px; }
  .hero-media img { aspect-ratio: 4 / 4.2; max-height: 480px; }
  .items { columns: 1; }
  .map { min-height: 300px; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
  .logo { font-size: 1.4rem; }
  .tabs { top: calc(64px + 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: 8px; }
  .parchment { padding: 34px 16px 40px; }
  .spirit-list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .spirit { padding: 18px 14px 16px; }
  .spirit h3 { font-size: 1.3rem; }
  .sp-latin { margin-top: -8px; font: 600 .82rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.sp-desc { font-size: .92rem; }
}
