/* ============================================================
   Avo - page & component styles
   ============================================================ */

/* ---- Announcement bar ------------------------------------- */
.ann-bar {
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  border-bottom: 1px solid var(--rule-on-dark);
  position: relative;
  z-index: 60;
}
.ann-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 10px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
}
.ann-right { display: flex; align-items: center; gap: 20px; }
.ann-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(247,243,234,0.82);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.ann-link:hover { color: var(--accent-warm); }
.lang-pick { display: flex; gap: 2px; }
.lang-btn {
  background: transparent;
  border: 1px solid transparent;
  color: rgba(247,243,234,0.5);
  padding: 3px 7px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease);
}
.lang-btn:hover { color: var(--fg-on-dark); }
.lang-btn.on { color: var(--accent-warm); border-color: var(--rule-on-dark); }

/* ---- Nav --------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 55;
  background: transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), backdrop-filter var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  background: rgba(247, 243, 234, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--rule);
}
[data-mode="dark"] .nav--scrolled {
  background: rgba(14, 31, 24, 0.92);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: var(--fg-on-dark);
  transition: color var(--dur) var(--ease);
}
.nav--scrolled .nav-inner { color: var(--fg); }
.mono-logo {
  display: inline-flex; align-items: baseline; gap: 12px;
  text-decoration: none;
  color: inherit;
}
.mono-mark {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  border: 1px solid currentColor;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0.9;
}
.mono-word {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 28px;
  justify-content: center;
}
.nav-link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.78;
  position: relative;
  padding-bottom: 3px;
  transition: opacity var(--dur) var(--ease);
}
.nav-link:hover { opacity: 1; }
.nav-link.on { opacity: 1; }
.nav-link.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--accent);
}
.nav-right {
  display: flex; align-items: center; justify-content: flex-end; gap: 16px;
}
.nav-phone {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: inherit;
  opacity: 0.7;
}
.nav-phone:hover { opacity: 1; color: var(--accent); }
.nav-cta {
  padding: 12px 18px;
  font-size: 10px;
}
.nav--scrolled .nav-cta { background: var(--fg); color: var(--bg); }
.nav-menu {
  display: none;
  background: transparent; border: 0; color: inherit; cursor: pointer; padding: 8px;
}
@media (max-width: 900px) {
  .nav-links, .nav-phone, .nav-cta { display: none; }
  .nav-menu { display: inline-flex; }
  .nav-inner { grid-template-columns: 1fr auto; }
}

.drawer {
  position: fixed; inset: 0;
  background: rgba(14, 31, 24, 0.86);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex; align-items: stretch; justify-content: flex-end;
}
.drawer-inner {
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  width: min(420px, 100%);
  padding: 32px;
  position: relative;
}
.drawer-close {
  position: absolute; top: 24px; right: 24px;
  background: transparent; border: 0; color: inherit; cursor: pointer;
}
.drawer-links { display: flex; flex-direction: column; gap: 18px; margin-top: 64px; }
.drawer-link {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.02em;
  color: inherit;
}
.drawer-link:hover { color: var(--accent-warm); }

/* ---- Hero: portrait ---------------------------------------- */
.hero {
  position: relative;
  color: var(--fg-on-dark);
  min-height: 100vh;
  overflow: hidden;
  margin-top: -72px; /* pull under sticky nav */
  padding-top: 72px;
}
.hero--portrait {
  min-height: 100vh;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(48px, 8vh, 96px);
}
.hero-photo {
  position: absolute;
  inset: -6% -2% -2% -2%;
  z-index: 0;
  overflow: hidden;
  will-change: transform;
}
.hero-photo-inner {
  width: 100%; height: 100%;
  background:
    radial-gradient(50% 70% at 62% 42%, rgba(190, 129, 66, 0.30) 0%, rgba(190, 129, 66, 0) 55%),
    radial-gradient(70% 90% at 25% 80%, rgba(10, 22, 16, 0.85) 0%, transparent 60%),
    linear-gradient(160deg, #1C3A2B 0%, #0E1F18 55%, #060F0B 100%);
  animation: kenburns 24s ease-in-out infinite alternate;
}
[data-palette="teal"] .hero-photo-inner {
  background:
    radial-gradient(50% 70% at 62% 42%, rgba(207, 109, 82, 0.30) 0%, transparent 55%),
    radial-gradient(70% 90% at 25% 80%, rgba(5, 12, 16, 0.85) 0%, transparent 60%),
    linear-gradient(160deg, #1A3C47 0%, #0A1E24 55%, #05121B 100%);
}
[data-palette="oxblood"] .hero-photo-inner {
  background:
    radial-gradient(50% 70% at 62% 42%, rgba(192, 154, 70, 0.30) 0%, transparent 55%),
    radial-gradient(70% 90% at 25% 80%, rgba(10, 5, 6, 0.85) 0%, transparent 60%),
    linear-gradient(160deg, #3B1A1C 0%, #1A0D0E 55%, #0B0506 100%);
}
.hero-photo-grain {
  position: absolute; inset: 0;
  background-image: none;
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero-photo-vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 12, 9, 0.55) 0%, rgba(5, 12, 9, 0) 30%, rgba(5, 12, 9, 0) 55%, rgba(5, 12, 9, 0.82) 100%),
    linear-gradient(90deg, rgba(5, 12, 9, 0.50) 0%, rgba(5, 12, 9, 0) 40%);
}
.hero .photo-label {
  position: absolute;
  right: 18px; bottom: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(247, 243, 234, 0.55);
  text-transform: uppercase;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,12,9,0.15), rgba(5,12,9,0.45));
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-eyebrow-row {
  display: flex; align-items: center; gap: 20px;
  margin-bottom: 48px;
}
.hero-rule {
  flex: 1; max-width: 220px;
  height: 1px; background: rgba(247,243,234,0.28);
}
.hero-h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.94;
  letter-spacing: -0.035em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  color: var(--ivory-50);
  margin: 0;
}
.hero-line { display: block; }
.hero-line:nth-child(2) { padding-left: 7vw; font-style: italic; color: var(--copper-400); font-weight: 300; }
.hero-line:nth-child(3) { padding-left: 3vw; }
.hero-foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(247,243,234,0.22);
}
.hero-kicker {
  max-width: 480px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.4;
  color: rgba(247,243,234,0.88);
  letter-spacing: -0.01em;
}
.hero-kicker--dark {
  color: var(--fg);
  max-width: 460px;
}
.hero-cta-row {
  display: flex; align-items: center; gap: 24px;
}
.hero-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(247,243,234,0.52);
  text-transform: uppercase;
}
.hero-sidelabel {
  position: absolute;
  left: 20px; top: 40%;
  z-index: 2;
  color: rgba(247,243,234,0.6);
}
.hero-sidelabel .vert { color: inherit; font-size: 10px; }
.hero-scroll-indicator {
  position: absolute;
  right: 40px; bottom: 48px;
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: rgba(247,243,234,0.55);
}
.hsi-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(247,243,234,0.8), transparent);
  animation: hsi 2.4s ease-in-out infinite;
}
@keyframes hsi {
  0%, 100% { transform: scaleY(0.4) translateY(-6px); opacity: 0.2; }
  50% { transform: scaleY(1) translateY(6px); opacity: 1; }
}
.hsi-word {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.3em;
}

