/* Toro Nero v2 — Lucky Goose-style language (Jost + Cormorant Garamond, gold on near-black),
   colours from the Toro Nero logo and photos. Fonts self-hosted (OFL, see /fonts). */
@font-face { font-family: "Jost"; font-weight: 300; font-style: normal; font-display: swap; src: url("/fonts/jost-300.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/jost-400.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("/fonts/cormorant-garamond-500.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: italic; font-display: swap; src: url("/fonts/cormorant-garamond-500-italic.woff2") format("woff2"); }

:root {
  --ground: #120C09;
  --ground-alt: #1A120D;
  --ground-deep: #0B0806;
  --ink: #F2E9D8;
  --ink-muted: #A79A85;
  --line: rgba(214, 179, 114, .22);
  --line-soft: rgba(242, 233, 216, .12);
  --gold: #D6B372;
  --gold-hover: #E4C68C;
  --on-gold: #120C09;
  --accent: #A9BC86;
  --accent-soft: #263020;
  --closed: #E58A8A;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --sans: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  --gutter: 20px;
  --space-section: 88px;
  --header-h: 64px;
  --maxw: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
@media (min-width: 900px) { :root { --gutter: clamp(32px, 5vw, 56px); --space-section: clamp(110px, 12vh, 150px); --header-h: 76px; } }

/* Reset + image safety net */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 60px); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 300 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
@media (min-width: 900px) { body { font-size: 17px; } }
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 10px 14px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-muted); }

/* Loader (website-aesthetics standard) */
#loader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: var(--ground); transition: opacity .4s ease, visibility .4s; animation: loader-failsafe 0s 2s forwards; }
#loader img { width: min(160px, 40vw); height: auto; animation: loader-in .6s ease both; }
@media (min-width: 769px) { #loader img { width: 220px; } }
#loader.hide, .no-loader #loader { opacity: 0; visibility: hidden; }
.no-loader #loader { display: none; }
@keyframes loader-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { #loader img { animation: none; } }

/* Type */
.marker { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font: 400 12px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-muted); }
.marker .horns { width: 34px; height: auto; flex: none; }
.h1, .h2 { font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -.005em; color: var(--ink); }
.h1 { font-size: clamp(3rem, 2rem + 4.5vw, 5.5rem); }
.h2 { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.25rem); }
.h2--xl { font-size: clamp(2.6rem, 1.7rem + 3.6vw, 4.25rem); }
.h2--sm { font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.5rem); }
.h1 em, .h2 em { font-style: italic; color: var(--gold); }
.label { display: block; font: 400 12px/1.2 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 14px; }
.text-link { display: inline-block; margin-top: 22px; font: 400 12.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid var(--line); transition: border-color .2s; }
.text-link:hover { border-bottom-color: var(--gold); }
.hint { font: 400 12px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink-muted); }

/* Buttons: square, tracked caps */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 15px 30px; border: 1px solid transparent; border-radius: 0; font: 400 12.5px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .25s, color .25s, border-color .25s; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--gold { background: var(--gold); color: var(--on-gold); }
.btn--gold:hover { background: var(--gold-hover); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(214, 179, 114, .55); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-inline: var(--gutter); border-bottom: 1px solid transparent; transition: background-color .35s, border-color .35s; }
.site-header.is-solid, .site-header--inner { background: rgba(18, 12, 9, .96); border-bottom-color: var(--line-soft); }
.header-logo img { height: 38px; width: auto; }
@media (min-width: 900px) { .header-logo img { height: 48px; } }
.is-home .header-logo { opacity: 0; pointer-events: none; transition: opacity .35s; }
.is-home .site-header.is-solid .header-logo, .nav-open .header-logo { opacity: 1; pointer-events: auto; }
.site-header__end { display: flex; align-items: center; gap: 28px; }
.header-cta { min-height: 40px; padding: 11px 18px; font-size: 11.5px; color: var(--gold); }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font: 400 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink); transition: color .2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }
.nav-toggle { width: 44px; height: 44px; margin-right: -10px; display: inline-grid; place-items: center; background: none; border: 0; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 1px; background: var(--ink); position: relative; transition: transform .3s var(--ease), background-color .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 899px) {
  .site-header__end { gap: 12px; }
  .site-nav { position: fixed; inset: var(--header-h) 0 0; background: var(--ground); padding: 40px var(--gutter); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; z-index: 49; }
  .nav-open .site-nav { opacity: 1; visibility: visible; transition: opacity .3s; }
  .nav-open .site-header { background: var(--ground); border-bottom-color: var(--line-soft); }
  .nav-open, .nav-open body { overflow: hidden; }
  .site-nav li { border-bottom: 1px solid var(--line-soft); }
  .site-nav a { display: block; padding: 22px 0; font: 500 34px/1 var(--serif); letter-spacing: 0; text-transform: none; }
  .site-nav a[aria-current="page"] { font-style: italic; }
}
@media (min-width: 900px) { .nav-toggle { display: none; } .site-nav ul { display: flex; gap: 34px; } }

