/* QS Growth Management — design tokens & shared styles
   Palette: warm paper / charcoal ink / sage green accent (aligned to logo)
   Type: Newsreader (display), Work Sans (body/UI), Space Mono (data/labels)
*/

:root {
  --bg: #F5F6F4;
  --bg-2: #ECEFEB;
  --card: #FFFFFF;
  --ink: #20262B;
  --ink-deep: #171D1A;
  --ink-dim: #66706B;
  --ink-soft: #8B948F;
  --accent: #5A7A5C;
  --accent-bright: #86A488;
  --accent-dim: #5A7A5C33;
  --accent-faint: #5A7A5C14;
  --rule: #DADFDB;
  --rule-strong: #20262B;
  --danger: #B3423A;

  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', 'SFMono-Regular', Menlo, 'Courier New', monospace;

  --max-width: 1120px;
  --measure: 62ch;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-nav: 0 1px 0 var(--rule), 0 12px 24px -20px rgba(32, 38, 43, 0.25);
  --shadow-card: 0 30px 60px -36px rgba(23, 29, 26, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, var(--accent-dim), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  z-index: 0;
}
.site-nav, main, header, footer, section, .property-hero { position: relative; z-index: 1; }

::selection { background: var(--accent); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; }
strong { font-weight: 600; }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--rule-strong);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 10px 16px;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* ---------- Motion ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-heading {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal-heading.is-visible { opacity: 1; transform: translateY(0); }
.stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-heading { opacity: 1; transform: none; transition: none; }
}

/* ---------- Nav ---------- */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  border-bottom: 1px solid var(--rule);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.site-nav.is-scrolled { border-bottom-color: transparent; box-shadow: var(--shadow-nav); }
.nav-right { display: flex; align-items: center; gap: 32px; }
.nav-cta-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bg);
  background: var(--rule-strong);
  padding: 11px 20px;
  white-space: nowrap;
  transition: background 0.25s ease;
}
.nav-cta-btn:hover { background: var(--accent); }
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.nav-logo img { width: 78px; height: auto; }
.nav-logo span {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}
.nav-logo:hover span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; list-style: none; font-size: 13.5px; }
.nav-links a {
  text-decoration: none;
  color: var(--ink-dim);
  position: relative;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -5px;
  height: 1px;
  background: var(--accent);
  transition: right 0.3s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  .site-nav { padding: 14px 20px; position: relative; flex-wrap: wrap; }
  .nav-toggle { display: block; }
  .nav-right { gap: 0; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--rule);
    display: none;
    box-shadow: 0 24px 40px -30px rgba(23, 29, 26, 0.4);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--rule); }
  .nav-links a { display: block; padding: 16px 24px; font-size: 15px; }
  .nav-links a::after { display: none; }
  .nav-cta-btn { display: none; }
}

