/* ==========================================================================
   NADIIA — base.css
   Tokens · reset · a11y · nav · mobile menu · buttons · icons · footer ·
   booking modal · flowers · grain · utility pages
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  /* brand: gold */
  --gold-50:  #FBF4E6;
  --gold-200: #E6CE9C;
  --gold-300: #D8B570;
  --gold-400: #C79F52;
  --gold-500: #B58E4C;
  --gold-600: #9E7A3D;
  --gold-700: #7E6030;

  /* brand: brown */
  --brown-600: #3C2C20;
  --brown-700: #2E2118;
  --brown-800: #241A12;

  /* cream / neutrals */
  --cream-50:  #FDFAF4;
  --cream-100: #FBF6EE;
  --cream-200: #F6EEE0;
  --cream-300: #F1E6D3;
  --cream-400: #E7D8C0;
  --hero-cream: #F1E5D2;

  /* ink */
  --ink-900: #2E2115;
  --ink-700: #4A3B2C;
  --ink-500: #6E5D4C;
  --ink-400: #93826E;
  --ink-300: #B6A88F;

  /* semantic */
  --text-heading: var(--gold-700);
  --error-500: #B4553E;

  /* type — Inter holds ONLY digits 0-9; letters fall through to serif/sans */
  --font-display: 'Inter', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', 'Montserrat', system-ui, sans-serif;

  /* layout */
  --container-max: 1200px;
  --pad-x: clamp(24px, 6vw, 90px);
  --nav-h: 99px;

  /* radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* shadows — warm, brown-tinted */
  --shadow-3: 0 24px 60px rgba(46,33,21,.22), 0 8px 24px rgba(46,33,21,.14);

  /* motion */
  --ease-standard: cubic-bezier(.4, 0, .2, 1);
  --ease-lux: cubic-bezier(.22, .61, .36, 1);
  --dur-fast: 150ms;
  --dur-medium: 300ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* reserve the scrollbar gutter from the very first paint: the preloader
     and modals toggle overflow, and the viewport width must never change */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--cream-100);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: 'lnum' 1, 'pnum' 1;
}

h1, h2, h3, h4, p { margin: 0; }

img { max-width: 100%; height: auto; }

a { color: var(--gold-600); }

button { font-family: var(--font-body); }

::selection { background: rgba(181,142,76,.25); }

/* ---------- preloader ---------- */
.pre-curtain {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--hero-cream);
}
.pre-ui {
  position: fixed;
  inset: 0;
  z-index: 201;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.pre-logo {
  width: min(440px, 60vw);
  height: auto;
  display: block;
  opacity: 0;
  transform-origin: top left;
  will-change: transform, opacity;
}
.pre-track {
  width: 240px;
  height: 2px;
  background: rgba(181,142,76,.22);
  margin-top: 34px;
  overflow: hidden;
  opacity: 0;
}
.pre-bar {
  width: 100%;
  height: 100%;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
}
.pre-pct {
  margin-top: 14px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 11px;
  letter-spacing: .3em;
  color: #8A6F4D;
  opacity: 0;
}
/* сабсторінки: контент прихований, поки шторка не почала розкриватись —
   initReveals знімає клас і підхоплює анімації рівно в цей момент */
.nd-preloading [data-reveal],
.nd-preloading [data-line],
.nd-preloading [data-imgreveal] { opacity: 0; }

/* MPA view transitions: плавний перехід між сторінками (Chromium; інші ігнорують) */
@view-transition { navigation: auto; }

/* ---------- accessibility ---------- */
:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 2px;
}

/* skip-link: невидимий, доки не отримає клавіатурний фокус
   (visibility ховає і тінь — вона не має визирати з-за краю екрана) */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 12px 22px;
  background: var(--brown-600);
  color: var(--cream-100);
  font-size: 13px;
  letter-spacing: .06em;
  text-decoration: none;
  border-radius: 4px;
  visibility: hidden;
  transform: translateY(calc(-100% - 20px));
}
.skip-link:focus {
  visibility: visible;
  transform: translateY(0);
  box-shadow: 0 10px 30px rgba(36,26,18,.35);
}
main:focus { outline: none; }

