/* MUST — Food & Wine */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

:root {
  --espresso: #14100c;
  --espresso-2: #1d1812;
  --espresso-3: #2a2118;
  --copper: #c08158;
  --copper-2: #8a553a;
  --brass: #d6a878;
  --cream-on-dark: #efe4d2;

  --paper: #f7f1e4;
  --paper-2: #ede4d0;
  --ink: #1f1810;
  --ink-2: #4d3f30;
  --ink-3: #8a7a64;
  --rule: #d8cdb6;
  --terracotta: #b8593a;

  --display: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --script: "Pinyon Script", cursive;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --maxw: 1320px;
  --gutter: clamp(20px, 4.5vw, 56px);
}

body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.link { border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: color 150ms; }
.link:hover { color: var(--terracotta); }
.dot { opacity: 0.5; margin: 0 8px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--ink-3); font-weight: 500; }
.eyebrow.on-dark { color: var(--brass); }
.script { font-family: var(--script); font-style: italic; }

/* NAV */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 18px 0; transition: background 280ms ease, padding 200ms ease, color 200ms ease; }
.nav.over-dark { color: #ffffff; text-shadow: 0 1px 14px rgba(0,0,0,0.45); }
.nav.over-dark .nav-link, .nav.over-dark .nav-phone, .nav.over-dark .nav-cta, .nav.over-dark .lang-switch button { color: #ffffff; }
.nav.over-dark .nav-cta { border-color: rgba(255,255,255,0.7); }
.nav.over-light { color: var(--ink); text-shadow: none; }
.nav.scrolled {
  background: color-mix(in oklab, var(--paper) 92%, transparent);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
}
/* When the nav is over a dark section AND scrolled, keep the dark glass + light text */
.nav.scrolled.over-dark {
  background: color-mix(in oklab, var(--espresso) 88%, transparent);
  border-bottom-color: color-mix(in oklab, #ffffff 12%, transparent);
  color: #ffffff;
  text-shadow: none;
}
.nav.scrolled.over-dark .nav-link, .nav.scrolled.over-dark .nav-phone, .nav.scrolled.over-dark .nav-cta, .nav.scrolled.over-dark .lang-switch button { color: #ffffff; }
.nav.scrolled.over-dark .nav-cta { border-color: rgba(255,255,255,0.7); }
.nav.scrolled.over-dark .nav-logo { filter: none; }
.nav.scrolled.over-light { color: var(--ink); }
.nav.scrolled.over-light .nav-logo { filter: invert(1) brightness(0.15); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav-left, .nav-right { display: flex; align-items: center; gap: 28px; }
.nav-right { justify-content: flex-end; }
.nav-link { font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; transition: opacity 150ms; }
.nav-link:hover { opacity: 0.65; }
.nav-phone { font-family: var(--mono); letter-spacing: 0.06em; text-transform: none; font-size: 12px; }
.nav-brand { display: flex; align-items: center; justify-content: center; }
.nav-logo { height: 76px; width: auto; transition: height 200ms ease, filter 200ms ease; }
.nav.scrolled .nav-logo { height: 56px; }
.nav.over-light .nav-logo { filter: invert(1) brightness(0.15); }
.nav-cta { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; padding: 10px 16px; border: 1px solid currentColor; transition: background 200ms, color 200ms; }
.nav-cta:hover { background: var(--copper); border-color: var(--copper); color: var(--espresso); }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; }
.lang-switch button { padding: 5px 7px; color: inherit; opacity: 0.5; cursor: pointer; transition: opacity 150ms ease, color 150ms ease; line-height: 1; }
.lang-switch button:hover { opacity: 0.85; }
.lang-switch button.active { opacity: 1; color: var(--copper); }
.nav.over-dark .lang-switch button.active, .nav.scrolled.over-dark .lang-switch button.active { color: var(--brass); }

@media (max-width: 880px) {
  .nav-left .nav-link, .nav-phone { display: none; }
  .nav-logo { height: 52px; }
  .nav.scrolled .nav-logo { height: 42px; }
}

/* HERO */
.hero { position: relative; min-height: 100vh; background: var(--espresso); color: var(--cream-on-dark); overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.95) contrast(1.04); }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,12,0.30) 0%, rgba(20,16,12,0.15) 40%, rgba(20,16,12,0.65) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 140px var(--gutter) 100px; max-width: 920px; }
.hero-eyebrow { display: block; }
.hero-title { margin: 24px 0 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-welcome { font-family: var(--script); font-size: clamp(40px, 5.5vw, 72px); color: var(--brass); line-height: 1; }
.hero-wordmark { width: clamp(280px, 50vw, 560px); height: auto; filter: drop-shadow(0 8px 30px rgba(0,0,0,0.4)); }
.hero-sub { margin: 36px auto 0; max-width: 50ch; font-size: 16px; line-height: 1.65; color: color-mix(in oklab, var(--cream-on-dark) 85%, transparent); }
.hero-actions { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; border: 1px solid currentColor; transition: background 200ms ease, color 200ms ease, border-color 200ms; cursor: pointer; }
.btn .arrow { transition: transform 200ms; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--copper); border-color: var(--copper); color: var(--espresso); }
.btn-primary:hover { background: var(--brass); border-color: var(--brass); }
.btn-ghost { color: inherit; }
.btn-ghost:hover { background: currentColor; }
.btn-ghost:hover > * { color: var(--espresso); }
.btn-copper { background: var(--copper); border-color: var(--copper); color: var(--espresso); font-family: var(--mono); letter-spacing: 0.05em; text-transform: none; }
.btn-copper:hover { background: var(--brass); border-color: var(--brass); }
.hero-meta { margin-top: 44px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--brass); font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; }
.hero-scroll__label { transition: opacity 200ms ease; }
.hero-scroll:hover .hero-scroll__label { opacity: 0.65; }
.hero-scroll__chevron { display: block; line-height: 0; animation: scrollBob 1.8s ease-in-out infinite; }
@keyframes scrollBob {
  0%   { transform: translateY(0); opacity: 0.45; }
  50%  { transform: translateY(7px); opacity: 1; }
  100% { transform: translateY(0); opacity: 0.45; }
}
@media (prefers-reduced-motion: reduce) { .hero-scroll__chevron { animation: none; opacity: 0.8; } }

