/* ============================================================
   Livcondos — Design System
   Architectural / editorial home-equity brand
   ============================================================ */

:root {
  --charcoal: #171B19;
  --forest: #193C34;
  --forest-dark: #102A24;
  --ivory: #F7F4ED;
  --sand: #EAE4D8;
  --sage: #AAB7AA;
  --stone: #D4D0C7;
  --white: #FFFFFF;
  --muted: #68706B;

  --font-display: 'DM Serif Display', 'Cormorant Garamond', serif;
  --font-body: 'Manrope', 'Inter', sans-serif;

  --container-max: 1360px;
  --edge: clamp(1.5rem, 5vw, 5rem);

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5,
.font-display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0 0 1.25rem; color: var(--muted); }
p:last-child { margin-bottom: 0; }

.container-edge {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--edge);
  padding-right: var(--edge);
}

.container-full { width: 100%; padding: 0; }

section { position: relative; }

.section-pad { padding: clamp(4.5rem, 9vw, 8.5rem) 0; }
.section-pad-sm { padding: clamp(3rem, 6vw, 5rem) 0; }

::selection { background: var(--forest); color: var(--ivory); }

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

/* ---------- Type scale ---------- */
.h-display {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.06;
}
.h-xl { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.h-lg { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.h-md { font-size: clamp(1.4rem, 2vw, 1.85rem); }

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--muted);
  line-height: 1.7;
  /* max-width: 46ch; */
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.eyebrow.on-dark { color: var(--sage); }

/* ---------- Buttons ---------- */
.btn-zh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem 2.1rem;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
  white-space: nowrap;
}

.btn-primary-zh {
  background: var(--forest);
  color: var(--ivory);
  border-color: var(--forest);
}
.btn-primary-zh:hover {
  background: var(--forest-dark);
  border-color: var(--forest-dark);
  color: var(--white);
}

.btn-light-zh {
  background: var(--ivory);
  color: var(--charcoal);
  border-color: var(--ivory);
}
.btn-light-zh:hover {
  background: transparent;
  color: var(--ivory);
  border-color: var(--ivory);
}

.btn-outline-zh {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-outline-zh:hover {
  background: var(--charcoal);
  color: var(--ivory);
}

.link-underline {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
  padding-bottom: 3px;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  transition: background-size 0.4s var(--ease);
}
.link-underline:hover { background-size: 0 1px; }

/* ============================================================
   HEADER
   ============================================================ */
.zh-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.6rem 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.zh-header .container-edge {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.zh-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ivory);
  letter-spacing: 0.01em;
  transition: color 0.4s var(--ease);
}

.zh-nav {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  list-style: none;
  margin: 0; padding: 0;
}

.zh-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ivory);
  opacity: 0.88;
  transition: opacity 0.3s var(--ease), color 0.4s var(--ease);
  position: relative;
}
.zh-nav a:hover { opacity: 1; }
.zh-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: currentColor;
}

.zh-header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.zh-header .btn-zh {
  padding: 0.85rem 1.7rem;
  font-size: 0.88rem;
}

/* scrolled state */
.zh-header.is-scrolled {
  background: rgba(247, 244, 237, 0.96);
  backdrop-filter: blur(10px);
  padding: 1.05rem 0;
  border-bottom-color: var(--stone);
}
.zh-header.is-scrolled .zh-logo { color: var(--charcoal); }
.zh-header.is-scrolled .zh-nav a { color: var(--charcoal); }

/* pages without a dark hero start scrolled-styled */
.zh-header.zh-header--static {
  background: var(--ivory);
  border-bottom-color: var(--stone);
}
.zh-header.zh-header--static .zh-logo,
.zh-header.zh-header--static .zh-nav a { color: var(--charcoal); }

.zh-burger {
  display: none;
  width: 26px;
  height: 18px;
  position: relative;
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}
.zh-burger span {
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  color: inherit;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), top 0.35s var(--ease);
}
.zh-burger span:nth-child(1) { top: 0; }
.zh-burger span:nth-child(2) { top: 8px; }
.zh-burger span:nth-child(3) { top: 16px; }
.zh-burger.is-open span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.zh-burger.is-open span:nth-child(2) { opacity: 0; }
.zh-burger.is-open span:nth-child(3) { top: 8px; transform: rotate(-45deg); }