/* Hero split variant */
.hero--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: 72px;
  color: var(--fg);
  background: var(--bg);
}
.hero-split-left {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero-portrait-frame {
  position: absolute; inset: 48px;
  overflow: hidden;
}
.hero-portrait-inner {
  width: 100%; height: 100%;
  background:
    radial-gradient(50% 60% at 50% 35%, rgba(190,129,66,0.24), transparent 60%),
    linear-gradient(170deg, var(--forest-700), var(--forest-900));
  animation: kenburns 18s ease-in-out infinite alternate;
}
.hero-split-right {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px clamp(40px, 6vw, 100px);
  gap: 28px;
  max-width: 720px;
}
.hero-h1--split {
  color: var(--fg);
  font-size: clamp(44px, 5.5vw, 84px);
}
.hero-h1--split .hero-line:nth-child(2) { color: var(--accent); padding-left: 3vw; }
.hero-secondary {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--rule-strong);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.hero-secondary:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 900px) {
  .hero--split { grid-template-columns: 1fr; }
  .hero-split-left { min-height: 50vh; }
  .hero-portrait-frame { inset: 24px; }
}

/* Hero magazine */
.hero--mag {
  background: var(--bg);
  color: var(--fg);
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 72px var(--pad-x) 40px;
  gap: 20px;
}
.hero-mag-top, .hero-mag-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--rule);
}
.hero-mag-bottom { border-bottom: 0; border-top: 1px solid var(--rule); }
.hero-mag-center {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 48px;
  padding: 48px 0;
}
.hero-mag-eyebrow {
  grid-column: 1 / 2;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  justify-self: end;
}
.hero-mag-title {
  grid-column: 2 / 3;
  font-family: var(--font-display);
  font-size: clamp(54px, 8vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-align: center;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.hero-mag-line { display: block; }
.hero-mag-line:nth-child(2) { font-style: italic; color: var(--accent); font-weight: 300; }
.hero-mag-portrait {
  grid-column: 3 / 4;
  width: 180px; height: 240px;
  position: relative; justify-self: start;
  background:
    radial-gradient(50% 60% at 50% 35%, rgba(190,129,66,0.24), transparent 60%),
    linear-gradient(170deg, var(--forest-700), var(--forest-900));
  overflow: hidden;
}
.hero-mag-portrait-inner {
  position: absolute; inset: 0;
  animation: kenburns 14s ease-in-out infinite alternate;
}
.hero-mag-kicker {
  grid-column: 2 / 3;
  grid-row: 2;
  text-align: center;
  max-width: 520px;
  margin: 24px auto 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--fg-muted);
}
@media (max-width: 900px) {
  .hero-mag-center { grid-template-columns: 1fr; text-align: center; }
  .hero-mag-eyebrow, .hero-mag-portrait { grid-column: auto; writing-mode: horizontal-tb; transform: none; justify-self: center; }
  .hero-mag-portrait { width: 140px; height: 180px; }
}

/* ---- Section base ------------------------------------------ */
.sec {
  padding: clamp(80px, 12vh, 160px) 0;
  position: relative;
}
.sec--alt { background: var(--bg-alt); }
.sec-head {
  max-width: 860px;
  margin-bottom: 72px;
  display: flex; flex-direction: column; gap: 20px;
}
.sec-head--split {
  max-width: none;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
}
.sec-head-right {
  max-width: 360px;
  text-align: right;
  display: flex; flex-direction: column; gap: 16px; align-items: flex-end;
  color: var(--fg-muted);
  font-size: 14px;
  line-height: 1.6;
}
.sec-h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--fg);
  max-width: 20ch;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.sec-h2--on-dark { color: var(--fg-on-dark); }