a, button { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }

[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (hover: none) {
  a:active, button:active { opacity: .82; }
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 500;
}

.eyebrow-row { display: flex; align-items: center; gap: 22px; }
.eyebrow-row .rule { height: 1px; flex: 1; background: var(--gold-300); opacity: .6; }

.line-mask { overflow: hidden; }
.line-mask > * { will-change: transform; }

/* ---------- inline arrow icon ---------- */
.ar-svg {
  width: .85em;
  height: .85em;
  fill: currentColor;
  display: inline-block;
  vertical-align: -.08em;
  flex: none;
}
.ar-svg--left { transform: scaleX(-1); }
.ar-svg--up { transform: rotate(-90deg); }

/* ---------- icon mask helper ---------- */
.icn {
  display: inline-block;
  flex: none;
  background: var(--gold-500);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.icn-lotus     { -webkit-mask-image: url('../assets/icons/lotus.svg'); mask-image: url('../assets/icons/lotus.svg'); }
.icn-flower    { -webkit-mask-image: url('../assets/icons/flower.svg'); mask-image: url('../assets/icons/flower.svg'); }
.icn-heart     { -webkit-mask-image: url('../assets/icons/heart.svg'); mask-image: url('../assets/icons/heart.svg'); }
.icn-gem       { -webkit-mask-image: url('../assets/icons/gem.svg'); mask-image: url('../assets/icons/gem.svg'); }
.icn-star      { -webkit-mask-image: url('../assets/icons/star.svg'); mask-image: url('../assets/icons/star.svg'); }
.icn-shield    { -webkit-mask-image: url('../assets/icons/shield-check.svg'); mask-image: url('../assets/icons/shield-check.svg'); }
.icn-sparkles  { -webkit-mask-image: url('../assets/icons/sparkles.svg'); mask-image: url('../assets/icons/sparkles.svg'); }
.icn-droplet   { -webkit-mask-image: url('../assets/icons/droplet.svg'); mask-image: url('../assets/icons/droplet.svg'); }
.icn-foot      { -webkit-mask-image: url('../assets/icons/foot.svg'); mask-image: url('../assets/icons/foot.svg'); }
.icn-phone     { -webkit-mask-image: url('../assets/icons/phone.svg'); mask-image: url('../assets/icons/phone.svg'); }
.icn-clock     { -webkit-mask-image: url('../assets/icons/clock.svg'); mask-image: url('../assets/icons/clock.svg'); }
.icn-map-pin   { -webkit-mask-image: url('../assets/icons/map-pin.svg'); mask-image: url('../assets/icons/map-pin.svg'); }
.icn-instagram { -webkit-mask-image: url('../assets/icons/instagram.svg'); mask-image: url('../assets/icons/instagram.svg'); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 26px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--dur-fast) var(--ease-standard),
              color var(--dur-fast) var(--ease-standard),
              border-color var(--dur-fast) var(--ease-standard);
}
.btn-sm { height: 38px; padding: 0 18px; font-size: 13px; }
.btn-lg { height: 56px; padding: 0 34px; font-size: 15px; }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--gold-500);
  color: var(--cream-50);
  border-color: var(--gold-500);
}
.btn-primary:hover { background: var(--gold-600); border-color: var(--gold-600); }
.btn-primary:active { background: var(--gold-700); border-color: var(--gold-700); }

.btn-secondary {
  background: transparent;
  color: var(--gold-600);
  border-color: var(--gold-400);
}
.btn-secondary:hover { background: var(--gold-50); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 72px);
  background: transparent;
  transition: background-color .6s ease, padding .6s ease;
}
.nav.is-scrolled {
  background: rgba(251,246,238,.96);
  box-shadow: 0 1px 0 rgba(181,142,76,.16), 0 10px 34px rgba(60,44,32,.07);
  padding: 12px clamp(20px, 5vw, 72px);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 55px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); }