.zh-mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--forest-dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem var(--edge);
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}
.zh-mobile-nav.is-open { transform: translateY(0); }
.zh-mobile-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.zh-mobile-nav a {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--ivory);
}
.zh-mobile-nav .btn-zh { margin-top: 2rem; align-self: flex-start; }

@media (max-width: 991px) {
  .zh-nav, .zh-header-right .btn-zh { display: none; }
  .zh-burger { display: block; color: inherit; }
  .zh-header .container-edge { color: inherit; }
}

/* ============================================================
   HERO (home)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  width: 100%;
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,42,36,0.35) 0%, rgba(16,42,36,0.28) 40%, rgba(16,26,23,0.82) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 var(--edge) 6.5rem;
  /* max-width: 780px; */
}
.hero-content .eyebrow { color: var(--sage); margin-bottom: 1.6rem; }
.hero-content h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  margin-bottom: 1.6rem;
}
.hero-content .lede {
  color: rgba(247,244,237,0.86);
  max-width: 50ch;
  margin-bottom: 2.4rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-actions .link-underline { color: var(--ivory); }

.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  right: var(--edge);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: rgba(247,244,237,0.75);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-cue .line {
  width: 1px;
  height: 42px;
  background: rgba(247,244,237,0.5);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: "";
  position: absolute;
  left: 0; top: -100%;
  width: 100%; height: 100%;
  background: var(--ivory);
  animation: scrollcue 2.2s var(--ease) infinite;
}
@keyframes scrollcue {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}
@media (max-width: 767px) {
  .scroll-cue { display: none; }
}

/* Secondary page hero (no full image bleed cinematic, but still image-led) */
.page-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  overflow: hidden;
  padding-top: 8rem;
}
.page-hero .hero-media img { object-fit: cover; width: 100%; height: 100%; }
.page-hero .hero-media::after {
  background: linear-gradient(180deg, rgba(16,27,25,0.55) 0%, rgba(16,27,25,0.35) 45%, rgba(16,27,25,0.88) 100%);
}
.page-hero-content { position: relative; z-index: 1; padding: 0 var(--edge) 4.5rem; max-width: 820px; }
.page-hero-content h1 { font-size: clamp(2.3rem, 5vw, 4rem); margin-top: 1.2rem; }

/* ============================================================
   Editorial split (intro)
   ============================================================ */
.split-editorial {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.split-editorial .split-visual {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.split-editorial .split-visual img { width: 100%; height: 100%; object-fit: cover; }
.split-editorial .split-heading {
  position: sticky;
  top: 9rem;
}
@media (max-width: 991px) {
  .split-editorial { grid-template-columns: 1fr; }
  .split-editorial .split-heading { position: static; order: 2; }
  .split-editorial .split-visual { order: 1; aspect-ratio: 16/10; }
  .split-editorial .split-copy { order: 3; }
}

.body-copy { max-width: 62ch; }
.body-copy p { font-size: 1.03rem; }

/* ============================================================
   Equity equation visual
   ============================================================ */
.equation-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  border-top: 1px solid var(--stone);
  border-bottom: 1px solid var(--stone);
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.equation-item { text-align: center; }
.equation-item .eq-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
  display: block;
}
.equation-item .eq-value {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  color: var(--forest);
}
.equation-op {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  color: var(--sage);
  text-align: center;
}
@media (max-width: 767px) {
  .equation-strip { grid-template-columns: 1fr; text-align: center; }
  .equation-op { transform: rotate(90deg); }
}

/* ============================================================
   Possibilities — asymmetric
   ============================================================ */
.possibilities-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px;
  background: var(--stone);
  border: 1px solid var(--stone);
}
.possibility {
  background: var(--ivory);
  padding: clamp(2rem, 3.4vw, 3.2rem);
  grid-column: span 6;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.4s var(--ease);
}
.possibility:hover { background: var(--white); }
.possibility:nth-child(1) { grid-column: span 7; }
.possibility:nth-child(2) { grid-column: span 5; }
.possibility:nth-child(3) { grid-column: span 5; }
.possibility:nth-child(4) { grid-column: span 7; }
.possibility .p-index {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--sage);
}
.possibility h3 {
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  margin: 1.6rem 0 1rem;
}
@media (max-width: 900px) {
  .possibility, .possibility:nth-child(1), .possibility:nth-child(2),
  .possibility:nth-child(3), .possibility:nth-child(4) { grid-column: span 12; }
}