/* ---- Credentials strip ------------------------------------- */
.sec--cred {
  padding: 48px 0;
  background: var(--bg);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.cred-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  align-items: center;
}
.cred-item {
  display: flex; flex-direction: column; gap: 8px;
  padding: 0 8px;
  border-left: 1px solid var(--rule);
  padding-left: 24px;
}
.cred-item:first-child { border-left: 0; padding-left: 0; }
.cred-num {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.cred-label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
@media (max-width: 900px) {
  .cred-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .cred-item { border-left: 0; padding-left: 0; }
  .cred-num { font-size: 36px; }
}

/* ---- Editorial intro -------------------------------------- */
.sec--intro {
  background: var(--bg);
  text-align: center;
  padding: clamp(100px, 16vh, 180px) 0;
}
.intro-inner {
  max-width: 900px;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
}
.intro-quote {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.3;
  letter-spacing: -0.018em;
  color: var(--fg);
  text-wrap: balance;
  position: relative;
  padding-top: 16px;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.intro-mark {
  font-family: var(--font-display);
  font-size: 96px;
  color: var(--accent);
  line-height: 0;
  position: absolute;
  left: 50%; top: 20px;
  transform: translateX(-50%);
  opacity: 0.3;
}
.intro-sig {
  display: flex; flex-direction: column; gap: 4px; align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.intro-sig-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--accent);
}
.intro-sig-role {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ---- Services grid --------------------------------------- */
.sec--services { background: var(--bg-alt); }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.svc-card {
  display: flex; flex-direction: column; gap: 24px;
  padding: 40px 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--bg-alt);
  color: var(--fg);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
  position: relative;
  min-height: 320px;
}
.svc-card:last-child { border-right: 0; }
.svc-card:hover { background: var(--fg); color: var(--bg); }
.svc-card:hover .svc-num { color: var(--accent-warm); }
.svc-top {
  display: flex; justify-content: space-between; align-items: center;
}
.svc-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.svc-arrow {
  opacity: 0; transform: translate(-6px, 6px);
  transition: all var(--dur) var(--ease);
}
.svc-card:hover .svc-arrow { opacity: 1; transform: translate(0,0); }
.svc-title {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: -0.02em;
  margin-top: auto;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.svc-blurb {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-muted);
  transition: color var(--dur) var(--ease);
}
.svc-card:hover .svc-blurb { color: rgba(247,243,234,0.8); }
.svc-learn {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent);
}
.svc-arrow-small { transition: transform var(--dur) var(--ease); }
.svc-card:hover .svc-arrow-small { transform: translateX(4px); }
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card { border-right: 0; }
}