/* ---------- Shared type ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--accent); }
.eyebrow.is-dim { color: var(--ink-dim); }
.eyebrow.is-dim::before { background: var(--ink-dim); }

h1, .thesis-statement {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: var(--ink);
  margin-bottom: 28px;
}
h1 em, .section-title em, .thesis-statement em { font-style: italic; color: var(--accent); font-weight: 400; }
.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 56ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 14px 24px;
  border: 1px solid var(--rule-strong);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, gap 0.25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--rule-strong); color: var(--bg); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-secondary { color: var(--ink); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn-light:hover { background: #fff; }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { border-color: #fff; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-dim);
  font-size: 14.5px;
  font-weight: 500;
  transition: border-color 0.2s ease;
  padding-bottom: 1px;
}
.text-link:hover { border-bottom-color: var(--accent); }

/* ---------- Page hero (text-led) ---------- */
.hero {
  padding: 96px 40px 64px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.hero-inner { max-width: 820px; }
@media (max-width: 640px) { .hero { padding: 56px 20px 40px; } }

/* ---------- Split hero (home) ---------- */
.hero-split {
  position: relative;
  width: 100%;
  min-height: min(760px, calc(100vh - 110px));
  display: grid;
  grid-template-columns: minmax(360px, 640px) 1fr;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  left: 36%;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.55) 24%, black 58%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.55) 24%, black 58%);
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) sepia(0.15) saturate(1.05) brightness(1.03);
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s ease, transform 6s linear;
}
.hero-media img.is-active { opacity: 0.92; transform: scale(1); }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 76%, var(--bg) 100%);
}
.hero-caption {
  position: absolute;
  left: 40px;
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-caption-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  padding: 6px 10px;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-caption-text.is-active { opacity: 1; }
.hero-dots { display: flex; gap: 8px; }
.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rule-strong);
  opacity: 0.25;
  border: none; padding: 0; cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.hero-dot.is-active { opacity: 0.9; transform: scale(1.25); }

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: 88px 44px 80px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-content .eyebrow { margin-bottom: 26px; }
.hero-content h1 {
  font-size: clamp(44px, 6.2vw, 80px);
  line-height: 1.02;
  margin-bottom: 30px;
  font-weight: 400;
}
.hero-content .accent-word { font-style: italic; color: var(--accent); font-weight: 400; }
.hero-content .hero-sub { padding-top: 24px; border-top: 1px solid var(--rule); margin-bottom: 36px; }
.hero-content .hero-actions { margin-bottom: 0; }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; min-height: 0; }
  .hero-media {
    position: relative; inset: auto; left: 0;
    height: 280px;
    -webkit-mask-image: none; mask-image: none;
    order: -1;
  }
  .hero-media::after { background: linear-gradient(180deg, transparent 35%, var(--bg) 96%); }
  .hero-caption { left: 16px; bottom: auto; top: 16px; }
  .hero-content { max-width: none; width: 100%; padding: 12px 20px 28px; margin-top: -84px; text-align: center; }
  .hero-content .eyebrow { margin-bottom: 14px; justify-content: center; }
  .hero-content h1 { font-size: clamp(34px, 9vw, 48px); margin-bottom: 18px; }
  .hero-content .hero-sub { padding-top: 14px; margin-bottom: 20px; max-width: 46ch; margin-left: auto; margin-right: auto; font-size: 15.5px; }
  .hero-content .hero-actions { justify-content: center; gap: 12px; }
  .hero-content .btn { padding: 12px 18px; font-size: 13px; }

  .proof-mobile-inline {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 16px;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 18px 0;
    margin-bottom: 20px;
    text-align: left;
  }
  .proof-mobile-inline .proof-item { border-right: none; padding-right: 0; }
  .proof-mobile-inline .proof-num { font-size: clamp(24px, 7vw, 30px); }
  .section-proof-desktop { display: none; }
}

/* ---------- Proof points (stat bar) ---------- */
.section.section-proof { padding-top: 0; padding-bottom: 72px; border-top: none; }
@media (min-width: 901px) { .proof-mobile-inline { display: none !important; } }
.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 32px;
  border-top: 1px solid var(--rule-strong);
  padding-top: 28px;
}
.proof-item { padding-right: 32px; border-right: 1px solid var(--rule); min-width: 0; }
.proof-item:last-child { border-right: none; padding-right: 0; }
.proof-num {
  font-family: var(--font-mono);
  font-size: clamp(30px, 3.4vw, 44px);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  line-height: 1.1;
}
.proof-cap { font-size: 13px; color: var(--ink-dim); letter-spacing: 0.02em; margin-top: 10px; }
@media (max-width: 640px) {
  .proof { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .proof-item { border-right: none; padding-right: 0; }
}

/* ---------- Section shell ---------- */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 112px 40px;
  border-top: 1px solid var(--rule);
}
.section.is-flush { border-top: none; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head .section-body { margin-top: 0; }
.section-head.is-stack { grid-template-columns: 1fr; }
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin-bottom: 0;
}
.section-body {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--ink);
  max-width: var(--measure);
  margin-top: 24px;
}
.section-body.is-dim { color: var(--ink-dim); }
.section-body p { margin-bottom: 18px; }
.section-body p:last-child { margin-bottom: 0; }
.section-body .lede { font-size: 19px; line-height: 1.6; color: var(--ink); font-family: var(--font-display); }

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
}
@media (max-width: 640px) {
  .section { padding: 72px 20px; }
}

