/* Andy's Kitchen & Grill — "Taverna blue"
   Committed drench: the whole site is Andy's logo navy, set like a whitewashed taverna sign.
   Type: GFS Neohellenic (a Greek Font Society face) in signage caps + Work Sans for reading.
   Signature device: the Greek key from the logo used as the page's structural rules, and as the
   frame around the live ordering counter. Food photography does the talking. */

:root {
  --navy: #15508a;
  --navy-deep: #0f3f6e;
  --navy-ink: #0b2c4f;
  --white: #ffffff;
  --wash: #d7e5f3;      /* secondary text on navy (6.1:1) */
  --rule: rgba(255, 255, 255, .28);
  --gold: #e8c878;
  --radius: 2px;
  --wrap: 1240px;
  --display: "GFS Neohellenic", "Gill Sans", "Trebuchet MS", sans-serif;
  --body: "Work Sans", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6;
  color: var(--wash); background: var(--navy);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--white); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--navy-ink); }

h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 700; color: var(--white);
  line-height: .95; margin: 0 0 16px; text-transform: uppercase; letter-spacing: .01em;
}
h1 { font-size: clamp(56px, 7.4vw, 120px); }
h2 { font-size: clamp(44px, 5.6vw, 88px); }
h3 { font-size: 26px; line-height: 1.05; }
p { margin: 0 0 16px; }
.lede { font-size: 20px; line-height: 1.55; max-width: 32em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); color: var(--navy); padding: 8px 16px; }

/* ---------- Greek key: the structural rule ---------- */
.key {
  height: 30px; border: 0; margin: 0;
  background: url("assets/key-white.svg") repeat-x 0 0 / 30px 30px;
  opacity: .9;
}
.key--gold { background-image: url("assets/key-gold.svg"); opacity: 1; }