/* ---- Featured towns -------------------------------------- */
.sec--towns { background: var(--bg); }
.town-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.town-card {
  color: var(--fg);
  display: flex; flex-direction: column; gap: 20px;
  transition: transform var(--dur) var(--ease);
}
.town-card:hover { transform: translateY(-4px); }
.town-photo {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
}
.town-photo::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 50% 80%, rgba(190,129,66,0.14), transparent 60%);
  transition: opacity var(--dur) var(--ease);
}
.town-card:hover .town-photo::after { opacity: 0.6; }
.town-num {
  position: absolute;
  top: 20px; left: 20px;
  font-family: var(--font-display);
  font-size: 48px;
  color: rgba(247,243,234,0.75);
  letter-spacing: -0.03em;
}
.town-meta { display: flex; flex-direction: column; gap: 10px; }
.town-meta-row {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 14px;
}
.town-name {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.town-dom {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}
.town-note {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.town-price {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-size: 16px;
}
@media (max-width: 900px) { .town-grid { grid-template-columns: 1fr; } }

/* ---- Profile preview ------------------------------------- */
.sec--profile { background: var(--bg-alt); overflow: hidden; }
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 80px;
  align-items: start;
}
.profile-portrait {
  position: relative;
  padding-left: 32px;
}
.profile-portrait-inner {
  aspect-ratio: 3 / 4;
  position: relative;
}
.profile-vert {
  position: absolute;
  left: 0; top: 10%;
}
.profile-text {
  display: flex; flex-direction: column; gap: 20px;
}
.profile-p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-muted);
  max-width: 60ch;
}
.profile-p:first-of-type {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.5;
  color: var(--fg);
  font-style: italic;
  font-weight: 300;
}
@media (max-width: 900px) {
  .profile-grid { grid-template-columns: 1fr; gap: 40px; }
  .profile-portrait { padding-left: 24px; }
}

