/* ==========================================================================
   Starz Marbella — stylesheet
   Palette drawn from the restaurant itself: awning red, rattan amber,
   warm plaster walls, espresso-dark type.
   ========================================================================== */

:root {
  --ink:        #221c1a;   /* espresso — body type, headings */
  --ink-soft:   #6d625b;   /* muted type */
  --shell:      #faf6f0;   /* page base, warm white plaster */
  --sand:       #efe6d8;   /* secondary surface */
  --sand-deep:  #e3d6c4;   /* rules, borders */
  --star:       #b01f33;   /* Starz awning red — primary accent */
  --star-dark:  #8c1727;
  --sun:        #dd9a33;   /* rattan lamp amber — used sparingly */
  --leaf:       #3f6b52;   /* open-now indicator */

  --font-display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Newsreader", Georgia, "Times New Roman", serif;

  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 56px);
  --radius: 2px;
  --shadow: 0 18px 50px -28px rgba(34, 28, 26, .45);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 780px; }

/* eyebrow / label utility — tracked display caps */
.eyebrow {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--star);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--star);
  opacity: .5;
}
.eyebrow-plain { display: block; }
.eyebrow-plain::before { display: none; }

.lede { font-size: clamp(1.05rem, 1.7vw, 1.28rem); line-height: 1.55; color: var(--ink); }
.muted { color: var(--ink-soft); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--shell); padding: 12px 20px;
  font-family: var(--font-display);
}
.skip:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--star); outline-offset: 3px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .92rem;
  letter-spacing: .02em;
  padding: 14px 26px;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--shell);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
  cursor: pointer;
}
.btn:hover { background: var(--star); border-color: var(--star); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--shell); }
.btn-light { background: var(--shell); border-color: var(--shell); color: var(--ink); }
.btn-light:hover { background: var(--star); border-color: var(--star); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250, 246, 240, .92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--sand-deep);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 72px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.75rem; letter-spacing: -.045em;
  text-decoration: none; color: var(--ink);
  display: inline-flex; align-items: baseline; gap: 2px; line-height: 1;
}
.brand .star { color: var(--star); font-size: .78em; transform: translateY(-.08em); }
.brand small {
  display: block; font-size: .34em; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 500; margin-top: 5px;
}
.brand-stack { display: flex; flex-direction: column; }
.brand-word { display: block; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a.nav-link {
  font-family: var(--font-display); font-size: .95rem; font-weight: 500;
  text-decoration: none; padding: 6px 0; position: relative;
}
.nav a.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--star); transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav a.nav-link:hover::after, .nav a.nav-link[aria-current="page"]::after { transform: scaleX(1); }

.lang {
  display: inline-flex; align-items: center; font-family: var(--font-display);
  font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  border: 1px solid var(--sand-deep); border-radius: 999px; overflow: hidden;
}
.lang a { padding: 6px 12px; text-decoration: none; color: var(--ink-soft); }
.lang a[aria-current="true"] { background: var(--ink); color: var(--shell); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--sand-deep);
  border-radius: var(--radius); padding: 9px 13px; cursor: pointer;
  font-family: var(--font-display); font-size: .85rem; letter-spacing: .1em; text-transform: uppercase;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--shell); border-bottom: 1px solid var(--sand-deep);
    padding: 18px var(--gut) 26px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a.nav-link { font-size: 1.35rem; padding: 10px 0; }
  .header-cta { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(24,15,11,.88) 0%, rgba(26,16,12,.66) 42%, rgba(26,16,12,.18) 82%, rgba(26,16,12,.05) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  padding-block: clamp(78px, 13vw, 152px);
  color: var(--shell);
  max-width: 780px;
}
.hero .eyebrow { color: #f0c98a; }
.hero .eyebrow::before { background: #f0c98a; }
.hero h1 {
  font-size: clamp(3rem, 8.2vw, 6.1rem);
  letter-spacing: -.045em;
  line-height: .94;
  margin-bottom: 26px;
}
.hero h1 em { font-style: normal; color: #f5b942; }
.hero p.lede { color: rgba(250,246,240,.86); max-width: 54ch; margin-bottom: 34px; }

/* ---------- signature: the 9-to-5 rail ---------- */
.dayrail { background: var(--sand); border-bottom: 1px solid var(--sand-deep); }
.dayrail-inner { padding-block: 22px 26px; }
.dayrail-top {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 10px 24px; margin-bottom: 20px;
}
.status {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
}
.status .dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--ink-soft);
  position: relative; flex: none;
}
.status.is-open .dot { background: var(--leaf); }
.status.is-open .dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1px solid var(--leaf); opacity: .6;
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .8 } 100% { transform: scale(1.5); opacity: 0 } }
.status.is-closed .dot { background: var(--star); }
.dayrail-note {
  font-family: var(--font-display); font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft);
}