@media (max-width: 720px) {
  .hero-inner { padding: 120px var(--gutter) 100px; }
  .hero-welcome { font-size: 38px; }
}

/* SHARED section style */
.section-num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; color: var(--terracotta); margin-bottom: 18px; }
.section-num.on-dark { color: var(--brass); }
.section-title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 80px); line-height: 1.0; letter-spacing: -0.018em; }
.section-title em { font-style: italic; color: var(--terracotta); }
.section-title.on-dark { color: var(--cream-on-dark); }
.section-title.on-dark em { color: var(--brass); }

/* STORY */
.story { background: var(--paper); padding: clamp(88px, 12vw, 160px) 0; position: relative; }
.story-grid { display: grid; grid-template-columns: 0.9fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 880px) { .story-grid { grid-template-columns: 1fr; } }
.story-side { position: sticky; top: 100px; }
@media (max-width: 880px) { .story-side { position: static; } }
.story-pic { margin: 36px 0 0; aspect-ratio: 4/5; overflow: hidden; }
.story-pic img { width: 100%; height: 100%; object-fit: cover; }
.story-body { padding-top: 8px; }
.story-prose p { margin: 0 0 1.4em; font-family: var(--sans); font-style: normal; font-size: 16px; line-height: 1.75; color: var(--ink-2); max-width: 56ch; }
.story-prose p:last-child { margin-bottom: 0; }
.story-signoff { display: block; margin-top: 40px; text-align: left; font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; color: var(--terracotta); }