/* ---- Active listings ------------------------------------- */
.sec--listings { background: var(--bg); }
.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.list-card {
  color: var(--fg);
  display: flex; flex-direction: column; gap: 16px;
}
.list-photo {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}
.list-stage {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--ivory-50);
  color: var(--ink-900);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  padding: 6px 10px;
}
.list-meta { display: flex; flex-direction: column; gap: 6px; }
.list-row { display: flex; justify-content: space-between; align-items: baseline; }
.list-price {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.list-dims {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
  text-transform: uppercase;
}
.list-addr {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.03em;
}
@media (max-width: 900px) { .list-grid { grid-template-columns: 1fr; } }

/* ---- Review quote --------------------------------------- */
.sec--quote {
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  padding: clamp(120px, 18vh, 200px) 0;
}
.quote-wrap {
  max-width: 900px;
  display: flex; flex-direction: column; gap: 32px; align-items: center;
  text-align: center;
}
.quote-stage {
  position: relative;
  width: 100%;
  min-height: 260px;
}
.quote-block {
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
  margin: 0;
  pointer-events: none;
}
.quote-block.on { opacity: 1; transform: translateY(0); pointer-events: auto; }
.quote-mark {
  font-family: var(--font-display);
  font-size: 96px;
  color: var(--accent-warm);
  line-height: 0.2;
  display: block;
  margin-bottom: 32px;
}
.quote-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.4;
  letter-spacing: -0.015em;
  font-style: italic;
  color: var(--ivory-50);
  text-wrap: balance;
  font-weight: 300;
}
.quote-foot {
  margin-top: 32px;
  display: flex; flex-direction: column; gap: 4px;
}
.quote-name {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-warm);
  font-weight: 500;
}
.quote-town {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(247,243,234,0.6);
}
.quote-dots { display: flex; gap: 10px; }
.qdot {
  width: 24px; height: 1px;
  background: rgba(247,243,234,0.25);
  border: 0;
  cursor: pointer;
  transition: background var(--dur) var(--ease), height var(--dur) var(--ease);
}
.qdot.on { background: var(--accent-warm); height: 2px; }
.quote-link {
  color: var(--ivory-50);
  border-color: rgba(247,243,234,0.3);
}
.quote-link:hover { color: var(--accent-warm); border-color: var(--accent-warm); }

/* ---- Valuation block ------------------------------------- */
.sec--val {
  background: var(--bg-dark-alt);
  color: var(--fg-on-dark);
}
.val-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}
.val-left { display: flex; flex-direction: column; gap: 24px; }
.val-p {
  font-size: 17px;
  line-height: 1.65;
  color: rgba(247,243,234,0.78);
  max-width: 44ch;
}
.val-form { display: flex; flex-direction: column; gap: 12px; }
.val-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-warm);
}
.val-row { display: flex; gap: 16px; align-items: stretch; }
.val-input {
  flex: 1;
  color: var(--ivory-50);
  border-bottom-color: rgba(247,243,234,0.3);
  font-size: 18px;
  padding: 16px 0;
}
.val-input::placeholder { color: rgba(247,243,234,0.4); }
.val-fine {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(247,243,234,0.45);
  margin-top: 4px;
}
@media (max-width: 900px) {
  .val-inner { grid-template-columns: 1fr; gap: 32px; }
  .val-row { flex-direction: column; }
}

/* ---- Languages block ------------------------------------- */
.sec--lang { background: var(--bg); }
.lang-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.lang-left { display: flex; flex-direction: column; gap: 20px; }
.lang-p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.65;
  max-width: 44ch;
}
.lang-list { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.lang-row {
  display: grid;
  grid-template-columns: 36px 1fr 1fr auto;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition: background var(--dur) var(--ease);
}
.lang-row:hover { background: var(--bg-alt); padding-left: 12px; padding-right: 12px; }
.lang-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-muted);
  letter-spacing: 0.14em;
}
.lang-native {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.lang-en {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.lang-hello {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--accent);
}
@media (max-width: 900px) {
  .lang-inner { grid-template-columns: 1fr; }
  .lang-row { grid-template-columns: 24px 1fr auto; gap: 12px; }
  .lang-en { display: none; }
}

/* ---- Insights ------------------------------------------- */
.sec--insights { background: var(--bg-alt); }
.ins-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.ins-card {
  color: var(--fg);
  display: flex; flex-direction: column; gap: 20px;
}
.ins-photo {
  aspect-ratio: 16 / 11;
  position: relative;
}
.ins-kicker {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-warm);
  background: rgba(5,12,9,0.55);
  padding: 6px 10px;
}
.ins-meta { display: flex; flex-direction: column; gap: 10px; }
.ins-date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.ins-title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  max-width: 22ch;
}
@media (max-width: 900px) { .ins-grid { grid-template-columns: 1fr; } }

