/* ============================================================
   A Mare — cucina del mare · stylesheet
   ============================================================ */

:root {
  --paper: #f7f1e8;
  --paper-2: #ede2cf;
  --paper-3: #e9dcc4;
  --ink: #1a1410;
  --ink-2: #3a2f24;
  --ink-soft: #6b5a45;
  --ink-mute: #9c8a72;
  --terra: #c4604d;
  --terra-2: #a44b3a;
  --terra-soft: #e3a48f;
  --sage: #7a8b5f;
  --sage-2: #5a6a45;
  --sea: #5b8aa3;
  --sea-soft: #a8c8d8;
  --sun: #f3d27c;
  --gold: #d4a45c;
  --line: #d8c8ad;
  --line-2: #e3d4b6;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --hand: "Caveat", "Brush Script MT", cursive;

  --max: 1280px;
  --pad: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Paper texture — subtle warm grain */
.paper {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(196, 96, 77, 0.04), transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(91, 138, 163, 0.05), transparent 50%);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.35 0 0 0 0 0.2 0 0 0 0.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: multiply;
  z-index: 1000;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--terra);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 6px;
  z-index: 2000;
}
.skip:focus { left: 8px; }

.caveat { font-family: var(--hand); font-weight: 500; }
.kicker {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ============== topbar ============== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--pad);
  background: rgba(247, 241, 232, 0.78);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border-bottom: 1px solid var(--line-2);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand__mark {
  width: 36px;
  height: 36px;
  color: var(--terra);
  flex-shrink: 0;
}
.brand__mark svg { width: 100%; height: 100%; }
.brand__type {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
}
.brand__type em {
  font-style: italic;
  color: var(--terra);
}
.brand__type small {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 4px;
  font-weight: 500;
}

.nav {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}
.nav a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--terra);
  transition: width 0.4s cubic-bezier(0.5, 0, 0.2, 1);
}
.nav a:hover, .nav a.is-active { color: var(--terra); }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }

@media (max-width: 880px) {
  .nav { display: none; }
}

