:root {
  /* Quiet Luxury & Private Advisory — brand kit aligned */
  --bg: #f2ece0; /* warm ivory paper */
  --panel: #fffdf7; /* warm white */
  --ink: #1c1e1d; /* basalt */
  --muted: #6b706d; /* stone grey */
  --line: rgba(28, 30, 29, 0.09);
  --line-strong: rgba(28, 30, 29, 0.16);
  --gold: #bfa06a; /* brand soft gold */
  --jade: #18342e; /* brand deep forest */
  --obsidian: #08251f; /* brand dark teal */
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--bg);
  background-image: url("./assets/paper-grain.webp");
  background-repeat: repeat;
  background-size: 256px 256px;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0;
}

.kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- Buttons & links ---------- */
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 2px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  padding: 14px 28px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.primary:hover {
  background: transparent;
  color: var(--ink);
}

.button:not(.primary):hover {
  background: var(--ink);
  color: #fff;
}

.button.full {
  width: 100%;
}

.link-underline {
  position: relative;
  color: var(--ink);
  font-weight: 500;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  padding-bottom: 3px;
  transition: background-size 0.35s ease;
}

.link-underline:hover {
  background-size: 100% 1px;
}

/* ---------- Hero (immersive banner) ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  padding: clamp(124px, 17vh, 196px) clamp(20px, 5vw, 60px) clamp(80px, 11vh, 132px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 48%, rgba(11, 16, 14, 0.12), rgba(11, 16, 14, 0.5) 100%),
    linear-gradient(
      180deg,
      rgba(11, 16, 14, 0.66) 0%,
      rgba(11, 16, 14, 0.5) 45%,
      rgba(11, 16, 14, 0.88) 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  color: #fff;
}

.hero-wordmark {
  margin: 0 auto 34px;
}

.hero-wordmark img {
  display: block;
  width: clamp(290px, 54vw, 580px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.42));
}

.hero h1 {
  margin: 0 auto;
  max-width: 780px;
  color: #fff;
  font-weight: 500;
  font-size: clamp(27px, 3.8vw, 46px);
  line-height: 1.16;
}

.hero-sub {
  margin: 22px auto 0;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(15px, 1.8vw, 18px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 38px;
}

.hero-actions .button.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--obsidian);
}

.hero-actions .button.primary:hover {
  background: transparent;
  color: var(--gold);
}

.hero-actions .link-underline {
  color: #fff;
}

/* ---------- Quick facts ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 60px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.facts span {
  display: block;
  padding: 32px clamp(18px, 2.2vw, 38px);
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.facts span:first-child {
  border-left: none;
  padding-left: 0;
}

.facts span:last-child {
  padding-right: 0;
}

.facts span b {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
}

/* ---------- Section base ---------- */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(52px, 6vw, 88px) clamp(18px, 4vw, 60px);
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.12;
}

/* ---------- About ---------- */
.about {
  position: relative;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 116px) clamp(18px, 4vw, 60px);
}

.about-media {
  position: relative;
  margin: 0;
  align-self: start;
  width: 100%;
  max-width: 340px;
}

.about-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  max-height: 440px;
  object-fit: cover;
  object-position: center 28%;
}

.about-text h2 {
  margin-bottom: 22px;
  font-size: clamp(30px, 3.6vw, 46px);
}

.about-text p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16.5px;
}

.about-quote {
  margin-top: 24px !important;
  padding-left: 20px;
  border-left: 1px solid var(--gold);
  color: var(--ink) !important;
  font-family: var(--font-serif);
  font-size: 22px !important;
  line-height: 1.4;
}

/* ---------- Situations ---------- */
.situations {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 940px;
}

.situations li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.situations li:last-child {
  border-bottom: 1px solid var(--line);
}

.situations .idx {
  color: var(--gold);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding-top: 10px;
}

