/* ==========================================================================
   Yarik — site styles
   Palette: ink black, limestone text, desert sand accent
   Type: Instrument Serif (headlines), Manrope (text and interface)
   ========================================================================== */

:root {
  --ink: #0a0a09;
  --coal: #121210;
  --coal-2: #191815;
  --stone: #efe9df;
  --mist: #bfb7a9;
  --dune: #8d8578;
  --sand: #c9a46a;
  --sand-hi: #dcbd86;
  --sand-soft: rgba(201, 164, 106, 0.12);
  --line: rgba(239, 233, 223, 0.1);
  --line-strong: rgba(239, 233, 223, 0.22);
  --danger: #e38b72;

  --f-serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1320px;
  --header-h: 96px;
  --radius: 6px;
  --radius-lg: 18px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);

  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--stone);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--sand); color: var(--ink); }

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

.icon {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  vertical-align: -0.15em;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--sand);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.85rem;
}
.skip-link:focus { top: 12px; }

/* ---------- type primitives ---------- */

.caps,
.eyebrow {
  font-family: var(--f-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 1.4rem;
  color: var(--sand);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.display {
  margin: 0;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(2.7rem, 5.8vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.display .muted { font-style: italic; color: var(--dune); }

.muted { color: var(--dune); }

.lede {
  margin: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.65;
  color: var(--mist);
  max-width: 38ch;
  text-wrap: pretty;
}

.prose p { margin: 0 0 1.15em; max-width: 60ch; color: var(--mist); text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--sand);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(201, 164, 106, 0.45);
  padding-bottom: 4px;
  transition: border-color 0.25s;
}
.text-link .icon { transition: transform 0.3s var(--ease); }
.text-link:hover { border-color: var(--sand); }
.text-link:hover .icon { transform: translateX(4px); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 1.6rem;
  border: 1px solid var(--sand);
  border-radius: 999px;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.btn:hover { background: var(--sand-hi); border-color: var(--sand-hi); box-shadow: 0 10px 30px -12px rgba(201, 164, 106, 0.55); }
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform 0.3s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }

.btn--ghost {
  background: transparent;
  color: var(--stone);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: rgba(239, 233, 223, 0.06); border-color: var(--stone); box-shadow: none; }

.btn--sm { min-height: 42px; padding: 0 1.15rem; font-size: 0.88rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 2.5rem;
  /* line the logo and menu up with the page content on wide screens */
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(10, 10, 9, 0.8);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  margin-right: auto;
}
.brand__mark { width: 68px; height: auto; }
.brand__name {
  font-family: var(--f-serif);
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: -0.01em;
}

.nav ul {
  display: flex;
  gap: 2.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--mist);
  transition: color 0.2s;
  padding-block: 6px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--sand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:hover,
.nav a.is-current { color: var(--stone); }
.nav a:hover::after,
.nav a.is-current::after { transform: scaleX(1); }

.nav__book,
.nav__insta { display: none; }

.header-insta {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-right: -1.4rem;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--mist);
  font-size: 1.15rem;
  transition: color 0.2s, border-color 0.2s;
}
.header-insta:hover { color: var(--sand); border-color: var(--sand); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 8px 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
}
.nav-toggle__bars,
.nav-toggle__bars::before {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--stone);
  transition: transform 0.3s var(--ease);
}
.nav-toggle__bars { position: relative; transform: translateY(-3px); }
.nav-toggle__bars::before { content: ""; position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(-6px) rotate(-90deg); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 6vw, 88px));
  padding-bottom: clamp(56px, 8vw, 110px);
  overflow: hidden;
}
.hero::before {
  /* faint survey grid: land before it's built */
  content: "";
  position: absolute;
  inset: 0 0 35% 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  background-position: -1px -1px;
  opacity: 0.32;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 30% 0%, #000 20%, transparent 75%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: end;
}
.hero__eyebrow { grid-column: 1 / -1; }
.hero__title {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(3.6rem, 10.6vw, 11rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
}
.hero__line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__line > span { display: inline-block; }
.hero__line--accent { font-style: italic; color: var(--sand); padding-left: 0.06em; }

.hero__aside {
  grid-column: 1 / span 7;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 28px;
  align-items: start;
  padding-top: clamp(28px, 3.4vw, 44px);
  margin-top: clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line);
}
.hero__aside p { grid-column: 1 / -1; max-width: 56ch; }
.hero__aside p {
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--mist);
  text-wrap: pretty;
}

.hero__eyebrow { grid-row: 1; }
.hero__title { grid-row: 2; }
.hero__aside { grid-row: 3; }

/* round portrait beside the headline, with a slowly turning ring of text */
.hero__portrait {
  grid-column: 10 / -1;
  grid-row: 2;
  justify-self: end;
  align-self: end;
  position: relative;
  width: clamp(104px, 12vw, 184px);
  aspect-ratio: 1;
  margin-bottom: 0.1em;
}
.hero__portrait img {
  position: absolute;
  inset: 15%;
  width: 70%;
  height: 70%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(201, 164, 106, 0.6), 0 20px 40px -18px rgba(0, 0, 0, 0.9);
}
.hero__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: ring 28s linear infinite; }
.hero__ring text {
  font-family: var(--f-sans);
  font-size: 12.4px;
  font-weight: 600;
  letter-spacing: 3.1px;
  text-transform: uppercase;
  fill: var(--sand);
}
@keyframes ring { to { transform: rotate(360deg); } }
.js .hero__portrait { opacity: 0; transform: scale(0.85) rotate(-12deg); }
.is-loaded .hero__portrait { opacity: 1; transform: none; transition: opacity 1s var(--ease) 0.3s, transform 1.2s var(--ease) 0.3s; }

