/* KLAP · colours and type from KLAP_Visual Style Guide_V1
   Golden Pulse #89724b · Night Ash #000 · Smoke Veil #c4b49b · Flame Rise #fcd800 > #f04f00 > #dc1300 > #000
   Afacad Flux for headings and reading, Lexend Zetta for short wide lines.

   How the page is built (direction locked 14 Nov 2026):
   · a black theatre: the interface stays black, bone and gold, and colour comes from the pictures
   · full-bleed scenes alternate with a narrow reading island; body copy is large
   · flat ruled rows (ledgers) for anything with a price, never cards
   · one gold pill for "Reserve"; every other link is a ruled text link
   · gold is for the mark, the seams, prices and that one button. The flame gradient appears once, at the close. */
:root {
  --gold: #89724b;
  --gold-lit: #b59a67;
  --ash: #000;
  --coal: #0b0907;
  --smoke: #c4b49b;
  --smoke-dim: #8d8271;
  --bone: #f3efe9;
  --line: rgba(196, 180, 155, .22);
  --gut: clamp(20px, 2.4vw, 36px);
  --head: "Afacad Flux", "Afacad", system-ui, sans-serif;
  --wide: "Lexend Zetta", "Afacad Flux", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { background: var(--ash); scroll-behavior: smooth; }
body { margin: 0; background: var(--ash); color: var(--smoke); font: 400 clamp(18px, 1.3vw, 20px)/1.5 var(--head); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
h1, h2 { font-family: var(--head); font-weight: 400; color: var(--bone); letter-spacing: -.02em; line-height: 1; text-wrap: balance; }
h2 { font-size: clamp(2.7rem, 6.7vw, 6.4rem); }
p { text-wrap: pretty; }
.lead { font-size: clamp(20px, 1.7vw, 25px); line-height: 1.38; color: var(--bone); }
:focus-visible { outline: 2px solid var(--gold-lit); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* The one button, and the ruled link */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border: 1px solid var(--gold); border-radius: 999px; font: 400 12.5px/1 var(--wide); color: var(--bone); text-decoration: none; background: transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn:hover { background: var(--gold); color: #000; }
.btn.solid { background: var(--gold); color: #000; }
.btn.solid:hover { background: var(--gold-lit); border-color: var(--gold-lit); }
.btn.big { min-height: 64px; padding: 0 44px; font-size: 14px; }
.go { display: inline-flex; align-items: center; gap: 14px; padding: 6px 0 10px; border-bottom: 1px solid var(--gold); color: var(--bone); text-decoration: none; font: 400 13px/1 var(--wide); transition: gap .3s var(--ease), color .25s; }
.go::after { content: ""; width: 26px; height: 1px; background: currentColor; box-shadow: none; transform-origin: right; }
.go:hover { gap: 22px; color: var(--gold-lit); }

/* Header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gut); transition: background .4s, padding .4s; }
.top.stuck { background: rgba(0, 0, 0, .8); backdrop-filter: blur(10px); padding-block: 11px; }
.mark svg { display: block; height: 20px; width: auto; fill: var(--gold-lit); transition: opacity .4s; }
.at-top .mark svg { opacity: 0; }
.top nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.top nav a { font: 400 12px/1 var(--wide); text-decoration: none; color: var(--bone); }
.top nav a:not(.btn):hover { color: var(--gold-lit); }
.top nav .btn { min-height: 40px; padding: 0 18px; }
@media (max-width: 560px) { .top nav a.opt { display: none; } }

/* Chapter titles: the wide face, in capitals, light and well spaced, the way the wordmark is drawn. */
.cap { font: 300 clamp(1.25rem, 3.1vw, 3.1rem)/1.2 var(--wide); text-transform: uppercase; letter-spacing: .1em; color: var(--bone); text-wrap: balance; }

/* The opening. The section is tall; the stage inside it stays put while the page moves, and
   js/site.js turns that movement into --p (0 at the top, 1 when the fire fills the screen). */
.open { position: relative; height: 320svh; }
.open-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; grid-template-rows: 1fr auto auto; justify-items: center; align-items: center; padding: 96px var(--gut) var(--gut); background: #000; }
.open-scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; opacity: var(--scene, 0); transform: scale(calc(1.18 - var(--scene, 0) * .18)); }
.open-stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0) 35%, rgba(0,0,0,.1) 60%, rgba(0,0,0,.8)); opacity: var(--scene, 0); pointer-events: none; }
.letters { position: relative; z-index: 1; width: min(100%, 1560px); aspect-ratio: 1589 / 341; align-self: center; -webkit-mask: url(../assets/klap.svg) center / contain no-repeat; mask: url(../assets/klap.svg) center / contain no-repeat; transform-origin: 68.4% 70%; transform: scale(var(--zoom, 1)); opacity: var(--letters, 1); will-change: transform; }
.letters-fire { width: 100%; height: 100%; background: #b0541a url(../assets/img/fire-grill.jpg) 50% 30% / 125% auto; animation: drift 38s ease-in-out infinite alternate; filter: brightness(1.4) saturate(1.1); opacity: 0; transition: opacity 2.4s ease; }
.ready .letters-fire, .no-js .letters-fire { opacity: 1; }
/* The flames sit on the right of the photograph. A mirrored copy, lightened over the first,
   puts fire in every letter. */
.letters-fire { position: relative; }
.letters-fire::before { content: ""; position: absolute; inset: 0; background: url(../assets/img/fire-grill.jpg) 50% 30% / 125% auto; transform: scaleX(-1); mix-blend-mode: lighten; animation: drift 46s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { background-position: 30% 22%; } to { background-position: 70% 46%; } }
.open-line { position: relative; z-index: 1; font-size: clamp(1.2rem, 2.1vw, 1.9rem); color: var(--bone); text-align: center; padding-bottom: clamp(36px, 9vh, 110px); opacity: var(--intro, 1); }
.open-foot { position: relative; z-index: 1; width: 100%; display: flex; justify-content: space-between; gap: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .92em; color: var(--smoke); opacity: var(--intro, 1); }
.open-foot p:last-child { text-align: right; }
.open-after { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(48px, 11vh, 120px); padding: 0 var(--gut); text-align: center; opacity: var(--after, 0); transform: translateY(calc((1 - var(--after, 0)) * 24px)); }
.open-after p { margin-top: 18px; font-size: clamp(19px, 1.6vw, 24px); color: var(--bone); }
.no-js .open { height: auto; }
.no-js .open-stage { position: relative; }

/* A few large words on black, under a gold seam */
.say { padding: clamp(40px, 6vw, 90px) 0 clamp(110px, 15vw, 240px); }
.say-big { max-width: 21em; margin: clamp(60px, 9vw, 150px) auto 0; padding: 0 var(--gut); font-size: clamp(1.6rem, 3.3vw, 3.2rem); line-height: 1.22; letter-spacing: -.015em; color: var(--bone); text-align: center; text-wrap: balance; }
.say-mid { font-size: clamp(1.25rem, 1.9vw, 1.75rem); line-height: 1.36; color: var(--bone); max-width: 24em; }

/* Kintsugi seams: gold cracks that draw themselves as they come into view */
.seam { display: block; width: 100%; height: auto; overflow: visible; }
.seam path { fill: none; stroke: url(#gold); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s cubic-bezier(.3, .6, .2, 1); }
.seam path:nth-child(n+3) { transition-delay: .5s; }
.seam.in path, .no-js .seam path { stroke-dashoffset: 0; }

/* Reveal */
.rise { opacity: 0; transform: translateY(26px); transition: opacity 1.1s ease, transform 1.1s var(--ease); }
.rise.in, .no-js .rise { opacity: 1; transform: none; }
.shot { overflow: hidden; background: var(--coal); }
.shot img, .shot video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 2.2s var(--ease); }
.shot.in img, .shot.in video, .no-js .shot img { transform: none; }

/* A chapter: one picture the size of the screen, a title, a line, a way on */
.chapter { position: relative; min-height: 100svh; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; }
/* The photographs are all upright, so a screen-wide chapter is three of them standing side by side. */
.chapter-wall { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.chapter-wall .shot { height: 100%; }
.chapter::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.86) 100%); }
.chapter-in { position: relative; z-index: 1; text-align: center; padding: 0 var(--gut) clamp(56px, 11vh, 120px); display: grid; justify-items: center; gap: 18px; }
.chapter-in p { font-size: clamp(19px, 1.6vw, 24px); color: var(--bone); max-width: 26em; }
.chapter-in .go { margin-top: 14px; }

/* Two pictures and a few words */
.pair { display: grid; grid-template-columns: 5fr 7fr; gap: 14px; padding: 14px var(--gut) 0; align-items: start; }
.pair .tall { aspect-ratio: 4 / 5.4; }
.pair .small { aspect-ratio: 4 / 5; width: 62%; margin-left: auto; }
.pair-side { display: grid; gap: clamp(40px, 7vw, 120px); padding-top: clamp(24px, 6vw, 110px); }
.pair-side p { padding: 0 clamp(0px, 3vw, 56px); }

/* The bar: a film between two stills */
.bar { padding: clamp(110px, 15vw, 240px) var(--gut) 0; text-align: center; }
.bar-stage { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 14px; align-items: center; margin-top: clamp(48px, 7vw, 110px); }
.bar-stage .shot { aspect-ratio: 9 / 15; }
.bar-stage .b2 { aspect-ratio: 9 / 16; }
.bar-foot { display: grid; justify-items: center; gap: 26px; margin-top: clamp(40px, 5vw, 72px); }
.bar-foot p { font-size: clamp(19px, 1.6vw, 24px); color: var(--bone); max-width: 28em; }
.film { background: #000; }

/* The terrace: a row of tall pictures you move sideways */
.terrace { padding-top: clamp(110px, 15vw, 240px); }
.terrace-head { display: grid; justify-items: center; gap: 22px; text-align: center; padding: 0 var(--gut) clamp(48px, 7vw, 110px); }
.terrace-head p { font-size: clamp(19px, 1.6vw, 24px); color: var(--bone); max-width: 27em; }
.terrace-head a { color: var(--gold-lit); text-underline-offset: 5px; }
.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 0 var(--gut); scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.drag { cursor: grabbing; scroll-snap-type: none; }
.rail .shot { flex: none; height: min(78svh, 760px); aspect-ratio: 2 / 3; scroll-snap-align: center; }
.rail img { pointer-events: none; }

/* The close: the flame, once */
.close { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(30px, 4vw, 54px); padding: 140px var(--gut) 120px; text-align: center; overflow: hidden; }
.close::before { content: ""; position: absolute; left: -10%; right: -10%; bottom: -30%; height: 82%; background: radial-gradient(60% 70% at 50% 100%, #fcd800 0%, #f04f00 24%, #dc1300 46%, rgba(60, 6, 0, .55) 72%, transparent 100%); filter: blur(30px); opacity: .85; }
.close > * { position: relative; }
.close .cap { font-size: clamp(1.5rem, 4.4vw, 4.4rem); }
.close-note { color: var(--bone); }
.close-note a { text-underline-offset: 5px; }

/* Footer: ruled cells, then the name */
.foot { position: relative; background: #000; padding: 0 var(--gut) 28px; }
.foot-cells { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.foot-cells p { padding: 22px 22px 26px 0; color: var(--bone); }
.foot-cells p + p { border-left: 1px solid var(--line); padding-left: 22px; }
.foot-cells span { display: block; color: var(--smoke-dim); font-size: .82em; margin-bottom: 8px; }
.foot-cells a { text-decoration: none; }
.foot-cells a:hover { color: var(--gold-lit); }
.foot-logo { padding-top: clamp(80px, 12vw, 200px); }
.foot-logo svg { width: 100%; height: auto; fill: var(--gold); display: block; }
.foot-end { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--smoke-dim); font-size: .8em; }
.foot-end a { text-underline-offset: 3px; }

/* The reservation drawer, opened from any Reserve button on any page */
.drawer { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(520px, 100vw); max-width: none; height: 100dvh; max-height: none; padding: 0; border: 0; border-left: 1px solid rgba(137, 114, 75, .6); background: #050403; color: var(--smoke); overflow-y: auto; transform: translateX(100%); transition: transform .5s var(--ease), display .5s allow-discrete, overlay .5s allow-discrete; }
.drawer[open] { transform: none; }
@starting-style { .drawer[open] { transform: translateX(100%); } }
.drawer::backdrop { background: rgba(0, 0, 0, .62); backdrop-filter: blur(5px); }
.drawer-in { padding: clamp(22px, 4vw, 40px); }
.drawer-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 10px; }
.drawer-head h2 { font-size: clamp(2.2rem, 4vw, 3rem); }
.x { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--bone); font: 300 24px/1 var(--head); cursor: pointer; }
.x:hover { border-color: var(--gold-lit); color: var(--gold-lit); }
.drawer-sub { color: var(--smoke); margin-bottom: 28px; max-width: 26em; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; }
.f { display: grid; gap: 8px; align-content: start; }
.f.full { grid-column: 1 / -1; }
.f label, .f legend { font-size: .82em; color: var(--smoke); padding: 0; }
.f input, .f select, .f textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid rgba(196, 180, 155, .32); border-radius: 10px; background: #0b0907; color: var(--bone); font: 400 18px/1.3 var(--head); color-scheme: dark; }
.f textarea { min-height: 84px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--gold-lit); box-shadow: 0 0 0 3px rgba(137, 114, 75, .35); }
.f.bad input, .f.bad select { border-color: #f04f00; }
.err { color: #ff8a55; font-size: .85em; }
.err:empty { display: none; }
fieldset.f { border: 0; margin: 0; padding: 0; min-width: 0; }
.guests { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.guests label { position: relative; cursor: pointer; }
.guests input { position: absolute; opacity: 0; inset: 0; min-height: 0; width: 100%; height: 100%; cursor: pointer; }
.guests span { display: grid; place-items: center; height: 48px; border: 1px solid rgba(196, 180, 155, .32); border-radius: 10px; font: 400 18px/1 var(--head); color: var(--bone); transition: background .2s, color .2s, border-color .2s; }
.guests label:last-child { grid-column: span 2; }
.guests input:checked + span { background: var(--gold); border-color: var(--gold); color: #000; }
.guests input:focus-visible + span { outline: 2px solid var(--gold-lit); outline-offset: 3px; }
form .btn { grid-column: 1 / -1; min-height: 58px; font-size: 13px; }
.form-note { grid-column: 1 / -1; font-size: .86em; color: var(--smoke); }
.hp { position: absolute; left: -9999px; }
.done h3 { font: 400 clamp(1.8rem, 3vw, 2.4rem)/1.08 var(--head); color: var(--bone); }
.done p { margin-top: 16px; color: var(--bone); }
.done dl { margin: 24px 0; display: grid; grid-template-columns: auto 1fr; gap: 0; color: var(--bone); border-top: 1px solid var(--line); }
.done dt, .done dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.done dt { color: var(--smoke); padding-right: 28px; }
.done .row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Menu page */
.menu-hero { padding: clamp(130px, 16vw, 220px) var(--gut) clamp(28px, 4vw, 56px); }
.menu-hero h1 { font-size: clamp(3.4rem, 10vw, 9rem); }
.menu-hero p { margin-top: 20px; }
.tabs { position: sticky; top: 60px; z-index: 10; display: flex; gap: 8px; padding: 12px var(--gut); background: rgba(0, 0, 0, .9); backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.tabs button { min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--bone); font: 400 12.5px/1 var(--wide); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--bone); border-color: var(--bone); color: #000; }
.menu-body { padding: 0 var(--gut) clamp(60px, 8vw, 120px); }
.js .menu-tab[hidden] { display: none; }
.menu-jump { display: flex; gap: 8px 22px; flex-wrap: wrap; padding: 22px 0 6px; }
.menu-jump a { font-size: .9em; color: var(--smoke); text-decoration: none; white-space: nowrap; }
.menu-jump a:hover { color: var(--gold-lit); }
.menu-sec { padding-top: clamp(48px, 6vw, 88px); scroll-margin-top: 110px; display: grid; grid-template-columns: minmax(0, .4fr) minmax(0, 1fr); gap: 12px clamp(24px, 5vw, 80px); align-items: start; }
.menu-sec h2 { font-size: clamp(2rem, 3.8vw, 3.6rem); position: sticky; top: 140px; line-height: 1; }
.menu-blurb { grid-column: 2; color: var(--smoke); max-width: 34em; }
.menu-items { grid-column: 2; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 64px); border-top: 1px solid var(--line); }
.menu-sec.sized .menu-items { grid-template-columns: 1fr; }
.menu-items li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.menu-items .line { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; }
.menu-items h3 { margin: 0; font: 500 1.02em/1.25 var(--head); color: var(--bone); letter-spacing: .01em; }
.menu-items .new { font: 400 9.5px/1 var(--wide); color: #f04f00; border: 1px solid #f04f00; border-radius: 999px; padding: 3px 7px; margin-right: 8px; vertical-align: middle; position: relative; top: -2px; }
.menu-items .prices { display: flex; gap: 22px; white-space: nowrap; color: var(--gold-lit); font-variant-numeric: tabular-nums; }
.menu-items .price i { font-style: normal; color: var(--smoke-dim); font-size: .78em; margin-right: 6px; }
.menu-items p { margin-top: 6px; color: var(--smoke); font-size: .92em; line-height: 1.4; max-width: 30em; }
.menu-items .tags { color: var(--smoke-dim); font-size: .78em; }
.menu-foot { margin-top: clamp(48px, 6vw, 88px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.menu-foot p { color: var(--bone); max-width: 30em; }
.foot.plain .foot-logo { padding-top: clamp(50px, 7vw, 110px); }

@media (max-width: 900px) {
  .pair { grid-template-columns: 1fr; }
  .pair .small { width: 100%; }
  .chapter-wall { grid-template-columns: 1fr; }
  .chapter-wall .shot:nth-child(n+2) { display: none; }
  .bar-stage { grid-template-columns: 1fr 1fr; }
  .bar-stage .b2 { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 4 / 5; }
  .rail .shot { height: 62svh; }
  .split, .split.split-flip { grid-template-columns: 1fr; }
  .split-pic { position: relative; height: auto; aspect-ratio: 4 / 5; order: 0 !important; margin: 0 var(--gut); }
  .split-text, .split-flip .split-text { padding: 40px var(--gut) 20px; }
  .trio { grid-template-columns: 1fr 1fr; }
  .trio .shot:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
  .nights-text { grid-column: 1 / -1; }
  .nights .n1 { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 5; }
  .nights .n2 { grid-column: 1 / 7; }
  .nights .n3 { grid-column: 7 / 13; aspect-ratio: 4 / 5; }
  .foot-cells { grid-template-columns: 1fr; }
  .foot-cells p + p { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .menu-sec { grid-template-columns: 1fr; }
  .menu-sec h2 { position: static; }
  .menu-blurb, .menu-items { grid-column: 1; }
  .menu-items { grid-template-columns: 1fr; }
  .scene-right .scene-in { align-items: flex-start; text-align: left; }
}
@media (max-width: 560px) {
  form { grid-template-columns: 1fr; }
  .menu-items .prices { gap: 14px; }
  .ledger li { gap: 16px; }
  .at-top .mark svg { opacity: 1; }
  /* On a phone the name stands tall: two letters a row would shout, so it stays one line and the fire shows through. */
  .open { grid-template-rows: 1fr auto auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .shot img, .shot video, .seam path, .drawer { transition: none !important; transform: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; }
  .open { height: auto; }
  .open-stage { position: relative; }
  .letters-fire { animation: none; }
}
