/* Mike Blair Realty — site styles
   Follows the Mike Blair Realty Brand Book v1.0: monochrome ink on paper, Inter at 500
   with tight tracking, hairline borders, rounded buttons. Dark is the default theme. */

:root {
  --bg: #0a0a0a;
  --bg-alt: #0f0f0f;
  --n1: #1a1a1a;
  --n2: #242424;
  --n3: #333333;
  --ink: #f5f5f5;
  --ink-2: #d4d4d4;
  --body: #cfcfcf;
  --ink-3: #9a9a9a;
  --accent: #b0b0b0;
  --line: rgba(255, 255, 255, .14);
  --line-2: rgba(255, 255, 255, .24);
  --ok: #2d8a4f;
  --wip: #d99a4a;
  --shadow-card: 0 20px 60px -30px rgba(0, 0, 0, .6), 0 4px 16px -8px rgba(0, 0, 0, .3);
  --shadow-photo: 0 30px 80px -40px rgba(0, 0, 0, .6);
  --shadow-hover: 0 18px 40px -22px rgba(0, 0, 0, .55);
  --pad-x: clamp(20px, 5vw, 80px);
  --gap-y: 120px;
  --max: 1280px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #ffffff;
  --bg-alt: #f4f4f4;
  --n1: #f4f4f4;
  --n2: #ebebeb;
  --n3: #dcdcdc;
  --ink: #0a0a0a;
  --ink-2: #555555;
  --body: #555555;
  --ink-3: #8a8a8a;
  --accent: #8a8a8a;
  --line: rgba(0, 0, 0, .10);
  --line-2: rgba(0, 0, 0, .18);
  --shadow-card: 0 20px 60px -30px rgba(0, 0, 0, .18), 0 4px 16px -8px rgba(0, 0, 0, .06);
  --shadow-photo: 0 30px 80px -40px rgba(0, 0, 0, .25);
  --shadow-hover: 0 18px 40px -22px rgba(0, 0, 0, .18);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
  transition: background-color .35s, color .35s;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--ink); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 0; font-size: 13px; }
.skip:focus { left: 16px; }