/* MENU */
.menu { background: var(--paper-2); padding: clamp(88px, 12vw, 160px) 0; border-top: 1px solid var(--rule); }
.menu-grid { display: grid; grid-template-columns: 0.9fr 1.4fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 880px) { .menu-grid { grid-template-columns: 1fr; } }
.menu-side { position: sticky; top: 100px; }
@media (max-width: 880px) { .menu-side { position: static; } }
.menu-note { margin: 28px 0 6px; max-width: 36ch; font-family: var(--display); font-style: italic; font-size: 18px; color: var(--ink-2); line-height: 1.45; }
.menu-note-pt { margin: 0 0 32px; max-width: 36ch; font-family: var(--display); font-style: italic; font-size: 15px; color: var(--ink-3); line-height: 1.45; }
.menu-note-pt[hidden] { display: none; }
.menu-pic { aspect-ratio: 1; overflow: hidden; margin: 0 0 32px; }
.menu-pic img { width: 100%; height: 100%; object-fit: cover; }
.menu-tabs { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.menu-tab { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; padding: 15px 20px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; transition: background 200ms ease, color 200ms ease, border-color 200ms ease; }
.menu-tab::after { content: "→"; opacity: 0; transition: opacity 200ms, transform 200ms; transform: translateX(-6px); }
.menu-tab.active { background: var(--copper); border-color: var(--copper); color: var(--espresso); }
.menu-tab.active::after { opacity: 1; transform: translateX(0); }
.menu-tab:not(.active):hover { border-color: var(--copper); color: var(--copper); }
.menu-tab:not(.active):hover::after { opacity: 1; transform: translateX(0); }

.menu-body .menu-cat { display: none; }
.menu-body .menu-cat.active { display: block; animation: fadeIn 400ms ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.menu-cat-name { display: none; }
.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.menu-item:first-child { border-top: 1px solid var(--rule); }
.menu-item-desc .name { font-family: var(--display); font-size: 24px; font-weight: 400; color: var(--ink); line-height: 1.2; }
.menu-item-desc .name-en { margin-top: 4px; font-size: 13px; color: var(--ink-3); line-height: 1.45; max-width: 60ch; }
.menu-item .price { font-family: var(--mono); font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.menu-item .price .cur { color: var(--ink-3); margin-right: 2px; }

/* GALLERY — dark */
.gallery { background: var(--espresso); color: var(--cream-on-dark); padding: clamp(88px, 12vw, 160px) 0; }
.gallery-head { display: block; margin-bottom: 56px; }
.gallery-head .section-title { margin-top: 8px; }
@media (max-width: 880px) { .gallery-head { grid-template-columns: 1fr; } }
.gallery-lede { margin: 24px 0 0; width: calc((100% - 28px) / 3); max-width: 100%; font-size: 16px; line-height: 1.7; color: color-mix(in oklab, var(--cream-on-dark) 75%, transparent); }
@media (max-width: 880px) { .gallery-lede { width: 100%; } }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; gap: 14px; }
.gallery-grid a { display: block; overflow: hidden; position: relative; cursor: zoom-in; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms ease; }
.gallery-grid a:hover img { transform: scale(1.05); }
/* Top group — equal widths: tall | stacked pair | tall */
.g-1 { grid-column: 1; grid-row: 1 / span 2; }
.g-2 { grid-column: 2; grid-row: 1; }
.g-3 { grid-column: 2; grid-row: 2; }
.g-4 { grid-column: 3; grid-row: 1 / span 2; }
/* Bottom group — stacked pair | tall | stacked pair */
.g-5 { grid-column: 1; grid-row: 3; }
.g-6 { grid-column: 1; grid-row: 4; }
.g-7 { grid-column: 2; grid-row: 3 / span 2; }
.g-8 { grid-column: 3; grid-row: 3; }
.g-9 { grid-column: 3; grid-row: 4; }
@media (max-width: 880px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-grid a { grid-column: auto !important; grid-row: auto !important; }
}

/* REVIEWS */
.reviews { background: var(--espresso-2); color: var(--cream-on-dark); padding: clamp(80px, 10vw, 140px) 0; border-top: 1px solid color-mix(in oklab, var(--cream-on-dark) 8%, transparent); }
.reviews .section-num { color: var(--brass); }
.reviews-title { margin: 0 0 56px; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; }
.reviews-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.review { margin: 0; padding: 32px; border: 1px solid color-mix(in oklab, var(--cream-on-dark) 12%, transparent); background: color-mix(in oklab, var(--espresso) 85%, transparent); }
.review blockquote { margin: 0; font-family: var(--display); font-style: italic; font-size: 18px; line-height: 1.55; color: var(--cream-on-dark); }
.review blockquote::before { content: "“"; display: block; font-size: 56px; line-height: 0.5; color: var(--copper); margin-bottom: 16px; }
.review figcaption { margin-top: 24px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in oklab, var(--brass) 90%, transparent); }
.reviews-links { margin-top: 48px; display: flex; gap: 32px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }
.reviews-links a { color: var(--brass); }

/* VISIT — dark */
.visit { background: var(--espresso); color: var(--cream-on-dark); padding: clamp(88px, 12vw, 160px) 0 clamp(40px, 5vw, 64px); }
.visit-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.visit-map { margin-top: clamp(90px, 11vw, 150px); }
@media (max-width: 880px) { .visit-grid { grid-template-columns: 1fr; } .visit-map { margin-top: 0; } }
.visit-address { margin: 28px 0 32px; font-family: var(--display); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); color: var(--brass); line-height: 1.4; }
.visit-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.visit-socials { display: flex; gap: 24px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in oklab, var(--cream-on-dark) 60%, transparent); }
.visit-socials a { transition: color 200ms; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.visit-socials a:hover { color: var(--brass); border-bottom-color: var(--brass); }
.map-wrap { aspect-ratio: 4/3; overflow: hidden; border: 1px solid color-mix(in oklab, var(--cream-on-dark) 14%, transparent); background: #e8e3dc; position: relative; z-index: 0; isolation: isolate; }
.map-canvas { width: 100%; height: 100%; background: #e8e3dc; }
/* Warm-tint the map tiles to match the espresso/copper palette */
.map-canvas .leaflet-tile-pane { filter: sepia(0.22) hue-rotate(-8deg) saturate(0.9) brightness(1.02) contrast(0.98); }
.leaflet-container { background: #e8e3dc !important; font-family: var(--mono); }
.leaflet-control-attribution { background: rgba(255,250,244,0.7) !important; color: rgba(60,48,38,0.7) !important; font-size: 9px !important; }
.leaflet-control-attribution a { color: color-mix(in oklab, var(--brass) 80%, transparent) !important; }
.leaflet-control-zoom a { background: var(--espresso-2) !important; color: var(--cream-on-dark) !important; border-color: color-mix(in oklab, var(--cream-on-dark) 14%, transparent) !important; }
.leaflet-control-zoom a:hover { background: var(--copper) !important; color: var(--espresso) !important; }
.map-pin { width: 16px; height: 16px; border-radius: 50%; background: var(--copper); border: 2px solid var(--cream-on-dark); box-shadow: 0 0 0 6px color-mix(in oklab, var(--copper) 30%, transparent); position: relative; }
.map-pin::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid color-mix(in oklab, var(--copper) 60%, transparent); animation: pinPulse 2.4s ease-out infinite; }
@keyframes pinPulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.8); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .map-pin::after { animation: none; } }
.map-link { display: inline-block; margin-top: 16px; color: var(--brass); font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; }

/* FOOTER */
footer { background: var(--espresso-2); color: var(--cream-on-dark); padding: 64px 0 36px; border-top: 1px solid color-mix(in oklab, var(--cream-on-dark) 8%, transparent); }
.foot-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: center; }
.foot-col { display: flex; flex-direction: column; }
.foot-center { align-items: center; text-align: center; gap: 12px; }
.foot-right { align-items: flex-end; text-align: right; }
.foot-logo { height: 110px; width: 110px; opacity: 0.95; object-fit: contain; }
.foot-tag { font-family: var(--display); font-style: italic; font-size: clamp(28px, 3vw, 38px); color: var(--brass); letter-spacing: -0.005em; line-height: 1.1; }
.foot-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in oklab, var(--cream-on-dark) 60%, transparent); display: flex; flex-direction: column; gap: 4px; }
.foot-center .foot-meta { flex-direction: row; flex-wrap: wrap; justify-content: center; }
.foot-meta a:hover { color: var(--brass); }
.foot-rule { height: 1px; background: color-mix(in oklab, var(--cream-on-dark) 10%, transparent); margin: 48px 0 20px; }
.foot-credits { text-align: center; font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: color-mix(in oklab, var(--cream-on-dark) 40%, transparent); }
@media (max-width: 720px) {
  .foot-grid { grid-template-columns: 1fr; text-align: center; }
  .foot-col, .foot-right { align-items: center; text-align: center; }
}

