:root {
  --bone: #f2efe9;
  --paper: #f7f5f1;
  --ink: #141512;
  --night: #161a17;
  --text: #45463f;
  --stone: #6e6a60;
  --brass: #80673f;
  --line: rgba(20, 21, 18, .12);
  --line-dark: rgba(247, 245, 241, .14);
  --serif: "Newsreader", "Times New Roman", serif;
  --sans: "Geist", system-ui, sans-serif;
  --pad: clamp(22px, 6vw, 96px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
figure { margin: 0; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--pad); }
.muted { color: var(--stone); }

h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.04; letter-spacing: -.02em; margin: 0; font-optical-sizing: auto; }
h2 { font-size: clamp(40px, 5.2vw, 76px); }
h3 { font-size: 26px; font-weight: 400; letter-spacing: -.01em; margin-bottom: 10px; }
p { margin: 0 0 1em; }

/* every photo gets the same quiet grade, so old interior colours sit together */
.ph img, .booking > img, .hero-photo { filter: saturate(.78) contrast(1.04) brightness(.98); }

.btn {
  display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none;
  font: 500 14px/1 var(--sans); letter-spacing: .02em; padding: 18px 28px; border: 0; border-radius: 0; cursor: pointer;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.btn:hover { background: var(--brass); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--brass); color: var(--paper); }