.shell { max-width: var(--max); margin: 0 auto; padding-left: max(var(--pad-x), env(safe-area-inset-left, 0px)); padding-right: max(var(--pad-x), env(safe-area-inset-right, 0px)); }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-weight: 500; text-wrap: balance; color: var(--ink); }
.display { font-size: clamp(46px, 7vw, 96px); line-height: .98; letter-spacing: -.04em; }
.h1 { font-size: clamp(40px, 6vw, 78px); line-height: 1.04; letter-spacing: -.03em; }
.h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.0; letter-spacing: -.035em; }
.h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.15; letter-spacing: -.02em; }
.h4 { font-size: 19px; line-height: 1.2; letter-spacing: -.015em; }
.display em, .h1 em, .h2 em, .h3 em { font-style: italic; font-weight: 400; color: var(--accent); }
.lede { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.6; color: var(--body); max-width: 60ch; text-wrap: pretty; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.small { font-size: 13px; color: var(--ink-3); line-height: 1.6; }
.prose { max-width: 68ch; color: var(--body); font-size: 17px; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.025em; line-height: 1.1; color: var(--ink); margin-top: 1.8em; }
.prose h3 { font-size: 21px; letter-spacing: -.015em; color: var(--ink); margin-top: 1.5em; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose ul { list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.prose ol { padding-left: 1.3em; display: grid; gap: 10px; }
.prose a { border-bottom: 1px solid var(--line-2); }
.prose a:hover { border-color: var(--ink); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 500; letter-spacing: .01em;
  padding: 14px 24px; border-radius: 0; border: 1px solid transparent;
  white-space: nowrap; cursor: pointer;
  transition: opacity .2s, background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { opacity: .85; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn .ar { display: inline-block; transition: transform .25s; }
.btn:hover .ar { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.learn {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  font-size: 13px; font-weight: 500; letter-spacing: .02em;
  padding-bottom: 2px; border-bottom: 1px solid var(--ink); transition: gap .25s;
}
.learn:hover { gap: 14px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color .35s;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.logo-light { display: none; }
[data-theme="light"] .logo-dark { display: none; }
[data-theme="light"] .logo-light { display: block; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--ink-2); padding: 10px 12px; border-radius: 0;
  transition: color .2s;
}
.menu > li > a:hover, .menu > li > button:hover, .menu > li > a[aria-current="page"] { color: var(--ink); }
.caret { width: 7px; height: 7px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.drop {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 0; padding: 8px;
  box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.menu > li:hover .drop, .menu > li:focus-within .drop, .menu > li.open .drop { opacity: 1; visibility: visible; transform: none; }
.menu > li.open .caret { transform: rotate(225deg) translateY(-1px); }
.drop a { display: block; padding: 10px 12px; border-radius: 0; font-size: 14px; color: var(--ink-2); }
.drop a:hover { background: var(--n1); color: var(--ink); }
.drop a small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 1px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta { font-size: 13px; font-weight: 500; padding: 9px 18px; border-radius: 0; background: var(--ink); color: var(--bg); transition: opacity .2s; white-space: nowrap; }
.nav-cta:hover { opacity: .85; }
.burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 50%; width: 16px; height: 1px; background: var(--ink); transform: translateX(-50%); content: ""; transition: transform .25s, opacity .25s; }
.burger span { top: 50%; }
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateX(-50%) translateY(5px) rotate(45deg); }
.menu-open .burger span::after { transform: translateX(-50%) translateY(-5px) rotate(-45deg); }

@media (max-width: 1000px) {
  .burger { display: block; }
  .menu {
    position: fixed; inset: 77px 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); overflow-y: auto;
    padding: 12px max(20px, env(safe-area-inset-left, 0px)) 40px max(20px, env(safe-area-inset-right, 0px));
    display: none;
  }
  .menu-open .menu { display: flex; }
  .menu > li { border-bottom: 1px solid var(--line); }
  .menu > li > a, .menu > li > button { width: 100%; justify-content: space-between; font-size: 20px; color: var(--ink); padding: 18px 0; border-radius: 0; letter-spacing: -.015em; }
  .drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 14px; display: none; min-width: 0; background: transparent; }
  .menu > li.open .drop { display: block; }
  .drop a { padding: 10px 0; font-size: 15px; }
  .drop a:hover { background: transparent; }
  .nav-cta { display: none; }
}

/* ---------- sections ---------- */
section { padding-block: var(--gap-y); position: relative; }
.sec-alt { background: var(--bg-alt); }
.sec-line { border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; align-items: end; padding-bottom: 56px; }
.sec-head > div { display: flex; flex-direction: column; gap: 20px; }
.sec-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.sec-head.center .lede { margin-inline: auto; }
@media (max-width: 900px) {
  :root { --gap-y: 84px; }
  .sec-head { grid-template-columns: 1fr; gap: 18px; padding-bottom: 40px; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 7vw, 110px) 0 clamp(56px, 7vw, 100px); border-bottom: 1px solid var(--line); }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 80px); align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.hero-photo {
  position: relative; border-radius: 0; overflow: hidden; min-height: 520px;
  border: 1px solid var(--line); background: var(--n1) center/cover no-repeat;
  box-shadow: var(--shadow-photo);
}
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cap {
  position: absolute; left: 16px; bottom: 16px; z-index: 1;
  background: rgba(255, 255, 255, .92); color: #0a0a0a;
  font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 0; white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis;
}
.hero-faces { display: flex; align-items: center; gap: 14px; }
.hero-faces img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bg); }
.hero-faces span { font-size: 13px; color: var(--ink-2); }
.hero-faces strong { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-photo { min-height: 380px; aspect-ratio: 4/5; max-height: 560px; }
}

/* page hero (interior pages) */
.page-hero { padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero .inner { display: flex; flex-direction: column; gap: 22px; max-width: 900px; }
.page-hero.with-photo .shell { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero.with-photo .hero-photo { min-height: 440px; }
@media (max-width: 900px) { .page-hero.with-photo .shell { grid-template-columns: 1fr; } .page-hero.with-photo .hero-photo { min-height: 320px; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- counter strip ---------- */
.counters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.counter { padding: 34px 28px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.counter:last-child { border-right: 0; }
.counter b { font-size: clamp(40px, 4.4vw, 60px); font-weight: 500; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.counter b small { font-size: .5em; color: var(--ink-3); margin-left: 2px; font-weight: 500; }
.counter span { font-size: 14px; font-weight: 500; margin-top: 8px; }
.counter em { font-style: normal; font-size: 12px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
.source { font-size: 12px; color: var(--ink-3); padding-top: 14px; }
@media (max-width: 900px) {
  .counters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .counter:nth-child(2) { border-right: 0; }
  .counter:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .g2, .g3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .g4 { grid-template-columns: 1fr; } }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 0; padding: 28px;
  display: flex; flex-direction: column; gap: 14px; min-width: 0;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.sec-alt .card { background: var(--bg); }
a.card:hover, .card.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--line-2); }
.card p { font-size: 15px; line-height: 1.6; color: var(--body); }
.card .foot { margin-top: auto; padding-top: 6px; }
.tile { width: 40px; height: 40px; border-radius: 0; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-family: var(--mono); font-size: 14px; font-weight: 500; flex: none; }

/* service cards with images */
.svc { padding: 0; overflow: hidden; }
.svc .img { aspect-ratio: 16/10; background: var(--n1); overflow: hidden; }
.svc .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.svc:hover .img img { transform: scale(1.03); }
.svc .body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }

/* area tiles */
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.area {
  position: relative; border-radius: 0; overflow: hidden; aspect-ratio: 4/5; border: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; color: #f5f5f5; isolation: isolate;
}
.area img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; filter: grayscale(.15) contrast(1.02); }
.area::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,10,0) 35%, rgba(10,10,10,.82) 100%); }
.area:hover img { transform: scale(1.04); }
.area b { font-size: 21px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.area span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(245,245,245,.7); margin-top: 6px; }
.area.more { background: var(--n1); color: var(--ink); justify-content: space-between; }
.area.more::after { display: none; }
.area.more span { color: var(--ink-3); }
.area.more div { display: flex; flex-direction: column; }
@media (max-width: 1000px) { .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .areas { grid-template-columns: 1fr; } .area { aspect-ratio: 16/10; } .area.more { aspect-ratio: auto; min-height: 140px; } }

/* split feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: 56px; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip > :first-child { order: 2; }
.feature .text { display: flex; flex-direction: column; gap: 20px; }
.feature .text p { color: var(--body); font-size: 16px; line-height: 1.65; max-width: 50ch; }
.feature .media { border-radius: 0; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 5/4; background: var(--n1); box-shadow: var(--shadow-photo); }
.feature .media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .feature, .feature.flip { grid-template-columns: 1fr; } .feature.flip > :first-child { order: 0; } }

/* checklist */
.checks { display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.55; color: var(--body); }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: 11px; font-weight: 600; }
.checks li strong { color: var(--ink); font-weight: 500; }