/* ============== buttons ============== */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--terra);
  color: var(--paper);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid var(--terra);
  cursor: pointer;
  font-family: var(--sans);
  transition: all 0.3s cubic-bezier(0.5, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.cta svg { width: 14px; height: 14px; transition: transform 0.3s; }
.cta:hover {
  background: var(--terra-2);
  border-color: var(--terra-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(196, 96, 77, 0.4);
}
.cta:hover svg { transform: translateX(3px); }
.cta--small { padding: 10px 18px; font-size: 13px; }
.cta--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.cta--ghost:hover {
  background: rgba(196, 96, 77, 0.06);
  color: var(--terra);
  border-color: var(--terra);
  box-shadow: none;
}

/* ============== hero ============== */
.hero {
  position: relative;
  z-index: 1;
  padding: 80px var(--pad) 160px;
  max-width: var(--max);
  margin: 0 auto;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero__inner {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.hero__intro {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(196, 96, 77, 0.06);
  border: 1px solid rgba(196, 96, 77, 0.2);
  border-radius: 999px;
  font-family: var(--hand);
  font-size: 22px;
  color: var(--terra-2);
  margin-bottom: 32px;
  min-height: 38px;
  opacity: 0;
  animation: fadeUp 0.6s 0.1s forwards;
}
.hero__intro .caret {
  display: inline-block;
  width: 2px;
  font-family: var(--sans);
  color: var(--terra);
  animation: blink 1s infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero__title {
  font-family: var(--serif);
  font-size: clamp(72px, 13vw, 200px);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.hero__title .line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  animation: lineIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero__title .line:nth-child(1) {
  animation-delay: 0.2s;
  color: var(--ink);
}
.hero__title .line:nth-child(2) {
  animation-delay: 0.45s;
  font-size: 0.32em;
  color: var(--terra);
  margin-top: 0.4em;
  letter-spacing: 0.04em;
  font-style: italic;
}
@keyframes lineIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero__sub {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 540px;
  margin-bottom: 36px;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s 1s forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 640px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: fadeUp 0.8s 1.2s forwards;
}
.hero__meta > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__meta span {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.hero__meta strong {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__meta .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 3px rgba(122, 139, 95, 0.18);
  animation: pulse-soft 2s infinite;
}
@keyframes pulse-soft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Sun */
.sun {
  position: absolute;
  top: 60px;
  right: 4%;
  width: 220px;
  height: 220px;
  z-index: 1;
  opacity: 0.7;
  animation: sunRotate 60s linear infinite;
}
.sun svg { width: 100%; height: 100%; }
.sun__core {
  fill: var(--sun);
  filter: drop-shadow(0 0 30px rgba(243, 210, 124, 0.5));
}
.sun__rays line {
  stroke: var(--terra);
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0.55;
}
@keyframes sunRotate {
  to { transform: rotate(360deg); }
}

/* Olive branches drifting */
.hero__olive {
  position: absolute;
  width: 220px;
  height: 60px;
  color: var(--sage);
  z-index: 1;
  opacity: 0;
}
.hero__olive--a {
  top: 200px;
  left: -40px;
  animation: driftA 22s ease-in-out infinite;
}
.hero__olive--b {
  bottom: 180px;
  right: -40px;
  animation: driftB 28s ease-in-out infinite;
  transform: scaleX(-1);
  color: var(--sage-2);
}
@keyframes driftA {
  0%, 100% { transform: translate(0, 0) rotate(-3deg); opacity: 0; }
  10% { opacity: 0.7; }
  50% { transform: translate(40px, -30px) rotate(3deg); opacity: 0.7; }
  90% { opacity: 0.7; }
  100% { transform: translate(80px, 0) rotate(-3deg); opacity: 0; }
}
@keyframes driftB {
  0%, 100% { transform: translate(0, 0) scaleX(-1) rotate(3deg); opacity: 0; }
  10% { opacity: 0.5; }
  50% { transform: translate(-30px, 30px) scaleX(-1) rotate(-3deg); opacity: 0.5; }
  100% { transform: translate(-80px, 0) scaleX(-1) rotate(3deg); opacity: 0; }
}

/* Wave */
.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100px;
  z-index: 1;
}
.wave-path {
  animation: wave 8s ease-in-out infinite;
}
.wave-path--2 {
  animation: wave 10s ease-in-out infinite reverse;
  animation-delay: -2s;
}
@keyframes wave {
  0%, 100% { d: path("M0 60 Q360 20 720 60 T1440 60 V120 H0 Z"); }
  50% { d: path("M0 70 Q360 30 720 70 T1440 70 V120 H0 Z"); }
}

/* ============== section heads ============== */
section {
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  margin-bottom: 64px;
}
.section-head--split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: end;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-top: 16px;
  max-width: 18ch;
  color: var(--ink);
}
.section-title em {
  font-style: italic;
  color: var(--terra);
}
.section-sub {
  color: var(--ink-soft);
  font-size: 16px;
  max-width: 38ch;
  line-height: 1.65;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
}
@media (max-width: 820px) {
  .section-head--split { grid-template-columns: 1fr; }
}

/* ============== storia ============== */
.storia {
  padding: 120px 0;
  border-top: 1px solid var(--line-2);
}
.storia__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}
.storia__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.storia__copy p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 56ch;
}
.signature {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 220px;
}
.signature__svg {
  width: 200px;
  height: 50px;
  color: var(--terra);
  opacity: 0.7;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawLine 2.5s ease-out forwards;
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
.signature strong {
  font-family: var(--hand);
  font-size: 24px;
  color: var(--ink);
  font-weight: 500;
  display: none; /* the SVG is the "signature" */
}
.signature div { display: flex; flex-direction: column; gap: 2px; }
.signature div strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  font-style: italic;
}
.signature div span {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.storia__card {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.polaroid {
  background: var(--paper-2);
  padding: 16px 16px 50px;
  box-shadow: 0 16px 40px -20px rgba(26, 20, 16, 0.25);
  transform: rotate(-2deg);
  transition: transform 0.6s;
}
.polaroid:hover { transform: rotate(0deg) scale(1.02); }
.polaroid__img {
  background: var(--sea);
  overflow: hidden;
  aspect-ratio: 11/9;
}
.polaroid__cap {
  text-align: center;
  margin-top: 12px;
  font-family: var(--hand);
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.2;
}

.storia__facts {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper-2);
}
.storia__facts li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}
.storia__facts span {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  color: var(--terra);
  font-style: italic;
  line-height: 1;
}
.storia__facts small {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@media (max-width: 880px) {
  .storia__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============== menu ============== */
.menu {
  padding: 120px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
}
.menu::before {
  content: "";
  position: absolute;
  top: 40px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(243, 210, 124, 0.15), transparent 60%);
  pointer-events: none;
}
.menu::after {
  content: "";
  position: absolute;
  bottom: 40px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196, 96, 77, 0.08), transparent 60%);
  pointer-events: none;
}

.menu__tabs {
  max-width: var(--max);
  margin: 0 auto 48px;
  padding: 0 var(--pad);
  display: flex;
  gap: 4px;
  position: relative;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}
.tab {
  position: relative;
  background: none;
  border: none;
  padding: 16px 28px;
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--ink-soft);
  cursor: pointer;
  transition: color 0.3s;
  font-weight: 400;
  z-index: 1;
}
.tab:hover { color: var(--ink); }
.tab.is-active { color: var(--terra); }
.tab__indicator {
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--terra);
  transition: all 0.5s cubic-bezier(0.5, 0, 0.2, 1);
  width: 0;
  pointer-events: none;
}

