/* ========================================================================
   Components — nav, hero, cards, footer, calculators
   ======================================================================== */

/* ── Navbar ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(250, 247, 239, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line-soft); background: rgba(250, 247, 239, 0.96); }

.nav__row {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--forest-900);
  text-decoration: none;
}
.nav__brand b { color: var(--forest-700); font-weight: 600; }
.nav__brand small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
  font-weight: 500;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.01em;
  position: relative;
}
.nav__links a:hover { color: var(--forest-700); }
.nav__links a.is-active { color: var(--forest-700); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1.5px; background: var(--gold-600);
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* lang switch */
.lang-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--surface);
}
.lang-switch button {
  padding: 6px 12px;
  background: transparent;
  border: 0;
  color: var(--ink-muted);
  font-family: inherit;
  font-size: inherit;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.lang-switch button.is-active { background: var(--forest-700); color: var(--sand-50); }

/* mobile burger */
.nav__burger {
  display: none;
  width: 36px; height: 36px;
  background: transparent;
  border: 0;
  position: relative;
  cursor: pointer;
}
.nav__burger span {
  position: absolute; left: 8px; right: 8px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}
.nav__burger span:nth-child(1) { top: 13px; }
.nav__burger span:nth-child(2) { top: 18px; }
.nav__burger span:nth-child(3) { top: 23px; }
.nav__burger.is-open span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { top: 18px; transform: rotate(-45deg); }

@media (max-width: 880px) {
  .nav__links {
    position: fixed;
    inset: var(--nav-height) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--sand-50);
    padding: 28px 24px;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    border-top: 1px solid var(--line-soft);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line-soft); }
  .nav__burger { display: block; }
  .nav__cta .btn { display: none; }
  .nav__cta .lang-switch { display: flex; }
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  padding: calc(var(--nav-height) + 60px) 0 80px;
  background:
    radial-gradient(ellipse at 80% 0%, var(--forest-100) 0%, transparent 60%),
    var(--sand-50);
  position: relative;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: var(--gold-100);
  border: 1px solid var(--gold-500);
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 24px;
}
.hero__badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-600);
}

.hero h1 {
  font-size: clamp(46px, 7.2vw, 92px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin-bottom: 24px;
  color: var(--forest-900);
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--forest-700);
}
.hero__lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 52ch;
  margin-bottom: 32px;
}
.hero__lead strong { color: var(--forest-900); font-weight: 500; }

.hero__zh {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--forest-700);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero__creds {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
}
.hero__cred {
  flex: 1 1 120px;
  padding-right: 18px;
}
.hero__cred + .hero__cred { border-left: 1px solid var(--line-soft); padding-left: 18px; }
.hero__cred strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--forest-700);
  line-height: 1.1;
  margin-bottom: 4px;
}
.hero__cred span {
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}

.hero__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--forest-100);
  box-shadow: var(--shadow-lg);
}
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero__photo-placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  background: linear-gradient(135deg, var(--forest-700), var(--forest-600));
  color: var(--sand-100);
  text-align: center; padding: 32px;
}
.hero__photo-placeholder svg { width: 60px; height: 60px; opacity: 0.4; margin-bottom: 16px; }
.hero__photo-placeholder p { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sand-200); margin: 0; }

.hero__sticker {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--sand-50);
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 12px;
  max-width: 240px;
}
.hero__sticker-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #2dbe5a;
  box-shadow: 0 0 0 4px rgba(45, 190, 90, 0.18);
  flex-shrink: 0;
}
.hero__sticker-text {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink);
}
.hero__sticker-text b { display: block; color: var(--forest-900); font-weight: 600; margin-bottom: 1px; }

@media (max-width: 880px) {
  .hero { padding: calc(var(--nav-height) + 32px) 0 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__photo { aspect-ratio: 4 / 4; max-width: 480px; }
}

/* ── Trust strip ────────────────────────────────────────────── */
.trust {
  padding: 32px 0;
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.trust__row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
}
.trust__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.trust__items {
  display: flex; flex-wrap: wrap; gap: 28px 40px;
}
.trust__item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
}
.trust__item svg { width: 16px; height: 16px; color: var(--gold-600); }