/* tracks (paired offers) */
.tracks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.track { border: 1px solid var(--line); border-radius: 0; padding: 36px 32px 32px; display: flex; flex-direction: column; gap: 16px; background: var(--n1); min-width: 0; }
.track.invert { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.track.invert h3, .track.invert .h3 { color: var(--bg); }
.track.invert p { color: var(--bg); opacity: .78; }
.track .te { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.track.invert .te { color: var(--bg); opacity: .6; }
.track p { font-size: 15px; line-height: 1.6; color: var(--body); }
.track .checks { padding-top: 18px; border-top: 1px solid var(--line); }
.track.invert .checks { border-top-color: color-mix(in srgb, var(--bg) 20%, transparent); }
.track.invert .checks li { color: var(--bg); opacity: .9; }
.track.invert .checks li::before { background: var(--bg); color: var(--ink); }
.track .btn-row { margin-top: auto; padding-top: 10px; }
.track.invert .btn-primary { background: var(--bg); color: var(--ink); }
.track.invert .btn-ghost { color: var(--bg); border-color: var(--bg); }
@media (max-width: 880px) { .tracks { grid-template-columns: 1fr; } }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { border: 1px solid var(--line); border-radius: 0; padding: 26px; display: flex; flex-direction: column; gap: 12px; background: var(--bg); }
.step .n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.step p { font-size: 14.5px; line-height: 1.6; color: var(--body); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* leader note */
.lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.portrait { position: relative; border-radius: 0; overflow: hidden; aspect-ratio: 4/5; border: 1px solid var(--line); background: var(--n1); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.portrait .tag { position: absolute; left: 20px; bottom: 20px; background: #fff; color: #0a0a0a; border-radius: 0; padding: 14px 18px; }
.portrait .tag b { display: block; font-weight: 500; font-size: 16px; }
.portrait .tag span { font-size: 11px; color: #555; text-transform: uppercase; letter-spacing: .08em; }
.lead .text { display: flex; flex-direction: column; gap: 18px; }
.lead .text p { font-size: 16px; line-height: 1.7; color: var(--body); max-width: 54ch; }
.lead .text p strong { color: var(--ink); font-weight: 500; }
.quote { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; letter-spacing: -.02em; font-weight: 500; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 0; background: var(--ink); color: var(--bg); white-space: nowrap; }
@media (max-width: 900px) { .lead { grid-template-columns: 1fr; } .portrait { max-width: 520px; } }

/* stat tiles */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.stat { border: 1px solid var(--line); border-radius: 0; padding: 30px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; background: var(--bg); }
.stat b { font-size: clamp(42px, 4.6vw, 64px); font-weight: 500; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat b small { font-size: .5em; color: var(--ink-3); margin-left: 3px; }
.stat span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); max-width: 24ch; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* testimonials */
.test { border: 1px solid var(--line); border-radius: 0; padding: 28px; display: flex; flex-direction: column; gap: 22px; background: var(--bg); min-height: 300px; }
.test blockquote { font-size: 19px; line-height: 1.4; letter-spacing: -.015em; color: var(--ink); flex: 1; }
.test .who { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.test .who i { width: 36px; height: 36px; border-radius: 50%; background: var(--n2); border: 1px solid var(--line); flex: none; }
.test .who b { display: block; font-weight: 500; font-size: 14px; }
.test .who span { font-size: 12px; color: var(--ink-3); }
.placeholder { border-style: dashed; }
.placeholder blockquote { color: var(--ink-3); }

/* listings */
.listing { border: 1px solid var(--line); border-radius: 0; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.listing:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.listing .img { position: relative; aspect-ratio: 4/3; background: var(--n1); }
.listing .img img { width: 100%; height: 100%; object-fit: cover; }
.listing .img .cap { top: 14px; bottom: auto; }
.listing .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; }
.listing .price { font-size: 24px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.listing .addr { font-size: 14px; color: var(--body); }
.listing .specs { display: flex; gap: 16px; padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.listing .specs b { color: var(--ink); font-weight: 500; }
.notice { display: flex; gap: 14px; align-items: flex-start; border: 1px dashed var(--line-2); border-radius: 0; padding: 18px 20px; font-size: 14px; line-height: 1.6; color: var(--body); }
.notice b { color: var(--ink); font-weight: 500; }
.notice::before { content: "i"; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }

/* filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { font-size: 13px; padding: 9px 16px; border-radius: 0; border: 1px solid var(--line-2); color: var(--ink-2); transition: background .2s, color .2s; }
.filters button[aria-pressed="true"], .filters button:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* search bar */
.search { display: flex; gap: 8px; padding: 8px; border: 1px solid var(--line-2); border-radius: 0; background: var(--n1); max-width: 640px; width: 100%; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 15px; padding: 0 16px; outline: none; }
.search input::placeholder { color: var(--ink-3); }
@media (max-width: 520px) { .search { flex-direction: column; border-radius: 0; } .search input { padding: 12px; } }

/* FAQ */
.faq { border: 1px solid var(--line); border-radius: 0; overflow: hidden; background: var(--bg); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 28px; font-size: 18px; font-weight: 500; letter-spacing: -.015em; transition: background .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--n1); }
.faq summary i { position: relative; width: 20px; height: 20px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; background: var(--ink); transition: transform .25s; }
.faq summary i::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.faq summary i::after { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.faq details[open] summary i::before { transform: translateX(-50%) rotate(90deg); }
.faq .a { padding: 0 28px 24px; color: var(--body); font-size: 15.5px; line-height: 1.65; max-width: 72ch; }

/* forms */
.form-shell { border: 1px solid var(--line); border-radius: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); background: var(--bg); }
.form-side { background: var(--n1); padding: 48px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 0; }
.form-side .item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.form-side .item:first-of-type { padding-top: 28px; }
.form-side .item:last-child { border-bottom: 0; padding-bottom: 0; }
.form-side .item .n { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; flex: none; }
.form-side .item h3 { font-size: 16px; letter-spacing: -.01em; margin-bottom: 4px; }
.form-side .item p { font-size: 14px; color: var(--body); line-height: 1.55; }
.form { padding: 48px; display: flex; flex-direction: column; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--n1); border: 1px solid var(--line); border-radius: 0; padding: 13px 16px; outline: none;
  transition: border-color .2s, background .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); background: var(--bg); }
.form .btn { width: 100%; margin-top: 8px; }
.form .fine { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; text-align: center; line-height: 1.6; }
.form-status { display: none; border: 1px solid var(--line-2); border-radius: 0; padding: 16px 18px; font-size: 14.5px; line-height: 1.6; color: var(--body); }
.form-status.show { display: block; }
.form-status b { color: var(--ink); font-weight: 500; }
@media (max-width: 900px) {
  .form-shell { grid-template-columns: 1fr; }
  .form-side { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px; }
  .form { padding: 32px; }
}
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 0; overflow: hidden; }
.calc .inputs { padding: 40px; display: flex; flex-direction: column; gap: 18px; }
.calc .out { padding: 40px; background: var(--n1); border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; }
.calc .big { font-size: clamp(48px, 6vw, 76px); font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc .big small { font-size: .32em; color: var(--ink-3); letter-spacing: 0; margin-left: 4px; }
.calc .rows { display: grid; gap: 6px; }
.calc .row { display: flex; justify-content: space-between; gap: 12px; padding: 13px 16px; border-radius: 0; background: var(--bg); font-size: 14px; }
.calc .row b { font-weight: 500; font-variant-numeric: tabular-nums; }
.calc .row .d { width: 8px; height: 8px; border-radius: 50%; display: inline-block; margin-right: 10px; }
.bar { display: flex; height: 10px; border-radius: 0; overflow: hidden; background: var(--n2); }
.bar i { display: block; height: 100%; }
.range-row { display: flex; align-items: center; gap: 12px; }
.range-row input[type="range"] { flex: 1; accent-color: var(--ink); }
.range-row output { font-family: var(--mono); font-size: 13px; min-width: 52px; text-align: right; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc .out { border-left: 0; border-top: 1px solid var(--line); } .calc .inputs, .calc .out { padding: 28px; } }

/* community list */
.communities { display: flex; flex-wrap: wrap; gap: 8px; }
.communities span { font-size: 14px; padding: 9px 16px; border-radius: 0; border: 1px solid var(--line-2); color: var(--ink-2); }

/* team */
.member { border: 1px solid var(--line); border-radius: 0; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; }
.member .img { aspect-ratio: 4/5; background: var(--n1); display: grid; place-items: center; overflow: hidden; }
.member .img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.member .img span { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.member .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.member .body b { font-size: 18px; font-weight: 500; letter-spacing: -.015em; }
.member .body span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.member.placeholder { border-style: dashed; }
.member .img .initials { font-family: inherit; font-size: clamp(40px, 6vw, 64px); font-weight: 500; letter-spacing: -.04em; text-transform: none; color: var(--ink-3); }
.member .body small { margin-top: 4px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-3); }

/* blog */
.post-card { border: 1px solid var(--line); border-radius: 0; overflow: hidden; display: flex; flex-direction: column; background: var(--bg); transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.post-card .img { aspect-ratio: 16/10; background: var(--n1); }
.post-card .img img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card .body p { font-size: 14.5px; color: var(--body); line-height: 1.6; }
.article-hero img { border-radius: 0; border: 1px solid var(--line); aspect-ratio: 21/9; object-fit: cover; width: 100%; margin-top: 40px; }

/* final CTA slab */
.final {
  margin: 0 max(var(--pad-x), env(safe-area-inset-left, 0px)) var(--gap-y);
  border-radius: 0; background: var(--ink); color: var(--bg);
  padding: clamp(64px, 9vw, 130px) clamp(24px, 6vw, 80px);
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.final .display, .final .h2 { color: var(--bg); max-width: 18ch; }
.final em { color: color-mix(in srgb, var(--bg) 55%, var(--ink)) !important; }
.final .lede { color: var(--bg); opacity: .75; text-align: center; }
.final .btn-primary { background: var(--bg); color: var(--ink); }
.final .btn-ghost { color: var(--bg); border-color: var(--bg); }
.final .btn-ghost:hover { background: var(--bg); color: var(--ink); }
.final .btn-row { justify-content: center; }

/* contact cards */
.contact-list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 0; overflow: hidden; }
.contact-list > div { background: var(--bg); padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.contact-list span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.contact-list b { font-size: 18px; font-weight: 500; letter-spacing: -.015em; user-select: all; }
.contact-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.contact-row b { overflow-wrap: anywhere; }
@media (max-width: 1000px) { .contact-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .contact-row { grid-template-columns: 1fr; } }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 calc(32px + env(safe-area-inset-bottom, 0px)); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 40px; }
.foot-brand { display: flex; flex-direction: column; gap: 18px; }
.foot-brand img { width: 190px; }
.foot-brand p { font-size: 14px; color: var(--body); line-height: 1.6; max-width: 34ch; }
.foot-col h3 { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.foot-col ul { display: grid; gap: 10px; }
.foot-col a { font-size: 14px; color: var(--ink-2); }
.foot-col a:hover { color: var(--ink); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }
.foot-bottom a:hover { color: var(--ink); }
.foot-bottom .links { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.theme-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line-2); border-radius: 0; padding: 7px 14px; }
.theme-toggle:hover { color: var(--ink); border-color: var(--ink); }
.socials { display: flex; gap: 8px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--ink-2); }
.socials a svg { display: block; }
.socials a:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.foot-extra { letter-spacing: 0; text-transform: none; }
.foot-extra a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.foot-extra a:hover { color: var(--ink); }
a.listing-link { display: block; color: inherit; }
a.listing-link:hover { color: inherit; }
.listing .addr .city { display: block; color: var(--ink-3); font-size: 13px; }
.listing .desc { font-size: 14px; line-height: 1.5; color: var(--body); }
.listing .img.ph { background: var(--n1); }
@media (max-width: 1000px) { .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-top { grid-template-columns: 1fr; } }

/* utilities */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 110px; }
@media (max-width: 900px) { .sticky { position: static; } }

/* image boxes keep their aspect ratio regardless of the source photo */
.svc .img, .listing .img, .post-card .img { position: relative; overflow: hidden; }
.svc .img img, .listing .img img, .post-card .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- video hero (home) ---------- */
.vhero { position: relative; min-height: calc(100svh - 77px); min-height: max(640px, calc(100svh - 77px)); display: flex; flex-direction: column; justify-content: center; padding: 0; color: #f5f5f5; overflow: hidden; isolation: isolate; background: #0a0a0a; }
.vhero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.vhero-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.35) 40%, rgba(10,10,10,.85) 100%); }
.vhero-content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; padding-block: 96px 200px; width: 100%; }
.vhero .display { color: #f5f5f5; max-width: 16ch; }
.vhero .display em { color: rgba(245,245,245,.72); }
.vhero .lede { color: rgba(245,245,245,.85); text-align: center; max-width: 58ch; }
.vhero .btn-row { justify-content: center; }
.btn-light { background: #f5f5f5; color: #0a0a0a; }
.btn-light:hover { opacity: .88; }
.btn-outline-light { background: transparent; color: #f5f5f5; border-color: rgba(245,245,245,.8); }
.btn-outline-light:hover { background: #f5f5f5; color: #0a0a0a; }
.vhero-bar { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(245,245,245,.18); background: rgba(10,10,10,.55); }
.vhero-bar-inner { display: flex; align-items: center; justify-content: center; gap: 24px 40px; padding-block: 22px; flex-wrap: wrap; }
.vhero-stats { display: flex; gap: 40px 72px; flex-wrap: wrap; justify-content: center; text-align: center; }
.vhero-stats div { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.vhero-stats b { font-size: 30px; font-weight: 500; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; color: #f5f5f5; }
.vhero-stats span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(245,245,245,.65); }
.vhero-toggle { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); top: 20px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(245,245,245,.4); background: rgba(10,10,10,.35); display: grid; place-items: center; }
.vhero-toggle span { width: 10px; height: 12px; border-left: 3px solid #f5f5f5; border-right: 3px solid #f5f5f5; }
.vhero-toggle.paused span { width: 0; height: 0; border: 0; border-left: 11px solid #f5f5f5; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
@media (max-width: 900px) {
  .vhero-content { padding-block: 72px 40px; }
  .vhero-bar { position: relative; }
  .vhero-stats { gap: 24px; width: 100%; justify-content: space-around; }
  .vhero-stats b { font-size: 24px; }
}

/* ---------- welcome-home strip ---------- */
.welcome { overflow: hidden; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 90s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-dupe { display: flex; gap: 16px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }
@media (prefers-reduced-motion: reduce) { .marquee { overflow-x: auto; } .marquee-track { animation: none; } .marquee-dupe { display: none; } }
.closing { position: relative; flex: none; width: 300px; aspect-ratio: 4/5; border-radius: 0; overflow: hidden; border: 1px solid var(--line); background: var(--n1); margin: 0; }
.closing img { width: 100%; height: 100%; object-fit: cover; }
.closing figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; width: fit-content; max-width: calc(100% - 28px); background: rgba(255,255,255,.92); color: #0a0a0a; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) { .closing { width: 240px; } }
.closing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.closing-grid .closing { width: auto; }
@media (max-width: 1000px) { .closing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- client story video ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.story-video { border-radius: 0; overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 16/9; box-shadow: var(--shadow-photo); }
.story-video video { width: 100%; height: 100%; display: block; object-fit: cover; }
.story-text { display: flex; flex-direction: column; gap: 20px; }
.story-text p { color: var(--body); font-size: 16px; line-height: 1.65; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }

/* ---------- team band ---------- */
.team-band { position: relative; padding: 0; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; color: #f5f5f5; }
.team-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.team-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.45) 40%, rgba(10,10,10,0) 70%), linear-gradient(180deg, rgba(10,10,10,0) 55%, rgba(10,10,10,.6) 100%); }
.team-band-text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-block: 64px; width: 100%; }
.team-band .h2 { color: #f5f5f5; }
.team-band .h2 em { color: rgba(245,245,245,.72); }
.team-band:not(:has(.team-band-text))::after { display: none; }
@media (max-width: 700px) { .team-band { min-height: 420px; } }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gal { margin: 0; border-radius: 0; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3/2; background: var(--n1); }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gal:hover img { transform: scale(1.03); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- press ---------- */
.press { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.press-cover { position: relative; display: block; border-radius: 0; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/5; background: var(--n1); box-shadow: var(--shadow-photo); }
.press-cover img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .6s; }
.press-cover:hover img { transform: scale(1.03); }
@media (max-width: 900px) { .press { grid-template-columns: 1fr; } .press-cover { max-width: 520px; } }
@media (max-width: 560px) {
  .vhero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .vhero-stats b { font-size: 21px; }
  .vhero-stats span { font-size: 10px; }
  .grid.g4:has(.member) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* area guides: in-depth sections */
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 0; font-size: 14px; color: var(--body); transition: background .2s, color .2s; }
.toc a:hover { background: var(--n1); color: var(--ink); }
[id] { scroll-margin-top: 96px; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 0; overflow: hidden; }
.fact { background: var(--bg); padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.fact span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.fact b { font-size: 17px; font-weight: 500; line-height: 1.4; letter-spacing: -.01em; }
.sec-alt .fact { background: var(--bg); }
.hood { display: flex; flex-direction: column; gap: 10px; }
.hood .fit { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.hood .fit b { color: var(--ink); font-weight: 500; }
.school-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 0; overflow: hidden; }
.school-list li { background: var(--bg); padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.school-list b { font-size: 16px; font-weight: 500; letter-spacing: -.01em; }
.school-list span { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.small a { text-decoration: underline; text-underline-offset: 3px; }
.empty-card { border: 1px dashed var(--line-2); border-radius: 0; padding: 32px; display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.empty-card p { color: var(--body); line-height: 1.6; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 0; background: var(--bg); }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.5; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.compare tbody th { font-weight: 500; white-space: nowrap; }
.compare tbody th a { text-decoration: underline; text-underline-offset: 3px; }
.compare td { color: var(--body); }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .facts, .school-list { grid-template-columns: 1fr; } }