/* ---- Contact block ------------------------------------- */
.sec--contact {
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  padding: clamp(120px, 20vh, 220px) 0;
}
.contact-inner {
  max-width: 1100px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 32px;
}
.contact-h2 {
  font-size: clamp(64px, 10vw, 160px);
  letter-spacing: -0.04em;
  line-height: 0.92;
  max-width: none;
}
.contact-p {
  max-width: 52ch;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  font-weight: 300;
  color: rgba(247,243,234,0.85);
}
.contact-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
  padding: 40px 0;
  border-top: 1px solid rgba(247,243,234,0.2);
  border-bottom: 1px solid rgba(247,243,234,0.2);
  margin: 24px 0;
}
.contact-ln {
  display: flex; flex-direction: column; gap: 8px;
  color: var(--fg-on-dark);
}
.contact-lbl {
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(247,243,234,0.55);
}
.contact-val {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ivory-50);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.contact-btn { margin-top: 8px; }
@media (max-width: 900px) {
  .contact-meta { grid-template-columns: 1fr; gap: 24px; }
}

/* ---- Footer --------------------------------------------- */
.footer {
  background: #050C09;
  color: rgba(247,243,234,0.8);
  padding: 80px 0 24px;
  border-top: 1px solid rgba(247,243,234,0.1);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-brand .mono-mark {
  color: var(--ivory-50);
  margin-bottom: 16px;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--ivory-50);
  letter-spacing: -0.02em;
}
.footer-role {
  font-size: 12px;
  color: rgba(247,243,234,0.55);
  letter-spacing: 0.02em;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col .eyebrow { color: var(--accent-warm); margin-bottom: 4px; }
.footer-col a, .footer-lang {
  font-size: 13px;
  color: rgba(247,243,234,0.72);
  transition: color var(--dur-fast) var(--ease);
}
.footer-col a:hover { color: var(--accent-warm); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(247,243,234,0.08);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(247,243,234,0.4);
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ---- Sticky book bar ------------------------------------ */
.book-bar {
  position: fixed;
  bottom: 20px; left: 20px; right: 20px;
  z-index: 50;
  background: var(--bg-dark);
  color: var(--fg-on-dark);
  padding: 0;
  box-shadow: 0 12px 40px rgba(5,12,9,0.3);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.book-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px;
}
.book-actions { display: flex; align-items: center; gap: 16px; }
.book-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ivory-50);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.book-link:hover { color: var(--accent-warm); }
@media (max-width: 600px) {
  .book-link span { display: none; }
  .book-inner { padding: 12px 16px; }
}

/* ---- Tweaks panel --------------------------------------- */
.tweaks {
  position: fixed;
  bottom: 90px; right: 20px;
  z-index: 70;
  background: rgba(14, 31, 24, 0.96);
  color: var(--ivory-50);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(247,243,234,0.15);
  width: 280px;
  font-family: var(--font-body);
  font-size: 11px;
}
.tweaks-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(247,243,234,0.1);
}
.tweaks-toggle {
  background: transparent; border: 0; color: var(--ivory-50); cursor: pointer; font-size: 16px; padding: 0; width: 20px; height: 20px;
}
.tweaks-body {
  padding: 16px;
  display: flex; flex-direction: column; gap: 16px;
  max-height: 60vh; overflow-y: auto;
}
.tw-row { display: flex; flex-direction: column; gap: 8px; }
.tw-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247,243,234,0.55);
}
.tw-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.tw-opts--tight { gap: 4px; }
.tw-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  border: 1px solid rgba(247,243,234,0.18);
  color: rgba(247,243,234,0.75);
  padding: 6px 10px;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-transform: uppercase;
  transition: all var(--dur-fast) var(--ease);
}
.tw-chip:hover { color: var(--ivory-50); border-color: rgba(247,243,234,0.4); }
.tw-chip.on {
  background: var(--accent);
  color: var(--ivory-50);
  border-color: var(--accent);
}
.tw-sw { display: inline-flex; gap: 2px; }
.tw-sw i {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 1px;
}
.tw-note {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(247,243,234,0.35);
  padding-top: 8px;
  border-top: 1px solid rgba(247,243,234,0.08);
}
.tweaks.closed { width: auto; }

/* ---- Container narrow for hero variants ---- */
.container-narrow {
  max-width: 720px;
}

/* ---- Body padding for sticky book bar --- */
body { padding-bottom: 80px; }