.nav-link {
  position: relative;
  display: inline-block;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-700);
  opacity: .85;
  text-decoration: none;
  padding-bottom: 7px;
  transition: opacity .32s var(--ease-lux), color .32s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold-500);
  opacity: 0;
  transition: opacity .35s var(--ease-lux);
}
.nav-link:hover { opacity: 1; color: var(--gold-600); }
.nav-link:hover::after { opacity: 1; }
.nav-link.is-active { color: var(--gold-600); opacity: 1; }
.nav-link.is-active::after { opacity: 1; }

.nav-cta { flex: none; text-decoration: none; }

/* dropdown submenu (desktop) */
.nav-menu { position: relative; }
.nav-menu::after {
  content: '';
  position: absolute;
  left: -14px; right: -14px; top: 100%;
  height: 16px;
}
.nav-sub {
  position: absolute;
  top: calc(100% + 13px);
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  min-width: 212px;
  padding: 10px 0;
  background: rgba(251,246,238,.98);
  border: 1px solid var(--cream-400);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(60,44,32,.16);
  transition: opacity .32s ease, visibility 0s linear .32s;
}
.nav-menu:hover .nav-sub,
.nav-menu:focus-within .nav-sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .32s ease;
}
.nav-sub a {
  display: block;
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-700);
  text-decoration: none;
  white-space: nowrap;
  transition: color .25s ease, background-color .25s ease;
}
.nav-sub a:hover { color: var(--gold-600); background: rgba(181,142,76,.07); }

/* burger */
.nav-burger {
  display: none;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0;
}
.nav-burger .bar1,
.nav-burger .bar2 { display: block; width: 26px; height: 2px; background: var(--ink-900); }

/* ---------- fullscreen mobile menu ---------- */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: linear-gradient(180deg, #FBF6EE 0%, #F2E7D5 100%);
  display: flex;
  flex-direction: column;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) 26px calc(env(safe-area-inset-bottom, 0px) + 30px);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  overscroll-behavior: contain;
}
.mmenu-head { display: flex; align-items: center; justify-content: space-between; }
.mmenu-head img { height: 30px; width: auto; display: block; }

/* хрестик — у колі, обидві риски одного кольору (у тон закриттю модалки) */
.mmenu-close {
  width: 44px;
  height: 44px;
  background: none;
  border: 1px solid var(--gold-300);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  padding: 0;
  transition: border-color .3s ease;
}
.mmenu-close:active { border-color: var(--gold-500); }
.mmenu-close .x1,
.mmenu-close .x2 {
  position: absolute;
  left: 50%; top: 50%;
  width: 16px; height: 1.5px;
  margin: -0.75px 0 0 -8px;
  background: var(--ink-900);
}
.mmenu-close .x1 { transform: rotate(45deg); }
.mmenu-close .x2 { transform: rotate(-45deg); }

/* пункти: золотий індекс + тонкі розділювачі; активна сторінка — курсивом золотом */
.mmenu-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mmenu-link {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: clamp(16px, 3dvh, 26px) 0;
  border-top: 1px solid rgba(181,142,76,.22);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 8.4vw, 42px);
  color: var(--ink-900);
  text-decoration: none;
  line-height: 1.1;
}
.mmenu-link:last-child { border-bottom: 1px solid rgba(181,142,76,.22); }
.mmenu-link:active .mmenu-word { color: var(--gold-600); }
.mmenu-num {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3em;
  color: var(--gold-500);
}
.mmenu-word { transition: color .3s ease; }
.mmenu-link.is-active .mmenu-word { font-style: italic; color: var(--gold-600); }

.mmenu-foot { display: flex; flex-direction: column; gap: 20px; }
.mmenu-foot-row { display: flex; align-items: center; justify-content: space-between; }
.mmenu-phone {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink-700);
  text-decoration: none;
  font-weight: 500;
}
.mmenu-insta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-600);
  text-decoration: none;
}
.mmenu-insta .icn { width: 16px; height: 16px; background: var(--gold-600); }

