/* Due Fratelli Norderney
   Palette taken from the restaurant itself: slate-grey walls, the logo's tomato red,
   oak tables, flour/salt white. */
@font-face { font-family: "Young Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/young-serif-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Young Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/young-serif-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/familjen-grotesk-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/familjen-grotesk-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --slate: #25323a;
  --slate-deep: #1a242a;
  --salt: #f1f2ee;
  --salt-2: #e6e8e3;
  --ink: #12191d;
  --red: #d5372e;
  --red-ink: #b02a22;
  --oak: #c9985f;
  --basil: #2f8050;
  --muted-dark: #a7b3b8;
  --muted-light: #56636b;
  --line-dark: rgba(241, 242, 238, .14);
  --line-light: #d3d7d2;

  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Familjen Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: clamp(.84rem, .8rem + .15vw, .92rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.1rem + .45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + .9vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 1.9vw, 3.3rem);
  --step-4: clamp(2.6rem, 1.8rem + 3.6vw, 5.6rem);

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.22, .61, .2, 1);
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--salt);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
a, button, input { touch-action: manipulation; -webkit-tap-highlight-color: rgba(201, 152, 95, .25); }
:focus-visible { outline: 2px solid var(--oak); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--salt); padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.4em;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: var(--step-0); text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn svg { width: 1.05em; height: 1.05em; fill: currentColor; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-ink); }
.btn-ghost { border-color: var(--line-dark); color: var(--salt); }
.btn-ghost:hover { border-color: var(--salt); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--salt); }
.btn-light { background: var(--salt); color: var(--ink); }
.btn-light:hover { background: #fff; }
.link { text-decoration-thickness: 1px; text-underline-offset: .2em; }
.link:hover { color: var(--red-ink); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60;
  color: var(--salt);
  transition: transform .55s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-solid { background: rgba(26, 36, 42, .86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line-dark); }
html.menu-open .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
.header-inner { display: flex; align-items: center; gap: 1.25rem; height: 84px; transition: height .45s var(--ease); }
.site-header.is-solid .header-inner { height: 68px; }
.brand { flex: none; display: block; perspective: 520px; perspective-origin: 50% 40%; }
.brand:focus-visible { outline-offset: 6px; }

/* 3D logo: six layers cut from the original logo, stacked in depth */
.logo3d { position: relative; display: block; width: 116px; aspect-ratio: 516 / 330; transition: width .45s var(--ease); }
.site-header.is-solid .logo3d { width: 98px; }
.logo3d-tilt, .logo3d-stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.logo3d .l { position: absolute; inset: 0; width: 100%; height: 100%; transform: translateZ(var(--z, 0px)); backface-visibility: hidden; pointer-events: none; }
.l-sub { --z: 4px; } .l-lines { --z: 6px; } .l-due { --z: 13px; } .l-fratelli { --z: 15px; } .l-slice { --z: 26px; } .l-shine { --z: 27px; }
.logo3d.is-3d .l-due, .logo3d.is-3d .l-fratelli { filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .35)); }
.logo3d.is-3d .l-slice { filter: drop-shadow(0 5px 5px rgba(0, 0, 0, .4)); }
.l-shine {
  -webkit-mask: url("../img/logo-light.png") center / 100% 100% no-repeat;
  mask: url("../img/logo-light.png") center / 100% 100% no-repeat;
  background: linear-gradient(110deg, transparent 38%, rgba(255, 255, 255, .75) 50%, transparent 62%) var(--shine, 130%) 0 / 260% 100% no-repeat;
  mix-blend-mode: overlay;
}