/* ── Section header ────────────────────────────────────────── */
.sec-header { margin-bottom: 56px; max-width: 720px; }
.sec-header h2 { margin-bottom: 14px; }
.sec-header p { color: var(--ink-muted); font-size: 17px; line-height: 1.55; max-width: 60ch; }

/* ── Service cards ─────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.service-card {
  position: relative;
  padding: 36px 30px 30px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--forest-200);
  box-shadow: var(--shadow);
}
.service-card__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--gold-700);
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 26px;
  margin-bottom: 12px;
  color: var(--forest-900);
}
.service-card h3 small {
  display: block;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--forest-600);
  margin-top: 4px;
}
.service-card p { color: var(--ink-muted); font-size: 15px; margin-bottom: 18px; }
.service-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  font-size: 14px;
  color: var(--ink);
}
.service-card__list li {
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: flex-start; gap: 8px;
}
.service-card__list li::before {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold-600);
  margin-top: 8px; flex-shrink: 0;
}
.service-card__cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--forest-700);
  display: inline-flex; align-items: center; gap: 6px;
}
.service-card__cta::after {
  content: "→"; transition: transform 0.2s var(--ease);
}
.service-card:hover .service-card__cta::after { transform: translateX(4px); }

/* ── Story / split blocks ──────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.split--reverse { grid-template-columns: 1.1fr 1fr; }
.split__media {
  aspect-ratio: 4 / 5;
  background: var(--forest-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__body h2 { margin-bottom: 18px; }
.split__body p { color: var(--ink-muted); font-size: 16.5px; line-height: 1.7; max-width: 56ch; margin-bottom: 14px; }
.split__body p strong { color: var(--ink-strong); font-weight: 500; }

@media (max-width: 880px) {
  .split, .split--reverse { grid-template-columns: 1fr; gap: 36px; }
  .split__media { max-width: 480px; }
}

/* ── Stat strip ────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--forest-600);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: var(--forest-700);
  padding: 36px 28px;
  color: var(--sand-100);
}
.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 400;
  line-height: 1;
  color: var(--gold-500);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat span {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--sand-200);
  line-height: 1.45;
  display: block;
}

/* ── Award row ─────────────────────────────────────────────── */
.awards {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 36px;
}
.awards__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 12px;
}
.awards__title::before, .awards__title::after {
  content: ""; flex: 1; height: 1px; background: var(--line-soft);
}
.awards__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  list-style: none;
  padding: 0; margin: 0;
}
.awards__list li {
  padding-left: 18px;
  position: relative;
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.5;
}
.awards__list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px;
  border: 1.5px solid var(--gold-600);
  border-radius: 50%;
}
.awards__list li b { display: block; color: var(--forest-700); font-weight: 600; font-size: 15px; }

/* ── CTA strip ─────────────────────────────────────────────── */
.cta-strip {
  padding: clamp(56px, 8vw, 96px) 0;
  background:
    linear-gradient(135deg, var(--forest-800) 0%, var(--forest-700) 60%, var(--forest-600) 100%);
  color: var(--sand-100);
  text-align: center;
}
.cta-strip h2 { color: var(--sand-50); margin-bottom: 16px; }
.cta-strip p { color: var(--sand-200); font-size: 17px; max-width: 56ch; margin: 0 auto 28px; }
.cta-strip__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-strip .btn--ghost { color: var(--sand-50); border-color: var(--sand-200); }
.cta-strip .btn--ghost:hover { background: var(--sand-50); color: var(--forest-900); }

/* ── Testimonial ───────────────────────────────────────────── */
.quote {
  background: var(--surface);
  border-left: 3px solid var(--gold-600);
  padding: 32px 36px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  color: var(--forest-900);
  line-height: 1.45;
  margin: 0;
  max-width: 720px;
}
.quote footer {
  margin-top: 18px;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 13.5px;
  color: var(--ink-muted);
  font-weight: 500;
}
.quote footer b { color: var(--forest-700); display: block; margin-bottom: 2px; font-weight: 600; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq__item {
  border-bottom: 1px solid var(--line-soft);
}
.faq__item summary {
  padding: 22px 0;
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--forest-900);
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: color 0.2s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 300;
  color: var(--forest-700);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--forest-700); }