.situations h3 {
  margin: 0 0 8px;
  font-size: clamp(21px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.25;
}

.situations p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- Method route ---------- */
.filter-section {
  background: var(--jade);
  color: #fff;
  max-width: none;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

.filter-section .section-head,
.filter-section .route {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(18px, 4vw, 60px);
  padding-right: clamp(18px, 4vw, 60px);
}

.filter-section .kicker {
  color: var(--gold);
}

.filter-section .lead {
  color: rgba(255, 255, 255, 0.7);
}

.route {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.route li {
  position: relative;
  padding: 26px 0 26px 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.route li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.route-num {
  position: absolute;
  left: 0;
  top: 28px;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
}

.route h3 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 24px;
}

.route p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

/* ---------- Object: checklist + photos ---------- */
.object-section {
  background: transparent;
}

.object-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}

.object-check h2 {
  margin-bottom: 26px;
  font-size: clamp(28px, 3.4vw, 44px);
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  position: relative;
  padding: 15px 0 15px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  width: 9px;
  height: 1px;
  background: var(--gold);
}

.field-statement {
  margin: 30px 0 0;
  padding: 4px 0 4px 22px;
  border-left: 1px solid var(--gold);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 21px;
  line-height: 1.4;
}

.contact-sheet {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.contact-sheet figure {
  margin: 0;
}

.contact-sheet img {
  display: block;
  width: 100%;
  height: clamp(130px, 17vw, 180px);
  object-fit: cover;
}

.contact-sheet figcaption {
  padding-top: 10px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Districts ---------- */
.areas-section {
  background: transparent;
  max-width: none;
  margin: 0;
}

.areas-section .section-head,
.areas-section .matrix-wrap,
.areas-section .matrix-note {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.field-notes {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.district-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.district {
  display: block;
  width: 100%;
  padding: 18px 4px;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 24px;
  text-align: left;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.district:hover {
  color: var(--ink);
  padding-left: 8px;
}

.district.is-active {
  color: var(--ink);
  padding-left: 14px;
  border-left: 1px solid var(--gold);
}

.district-verdict {
  padding: 40px 44px;
  background: var(--panel);
  border: 1px solid var(--line);
  min-height: 200px;
}

.district-verdict h3 {
  margin: 0 0 16px;
  font-size: 32px;
}

.district-verdict #district-text {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

/* ---------- Lead magnet ---------- */
.magnet {
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.magnet-inner {
  max-width: 720px;
  margin: 0 auto;
}

.magnet h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 50px);
}

.magnet p {
  margin: 0 auto 30px;
  max-width: 580px;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq {
  background: transparent;
}

.faq-list {
  max-width: 880px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.faq-list summary {
  position: relative;
  cursor: pointer;
  padding-right: 40px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.25s ease;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list p {
  max-width: 740px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
}

/* ---------- Final contact ---------- */
.contact-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  background: var(--obsidian);
  color: #fff;
  max-width: none;
  margin: 0;
  padding-left: max(clamp(18px, 4vw, 60px), calc((100% - 1200px) / 2));
  padding-right: max(clamp(18px, 4vw, 60px), calc((100% - 1200px) / 2));
}

.contact-portrait {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 480px;
}

.contact-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.contact-portrait figcaption {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-copy .kicker {
  color: var(--gold);
}

.contact-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.4vw, 44px);
}

.contact-copy > p {
  color: rgba(255, 255, 255, 0.74);
  max-width: 560px;
  font-size: 16.5px;
}

.contact-actions {
  margin: 28px 0 22px;
}

.contact-section .button.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--obsidian);
}

.contact-section .button.primary:hover {
  background: transparent;
  color: var(--gold);
}

.contact-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
}

.contact-direct .link-underline {
  color: #fff;
}

.contact-note {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(48px, 6vw, 80px) clamp(18px, 4vw, 60px) 32px;
  background: var(--obsidian);
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px;
  color: #fff;
}

.footer-brand span {
  display: block;
  margin-top: 2px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-brand p {
  margin: 16px 0 0;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
  line-height: 1.55;
}

.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-nav a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--gold);
}

.footer-legal {
  max-width: 1200px;
  margin: 28px auto 0;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  line-height: 1.6;
}

.footer-copy {
  max-width: 1200px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  letter-spacing: 0.02em;
}

/* ---------- v2 copy-brief blocks ---------- */
.hero-support {
  margin: 12px auto 0;
  max-width: 600px;
  color: var(--gold);
  font-size: clamp(13px, 1.6vw, 15px);
}

.prose {
  max-width: 760px;
}

.prose p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16.5px;
}

.legal-note {
  margin-top: 22px !important;
  padding-left: 18px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 14px !important;
}

.area-cta {
  display: inline-block;
  margin-top: 18px;
  padding: 0 0 3px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size 0.3s ease;
}

.area-cta:hover {
  background-size: 100% 1px;
}

.trust-micro {
  max-width: 1200px;
  margin: 30px auto 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.4;
}

.process-checklist {
  max-width: 760px;
}

.process-checklist li {
  font-size: 17px;
  padding: 15px 0 15px 28px;
}

.social-inner {
  max-width: 760px;
}

.social-inner > p {
  color: var(--muted);
  font-size: 16.5px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 22px;
  font-size: 14px;
}

.magnet-note {
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 13.5px;
}

/* ---------- Upright type ---------- */
h1,
h2,
h3,
blockquote,
.about-quote,
.field-statement,
.situations h3 {
  font-style: normal !important;
}

/* ---------- Scroll-linked dot ---------- */
/* Curved guide line in the left margin — visible from the top */
.scroll-track {
  position: fixed;
  left: clamp(14px, 2.4vw, 40px);
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 25;
  pointer-events: none;
}

.scroll-wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 90%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 90%, transparent 100%);
}