.nav {
  position: relative; display: flex; align-items: center; gap: 2px; margin-left: auto;
  padding: 5px; border: 1px solid var(--line-dark); border-radius: 999px;
  background: rgba(241, 242, 238, .04);
  transition: opacity .35s var(--ease);
}
html.menu-open .site-header .nav { opacity: 0 !important; pointer-events: none; }
.nav a {
  position: relative; z-index: 1; padding: .55rem 1rem; border-radius: 999px;
  text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap;
  color: rgba(241, 242, 238, .72); transition: color .3s var(--ease);
}
.nav a:hover, .nav a:focus-visible, .nav a.is-active { color: var(--salt); }
.nav a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--red); }
.nav-indicator {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0;
  border-radius: 999px; background: rgba(241, 242, 238, .12); opacity: 0; pointer-events: none;
  transition: transform .5s cubic-bezier(.65, 0, .35, 1), width .5s cubic-bezier(.65, 0, .35, 1), opacity .3s var(--ease);
}
.nav-indicator.is-on { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: .6rem; margin-left: 1rem; }
.header-call { min-height: 46px; padding: .5em 1.15em; font-size: var(--step--1); transition: opacity .3s var(--ease), background-color .2s var(--ease); }
html.menu-open .site-header .header-call { opacity: 0 !important; pointer-events: none; }
.menu-btn {
  display: inline-flex; align-items: center; gap: .75rem; height: 46px; padding: 0 6px 0 1.1rem;
  border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(241, 242, 238, .04);
  cursor: pointer; font-weight: 600; font-size: var(--step--1);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.menu-btn:hover { border-color: rgba(241, 242, 238, .5); }
.menu-btn-label { position: relative; display: inline-block; height: 1.35em; overflow: hidden; line-height: 1.35; }
.menu-btn-label > span { display: block; transition: transform .55s var(--ease); }
.menu-btn[aria-expanded="true"] .menu-btn-label > span { transform: translateY(-100%); }
.menu-btn-icon { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--salt); color: var(--ink); transition: transform .55s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.menu-btn:hover .menu-btn-icon { transform: rotate(90deg); }
.menu-btn-icon > span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn-icon > span:first-child { top: 13.5px; }
.menu-btn-icon > span:last-child { top: 19px; }
.menu-btn[aria-expanded="true"] .menu-btn-icon { background: var(--red); color: #fff; transform: rotate(180deg); }
.menu-btn[aria-expanded="true"] .menu-btn-icon > span:first-child { top: 16.25px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn-icon > span:last-child { top: 16.25px; transform: rotate(-45deg); }

.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--red), var(--oak)); transform-origin: left; transform: scaleX(var(--progress, 0)); opacity: 0; transition: opacity .3s var(--ease); }
.site-header.is-solid .scroll-progress { opacity: 1; }
html.menu-open .site-header .scroll-progress { opacity: 0; }

/* Mega menu (full-screen) */
.mega { position: fixed; inset: 0; z-index: 55; color: var(--salt); overflow-y: auto; overscroll-behavior: contain; }
.mega[hidden] { display: none; }
.mega-bg { position: fixed; inset: 0; background: var(--slate-deep); }
.mega-bg::after { content: ""; position: absolute; inset: 0; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.mega-inner {
  position: relative; min-height: 100%; max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: 1fr auto;
  column-gap: clamp(2rem, 6vw, 6rem); row-gap: 2.5rem;
  padding: 116px var(--gutter) 1.75rem;
}
.mega-links { list-style: none; margin: 0; padding: 0; align-self: center; border-top: 1px solid var(--line-dark); }
.mega-links li { overflow: hidden; border-bottom: 1px solid var(--line-dark); }
.mega-link {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .3em 0; text-decoration: none;
  font-family: var(--serif); font-size: clamp(2.1rem, 1.3rem + 3.2vw, 4.4rem); line-height: 1.1;
  transition: color .4s var(--ease);
}
.mega-link-text { display: inline-flex; align-items: center; transition: transform .6s var(--ease); }
.mega-link-text::before { content: ""; width: 0; margin-right: 0; height: .09em; background: var(--red); border-radius: 2px; transition: width .5s var(--ease), margin-right .5s var(--ease); }
.mega-link small { white-space: nowrap; font-family: var(--sans); font-size: var(--step--1); color: var(--muted-dark); text-align: right; transition: color .4s var(--ease), transform .6s var(--ease); }
@media (hover: hover) { .mega-links:hover .mega-link { color: rgba(241, 242, 238, .32); } }
.mega-links:has(.mega-link:focus-visible) .mega-link { color: rgba(241, 242, 238, .32); }
.mega-links .mega-link:hover, .mega-links .mega-link:focus-visible { color: var(--salt); }
.mega-link:hover .mega-link-text::before, .mega-link:focus-visible .mega-link-text::before { width: .55em; margin-right: .3em; }
.mega-link:hover small, .mega-link:focus-visible small { color: var(--oak); transform: translateX(-.4em); }
.mega-link[aria-current="page"] .mega-link-text::after { margin-left: .15em; content: ""; width: .14em; height: .14em; border-radius: 50%; background: var(--red); align-self: flex-start; margin-top: .2em; }

.mega-aside { align-self: center; display: grid; gap: 1.6rem; }
.mega-media { position: relative; aspect-ratio: 5 / 4; border-radius: 18px; overflow: hidden; background: var(--slate); }
.mega-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .7s var(--ease), transform 1.4s var(--ease); }
.mega-media img.is-active { opacity: 1; transform: scale(1); }
.mega-info { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.5rem; margin: 0; }
.mega-info div { min-width: 0; }
.mega-info dt { font-size: var(--step--1); color: var(--muted-dark); }
.mega-info dd { margin: .15rem 0 0; font-weight: 500; line-height: 1.4; }
.mega-info a { text-decoration: none; }
.mega-info a:hover { text-decoration: underline; }
.mega-status { display: inline-flex; align-items: center; gap: .5em; }
.mega-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-dark); flex: none; }
.mega-status.is-open .dot { background: #5bc285; }
.mega-cta { display: flex; flex-wrap: wrap; gap: .7rem; }
.mega-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .8rem 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line-dark); font-size: var(--step--1); color: var(--muted-dark); }
.mega-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; }
.mega-legal a, .mega-legal button { color: inherit; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; }
.mega-legal a:hover, .mega-legal button:hover { color: var(--salt); }
html.menu-open { overflow: hidden; }
html.menu-open .call-fab { display: none; }