.rail { position: relative; height: 62px; }
.rail-line {
  position: absolute; left: 0; right: 0; top: 15px; height: 1px; background: var(--sand-deep);
}
.rail-seg {
  position: absolute; top: 0; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-start;
  text-decoration: none; padding-top: 24px;
  border-left: 1px solid var(--sand-deep);
  padding-left: 12px;
}
.rail-seg:last-of-type { border-right: 1px solid var(--sand-deep); }
.rail-seg .t {
  font-family: var(--font-display); font-size: .74rem; font-weight: 600;
  letter-spacing: .12em; color: var(--ink-soft); text-transform: uppercase;
}
.rail-seg .l {
  font-family: var(--font-display); font-size: .98rem; font-weight: 600;
  color: var(--ink); margin-top: 3px; letter-spacing: -.01em;
}
.rail-seg:hover .l { color: var(--star); }
.rail-now {
  position: absolute; top: 6px; width: 2px; height: 20px; background: var(--star);
  transition: left .6s cubic-bezier(.4,0,.2,1);
}
.rail-now::after {
  content: ""; position: absolute; left: 50%; top: -5px; transform: translateX(-50%);
  width: 8px; height: 8px; border-radius: 50%; background: var(--star);
}
.rail-now[hidden] { display: none; }
@media (max-width: 720px) {
  .rail { height: auto; display: flex; flex-direction: column; }
  .rail-line, .rail-now { display: none; }
  .rail-seg {
    position: static; width: auto !important; left: auto !important;
    display: grid; grid-template-columns: 62px 1fr; align-items: baseline; gap: 12px;
    padding: 12px 0 11px; border-top: 1px solid var(--sand-deep); border-left: 0;
  }
  .rail-seg:last-of-type { border-right: 0; border-bottom: 1px solid var(--sand-deep); }
  .rail-seg .t { padding-top: 2px; }
  .rail-seg .l { font-size: .95rem; margin-top: 0; }
}

/* ---------- generic section ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-sand { background: var(--sand); }
.section-ink { background: var(--ink); color: var(--shell); }
.section-ink .eyebrow { color: #f0c98a; }
.section-ink .eyebrow::before { background: #f0c98a; }
.section-ink .muted { color: rgba(250,246,240,.66); }
.section h2 { font-size: clamp(2rem, 4.4vw, 3.15rem); margin-bottom: 22px; }
.section h3 { font-size: clamp(1.25rem, 2.1vw, 1.6rem); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 84px); align-items: center; }
.split-text { max-width: 56ch; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.figure { position: relative; }
.figure img { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); }
.figure-tall img { aspect-ratio: 4/5; }
.figure-wide img { aspect-ratio: 3/2; }
.figure figcaption {
  font-family: var(--font-display); font-size: .74rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft); margin-top: 12px;
}

/* stat / fact list */
.facts { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 0; }
.facts li {
  display: grid; grid-template-columns: 150px 1fr; gap: 18px;
  padding: 16px 0; border-top: 1px solid var(--sand-deep);
}
.facts li:last-child { border-bottom: 1px solid var(--sand-deep); }
.facts dt, .facts .k {
  font-family: var(--font-display); font-size: .76rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
}
.section-ink .facts li { border-color: rgba(250,246,240,.18); }
.section-ink .facts .k { color: #f0c98a; }
@media (max-width: 560px) { .facts li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- dish strip ---------- */
.dishes {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 32px);
  margin-top: 48px;
}
@media (max-width: 900px) { .dishes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dishes { grid-template-columns: 1fr; } }
.dish { text-decoration: none; display: block; }
.dish-media { overflow: hidden; border-radius: var(--radius); background: var(--sand-deep); }
.dish-media img {
  aspect-ratio: 4/5; width: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.3,1);
}
.dish:hover .dish-media img { transform: scale(1.04); }
.dish-name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
  margin-top: 16px; display: flex; justify-content: space-between; gap: 14px; align-items: baseline;
}
.dish-price { color: var(--star); font-size: .95rem; white-space: nowrap; }
.dish-desc { font-size: .95rem; color: var(--ink-soft); margin-top: 4px; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 46px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; border-radius: var(--radius); }
.gallery .tall { grid-row: span 2; }
.gallery .tall img { aspect-ratio: 1/2.06; }
@media (max-width: 780px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .tall { grid-row: span 1; }
  .gallery .tall img { aspect-ratio: 1; }
}