/* rounded location pin that rides the line; pulses on each block */
.scroll-pin {
  position: absolute;
  left: 20px;
  top: 0;
  width: 13px;
  height: 16px;
  transform: translate(-50%, -50%);
  transform-origin: center;
  opacity: 0;
  transition: opacity 0.5s ease, top 0.12s linear, left 0.12s linear;
}

.scroll-pin svg {
  display: block;
  width: 100%;
  height: 100%;
}

.scroll-pin svg path {
  fill: #bfa06a;
}

.scroll-pin.pulse {
  animation: pinPulse 0.5s ease;
}

@keyframes pinPulse {
  0% { transform: translate(-50%, -50%) scale(1); }
  45% { transform: translate(-50%, -50%) scale(1.16); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

@media (max-width: 768px) {
  .scroll-track {
    display: none;
  }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Stats grid ---------- */
.stats {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 64px) clamp(18px, 4vw, 60px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid div {
  padding: 30px clamp(16px, 2vw, 32px);
  border-left: 1px solid var(--line);
}

.stats-grid div:first-child {
  border-left: none;
  padding-left: 0;
}

.stats-grid div:last-child {
  padding-right: 0;
}

.stats-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.4vw, 54px);
  font-weight: 500;
  line-height: 1;
}

.stats-grid span {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

/* ---------- District matrix ---------- */
.matrix-wrap {
  max-width: 1100px;
  overflow-x: auto;
}

.matrix {
  min-width: 600px;
  border-top: 1px solid var(--line-strong);
}

.matrix-row {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.matrix-head {
  border-bottom: 1px solid rgba(197, 168, 128, 0.5);
}

.matrix-head span {
  padding: 16px 14px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.matrix-head .matrix-area {
  color: var(--ink);
}

.matrix-area {
  padding: 22px 14px 22px 0;
  font-family: var(--font-serif);
  font-size: 21px;
  color: var(--ink);
}

.rate {
  display: inline-flex;
  gap: 7px;
  padding: 22px 14px;
}

.rate i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(28, 30, 29, 0.14);
}

.rate.v1 i:nth-child(-n + 1),
.rate.v2 i:nth-child(-n + 2),
.rate.v3 i:nth-child(-n + 3),
.rate.v4 i:nth-child(-n + 4),
.rate.v5 i:nth-child(-n + 5) {
  background: var(--gold);
}

.matrix-note {
  max-width: 1100px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Quiz modal ---------- */
.quiz-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(11, 16, 14, 0.66);
  backdrop-filter: blur(5px);
  animation: fade 0.25s ease;
}

.quiz-overlay[hidden] {
  display: none;
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.quiz-modal {
  position: relative;
  width: min(580px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: clamp(28px, 4vw, 46px);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  animation: rise 0.3s ease;
}

@keyframes rise {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.quiz-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.quiz-close:hover {
  color: var(--ink);
}

.quiz-progress {
  height: 2px;
  background: var(--line);
  margin: 4px 0 16px;
}

.quiz-progress span {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--gold);
  transition: width 0.35s ease;
}

.quiz-step {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.quiz-screen {
  border: none;
  margin: 0;
  padding: 0;
  display: none;
}

.quiz-screen.is-active {
  display: block;
  animation: fade 0.3s ease;
}

.quiz-question {
  padding: 0;
  margin: 0 0 24px;
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 500;
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.quiz-options.chips {
  grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px;
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 15px;
  text-align: left;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.quiz-options.chips .quiz-option {
  justify-content: center;
  text-align: center;
  font-size: 14px;
}

.quiz-option:hover {
  border-color: var(--ink);
}

.quiz-option.is-chosen {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.quiz-option svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quiz-option.is-chosen svg {
  stroke: #fff;
}

.quiz-fields {
  display: grid;
  gap: 16px;
}

.quiz-fields label {
  display: grid;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.quiz-fields .opt {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.quiz-fields input,
.quiz-fields textarea {
  width: 100%;
  padding: 13px;
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  outline: none;
}

.quiz-fields input:focus,
.quiz-fields textarea:focus {
  border-color: var(--gold);
}

.quiz-summary {
  margin: 18px 0 16px;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 2px solid var(--gold);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-line;
}

.quiz-fineprint {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}

.quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
}

.quiz-back {
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quiz-back:hover {
  color: var(--ink);
}

.quiz-dots {
  display: inline-flex;
  gap: 8px;
  margin-left: auto;
}

.quiz-dots i {
  width: 6px;
  height: 6px;
  background: var(--line-strong);
}

.quiz-dots i.on {
  background: var(--gold);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-contact {
    display: none;
  }

  .site-header.nav-open {
    background: rgba(242, 236, 224, 0.97);
    backdrop-filter: blur(14px);
    border-bottom-color: var(--line);
  }

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px clamp(18px, 5vw, 40px) 28px;
    background-color: var(--bg);
    background-image: url("./assets/paper-grain.webp");
    border-bottom: 1px solid var(--gold);
    box-shadow: 0 24px 44px rgba(8, 37, 31, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.32s ease, transform 0.32s ease, visibility 0.32s;
  }

  .site-header.nav-open .header-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .header-nav a {
    padding: 17px 2px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--font-serif);
    font-size: 23px;
    background-image: none;
  }

  .header-nav a:hover {
    color: var(--gold);
  }

  .nav-cta {
    display: inline-flex;
    margin-top: 22px;
  }

  .about,
  .object-grid,
  .field-notes,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 88vh;
    padding-top: 104px;
  }

  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .facts span {
    padding: 26px clamp(16px, 3vw, 28px);
  }

  .facts span:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }

  .facts span:nth-child(even) {
    padding-right: 0;
  }

  .facts span:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .about-media {
    margin: 0 auto;
  }

  .contact-portrait {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .brand-lockup {
    display: none;
  }

  .brand-monogram {
    display: block;
  }

  .note-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .note-actions .button {
    width: 100%;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .facts span {
    border-left: none;
    padding: 22px 0;
  }

  .facts span:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .quiz-options {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 980px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid div:nth-child(odd) {
    border-left: none;
    padding-left: 0;
  }

  .stats-grid div:nth-child(even) {
    padding-right: 0;
  }

  .stats-grid div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 768px) {
  .scroll-track {
    display: none;
  }
}

@media (max-width: 560px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid div {
    border-left: none;
    padding: 22px 0;
  }

  .stats-grid div:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }
}

/* ============ Polishing pass: varied formats ============ */

/* mobile menu: dark links on light panel */
.site-header.nav-open .header-nav a {
  color: var(--ink);
}
.site-header.nav-open .header-nav a:hover {
  color: var(--gold);
}

/* method (jade) contrast */
.filter-section .lead {
  color: rgba(255, 255, 255, 0.84);
}

/* ---- Scenarios split dashboard ---- */
.dashboard {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(24px, 4vw, 56px);
  max-width: 1120px;
  margin: 0 auto;
  align-items: start;
}

.dash-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.dash-tab {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 18px 4px;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 23px;
  color: var(--muted);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.dash-tab:hover {
  color: var(--ink);
  padding-left: 8px;
}

.dash-tab.is-active {
  color: var(--jade);
  padding-left: 14px;
  border-left: 1px solid var(--gold);
}

.dash-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.dash-photo {
  width: 100%;
  height: clamp(200px, 26vw, 300px);
  background-size: cover;
  background-position: center;
}

.dash-body {
  padding: 26px 30px 30px;
}

.dash-title {
  margin: 0 0 10px;
  font-size: 26px;
}

.dash-desc {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
}

.dash-focus {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.dash-focus li {
  position: relative;
  padding-left: 16px;
  color: var(--ink);
  font-size: 13.5px;
}

.dash-focus li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ---- Method horizontal stepper ---- */
.stepper {
  position: relative;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.stepper::before {
  content: "";
  position: absolute;
  top: 35px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(197, 168, 128, 0.45);
}

.step-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 18px 6px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.step-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--jade);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease;
}

.step-name {
  font-family: var(--font-serif);
  font-size: 18px;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

.step-node.is-active .step-num {
  background: var(--gold);
  color: var(--jade);
}

.step-node.is-active .step-name,
.step-node:hover .step-name {
  color: #fff;
}

.step-detail {
  max-width: 720px;
  margin: 30px auto 0;
  text-align: center;
}

.step-detail h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 24px;
}

.step-detail p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16.5px;
}

/* ---- Directions image gallery ---- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.gallery-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 360px;
  overflow: hidden;
}

.gallery-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.07);
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(8, 37, 31, 0.3) 0%,
    rgba(8, 37, 31, 0.62) 45%,
    rgba(8, 37, 31, 0.92) 100%
  );
  transition: opacity 0.4s ease;
}

.gallery-card:hover::before {
  opacity: 0.86;
}

.gallery-overlay {
  position: relative;
  z-index: 2;
  padding: 30px;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.gallery-overlay h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 24px;
}

.gallery-overlay p {
  margin: 0 0 12px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.gallery-check {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.gallery-check span {
  margin-right: 6px;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-cta {
  margin-top: 16px;
  padding: 10px 18px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.gallery-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--obsidian);
}

/* ---- Trust 3 pillars ---- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.2vw, 28px);
  max-width: 1120px;
  margin: 0 auto;
  align-items: stretch;
}

.pillar {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid var(--line);
  background: var(--panel);
}

.pillar-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(191, 160, 106, 0.5);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1;
  color: var(--gold);
}

.pillar h3 {
  margin: 22px 0 10px;
  font-size: 22px;
}

.pillar > p {
  margin: 0 0 20px;
  min-height: 3em;
  color: var(--muted);
  font-size: 15.5px;
}

.pillar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pillar li {
  position: relative;
  padding: 11px 0 11px 20px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 14.5px;
}

.pillar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* ---- Process vertical map ---- */
.process-map {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 720px;
}

.process-map::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: linear-gradient(180deg, rgba(191, 160, 106, 0.55), rgba(191, 160, 106, 0.15));
}

.process-map li {
  position: relative;
  padding: 14px 0 14px 30px;
}

.map-node {
  position: absolute;
  left: 0;
  top: 19px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(191, 160, 106, 0.12);
}

.process-map p {
  margin: 0;
  color: var(--ink);
  font-size: 16.5px;
}

/* ---- Reviews ---- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

.review {
  margin: 0;
  padding: 30px 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.review blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.45;
  color: var(--ink);
}

.review blockquote::before {
  content: "« ";
  color: var(--gold);
}

.review blockquote::after {
  content: " »";
  color: var(--gold);
}

.review figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.reviews-note {
  max-width: 1100px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 12.5px;
}

/* ---- Polishing responsive ---- */
@media (max-width: 900px) {
  .dashboard {
    grid-template-columns: 1fr;
  }
  .gallery,
  .pillars,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .stepper {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
  .stepper::before {
    top: 28px;
    bottom: 28px;
    left: 22px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .step-node {
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    padding: 12px 6px;
  }
  .step-detail {
    text-align: left;
    margin-top: 24px;
  }
  .gallery-card {
    min-height: 300px;
  }
}

/* ============ Pinned scroll-through (dashboard + stepper) ============ */
.pin-section {
  max-width: none;
  margin: 0;
  padding: 0;
}

.pin-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(48px, 7vh, 84px) clamp(18px, 4vw, 60px);
}

.pin-inner .section-head {
  max-width: 720px;
  margin: 0 0 40px;
  padding: 0;
}

/* enabled by JS only when there is room (desktop/tablet) */
.pin-on .pin-track {
  position: relative;
  height: 300vh;
}

.pin-on .pin-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

@media (max-width: 900px) {
  .pin-on .pin-track {
    height: 260vh;
  }
}

/* ============ Hover effects on images & tiles ============ */
@media (hover: hover) {
  /* object contact-sheet photos: gentle zoom inside frame */
  .contact-sheet figure {
    overflow: hidden;
  }
  .contact-sheet img,
  .about-media img,
  .contact-portrait img {
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .contact-sheet figure:hover img,
  .about-media:hover img,
  .contact-portrait:hover img {
    transform: scale(1.06);
  }

  .about-media,
  .contact-portrait {
    overflow: hidden;
  }

  /* dashboard photo: subtle zoom on panel hover */
  .dash-photo {
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .dash-panel:hover .dash-photo {
    transform: scale(1.05);
  }

  /* pillar & review tiles: lift + gold hairline */
  .pillar,
  .review {
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }
  .pillar:hover,
  .review:hover {
    transform: translateY(-4px);
    border-color: rgba(191, 160, 106, 0.55);
    box-shadow: 0 18px 40px rgba(8, 37, 31, 0.08);
  }

  /* district matrix rows: soft highlight */
  .matrix-row:not(.matrix-head) {
    transition: background 0.25s ease;
  }
  .matrix-row:not(.matrix-head):hover {
    background: rgba(191, 160, 106, 0.07);
  }

  /* facts tiles + stats: subtle gold title on hover */
  .facts span,
  .stats-grid div {
    transition: color 0.25s ease;
  }
  .facts span:hover b {
    color: var(--gold);
  }
}

/* ============ Kristina "messages" (stepper + dashboard) ============ */
.km-avatar {
  flex: none;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--obsidian);
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1;
}
.km-name {
  color: var(--gold);
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 12px;
}

/* stepper message (on dark jade) */
.step-detail.kristina-msg {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: center;
  max-width: 640px;
  margin: 34px auto 0;
  text-align: left;
}
.step-detail.kristina-msg .km-avatar {
  width: 42px;
  height: 42px;
  font-size: 21px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}
.step-detail .km-bubble {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(191, 160, 106, 0.38);
  border-radius: 4px 16px 16px 16px;
  padding: 15px 22px 17px;
}
.step-detail .km-name {
  display: block;
  margin-bottom: 7px;
}
.step-detail.kristina-msg p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 16.5px;
}

/* dashboard message (on light paper) */
.dash-body.kristina-msg .km-name {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: var(--jade);
}
.dash-body .km-avatar {
  width: 28px;
  height: 28px;
  font-size: 15px;
}
.dash-title-inline {
  color: var(--ink);
}
.dash-body.kristina-msg .dash-desc {
  padding-left: 14px;
  border-left: 2px solid rgba(191, 160, 106, 0.5);
  color: var(--ink);
}

/* ============ Scroll-linked text reveal ============ */
.reveal-text .rw {
  color: var(--muted);
  transition: color 0.45s ease;
}
.reveal-text .rw.on {
  color: var(--ink);
}
.about-quote .reveal-text .rw.on {
  color: var(--jade);
}

/* quote attribution */
blockquote.about-quote {
  margin: 24px 0 0 !important;
}
.about-quote .reveal-text {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.4;
}
.about-quote cite {
  display: block;
  margin-top: 12px;
  color: var(--gold);
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ============ Magnetic buttons ============ */
@media (hover: hover) and (pointer: fine) {
  .button.primary,
  .header-contact,
  .gallery-cta {
    transition:
      background 0.3s ease,
      color 0.3s ease,
      border-color 0.3s ease,
      transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
}

/* ============ Custom gold cursor ============ */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: rgba(191, 160, 106, 0);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition:
    width 0.28s cubic-bezier(0.2, 0.7, 0.2, 1),
    height 0.28s cubic-bezier(0.2, 0.7, 0.2, 1),
    margin 0.28s cubic-bezier(0.2, 0.7, 0.2, 1),
    background 0.28s ease,
    border-color 0.28s ease,
    opacity 0.3s ease;
}
body.has-cursor .cursor-dot {
  display: flex;
}
.cursor-dot.visible {
  opacity: 1;
}
.cursor-dot.is-active {
  width: 78px;
  height: 78px;
  margin: -39px 0 0 -39px;
  background: rgba(191, 160, 106, 0.14);
  border-color: rgba(191, 160, 106, 0.55);
}
.cursor-label {
  opacity: 0;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.cursor-dot.is-active .cursor-label {
  opacity: 1;
}
body.has-cursor {
  cursor: none;
}
body.has-cursor a,
body.has-cursor button,
body.has-cursor .gallery-card,
body.has-cursor [data-quiz-open] {
  cursor: none;
}
body.has-cursor input,
body.has-cursor textarea,
body.has-cursor select {
  cursor: auto;
}

/* ============ Floating widgets (back-to-top + live) ============ */
.floating-widgets {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 30px);
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  pointer-events: none;
}
.floating-widgets > * {
  pointer-events: auto;
}

/* Back to top */
.back-to-top {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(252, 250, 246, 0.9);
  backdrop-filter: blur(8px);
  color: var(--jade);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease,
    border-color 0.3s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top span {
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.back-to-top:hover {
  border-color: var(--gold);
}
.back-to-top:hover span {
  transform: translateY(-3px);
}

/* Live widget */
.live-widget {
  position: relative;
}
.live-trigger {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 40px;
  background: rgba(252, 250, 246, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(8, 37, 31, 0.12);
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.live-trigger:hover {
  border-color: var(--gold);
  box-shadow: 0 14px 38px rgba(8, 37, 31, 0.18);
  transform: translateY(-1px);
}
.live-avatar {
  position: relative;
  flex: none;
  width: 44px;
  height: 44px;
}
.live-avatar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
}
.live-status {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3fae6a;
  border: 2px solid #fff;
  box-shadow: 0 0 0 0 rgba(63, 174, 106, 0.55);
  animation: pulse-green 2.2s infinite;
}
@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(63, 174, 106, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(63, 174, 106, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(63, 174, 106, 0);
  }
}
.live-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.live-text small {
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

/* Live popover */
.live-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(280px, 78vw);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(8, 37, 31, 0.18);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform-origin: bottom right;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.live-popover[hidden] {
  display: flex;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.96);
  pointer-events: none;
}
.live-popover-title {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.live-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.live-link.wa {
  background: var(--jade);
  border-color: var(--jade);
  color: #fff;
}
.live-link.wa:hover {
  background: var(--obsidian);
  border-color: var(--obsidian);
}
.live-link.tg {
  background: transparent;
  color: var(--ink);
}
.live-link.tg:hover {
  border-color: var(--gold);
  color: var(--jade);
}

@media (max-width: 560px) {
  .live-text {
    display: none;
  }
  .live-trigger {
    padding: 7px;
  }
}

/* ============ Process steps (how the work goes) ============ */
.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 760px;
  display: grid;
  gap: 4px;
}
.process-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.process-steps li:last-child {
  border-bottom: 1px solid var(--line);
}
.ps-num {
  flex: none;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}
.process-steps li:hover .ps-num {
  background: var(--gold);
  color: var(--obsidian);
}
.ps-body h3 {
  margin: 6px 0 6px;
  font-size: 21px;
  font-weight: 500;
}
.ps-body p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}
@media (max-width: 560px) {
  .process-steps li {
    gap: 14px;
    padding: 18px 0;
  }
  .ps-num {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
}

/* ============ Floating menu trigger + overlay (replaces top bar) ============ */
.menu-trigger {
  position: fixed;
  top: clamp(14px, 2.2vw, 24px);
  right: clamp(14px, 3vw, 34px);
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 40px;
  background: rgba(252, 250, 246, 0.85);
  backdrop-filter: blur(10px);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(8, 37, 31, 0.1);
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.menu-trigger:hover {
  border-color: var(--gold);
}
.menu-trigger-icon {
  position: relative;
  width: 18px;
  height: 12px;
  flex: none;
}
.menu-trigger-icon i {
  position: absolute;
  left: 0;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  transition: transform 0.3s ease, width 0.3s ease, top 0.3s ease, bottom 0.3s ease, opacity 0.3s ease;
}
.menu-trigger-icon i:nth-child(1) {
  top: 2px;
}
.menu-trigger-icon i:nth-child(2) {
  bottom: 2px;
  width: 66%;
}
body.menu-open .menu-trigger-icon i:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
body.menu-open .menu-trigger-icon i:nth-child(2) {
  bottom: auto;
  top: 50%;
  width: 100%;
  transform: translateY(-50%) rotate(-45deg);
}
body.menu-open {
  overflow: hidden;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 80px clamp(20px, 5vw, 60px) 56px;
  background-color: var(--bg);
  background-image: url("./assets/paper-grain.webp");
  background-repeat: repeat;
  background-size: 256px 256px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
body.menu-open .nav-overlay {
  opacity: 1;
  visibility: visible;
}
.nav-overlay-brand img {
  height: 54px;
  width: auto;
  margin-bottom: 22px;
  opacity: 0.92;
}
.nav-overlay-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}
.nav-overlay-links a {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  padding: 4px 2px;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-position: 50% 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transform: translateY(12px);
  opacity: 0;
  transition: background-size 0.35s ease, color 0.25s ease,
    transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.5s ease;
}
.nav-overlay-links a:hover {
  background-size: 100% 1px;
  color: var(--jade);
}
.nav-overlay-cta {
  margin-top: 28px;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.18s, opacity 0.5s ease 0.18s,
    background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.nav-overlay-contacts {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.24s, opacity 0.5s ease 0.24s;
}
.nav-overlay-contacts a:hover {
  color: var(--gold);
}
/* staggered reveal of links when open */
body.menu-open .nav-overlay-links a,
body.menu-open .nav-overlay-cta,
body.menu-open .nav-overlay-contacts {
  transform: translateY(0);
  opacity: 1;
}
body.menu-open .nav-overlay-links a:nth-child(1) { transition-delay: 0.06s; }
body.menu-open .nav-overlay-links li:nth-child(2) a { transition-delay: 0.1s; }
body.menu-open .nav-overlay-links li:nth-child(3) a { transition-delay: 0.14s; }
body.menu-open .nav-overlay-links li:nth-child(4) a { transition-delay: 0.18s; }
body.menu-open .nav-overlay-links li:nth-child(5) a { transition-delay: 0.22s; }
body.menu-open .nav-overlay-links li:nth-child(6) a { transition-delay: 0.26s; }

@media (prefers-reduced-motion: reduce) {
  .nav-overlay-links a,
  .nav-overlay-cta,
  .nav-overlay-contacts {
    transform: none;
    transition: opacity 0.3s ease, color 0.25s ease, background-size 0.35s ease;
  }
}

/* ============ Mobile tap hint for scenario/method (no scroll-jacking) ============ */
.tap-hint {
  display: none;
}
@media (max-width: 767px) {
  .tap-hint {
    display: block;
    margin: 0 0 14px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
}

/* ============ Asset / capital fact sheet ============ */
.asset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 30px);
  margin-top: 8px;
}
.asset-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  padding: clamp(24px, 2.6vw, 34px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.asset-card h3 {
  margin: 0 0 12px;
  font-size: clamp(20px, 1.7vw, 24px);
  font-weight: 500;
}
.asset-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.62;
}
@media (hover: hover) {
  .asset-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(8, 37, 31, 0.08);
  }
}
.asset-section .legal-note {
  margin-top: 26px;
}
@media (max-width: 860px) {
  .asset-grid {
    grid-template-columns: 1fr;
  }
}

/* ============ District lifestyle tagline ============ */
.gallery-tagline {
  margin: 0 0 6px;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ============ Environment interstitial band ============ */
.scene-band {
  position: relative;
  width: 100%;
  height: clamp(220px, 34vw, 420px);
  overflow: hidden;
  border-top: 1px solid rgba(191, 160, 106, 0.4);
  border-bottom: 1px solid rgba(191, 160, 106, 0.4);
}
.scene-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.scene-band-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 37, 31, 0.28) 0%,
    rgba(8, 37, 31, 0.5) 100%
  );
}
.scene-band-caption {
  position: absolute;
  left: 50%;
  bottom: clamp(22px, 4vw, 40px);
  transform: translateX(-50%);
  width: min(760px, 86%);
  margin: 0;
  text-align: center;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1.35;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* ============ Gold line section divider ============ */
.gold-divider {
  position: relative;
  height: 1px;
  max-width: 1120px;
  margin: clamp(8px, 2vw, 22px) auto;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(191, 160, 106, 0.45) 22%,
    rgba(191, 160, 106, 0.45) 78%,
    transparent 100%
  );
}
.gold-divider span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--bg);
  border: 1px solid var(--gold);
}