/* Hero */
.hero {
  background: var(--slate);
  color: var(--salt);
  padding: calc(80px + clamp(2rem, 6vh, 5rem)) 0 clamp(3rem, 8vh, 6rem);
  min-height: 100svh;
  display: flex; align-items: center;
  position: relative; isolation: isolate;
}
.hero::before { /* faint flour dust */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .06; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.status { display: inline-flex; align-items: center; gap: .6em; font-size: var(--step--1); color: var(--muted-dark); margin-bottom: 2rem; border: 1px solid var(--line-dark); padding: .4em .9em; border-radius: 999px; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-dark); }
.status.is-open .dot { background: #5bc285; box-shadow: 0 0 0 0 rgba(91, 194, 133, .6); animation: pulse 2.4s infinite; }
.status.is-open { color: var(--salt); }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(91, 194, 133, 0); } 100% { box-shadow: 0 0 0 0 rgba(91, 194, 133, 0); } }

.hero h1 { font-size: clamp(2.3rem, 1.2rem + 3.3vw, 4.3rem); line-height: 1; }
.h1-kicker { display: block; font-family: var(--sans); font-size: var(--step-0); font-weight: 500; color: var(--oak); letter-spacing: 0; margin-bottom: 1.2rem; line-height: 1.3; }
.h1-line { display: block; overflow: hidden; padding-bottom: .06em; }
.h1-line > span { display: inline-block; }
.hero-sub { max-width: 34em; margin-top: 1.8rem; color: var(--muted-dark); font-size: var(--step-1); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero-rating { display: flex; align-items: center; gap: .7rem; margin-top: 2.4rem; font-size: var(--step--1); color: var(--muted-dark); }
.hero-rating strong { color: var(--salt); font-weight: 600; }
.stars { color: var(--oak); letter-spacing: .12em; }

.hero-media { margin: 0; position: relative; padding-bottom: 12%; }
.hero-photo { border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 3 / 4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-small {
  position: absolute; left: -18%; bottom: 0; width: 52%;
  border-radius: var(--radius); overflow: hidden; border: 6px solid var(--slate);
  aspect-ratio: 4 / 3;
}
.hero-photo-small img { width: 100%; height: 100%; object-fit: cover; }

/* Brothers reveal: one orchestrated scroll moment */
.reveal { background: var(--salt); height: 240vh; position: relative; }
.reveal-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.reveal-frame {
  position: absolute; inset: 0;
  will-change: clip-path;
}
.reveal-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; will-change: transform; }
.reveal-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(18, 25, 29, .7)); opacity: var(--shade, 1); }
.reveal-caption {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(1.5rem, 6vh, 4rem);
  margin: 0; color: var(--salt); font-family: var(--serif); font-size: var(--step-4); line-height: 1;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .25em;
}
.reveal-caption .amp { color: var(--oak); }

