/* a Sagres — single stylesheet, no build step. */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces.woff2") format("woff2");
  font-weight: 300 650;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 380;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #081a2a;
  --navy: #0f2a40;
  --navy-700: #1b3c58;
  --cream: #f6f1e7;      /* lime-washed walls */
  --paper: #fbf8f2;
  --sand: #e6dcc9;
  --ink: #15222e;
  --ink-soft: #4b5967;
  --terra: #a8492a;      /* roof tiles */
  --amber: #e9a23b;      /* candlelight */
  --open: #6cc58a;

  --on-navy-soft: rgba(246, 241, 231, .74);
  --line-on-navy: rgba(246, 241, 231, .16);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(4.5rem, 10vw, 8rem);
  --radius: 18px;
  --ease-out: cubic-bezier(.2, .75, .25, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 480;
  line-height: 1.06;
  letter-spacing: -.012em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 1em; text-wrap: pretty; }
address { font-style: normal; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--amber); color: var(--navy); padding: .6rem 1rem; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font: 600 .78rem/1.2 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1.1rem;
  display: flex; align-items: center; gap: .7rem;
}
/* The small fish from the logo, flipped to swim toward the label. */
.eyebrow::before {
  content: ""; flex: none; width: 27px; height: 15px;
  background: currentColor;
  -webkit-mask: var(--fish-mark) center / contain no-repeat;
  mask: var(--fish-mark) center / contain no-repeat;
  transform: scaleX(-1);
}
:root {
  --fish-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='62.6 120.4 28 15'%3E%3Cg fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M63.7 126.9c5.9-6.4 11.3-6.4 18.9.8-5.5 4.3-13 5.5-18.9-.8Z'/%3E%3Cpath d='M70.3 121.5c1.1 3.6 1.5 7.7.2 10.2M82.6 127.7l6.6-4.4M82.6 127.7l6.9 6.4'/%3E%3C/g%3E%3Ccircle cx='67.7' cy='125.4' r='.95'/%3E%3C/svg%3E");
}
.section-head { max-width: 46rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.4rem); }
.section-head p:not(.eyebrow) { margin-top: 1.2rem; font-size: 1.125rem; color: var(--ink-soft); max-width: 40rem; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .8rem 1.35rem;
  border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg);
  font: 600 1rem/1.1 var(--sans); text-decoration: none; letter-spacing: .005em;
  transition: transform .2s var(--ease-out), background-color .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--amber { --bg: var(--amber); --fg: var(--navy-950); }
.btn--amber:hover { --bg: #f2b552; }
.btn--ghost { --bg: transparent; --fg: var(--cream); border-color: var(--line-on-navy); }
.btn--ghost:hover { border-color: var(--cream); }
.btn--line { --bg: transparent; --fg: var(--navy); border-color: rgba(15, 42, 64, .25); }
.btn--line:hover { border-color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  color: var(--cream);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line-on-navy), 0 10px 30px -18px rgba(0, 0, 0, .6); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--cream); transition: opacity .35s, transform .35s var(--ease-out); }
.brand svg { height: 34px; width: auto; }
.js .site-header:not(.show-brand) .brand { opacity: 0; transform: translateY(6px); pointer-events: none; }
.nav { margin-left: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .3rem; }
.nav a {
  display: block; padding: .55rem .8rem; border-radius: 999px;
  font-weight: 500; font-size: .98rem; text-decoration: none; color: var(--on-navy-soft);
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--cream); background: rgba(246, 241, 231, .08); }
.header-actions { display: flex; align-items: center; gap: .6rem; }
.lang {
  font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-decoration: none;
  padding: .5rem .7rem; border-radius: 8px; color: var(--on-navy-soft);
}
.lang:hover { color: var(--cream); }
.header-actions .btn { min-height: 42px; padding: .55rem 1.05rem; font-size: .95rem; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: transparent; color: var(--cream); cursor: pointer;
}
.menu-toggle svg { width: 24px; height: 24px; margin: auto; }