/* ---------- section flowers ---------- */
.secflower { position: absolute; pointer-events: none; }
.secflower .flower-img { max-width: 50px; height: auto; }
@media (max-width: 920px) {
  .secflower .flower-img { max-width: 40px; opacity: .75; }
}
.secflower-in { display: block; transform-origin: 50% 90%; }
.mouse-layer { display: block; will-change: transform; }
.flower-img {
  display: block;
  width: auto;
  transform-origin: 50% 90%;
  filter: drop-shadow(0 16px 26px rgba(60,44,32,.15));
}

/* ---------- grain ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: .045;
  mix-blend-mode: multiply;
  background-image: url('data:image/svg+xml;utf8,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22240%22 height=%22240%22%3E%3Cfilter id=%22n%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%220.9%22 numOctaves=%222%22/%3E%3C/filter%3E%3Crect width=%22240%22 height=%22240%22 filter=%22url(%23n)%22/%3E%3C/svg%3E');
}

/* ---------- footer (dark, shared) ---------- */
.footer {
  position: relative;
  background: linear-gradient(180deg, var(--brown-700) 0%, var(--brown-800) 100%);
  color: var(--cream-100);
  padding: clamp(120px, 18vh, 200px) var(--pad-x) 0;
  overflow: hidden;
}
.footer-glow {
  position: absolute;
  top: -10vh; left: 30vw;
  width: 40vw; height: 50vh;
  background: radial-gradient(ellipse at center, rgba(181,142,76,.12) 0%, rgba(181,142,76,0) 70%);
  pointer-events: none;
}
.footer-inner { max-width: 1160px; margin: 0 auto; }

.footer-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(80px, 12vh, 130px);
}
.footer-cta .icn { width: 34px; height: 34px; background: var(--gold-300); margin-bottom: 34px; }
.footer-cta h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 5.8vw, 78px);
  line-height: 1.08;
  color: var(--cream-100);
}
.footer-cta h2 em { font-style: italic; color: var(--gold-300); }
.footer-cta .btn { margin-top: 46px; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(40px, 5vw, 70px);
  padding: clamp(48px, 7vh, 70px) 0;
  border-top: 1px solid rgba(251,246,238,.12);
}
.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-label { display: flex; align-items: center; gap: 12px; }
.footer-label .icn { width: 20px; height: 20px; background: var(--gold-300); }
.footer-label span:last-child {
  font-size: 10.5px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.footer-big {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.5;
  color: var(--cream-100);
  text-decoration: none;
}
a.footer-big:hover { color: var(--gold-200); }
.footer-note {
  margin-top: -8px;
  font-size: 13.5px;
  line-height: 1.8;
  font-weight: 300;
  color: rgba(251,246,238,.6);
}
.footer-minor {
  color: var(--gold-300);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(216,181,112,.4);
  align-self: flex-start;
  padding-bottom: 5px;
  transition: color var(--dur-fast) ease;
}
.footer-minor:hover { color: var(--gold-200); }
.footer-insta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(251,246,238,.7);
  font-size: 13.5px;
  font-weight: 300;
  text-decoration: none;
  transition: color var(--dur-fast) ease;
}
.footer-insta:hover { color: var(--cream-50); }
.footer-insta .icn { width: 17px; height: 17px; background: var(--gold-300); }

.footer-logo { display: flex; justify-content: center; padding: clamp(20px, 4vh, 40px) 0 0; }
.footer-logo img { width: min(760px, 86vw); height: auto; opacity: .92; display: block; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 30px 0 34px;
  margin-top: clamp(24px, 4vh, 44px);
  border-top: 1px solid rgba(251,246,238,.08);
}
.footer-bottom span, .footer-bottom a {
  font-size: 10.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(251,246,238,.35);
  text-decoration: none;
}

/* ---------- scroll lock (no layout shift; --sbw = scrollbar width from JS) ---------- */
body.is-locked { overflow: hidden; padding-right: var(--sbw, 0px); }
@media (min-width: 921px) {
  body.is-locked .nav { padding-right: calc(clamp(20px, 5vw, 72px) + var(--sbw, 0px)); }
}