/* Story */
.story { padding: clamp(4rem, 10vw, 8rem) 0; }
.story-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.story h2 { font-size: var(--step-3); max-width: 18ch; margin-bottom: 2rem; }
.story-text { max-width: 640px; }
.lead { font-size: var(--step-1); line-height: 1.5; }
.story-text p:not(.lead) { color: var(--muted-light); }
.facts { display: flex; flex-wrap: wrap; gap: 2.5rem; margin: 3rem 0 0; padding-top: 1.6rem; border-top: 1px solid var(--line-light); }
.facts div { display: flex; flex-direction: column-reverse; }
.facts dt { font-size: var(--step--1); color: var(--muted-light); }
.facts dd { margin: 0 0 .3rem; font-family: var(--sans); font-weight: 500; font-size: var(--step-3); line-height: 1; font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.02em; }
.story-motto { margin: 0; position: sticky; top: 110px; }
.story-motto img { border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(18, 25, 29, .45); }
.story-motto figcaption { margin-top: .9rem; font-size: var(--step--1); color: var(--muted-light); }

/* Speciali */
.speciali { background: var(--slate); color: var(--salt); padding: clamp(4rem, 10vw, 8rem) 0; overflow: hidden; }
.speciali-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "head photos" "list photos"; column-gap: clamp(2rem, 6vw, 6rem); }
.speciali-head { grid-area: head; margin-bottom: 2.5rem; }
.speciali-head h2 { font-size: var(--step-4); }
.speciali-head p { max-width: 36em; margin-top: 1.2rem; color: var(--muted-dark); }
.speciali-list { grid-area: list; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.speciali-list li { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1.5rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line-dark); }
.sp-name { font-family: var(--serif); font-size: var(--step-2); line-height: 1.1; }
.sp-price { font-family: var(--serif); font-size: var(--step-1); color: var(--oak); font-variant-numeric: tabular-nums; align-self: start; padding-top: .2em; }
.sp-desc { grid-column: 1 / -1; color: var(--muted-dark); font-size: var(--step--1); }
.sp-house .sp-name::after { content: "Hauspizza"; font-family: var(--sans); font-size: .5em; vertical-align: middle; margin-left: .7em; padding: .2em .7em; border-radius: 999px; background: var(--red); color: #fff; }
.sp-island .sp-name::after { content: "Inselpizza"; font-family: var(--sans); font-size: .5em; vertical-align: middle; margin-left: .7em; padding: .2em .7em; border-radius: 999px; border: 1px solid var(--oak); color: var(--oak); }
.speciali-photos { grid-area: photos; position: sticky; top: 110px; align-self: start; height: min(680px, calc(100vh - 140px)); }
.speciali-photos img { position: absolute; border-radius: var(--radius); object-fit: cover; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.speciali-photos img:first-child { width: 74%; height: 82%; right: 0; top: 0; }
.speciali-photos img:last-child { width: 52%; height: 52%; left: 0; bottom: 0; border: 6px solid var(--slate); }

/* Menu */
.menu { padding: clamp(4rem, 10vw, 8rem) 0; }
.menu-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 3rem; margin-bottom: 2.4rem; }
.menu-head h2 { font-size: var(--step-4); }
.menu-head p { max-width: 30em; color: var(--muted-light); margin: 0; }
.menu-bar {
  position: sticky; top: 68px; transition: top .55s var(--ease); z-index: 5;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--salt); padding: 1rem 0; border-bottom: 1px solid var(--line-light);
}
.tabs { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); padding-right: 1.5rem; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; min-height: 42px; padding: .45em 1.05em; border-radius: 999px;
  border: 1px solid var(--line-light); background: transparent; cursor: pointer; font-weight: 500; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--salt); border-color: var(--ink); }
.tab small { opacity: .6; margin-left: .35em; font-variant-numeric: tabular-nums; }
.search { position: relative; flex: 0 1 300px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: var(--muted-light); stroke-width: 2; }
.search input {
  width: 100%; min-height: 44px; padding: .55em 1em .55em 2.6em; border-radius: 999px;
  border: 1px solid var(--line-light); background: #fff; font: inherit; font-size: 16px; color: var(--ink);
}
.search input:focus-visible { outline: 2px solid var(--oak); outline-offset: 2px; border-color: var(--ink); }