/* developer logos under the video */
.partners { margin-top: clamp(32px, 4vw, 48px); }
.partners__label { display: flex; align-items: center; gap: 0.85rem; margin: 0 0 16px; color: var(--dune); }
.partners__label::before { content: ""; width: 28px; height: 1px; background: var(--sand); }
.js .partners { opacity: 0; transform: translateY(16px); }
.is-loaded .partners { opacity: 1; transform: none; transition: opacity 0.9s var(--ease) 0.7s, transform 0.9s var(--ease) 0.7s; }

/* intro film */
.film {
  position: relative;
  margin: clamp(40px, 6vw, 72px) 0 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--coal);
  isolation: isolate;
}
.film__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.film__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 9, 0.5) 0%, rgba(10, 10, 9, 0) 30%),
    linear-gradient(0deg, rgba(10, 10, 9, 0.75) 0%, rgba(10, 10, 9, 0) 45%),
    rgba(10, 10, 9, 0.14);
  transition: opacity 0.5s;
  pointer-events: none;
}
.film__frame i {
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: rgba(239, 233, 223, 0.7);
  border-style: solid;
  border-width: 0;
  transition: opacity 0.5s;
}
.film__frame i:nth-child(1) { top: 22px; left: 22px; border-top-width: 1px; border-left-width: 1px; }
.film__frame i:nth-child(2) { top: 22px; right: 22px; border-top-width: 1px; border-right-width: 1px; }
.film__frame i:nth-child(3) { bottom: 22px; left: 22px; border-bottom-width: 1px; border-left-width: 1px; }
.film__frame i:nth-child(4) { bottom: 22px; right: 22px; border-bottom-width: 1px; border-right-width: 1px; }

.film__play {
  position: absolute;
  left: clamp(20px, 3.4vw, 48px);
  bottom: clamp(20px, 3.4vw, 48px);
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.4s;
}
.film__play:disabled { cursor: default; }
.film__play-disc {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(60px, 7vw, 84px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(239, 233, 223, 0.6);
  background: rgba(10, 10, 9, 0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--stone);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  transition: transform 0.4s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.film__play-disc .icon { width: 1em; height: 1em; transform: translateX(2px); }
.film__play:not(:disabled):hover .film__play-disc { transform: scale(1.07); background: var(--sand); border-color: var(--sand); color: var(--ink); }
.film__play:disabled .film__play-disc::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(239, 233, 223, 0.6);
  animation: ripple 2.8s var(--ease) infinite;
}
.film__play-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--stone);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(10, 10, 9, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.film__caption {
  position: absolute;
  right: clamp(20px, 3.4vw, 48px);
  bottom: clamp(20px, 3.4vw, 48px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  color: var(--stone);
  pointer-events: none;
  transition: opacity 0.4s;
}
.film__caption .caps:first-child {
  font-family: var(--f-serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-transform: none;
}
.film.is-playing .film__veil,
.film.is-playing .film__frame i,
.film.is-playing .film__play,
.film.is-playing .film__caption { opacity: 0; pointer-events: none; }

@keyframes ripple {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* timeline */
.timeline {
  list-style: none;
  margin: clamp(36px, 4vw, 52px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.timeline li {
  position: relative;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--dune);
}
.timeline li::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sand);
}
.timeline__year {
  display: block;
  margin-bottom: 6px;
  font-family: var(--f-serif);
  font-size: 2.3rem;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--stone);
}
.timeline li:last-child .timeline__year { color: var(--sand); font-style: italic; }

/* ---------- generic section ---------- */

.section {
  padding-block: clamp(84px, 11vw, 160px);
  border-top: 1px solid var(--line);
}

.section-head { margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .display { margin-bottom: 1.5rem; }
.section-head--split {
  display: grid;
  grid-template-columns: 1fr minmax(0, 420px);
  gap: 32px;
  align-items: end;
}
.section-head--split .display { margin-bottom: 0; }

/* ---------- about ---------- */

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.about__photo { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.about__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: var(--radius-lg);
  background: var(--coal);
}
.about__photo figcaption { margin-top: 14px; color: var(--dune); }
.about__text .display { margin-bottom: 2rem; max-width: 15ch; }
.about__promise {
  margin: 2.25rem 0;
  padding-left: 1.4rem;
  border-left: 1px solid var(--sand);
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 28ch;
}
.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 22px;
}
.facts dt {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dune);
  margin-bottom: 6px;
}
.facts dd { margin: 0; font-size: 0.98rem; font-weight: 500; line-height: 1.4; }

/* ---------- render vs. site ---------- */

.onsite .section-head { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 0 32px; align-items: end; }
.onsite .section-head .eyebrow { grid-column: 1 / -1; }
.onsite .section-head .display { margin: 0; }

.compare {
  --pos: 56%;
  position: relative;
  aspect-ratio: 3 / 2;
  max-height: 82vh;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  user-select: none;
  background: var(--coal);
  touch-action: pan-y;
}
.compare__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.compare__top {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.compare__tag {
  position: absolute;
  top: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(10, 10, 9, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--stone);
  font-size: 0.64rem;
  pointer-events: none;
}
.compare__tag--left { left: 20px; }
.compare__tag--left::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--sand);
  vertical-align: 1px;
}
.compare__tag--right { right: 20px; color: var(--mist); }
.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--stone);
  pointer-events: none;
}
.compare__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  gap: 2px;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--stone);
  color: var(--ink);
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s var(--ease);
}
.compare__handle .icon { width: 15px; height: 15px; }
.compare__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}
.compare:has(.compare__range:focus-visible) .compare__handle span { outline: 2px solid var(--sand); outline-offset: 3px; }
.compare:has(.compare__range:active) .compare__handle span { transform: translate(-50%, -50%) scale(0.92); }
.compare__hint { margin: 16px 0 0; color: var(--dune); text-align: center; }