/* ---------- Two-column prose ---------- */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 40px 80px;
  align-items: start;
}
.two-col .sticky { position: sticky; top: 110px; }
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 28px; }
  .two-col .sticky { position: static; }
}

/* ---------- Deal / data grid ---------- */
.deal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
  margin-bottom: 28px;
}
.deal-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
.deal-cell { padding: 0 20px; border-right: 1px solid var(--rule); min-width: 0; }
.deal-cell:first-child { padding-left: 0; }
.deal-cell:last-child { border-right: none; padding-right: 0; }
.deal-cell-label { font-size: 11px; color: var(--ink-dim); letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 8px; font-family: var(--font-mono); }
.deal-cell-val { font-family: var(--font-mono); font-size: 16px; font-variant-numeric: tabular-nums; line-height: 1.4; }
.deal-cell-val.is-big { font-size: clamp(24px, 2.4vw, 30px); }
.deal-cell-sub { font-size: 12px; color: var(--ink-dim); margin-top: 4px; }

@media (max-width: 760px) {
  .deal-grid, .deal-grid.cols-5 { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .deal-cell { border-right: none; padding: 0; }
  .deal-cell:nth-child(2n+1) { border-right: 1px solid var(--rule); padding-right: 16px; }
  .deal-cell:nth-child(2n) { padding-left: 16px; }
}

/* ---------- Field note ---------- */
.fieldnote {
  padding: 28px 32px;
  border-left: 2px solid var(--accent);
  background: var(--accent-faint);
  max-width: 64ch;
}
.fieldnote-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.fieldnote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
}
.fieldnote-sig { font-family: var(--font-mono); font-size: 11px; color: var(--ink-dim); margin-top: 14px; letter-spacing: 0.04em; }

/* ---------- Property cards ---------- */
.track-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.track-card {
  display: block;
  text-align: left;
  color: inherit;
  text-decoration: none;
  position: relative;
}
.track-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
  background: var(--bg-2);
}
.track-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.02);
  transition: transform 0.7s var(--ease);
}
.track-card:hover .track-card-img { transform: scale(1.04); }
.track-card-tag {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  color: var(--ink);
  padding: 6px 9px;
  backdrop-filter: blur(6px);
}
.track-card-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}
.track-card-arrow {
  font-size: 15px;
  color: var(--accent);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}
.track-card:hover .track-card-name { color: var(--accent); }
.track-card:hover .track-card-arrow { opacity: 1; transform: translate(0, 0); }
.track-card-loc { font-size: 13.5px; color: var(--ink-dim); margin-bottom: 16px; }
.track-card-rows { border-top: 1px solid var(--rule); }
.track-card-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
}
.track-card-row dt { color: var(--ink-dim); }
.track-card-row dd { font-family: var(--font-mono); text-align: right; color: var(--ink); white-space: nowrap; }
.track-card-row dd.is-accent { color: var(--accent); }

@media (max-width: 900px) { .track-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; } }
@media (max-width: 600px) { .track-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Portfolio summary table ---------- */
.table-wrap { overflow-x: auto; border-top: 1px solid var(--rule-strong); }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.data-table thead th {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 400;
  text-align: left;
  padding: 14px 16px 12px 0;
  border-bottom: 1px solid var(--rule);
}
.data-table td,
.data-table tbody th,
.data-table tfoot th {
  padding: 18px 16px 18px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  text-align: left;
  font-weight: 400;
}
.data-table td.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.data-table .name { font-family: var(--font-display); font-size: 18px; font-weight: 500; }
.data-table a { text-decoration: none; }
.data-table a:hover { color: var(--accent); }
.data-table tfoot td,
.data-table tfoot th { border-bottom: none; font-family: var(--font-mono); font-size: 13px; color: var(--ink-dim); padding-top: 16px; }
.data-table tfoot td.num { color: var(--ink); }
.status-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 9px;
  border: 1px solid var(--rule);
  color: var(--ink-dim);
  white-space: nowrap;
}
.status-pill.is-live { border-color: var(--accent); color: var(--accent); background: var(--accent-faint); }