.menu-list { columns: 2; column-gap: clamp(2rem, 6vw, 6rem); margin-top: 1.5rem; min-height: 40vh; }
.menu-group { break-inside: avoid; margin-bottom: 2rem; }
.menu-group h3 { font-size: var(--step-2); padding: 1.2rem 0 .6rem; break-after: avoid; }
.dish { break-inside: avoid; display: grid; grid-template-columns: 2.6rem 1fr auto; gap: 0 .9rem; padding: .85rem 0; border-bottom: 1px solid var(--line-light); }
.dish-no { font-size: var(--step--1); color: var(--muted-light); font-variant-numeric: tabular-nums; padding-top: .25em; }
.dish-name { font-family: var(--serif); font-size: var(--step-1); line-height: 1.2; }
.dish-desc { grid-column: 2; font-size: var(--step--1); color: var(--muted-light); margin-top: .15rem; }
.dish-price { grid-row: 1; grid-column: 3; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; padding-top: .15em; }
.dish mark { background: rgba(213, 55, 46, .16); color: inherit; border-radius: 3px; padding: 0 .1em; }
.dish-spicy { color: var(--red-ink); font-size: .8em; margin-left: .4em; font-family: var(--sans); font-weight: 600; }
.menu-empty { columns: 1; padding: 3rem 0; color: var(--muted-light); }
.menu-empty button { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; color: var(--ink); }
.menu-note { margin-top: 2.5rem; font-size: var(--step--1); color: var(--muted-light); max-width: 52em; }

/* Gallery */
.gallery { background: var(--slate-deep); color: var(--salt); padding: clamp(4rem, 10vw, 8rem) 0; }
.gallery-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem 3rem; margin-bottom: 2.5rem; }
.gallery-head h2 { font-size: var(--step-4); }
.gallery-head p { margin: 0; color: var(--muted-dark); max-width: 28em; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 18vw, 250px); grid-auto-flow: dense; gap: clamp(8px, 1vw, 14px); }
.g { padding: 0; border: 0; background: var(--slate); border-radius: 10px; overflow: hidden; cursor: zoom-in; position: relative; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g:hover img { transform: scale(1.04); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }

.lightbox { overscroll-behavior: contain; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(18, 25, 29, .96); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 86vh; width: auto; border-radius: 8px; }
.lb-btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-dark); background: rgba(26, 36, 42, .7); color: var(--salt); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lb-btn:hover { border-color: var(--salt); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* Island band */
.island { position: relative; color: #fff; min-height: 78vh; display: flex; align-items: end; overflow: hidden; isolation: isolate; }
.island-img { position: absolute; inset: -10% 0; z-index: -1; }
.island-img img { width: 100%; height: 100%; object-fit: cover; }
.island::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(18, 25, 29, 0) 35%, rgba(18, 25, 29, .78)); }
.island-copy { padding-block: clamp(3rem, 8vw, 6rem); }
.island h2 { font-size: var(--step-4); max-width: 12ch; }
.island p { margin-top: 1.2rem; max-width: 30em; font-size: var(--step-1); color: rgba(255, 255, 255, .86); }

/* Visit */
.visit { padding: clamp(4rem, 10vw, 8rem) 0; }
.visit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); grid-template-areas: "info hours" "map map"; gap: clamp(2.5rem, 6vw, 5rem); }
.visit-info { grid-area: info; }
.visit h2 { font-size: var(--step-4); margin-bottom: 2rem; }
.visit address { font-style: normal; }
.addr { font-family: var(--serif); font-size: var(--step-2); line-height: 1.25; }
.visit-hint { color: var(--muted-light); max-width: 32em; }
.visit-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hours { grid-area: hours; }
.hours h3 { font-size: var(--step-2); margin-bottom: 1rem; }
.hours table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: .8rem 0; border-bottom: 1px solid var(--line-light); font-weight: 400; vertical-align: top; }
.hours td { text-align: right; white-space: nowrap; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; }
.hours tr.is-today th::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: .6em; vertical-align: middle; }
.hours .closed { color: var(--muted-light); }
.map { grid-area: map; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 8; background: var(--slate); position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-consent { position: absolute; inset: 0; }
.map-consent img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5) brightness(.45); }
.map-consent-box { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; padding: 1.5rem; text-align: center; color: var(--salt); }
.map-consent-box p { max-width: 30em; margin: 0; font-size: var(--step--1); }

/* Footer */
.site-footer { background: var(--slate-deep); color: var(--muted-dark); padding: 4rem 0 2rem; font-size: var(--step--1); }
.site-footer a { color: var(--salt); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-dark); }
.footer-logo { width: 150px; }
.footer-cols { display: flex; gap: clamp(2rem, 6vw, 5rem); }
.footer-credits { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 3rem; padding-top: 1.5rem; }
.footer-credits p { margin: 0; max-width: 60em; }
.footer-credits a { text-decoration: underline; }

/* Mobile call button */
.call-fab { display: none; }