.faq__answer {
  padding: 0 0 26px;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 64ch;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--forest-800);
  color: var(--sand-200);
  padding: 72px 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer__brand {
  font-family: var(--font-serif);
  font-size: 26px;
  color: var(--sand-50);
  margin-bottom: 14px;
  font-weight: 400;
}
.footer__brand b { color: var(--gold-500); font-weight: 500; }
.footer__about { font-size: 14.5px; line-height: 1.65; color: var(--sand-200); max-width: 36ch; margin-bottom: 18px; }
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 10px; }
.footer__col a {
  color: var(--sand-200);
  font-size: 14px;
}
.footer__col a:hover { color: var(--sand-50); }
.footer__contact-line { font-size: 14px; color: var(--sand-200); margin-bottom: 6px; }
.footer__contact-line b { color: var(--sand-50); display: inline-block; min-width: 60px; font-weight: 500; }
.footer__bottom {
  border-top: 1px solid var(--forest-600);
  padding-top: 28px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: 12.5px;
  color: var(--sand-200);
}
.footer__bottom a { color: var(--sand-200); }
.footer__bottom a:hover { color: var(--sand-50); }

@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 520px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* ── Page header (interior pages) ──────────────────────────── */
.page-head {
  padding: calc(var(--nav-height) + 88px) 0 64px;
  background: var(--sand-100);
  border-bottom: 1px solid var(--line-soft);
}
.page-head .eyebrow { margin-bottom: 18px; }
.page-head h1 { margin-bottom: 18px; max-width: 18ch; }
.page-head .lede { max-width: 56ch; }

/* ── Calculator ────────────────────────────────────────────── */
.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.calc-form {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.calc-form h3 {
  font-size: 26px;
  margin-bottom: 6px;
}
.calc-form .calc-form__intro {
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 28px;
}
.calc-row { margin-bottom: 18px; }
.calc-row__label-line {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 6px;
}
.calc-row__label-line label { margin-bottom: 0; }
.calc-row__hint { font-size: 12px; color: var(--ink-faint); }
.calc-row input[type="range"] {
  width: 100%; padding: 0; height: 6px;
  -webkit-appearance: none; appearance: none;
  background: var(--sand-200);
  border-radius: 999px;
  border: 0;
}
.calc-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px;
  background: var(--forest-700);
  border-radius: 50%;
  border: 3px solid var(--sand-50);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.calc-row input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--forest-700);
  border-radius: 50%;
  border: 3px solid var(--sand-50);
  cursor: pointer;
}
.calc-row select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%232d4a3e' stroke-width='1.5' d='M1 1l5 5 5-5'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

.calc-result {
  background: var(--forest-700);
  color: var(--sand-100);
  padding: 36px;
  border-radius: var(--radius-lg);
  position: sticky; top: calc(var(--nav-height) + 16px);
}
.calc-result h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 22px;
}
.calc-result__big {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 400;
  color: var(--sand-50);
  line-height: 1.05;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.calc-result__big small {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold-500);
  font-weight: 500;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.calc-result__sub {
  font-size: 14.5px;
  color: var(--sand-200);
  margin-bottom: 28px;
  line-height: 1.5;
}
.calc-result__breakdown {
  border-top: 1px solid var(--forest-600);
  padding-top: 22px;
}
.calc-result__breakdown dl {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 16px;
  margin: 0;
  font-size: 14px;
}
.calc-result__breakdown dt { color: var(--sand-200); }
.calc-result__breakdown dd { font-family: var(--font-mono); color: var(--sand-50); margin: 0; font-size: 13.5px; }
.calc-result__breakdown dd.is-emphasis { color: var(--gold-500); font-weight: 600; }

.calc-result__cta {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--forest-600);
}
.calc-result__cta p { font-size: 14px; color: var(--sand-200); margin-bottom: 14px; }