.steps {
  list-style: none;
  margin: clamp(56px, 7vw, 96px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.steps li { border-top: 1px solid var(--line-strong); padding-top: 22px; }
.steps__n { color: var(--sand); }
.steps h3 {
  margin: 0.8rem 0 0.5rem;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.steps p { margin: 0; color: var(--mist); max-width: 36ch; }

/* ---------- why RAK ---------- */

.why { background: var(--coal); }
.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
}
.why__head { align-self: start; position: sticky; top: calc(var(--header-h) + 32px); }
.why__head .display { max-width: 12ch; }
.why__list { margin: 0; }
.why__list > div {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.why__list > div:last-child { border-bottom: 1px solid var(--line); }
.why__list dt {
  font-family: var(--f-serif);
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  transition: color 0.3s;
}
.why__list > div:hover dt { color: var(--sand); }
.why__list dd { margin: 0; color: var(--mist); font-size: 1rem; }

/* ---------- areas ---------- */

.areas__wrap {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}
.areas__index { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.areas__tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 20px 0 20px 22px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  text-align: left;
  cursor: pointer;
  color: var(--dune);
  transition: color 0.25s;
}
.areas__tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: var(--sand);
  transform: scaleY(0);
  transition: transform 0.35s var(--ease);
}
.areas__tab-name {
  font-family: var(--f-serif);
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  line-height: 1;
  letter-spacing: -0.015em;
}
.areas__tab-note { font-size: 0.62rem; opacity: 0.85; }
.areas__tab:hover { color: var(--stone); }
.areas__tab[aria-selected="true"] { color: var(--stone); }
.areas__tab[aria-selected="true"]::before { transform: scaleY(1); }
.areas__tab[aria-selected="true"] .areas__tab-name { font-style: italic; }
.areas__tab[aria-selected="true"] .areas__tab-note { color: var(--sand); opacity: 1; }

.area__media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 10;
  background: var(--coal);
}
.area__media img { width: 100%; height: 100%; object-fit: cover; }
.area__body { padding-top: 26px; }
.area__body p { margin: 0 0 1em; max-width: 62ch; color: var(--mist); }
.area__name {
  margin: 0 0 0.75rem;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -0.015em;
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 1.25rem 0 0; padding: 0; }
.tags li {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--stone);
}

@media (min-width: 900px) {
  .area { display: none; }
  .area.is-active { display: block; animation: areaIn 0.6s var(--ease); }
  .area.is-active .area__media img { animation: areaZoom 1.4s var(--ease); }
  .area__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@keyframes areaIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes areaZoom { from { transform: scale(1.06); } to { transform: scale(1); } }

/* ---------- developers ---------- */

.marquee {
  display: grid;
  gap: 14px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__row { overflow: hidden; }
.marquee__track {
  display: flex;
  gap: 14px;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}
.logo-tile {
  flex: none;
  display: grid;
  place-items: center;
  width: clamp(156px, 15vw, 224px);
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(239, 233, 223, 0.02);
  transition: border-color 0.3s, background 0.3s;
}
.logo-tile img {
  width: 62%;
  height: 46%;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.logo-tile:hover { border-color: rgba(201, 164, 106, 0.5); background: var(--coal-2); }
.logo-tile:hover img { opacity: 1; transform: scale(1.05); }

@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; padding-inline: var(--gutter); }
  .marquee__row[data-marquee="right"] { display: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; width: auto; }
}

/* ---------- FAQ ---------- */

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
}
.faq__head { align-self: start; position: sticky; top: calc(var(--header-h) + 32px); }
.faq__head .display { margin-bottom: 1.5rem; }
.faq__head .lede { margin-bottom: 2rem; font-size: 1.02rem; color: var(--dune); }