/* ---------- booking modal ---------- */
.bk-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(46,33,21,.62);
  display: none;
  animation: bkOverlayIn .4s ease both;
}
.bk-overlay.is-open { display: block; }

.bk-panel {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, calc(100vw - 40px));
  max-height: min(92vh, 860px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--cream-50);
  border: 1px solid var(--cream-400);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
  padding: clamp(28px, 4vw, 44px);
  animation: bkPanelIn .5s var(--ease-lux) both;
}

/* soft exit — mirrors the entrance */
.bk-overlay.is-closing { animation: bkOverlayOut .4s ease both; }
.bk-overlay.is-closing .bk-panel { animation: bkPanelOut .4s var(--ease-lux) both; }

@keyframes bkOverlayIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes bkOverlayOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes bkPanelIn {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 20px)) scale(.98); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes bkPanelOut {
  from { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  to   { opacity: 0; transform: translate(-50%, calc(-50% + 16px)) scale(.98); }
}
@keyframes bkSheetIn  { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes bkSheetOut { from { transform: translateY(0); opacity: 1; } to { transform: translateY(100%); opacity: 1; } }
@keyframes bkCheck  { from { stroke-dashoffset: 48; }  to { stroke-dashoffset: 0; } }
@keyframes bkCircle { from { stroke-dashoffset: 214; } to { stroke-dashoffset: 0; } }

.bk-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--cream-400);
  background: var(--cream-100);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-500);
  transition: color var(--dur-medium) ease, border-color var(--dur-medium) ease;
}
.bk-close:hover { color: var(--gold-600); border-color: var(--gold-300); }

.bk-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 30px;
}
.bk-head .icn { width: 26px; height: 26px; margin-bottom: 18px; }
.bk-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 38px);
  color: var(--text-heading);
}
.bk-head p {
  margin: 10px 0 0;
  max-width: 400px;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-500);
}

.bk-form { display: flex; flex-direction: column; gap: 14px; }

.bk-field {
  width: 100%;
  padding: 14px 16px;
  background: var(--cream-50);
  border: 1px solid var(--cream-400);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--ink-900);
  outline: none;
  transition: border-color var(--dur-medium) ease;
  -webkit-appearance: none;
  appearance: none;
}
.bk-field:focus { border-color: var(--gold-400); }
.bk-field::placeholder { color: var(--ink-400); }
textarea.bk-field { resize: vertical; min-height: 76px; }
.bk-field.is-invalid { border-color: var(--error-500); }

/* honeypot — visually removed, still focusable-off for bots */
.bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.bk-expand {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-10px);
  transition: grid-template-rows .6s var(--ease-lux), opacity .5s ease .1s, transform .6s var(--ease-lux);
}
.bk-expand.is-open { grid-template-rows: 1fr; opacity: 1; transform: translateY(0); }
.bk-expand-clip { overflow: hidden; }
.bk-expand-inner { display: flex; flex-direction: column; gap: 14px; padding-bottom: 2px; }

.bk-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bk-lab {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.bk-sticky { margin-top: 8px; }
.bk-submit {
  width: 100%;
  padding: 17px 24px;
  background: var(--gold-500);
  color: var(--cream-50);
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(181,142,76,.35);
  transition: background-color var(--dur-medium) ease;
}
.bk-submit:hover { background: var(--gold-600); }
.bk-submit[disabled] { opacity: .6; cursor: wait; }

.bk-consent-link { color: inherit; text-decoration: underline; }
.bk-consent {
  margin: 4px 0 0;
  text-align: center;
  font-size: 11px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-400);
}

.bk-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--cream-400);
}
.bk-more-note { font-size: 12.5px; font-weight: 300; color: var(--ink-500); }
.bk-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-600);
  padding: 6px;
  border-bottom: 1px solid var(--gold-300);
  transition: color var(--dur-medium) ease, gap var(--dur-medium) var(--ease-lux), border-color var(--dur-medium) ease;
}
.bk-more-btn:hover { color: var(--gold-700); gap: 13px; border-color: var(--gold-500); }