.menu__panels {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 var(--pad);
  position: relative;
  min-height: 480px;
}
.menu__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 56px;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(12px);
  transition: opacity 0.5s, transform 0.5s, visibility 0s 0.5s;
}
.menu__panel.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.5s, transform 0.5s, visibility 0s;
}
@media (max-width: 700px) {
  .menu__panel { grid-template-columns: 1fr; }
}

.dish {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px dotted var(--line);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s, transform 0.5s;
}
.menu__panel.is-active .dish {
  opacity: 1;
  transform: translateY(0);
}
.menu__panel.is-active .dish:nth-child(1) { transition-delay: 0.05s; }
.menu__panel.is-active .dish:nth-child(2) { transition-delay: 0.12s; }
.menu__panel.is-active .dish:nth-child(3) { transition-delay: 0.19s; }
.menu__panel.is-active .dish:nth-child(4) { transition-delay: 0.26s; }
.menu__panel.is-active .dish:nth-child(5) { transition-delay: 0.33s; }

.dish__name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  font-style: italic;
}
.dish__name em.caveat {
  font-size: 14px;
  color: var(--ink-soft);
  margin-left: 4px;
}
.dish__line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  align-self: center;
}
.dish__price {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--terra);
  font-weight: 500;
}
.dish__desc {
  grid-column: 1 / -1;
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 56ch;
}

/* ============== specials ============== */
.specials {
  padding: 120px 0;
  border-bottom: 1px solid var(--line-2);
}
.specials__card {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.specials__left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.specials__sub {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  color: var(--ink-soft);
  max-width: 40ch;
}
.specials__cycle {
  margin-top: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.specials__display {
  position: relative;
  min-height: 64px;
}
.specials__item {
  position: absolute;
  inset: 0;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  font-style: italic;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s, transform 0.6s;
}
.specials__item.is-active {
  opacity: 1;
  transform: translateY(0);
}
.specials__dots {
  display: flex;
  gap: 6px;
}
.specials__dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background 0.3s, transform 0.3s;
}
.specials__dots span.is-active {
  background: var(--terra);
  transform: scale(1.3);
}

.specials__right {
  display: flex;
  justify-content: center;
}
.chalkboard {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: chalkSwing 6s ease-in-out infinite;
  transform-origin: top center;
}
@keyframes chalkSwing {
  0%, 100% { transform: rotate(-1deg); }
  50% { transform: rotate(1deg); }
}
.chalkboard__string {
  width: 1px;
  height: 40px;
  background: var(--ink-mute);
}
.chalkboard__board {
  width: 320px;
  height: 400px;
  background: #2d3a30;
  border-radius: 4px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow:
    inset 0 0 0 4px #1f2a22,
    inset 0 0 30px rgba(0, 0, 0, 0.4),
    0 20px 50px -20px rgba(0, 0, 0, 0.5);
  position: relative;
}
.chalkboard__board::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence baseFrequency='0.9'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/></svg>");
  opacity: 0.15;
  pointer-events: none;
  border-radius: 4px;
}
.chalk {
  color: #f4ede0;
  font-family: var(--hand);
  text-shadow: 0 0 4px rgba(244, 237, 224, 0.3);
}
.chalk.caveat { font-size: 28px; opacity: 0.85; }
.chalk__big {
  font-family: var(--serif);
  font-size: 42px;
  font-style: italic;
  font-weight: 500;
  text-align: center;
  line-height: 1;
  margin: 4px 0;
}
.chalk.small { font-size: 16px; opacity: 0.7; }
.chalk-divider {
  width: 60%;
  height: 1px;
  background: rgba(244, 237, 224, 0.3);
  margin: 8px 0;
}
.chalk__price {
  margin-top: auto;
  font-family: var(--hand);
  font-size: 40px;
  color: var(--sun);
  font-weight: 600;
}

@media (max-width: 880px) {
  .specials__card { grid-template-columns: 1fr; gap: 48px; }
}