/* Sticky action bar (mobile) */
.sw-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: flex; gap: 8px; padding: 8px; background: var(--ground-alt); border: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(0, 0, 0, .45); transform: translateY(140%); transition: transform .35s var(--ease); }
.sw-bar.is-visible { transform: none; }
.sw-bar .btn { flex: 1; padding-inline: 10px; min-height: 48px; font-size: 11.5px; letter-spacing: .16em; }
@media (min-width: 768px) { .sw-bar { display: none; } }
@media (max-width: 767px) { body { padding-bottom: 84px; } }

/* Sections */
.section { padding-block: var(--space-section); }
.sec-head { margin-bottom: 44px; max-width: 720px; }
.sec-head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; max-width: none; }
.sec-sub { margin-top: 14px; color: var(--ink-muted); }
.page-head { padding-top: calc(var(--header-h) + 64px); padding-bottom: 40px; }
@media (min-width: 900px) { .page-head { padding-top: calc(var(--header-h) + 96px); } }
.page-head p:not(.marker):not(.hint) { margin-top: 18px; max-width: 48ch; color: var(--ink-muted); }

/* Open-now pill + hours */
.sw-open { display: inline-flex; align-items: center; gap: 10px; font: 400 12px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.sw-open::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sw-open.is-closed { color: var(--closed); }
.sw-open[hidden] { display: none; }
.sw-hours { border-collapse: collapse; width: 100%; max-width: 440px; font-size: 15px; }
.sw-hours th, .sw-hours td { padding: 11px 0; border-bottom: 1px solid var(--line-soft); text-align: left; font-weight: 300; color: var(--ink-muted); vertical-align: top; }
.sw-hours td { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.sw-hours tr.is-today th, .sw-hours tr.is-today td { color: var(--gold); font-weight: 400; }
.sw-tag { display: inline-block; margin-left: 8px; vertical-align: 4px; font: 400 11px/1.2 var(--sans); letter-spacing: .1em; padding: 2px 6px; border: 1px solid var(--accent); color: var(--accent); text-decoration: none; }

/* Social buttons (brand logos, as briefed) */
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px 10px 14px; border: 1px solid var(--line); text-decoration: none; font: 400 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; transition: border-color .2s, color .2s; }
.social a:hover { border-color: var(--gold); color: var(--gold); }
.social svg { width: 22px; height: 22px; }

/* Footer (centred, Lucky Goose style) */
.site-footer { background: var(--ground-deep); border-top: 1px solid var(--line-soft); padding-block: 72px 40px; text-align: center; font-size: 15px; }
.site-footer__mark { width: 64px; margin: 0 auto 18px; }
.site-footer__name { font: 400 12.5px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; }
.site-footer__tag { margin-top: 14px; font: italic 500 22px/1.3 var(--serif); color: var(--gold); }
.site-footer__cols { margin: 48px auto 0; max-width: 900px; display: grid; gap: 28px; color: var(--ink-muted); }
@media (min-width: 768px) { .site-footer__cols { grid-template-columns: repeat(3, 1fr); } }
.site-footer address { font-style: normal; }
.site-footer a { text-decoration: none; color: var(--ink); }
.site-footer a:hover { color: var(--gold); }
.site-footer__nav { list-style: none; margin: 44px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.site-footer__nav a { font: 400 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.site-footer__base { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: 13px; letter-spacing: .06em; color: var(--ink-muted); }
.site-footer__base a { color: var(--ink-muted); }

/* Horizontal photo strip + lightbox (home + gallery) */
.strip { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.strip::-webkit-scrollbar { display: none; }
.strip > li { flex: 0 0 82%; scroll-snap-align: start; }
@media (min-width: 769px) {
  .strip { gap: 22px; padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
  .strip > li { flex: 0 0 clamp(260px, 26vw, 360px); }
}
.tile { margin: 0; }
.tile__frame { display: block; width: 100%; padding: 0; border: 0; background: var(--ground-alt); aspect-ratio: 4 / 5; overflow: hidden; cursor: zoom-in; }
.tile__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform .9s var(--ease), opacity .3s; }
.tile__frame:hover img { transform: scale(1.04); }
.tile figcaption { margin-top: 12px; font: 400 11.5px/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-muted); }
.strip-nav { display: flex; align-items: center; gap: 12px; }
.strip-nav .hint { margin-right: 10px; }
.strip-btn { width: 48px; height: 48px; border: 1px solid var(--line); background: none; cursor: pointer; font-size: 18px; transition: border-color .2s, color .2s; }
.strip-btn:hover { border-color: var(--gold); color: var(--gold); }
@media (max-width: 768px) { .strip-btn { display: none; } }

.lightbox { padding: 0; border: 0; max-width: none; max-height: none; width: 100vw; height: 100dvh; margin: 0; background: rgba(8, 6, 4, .96); color: var(--ink); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(8, 6, 4, .9); }
.lightbox img { max-width: min(92vw, 1000px); max-height: 80dvh; width: auto; height: auto; object-fit: contain; }
.lightbox__count { position: absolute; top: 22px; left: 24px; font: 400 12px/1 var(--sans); letter-spacing: .26em; color: var(--ink-muted); }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border: 1px solid var(--line); background: rgba(18, 12, 9, .6); cursor: pointer; font-size: 20px; color: var(--ink); }
.lightbox__btn:hover { border-color: var(--gold); color: var(--gold); }
.lightbox__close { top: 12px; right: 12px; font-size: 28px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 768px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; } }

/* ---------- Menu page ---------- */
.menu-tabs { position: sticky; top: var(--header-h); z-index: 30; background: rgba(18, 12, 9, .97); border-block: 1px solid var(--line-soft); }
.menu-tabs ul { position: relative; list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--maxw); display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.menu-tabs ul::-webkit-scrollbar { display: none; }
.menu-tabs a { display: block; padding: 18px 0 16px; white-space: nowrap; text-decoration: none; font: 400 12px/1.2 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ink-muted); border-bottom: 1px solid transparent; }
.menu-tabs a.is-active, .menu-tabs a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.menu-section { padding-top: 64px; }
.menu-section__note { margin-top: 10px; color: var(--ink-muted); font-style: italic; }
.menu-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 0 72px; }
@media (min-width: 900px) { .menu-list { grid-template-columns: 1fr 1fr; } }
.mi { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.mi__name { font: 500 22px/1.2 var(--serif); }
.mi__dots { border-bottom: 1px dotted rgba(214, 179, 114, .35); transform: translateY(-5px); min-width: 16px; }
.mi__price { font: 400 15px/1 var(--sans); letter-spacing: .06em; color: var(--gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mi__desc { grid-column: 1 / -1; font-size: 15px; line-height: 1.6; color: var(--ink-muted); }
@media (max-width: 480px) { .mi { grid-template-columns: 1fr auto; } .mi__dots { display: none; } }
.menu-cta { margin-top: var(--space-section); padding: 40px 28px; border: 1px solid var(--line); display: grid; gap: 24px; }
.menu-cta .h2 { margin-bottom: 10px; }
@media (min-width: 900px) { .menu-cta { grid-template-columns: 1fr auto; align-items: center; padding: 56px; } }

/* ---------- Contact page ---------- */
.contact-cols { display: grid; gap: 40px; padding-bottom: 56px; }
@media (min-width: 700px) { .contact-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .contact-cols { grid-template-columns: 1fr 1.2fr 1fr 1fr; } }
.contact-block address { font: 500 24px/1.3 var(--serif); font-style: normal; }
.phone-big { display: inline-block; margin-bottom: 18px; font: 500 40px/1 var(--serif); color: var(--gold); text-decoration: none; }
.map-frame { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line-soft); background: var(--ground-alt); }
.map-frame iframe { width: 100%; height: 100%; display: block; filter: grayscale(.5) contrast(1.05) brightness(.9); }
@media (min-width: 900px) { .map-frame { aspect-ratio: 21 / 9; } }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 32px) var(--gutter) 64px; }
.notfound .horns { width: 90px; margin: 0 auto 28px; }
.notfound p { margin: 18px auto 32px; max-width: 36ch; color: var(--ink-muted); }

/* Scroll reveal: blocks below the fold fade and rise into place as they enter (set up by site.js only when motion is allowed) */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .85s ease, transform .85s cubic-bezier(.22, .61, .21, 1); }
.rv.rv-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) { .tile__frame img { transition: none; } .rv { opacity: 1; transform: none; transition: none; } }