@media (max-width: 860px) {
  .menu-toggle { display: grid; }
  .header-actions .btn { display: none; }
  .nav {
    position: absolute; inset: 68px 0 auto 0;
    background: var(--navy); border-top: 1px solid var(--line-on-navy);
    padding: .5rem var(--gutter) 1.2rem;
    display: none;
  }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; }
  .nav a { font-size: 1.15rem; padding: .85rem .4rem; border-radius: 0; border-bottom: 1px solid var(--line-on-navy); }
  .header-actions { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 60% 55% at 78% 40%, rgba(233, 162, 59, .10), transparent 70%),
    radial-gradient(ellipse 80% 60% at 10% 110%, rgba(54, 104, 146, .35), transparent 70%),
    var(--navy);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-areas: "copy logo";
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: min(calc(100svh - 68px), 820px);
  padding-block: clamp(3rem, 7vw, 6rem) clamp(7rem, 12vw, 9rem);
}
.hero-copy { grid-area: copy; }
.hero-logo-wrap { grid-area: logo; display: flex; justify-content: center; }
.hero .eyebrow { color: var(--amber); }
.hero h1 { font-size: clamp(2.6rem, 1.5rem + 4.1vw, 4.9rem); font-weight: 430; }
.hero h1 em { font-style: italic; color: var(--amber); }
.hero-lede { margin-top: 1.5rem; font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); color: var(--on-navy-soft); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.status {
  display: inline-flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  margin-top: 1.6rem; font-size: .95rem; color: var(--on-navy-soft);
}
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; opacity: .6; flex: none; }
.status[data-state="open"] .status-dot { background: var(--open); opacity: 1; box-shadow: 0 0 0 4px rgba(108, 197, 138, .18); }
.status[data-state="soon"] .status-dot { background: var(--amber); opacity: 1; box-shadow: 0 0 0 4px rgba(233, 162, 59, .2); }
.status strong { color: var(--cream); font-weight: 600; }

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "logo" "copy";
    min-height: 0;
    gap: 1.5rem;
    padding-top: 2.2rem;
  }
  .hero-logo-wrap { justify-content: flex-start; }
  .hero-logo { width: min(78vw, 380px); }
}

/* Waves along the bottom of the hero */
.hero-sea { position: absolute; inset: auto 0 0 0; height: 140px; pointer-events: none; z-index: -1; }
.hero-sea svg { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; }
.hero-sea .w1 { animation: drift 26s linear infinite; }
.hero-sea .w2 { animation: drift 38s linear infinite reverse; }
.hero-shore { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(34px, 5vw, 64px); }
@keyframes drift { to { transform: translateX(-1200px); } }

/* The logo animation. Every path keeps its final look as the base style, so with
   reduced motion (or no animation support) the logo simply appears. */
.hero-logo { width: min(100%, 560px); height: auto; overflow: visible; color: var(--cream); }
.hero-logo .ln {
  fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1;
  animation:
    draw var(--dur, 1s) cubic-bezier(.55, .1, .3, 1) var(--at, 0s) both,
    appear .01s linear var(--at, 0s) both;
}
.hero-logo .eye { fill: currentColor; transform-box: fill-box; transform-origin: center; animation: pop .45s cubic-bezier(.3, 1.6, .5, 1) var(--at) both; }
.hero-logo .glide { animation: glide 2s var(--ease-out) .1s both; }
.hero-logo .dart { animation: dart 1.75s cubic-bezier(.3, .65, .3, 1) .25s both; }
.hero-logo .bob { transform-box: fill-box; transform-origin: center; animation: bob 6.5s ease-in-out 2.3s infinite; }
.hero-logo .wander { animation: wander 5.5s ease-in-out 2.1s infinite; }
.hero-logo .tail { transform-box: fill-box; transform-origin: 0% 50%; animation: wag 2.8s ease-in-out 1.6s infinite; }
.hero-logo .tail-s { transform-box: fill-box; transform-origin: 0% 41%; animation: wag 1.1s ease-in-out .3s infinite; }
.hero-logo .bubble { fill: none; stroke: currentColor; stroke-width: .28; opacity: 0; transform-box: fill-box; transform-origin: center; animation: bubble 5s ease-out var(--at) infinite; }
.hero-logo .lt { fill: currentColor; animation: rise .75s var(--ease-out) calc(1.2s + var(--i) * 75ms) both; }