.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 24px 52px 24px 0;
  font-family: var(--f-serif);
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before,
.faq__list summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--sand);
  transition: transform 0.35s var(--ease);
}
.faq__list summary::after { transform: rotate(90deg); }
.faq__list details[open] summary::after { transform: rotate(0deg); }
.faq__list summary:hover { color: var(--sand-hi); }
.faq__a { padding: 0 0 30px; color: var(--mist); font-size: 1rem; }
.faq__a p { margin: 0 0 1em; max-width: 64ch; }
.faq__a p:last-child { margin-bottom: 0; }
.faq__a ul { margin: 0 0 1em; padding-left: 1.1em; max-width: 64ch; }
.faq__a li { margin-bottom: 0.45em; }
.faq__a li::marker { color: var(--sand); }
.faq__list details[open] .faq__a { animation: areaIn 0.4s var(--ease); }

/* ---------- booking questionnaire ---------- */

.book { background: radial-gradient(ellipse 60% 50% at 80% 10%, rgba(201, 164, 106, 0.07), transparent 70%), var(--ink); }

.qz {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--coal-2), var(--coal) 40%);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.85);
}

/* side panel: who you're booking with, your answers, progress */
.qz__side {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 36px);
  background: var(--ink);
  border-right: 1px solid var(--line);
}
.agent { display: flex; align-items: center; gap: 14px; }
.agent__photo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px rgba(201, 164, 106, 0.6);
}
.agent__name { margin: 0; font-family: var(--f-serif); font-size: 1.4rem; line-height: 1.1; }
.agent__role { margin: 2px 0 0; font-size: 0.82rem; color: var(--dune); }
.qz__title {
  margin: 30px 0 14px;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(2rem, 2.8vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.qz__meta { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.qz__meta li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--mist); }
.qz__meta .icon { width: 17px; height: 17px; color: var(--dune); }

.qz__answers-wrap { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.qz__answers-title { margin: 0 0 12px; color: var(--dune); }
.qz__answers { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.qz__answers-empty { font-size: 0.88rem; color: var(--dune); font-style: italic; }
.qz__answers button {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 10px;
  width: 100%;
  padding: 7px 8px;
  margin: 0 -8px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s;
  animation: areaIn 0.4s var(--ease);
}
.qz__answers button:hover { background: rgba(239, 233, 223, 0.05); }
.qz__answers button:hover .qz__answer-v { color: var(--sand-hi); }
.qz__answer-k { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dune); padding-top: 3px; }
.qz__answer-v { font-size: 0.9rem; font-weight: 500; line-height: 1.4; color: var(--stone); transition: color 0.2s; }

.qz__progress { margin-top: auto; padding-top: 28px; }
.qz__bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.qz__bars span { height: 3px; border-radius: 3px; background: var(--line-strong); overflow: hidden; }
.qz__bars i { display: block; height: 100%; width: var(--fill, 0%); background: var(--sand); transition: width 0.5s var(--ease); }
.qz__bar-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.qz__bar-labels span { font-size: 0.68rem; font-weight: 600; color: var(--dune); transition: color 0.3s; }
.qz__bar-labels span.is-on { color: var(--stone); }

/* main panel: one question at a time */
.qz__main {
  display: flex;
  flex-direction: column;
  min-height: 640px;
  padding: clamp(24px, 4vw, 52px);
}
.qz__count { margin: 0 0 18px; color: var(--sand); }
.qz__form { position: relative; }
.qz__step { display: none; margin: 0; padding: 0; border: 0; min-width: 0; }
.qz__step.is-current { display: block; animation: qzIn 0.5s var(--ease); }
.qz__step.is-current.is-back { animation-name: qzBack; }
@keyframes qzIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes qzBack { from { opacity: 0; transform: translateY(-18px); } to { opacity: 1; transform: none; } }

.qz__q {
  float: left;
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 0;
  margin: 0 0 26px;
  font-family: var(--f-serif);
  font-size: clamp(1.9rem, 3.1vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.qz__q + * { clear: both; }
.qz__n { flex: none; font-family: var(--f-sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; color: var(--sand); transform: translateY(-0.5em); }
.qz__hint { margin: -10px 0 18px; font-size: 0.92rem; color: var(--dune); }
.qz__hint em { font-style: normal; opacity: 0.75; }

.opts { display: grid; gap: 10px; }
.opts--grid { grid-template-columns: 1fr 1fr; }
.opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(239, 233, 223, 0.02);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.25s var(--ease);
}
.opt input,
.tile input,
.later input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.opt__key {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--dune);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.opt__text { font-size: 1.02rem; font-weight: 500; line-height: 1.35; }
.opt__text small { display: block; margin-top: 2px; font-size: 0.82rem; font-weight: 400; color: var(--dune); }
.opt:hover { border-color: rgba(201, 164, 106, 0.6); background: rgba(201, 164, 106, 0.05); transform: translateX(3px); }
.opt:has(input:checked) { border-color: var(--sand); background: var(--sand-soft); }
.opt:has(input:checked) .opt__key { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.opt:has(input:focus-visible),
.tile:has(input:focus-visible),
.later:has(input:focus-visible) .later__box { outline: 2px solid var(--sand); outline-offset: 3px; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: rgba(239, 233, 223, 0.02);
  transition: border-color 0.2s, transform 0.25s var(--ease);
}
.tile img,
.tile__icon { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 0.6s var(--ease), filter 0.3s; filter: saturate(0.85) brightness(0.85); }
.tile__icon { display: grid; place-items: center; font-family: var(--f-serif); font-size: 2.6rem; color: var(--dune); background: rgba(239, 233, 223, 0.03); filter: none; }
.tile > span:last-child { padding: 11px 14px; font-size: 0.9rem; font-weight: 500; }
.tile::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid rgba(239, 233, 223, 0.8);
  background: rgba(10, 10, 9, 0.35) center / 14px no-repeat;
  transition: background-color 0.2s, border-color 0.2s;
}
.tile:hover { border-color: rgba(201, 164, 106, 0.6); transform: translateY(-2px); }
.tile:hover img { transform: scale(1.04); filter: none; }
.tile:has(input:checked) { border-color: var(--sand); }
.tile:has(input:checked) img { filter: none; }
.tile:has(input:checked)::after {
  border-color: var(--sand);
  background-color: var(--sand);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%230a0a09' stroke-width='2.6'/%3E%3C/svg%3E");
}

.fields {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(239, 233, 223, 0.025);
}
.fld { display: block; padding: 13px 18px 11px; cursor: text; transition: background 0.2s; }
.fld:first-child { border-radius: 16px 16px 0 0; }
.fld:last-child { border-radius: 0 0 16px 16px; }
.fld + .fld { border-top: 1px solid var(--line); }
.fld:focus-within { background: rgba(201, 164, 106, 0.06); }
.fld__label { display: block; font-size: 0.74rem; font-weight: 600; color: var(--dune); transition: color 0.2s; }
.fld__label em { font-style: normal; font-weight: 400; opacity: 0.75; margin-left: 4px; }
.fld:focus-within .fld__label { color: var(--sand); }
.fld input,
.phone select {
  display: block;
  width: 100%;
  padding: 5px 0 2px;
  border: 0;
  background: transparent;
  font-size: 1.08rem;
  font-weight: 500;
  outline: none;
}
.fld input::placeholder { color: rgba(141, 133, 120, 0.55); font-weight: 400; }
.phone { display: flex; align-items: center; gap: 12px; }
.phone select {
  width: auto;
  flex: none;
  padding-right: 12px;
  border-right: 1px solid var(--line-strong);
  cursor: pointer;
}
.phone select option { background: var(--coal); color: var(--stone); }
.fld.is-invalid { background: rgba(227, 139, 114, 0.07); }
.fld.is-invalid .fld__label { color: var(--danger); }

/* time picker */
.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 14px; }
.day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 4px 9px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(239, 233, 223, 0.02);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.day__dow { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dune); }
.day__num { font-family: var(--f-serif); font-size: 1.9rem; line-height: 1; }
.day__free { font-size: 0.66rem; color: var(--dune); }
.day:hover { border-color: rgba(201, 164, 106, 0.6); }
.day[aria-selected="true"] { border-color: var(--sand); background: var(--sand-soft); }
.day[aria-selected="true"] .day__num { color: var(--sand-hi); }

.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(239, 233, 223, 0.025);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.slot__time { font-size: 0.95rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.slot__sub { font-size: 0.64rem; color: var(--dune); font-variant-numeric: tabular-nums; }
.slot:hover:not(:disabled) { border-color: var(--sand); background: var(--sand-soft); transform: translateY(-1px); }
.slot[aria-pressed="true"] { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.slot[aria-pressed="true"] .slot__sub { color: rgba(10, 10, 9, 0.65); }
.slot:disabled {
  cursor: not-allowed;
  border-color: rgba(141, 133, 120, 0.18);
  background: repeating-linear-gradient(135deg, rgba(141, 133, 120, 0.1) 0 2px, transparent 2px 8px);
}
.slot:disabled .slot__time { color: var(--dune); text-decoration: line-through; text-decoration-color: rgba(141, 133, 120, 0.7); }
.slots.is-fresh .slot { animation: slotIn 0.4s var(--ease) both; animation-delay: calc(var(--i) * 22ms); }
.slots.is-fresh .slot:disabled { animation: slotIn 0.4s var(--ease) both, land 0.6s var(--ease) both; animation-delay: calc(var(--i) * 22ms), calc(450ms + var(--k) * 160ms); }
@keyframes slotIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes land {
  0% { box-shadow: 0 0 0 0 rgba(201, 164, 106, 0.5); }
  100% { box-shadow: 0 0 0 7px rgba(201, 164, 106, 0); }
}
.qz__step.is-later .days,
.qz__step.is-later .slots { opacity: 0.35; transition: opacity 0.3s; }

.later { display: block; margin-top: 16px; cursor: pointer; }
.later__box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  transition: border-color 0.2s, background 0.2s;
}
.later__check {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  color: transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.later__check .icon { width: 14px; height: 14px; }
.later__box strong { display: block; font-weight: 600; font-size: 0.98rem; }
.later__box small { display: block; font-size: 0.84rem; color: var(--dune); }
.later:hover .later__box { border-color: rgba(201, 164, 106, 0.6); }
.later:has(input:checked) .later__box { border-style: solid; border-color: var(--sand); background: var(--sand-soft); }
.later:has(input:checked) .later__check { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.later__when { margin-top: 18px; animation: areaIn 0.35s var(--ease); }
.later__when .qz__hint { margin: 0 0 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--mist);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.chip:hover span { border-color: var(--stone); color: var(--stone); }
.chip input:checked + span { border-color: var(--sand); color: var(--ink); background: var(--sand); }
.chip input:focus-visible + span { outline: 2px solid var(--sand); outline-offset: 2px; }

/* last step */
.qz__note {
  display: block;
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(239, 233, 223, 0.025);
  font-size: 1rem;
  line-height: 1.55;
  resize: vertical;
  min-height: 110px;
  outline: none;
  transition: border-color 0.2s;
}
.qz__note:focus { border-color: var(--sand); }
.qz__note::placeholder { color: rgba(141, 133, 120, 0.6); }
.recap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(239, 233, 223, 0.025);
}
.recap .icon { width: 22px; height: 22px; color: var(--sand); flex: none; }
.recap__k { display: block; font-size: 0.62rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dune); }
.recap__v { display: block; font-family: var(--f-serif); font-size: 1.45rem; line-height: 1.15; }
.recap__s { display: block; font-size: 0.84rem; color: var(--dune); }
.qz__error {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(227, 139, 114, 0.09);
  color: #f1c4b6;
  font-size: 0.92rem;
}
.qz__error a { color: var(--sand-hi); }
.qz__send { margin-top: 18px; min-height: 56px; font-size: 1rem; }
.qz__send.is-loading { pointer-events: none; opacity: 0.85; }
.qz__send.is-loading .icon { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.qz__fine { margin: 12px 0 0; text-align: center; font-size: 0.78rem; color: var(--dune); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* nav */
.qz__nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 30px;
}
.qz__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 4px;
  border: 0;
  background: none;
  color: var(--mist);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
}
.qz__back:hover { color: var(--stone); }
.qz__kbd { margin-left: auto; font-size: 0.78rem; color: var(--dune); }
.qz__kbd kbd {
  display: inline-block;
  min-width: 22px;
  padding: 1px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-family: var(--f-sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  color: var(--mist);
}
.qz__next { margin-left: 0; }
.qz__next:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; background: var(--sand); }
.qz__nav.is-last .qz__next,
.qz__nav.is-last .qz__kbd { display: none; }

/* done */
.qz__done { margin: auto 0; text-align: center; padding: clamp(24px, 5vw, 56px) 0; animation: qzIn 0.6s var(--ease); }
.qz__done:focus { outline: none; }
.done__stamp {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 1px solid var(--sand);
  color: var(--sand);
  font-size: 1.9rem;
  animation: stamp 0.7s var(--ease);
}
@keyframes stamp { 0% { transform: scale(1.6) rotate(-8deg); opacity: 0; } 60% { transform: scale(0.94); opacity: 1; } 100% { transform: none; } }
.done__label { margin: 0; color: var(--sand); }
.done__time { margin: 12px 0 0; font-family: var(--f-serif); font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -0.02em; }
.done__time small { display: block; margin-top: 10px; font-family: var(--f-sans); font-size: 0.85rem; letter-spacing: 0; color: var(--dune); }
.done__text { margin: 20px auto 30px; max-width: 44ch; color: var(--mist); }
.qz__done .btn-row { justify-content: center; }

/* direct contact under the questionnaire */
.direct { list-style: none; margin: 0; padding: 0; }
.direct--row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.direct a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}
.direct a:hover { border-color: rgba(201, 164, 106, 0.6); color: var(--sand-hi); }
.direct .icon { width: 20px; height: 20px; color: var(--sand); }
.direct a > span { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; overflow-wrap: anywhere; }
.direct small { font-size: 0.6rem; color: var(--dune); }

/* ---------- intro film: end screen + transcript ---------- */

.film__end {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  text-align: center;
  background: rgba(10, 10, 9, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: qzIn 0.6s var(--ease);
}
.film__end-label { margin: 0; color: var(--sand); }
.film__end-title {
  margin: 0 0 8px;
  font-family: var(--f-serif);
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.film__end-title em { color: var(--sand); }
.film__end .btn-row { justify-content: center; }
.film__end-ig { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--mist); font-size: 0.9rem; text-decoration: none; }
.film__end-ig:hover { color: var(--sand); }
.film.is-ended .film__play,
.film.is-ended .film__caption,
.film.is-ended .film__frame i { opacity: 0; pointer-events: none; }

.transcript { margin-top: 18px; border-bottom: 1px solid var(--line); }
.transcript summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 14px;
  list-style: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--mist);
  transition: color 0.2s;
}
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary::before {
  content: "+";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 0.85rem;
  line-height: 1;
  transition: transform 0.3s var(--ease), border-color 0.2s;
}
.transcript[open] summary::before { transform: rotate(45deg); border-color: var(--sand); }
.transcript summary:hover { color: var(--stone); }
.transcript__text { padding: 4px 0 26px; columns: 2 320px; column-gap: 48px; animation: areaIn 0.4s var(--ease); }
.transcript__text p { margin: 0 0 1em; color: var(--mist); font-size: 0.98rem; break-inside: avoid; }

.area__more { margin-top: 22px; }
.footer__legal a,
.qz__fine a { color: inherit; text-underline-offset: 3px; }
.footer__legal a:hover,
.qz__fine a:hover { color: var(--sand); }

/* ---------- area guides, privacy, 404 ---------- */

.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(28px, 5vw, 64px));
  padding-bottom: clamp(48px, 7vw, 96px);
}
.page-hero--plain { padding-bottom: clamp(24px, 4vw, 48px); }
.page-hero--404 { min-height: 82vh; }

