/* Lino Kiosk — seaside kiosk demo. Self-contained, no third-party requests. */
:root {
  --sea: #0e4d5c;
  --sea-deep: #082e38;
  --sea-2: #14657a;
  --sun: #f4a300;
  --coral: #e2603f;
  --ink: #14232a;
  --muted: #4c6068;
  --sand: #faf6ef;
  --sand-2: #f0e9dd;
  --card: #ffffff;
  --line: #e4ddd0;
  --shadow: 0 8px 30px rgba(8, 46, 56, 0.10);
  --radius: 16px;
  --maxw: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, picture { display: block; max-width: 100%; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--sea-2); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.container-narrow { max-width: 760px; }

/* Grid/flex children default to min-width:auto (= min-content), which lets an
   image's intrinsic width blow a track past the viewport. Reset it so tracks
   can shrink and the page never overflows horizontally on mobile. */
.story-grid > *, .visit-grid > *, .menu-grid > *, .review-grid > *,
.gallery-grid > *, .footer-grid > *, .header-inner > * { min-width: 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--sea); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; border-radius: 4px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .95rem; }
.btn-primary { background: var(--sun); color: #3d2a00; border-color: var(--sun); box-shadow: 0 4px 14px rgba(244,163,0,.35); }
.btn-primary:hover { background: #ffb521; }
.btn-ghost { background: transparent; color: var(--sea); border-color: var(--sea); }
.btn-ghost:hover { background: var(--sea); color: #fff; }
.btn-light { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-light:hover { background: #fff; color: var(--sea-deep); border-color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,246,239,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; background: var(--sea);
  color: var(--sun); font-weight: 800; font-size: 1.5rem;
  display: grid; place-items: center; flex: none;
}
.brand-text { display: flex; flex-direction: column; font-weight: 800; font-size: 1.15rem; line-height: 1.05; }
.brand-text small { font-weight: 600; font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.main-nav { display: flex; gap: 6px; margin-left: auto; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 8px 12px; border-radius: 8px; }
.main-nav a:hover { background: var(--sand-2); color: var(--sea); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg picture { display: block; width: 100%; height: 100%; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(103deg, rgba(8,46,56,.86) 0%, rgba(8,46,56,.55) 48%, rgba(8,46,56,.18) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: clamp(64px, 12vw, 130px) 20px; }
.hero-panel { max-width: 640px; }
.hero-badge {
  display: inline-block; background: rgba(244,163,0,.2); color: #ffd67e;
  border: 1px solid rgba(244,163,0,.5); padding: 6px 14px; border-radius: 999px;
  font-weight: 700; font-size: .82rem; letter-spacing: .02em; margin-bottom: 18px;
}
.hero h1 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #eaf1f3; max-width: 33em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.trust-strip { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 0; padding: 0; }
.trust-strip li {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px; padding: 10px 16px; display: flex; flex-direction: column;
  backdrop-filter: blur(4px);
}
.trust-strip strong { font-size: 1.15rem; color: var(--sun); }
.trust-strip span { font-size: .8rem; color: #dbe6e9; }

/* ---------- sections ---------- */
.section { padding: clamp(52px, 8vw, 92px) 0; }
.section-alt { background: var(--sand-2); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; color: var(--coral); margin: 0 0 .4rem; }
.section-note { color: var(--muted); max-width: 60ch; margin-top: -.2rem; }
.muted { color: var(--muted); }

/* story */
.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.story-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 18px 0 0; }
.story-badges li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .9rem; }
.story-figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.story-figure img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* menu — masonry via CSS columns so cards pack tight with no row gaps */
.menu-grid { column-width: 270px; column-gap: 20px; margin-top: 30px; }
.menu-cat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); break-inside: avoid; margin: 0 0 20px; }
.menu-cat h3 { color: var(--sea); border-bottom: 2px solid var(--sand-2); padding-bottom: 10px; margin-bottom: 12px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.cat-note { font-size: .8rem; font-weight: 700; color: var(--coral); text-transform: none; letter-spacing: 0; }
.menu-list { margin: 0; }
.menu-item { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
.menu-item:last-child { border-bottom: 0; }
.menu-item dt { margin: 0; font-weight: 600; flex: 1; }
.menu-item dt span { display: block; font-weight: 400; font-size: .84rem; color: var(--muted); font-style: italic; }
.menu-item dd { margin: 0; font-weight: 700; color: var(--sea); white-space: nowrap; }

/* gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 28px; }
.gallery-item { display: block; padding: 0; border: 0; background: var(--sand-2); cursor: pointer; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); min-width: 0; aspect-ratio: 4/3; }
.gallery-item picture { display: block; width: 100%; height: 100%; }
.gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.04); }

/* reviews */
.rating-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 8px 0 26px; }
.rating-score { font-size: 2.6rem; font-weight: 800; color: var(--sea); line-height: 1; }
.rating-stars { color: var(--sun); font-size: 1.5rem; letter-spacing: 2px; }
.rating-meta { color: var(--muted); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.review-card p { font-size: 1.02rem; }
.review-card footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--sand-2); }
.rc-author { font-weight: 700; }
.rc-stars { color: var(--sun); letter-spacing: 1px; }
.review-source { margin-top: 22px; }

/* visit */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 28px; align-items: stretch; }
.visit-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.info-list { margin: 0 0 20px; }
.info-list > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--sand-2); }
.info-list > div:last-child { border-bottom: 0; }
.info-list dt { font-weight: 800; color: var(--sea); text-transform: uppercase; font-size: .72rem; letter-spacing: .08em; padding-top: 3px; }
.info-list dd { margin: 0; }
.visit-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.visit-note { margin: 16px 0 0; font-size: .9rem; color: var(--muted); }
.visit-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); position: relative; background: #bfe0e8; }
.map-link { display: block; position: relative; }
.map-svg { display: block; width: 100%; height: auto; aspect-ratio: 4/3; }
.map-pill { position: absolute; left: 50%; transform: translateX(-50%); bottom: 18px; background: var(--sun); color: #3d2a00; font-weight: 700; padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow); white-space: nowrap; }
.map-link:hover .map-pill { background: #ffb521; }

/* faq */
.faq-list { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; }
.faq-item summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--sea); font-size: 1.5rem; font-weight: 400; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding-bottom: 16px; margin: 0; color: var(--muted); }