@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { transform: scale(0); } }
@keyframes glide { from { transform: translateX(18px); } }
@keyframes dart {
  0% { transform: translate(104px, 17px); opacity: 0; }
  10% { opacity: 1; }
  55% { transform: translate(20px, 5px); }
  100% { transform: none; }
}
@keyframes bob {
  0%, 100% { transform: none; }
  50% { transform: translate(-1.6px, -1.1px) rotate(-1.4deg); }
}
@keyframes wander {
  0%, 100% { transform: none; }
  30% { transform: translate(-2.6px, -1.2px); }
  60% { transform: translate(-3.4px, .6px); }
  80% { transform: translate(-1px, 1px); }
}
@keyframes wag {
  0%, 100% { transform: none; }
  30% { transform: rotate(6deg); }
  70% { transform: rotate(-5deg); }
}
@keyframes bubble {
  0% { opacity: 0; transform: translate(0, 0) scale(.5); }
  8% { opacity: .75; }
  45% { opacity: 0; transform: translate(-1.5px, -13px) scale(1.1); }
  100% { opacity: 0; transform: translate(-1.5px, -13px) scale(1.1); }
}
@keyframes rise { from { opacity: 0; transform: translateY(5px); } }

/* Hero copy arrives while the fish are still swimming in. */
.hero [data-in] { animation: fade-up .9s var(--ease-out) var(--in, .3s) both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Facts strip ---------- */
.facts { padding-block: clamp(2.5rem, 5vw, 3.5rem) 0; }
.facts ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  border-block: 1px solid var(--sand);
}
.facts li { padding: 1.6rem 1.4rem 1.6rem 0; display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; align-items: start; }
.facts li + li { padding-left: 1.4rem; border-left: 1px solid var(--sand); }
.facts svg { grid-row: span 2; width: 34px; height: 34px; color: var(--terra); }
.facts strong { font: 500 1.2rem/1.2 var(--serif); }
.facts span { font-size: .95rem; color: var(--ink-soft); line-height: 1.45; }
@media (max-width: 980px) {
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--sand); }
}
@media (max-width: 560px) {
  .facts ul { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 1.2rem 0; border-left: 0; }
  .facts li + li { border-top: 1px solid var(--sand); }
}

/* ---------- House ---------- */
.house { padding-block: var(--section); }
.house-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.house-text h2 { font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.4rem); margin-bottom: 1.6rem; }
.house-text p:not(.eyebrow) { color: var(--ink-soft); }
.house-text p strong { color: var(--ink); font-weight: 600; }
.signoff {
  margin: 2.2rem 0 0; padding: 1.6rem 0 0; border-top: 1px solid var(--sand);
}
.signoff blockquote { margin: 0; font: italic 380 1.45rem/1.35 var(--serif); color: var(--ink); }
.signoff figcaption { margin-top: .8rem; font-size: .92rem; color: var(--ink-soft); }
.house-media { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.house-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.house-media .wide { grid-column: 1 / -1; aspect-ratio: 16 / 10; background: #fff; }
.house-media .tall { aspect-ratio: 4 / 5; }
.house-media figure { margin: 0; }
@media (max-width: 860px) { .house-grid { grid-template-columns: 1fr; } }

/* ---------- Food ---------- */
.food { padding-block: var(--section); background: var(--paper); border-block: 1px solid var(--sand); }
.dishes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 2.4vw, 2rem); }
.dish img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); background: var(--sand); }
.dish h3 { font-size: 1.5rem; margin-top: 1.1rem; }
.dish .en { display: block; font: 500 .82rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--terra); margin-top: .45rem; }
.dish p { margin: .6rem 0 0; color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 980px) { .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .dishes { grid-template-columns: 1fr; } }