/* ---------- Pillars / principles ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  background: var(--card);
}
.pillar {
  padding: 36px 32px 40px;
  border-right: 1px solid var(--rule);
  transition: background 0.3s ease;
  position: relative;
}
.pillar:hover { background: color-mix(in srgb, var(--accent-faint) 80%, var(--card)); }
.pillar:last-child { border-right: none; }
.pillar-num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-bottom: 28px; letter-spacing: 0.06em; }
.pillar-title { font-family: var(--font-display); font-size: 24px; font-weight: 500; line-height: 1.2; margin-bottom: 14px; letter-spacing: -0.01em; }
.pillar-text { font-size: 14.5px; color: var(--ink-dim); line-height: 1.7; }
@media (max-width: 800px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--rule); padding: 28px 24px; }
  .pillar:last-child { border-bottom: none; }
}

/* ---------- Numbered list (process / scope) ---------- */
.num-list { list-style: none; border-top: 1px solid var(--rule-strong); }
.num-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}
.num-list .n { font-family: var(--font-mono); font-size: 12px; color: var(--accent); padding-top: 5px; }
.num-list h3 { font-family: var(--font-display); font-size: 21px; font-weight: 500; margin-bottom: 6px; line-height: 1.25; }
.num-list p { font-size: 15px; color: var(--ink-dim); line-height: 1.7; max-width: 60ch; }

/* ---------- Check list ---------- */
.check-list { list-style: none; }
.check-list li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  line-height: 1.6;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 20px;
  width: 14px; height: 14px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l3.5 3.5L16 6' stroke='%23000' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l3.5 3.5L16 6' stroke='%23000' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.check-list.is-avoid li::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 5l10 10M15 5L5 15' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 5l10 10M15 5L5 15' stroke='%23000' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  background: var(--ink-soft);
}
.list-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 8px; }

/* ---------- Markets ---------- */
.markets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.market {
  background: var(--card);
  border: 1px solid var(--rule);
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.market-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.market-name { font-family: var(--font-display); font-size: 30px; font-weight: 500; letter-spacing: -0.01em; }
.market-prov { font-family: var(--font-mono); font-size: 11px; color: var(--ink-dim); letter-spacing: 0.1em; text-transform: uppercase; }
.market-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); padding-top: 18px; gap: 16px; }
.market-stat-num { font-family: var(--font-mono); font-size: 22px; line-height: 1.1; }
.market-stat-cap { font-size: 12px; color: var(--ink-dim); margin-top: 6px; }
.market p { font-size: 14.5px; color: var(--ink-dim); line-height: 1.7; }
.market-props { display: flex; gap: 8px; flex-wrap: wrap; }
.market-props a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--rule);
  padding: 6px 10px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.market-props a:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 800px) { .markets { grid-template-columns: 1fr; gap: 20px; } .market { padding: 28px 24px; } }

/* ---------- Operator quote band ---------- */
.operator {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  align-items: center;
}
.operator-photo {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  width: 100%;
  height: auto;
  filter: saturate(0.96);
}
.operator-quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.32;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin-bottom: 28px;
}
.operator-quote em { color: var(--accent); font-style: italic; }
.operator-name { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 26px; }
@media (max-width: 800px) {
  .operator { grid-template-columns: 1fr; gap: 28px; }
  .operator-photo { max-width: 220px; }
}

/* ---------- Inverse CTA band ---------- */
.band {
  background: var(--ink-deep);
  color: #EDF0EC;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 400px at 85% 20%, rgba(134,164,136,0.22), transparent 60%);
  pointer-events: none;
}
.band-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 104px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 48px 80px;
  align-items: center;
  position: relative;
}
.band .eyebrow { color: var(--accent-bright); }
.band .eyebrow::before { background: var(--accent-bright); }
.band h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
  color: #fff;
}
.band h2 em { color: var(--accent-bright); font-style: italic; }
.band p { color: rgba(237,240,236,0.72); font-size: 16px; line-height: 1.75; max-width: 46ch; margin-bottom: 28px; }
.band-side { display: flex; flex-direction: column; gap: 0; }
.band-row {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  font-size: 14px;
}
.band-row:first-child { border-top: 1px solid rgba(255,255,255,0.12); }
.band-row dt { color: rgba(237,240,236,0.6); }
.band-row dd { font-family: var(--font-mono); text-align: right; }
.band-row dd a { text-decoration: none; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.3); }
.band-row dd a:hover { border-color: var(--accent-bright); color: var(--accent-bright); }
@media (max-width: 900px) {
  .band-inner { grid-template-columns: 1fr; padding: 72px 20px; gap: 32px; }
}