/* ---------- Buttons: squared like a sign plate ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 14px 28px;
  font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none; border-radius: var(--radius);
  border: 2px solid var(--white);
  transition: background-color .18s ease, color .18s ease;
}
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-ink); }
.btn--line { background: transparent; color: var(--white); }
.btn--line:hover { background: var(--white); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; }
.brand { display: block; line-height: 0; }
.brand img { height: 64px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--white); text-decoration: none; padding: 12px 14px;
}
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav a.btn { margin-left: 12px; min-height: 48px; padding: 8px 20px; font-size: 20px; color: var(--navy); }
.nav a.btn:hover { color: var(--navy-ink); }
.site-header .key { opacity: .55; }

.menu-toggle {
  display: none; width: 48px; height: 48px; border: 2px solid var(--white); border-radius: var(--radius);
  background: transparent; color: var(--white); cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; position: relative; content: "";
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
.drawer { display: none; }

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .drawer {
    display: none; position: fixed; inset: 88px 0 0 0; z-index: 49;
    background: var(--navy); padding: 24px; overflow-y: auto; border-top: 1px solid var(--rule);
  }
  .drawer.is-open { display: block; }
  .drawer a:not(.btn) {
    display: flex; align-items: center; min-height: 64px;
    font-family: var(--display); font-weight: 700; font-size: 36px; text-transform: uppercase;
    color: var(--white); text-decoration: none; border-bottom: 1px solid var(--rule);
  }
  .drawer .btn { width: 100%; margin-top: 24px; }
  .drawer-meta { margin-top: 24px; font-size: 16px; }
  .brand img { height: 52px; }
}

/* ---------- HOME HERO: type block + food wall ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr);
  min-height: min(760px, calc(100vh - 118px));
}
.hero__type {
  display: flex; flex-direction: column; justify-content: center;
  padding: 48px 40px 48px max(24px, calc((100vw - var(--wrap)) / 2 + 24px));
}
.hero h1 { margin-bottom: 24px; font-size: clamp(56px, 6vw, 96px); }
.hero h1 span { display: block; }
.hero h1 .where {
  margin-top: 16px;
  font-size: clamp(22px, 2vw, 30px); line-height: 1.15; letter-spacing: .06em; color: var(--gold);
}
.hero .lede { font-size: 19px; }
.hero__hours { margin: 24px 0 0; font-size: 16px; }
.hero__hours strong { color: var(--white); font-weight: 600; }

.wall {
  display: grid; gap: 6px; background: var(--navy);
  grid-template-columns: repeat(5, 1fr); grid-template-rows: 1fr 1fr .8fr;
}
.tile { position: relative; overflow: hidden; margin: 0; background: var(--navy-deep); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile a { position: absolute; inset: 0; z-index: 2; }
.tile:hover img { transform: scale(1.05); }
.tile figcaption {
  position: absolute; left: 0; bottom: 0; z-index: 1;
  display: flex; flex-direction: column; gap: 4px;
  background: var(--navy); color: var(--white); padding: 8px 12px 6px;
  font-family: var(--display); font-weight: 700; font-size: 18px; line-height: 1; text-transform: uppercase; letter-spacing: .04em;
}
.tile figcaption b { color: var(--gold); font-weight: 700; font-size: 20px; }
.t-hero  { grid-column: 1 / span 3; grid-row: 1 / span 2; }
.t-hero figcaption { font-size: 24px; padding: 12px 16px 10px; }
.t-hero figcaption b { font-size: 28px; }
.t-fish  { grid-column: 4 / span 2; grid-row: 1; }
.t-ab    { grid-column: 4; grid-row: 2; }
.t-yiros { grid-column: 5; grid-row: 2; }

/* ---------- The board: menu as big type ---------- */
.board-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; }
.board-head h2 { margin: 0; }
.board-head p { max-width: 26em; margin: 0; }
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 64px; }
.board h3 { font-size: 40px; margin-bottom: 8px; }
.board h3 a { text-decoration: none; }
.board ul { list-style: none; margin: 0; padding: 0; }
.board li { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.board li span:first-child { color: var(--white); }
.board .dots { flex: 1; border-bottom: 2px dotted var(--rule); transform: translateY(-4px); min-width: 12px; }
.price {
  font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1; color: var(--gold);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* ---------- The counter: live ordering ---------- */
.counter { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
.counter__copy { position: sticky; top: 128px; }
.counter__copy .phone { font-family: var(--display); font-weight: 700; font-size: 40px; text-decoration: none; display: inline-block; margin-top: 8px; }
.keyframe { padding: 30px 0; background:
  url("assets/key-white.svg") repeat-x left top / 30px 30px,
  url("assets/key-white.svg") repeat-x left bottom / 30px 30px; }
.keyframe__inner { border: 4px solid var(--gold); background: var(--white); }
.keyframe iframe { display: block; width: 100%; height: 780px; border: 0; background: var(--white); }
.frame-note { font-size: 15px; margin-top: 16px; }
.counter__go { display: none; }
.counter__go .btn { width: 100%; min-height: 72px; font-size: 28px; }
.counter__go p { font-size: 15px; margin-top: 12px; }
.frame-note a { font-weight: 600; }

/* ---------- Local fish: statement + full-bleed strip ---------- */
.statement { font-size: clamp(40px, 5vw, 80px); max-width: 15em; }
.statement em { font-style: normal; color: var(--gold); }
.strip { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 6px; margin-top: 48px; }
.strip figure { margin: 0; position: relative; }
.strip img { width: 100%; height: 420px; object-fit: cover; }
.strip figcaption { position: absolute; left: 0; bottom: 0; background: var(--navy); color: var(--white); padding: 8px 12px 6px; font-family: var(--display); font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: .04em; }
.strip figcaption b { color: var(--gold); margin-left: 8px; }

/* ---------- Visit ---------- */
.visit { display: grid; grid-template-columns: 6fr 5fr; gap: 64px; align-items: start; }
.address { font-family: var(--display); font-weight: 700; text-transform: uppercase; color: var(--white); font-size: clamp(44px, 5.4vw, 84px); line-height: .95; margin: 0 0 24px; }
.address span { display: block; color: var(--gold); font-size: clamp(20px, 2.2vw, 34px); letter-spacing: .08em; margin-top: 12px; }
.hours { width: 100%; border-collapse: collapse; font-size: 17px; margin: 0 0 24px; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.hours th { color: var(--white); font-weight: 600; width: 45%; }
.hours td { font-variant-numeric: tabular-nums; }
.map { width: 100%; height: 420px; border: 4px solid var(--gold); display: block; background: var(--navy-deep); }

/* ---------- Inner page head ---------- */
.page-head { padding: 72px 0 56px; }
.page-head .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; }
.page-head h1 { margin: 0; font-size: clamp(48px, 5.6vw, 88px); }
.page-head p { margin: 0; }

/* ---------- Menu page ---------- */
.cat-nav { position: sticky; top: 88px; z-index: 40; background: var(--navy); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.cat-nav ul { display: flex; list-style: none; margin: 0 auto; padding: 0 24px; max-width: var(--wrap); overflow-x: auto; scrollbar-width: none; }
.cat-nav ul::-webkit-scrollbar { display: none; }
.cat-nav a {
  display: inline-flex; align-items: center; min-height: 56px; padding: 0 14px;
  font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .06em; text-transform: uppercase;
  white-space: nowrap; color: var(--white); text-decoration: none;
}
.cat-nav a:hover { color: var(--gold); }
.menu-cat { padding: 80px 0 0; scroll-margin-top: 160px; }
.menu-cat:last-of-type { padding-bottom: 96px; }
.menu-cat__head { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.menu-cat__intro h2 { font-size: clamp(48px, 5vw, 76px); }
.menu-cat__intro img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-top: 24px; }
.items { list-style: none; margin: 0; padding: 0; }
.items li { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.items li:first-child { border-top: 2px solid var(--white); }
.item-row { display: flex; align-items: baseline; gap: 16px; }
.item-row h3 { font-size: 26px; margin: 0; }
.item-row .dots { flex: 1; border-bottom: 2px dotted var(--rule); transform: translateY(-5px); min-width: 16px; }
.items p { font-size: 16px; margin: 6px 0 0; max-width: 40em; }

/* ---------- Order page ---------- */
.order-page { padding: 16px 0 96px; }
.order-page .wrap { display: grid; grid-template-columns: 8fr 4fr; gap: 56px; align-items: start; }
.order-page .keyframe iframe { height: 920px; }
.order-aside h2 { font-size: 48px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.about-grid > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-copy p { font-size: 18px; }
.about-copy h2 { font-size: clamp(40px, 4.4vw, 64px); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.facts div { border-top: 2px solid var(--white); padding-top: 16px; }
.facts strong { display: block; font-family: var(--display); font-size: 34px; line-height: 1; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.facts p { font-size: 16px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 6px; grid-auto-flow: dense; }
.gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--navy-deep); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; bottom: 0; background: var(--navy); color: var(--white); padding: 8px 12px 6px; font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
.gallery-note { font-size: 15px; margin-top: 24px; }

/* ---------- Contact + FAQ ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.big-phone { font-family: var(--display); font-weight: 700; font-size: 56px; line-height: 1; text-decoration: none; display: inline-block; margin: 0 0 24px; }
.faq { max-width: 900px; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-of-type { border-top: 2px solid var(--white); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  min-height: 72px; padding: 16px 0;
  font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.05; text-transform: uppercase; color: var(--white);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 22px; height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 20%27%3E%3Cpath d=%27M4 7l6 6 6-6%27 fill=%27none%27 stroke=%27%23e8c878%27 stroke-width=%273%27/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { padding: 0 0 24px; margin: 0; max-width: 44em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-ink); font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 4fr 3fr 3fr 3fr; gap: 48px; padding: 64px 0 40px; }
.footer-title { font-family: var(--display); font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: .06em; color: var(--white); margin-bottom: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--wash); text-decoration: none; display: inline-flex; align-items: center; min-height: 48px; }
.site-footer a:hover { color: var(--gold); }
.footer-logo { width: 200px; margin-bottom: 16px; }
.footer-base { border-top: 1px solid var(--rule); padding: 16px 0 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }

/* ---------- Reveal (content visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .wall .tile { animation: rise .7s ease both; }
.js .wall .tile:nth-child(2) { animation-delay: .06s; }
.js .wall .tile:nth-child(3) { animation-delay: .12s; }
.js .wall .tile:nth-child(4) { animation-delay: .18s; }
.js .wall .tile:nth-child(5) { animation-delay: .24s; }
.js .wall .tile:nth-child(6) { animation-delay: .30s; }
.js .wall .tile:nth-child(7) { animation-delay: .36s; }
.js .wall .tile:nth-child(8) { animation-delay: .42s; }
.js .wall .tile:nth-child(9) { animation-delay: .48s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .wall .tile { animation: none; }
  .tile img, .gallery img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .board { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .section { padding: 72px 0; }
  /* Mobile: headline, then straight into the food, then the buttons */
  .hero { display: flex; flex-direction: column; min-height: 0; }
  .hero__type { display: contents; }
  .hero h1 { order: 1; padding: 32px 24px 0; margin-bottom: 24px; font-size: clamp(48px, 13vw, 72px); }
  .hero h1 .where { font-size: 20px; }
  .wall { order: 2; }
  .hero .lede { order: 3; padding: 32px 24px 0; margin: 0; }
  .hero .btn-row { order: 4; padding: 0 24px; margin-top: 24px; }
  .hero__hours { order: 5; padding: 0 24px 40px; }
  .wall { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: 180px; }
  .wall .tile { grid-column: auto; grid-row: auto; }
  .wall .t-hero { grid-column: 1 / -1; grid-row: span 2; }
  .counter, .visit, .page-head .wrap, .menu-cat__head, .order-page .wrap, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .counter__copy { position: static; }
  /* Touch screens: an embedded app swallows the swipe, so the home page links to /order instead */
  .counter__frame { display: none; }
  .counter__go { display: block; }
  /* On /order the app gets one full screen, like opening the app itself */
  .order-page { padding-top: 0; }
  .page-head--order { padding: 24px 0 16px; }
  .page-head--order .wrap > div { display: none; }
  .order-page .keyframe iframe { height: calc(100svh - 190px); min-height: 520px; }
  .board-head { flex-direction: column; align-items: start; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip figure:first-child { grid-column: 1 / -1; }
  .strip img { height: 280px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  body { font-size: 16px; }
  .hero h1, .hero .lede, .hero .btn-row, .hero__hours { padding-left: 16px; padding-right: 16px; }
  .wall { grid-auto-rows: 150px; }
  .board { grid-template-columns: 1fr; }
  .board h3 { font-size: 36px; }
  .keyframe iframe { height: 720px; }
  .strip img { height: 220px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .btn-row .btn { flex: 1 1 100%; }
  .big-phone { font-size: 44px; }
  .tile figcaption, .strip figcaption, .gallery figcaption { font-size: 14px; padding: 6px 8px 4px; }
  .tile figcaption b { font-size: 16px; }
  .faq summary { font-size: 23px; }
}