/* ANNOUNCEMENT BAR */
.announcement[hidden] { display: none !important; }
.announcement { background: var(--copper); color: var(--espresso); padding: 10px 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; position: fixed; top: 0; left: 0; right: 0; z-index: 60; }
.announcement-inner { display: flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; }
.announcement-message { font-weight: 500; }
.announcement-link { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.announcement-link[hidden] { display: none !important; }
/* Push nav + hero down when announcement is visible */
body.has-announcement .nav { top: 38px; }
body.has-announcement .hero { padding-top: 38px; }

/* HOURS BLOCK */
.hours-block { margin-top: 36px; padding-top: 32px; border-top: 1px solid color-mix(in oklab, var(--cream-on-dark) 14%, transparent); }
.hours-title { margin: 0 0 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--brass); font-weight: 500; }
.hours-list { display: grid; }
.hours-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; padding: 12px 0; border-bottom: 1px dotted color-mix(in oklab, var(--cream-on-dark) 14%, transparent); align-items: baseline; }
.hours-row:last-child { border-bottom: 0; }
.hours-days { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: color-mix(in oklab, var(--cream-on-dark) 70%, transparent); }
.hours-time { font-family: var(--display); font-style: italic; font-size: 18px; color: var(--cream-on-dark); }
.hours-holidays { margin-top: 14px; display: grid; gap: 4px; }
.hours-holidays:empty { display: none; }
.holiday-row { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 8px 12px; background: color-mix(in oklab, var(--copper) 16%, transparent); border-left: 2px solid var(--copper); font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream-on-dark); }
.holiday-dates { color: var(--brass); font-weight: 500; }
.holiday-note { color: color-mix(in oklab, var(--cream-on-dark) 80%, transparent); text-transform: none; letter-spacing: 0.04em; }
.hours-booking-note { margin: 18px 0 0; font-size: 13px; line-height: 1.6; color: color-mix(in oklab, var(--cream-on-dark) 65%, transparent); }