/* ---------- About ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 72px;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 80px 40px 96px;
}
.about-intro-media { position: sticky; top: 100px; }
.about-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  filter: saturate(1.02);
}
.about-photo-cap {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 0.06em;
  display: flex; justify-content: space-between;
}
.about-intro-body h1 { margin-bottom: 12px; }
.about-role { font-size: 15px; color: var(--ink-dim); margin-bottom: 28px; font-family: var(--font-mono); letter-spacing: 0.02em; }
.about-intro-body .deal-grid { margin-top: 36px; margin-bottom: 0; }
@media (max-width: 800px) {
  .about-intro { grid-template-columns: 1fr; gap: 28px; padding: 48px 20px 64px; }
  .about-intro-media { position: static; max-width: 240px; }
}

/* ---------- Timeline ---------- */
.timeline { list-style: none; border-left: 1px solid var(--rule); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 32px 32px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -6px; top: 7px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.timeline time { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: 6px; }
.timeline h3 { font-family: var(--font-display); font-size: 21px; font-weight: 500; margin-bottom: 6px; }
.timeline p { font-size: 15px; color: var(--ink-dim); line-height: 1.7; max-width: 56ch; }

/* ---------- Property detail page ---------- */
.property-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: 640px;
  min-height: 420px;
  overflow: hidden;
  background: var(--ink-deep);
}
.property-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.03);
  animation: hero-settle 1.6s var(--ease) both;
}
@keyframes hero-settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.property-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,29,26,0.15) 0%, rgba(23,29,26,0) 30%, rgba(23,29,26,0.82) 100%);
}
.property-hero-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 48px 40px 52px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.property-back {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  transition: color 0.2s ease;
}
.property-back:hover { color: #fff; }
.property-hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
  text-wrap: balance;
}
.property-hero-loc { font-size: 15px; color: rgba(255,255,255,0.85); font-family: var(--font-mono); letter-spacing: 0.04em; }
.property-hero-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.5);
  padding: 10px 14px;
  white-space: nowrap;
  backdrop-filter: blur(6px);
  background: rgba(23,29,26,0.25);
}
@media (max-width: 720px) {
  .property-hero { aspect-ratio: 4 / 5; max-height: none; min-height: 0; }
  .property-hero-content { padding: 28px 20px 32px; flex-direction: column; align-items: flex-start; gap: 18px; }
  .property-hero-title { font-size: clamp(40px, 12vw, 56px); }
}
.property-facts { padding-top: 48px; padding-bottom: 48px; border-top: none; }
.property-facts .deal-grid { margin-bottom: 0; }

.property-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule-strong);
}
.property-nav a {
  text-decoration: none;
  padding: 36px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: color 0.2s ease;
}
.property-nav a:last-child { text-align: right; align-items: flex-end; border-left: 1px solid var(--rule); }
.property-nav a:hover { color: var(--accent); }
.property-nav .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); }
.property-nav .ttl { font-family: var(--font-display); font-size: 26px; font-weight: 500; }
.property-nav .loc { font-size: 13px; color: var(--ink-dim); }
@media (max-width: 600px) {
  .property-nav .ttl { font-size: 20px; }
}

/* ---------- Contact stage ---------- */
.form-note { font-size: 11.5px; color: var(--ink-dim); margin-top: 6px; line-height: 1.5; }
.form-status {
  border: 1px solid var(--rule);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--ink);
  margin-top: 14px;
}
.form-status.is-error { border-color: var(--danger); color: var(--danger); }
.form-status a { color: inherit; }