/* cta band */
.cta-band { background: linear-gradient(120deg, var(--sea-deep), var(--sea)); color: #fff; padding: clamp(48px, 7vw, 84px) 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-inner { max-width: 640px; }
.cta-band p { color: #d9e6e9; font-size: 1.1rem; }
.cta-band .hero-ctas { justify-content: center; }

/* footer */
.site-footer { background: var(--sea-deep); color: #cfdde0; padding: 56px 0 90px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 30px; }
.brand-footer .brand-mark { background: rgba(255,255,255,.1); }
.brand-footer .brand-text, .brand-footer { color: #fff; }
.footer-blurb { color: #a9c0c5; max-width: 30ch; margin-top: 12px; }
.site-footer h3 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer a { color: #cfdde0; text-decoration: none; }
.site-footer a:hover { color: var(--sun); }
.footer-contact p { color: #a9c0c5; }
.footer-legal { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-copy { text-align: center; color: #7f9aa0; font-size: .82rem; margin: 40px auto 0; max-width: 70ch; padding: 0 20px; }

/* mobile bar */
.mobile-bar { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(8,46,56,.94); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-close { position: absolute; top: 16px; right: 20px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* legal / doc pages */
.doc { padding: 60px 0 80px; }
.doc h1 { color: var(--sea); }
.doc h2 { font-size: 1.3rem; margin-top: 1.8em; }
.doc-updated { color: var(--muted); font-size: .9rem; }
.doc-note { background: var(--sand-2); border-left: 4px solid var(--sun); padding: 14px 18px; border-radius: 8px; }
.doc-back { display: inline-block; margin-top: 30px; font-weight: 700; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .story-grid, .visit-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(180deg, rgba(8,46,56,.74) 0%, rgba(8,46,56,.40) 42%, rgba(8,46,56,.70) 100%); }
  .header-actions { margin-left: auto; }
  .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--sand);
    border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
    box-shadow: var(--shadow); display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 10px; border-radius: 8px; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .review-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  body { padding-bottom: 64px; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1fr;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(8,46,56,.12);
  }
  .mobile-bar a { text-align: center; padding: 16px 6px; font-weight: 700; text-decoration: none; color: var(--sea); }
  .mobile-bar-primary { background: var(--sun); color: #3d2a00 !important; }
}