/* ---------- rating band ---------- */
.band { border-block: 1px solid var(--sand-deep); background: var(--shell); }
.band-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.band-cell {
  padding: 34px 30px; border-left: 1px solid var(--sand-deep);
  display: flex; flex-direction: column; gap: 6px;
}
.band-cell:first-child { border-left: 0; padding-left: 0; }
.band-cell .num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 600; letter-spacing: -.03em; line-height: 1;
}
.band-cell .num .stars { color: var(--sun); font-size: .5em; letter-spacing: 0; margin-left: 6px; }
.band-cell .k {
  font-family: var(--font-display); font-size: .74rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft);
}
.band-cell a { color: var(--star); text-decoration: none; border-bottom: 1px solid rgba(176,31,51,.3); font-size: .9rem; align-self: flex-start; }
.band-cell a:hover { border-color: var(--star); }
@media (max-width: 780px) {
  .band-inner { grid-template-columns: 1fr; }
  .band-cell { border-left: 0; border-top: 1px solid var(--sand-deep); padding: 26px 0; }
  .band-cell:first-child { border-top: 0; }
}

/* ==========================================================================
   MENU PAGE
   ========================================================================== */
.menu-head { padding-block: clamp(48px, 7vw, 84px) 0; }
.menu-head h1 { font-size: clamp(2.6rem, 7vw, 5rem); margin-bottom: 20px; }

.menu-tools {
  position: sticky; top: 72px; z-index: 40;
  background: rgba(250,246,240,.94); backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--sand-deep); margin-top: 44px;
}
.menu-tools-inner { display: flex; align-items: center; gap: 18px; padding-block: 12px; }
.msearch { position: relative; flex: 0 0 268px; }
.msearch input {
  width: 100%; font-family: var(--font-display); font-size: .92rem;
  padding: 10px 14px 10px 36px; border: 1px solid var(--sand-deep);
  background: var(--shell); border-radius: 999px; color: var(--ink);
}
.msearch input::placeholder { color: var(--ink-soft); }
.msearch svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); opacity: .5; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 2px; flex: 1; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; font-family: var(--font-display); font-size: .82rem; font-weight: 500;
  letter-spacing: .02em; padding: 8px 15px; border: 1px solid var(--sand-deep);
  border-radius: 999px; background: transparent; cursor: pointer; text-decoration: none;
  white-space: nowrap; transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.chip:hover, .chip.active { background: var(--ink); border-color: var(--ink); color: var(--shell); }
@media (max-width: 760px) {
  .menu-tools-inner { flex-direction: column; align-items: stretch; gap: 10px; }
  .msearch { flex: none; }
}

.menu-list { padding-block: clamp(40px, 6vw, 72px) clamp(56px, 8vw, 96px); }