.more-menu {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(1.5rem, 5vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--sand);
}
.more-menu h3 { font-size: 1.9rem; }
.more-menu .note { margin-top: 1rem; color: var(--ink-soft); font-size: .98rem; }
.menu-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: clamp(1.5rem, 4vw, 3.5rem); }
.menu-list li { break-inside: avoid; padding: .95rem 0; border-bottom: 1px dashed var(--sand); }
.menu-list b { font: 500 1.18rem/1.3 var(--serif); display: block; }
.menu-list span { font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 860px) { .more-menu { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .menu-list { columns: 1; } }

/* ---------- Gallery ---------- */
.gallery { padding-block: var(--section); background: var(--navy); color: var(--cream); }
.gallery .eyebrow { color: var(--amber); }
.gallery .section-head p:not(.eyebrow) { color: var(--on-navy-soft); }
.mosaic {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(220px, 27vw, 380px); gap: 14px;
}
.mosaic li { grid-column: span 3; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy-700); }
.mosaic li.l { grid-column: span 6; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.mosaic li:hover img { transform: scale(1.04); }
.mosaic figure { margin: 0; height: 100%; }
.mosaic figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem 1.1rem 1rem;
  background: linear-gradient(transparent, rgba(8, 26, 42, .82));
  font-size: .92rem; line-height: 1.35; color: var(--cream);
}
@media (max-width: 760px) {
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 52vw; gap: 10px; }
  .mosaic li, .mosaic li.l { grid-column: span 1; }
  .mosaic li.l { grid-column: span 2; }
  .mosaic { grid-auto-flow: dense; }
}

/* ---------- Reviews ---------- */
.reviews { padding-block: var(--section); }
.review-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.review {
  margin: 0; height: 100%; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.review svg { width: 34px; height: 34px; color: var(--terra); margin-bottom: 1rem; }
.review blockquote { margin: 0 0 1.4rem; font: 380 1.16rem/1.5 var(--serif); }
.review figcaption { margin-top: auto; font-size: .9rem; color: var(--ink-soft); }
.review-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
@media (max-width: 980px) { .review-grid { grid-template-columns: 1fr; max-width: 44rem; } }

/* ---------- Visit ---------- */
.visit { padding-block: var(--section); background: var(--paper); border-top: 1px solid var(--sand); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.info { display: grid; gap: 1.8rem; }
.info h3 { font: 600 .78rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--terra); margin-bottom: .6rem; }
.info address, .info p { font-size: 1.12rem; margin: 0; }
.info .muted { color: var(--ink-soft); font-size: .98rem; margin-top: .35rem; }
.info a { text-decoration-color: rgba(21, 34, 46, .3); text-underline-offset: 3px; }
.info a:hover { text-decoration-color: currentColor; }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours th, .hours td { text-align: left; padding: .55rem 0; border-bottom: 1px solid var(--sand); font-weight: 400; }
.hours th { font-weight: 500; white-space: nowrap; padding-right: 1rem; }
.hours td { color: var(--ink-soft); font-variant-numeric: tabular-nums; text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ink); font-weight: 600; }
.hours tr.is-today th::after {
  content: "Today"; margin-left: .5rem; font: 600 .68rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  background: var(--navy); color: var(--cream); padding: .25rem .45rem; border-radius: 5px; vertical-align: 2px;
}
:lang(pt) .hours tr.is-today th::after { content: "Hoje"; }
.visit-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.map {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--sand); background: var(--sand); aspect-ratio: 4 / 3.4;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-link { margin-top: .8rem; font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } .map { aspect-ratio: 4 / 3; } }

/* ---------- FAQ ---------- */
.faq { padding-block: var(--section); }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(2rem, 6vw, 6rem); }
.faq details { border-bottom: 1px solid var(--sand); }
.faq details:first-child { border-top: 1px solid var(--sand); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: center;
  padding: 1.3rem 0; font: 450 1.25rem/1.3 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px;
  border-right: 2px solid var(--terra); border-bottom: 2px solid var(--terra);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details p { color: var(--ink-soft); max-width: 44rem; padding-bottom: .6rem; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-navy-soft); padding-block: clamp(3.5rem, 7vw, 5rem) 2rem; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand svg { width: 190px; height: auto; color: var(--cream); margin-bottom: 1.2rem; }
.site-footer h2 { font: 600 .74rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--cream); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-on-navy);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    position: fixed; z-index: 60; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px;
    background: rgba(8, 26, 42, .94); border-radius: 999px;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5);
    transform: translateY(160%); transition: transform .45s var(--ease-out);
  }
  .action-bar.is-visible { transform: none; }
  .action-bar .btn { min-height: 46px; }
  .site-footer { padding-bottom: 6.5rem; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
