/* ============================================================
   READY IN CORP — design tokens & global styles
   Editorial real-estate aesthetic: serif display + sans body,
   warm paper background, deep cobalt + terracotta accent.
   ============================================================ */

:root {
  /* Color */
  --paper: #faf7f2;
  --paper-2: #f3eee5;
  --ink: #161a23;
  --ink-2: #2a2f3d;
  --ink-3: #5b6273;
  --ink-4: #8b94a8;
  --rule: #e6dfd1;
  --rule-2: #d8cfbb;
  --primary: #1e5fa8;          /* logo cobalt */
  --primary-deep: #16467e;
  --primary-soft: #e6efff;
  --accent: #c9663d;           /* terracotta */
  --accent-soft: #f5e2d3;
  --success: #2f7a4d;
  --gold: #b8954a;

  /* Type */
  --serif: "Newsreader", "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;

  /* Spacing/radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(22, 26, 35, 0.06), 0 0 0 1px rgba(22, 26, 35, 0.04);
  --shadow-md: 0 12px 32px -12px rgba(22, 26, 35, 0.18), 0 2px 6px rgba(22, 26, 35, 0.06);
  --shadow-lg: 0 24px 60px -20px rgba(22, 26, 35, 0.25);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 5.5vw, 76px); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; }
h4 { font-size: 20px; line-height: 1.3; }

p { margin: 0 0 1em; text-wrap: pretty; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow { max-width: 960px; }
.container-wide   { max-width: 1440px; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--ink-3);
  display: inline-block;
}
.eyebrow.is-primary { color: var(--primary); }
.eyebrow.is-primary::before { background: var(--primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--primary-deep); border-color: var(--primary-deep); }
.btn-ghost {
  border-color: var(--rule-2);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--paper); }
.btn-link {
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding-bottom: 2px;
}
.btn-link:hover { color: var(--primary); border-color: var(--primary); transform: none; }

.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 15px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.nav-brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--primary);
}
.nav-brand-text {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-weight: 500;
}
.nav-brand-text small {
  display: block;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--ink-3);
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 999px;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link.is-active { color: var(--primary); }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 1px;
  background: var(--primary);
}

.nav-dropdown {
  position: relative;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 280px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .2s ease;
}
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-dropdown-item:hover { background: var(--paper-2); }
.nav-dropdown-item-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
}
.nav-dropdown-item-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2px;
}
.nav-dropdown-item-desc {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.4;
}

/* ---------- Page transitions ---------- */
@keyframes fadeRise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-enter { animation: fadeRise .5s cubic-bezier(.2,.7,.3,1) both; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: end;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 400;
  margin-bottom: 28px;
}
.hero-headline em {
  font-style: italic;
  color: var(--primary);
}
.hero-lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Hero feature card (right side) ---------- */
.hero-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.hero-card-image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #2a3a55, #1e5fa8 60%, #4080c4);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

/* ---------- Section ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}
.section-head-meta { color: var(--ink-3); max-width: 420px; }

/* ---------- Service rail ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 800px) {
  .service-grid { grid-template-columns: 1fr; }
}
.service-cell {
  background: var(--paper);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  transition: background .25s ease;
  position: relative;
  min-height: 380px;
}
.service-cell:hover { background: var(--paper-2); }
.service-cell-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.1em;
}
.service-cell-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: var(--primary);
  margin-bottom: 16px;
}
.service-cell h3 {
  font-size: 28px;
  margin-bottom: 8px;
}
.service-cell p {
  color: var(--ink-3);
  font-size: 14px;
  margin-bottom: auto;
}
.service-cell-arrow {
  color: var(--ink-3);
  transition: transform .25s ease, color .25s ease;
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}
.service-cell:hover .service-cell-arrow {
  color: var(--primary);
  transform: translateX(4px);
}

/* ---------- Listing card ---------- */
.listing-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
  cursor: pointer;
}
.listing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.listing-img {
  width: 100%;
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.listing-body { padding: 18px 20px 20px; }
.listing-price {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}
.listing-addr {
  font-size: 14px;
  color: var(--ink-3);
  margin-top: 4px;
  margin-bottom: 14px;
}
.listing-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--ink-3);
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}
.listing-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}
.listing-badge.is-new { background: var(--accent); color: white; }

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 800px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}
.stat {
  padding: 36px 24px;
  border-right: 1px solid var(--rule);
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.stat-num em { font-style: italic; color: var(--primary); }
.stat-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

/* ---------- Form ---------- */
.field { margin-bottom: 20px; }
.field-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.input, .select, .textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-md);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 95, 168, 0.12);
}
.textarea { resize: vertical; min-height: 130px; }
.field-error {
  color: #b3331f;
  font-size: 12px;
  margin-top: 6px;
}
.field.is-error .input,
.field.is-error .select,
.field.is-error .textarea {
  border-color: #b3331f;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 32px;
  margin-top: 80px;
}
.footer h5 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.5);
  margin: 0 0 20px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a {
  color: rgba(250, 247, 242, 0.85);
  font-size: 14px;
  transition: color .2s ease;
}
.footer a:hover { color: var(--paper); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 56px;
  margin-bottom: 56px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.footer-brand-text {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 18px;
  color: var(--paper);
  letter-spacing: 0.03em;
}
.footer-tag {
  font-size: 14px;
  color: rgba(250, 247, 242, 0.6);
  max-width: 280px;
  line-height: 1.55;
}
.footer-license {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  font-size: 12px;
  color: rgba(250, 247, 242, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- Slab/quote ---------- */
.pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 920px;
}
.pull-quote-attr {
  font-family: var(--sans);
  font-style: normal;
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 28px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Hero placeholder image ---------- */
.placeholder-img {
  background: repeating-linear-gradient(
    135deg,
    var(--paper-2) 0 12px,
    var(--paper) 12px 24px
  );
  display: grid;
  place-items: center;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--r-md);
  border: 1px solid var(--rule);
}

/* hero living room art */
.hero-art {
  position: relative;
  aspect-ratio: 5/6;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #d8c5a8 0%, #c4a886 50%, #8a6a4d 100%);
}
.hero-art-house {
  position: absolute;
  inset: 0;
}
.hero-art-overlay {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  background: rgba(22, 26, 35, 0.78);
  backdrop-filter: blur(8px);
  color: var(--paper);
  border-radius: var(--r-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.hero-art-overlay-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.7);
  margin-bottom: 4px;
}
.hero-art-overlay-val {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: -0.01em;
}

/* Mortgage calc */
.calc {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 36px;
}
.calc-result {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
}
.calc-result-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.6);
}
.calc-result-val {
  font-family: var(--serif);
  font-size: 56px;
  letter-spacing: -0.025em;
  line-height: 1;
}
.calc-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(250, 247, 242, 0.15);
  margin-top: 16px;
  border-radius: var(--r-sm);
  overflow: hidden;
}
.calc-breakdown-cell {
  background: var(--ink);
  padding: 12px 14px;
}
.calc-breakdown-cell .lbl {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.5);
  margin-bottom: 4px;
}
.calc-breakdown-cell .val {
  font-family: var(--serif);
  font-size: 18px;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--rule);
  border-radius: 2px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 1px var(--primary);
}
input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--paper);
}