/* ============================================================
   Image + content (know what you're working with)
   ============================================================ */
.feature-media-block {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
}
.feature-media-block .fmb-img {
  position: absolute; inset: 0;
}
.feature-media-block .fmb-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-media-block .fmb-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(16,27,25,0.9) 0%, rgba(16,27,25,0.65) 38%, rgba(16,27,25,0.05) 68%);
}
.feature-media-block .fmb-panel {
  position: relative;
  z-index: 1;
  color: var(--ivory);
  max-width: 620px;
  padding: 3rem var(--edge);
}
.fmb-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 2rem;
}
.fmb-list li {
  font-size: 0.95rem;
  color: rgba(247,244,237,0.85);
  padding-left: 1.1rem;
  position: relative;
}
.fmb-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 1px;
  background: var(--sage);
}
@media (max-width: 767px) {
  .fmb-list { grid-template-columns: 1fr; }
  .feature-media-block { min-height: 560px; }
}

/* ============================================================
   Vertical timeline
   ============================================================ */
.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding-left: clamp(2rem, 5vw, 3.5rem);
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0; top: 0.4rem; bottom: 0.4rem;
  width: 1px;
  background: var(--stone);
}
.timeline-step {
  position: relative;
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before {
  content: "";
  position: absolute;
  left: calc(clamp(2rem, 5vw, 3.5rem) * -1 - 4px + var(--edge) * 0);
  left: -1 * clamp(2rem, 5vw, 3.5rem);
  top: 0.35rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--forest);
  transform: translateX(calc(clamp(2rem, 5vw, 3.5rem) - 4.5px));
}
.timeline-step .t-label {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  color: var(--forest);
  margin-bottom: 0.9rem;
}
.timeline-step p { max-width: 52ch; }

/* ============================================================
   Dark section (Why ZukHouses)
   ============================================================ */
.section-dark {
  background: var(--forest-dark);
  color: var(--ivory);
}
.section-dark .eyebrow { color: var(--sage); }
.section-dark p { color: rgba(247,244,237,0.72); }
.dark-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.dark-grid .dg-item {
  border-top: 1px solid rgba(247,244,237,0.2);
  padding-top: 1.6rem;
}
.dark-grid h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: var(--ivory);
}
@media (max-width: 767px) {
  .dark-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Scenario section — overlapping images
   ============================================================ */
.scenario-wrap { position: relative; }
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.scenario-card { grid-column: span 6; position: relative; }
.scenario-card:nth-child(1) { grid-column: span 7; margin-top: 0; }
.scenario-card:nth-child(2) { grid-column: span 5; margin-top: 4.5rem; }
.scenario-card:nth-child(3) { grid-column: span 5; margin-top: 1.5rem; }
.scenario-card:nth-child(4) { grid-column: span 7; margin-top: -1rem; }
.scenario-img { aspect-ratio: 4/5; overflow: hidden; margin-bottom: 1.2rem; }
.scenario-img img { width: 100%; height: 100%; object-fit: cover; }
.scenario-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.scenario-card p { font-size: 0.95rem; max-width: 40ch; }
@media (max-width: 900px) {
  .scenario-card, .scenario-card:nth-child(1), .scenario-card:nth-child(2),
  .scenario-card:nth-child(3), .scenario-card:nth-child(4) { grid-column: span 12; margin-top: 0 !important; }
}

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-list { max-width: 900px; }
.faq-item {
  border-bottom: 1px solid var(--stone);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 1.9rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  color: var(--charcoal);
}
.faq-q .faq-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  position: relative;
}
.faq-q .faq-icon::before,
.faq-q .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--forest);
  transition: transform 0.35s var(--ease);
}
.faq-q .faq-icon::before { left: 0; top: 50%; width: 100%; height: 1px; transform: translateY(-50%); }
.faq-q .faq-icon::after { top: 0; left: 50%; width: 1px; height: 100%; transform: translateX(-50%); }
.faq-item.is-open .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-a-inner { padding-bottom: 1.9rem; max-width: 68ch; }
.faq-item.is-open .faq-a { max-height: 600px; }

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  color: var(--ivory);
  overflow: hidden;
}
.final-cta .hero-media::after {
  background: linear-gradient(180deg, rgba(16,27,25,0.55) 0%, rgba(16,27,25,0.75) 100%);
}
.final-cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--edge);
}
.final-cta-content .lede { margin: 1.6rem auto 2.4rem; color: rgba(247,244,237,0.85); }