.bk-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-400);
  padding: 6px 0;
  border-bottom: 1px solid var(--cream-400);
  transition: color var(--dur-medium) ease, border-color var(--dur-medium) ease;
}
.bk-back:hover { color: var(--gold-600); border-color: var(--gold-300); }

.bk-callnote {
  display: none;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 16px;
  background: var(--cream-100);
  border: 1px solid var(--gold-200);
  border-radius: 12px;
  animation: bkOverlayIn .6s ease .2s both;
}
.bk-callnote.is-visible { display: flex; }
.bk-callnote .icn { width: 18px; height: 18px; margin-top: 2px; }
.bk-callnote p {
  font-size: 12.5px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-500);
}

.bk-error {
  display: none;
  font-size: 12.5px;
  color: var(--error-500);
  text-align: center;
}
.bk-error.is-visible { display: block; }

.bk-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px 0 10px;
}
.bk-success.is-visible { display: flex; }
.bk-success svg { margin-bottom: 26px; }
.bk-success circle { animation: bkCircle 1s var(--ease-lux) .1s both; }
.bk-success path { animation: bkCheck .7s var(--ease-lux) .8s both; }
.bk-success h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(30px, 3.6vw, 40px);
  color: var(--text-heading);
}
.bk-success p {
  margin: 14px 0 0;
  max-width: 360px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-500);
}
.bk-success .bk-ok {
  margin-top: 30px;
  padding: 15px 44px;
  width: auto;
}

/* ---------- utility pages (404 / 403 / thank-you) ---------- */
.err-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 32px;
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, var(--hero-cream) 0%, var(--cream-100) 100%);
}
.err-code {
  font-family: var(--font-display);
  font-size: clamp(96px, 20vw, 180px);
  font-weight: 500;
  color: var(--gold-500);
  line-height: 1;
  letter-spacing: .02em;
}
.err-page h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 4vw, 38px);
  margin: 16px 0 12px;
  color: var(--text-heading);
}
.err-page p {
  color: var(--ink-500);
  font-size: 16px;
  font-weight: 300;
  max-width: 420px;
  margin: 0 auto 36px;
}
.err-page .icn { width: 34px; height: 34px; margin-bottom: 24px; }
.err-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- responsive: nav / menu / modal sheet ---------- */
@media (max-width: 920px) {
  .nav { padding: calc(env(safe-area-inset-top, 0px) + 12px) 20px 12px; }
  .nav.is-scrolled { padding: calc(env(safe-area-inset-top, 0px) + 8px) 20px 8px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .bk-panel {
    top: auto; left: 0; right: 0; bottom: 0;
    transform: none;
    width: 100%;
    max-width: none;
    max-height: 92dvh;
    border-radius: 22px 22px 0 0;
    animation-name: bkSheetIn;
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
  }
  .bk-sticky {
    position: sticky;
    bottom: 0;
    background: linear-gradient(180deg, rgba(251,246,238,0), var(--cream-50) 30%);
    padding-top: 14px;
  }
  .bk-overlay.is-closing .bk-panel { animation-name: bkSheetOut; }
}
@media (min-width: 921px) {
  .mmenu { display: none; }

  /* detailed form: two columns + tighter rhythm so the whole panel
     fits common desktop viewports without inner scrolling */
  .bk-panel { padding: 30px 40px 28px; }
  .bk-form { gap: 12px; }
  .bk-expand-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
  }
  .bk-2col { display: contents; }
  .bk-expand-inner > .bk-lab:has(textarea) { grid-column: 1 / -1; }
  .bk-expand-inner textarea.bk-field { min-height: 52px; height: 64px; }
  .bk-back { grid-column: 1 / -1; justify-self: start; }
  .bk-head { margin-bottom: 18px; }
  .bk-head p { margin-top: 8px; }
  .bk-consent { margin-top: 2px; }
  .bk-more { margin-top: 6px; padding-top: 12px; }
}