/* Responsive */
@media (max-width: 1180px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 900px) {
  .mega-inner { grid-template-columns: 1fr; grid-template-rows: auto; padding-top: 100px; row-gap: 2rem; }
  .mega-links { align-self: start; }
  .mega-media { display: none; }
  .mega-link small { display: none; }
}
@media (max-width: 900px) {
  .hero-grid, .story-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 460px; margin-left: auto; margin-right: 6%; }
  .story-motto { position: static; max-width: 420px; }
  .speciali-grid { grid-template-columns: 1fr; grid-template-areas: "head" "photos" "list"; }
  .speciali-photos { position: relative; top: auto; height: auto; aspect-ratio: 5 / 4; margin-bottom: 2.5rem; }
  .speciali-photos img:first-child { width: 62%; height: 90%; }
  .speciali-photos img:last-child { width: 46%; height: 58%; }
  .menu-list { columns: 1; }
  .visit-grid { grid-template-columns: 1fr; grid-template-areas: "info" "hours" "map"; }
  .map { aspect-ratio: 4 / 3; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
}
@media (max-width: 640px) {
  .header-inner, .site-header.is-solid .header-inner { height: 68px; gap: 1rem; }
  .logo3d, .site-header.is-solid .logo3d { width: 90px; }
  .header-call { display: none; }
  .mega-inner { padding-top: 88px; }
  .mega-info { grid-template-columns: 1fr; }
  .mega-cta .btn { flex: 1 1 auto; }
  html { scroll-padding-top: 140px; }
  .hero { padding-top: calc(68px + 2rem); }
  .hero-media { margin-right: 0; padding-bottom: 18%; }
  .hero-photo-small { left: -4%; width: 55%; }
  .search { flex-basis: 100%; }
  .dish { grid-template-columns: 2.2rem 1fr auto; }
  .reveal { height: 170vh; }
  .reveal-frame { inset: auto 0; top: 50%; aspect-ratio: 16 / 10; transform: translateY(-50%); }
  .reveal-frame::after { display: none; }
  .reveal-caption { color: var(--ink); bottom: auto; top: calc(50% + 31.25vw + 1.2rem); font-size: var(--step-3); }
  .call-fab {
    display: inline-flex; align-items: center; gap: .5em;
    position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
    background: var(--red); color: #fff; text-decoration: none; font-weight: 600;
    padding: .85em 1.25em; border-radius: 999px; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5);
    transform: translateY(140%); transition: transform .4s var(--ease);
  }
  .call-fab.is-visible { transform: none; }
  .call-fab svg { width: 18px; height: 18px; fill: currentColor; }
  .facts { gap: 1.5rem; }
  .sp-house .sp-name::after, .sp-island .sp-name::after { display: inline-block; margin: .4em 0 0; }
}

/* Pre-animation state, removed by JS (or after 3.5s if scripts fail) */
@media (prefers-reduced-motion: no-preference) {
  .js-motion .h1-line > span { transform: translateY(110%); }
  .js-motion .hero-photo { clip-path: inset(100% 0 0 0); }
  .js-motion .site-header .header-inner > * { opacity: 0; }
  .js-motion :is(.status, .h1-kicker, .hero-sub, .hero-actions, .hero-rating, .hero-photo-small) { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { height: auto; }
  .reveal-sticky { position: relative; height: auto; aspect-ratio: 16 / 9; }
  .reveal-frame { clip-path: none; }
  .reveal-frame img { transform: none; }
  .reveal-frame::after { opacity: 1; }
  .reveal-caption { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 640px) {
  .reveal-sticky { aspect-ratio: auto; height: 80vw; }
}


/* Footer additions */
.footer-cols p { margin: 0; line-height: 1.8; }
.footer-cols strong { color: var(--salt); font-weight: 600; }
.footer-btn { background: none; border: 0; padding: 0; color: var(--salt); cursor: pointer; font-size: inherit; line-height: inherit; }
.footer-btn:hover { text-decoration: underline; }

/* Legal pages */
.page-hero { background: var(--slate); color: var(--salt); padding: calc(84px + clamp(3rem, 8vw, 6rem)) 0 clamp(3rem, 6vw, 4.5rem); position: relative; isolation: isolate; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .06; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.crumbs { display: flex; gap: .5rem; margin: 0 0 1.4rem; padding: 0; list-style: none; font-size: var(--step--1); color: var(--muted-dark); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--salt); text-decoration: underline; }
.page-hero h1 { font-size: var(--step-4); }
.page-hero .page-lead { color: var(--muted-dark); max-width: 40em; margin: 1.3rem 0 0; font-size: var(--step-1); line-height: 1.5; }
.page-meta { margin-top: 1.6rem; font-size: var(--step--1); color: var(--muted-dark); }

.legal { padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 9vw, 7rem); }
.legal-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.toc { position: sticky; top: 96px; font-size: var(--step--1); }
.toc p { font-weight: 600; margin-bottom: .8rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-light); }
.toc a { display: block; padding: .38rem 0 .38rem 1rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted-light); text-decoration: none; line-height: 1.35; transition: color .2s var(--ease), border-color .2s var(--ease); }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--red); font-weight: 500; }