.crumbs { margin-bottom: clamp(28px, 4vw, 48px); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 0.85rem; color: var(--dune); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.crumbs a { color: var(--mist); text-decoration: none; }
.crumbs a:hover { color: var(--sand); }
.crumbs [aria-current] { color: var(--stone); }

.page-title {
  margin: 0;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(3.1rem, 8vw, 7.2rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.page-title em { color: var(--sand); }
.page-hero__lede { margin: 24px 0 32px; max-width: 46ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.page-media { margin: clamp(40px, 5vw, 64px) 0 0; }
.page-media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius-lg); background: var(--coal); }
.page-media figcaption { margin-top: 12px; color: var(--dune); }

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.page-prose h2 {
  margin: 2.2em 0 0.6em;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.page-prose h2:first-child { margin-top: 0; }
.page-prose p { margin: 0 0 1.1em; max-width: 64ch; color: var(--mist); }
.page-prose a { color: var(--sand-hi); }
.page-prose--narrow { max-width: 760px; }
.ticks { list-style: none; margin: 0 0 1.2em; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: var(--stone); max-width: 62ch; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 16px;
  height: 9px;
  border-left: 1.5px solid var(--sand);
  border-bottom: 1.5px solid var(--sand);
  transform: rotate(-45deg);
}

.facts-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--coal-2), var(--coal));
}
.facts-card__title { margin: 0 0 8px; color: var(--sand); }
.facts-card dl { margin: 0 0 22px; }
.facts-card dl > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts-card dt { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dune); margin-bottom: 4px; }
.facts-card dd { margin: 0; font-size: 0.98rem; line-height: 1.45; }
.facts-card__ig { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--mist); font-size: 0.88rem; text-decoration: none; }
.facts-card__ig:hover { color: var(--sand); }