/* ============== gallery ============== */
.gallery {
  padding: 120px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.gallery__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery__item {
  background: var(--paper);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.5s, box-shadow 0.5s;
  border: 1px solid var(--line);
  position: relative;
}
.gallery__item:hover {
  transform: translateY(-4px) rotate(-0.5deg);
  box-shadow: 0 20px 40px -20px rgba(26, 20, 16, 0.2);
}
.gallery__item--big {
  grid-column: span 2;
}
.gallery__item .illu {
  width: 100%;
  height: 240px;
  display: block;
}
.gallery__item--big .illu {
  height: 320px;
}
.gallery__item figcaption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(247, 241, 232, 0.92);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  font-family: var(--hand);
  font-size: 18px;
  color: var(--ink);
  border-radius: 4px;
}

@media (max-width: 880px) {
  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__item--big { grid-column: span 2; }
}
@media (max-width: 560px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--big { grid-column: span 1; }
}

/* ============== reserve ============== */
.reserve {
  padding: 120px 0;
}
.reserve__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.reserve__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reserve__intro p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 40ch;
}
.reserve__bullets {
  list-style: none;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reserve__bullets li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.reserve__bullets strong {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  font-weight: 500;
}
.reserve__bullets span {
  font-size: 14px;
  color: var(--ink-soft);
}

.reserve__form {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.reserve__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.reserve__row:has(label:nth-child(3)) {
  grid-template-columns: 1fr 1fr 1fr;
}
.reserve__form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.reserve__form label > span {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.reserve__form input,
.reserve__form select,
.reserve__form textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-style: italic;
  width: 100%;
}
.reserve__form input:focus,
.reserve__form select:focus,
.reserve__form textarea:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px rgba(196, 96, 77, 0.1);
}
.reserve__form textarea {
  resize: vertical;
  min-height: 80px;
  font-family: var(--sans);
  font-style: normal;
}
.reserve__full {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.party {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--paper);
  align-items: center;
  text-align: center;
}
.party input {
  border: none !important;
  background: transparent !important;
  text-align: center;
  font-family: var(--serif) !important;
  font-size: 18px !important;
  font-style: normal !important;
  color: var(--ink) !important;
  padding: 12px 0 !important;
}
.party__btn {
  background: transparent;
  border: none;
  font-family: var(--serif);
  font-size: 20px;
  color: var(--terra);
  cursor: pointer;
  height: 44px;
  transition: background 0.2s;
}
.party__btn:hover { background: rgba(196, 96, 77, 0.1); }

.cta--submit {
  align-self: flex-start;
  margin-top: 8px;
  position: relative;
}
.cta--submit .cta__arrow { transition: transform 0.3s, opacity 0.3s; }
.cta--submit .cta__check {
  position: absolute;
  right: 24px;
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cta--submit.is-sent {
  background: var(--sage);
  border-color: var(--sage);
  pointer-events: none;
}
.cta--submit.is-sent .cta__arrow { opacity: 0; transform: translateX(20px); }
.cta--submit.is-sent .cta__check { opacity: 1; transform: scale(1); }
.cta--submit.is-sent .cta__label::after {
  content: " · ontvangen!";
}

.reserve__status {
  font-family: var(--hand);
  font-size: 18px;
  color: var(--terra);
  min-height: 24px;
}

@media (max-width: 880px) {
  .reserve__inner { grid-template-columns: 1fr; gap: 48px; }
  .reserve__row,
  .reserve__row:has(label:nth-child(3)) { grid-template-columns: 1fr 1fr; }
  .reserve__row > label:last-child { grid-column: span 2; }
}

/* ============== bezoek ============== */
.bezoek {
  padding: 120px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line-2);
}
.bezoek__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: stretch;
}
.bezoek__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.bezoek__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.bezoek__row:last-child { border-bottom: none; }
.bezoek__row strong {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}
.bezoek__row strong small {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
}
.bezoek__row strong a {
  color: var(--terra);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.bezoek__row strong a:hover {
  border-bottom-color: var(--terra);
}

.bezoek__map {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  min-height: 400px;
  background: var(--sea-soft);
}
.bezoek__map svg { width: 100%; height: 100%; display: block; }

@media (max-width: 880px) {
  .bezoek__grid { grid-template-columns: 1fr; }
}

/* ============== footer ============== */
.footer {
  position: relative;
  z-index: 1;
  padding: 48px var(--pad);
  background: var(--ink);
  color: var(--paper);
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__brand .brand__mark { color: var(--terra); }
.footer__brand .brand__type em { color: var(--sun); }
.footer__brand .brand__type small { color: rgba(244, 237, 224, 0.6); }
.footer__copy {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: rgba(244, 237, 224, 0.5);
}
.footer__links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}
.footer__links a {
  color: rgba(244, 237, 224, 0.7);
  transition: color 0.2s;
  font-family: var(--hand);
  font-size: 18px;
}
.footer__links a:hover { color: var(--sun); }

/* ============== reveals ============== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