/* LIGHTBOX */
.lightbox[hidden] { display: none !important; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,16,12,0.96); display: flex; align-items: center; justify-content: center; padding: 32px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox-close { position: absolute; top: 24px; right: 32px; font-size: 32px; color: var(--cream-on-dark); width: 44px; height: 44px; }

/* logo color flip — the logo SVG is white; on light backgrounds we invert */
[data-content] { opacity: 0; transition: opacity 400ms ease; }
.loaded [data-content] { opacity: 1; }

/* Laravel: a escolha de língua passou de botões para links (/, /en, /fr…) */
.lang-switch a { padding: 5px 7px; color: inherit; opacity: 0.5; cursor: pointer; transition: opacity 150ms ease, color 150ms ease; line-height: 1; }
.lang-switch a:hover { opacity: 0.85; }
.lang-switch a.active { opacity: 1; color: var(--copper); }
.nav.over-dark .lang-switch a, .nav.scrolled.over-dark .lang-switch a { color: #ffffff; }
.nav.over-dark .lang-switch a.active, .nav.scrolled.over-dark .lang-switch a.active { color: var(--brass); }

/* Menu do telemóvel */
.nav-toggle { display: none; width: 40px; height: 40px; margin-left: -8px; padding: 10px 8px; flex-direction: column; justify-content: space-between; color: inherit; }
.nav-toggle span { display: block; height: 1.5px; width: 100%; background: currentColor; border-radius: 1px; }
.nav-toggle span:nth-child(2) { width: 70%; }
.mobile-menu { position: fixed; inset: 0; z-index: 100; background: var(--espresso); color: var(--cream-on-dark); display: flex; flex-direction: column; padding: 18px var(--gutter) 32px; overflow-y: auto; animation: fadeIn 250ms ease; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__logo { height: 52px; width: auto; }
.mobile-menu__close { font-size: 34px; line-height: 1; width: 44px; height: 44px; margin-right: -10px; color: var(--cream-on-dark); }
.mobile-menu__links { display: flex; flex-direction: column; margin: auto 0; padding: 40px 0; }
.mobile-menu__links a { display: flex; align-items: baseline; gap: 18px; padding: 14px 0; border-bottom: 1px solid color-mix(in oklab, #ffffff 12%, transparent); font-family: var(--display); font-size: clamp(34px, 10vw, 46px); line-height: 1.1; }
.mobile-menu__links a span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--brass); }
.mobile-menu__links a:active { color: var(--brass); }
.mobile-menu__actions { display: flex; flex-direction: column; gap: 12px; }
.mobile-menu__actions .btn { justify-content: center; }
.mobile-menu__langs { display: flex; gap: 20px; justify-content: center; margin-top: 28px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.mobile-menu__langs a { opacity: 0.55; }
.mobile-menu__langs a.active { opacity: 1; color: var(--brass); }
body.menu-open { overflow: hidden; }

@media (max-width: 880px) {
  .nav-toggle { display: flex; }
  .nav-left { gap: 0; }
  .nav-right .lang-switch { display: none; }
}
@media (min-width: 881px) {
  .mobile-menu { display: none !important; }
}