.text-link { background: none; border: 0; padding: 0 0 4px; cursor: pointer; font: 500 14px/1.4 var(--sans); letter-spacing: .02em; text-decoration: none; border-bottom: 1px solid currentColor; transition: opacity .3s; }
.text-link:hover { opacity: .6; }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--pad); color: var(--ink); transition: background .5s var(--ease), color .5s var(--ease), padding .5s var(--ease);
}
.nav.on-photo { color: #fff; }
.nav.solid { background: rgba(247, 245, 241, .96); color: var(--ink); padding-block: 16px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: baseline; gap: 14px; text-decoration: none; }
.brand svg { display: none; }
.brand-name { font: 400 23px/1 var(--serif); letter-spacing: -.01em; }
.brand-place { font-size: 13px; opacity: .65; }
.nav-links { display: flex; align-items: center; gap: 36px; font-size: 14px; letter-spacing: .01em; }
.nav-links a { text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav-links a:hover, .nav-links a.active { border-bottom-color: currentColor; }
.nav-links .nav-book { padding: 10px 18px; border: 1px solid currentColor; }
.nav-links .nav-book:hover { opacity: .6; }
.menu-btn { display: none; background: none; border: 0; border-bottom: 1px solid currentColor; padding: 4px 0; font-size: 14px; cursor: pointer; }

.menu { position: fixed; inset: 0; z-index: 60; background: var(--night); color: var(--paper); padding: 100px var(--pad) 36px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font: 300 42px/1.1 var(--serif); letter-spacing: -.02em; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.menu-foot { margin-top: 40px; font-size: 14px; }
.menu-foot .btn { background: var(--paper); color: var(--ink); margin-bottom: 26px; }
.menu-foot .muted { color: rgba(247,245,241,.55); }
body.menu-open .nav { color: var(--paper); background: transparent; border-color: transparent; z-index: 70; }

/* HERO */
.hero { height: 260vh; position: relative; }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--night); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); will-change: transform; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,17,15,.45) 0%, rgba(14,17,15,0) 28%, rgba(14,17,15,.05) 50%, rgba(14,17,15,.82) 100%); opacity: 0; }
.cut { position: absolute; inset: 0; background: transparent; }
.cut canvas, .door canvas { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; }
html:not(.js) .cut { display: none; }
.hero-intro { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--ink); pointer-events: none; padding: 0 var(--pad); }
.hero-whisper { font: italic 300 clamp(18px, 1.7vw, 22px)/1.45 var(--serif); margin: 0; }
.scroll-cue { width: 1px; height: 52px; background: rgba(20,21,18,.18); position: relative; overflow: hidden; margin-top: 22px; }
.scroll-cue i { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ink); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 100%; } }
.hero-final { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--pad) clamp(44px, 8vh, 84px); color: #fff; opacity: 0; pointer-events: none; }
.hero-final.show { pointer-events: auto; }
.hero-final h1 { font-size: clamp(48px, 8vw, 132px); margin-bottom: clamp(28px, 4vh, 44px); }
.hero-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 60px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.28); }
.hero-sub { font-size: 16px; max-width: 40ch; opacity: .88; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.hero-actions .text-link { color: #fff; }

/* CHAPTERS: text stays put on one side, photos run edge to edge on the other */
.chapter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-top: 1px solid var(--line); }
.chapter.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.chapter.flip .ch-text { order: 2; }
.ch-text { padding: 0 clamp(28px, 5vw, 88px) 0 var(--pad); }
.chapter.flip .ch-text { padding: 0 var(--pad) 0 clamp(28px, 5vw, 88px); }
.ch-sticky { position: sticky; top: 0; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: 110px 70px; }
.ch-text h2 { font-size: clamp(52px, 6.4vw, 104px); margin-bottom: clamp(28px, 4vh, 44px); }
.ch-text p { color: var(--text); max-width: 44ch; font-size: 16px; }
.ch-text .lead { font: 300 clamp(21px, 1.85vw, 26px)/1.42 var(--serif); color: var(--ink); letter-spacing: -.005em; max-width: 30ch; margin-bottom: 1.1em; }
.ch-text .sign { font: italic 400 19px/1 var(--serif); color: var(--brass); margin-top: 18px; }
.ch-text .text-link { margin-top: 34px; align-self: flex-start; }
.ch-text .note { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }

.ph { display: block; width: 100%; padding: 0; border: 0; background: var(--bone); cursor: zoom-in; overflow: hidden; }
.ph img { width: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ph:hover img { transform: scale(1.02); }
.ch-media { display: flex; flex-direction: column; gap: 6px; padding: 6px 0; }
.ch-media figure { position: relative; }
.ch-media .ph img { aspect-ratio: 5/4; max-height: 100vh; }
.ch-media .tall .ph img { aspect-ratio: auto; height: 100vh; min-height: 520px; max-height: 1000px; }
.ch-media .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ch-media .pair .ph img { aspect-ratio: 4/5; max-height: none; }
.ch-media figure:has(figcaption)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(180deg, rgba(10,12,10,0), rgba(10,12,10,.55)); pointer-events: none; }
.ch-media figcaption { z-index: 1; position: absolute; left: 20px; bottom: 16px; margin: 0; color: #fff; font-size: 12px; letter-spacing: .03em; text-shadow: 0 1px 12px rgba(0,0,0,.45); pointer-events: none; }

.facts { margin: 8px 0 0; border-top: 1px solid var(--line); max-width: 460px; }
.facts div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { color: var(--stone); }
.facts dd { margin: 0; text-align: right; }

.chapter.dark { background: var(--night); color: var(--paper); border-top: 0; }
.chapter.dark .ch-text p { color: rgba(247,245,241,.72); }
.chapter.dark .ch-text .lead { color: var(--paper); }
.trail { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line-dark); max-width: 460px; }
.trail li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-dark); font-size: 14px; }
.trail b { font-weight: 400; }
.trail i { font: 300 19px/1 var(--serif); font-style: normal; font-variant-numeric: tabular-nums; }

.score { display: flex; align-items: baseline; gap: 18px; font-size: 14px; margin-bottom: 30px !important; }
.score span { font: 300 clamp(80px, 9vw, 140px)/.9 var(--serif); letter-spacing: -.04em; color: var(--ink); }

.quotes-col { padding: clamp(80px, 10vw, 140px) var(--pad) clamp(80px, 10vw, 140px) clamp(28px, 5vw, 88px); gap: 0; background: var(--bone); }
.entry { padding: 40px 0 44px; border-top: 1px solid var(--line); }
.entry:first-child { border-top: 0; padding-top: 0; }
.entry blockquote { margin: 0 0 18px; font: 300 clamp(24px, 2.3vw, 34px)/1.3 var(--serif); letter-spacing: -.01em; max-width: 26ch; }
.entry .sl { font-size: 14px; color: var(--stone); max-width: 52ch; margin-bottom: 16px; }
.entry .who { font-size: 13px; font-weight: 500; letter-spacing: .02em; margin: 0; }
.entry .who span { font-weight: 400; color: var(--stone); }

#prakticno .ch-media { justify-content: center; padding: 110px var(--pad) 70px clamp(28px, 5vw, 88px); gap: 50px; }
#prakticno .ph img { aspect-ratio: 3/2; }
.rules { margin: 0; border-top: 1px solid var(--line); }
.rules div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rules dt { font-weight: 500; }
.rules dd { margin: 0; color: var(--text); }