.area-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.area-cards--compact { grid-template-columns: repeat(5, 1fr); margin-top: clamp(40px, 6vw, 72px); }
.area-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  background: rgba(239, 233, 223, 0.02);
  transition: border-color 0.25s, transform 0.3s var(--ease);
}
.area-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; filter: saturate(0.9) brightness(0.9); transition: filter 0.3s; }
.area-card__name { padding: 14px 16px 0; font-family: var(--f-serif); font-size: 1.55rem; line-height: 1.1; }
.area-card__note { padding: 6px 16px 18px; font-size: 0.86rem; color: var(--dune); }
.area-cards--compact .area-card__name { padding-bottom: 14px; font-size: 1.3rem; }
.area-card:hover { border-color: rgba(201, 164, 106, 0.6); transform: translateY(-3px); }
.area-card:hover img { filter: none; }
.area-card:hover .area-card__name { color: var(--sand-hi); }

.cta-band { background: var(--coal); }
.cta-band__inner { display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: 32px 64px; align-items: end; }
.cta-band .display em { color: var(--sand); }
.cta-band .lede { margin-bottom: 24px; }

@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .area-cards { grid-template-columns: repeat(2, 1fr); }
  .area-cards--compact { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 899px) {
  .page-grid,
  .cta-band__inner { grid-template-columns: 1fr; }
  .facts-card { position: static; }
  .page-media img { aspect-ratio: 16 / 10; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .film__end { gap: 10px; padding: 16px; }
  .film__end-title { font-size: 1.6rem; margin-bottom: 2px; }
  .film__end .btn { min-height: 42px; padding: 0 1rem; font-size: 0.85rem; }
  .film__end-ig,
  .film__end-label { display: none; }
  .area-cards,
  .area-cards--compact { grid-template-columns: 1fr 1fr; gap: 10px; }
  .area-card__name { font-size: 1.2rem; padding: 10px 12px 0; }
  .area-card__note { display: none; }
  .area-card__name { padding-bottom: 12px; }
}

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 96px) 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr; gap: 32px; }
.footer__brand { display: flex; gap: 16px; align-items: flex-start; }
.footer__brand img { width: 52px; }
.footer__brand p { margin: 0; font-family: var(--f-serif); font-size: 1.9rem; line-height: 1.05; }
.footer__brand .muted { display: block; margin-top: 8px; font-family: var(--f-sans); font-size: 0.85rem; line-height: 1.6; font-style: normal; }
.footer__nav,
.footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer__nav a,
.footer__contact a { text-decoration: none; color: var(--mist); font-size: 0.95rem; transition: color 0.2s; width: max-content; }
.footer__nav a:hover,
.footer__contact a:hover { color: var(--sand); }
.footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--dune);
  font-size: 0.6rem;
  line-height: 1.8;
}
.footer__legal p { margin: 0; max-width: 64ch; }