.msec { border-top: 1px solid var(--sand-deep); }
.msec:last-of-type { border-bottom: 1px solid var(--sand-deep); }
.msec[hidden] { display: none; }
.msec > summary {
  list-style: none; cursor: pointer; padding: 26px 0;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px;
}
.msec > summary::-webkit-details-marker { display: none; }
.msec-title { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.msec-title h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem); margin: 0;
  transition: color .2s ease;
}
.msec > summary:hover .msec-title h2 { color: var(--star); }
.msec-kicker {
  font-family: var(--font-display); font-size: .72rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft);
}
.msec-count {
  font-family: var(--font-display); font-size: .75rem; letter-spacing: .1em;
  color: var(--ink-soft);
}
.msec-plus {
  width: 34px; height: 34px; border: 1px solid var(--sand-deep); border-radius: 50%;
  display: grid; place-items: center; flex: none; position: relative;
  transition: background .25s ease, border-color .25s ease, transform .35s ease;
}
.msec-plus::before, .msec-plus::after {
  content: ""; position: absolute; background: var(--ink); transition: opacity .25s ease, background .25s ease;
}
.msec-plus::before { width: 12px; height: 1.5px; }
.msec-plus::after { width: 1.5px; height: 12px; }
.msec[open] .msec-plus { background: var(--star); border-color: var(--star); transform: rotate(180deg); }
.msec[open] .msec-plus::before { background: #fff; }
.msec[open] .msec-plus::after { opacity: 0; }
.msec > summary:hover .msec-plus { border-color: var(--ink); }

.msec-panel { overflow: hidden; }
.msec-panel-inner { padding-bottom: 44px; }
.msec-note {
  font-style: italic; color: var(--ink-soft); font-size: .96rem;
  margin: 0 0 26px; padding-left: 0;
}
.mgrid { columns: 2; column-gap: clamp(30px, 5vw, 72px); }
@media (max-width: 820px) { .mgrid { columns: 1; } }

.m-item { padding: 14px 0; border-bottom: 1px dotted var(--sand-deep); break-inside: avoid; -webkit-column-break-inside: avoid; }
.m-item[hidden] { display: none; }
.m-item-top { display: flex; align-items: baseline; gap: 10px; }
.m-item-name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  letter-spacing: -.005em; flex: none; max-width: 78%;
}
.m-item-name .starmark { color: var(--star); margin-right: 5px; }
.m-leader { flex: 1; border-bottom: 1px dotted var(--sand-deep); transform: translateY(-4px); min-width: 14px; }
.m-price { font-family: var(--font-display); font-weight: 500; font-size: .98rem; flex: none; font-variant-numeric: tabular-nums; }
.m-desc { font-size: .95rem; line-height: 1.5; color: var(--ink-soft); margin: 3px 0 0; max-width: 58ch; }
.m-adds { list-style: none; margin: 8px 0 0; padding: 0; }
.m-adds li {
  display: flex; align-items: baseline; gap: 8px;
  font-size: .88rem; color: var(--ink-soft); padding: 2px 0;
}
.m-adds .m-leader { border-bottom-style: dotted; }
.m-adds .m-price { font-size: .88rem; color: var(--ink-soft); }

.mgroup { margin-bottom: 34px; break-inside: avoid; }
.mgroup h3 {
  font-family: var(--font-display); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--star);
  margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--sand-deep);
}
.mcols { columns: 2; column-gap: clamp(30px, 5vw, 72px); }
@media (max-width: 820px) { .mcols { columns: 1; } }

.no-results {
  padding: 60px 0; text-align: center; color: var(--ink-soft); font-style: italic;
}
.no-results[hidden] { display: none; }

.allergens { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.allergens span {
  font-family: var(--font-display); font-size: .74rem; letter-spacing: .08em;
  padding: 5px 12px; border: 1px solid var(--sand-deep); border-radius: 999px; color: var(--ink-soft);
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 80px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 20px 0; border-bottom: 1px solid var(--sand-deep); }
.contact-list li:first-child { border-top: 1px solid var(--sand-deep); }
.contact-list .k {
  font-family: var(--font-display); font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); display: block; margin-bottom: 6px;
}
.contact-list .v { font-size: 1.15rem; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--sand-deep); }
.contact-list a:hover { border-color: var(--star); color: var(--star); }

.form-card { background: var(--sand); padding: clamp(26px, 4vw, 44px); border-radius: var(--radius); }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-family: var(--font-display); font-size: .76rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--shell); border: 1px solid var(--sand-deep); border-radius: var(--radius);
  padding: 12px 14px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .86rem; color: var(--ink-soft); margin-top: 14px; }
.form-status { margin-top: 14px; font-family: var(--font-display); font-size: .9rem; }
.form-status[hidden] { display: none; }

.map-frame {
  width: 100%; aspect-ratio: 16/9; border: 1px solid var(--sand-deep);
  border-radius: var(--radius); filter: saturate(.85) contrast(1.02);
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(250,246,240,.76); padding-block: clamp(56px, 7vw, 80px) 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: var(--shell); }
.site-footer h4 {
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  color: #f0c98a; margin-bottom: 16px; font-weight: 600;
}
.footer-list { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.footer-list li { margin-bottom: 8px; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: var(--shell); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(250,246,240,.16);
  display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between;
  font-size: .82rem; color: rgba(250,246,240,.55);
}
.footer-bottom a { text-decoration: none; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ---------- 404 ---------- */
.err { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: 90px; }
.err h1 { font-size: clamp(3rem, 10vw, 7rem); margin-bottom: 18px; }