/* BOOKING */
.booking { position: relative; min-height: 92vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--night); }
.booking > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.booking::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,17,15,.85), rgba(14,17,15,.15) 70%); }
.booking-inner { position: relative; z-index: 1; padding-bottom: clamp(60px, 9vw, 110px); }
.booking h2 { font-size: clamp(48px, 7vw, 110px); margin-bottom: 22px; }
.booking p { max-width: 42ch; font-size: 16px; opacity: .85; margin-bottom: 34px; }

.where iframe { display: block; width: 100%; height: 440px; border: 0; filter: grayscale(1) contrast(.95); }

.foot { display: flex; justify-content: space-between; gap: 16px; padding-block: 30px 44px; border-top: 1px solid var(--line); font-size: 13px; color: var(--stone); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.mobile-book { display: none; }

/* LIGHTBOX + GALLERY */
.lightbox, .gallery { position: fixed; inset: 0; z-index: 100; }
.lightbox { background: rgba(12,14,12,.97); display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; }
.lightbox[hidden], .gallery[hidden] { display: none; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: 84vh; max-width: 100%; object-fit: contain; }
.lightbox figcaption { color: rgba(247,245,241,.6); }
.lb-prev, .lb-next, .lb-close { background: none; border: 0; color: var(--paper); font: 300 40px/1 var(--serif); cursor: pointer; padding: 10px; opacity: .7; }
.lb-prev:hover, .lb-next:hover, .lb-close:hover { opacity: 1; }
.lightbox .lb-close { position: absolute; top: 16px; right: 22px; z-index: 2; }
.gallery { background: var(--paper); overflow-y: auto; }
.gallery-bar { position: sticky; top: 0; background: var(--paper); display: flex; justify-content: space-between; align-items: center; padding-block: 18px; z-index: 2; }
.gallery-bar h2 { font-size: 32px; }
.gallery-bar .lb-close { color: var(--ink); }
.gallery-grid { columns: 3 280px; column-gap: 12px; padding-bottom: 60px; }
.gallery-grid .ph { margin-bottom: 12px; break-inside: avoid; }

@media (max-width: 1000px) {
  .nav-links, .brand-place { display: none; }
  .menu-btn { display: block; }
  .chapter, .chapter.flip { grid-template-columns: 1fr; }
  .chapter.flip .ch-text { order: 0; }
  .ch-text, .chapter.flip .ch-text { padding: 0 var(--pad); }
  .ch-sticky { position: static; min-height: 0; padding-block: 90px 50px; }
  .ch-media .tall .ph img { height: 80vh; min-height: 380px; }
  .quotes-col, #prakticno .ch-media { padding: 60px var(--pad) 80px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .rules div { grid-template-columns: 1fr; gap: 2px; }
  .ch-media .pair { grid-template-columns: 1fr; }
  .ch-media .pair .ph img { aspect-ratio: 4/3; }
  .lightbox { grid-template-columns: 44px 1fr 44px; }
  .menu nav a { font-size: 36px; }
  .hero-row { flex-direction: column; align-items: flex-start; }
  .mobile-book {
    display: flex; justify-content: space-between; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    background: var(--ink); color: var(--paper); text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .02em;
    padding: 18px 22px calc(18px + env(safe-area-inset-bottom));
    transform: translateY(100%); transition: transform .5s var(--ease);
  }
  .mobile-book.show { transform: none; }
  .mobile-book span { font-weight: 400; font-size: 13px; opacity: .6; }
  .foot { padding-bottom: 96px; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { height: 100vh; }
  .scroll-cue i { animation: none; }
}

/* ---------- multi-page additions ---------- */

/* the door between pages */
.door { display: none; position: fixed; inset: 0; z-index: 200; pointer-events: none; }
html.js .door { display: block; background: var(--bone); }
html.js .door.cut { background: transparent; }
html.js .door.done { display: none; }
.door img { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.04) brightness(.98); }
html.js .door.leaving { display: block; background: var(--night); opacity: 0; pointer-events: auto; transition: opacity .55s var(--ease); }
.door.leaving img { display: block; }
html.js .door.leaving.shut { opacity: 1; }

/* page openers */
.page-hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: var(--night); color: #fff; }
.page-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.04) brightness(.98); }
.page-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,17,15,.4) 0%, rgba(14,17,15,0) 26%, rgba(14,17,15,0) 48%, rgba(14,17,15,.78) 100%); opacity: 0; transition: opacity 1s var(--ease); }
.page-head { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 var(--pad) clamp(44px, 8vh, 84px); }
.page-head h1 { font-size: clamp(72px, 15vw, 240px); line-height: .9; letter-spacing: -.035em; margin: 0 0 clamp(20px, 3vh, 34px) -.04em; }
.page-sub { font: 300 clamp(19px, 1.7vw, 24px)/1.4 var(--serif); max-width: 34ch; margin: 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.28); opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease) .5s, transform 1s var(--ease) .5s; }
body.opened .page-shade, body.opened .page-sub { opacity: 1; transform: none; }
html:not(.js) .page-shade, html:not(.js) .page-sub { opacity: 1; transform: none; }