.calc-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 0;
}
.calc-tab {
  padding: 14px 22px;
  background: transparent;
  border: 0;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.calc-tab:hover { color: var(--forest-700); }
.calc-tab.is-active { color: var(--forest-700); border-bottom-color: var(--forest-700); }

@media (max-width: 880px) {
  .calc-grid { grid-template-columns: 1fr; gap: 28px; }
  .calc-result { position: static; }
}

/* ── District pills (calculators page) ─────────────────────── */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pill {
  padding: 6px 14px;
  background: var(--sand-100);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 13px;
  color: var(--ink-muted);
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.pill:hover { background: var(--sand-200); color: var(--forest-700); }
.pill.is-active { background: var(--forest-700); color: var(--sand-50); border-color: var(--forest-700); }

/* ── Disclaimer ────────────────────────────────────────────── */
.disclaimer {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--sand-100);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  font-size: 12.5px;
  color: var(--ink-muted);
  line-height: 1.55;
}
.disclaimer b { color: var(--ink); font-weight: 600; }

/* ── Floating WhatsApp ─────────────────────────────────────── */
.fab-whatsapp {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 56px; height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42);
  z-index: 90;
  transition: transform 0.2s var(--ease);
}
.fab-whatsapp:hover { transform: scale(1.06); color: #fff; }
.fab-whatsapp svg { width: 28px; height: 28px; }

/* ── Scroll reveal helpers ─────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ── Project / launch cards ────────────────────────────────── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-soft);
}
.filter-pill {
  padding: 9px 18px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: all 0.2s var(--ease);
}
.filter-pill:hover { background: var(--sand-100); color: var(--forest-700); border-color: var(--line-strong); }
.filter-pill.is-active { background: var(--forest-700); color: var(--sand-50); border-color: var(--forest-700); }
.filter-pill small {
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--sand-100);
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
}
.filter-pill.is-active small { background: rgba(255,255,255,0.16); color: var(--sand-100); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  position: relative;
}
.project-card:hover {
  transform: translateY(-3px);
  border-color: var(--forest-200);
  box-shadow: var(--shadow);
}
.project-card.is-hidden { display: none; }

.project-card__media {
  aspect-ratio: 4 / 3;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  overflow: hidden;
}
/* Six gradient variants — applied via .project-card[data-variant="N"] */
.project-card[data-variant="1"] .project-card__media { background: linear-gradient(135deg, #2d4a3e 0%, #547062 100%); color: #faf7ef; }
.project-card[data-variant="2"] .project-card__media { background: linear-gradient(135deg, #3d5e4f 0%, #b8945c 100%); color: #faf7ef; }
.project-card[data-variant="3"] .project-card__media { background: linear-gradient(135deg, #1f3528 0%, #2d4a3e 60%, #b8945c 100%); color: #efe2c9; }
.project-card[data-variant="4"] .project-card__media { background: linear-gradient(135deg, #d4c8b1 0%, #b8a989 100%); color: #1f3528; }
.project-card[data-variant="5"] .project-card__media { background: linear-gradient(135deg, #14241c 0%, #3d5e4f 100%); color: #efe2c9; }
.project-card[data-variant="6"] .project-card__media { background: linear-gradient(135deg, #b8945c 0%, #9d7a47 100%); color: #faf7ef; }

.project-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.project-card__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.project-card__pin {
  position: absolute;
  top: 14px; left: 14px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.project-card__pin svg { width: 14px; height: 14px; color: currentColor; opacity: 0.92; }

.project-card__status {
  position: absolute;
  top: 14px; right: 14px;
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  z-index: 2;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.project-card__status[data-status="launched"]    { background: rgba(45, 190, 90, 0.94); color: #0a3a14; }
.project-card__status[data-status="coming-soon"] { background: rgba(184, 148, 92, 0.94); color: #2d1f0a; }
.project-card__status[data-status="gls"]         { background: rgba(85, 110, 100, 0.94); color: #faf7ef; }

.project-card__body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.project-card__row {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.project-card__row span {
  padding: 3px 10px;
  background: var(--sand-100);
  border-radius: var(--radius-pill);
  font-weight: 500;
}
.project-card__row span.is-tenure { color: var(--gold-700); }

.project-card__facts {
  list-style: none;
  padding: 14px 0;
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--ink);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.project-card__facts li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
}
.project-card__facts dt { color: var(--ink-muted); }
.project-card__facts dd { font-family: var(--font-mono); font-size: 12.5px; color: var(--forest-700); margin: 0; font-weight: 500; }

.project-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  background: var(--forest-700);
  color: var(--sand-50);
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s var(--ease);
}
.project-card__cta:hover { background: var(--forest-800); color: var(--sand-50); }
.project-card__cta svg { width: 14px; height: 14px; }

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

/* Empty state */
.projects-empty {
  text-align: center;
  padding: 64px 20px;
  color: var(--ink-muted);
  font-size: 15px;
  display: none;
}
.projects-empty.is-visible { display: block; }