.contact-stage {
  min-height: 100vh;
  min-height: calc(100dvh - var(--stage-offset, 132px));
  display: grid;
  grid-template-columns: 300px minmax(0, 600px);
  justify-content: center;
  align-items: center;
  gap: 64px;
  padding: 24px 40px calc(env(safe-area-inset-bottom, 0px) + 24px);
  max-width: 1200px;
  margin: 0 auto;
}
.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 300px;
  justify-self: end;
}
.contact-aside .eyebrow { margin-bottom: 0; }
.contact-aside h2,
.contact-aside .contact-aside-title { font-family: var(--font-display); font-weight: 500; font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
.contact-aside p { font-size: 14px; color: var(--ink-dim); line-height: 1.7; }
.contact-aside dl { border-top: 1px solid var(--rule); }
.contact-aside .row { display: flex; flex-direction: column; gap: 3px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.contact-aside dt { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); }
.contact-aside dd { font-size: 14px; }
.contact-aside dd a { text-decoration: none; border-bottom: 1px solid var(--accent-dim); }
.contact-aside dd a:hover { color: var(--accent); border-color: var(--accent); }
.contact-card {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-card);
  padding: clamp(20px, 3.5vw, 36px) clamp(20px, 4vw, 40px) clamp(18px, 3vw, 28px);
  position: relative;
  overflow: hidden;
  grid-column: 2;
}
.contact-card-head { margin-bottom: 10px; }
.contact-card-head .eyebrow { margin-bottom: 4px; }
.contact-card-head h1 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 0;
}
@media (max-width: 1080px) {
  .contact-stage { grid-template-columns: 1fr; gap: 0; padding: 20px 20px calc(env(safe-area-inset-bottom, 0px) + 20px); }
  .contact-aside { display: none; }
  .contact-card { grid-column: 1; max-width: 600px; justify-self: center; }
}

/* ---------- Typeform-style contact flow ---------- */
.typeform { display: flex; flex-direction: column; position: relative; transition: background 0.6s ease; }
.contact-card::before {
  content: "";
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-dim), transparent 70%);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
  transition: transform 0.7s var(--ease), opacity 0.6s ease;
}
.contact-card:has(.typeform.tf-tint-0)::before { transform: translate(0, 0) scale(1); }
.contact-card:has(.typeform.tf-tint-1)::before { transform: translate(-30px, 50px) scale(1.1); }
.contact-card:has(.typeform.tf-tint-2)::before { transform: translate(-70px, 110px) scale(1.2); opacity: 0.8; }
.contact-card:has(.typeform.tf-tint-3)::before { transform: translate(-30px, 150px) scale(1.05); opacity: 0.5; }
.typeform-body { position: relative; z-index: 1; overflow: hidden; transition: height 0.35s var(--ease); }
.typeform-progress { height: 3px; background: var(--rule); margin-bottom: 16px; position: relative; overflow: hidden; border-radius: 2px; }
.typeform-progress-bar { position: absolute; inset: 0 auto 0 0; width: 0%; background: var(--accent); border-radius: 2px; transition: width 0.55s var(--ease); }
.typeform-step { display: none; flex-direction: column; gap: 14px; animation: tf-in 0.4s var(--ease); }
.typeform-step.is-active { display: flex; }
@keyframes tf-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.typeform-num { font-family: var(--font-mono); font-size: clamp(22px, 4vw, 30px); font-weight: 700; color: var(--accent); line-height: 1; letter-spacing: -0.02em; }
.typeform-question { font-family: var(--font-display); font-size: clamp(18px, 2.4vw, 23px); font-weight: 500; line-height: 1.3; text-wrap: balance; }
.typeform-question .optional { font-family: var(--font-body); font-size: 12px; color: var(--ink-dim); font-weight: 400; margin-left: 4px; }
.typeform-field { position: relative; }
.typeform-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 17px;
  padding: 8px 30px 10px 2px;
  border: none;
  border-bottom: 2px solid var(--rule);
  background: transparent;
  color: var(--ink);
  transition: border-color 0.25s ease;
}
.typeform-input:focus { outline: none; border-color: var(--accent); }
textarea.typeform-input { resize: vertical; min-height: 70px; font-size: 15px; line-height: 1.5; padding-right: 34px; }
.typeform-check {
  position: absolute; right: 2px; bottom: 12px;
  width: 18px; height: 18px;
  color: var(--accent);
  opacity: 0; transform: scale(0.5);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  pointer-events: none;
}
.typeform-check-area { top: 10px; bottom: auto; }
.typeform-field.is-valid .typeform-check { opacity: 1; transform: scale(1); }
.typeform-hint { font-size: 12.5px; color: var(--ink-dim); }
.typeform-error { font-size: 12px; color: var(--danger); min-height: 14px; }
.typeform-nav { display: flex; align-items: center; gap: 14px; margin-top: 2px; }
.typeform-btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 11px 24px;
  min-height: 42px;
  background: var(--rule-strong);
  color: var(--bg);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}