/* titles are set letter by letter, each one rising out of the line */
.split .ch { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .14em 0 .2em; margin: -.14em 0 -.2em; }
.split .ch > span { display: inline-block; }
html.js .split .ch > span { transform: translateY(118%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
body.opened .split .ch > span { transform: none; }

/* lead paragraphs: words ink in as you read */

/* score chapter */
.score-ch h2 { font-size: clamp(110px, 14vw, 220px) !important; letter-spacing: -.045em; line-height: .85; }

/* contents list on the home page: hover fills the word with the chapter photo */
.toc { padding: clamp(80px, 11vw, 160px) var(--pad); border-top: 1px solid var(--line); }
.toc ul { list-style: none; margin: 0 auto; padding: 0; max-width: 1360px; border-top: 1px solid var(--line); }
.toc a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px) 40px; align-items: center; gap: 30px; padding: clamp(14px, 2vw, 26px) 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.toc-word {
  font: 300 clamp(60px, 10vw, 168px)/1 var(--serif); letter-spacing: -.035em; color: var(--ink);
  -webkit-background-clip: text; background-clip: text;
  transition: color .7s var(--ease);
}
.toc-note { font-size: 15px; color: var(--text); max-width: 34ch; }
.toc-arrow { font: 300 32px/1 var(--serif); justify-self: end; transition: transform .6s var(--ease); }
@media (hover: hover) {
  /* the chapter photo inside the word only exists where it can be seen (hover), so phones never download it */
  .toc-word { background: var(--img) center 45% / cover; -webkit-background-clip: text; background-clip: text; }
  .toc a:hover .toc-word { color: transparent; }
  .toc a:hover .toc-arrow { transform: translateX(8px); }
}

/* next chapter */
.next { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 86vh; padding: 0 var(--pad) clamp(50px, 8vh, 90px); color: #fff; text-decoration: none; overflow: hidden; background: var(--night); }
.next > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.04) brightness(.98); transition: transform 1.6s var(--ease); }
.next::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,17,15,.78), rgba(14,17,15,.1) 65%); }
.next-label, .next-title { position: relative; z-index: 1; }
.next-label { font-size: 13px; letter-spacing: .04em; opacity: .8; margin-bottom: 12px; }
.next-title { font: 300 clamp(64px, 11vw, 180px)/.92 var(--serif); letter-spacing: -.035em; }
.next-title span { display: inline-block; font-size: .5em; vertical-align: middle; transition: transform .6s var(--ease); }
.next:hover > img { transform: scale(1.03); }
.next:hover .next-title span { transform: translateX(14px); }

.rules-col { justify-content: center; padding: 110px var(--pad) 70px clamp(28px, 5vw, 88px) !important; }
.where-addr { font-size: 14px; color: var(--stone); padding-block: 26px; margin: 0; }