/* floating WhatsApp */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
  font-size: 1.45rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(120px);
  transition: transform 0.45s var(--ease), background 0.2s;
}
.wa-float.is-visible { transform: none; }
.wa-float:hover { background: var(--sand-hi); }

/* ---------- motion: page load + reveals ---------- */

.js .hero__line > span { transform: translateY(105%); }
.js .hero__eyebrow,
.js .hero__aside,
.js .film,
.js .timeline li { opacity: 0; transform: translateY(16px); }
.is-loaded .hero__line > span { transform: none; transition: transform 1.1s var(--ease); }
.is-loaded .hero__line:nth-child(2) > span { transition-delay: 0.12s; }
.is-loaded .hero__eyebrow,
.is-loaded .hero__aside,
.is-loaded .film,
.is-loaded .timeline li { opacity: 1; transform: none; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.is-loaded .hero__aside { transition-delay: 0.35s; }
.is-loaded .film { transition-delay: 0.5s; }
.is-loaded .timeline li:nth-child(1) { transition-delay: 0.7s; }
.is-loaded .timeline li:nth-child(2) { transition-delay: 0.78s; }
.is-loaded .timeline li:nth-child(3) { transition-delay: 0.86s; }
.is-loaded .timeline li:nth-child(4) { transition-delay: 0.94s; }

.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .nav ul { gap: 1.5rem; }
  .hero__aside { grid-column: 1 / span 9; }
  .direct--row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .site-header { gap: 1rem; }
  .header-cta,
  .header-insta { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--ink);
    padding: 24px var(--gutter);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav a {
    display: block;
    padding: 16px 0;
    font-family: var(--f-serif);
    font-weight: 400;
    font-size: 2.4rem;
    line-height: 1.1;
    letter-spacing: -0.015em;
    color: var(--stone);
  }
  .nav a::after { display: none; }
  .nav .nav__book,
  .nav .nav__insta { display: block; }
  .nav .nav__book a { color: var(--sand); font-style: italic; }
  .nav .nav__insta { border-bottom: 0; }
  .nav .nav__insta a { font-size: 1.6rem; color: var(--mist); }
  .site-header:has(.nav.is-open) { background: var(--ink); border-bottom-color: var(--line); }

  .hero__aside { grid-column: 1 / -1; }
  .brand__mark { width: 46px; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 28px; }

  .about__grid,
  .why__grid,
  .faq__grid,
  .areas__wrap { grid-template-columns: 1fr; }
  .about__photo { position: static; max-width: 460px; }
  .why__head,
  .faq__head { position: static; }
  .section-head--split,
  .onsite .section-head { grid-template-columns: 1fr; }
  .onsite .section-head .lede { margin-top: 1.25rem; }

  .steps { grid-template-columns: 1fr; }
  .why__list > div { grid-template-columns: 1fr; gap: 8px; }

  .areas__index { display: none; }
  .areas__panels { display: grid; gap: 56px; }



  .qz { grid-template-columns: 1fr; border-radius: 20px; }
  .qz__side { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px; }
  .qz__title { margin: 18px 0 10px; font-size: 1.7rem; }
  .qz__meta { grid-template-columns: 1fr; gap: 6px; }
  .qz__answers-wrap { display: none; }
  .qz__progress { padding-top: 20px; }
  .qz__main { min-height: 0; padding: 24px 20px; }
  .qz__kbd { display: none; }
  .qz__next { margin-left: auto; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .direct--row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__legal { flex-direction: column; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .compare { aspect-ratio: 4 / 5; border-radius: 14px; }
  .compare__img { object-position: 30% 50%; }
  .compare__tag { font-size: 0.56rem; top: 12px; padding: 7px 11px; }
  .compare__tag--left { left: 12px; }
  .compare__tag--right { right: 12px; }
  .film { border-radius: 14px; }
  .facts { grid-template-columns: 1fr; }
  .film__caption { display: none; }
  .film__frame i { width: 16px; height: 16px; }
  .film__frame i:nth-child(1), .film__frame i:nth-child(2) { top: 12px; }
  .film__frame i:nth-child(3), .film__frame i:nth-child(4) { bottom: 12px; }
  .film__frame i:nth-child(1), .film__frame i:nth-child(3) { left: 12px; }
  .film__frame i:nth-child(2), .film__frame i:nth-child(4) { right: 12px; }
  .film__play-label { font-size: 0.72rem; }
  .hero__portrait { align-self: center; margin-bottom: 0; }
  .hero__ring text { font-size: 13.5px; letter-spacing: 2.4px; }
  .qz__meta { display: none; }
  .qz__title { margin: 14px 0 0; font-size: 1.5rem; }
  .opts--grid { grid-template-columns: 1fr; }
  .opt { padding: 13px 14px; }
  .days { gap: 6px; }
  .day { padding: 8px 2px 7px; }
  .day__num { font-size: 1.5rem; }
  .day__free { display: none; }
  .slots { grid-template-columns: repeat(3, 1fr); }
  .qz__q { font-size: 1.75rem; gap: 10px; }
  .footer__grid { grid-template-columns: 1fr; }
}

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