.typeform-btn:hover { background: var(--accent); }
.typeform-btn:active { transform: scale(0.96); }
.typeform-btn[disabled] { opacity: 0.6; cursor: default; transform: none; }
.typeform-btn-ghost { background: none; color: var(--ink-dim); padding: 11px 10px; min-height: 42px; }
.typeform-btn-ghost:hover { background: none; color: var(--ink); }
.typeform-return-hint { font-size: 11px; color: var(--ink-dim); font-family: var(--font-mono); }
.typeform-review-list { display: flex; flex-direction: column; gap: 7px; border-top: 1px solid var(--rule); padding-top: 10px; }
.typeform-review-row { display: flex; justify-content: space-between; gap: 18px; font-size: 13px; }
.typeform-review-row dt { color: var(--ink-dim); flex-shrink: 0; }
.typeform-review-row dd { text-align: right; max-width: 70%; white-space: pre-wrap; }
.typeform-done { display: none; flex-direction: column; gap: 12px; align-items: flex-start; animation: tf-in 0.6s var(--ease); }
.typeform-done.is-active { display: flex; }
.typeform-done-mark { font-family: var(--font-mono); font-size: 13px; color: var(--accent); display: flex; align-items: center; gap: 8px; }
.typeform-done-mark::before {
  content: "";
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l3.5 3.5L16 6' stroke='%23000' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l3.5 3.5L16 6' stroke='%23000' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
  animation: tf-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes tf-pop { from { transform: scale(0); } to { transform: scale(1); } }
@media (max-width: 640px) {
  .typeform-review-row { flex-direction: column; gap: 4px; }
  .typeform-review-row dd { text-align: left; max-width: 100%; }
}
@media (max-width: 480px) {
  .typeform-input, textarea.typeform-input { font-size: 16px; }
  .contact-card::before { display: none; }
  .contact-stage { align-items: flex-start; padding-top: 14px; }
  .contact-card { padding: 18px 18px 16px; }
}
@media (max-height: 700px) {
  .contact-stage { padding-top: 10px; padding-bottom: 10px; }
  .contact-card { padding-top: 14px; padding-bottom: 12px; }
  .contact-card-head { margin-bottom: 6px; }
  .contact-card-head .eyebrow { margin-bottom: 2px; }
  .typeform-progress { margin-bottom: 12px; }
  .typeform-step { gap: 9px; }
  .typeform-review-list { gap: 5px; padding-top: 8px; }
  .form-note { margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-card::before, .typeform-body { transition: none; }
  .typeform-step, .typeform-done-mark::before, .property-hero img { animation: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--rule-strong);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 64px 40px 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { width: 150px; height: auto; margin-left: -8px; }
.footer-logo { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--ink); }
.footer-tag { font-family: var(--font-display); font-size: 18px; line-height: 1.4; color: var(--ink-dim); max-width: 30ch; font-style: italic; }
.footer-col h4 { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); font-weight: 400; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-links a { text-decoration: none; color: var(--ink); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-legal {
  font-size: 11.5px;
  color: var(--ink-dim);
  line-height: 1.65;
  border-top: 1px solid var(--rule);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-legal .disclaimer { max-width: 70ch; }
.footer-legal .copy { font-family: var(--font-mono); white-space: nowrap; }
@media (max-width: 760px) {
  .site-footer { padding: 48px 20px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- 404 ---------- */
a.market {
  text-decoration: none;
  color: inherit;
  gap: 16px;
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}
a.market:hover { border-color: var(--accent); transform: translateY(-2px); }
a.market:hover .market-name { color: var(--accent); }
a.market .market-name { transition: color 0.2s ease; }