.nav-links a[aria-current] { border-bottom-color: currentColor; }
.foot { align-items: flex-start; flex-wrap: wrap; }
.foot-col { display: flex; flex-direction: column; gap: 4px; }
.foot-name { font: 400 19px/1.2 var(--serif); color: var(--ink); }
.foot-about { max-width: 46ch; margin-top: 6px; color: var(--stone); font-size: 13px; line-height: 1.5; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot-links a:hover { color: var(--ink); }

@media (max-width: 1000px) {
  .toc a { grid-template-columns: 1fr 30px; gap: 4px 16px; }
  .toc-note { grid-column: 1; grid-row: 2; }
  .toc-arrow { grid-row: 1 / 3; grid-column: 2; }
  .rules-col { padding: 20px var(--pad) 80px !important; }
}
main:focus { outline: none; }

/* LANGUAGE: the current one shows, the others drop down on hover */
.langs { position: relative; }
.langs-btn { display: flex; align-items: center; gap: 7px; background: none; border: 0; padding: 8px 0; font-size: 12px; letter-spacing: .12em; cursor: pointer; color: inherit; }
.langs-btn svg { transition: transform .3s var(--ease); }
.langs-list {
  position: absolute; top: 100%; right: -18px; z-index: 5; margin: 0; padding: 8px 0; list-style: none; min-width: 172px;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(12,14,12,.16);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.langs.open .langs-list, .langs:has(:focus-visible) .langs-list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.langs.open .langs-btn svg { transform: rotate(180deg); }
@media (hover: hover) {
  .langs:hover .langs-list { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .langs:hover .langs-btn svg { transform: rotate(180deg); }
}
.nav-links .langs-list a, .langs-list a { display: flex; align-items: baseline; gap: 14px; padding: 9px 18px; border: 0; text-decoration: none; font-size: 14px; letter-spacing: 0; }
.langs-list a b { width: 20px; font-weight: 500; font-size: 11px; letter-spacing: .12em; color: var(--stone); }
.langs-list a:hover { background: var(--bone); }
.langs-list a[aria-current] { color: var(--brass); }
.langs-list a[aria-current] b { color: inherit; }
.langs-m { display: none; margin: 0 22px 0 auto; }
.foot-links .lang-f { letter-spacing: .12em; }
.foot-links .lang-f[aria-current] { color: var(--ink); }
@media (max-width: 1000px) { .langs-m { display: block; } }

/* ENQUIRY */
.ask {
  width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 0;
  background: var(--paper); color: var(--ink); overflow-y: auto; box-shadow: 0 30px 80px rgba(12,14,12,.35);
}
.ask::backdrop { background: rgba(14,17,15,.72); }
.ask[open] { animation: ask-in .5s var(--ease); }
.ask[open]::backdrop { animation: ask-fade .4s ease; }
@keyframes ask-in { from { opacity: 0; transform: translateY(18px); } }
@keyframes ask-fade { from { opacity: 0; } }
.ask-form { position: relative; padding: clamp(28px, 5vw, 52px); }
.ask-close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font: 300 36px/1 var(--serif); padding: 8px; cursor: pointer; opacity: .55; }
.ask-close:hover { opacity: 1; }
.ask h2 { font-size: clamp(38px, 5vw, 56px); margin-bottom: 14px; }
.ask-lead { color: var(--text); max-width: 46ch; margin-bottom: 30px; }
.ask-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; margin-bottom: 26px; }
.ask-grid .wide { grid-column: 1 / -1; }
.ask-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--stone); }
.ask-grid label i { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .7; }
.ask-grid input, .ask-grid select, .ask-grid textarea {
  font: 400 16px/1.4 var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(20,21,18,.28);
  border-radius: 0; padding: 8px 0 9px; width: 100%; min-width: 0; transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.ask-grid select { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23141512'/%3E%3C/svg%3E") no-repeat right 2px center; cursor: pointer; }
.ask-grid textarea { resize: vertical; }
.ask-grid input:focus, .ask-grid select:focus, .ask-grid textarea:focus { outline: none; border-bottom-color: var(--ink); }
.ask-grid .bad { border-bottom-color: #a0412d; }
.ask-grid .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ask-status { min-height: 1.4em; font-size: 14px; color: var(--stone); margin-bottom: 14px; }
.ask-status.err { color: #a0412d; }
.ask-status a { color: inherit; }
.ask .btn { width: 100%; }
.ask .btn:disabled { opacity: .5; cursor: progress; }
.ask-done h2 { margin-bottom: 18px; }
.ask-done p { color: var(--text); margin-bottom: 30px; }
@media (max-width: 520px) { .ask-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ask[open], .ask[open]::backdrop { animation: none; } }
.ask h2:focus { outline: none; }

/* 404 */
.nf-main { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 0 var(--pad); max-width: 900px; }
.nf-main h1 { font-size: clamp(80px, 16vw, 200px); margin: 0; }