/* license card */
.license-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 32px;
}
.license-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.license-row:last-child { border-bottom: 0; }
.license-row dt { color: var(--ink-3); }
.license-row dd { margin: 0; color: var(--ink); font-weight: 500; }
.badge-licensed {
  background: rgba(47, 122, 77, 0.1);
  color: var(--success);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.badge-licensed::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
}

/* feature list */
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  font-size: 15px;
  align-items: flex-start;
}
.feature-list li:first-child { border-top: 0; }
.feature-list .ix {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  margin-top: 1px;
}

/* Loan products grid */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .products { grid-template-columns: 1fr; } }
.product {
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 24px;
  background: var(--paper);
  transition: border-color .2s ease, transform .2s ease;
}
.product:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}
.product-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.product h4 { font-size: 22px; margin-bottom: 8px; }
.product p { font-size: 13px; color: var(--ink-3); margin: 0; }

/* CTA banner */
.cta-banner {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 800px) {
  .cta-banner { grid-template-columns: 1fr; padding: 32px; }
}
.cta-banner h3 {
  color: var(--paper);
  font-size: clamp(24px, 2.5vw, 36px);
  margin-bottom: 8px;
}
.cta-banner p {
  color: rgba(250, 247, 242, 0.7);
  margin: 0;
  max-width: 480px;
}
.cta-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
@media (max-width: 800px) {
  .cta-banner-actions { justify-content: flex-start; }
}
.btn-on-dark {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.btn-on-dark:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.btn-on-dark-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(250, 247, 242, 0.3);
}
.btn-on-dark-ghost:hover { border-color: var(--paper); }

/* Map placeholder */
.map-frame {
  width: 100%;
  aspect-ratio: 16/7;
  border: 0;
  display: block;
}

/* Tab pills (service nav) */
.tab-bar {
  display: inline-flex;
  background: var(--paper-2);
  border-radius: 999px;
  padding: 4px;
  border: 1px solid var(--rule);
}
.tab-pill {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-3);
  cursor: pointer;
  border: 0;
  background: transparent;
  transition: background .2s ease, color .2s ease;
}
.tab-pill.is-active {
  background: var(--ink);
  color: var(--paper);
}

/* Process timeline */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 800px) { .process { grid-template-columns: 1fr 1fr; } }
.process-step {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
  position: relative;
}
.process-step-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.process-step h4 {
  font-size: 22px;
  margin-bottom: 6px;
}
.process-step p {
  font-size: 13px;
  color: var(--ink-3);
}

/* Team grid */
.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 800px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .team { grid-template-columns: 1fr; } }
.team-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
}
.team-img {
  aspect-ratio: 1;
  background: linear-gradient(160deg, #d8c5a8, #b09171);
  position: relative;
}
.team-body { padding: 20px; }
.team-name {
  font-family: var(--serif);
  font-size: 22px;
  margin-bottom: 4px;
}
.team-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.team-bio {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
}

/* Property carousel */
.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  scrollbar-width: thin;
}
.carousel::-webkit-scrollbar { height: 6px; }
.carousel::-webkit-scrollbar-track { background: var(--paper-2); border-radius: 3px; }
.carousel::-webkit-scrollbar-thumb { background: var(--rule-2); border-radius: 3px; }
.carousel > * {
  flex: 0 0 320px;
  scroll-snap-align: start;
}

/* Toast/banner success */
.alert {
  padding: 16px 20px;
  border-radius: var(--r-md);
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.alert-success {
  background: rgba(47, 122, 77, 0.08);
  color: var(--success);
  border: 1px solid rgba(47, 122, 77, 0.2);
}

/* utility */
.divider {
  height: 1px;
  background: var(--rule);
  margin: 0;
  border: 0;
}
.text-muted { color: var(--ink-3); }
.text-mono  { font-family: var(--mono); }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.mb-6 { margin-bottom: 48px; }
.flex { display: flex; }
.gap-12 { gap: 12px; }
.items-center { align-items: center; }

/* skyline svg accent */
.skyline-accent {
  width: 100%;
  height: 80px;
  display: block;
  color: var(--rule-2);
}