.legal-body { max-width: 74ch; }
.legal-body > section + section { margin-top: 3.2rem; padding-top: 3.2rem; border-top: 1px solid var(--line-light); }
.legal-body h2 { font-size: var(--step-2); margin-bottom: 1.1rem; scroll-margin-top: 96px; }
.legal-body h3 { font-family: var(--sans); font-weight: 600; font-size: var(--step-0); margin: 1.8rem 0 .5rem; }
.legal-body p, .legal-body li { color: #2d383e; }
.legal-body ul { padding-left: 1.2rem; margin: 0 0 1em; }
.legal-body li { margin-bottom: .35em; }
.legal-body li::marker { color: var(--red); }
.legal-body a:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; overflow-wrap: anywhere; }
.legal-body a:not(.btn):hover { color: var(--red-ink); }
.legal-body address { font-style: normal; }
.legal-card { background: #fff; border: 1px solid var(--line-light); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 1.8rem); margin: 0 0 1em; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-bottom: 1em; }
.legal-cards .legal-card { margin: 0; }
.legal-card .label { display: block; font-size: var(--step--1); color: var(--muted-light); margin-bottom: .3rem; }
.legal-note { border-left: 3px solid var(--oak); background: rgba(201, 152, 95, .1); padding: 1rem 1.2rem; border-radius: 0 10px 10px 0; }
.legal-note strong { color: var(--ink); }
.todo { background: #fde68a; color: #5b4300; padding: .05em .4em; border-radius: 4px; font-weight: 600; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line-light); border-radius: var(--radius); background: #fff; margin: 1.2rem 0 1.4rem; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: var(--step--1); line-height: 1.45; }
.cookie-table caption { text-align: left; padding: 1rem 1.1rem .4rem; font-weight: 600; color: var(--ink); }
.cookie-table th, .cookie-table td { text-align: left; vertical-align: top; padding: .8rem 1.1rem; border-top: 1px solid var(--line-light); }
.cookie-table thead th { background: var(--salt-2); font-weight: 600; white-space: nowrap; border-top: 0; }
.cookie-table code { font-size: .92em; background: var(--salt-2); padding: .1em .4em; border-radius: 4px; white-space: nowrap; }
.tag { display: inline-block; padding: .15em .65em; border-radius: 999px; font-size: .85em; font-weight: 600; white-space: nowrap; }
.tag-nec { background: #dceadf; color: #1f5a37; }
.tag-ext { background: #f6dcd9; color: #8a221b; }

@media (max-width: 900px) {
  .legal-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { columns: 2; column-gap: 1.5rem; }
}
@media (max-width: 640px) {
  .page-hero { padding-top: calc(68px + 2.5rem); }
  .toc ol { columns: 1; }
  .cookie-table thead { display: none; }
  .cookie-table tr { display: block; border-top: 1px solid var(--line-light); padding: .5rem 0; }
  .cookie-table td { display: block; position: relative; border: 0; padding: .35rem 1rem .35rem 9rem; }
  .cookie-table td::before { content: attr(data-label); position: absolute; left: 1rem; top: .35rem; width: 7.5rem; font-weight: 600; color: var(--muted-light); }
}

/* Cookie consent */
.consent {
  position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 70;
  width: min(440px, calc(100vw - 32px));
  background: var(--slate-deep); color: var(--salt);
  border: 1px solid var(--line-dark); border-radius: 20px; padding: 1.4rem 1.4rem 1.2rem;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .65);
}
.consent[hidden] { display: none; }
.consent-title { font-size: var(--step-1); margin-bottom: .6rem; }
.consent p { font-size: var(--step--1); color: var(--muted-dark); margin: 0; line-height: 1.55; }
.consent p a { color: var(--salt); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.1rem; }
.consent-actions .btn { min-height: 46px; padding-inline: .8em; font-size: var(--step--1); }
.btn-outline-light { border-color: rgba(241, 242, 238, .55); color: var(--salt); background: transparent; }
.btn-outline-light:hover { background: var(--salt); color: var(--ink); }
.consent-link { display: inline-block; margin-top: .9rem; background: none; border: 0; padding: .2rem 0; color: var(--salt); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; font-size: var(--step--1); }
html.consent-visible .call-fab { display: none; }

.consent-modal { width: min(760px, calc(100vw - 24px)); max-height: min(88vh, 900px); padding: 0; border: 0; border-radius: 22px; background: var(--salt); color: var(--ink); overscroll-behavior: contain; }
.consent-modal::backdrop { background: rgba(18, 25, 29, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.consent-modal[open] { display: flex; flex-direction: column; }
.cm-head { position: relative; padding: 1.6rem 4rem 1.2rem 1.6rem; border-bottom: 1px solid var(--line-light); }
.cm-head h2 { font-size: var(--step-2); margin-bottom: .5rem; }
.cm-head p { margin: 0; font-size: var(--step--1); color: var(--muted-light); }
.cm-x { position: absolute; top: 1.1rem; right: 1.1rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-light); background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.cm-x:hover { border-color: var(--ink); }
.cm-body { padding: 1.2rem 1.6rem; overflow-y: auto; }
.cm-cat { background: #fff; border: 1px solid var(--line-light); border-radius: 16px; padding: 1.1rem 1.2rem; }
.cm-cat + .cm-cat { margin-top: .8rem; }
.cm-cat-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cm-cat h3 { font-family: var(--sans); font-weight: 600; font-size: var(--step-0); }
.cm-cat > p { margin: .5rem 0 0; font-size: var(--step--1); color: var(--muted-light); }
.cm-cat details { margin-top: .8rem; }
.cm-cat summary { cursor: pointer; font-size: var(--step--1); font-weight: 600; width: fit-content; }
.cm-cat .table-wrap { margin: .8rem 0 0; }
.switch { position: relative; display: inline-flex; align-items: center; gap: .6rem; font-size: var(--step--1); color: var(--muted-light); flex: none; cursor: pointer; }
.switch input { appearance: none; -webkit-appearance: none; width: 48px; height: 28px; margin: 0; border-radius: 999px; background: #c9cfcb; position: relative; cursor: pointer; transition: background-color .25s var(--ease); }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .3s var(--ease); }
.switch input:checked { background: var(--basil); }
.switch input:checked::after { transform: translateX(20px); }
.switch input:disabled { opacity: .55; cursor: not-allowed; }
.switch input:focus-visible { outline: 2px solid var(--oak); outline-offset: 2px; }
.cm-foot { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; padding: 1rem 1.6rem 1.3rem; border-top: 1px solid var(--line-light); }
.cm-foot .btn { min-height: 46px; font-size: var(--step--1); }
@media (max-width: 640px) {
  .consent { left: 12px; right: 12px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom)); }
  .cm-foot .btn { flex: 1 1 100%; }
  .cm-head { padding-right: 3.6rem; }
}

.cell-sub { display: inline-block; margin: .25rem 0 .35rem; color: var(--muted-light); font-size: .92em; white-space: nowrap; }
.legal-body .cookie-table td:first-child { min-width: 9.5rem; }
@media (max-width: 640px) { .legal-body .cookie-table td:first-child { min-width: 0; } }

/* FAQ */
.faq { background: var(--salt-2); padding: clamp(4rem, 10vw, 8rem) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-head { position: sticky; top: 100px; }
.faq-head h2 { font-size: var(--step-4); margin-bottom: 1.2rem; }
.faq-head p { color: var(--muted-light); max-width: 30em; }
.faq-list { border-top: 1px solid #c9cec9; }
.faq-item { border-bottom: 1px solid #c9cec9; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { font-size: var(--step-1); line-height: 1.25; transition: color .2s var(--ease); }
.faq-item summary:hover h3 { color: var(--red-ink); }
.faq-icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #b9bfba; transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .45s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--ink); transition: transform .45s var(--ease), background-color .3s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { background: var(--ink); border-color: var(--ink); transform: rotate(180deg); }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: var(--salt); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-a { padding: 0 3.5rem 1.4rem 0; color: #2d383e; }
.faq-a p { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-a { animation: faq-in .45s var(--ease); }
  @keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
}
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-head { position: static; }
  .faq-a { padding-right: 0; }
}

/* 404 */
.page-404 { min-height: 78vh; display: flex; align-items: center; }
.code-404 { font-family: var(--serif); font-size: clamp(5rem, 3rem + 10vw, 11rem); line-height: .9; color: var(--oak); margin: 0 0 1rem; }