/* ============================================================
   Footer
   ============================================================ */
.zh-footer {
  background: var(--forest-dark);
  color: rgba(247,244,237,0.85);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 2rem;
}
.zh-footer .footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(247,244,237,0.15);
}
.zh-footer .footer-logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ivory);
  margin-bottom: 1.1rem;
  display: block;
}
.zh-footer p { color: rgba(247,244,237,0.62); max-width: 40ch; }
.zh-footer h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247,244,237,0.5);
  margin-bottom: 1.3rem;
  font-weight: 600;
}
.zh-footer ul { list-style: none; margin: 0; padding: 0; }
.zh-footer ul li { margin-bottom: 0.8rem; }
.zh-footer ul a {
  color: rgba(247,244,237,0.82);
  font-size: 0.95rem;
  transition: color 0.3s var(--ease);
}
.zh-footer ul a:hover { color: var(--ivory); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.8rem;
  font-size: 0.85rem;
  color: rgba(247,244,237,0.45);
}
@media (max-width: 767px) {
  .zh-footer .footer-top { grid-template-columns: 1fr; gap: 2.4rem; }
}

/* ============================================================
   Generic inner-page building blocks (About / Home Equity / Contact / Legal)
   ============================================================ */
.content-block { max-width: 900px; }
.content-block + .content-block { margin-top: clamp(3rem, 6vw, 5rem); }

.stacked-section {
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  border-top: 1px solid var(--stone);
}
.stacked-section:first-of-type { border-top: 0; }

.two-col {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 5rem);
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; }
}

.about-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 80vh;
  align-items: stretch;
}
.about-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(8rem, 12vw, 10rem) var(--edge) 4rem clamp(3rem, 8vw, 7rem);
}
.about-hero-img { position: relative; min-height: 420px; }
.about-hero-img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
@media (max-width: 991px) {
  .about-hero { grid-template-columns: 1fr; }
  .about-hero-img { order: -1; min-height: 50vh; }
  .about-hero-copy { padding: 3rem var(--edge); }
}

.factor-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}
.factor-list li {
  padding: 1.4rem 0;
  border-top: 1px solid var(--stone);
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 1rem;
}
.factor-list li:last-child { border-bottom: 1px solid var(--stone); }
.factor-list .f-num {
  font-family: var(--font-display);
  color: var(--sage);
}
.factor-list h4 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.factor-list p { font-size: 0.95rem; margin-bottom: 0; }

/* Contact page */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
}
@media (max-width: 991px) {
  .contact-wrap { grid-template-columns: 1fr; }
}
.contact-info-item {
  padding: 1.4rem 0;
  border-top: 1px solid var(--stone);
}
.contact-info-item:last-child { border-bottom: 1px solid var(--stone); }
.contact-info-item .ci-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.5rem;
}
.contact-info-item .ci-value { font-family: var(--font-display); font-size: 1.3rem; color: var(--charcoal); }

.form-zh label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  display: block;
}
.form-zh .form-control {
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--charcoal);
}
.form-zh .form-control:focus {
  box-shadow: none;
  border-color: var(--forest);
}
.form-zh textarea.form-control { min-height: 140px; resize: vertical; }
.form-zh .form-check-label { font-size: 0.85rem; color: var(--muted); }
.form-zh .form-check-input:checked { background-color: var(--forest); border-color: var(--forest); }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 1.2rem; }

.form-success {
  display: none;
  border: 1px solid var(--forest);
  background: rgba(25,60,52,0.06);
  padding: 1.5rem;
  font-size: 0.95rem;
  color: var(--forest);
}
.form-success.is-visible { display: block; }

/* Legal pages */
.legal-content h2 {
  font-size: 1.5rem;
  margin-top: 2.8rem;
  margin-bottom: 1rem;
  color: var(--forest);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 0.98rem; }
.legal-content ul { padding-left: 1.3rem; }
.legal-content li { margin-bottom: 0.5rem; }
.legal-updated { font-size: 0.85rem; color: var(--muted); margin-bottom: 3rem; }

/* Utility */
.text-forest { color: var(--forest) !important; }
.bg-sand { background: var(--sand); }
.divider { height: 1px; background: var(--stone); border: 0; margin: 0; }

/* AOS override defaults are fine via CDN attributes */