/* The Woolman Realty Group — site styles
   Concept: architectural editorial. Roofline from the logo is the recurring motif. */

:root {
  --paper: #f1eee7;
  --paper-2: #e9e4d9;
  --paper-3: #ded7c8;
  --ink: #1a1712;
  --ink-2: #3d372e;
  --ink-3: #6b6355;
  --line: rgba(26, 23, 18, .14);
  --line-strong: rgba(26, 23, 18, .32);
  --night: #13110e;
  --night-2: #1d1a15;
  --night-line: rgba(241, 238, 231, .14);
  --gold: #c39a52;
  --gold-hi: #e4c88e;
  --gold-deep: #85622a;
  --gold-grad: linear-gradient(100deg, #9c7633 0%, #d9b871 38%, #f0dca8 52%, #c9a35c 70%, #8f6b2d 100%);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(20px, 4.2vw, 72px);
  --max: 1480px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-hi); color: var(--ink); }

/* paper grain */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- type ---------- */
.display, h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: .95; margin: 0; }
.display em, h1 em, h2 em, h3 em { font-style: italic; }
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.kicker {
  font-family: var(--sans);
  font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 12px;
}
.kicker::before {
  content: ""; width: 14px; height: 10px; flex: none;
  background: currentColor;
  clip-path: polygon(0 100%, 0 45%, 50% 0, 100% 45%, 100% 100%, 62% 100%, 62% 62%, 38% 62%, 38% 100%);
  color: var(--gold);
}
.on-dark .kicker { color: rgba(241, 238, 231, .62); }
.lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; color: var(--ink-2); max-width: 38ch; text-wrap: pretty; }
p { text-wrap: pretty; }

.section-head { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: clamp(40px, 6vw, 88px); }
.section-head h2 { font-size: clamp(48px, 7.4vw, 124px); }
@media (min-width: 900px) {
  .section-head.split { grid-template-columns: 1.4fr 1fr; align-items: end; }
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 52px; padding: 0 26px;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bg); border-radius: 999px;
  font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold-grad);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--ink); border-color: var(--gold); }
.arr { width: 18px; height: 10px; flex: none; transition: transform .5s var(--ease); }
.btn:hover .arr, .link-u:hover .arr, .door:hover .arr { transform: translateX(4px); }
.btn.ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-strong); }
.btn.light { --bg: var(--paper); --fg: var(--ink); }
.on-dark .btn.ghost { --fg: var(--paper); border-color: rgba(241, 238, 231, .35); }

.link-u {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 0;
}
.link-u::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform-origin: right; transition: transform .6s var(--ease);
}
.link-u:hover::after { transform: scaleX(0); transform-origin: left; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background .5s var(--ease), transform .5s var(--ease), box-shadow .5s;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.scrolled { background: rgba(241, 238, 231, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.hidden { transform: translateY(-100%); }
.brand { display: block; width: 148px; flex: none; }
.brand img { width: 100%; }
.brand .light { display: none; }
.site-header.invert:not(.scrolled) .brand .dark { display: none; }
.site-header.invert:not(.scrolled) .brand .light { display: block; }
.site-header.invert:not(.scrolled) { color: var(--paper); }

.nav { display: none; gap: 34px; font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.nav a { position: relative; padding: 8px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: flex; align-items: center; gap: 22px; }
.header-phone { display: none; font-size: 14px; font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.header-cta .btn { min-height: 44px; padding: 0 20px; font-size: 12px; }
.site-header.invert:not(.scrolled) .header-cta .btn { --bg: var(--paper); --fg: var(--ink); }
.menu-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: transparent; cursor: pointer;
  display: grid; place-items: center;
}
.site-header.invert:not(.scrolled) .menu-btn { border-color: rgba(241,238,231,.4); }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .4s var(--ease); }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
body.menu-open .menu-btn span { background: transparent; }
body.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 1100px) {
  .nav { display: flex; }
  .header-phone { display: inline; }
  .menu-btn { display: none; }
  .brand { width: 168px; }
}
@media (max-width: 560px) { .header-cta .btn { display: none; } }

/* mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--night); color: var(--paper);
  padding: calc(var(--header-h) + 24px) var(--pad) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease-io);
  visibility: hidden;
}
body.menu-open .menu { clip-path: inset(0); visibility: visible; }
body.menu-open .site-header { color: var(--paper); }
body.menu-open .site-header .brand .dark { display: none; }
body.menu-open .site-header .brand .light { display: block; }
body.menu-open .site-header.scrolled { background: transparent; box-shadow: none; backdrop-filter: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  font-family: var(--serif); font-size: clamp(44px, 12vw, 84px); line-height: 1.08;
  display: flex; align-items: baseline; gap: 16px;
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.menu nav a small { font-family: var(--sans); font-size: 12px; color: var(--gold); letter-spacing: .1em; }
body.menu-open .menu nav a { opacity: 1; transform: none; }
body.menu-open .menu nav a:nth-child(2) { transition-delay: .05s; }
body.menu-open .menu nav a:nth-child(3) { transition-delay: .1s; }
body.menu-open .menu nav a:nth-child(4) { transition-delay: .15s; }
body.menu-open .menu nav a:nth-child(5) { transition-delay: .2s; }
body.menu-open .menu nav a:nth-child(6) { transition-delay: .25s; }
.menu-foot { display: grid; gap: 6px; font-size: 15px; color: rgba(241,238,231,.7); }
.menu-foot a { color: var(--paper); }
body.menu-open { overflow: hidden; }

/* ---------- preloader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 500;
  background: var(--paper);
  display: grid; place-items: center;
  transition: clip-path 1.1s var(--ease-io);
  clip-path: inset(0 0 0 0);
}
.loader.done { clip-path: inset(0 0 100% 0); }
.loader svg { width: min(220px, 50vw); overflow: visible; }
.loader path { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 1.3s var(--ease) forwards; }
.loader .pane { fill: var(--gold); opacity: 0; animation: pane .4s ease forwards; }
.loader .pane:nth-of-type(1) { animation-delay: .9s; } .loader .pane:nth-of-type(2) { animation-delay: 1s; }
.loader .pane:nth-of-type(3) { animation-delay: 1.1s; } .loader .pane:nth-of-type(4) { animation-delay: 1.2s; }
.loader .word { font-family: var(--serif); font-size: 15px; letter-spacing: .4em; text-transform: uppercase; fill: var(--ink-3); opacity: 0; animation: pane .6s ease 1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pane { to { opacity: 1; } }
.no-loader .loader { display: none; }

/* ---------- hero (scroll-driven house window) ---------- */
.hero { position: relative; height: 260vh; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-copy {
  position: absolute; z-index: 3;
  left: var(--pad); right: var(--pad);
  top: calc(var(--header-h) + 3vh);
  pointer-events: none;
}
.hero-copy .kicker { margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(60px, 15vw, 132px);
  line-height: .88;
  letter-spacing: -.03em;
}
@media (min-width: 900px) {
  .hero h1 { font-size: clamp(80px, 7.4vw, 150px); max-width: 44vw; }
  .hero-copy { right: auto; }
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.is-ready .hero h1 .line > span { transform: none; }
.is-ready .hero h1 .line:nth-child(2) > span { transition-delay: .12s; }
.hero h1 .indent { padding-left: 0; }
.hero-sub {
  position: absolute; z-index: 3; left: var(--pad); bottom: 6vh;
  max-width: 340px; font-size: 16px; color: var(--ink-2);
  display: none;
}
@media (min-width: 900px) { .hero-sub { display: block; } }
@media (max-width: 899px) {
  .house::after { background: linear-gradient(180deg, rgba(10,9,7,.35) 0%, rgba(10,9,7,0) 14%, rgba(10,9,7,.55) 34%, rgba(10,9,7,.9) 50%, rgba(10,9,7,.95) 100%); }
  .house img { object-position: 62% 40%; }
  .hero-scroll { bottom: auto; top: calc(var(--header-h) + 3vh + 10px); }
  .hero-final { bottom: 4vh; gap: 18px; }
  .hero-final h2 { font-size: clamp(38px, 10vw, 56px); }
  .qs label { padding: 8px 14px 6px; }
  .qs select { font-size: 16px; }
  .qs .btn { min-height: 52px; }
}
.hero-sub p { margin: 0 0 18px; }
.duo { display: flex; margin-bottom: 18px; }
.duo img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 2px solid var(--paper); background: #ecebe5; }
.duo img + img { margin-left: -14px; }
.hero-sub { pointer-events: auto; }
@media (min-width: 900px) { .hero-sub { max-width: 30vw; font-size: 17px; } }
.hero-scroll {
  position: absolute; z-index: 3; right: var(--pad); bottom: 6vh;
  display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3);
}
.hero-scroll i { width: 1px; height: 54px; background: var(--line-strong); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--ink); animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }

.house {
  position: absolute; inset: 0; z-index: 2;
  will-change: clip-path;
  background: var(--night);
}
.house img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; will-change: transform; transform-origin: 50% 22%; }
.house::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(10, 9, 7, .35) 0%, rgba(10, 9, 7, 0) 22%),
  linear-gradient(14deg, rgba(10, 9, 7, .9) 0%, rgba(10, 9, 7, .62) 34%, rgba(10, 9, 7, .1) 62%, rgba(10, 9, 7, 0) 80%);
  opacity: var(--shade, 0); }
.house { opacity: 0; transition: opacity 1.2s var(--ease) .5s; }
.is-ready .house { opacity: 1; }
.house-outline { position: absolute; inset: 0; z-index: 3; pointer-events: none; overflow: visible; width: 100%; height: 100%; }
.house-outline polygon { fill: none; stroke: var(--gold); stroke-width: 1.25; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease); }
.is-ready .house-outline polygon { stroke-dashoffset: 0; }
.hero-meta { position: absolute; z-index: 3; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); display: none; }
@media (min-width: 900px) { .hero-meta { display: block; } .hero-scroll { right: auto; left: 38vw; color: var(--ink-3); } .hero-scroll-x { color: rgba(241,238,231,.85); } .hero-scroll i { background: rgba(241,238,231,.3); } .hero-scroll i::after { background: var(--paper); } }

.hero-final {
  position: absolute; z-index: 4; left: var(--pad); right: var(--pad); bottom: 7vh;
  color: var(--paper);
  display: grid; gap: 28px;
  opacity: 0; transform: translateY(30px);
  pointer-events: none;
}
.hero-final.on { pointer-events: auto; }
.hero-final h2 { font-size: clamp(40px, 6.2vw, 104px); max-width: 14ch; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-final h2 em { color: var(--gold-hi); }

/* quick search */
.qs {
  display: grid; grid-template-columns: 1fr; gap: 0;
  background: rgba(241, 238, 231, .97); color: var(--ink);
  border-radius: 18px; padding: 8px;
  max-width: 920px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .6);
}
.qs label { display: block; padding: 12px 18px 10px; border-radius: 12px; cursor: pointer; transition: background .3s; }
.qs label:hover { background: var(--paper-2); }
.qs label span { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); }
.qs select { width: 100%; appearance: none; -webkit-appearance: none; border: 0; font-size: 18px; font-weight: 500; padding: 2px 22px 0 0; cursor: pointer; outline: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231a1712' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 2px center; }
.qs .btn { min-height: 60px; justify-content: center; border-radius: 12px; }
@media (min-width: 760px) {
  .qs { grid-template-columns: 1.2fr 1fr 1fr auto; border-radius: 999px; align-items: center; }
  .qs label { border-radius: 999px; padding: 10px 26px; }
  .qs label + label { border-left: 1px solid var(--line); border-radius: 0; }
  .qs label + label:hover { border-radius: 999px; }
  .qs .btn { border-radius: 999px; padding: 0 32px; }
}



/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; background: var(--paper); position: relative; z-index: 5; }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marq 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee a { font-family: var(--serif); font-size: clamp(34px, 4.6vw, 64px); line-height: 1; padding: 0 .5em; display: inline-flex; align-items: center; gap: 1em; white-space: nowrap; transition: color .4s; }
.marquee a::after { content: ""; width: .28em; height: .22em; background: var(--gold); clip-path: polygon(0 100%, 0 45%, 50% 0, 100% 45%, 100% 100%); }
.marquee a:hover { color: var(--gold-deep); font-style: italic; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- manifesto (scroll-filled words) ---------- */
.manifesto { padding: clamp(110px, 16vw, 240px) 0 clamp(80px, 10vw, 150px); }
.manifesto .wrap { display: grid; gap: 40px; }
.manifesto p.big {
  font-family: var(--serif); font-size: clamp(34px, 4.6vw, 78px); line-height: 1.12; letter-spacing: -.008em;
  margin: 0; max-width: 20ch;
}
.manifesto .w { color: rgba(26, 23, 18, .12); transition: color .35s linear; }
.manifesto .w.on { color: var(--ink); }
.manifesto .w.gold.on { color: var(--gold-deep); font-style: italic; }
@media (min-width: 900px) { .manifesto .wrap { grid-template-columns: 220px 1fr; } .manifesto p.big { max-width: 22ch; } }

/* ---------- ledger stats ---------- */
.ledger { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, 1fr); }
.ledger > div { padding: 30px 0 34px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.ledger > div:nth-child(odd) { padding-right: 20px; border-right: 1px solid var(--line); }
.ledger > div:nth-child(even) { padding-left: 20px; }
.ledger .num { font-family: var(--serif); font-size: clamp(56px, 7vw, 116px); line-height: .9; letter-spacing: -.03em; font-variant-numeric: lining-nums; }
.ledger .num sup { font-size: .4em; vertical-align: top; position: relative; top: .25em; color: var(--gold-deep); margin-left: 2px; }
.ledger .lbl { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); }
@media (min-width: 900px) {
  .ledger { grid-template-columns: repeat(4, 1fr); }
  .ledger > div { padding: 40px 32px 44px !important; border-right: 1px solid var(--line); }
  .ledger > div:first-child { padding-left: 0 !important; }
  .ledger > div:last-child { border-right: 0; }
}

/* ---------- buy / sell doors ---------- */
.doors { padding: clamp(90px, 12vw, 180px) 0; }
.door-row { display: grid; gap: 18px; }
.door {
  position: relative; overflow: hidden; border-radius: 4px;
  min-height: 560px; color: var(--paper);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(26px, 3vw, 48px);
  isolation: isolate;
  transition: flex-grow .9s var(--ease);
}
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.08); transition: transform 1.4s var(--ease); }
.door::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 10, 8, .38) 0%, rgba(12, 10, 8, .1) 28%, rgba(12, 10, 8, .55) 58%, rgba(12, 10, 8, .9) 100%); transition: opacity .8s; }
.door:hover img { transform: scale(1.0); }
.door .tag { position: absolute; top: clamp(26px, 3vw, 48px); left: clamp(26px, 3vw, 48px); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.door .no { position: absolute; top: clamp(20px, 2.6vw, 40px); right: clamp(26px, 3vw, 48px); font-family: var(--serif); font-size: 26px; font-style: italic; color: var(--gold-hi); }
.door h3 { font-size: clamp(56px, 7vw, 120px); margin-bottom: 18px; }
.door p { max-width: 36ch; color: rgba(241, 238, 231, .82); margin: 0 0 26px; }
.door .reveal-more { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .8s var(--ease); }
.door .link-u { align-self: flex-start; }
.door .reveal-more > div { overflow: hidden; }
@media (min-width: 900px) {
  .door-row { display: flex; gap: 18px; height: min(86vh, 820px); }
  .door { flex: 1 1 0; min-height: 0; }
  .door-row:hover .door { flex-grow: .78; }
  .door-row .door:hover { flex-grow: 1.35; }
  .door .reveal-more { grid-template-rows: 0fr; }
  .door:hover .reveal-more, .door:focus-within .reveal-more { grid-template-rows: 1fr; }
}

/* ---------- team ---------- */
.team { padding: clamp(80px, 10vw, 160px) 0; background: var(--paper); }
.team-grid { display: grid; gap: 64px; }
.agent { display: grid; gap: 22px; align-content: start; }
.agent figure { margin: 0; position: relative; overflow: hidden; background: var(--paper-3); aspect-ratio: 4 / 5; }
.agent figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; mix-blend-mode: multiply; filter: grayscale(.25) contrast(1.04); transition: filter 1s var(--ease), transform 1.6s var(--ease); transform: scale(1.04); }
.agent:hover figure img { filter: grayscale(0) contrast(1.02); transform: scale(1); }
.agent figure::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(195, 154, 82, .0); transition: border-color .8s var(--ease), inset .8s var(--ease); pointer-events: none; }
.agent:hover figure::after { border-color: rgba(195, 154, 82, .9); inset: 18px; }
.agent .meta { display: grid; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.agent h3 { font-size: clamp(40px, 4.2vw, 68px); }
.agent .role { order: -1; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--gold-deep); white-space: nowrap; }
.agent .bio q { font-family: var(--serif); font-size: 1.45em; line-height: 1.2; color: var(--ink); quotes: "\201C" "\201D"; display: block; margin-bottom: 10px; }
.agent .bio { color: var(--ink-2); margin: 0; max-width: 46ch; }
.agent .contact-lines { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 15px; font-weight: 500; }
.agent .contact-lines a:hover { color: var(--gold-deep); }
.agent .dre { font-size: 12px; letter-spacing: .14em; color: var(--ink-3); text-transform: uppercase; }
@media (min-width: 900px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 120px); }
  .team-grid .agent:nth-child(2) { margin-top: 12vh; }
}

/* ---------- testimonials ---------- */
.on-dark { background: var(--night); color: var(--paper); }
.voices { padding: clamp(90px, 12vw, 180px) 0; position: relative; overflow: hidden; }
.voices .quote-mark { position: absolute; right: -2vw; top: -6vw; font-family: var(--serif); font-size: 46vw; line-height: 1; opacity: .07; pointer-events: none; user-select: none; }
.voices-grid { display: grid; gap: 48px; position: relative; }
.voice-stage { position: relative; min-height: 420px; }
.voice { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s; }
.voice.on { opacity: 1; visibility: visible; position: relative; }
.voice blockquote { margin: 0; font-family: var(--serif); font-size: clamp(30px, 3.4vw, 56px); line-height: 1.12; letter-spacing: -.01em; text-wrap: pretty; }
.voice blockquote .wd { display: inline-block; opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease); }
.voice.on blockquote .wd { opacity: 1; transform: none; filter: none; }
.voice cite { display: flex; align-items: center; gap: 14px; margin-top: 36px; font-style: normal; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: rgba(241, 238, 231, .7); }
.voice cite::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.voice-ctrl { display: flex; align-items: center; gap: 24px; }
.voice-ctrl button { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(241, 238, 231, .3); background: transparent; color: var(--paper); cursor: pointer; display: grid; place-items: center; transition: background .4s, color .4s, border-color .4s; }
.voice-ctrl button:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.voice-ctrl .count { font-variant-numeric: tabular-nums; font-size: 14px; letter-spacing: .1em; color: rgba(241, 238, 231, .7); min-width: 64px; }
.voice-progress { flex: 1; height: 1px; background: rgba(241, 238, 231, .18); position: relative; overflow: hidden; }
.voice-progress i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
@media (min-width: 900px) {
  .voices-grid { grid-template-columns: 300px 1fr; gap: 80px; }
}

/* ---------- communities index ---------- */
.places { padding: clamp(90px, 12vw, 180px) 0; }
.region-tabs { display: flex; gap: 8px; margin-bottom: 30px; }
.region-tabs button { border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; padding: 10px 20px; min-height: 44px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; cursor: pointer; transition: background .3s, color .3s; }
.region-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.place-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); columns: 1; }
.place-list li { break-inside: avoid; }
.place-list a {
  display: grid; grid-template-columns: 48px 1fr auto; align-items: baseline; gap: 12px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  position: relative;
}
.place-list .idx { font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.place-list .nm { font-family: var(--serif); font-size: clamp(32px, 3.3vw, 54px); line-height: 1.02; transition: transform .6s var(--ease), color .4s; }
.place-list .go { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); opacity: 0; transform: translateX(-10px); transition: opacity .4s, transform .5s var(--ease); }
.place-list a:hover .nm { transform: translateX(14px); font-style: italic; color: var(--gold-deep); }
.place-list a:hover .go { opacity: 1; transform: none; }
.place-list[hidden] { display: none; }
@media (min-width: 900px) { .place-list { columns: 2; column-gap: 64px; } .place-list a { break-inside: avoid; } }
.float-preview {
  position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none;
  width: 340px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 3px;
  opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-3deg);
  transition: opacity .35s var(--ease), transform .5s var(--ease);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .4);
}
.float-preview.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(var(--tilt, -2deg)); }
.float-preview { transition: opacity .35s var(--ease), transform .25s linear; width: 380px; }
.float-preview img { transition: opacity .3s; }
.float-preview img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .float-preview { display: none; } }

/* ---------- CTA band ---------- */
.worth { padding: clamp(90px, 12vw, 180px) 0; position: relative; overflow: hidden; }
.worth .bg { position: absolute; inset: 0; z-index: 0; }
.worth .bg img { width: 100%; height: 120%; object-fit: cover; opacity: .32; filter: grayscale(.4); }
.worth .bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(19,17,14,.2), rgba(19,17,14,.92) 70%); }
.worth .wrap { position: relative; z-index: 1; display: grid; gap: 40px; }
.worth h2 { font-size: clamp(56px, 9vw, 160px); max-width: 11ch; }
.worth form { display: grid; gap: 10px; max-width: 760px; }
.addr { display: grid; grid-template-columns: 1fr; gap: 8px; background: rgba(241, 238, 231, .06); border: 1px solid rgba(241, 238, 231, .22); border-radius: 18px; padding: 8px; }
.addr input { background: transparent; border: 0; outline: none; color: var(--paper); font-size: 19px; padding: 14px 18px; min-height: 56px; }
.addr input::placeholder { color: rgba(241, 238, 231, .5); }
.worth small { color: rgba(241, 238, 231, .6); font-size: 13px; }
@media (min-width: 700px) { .addr { grid-template-columns: 1fr auto; border-radius: 999px; } .addr .btn { border-radius: 999px; } }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: rgba(241, 238, 231, .78); padding: clamp(80px, 9vw, 130px) 0 40px; font-size: 15px; position: relative; overflow: hidden; }
.site-footer a { color: var(--paper); transition: color .3s; }
.site-footer a:hover { color: var(--gold-hi); }
.foot-top { display: grid; gap: 50px; padding-bottom: 70px; border-bottom: 1px solid var(--night-line); }
.foot-logo { width: min(420px, 80vw); }
.foot-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
.foot-cols h4 { margin: 0 0 16px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-big { font-family: var(--serif); font-size: clamp(32px, 3vw, 50px); line-height: 1.05; color: var(--paper); display: block; white-space: nowrap; }
.foot-big:hover { font-style: italic; }
.foot-bottom { padding-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; font-size: 13px; color: rgba(241, 238, 231, .5); }
.foot-bottom .eho { display: inline-flex; align-items: center; gap: 8px; }
.foot-word { font-family: var(--serif); font-style: italic; font-size: 25vw; line-height: .75; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(195, 154, 82, .28); white-space: nowrap; margin: 40px 0 -2vw -1vw; user-select: none; }
@media (min-width: 900px) {
  .foot-top { grid-template-columns: 1.2fr 2fr; }
  .foot-cols { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
}

/* ---------- page heroes (inner pages) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(60px, 9vw, 140px)) 0 clamp(50px, 7vw, 100px); position: relative; }
.page-hero h1 { font-size: clamp(64px, 11vw, 190px); line-height: .86; letter-spacing: -.03em; margin: 24px 0 36px; }
.page-hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.page-hero h1 .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
.is-ready .page-hero h1 .line > span { transform: none; }
.is-ready .page-hero h1 .line:nth-child(2) > span { transition-delay: .1s; }
.page-hero .row { display: grid; gap: 30px; align-items: end; }
@media (min-width: 900px) { .page-hero .row { grid-template-columns: 1.3fr 1fr; } }
.breadcrumb { font-size: 13px; color: var(--ink-3); display: flex; gap: 10px; }
.breadcrumb a:hover { color: var(--ink); }

.banner-img { position: relative; height: clamp(360px, 70vh, 760px); overflow: hidden; clip-path: inset(0 var(--inset, 6%) 0 var(--inset, 6%)); }
.banner-img img { width: 100%; height: 125%; object-fit: cover; position: absolute; top: -12%; will-change: transform; }

/* ---------- prose / two-col ---------- */
.block { padding: clamp(80px, 10vw, 150px) 0; }
.block.tight { padding: clamp(50px, 6vw, 90px) 0; }
.two { display: grid; gap: 40px; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; gap: 80px; } .two.wide-l { grid-template-columns: 1.4fr 1fr; } .two.wide-r { grid-template-columns: 1fr 1.4fr; } }
.prose p { margin: 0 0 1.1em; color: var(--ink-2); font-size: 18px; max-width: 60ch; }
.prose .first::first-letter { font-family: var(--serif); float: left; font-size: 5.4em; line-height: .78; margin: .06em .1em 0 0; color: var(--gold-deep); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 70px 1fr; gap: 10px 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); font-family: var(--serif); font-style: italic; font-size: 32px; color: var(--gold-deep); line-height: 1; }
.steps h3 { font-size: clamp(30px, 3vw, 46px); margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-2); max-width: 56ch; }
@media (min-width: 900px) { .steps li { grid-template-columns: 120px 1fr 1.1fr; align-items: baseline; } .steps li::before { font-size: 44px; } .steps h3 { margin: 0; } }

/* tools / calculators */
.tool { background: var(--paper-2); border-radius: 6px; padding: clamp(26px, 4vw, 60px); display: grid; gap: 40px; }
@media (min-width: 1000px) { .tool { grid-template-columns: 1fr 1fr; gap: 70px; } }
.field { display: grid; gap: 8px; margin-bottom: 22px; }
.field label, .field .lab { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); }
.field output { color: var(--ink); letter-spacing: .02em; font-size: 15px; text-transform: none; font-variant-numeric: tabular-nums; }
.field input[type="number"], .field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; background: rgba(255, 255, 255, .55); border: 1px solid var(--line); border-bottom: 1.5px solid var(--ink-2);
  padding: 12px 14px; font-size: 18px; min-height: 52px; outline: none; border-radius: 6px 6px 0 0;
  transition: border-color .3s, background .3s;
}
.field select { appearance: none; -webkit-appearance: none; background: rgba(255,255,255,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231a1712' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 14px center; }
.field input:focus, .field select:focus, .field textarea:focus { background-color: #fff; }
.field textarea { min-height: 120px; resize: vertical; font-size: 17px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), var(--line-strong) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--line-strong); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--ink); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); margin-top: -10px; transition: transform .2s; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.2); }
.result { display: grid; align-content: center; gap: 12px; border-left: 0; }
.result .big { font-family: var(--serif); font-size: clamp(64px, 8vw, 132px); line-height: .9; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.result .per { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.breakdown { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.breakdown li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.breakdown li span:first-child { color: var(--ink-3); }
.bar { display: flex; height: 10px; border-radius: 99px; overflow: hidden; background: var(--paper-3); margin-top: 8px; }
.bar i { display: block; height: 100%; transition: flex-grow .6s var(--ease); }
.note { font-size: 13px; color: var(--ink-3); margin: 8px 0 0; }

/* guides */
.guides { display: grid; gap: 0; border-top: 1px solid var(--line); }
.guides a { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.1; transition: color .3s, padding .5s var(--ease); }
.guides a span { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.guides a:hover { padding-left: 14px; color: var(--gold-deep); font-style: italic; }
@media (min-width: 900px) { .guides { grid-template-columns: 1fr 1fr; column-gap: 60px; } }

/* testimonial wall */
.wall { columns: 1; column-gap: 22px; }
.wall figure { break-inside: avoid; margin: 0 0 22px; background: var(--paper-2); padding: 34px 32px 30px; border-radius: 4px; }
.wall blockquote { margin: 0; font-family: var(--serif); font-size: 25px; line-height: 1.2; }
.wall figcaption { margin-top: 22px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; display: flex; gap: 10px; align-items: center; }
.wall figcaption::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
.wall figure.dark { background: var(--night); color: var(--paper); }
.wall figure.dark figcaption { color: rgba(241,238,231,.6); }
@media (min-width: 700px) { .wall { columns: 2; } }
@media (min-width: 1100px) { .wall { columns: 3; } }

/* community cards */
.city-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .city-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .city-grid { grid-template-columns: repeat(3, 1fr); } }
.city { position: relative; display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 5; color: var(--paper); isolation: isolate; }
.city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1) contrast(1.05) brightness(.9); transform: scale(1.06); transition: filter 1s var(--ease), transform 1.4s var(--ease); }
.city::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,10,8,.5) 0%, rgba(12,10,8,.05) 26%, rgba(12,10,8,.2) 55%, rgba(12,10,8,.85) 100%); }
.city:hover img { filter: grayscale(0) contrast(1) brightness(1); transform: scale(1); }
.city .in { position: absolute; inset: 0; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; }
.city .reg { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; display: flex; justify-content: space-between; }
.city h3 { font-size: clamp(44px, 4vw, 64px); }
.city .links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.city .links span { font-size: 12px; border: 1px solid rgba(241,238,231,.35); border-radius: 99px; padding: 6px 12px; background: rgba(19,17,14,.25); backdrop-filter: blur(4px); }
.city-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line-strong); font-size: 13px; font-weight: 500; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.city-card { display: grid; gap: 14px; }

/* contact */
.contact-grid { display: grid; gap: 60px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1.25fr; gap: 100px; } }
.contact-big { display: grid; gap: 4px; margin: 30px 0 40px; }
.contact-big a { font-family: var(--serif); font-size: clamp(36px, 4.4vw, 72px); line-height: 1.05; transition: color .3s; word-break: break-word; }
.contact-big a:hover { color: var(--gold-deep); font-style: italic; }
.form-card { background: var(--paper-2); border-radius: 6px; padding: clamp(26px, 4vw, 56px); }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-row input { position: absolute; opacity: 0; pointer-events: none; }
.radio-row label { cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(26,23,18,.45); border-radius: 99px; font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); transition: background .3s, color .3s; }
.radio-row input:checked + label { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.radio-row input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }
.consent { display: flex; gap: 12px; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; margin: 6px 0 26px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--ink); }
.form-status { margin-top: 16px; font-size: 15px; min-height: 1.5em; }
.form-grid { display: grid; gap: 0 28px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }

/* lender card */
.lender { display: grid; gap: 30px; padding: clamp(28px, 4vw, 56px); border: 1px solid var(--line-strong); border-radius: 6px; }
@media (min-width: 900px) { .lender { grid-template-columns: 1fr auto; align-items: center; } }
.lender h3 { font-size: clamp(40px, 4vw, 64px); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; } .rv.d2 { transition-delay: .16s; } .rv.d3 { transition-delay: .24s; }
.no-js .rv { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .rv { opacity: 1; transform: none; }
  .hero { height: auto; }
  .hero-stage { position: relative; }
  .marquee-track { animation: none; }
}


/* ================= iteration 1: motion + detail ================= */
/* masked word reveal on section headings */
.split.rv { opacity: 1; transform: none; }
.split .wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .wi { display: inline-block; transform: translateY(108%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.split.in .wi { transform: none; }
.no-js .split .wi { transform: none; }

/* custom cursor */
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label, .has-cursor select { cursor: none; }
.has-cursor input[type="text"], .has-cursor input[type="email"], .has-cursor input[type="tel"], .has-cursor textarea { cursor: text; }
.cursor { position: fixed; left: 0; top: 0; z-index: 400; pointer-events: none; width: 0; height: 0; }
.cursor span {
  position: absolute; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--ink); opacity: 0; display: grid; place-items: center;
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: transparent; white-space: nowrap;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, opacity .3s, color .3s;
}
.cursor.on span { opacity: 1; }
.cursor.dark span { background: var(--paper); }
.cursor.link span { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: transparent; border: 1px solid var(--gold); }
.cursor.label span { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--gold-hi); border: 0; color: var(--ink); }

/* buttons ease back from magnetic pull */
.btn, .voice-ctrl button, .menu-btn { transition: color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease), background .4s; }

/* ledger: gold hairline draws in above each stat */
.ledger > div { position: relative; }
.ledger > div::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .2s; }
.ledger > div.in::before { transform: scaleX(1); }
@media (min-width: 900px) { .ledger > div:not(:first-child)::before { left: 32px; } }

/* manifesto: richer ink, gold underline on the italic words */
.manifesto .w.gold { position: relative; }
.manifesto .w.gold::after { content: ""; position: absolute; left: 0; right: .1em; bottom: .06em; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.manifesto .w.gold.on::after { transform: scaleX(1); }

/* footer wordmark: gold spotlight follows the cursor */
.foot-word {
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 60%), rgba(240, 220, 168, .95), rgba(195, 154, 82, .32) 40%, rgba(195, 154, 82, .06) 75%);
  -webkit-background-clip: text; background-clip: text;
}

/* section rhythm: running index in the kicker */
.kicker .n { font-variant-numeric: tabular-nums; color: var(--gold-deep); margin-right: 2px; }
.on-dark .kicker .n { color: var(--gold-hi); }


/* ================= iteration 2: art direction ================= */
/* rotating seal in hero */
.seal { position: absolute; z-index: 4; display: none; width: 132px; height: 132px; right: auto; left: calc(46vw - 40px); bottom: 9vh; border-radius: 50%; background: var(--paper); box-shadow: 0 20px 50px -20px rgba(0,0,0,.35); }
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal text { font-family: var(--sans); font-size: 15.2px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; fill: var(--ink); }
.seal-core { position: absolute; inset: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-content: center; text-align: center; transition: background .4s, color .4s; }
.seal-core b { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: .9; color: var(--gold-hi); }
.seal-core small { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; margin-top: 4px; }
.seal:hover .seal-core { background: var(--gold); color: var(--ink); }
.seal:hover .seal-core b { color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (min-width: 1100px) { .seal { display: block; } }

/* pinned horizontal gallery */
.gallery { position: relative; background: var(--night); color: var(--paper); }
.g-stage { position: relative; }
.g-intro { padding: clamp(80px, 10vw, 140px) var(--pad) 40px; }
.g-intro h2 { font-size: clamp(52px, 7vw, 120px); margin: 22px 0 24px; }
.g-intro h2 em { color: var(--gold-hi); }
.g-intro p { color: rgba(241,238,231,.7); max-width: 32ch; margin: 0; }
.g-intro .kicker { color: rgba(241,238,231,.62); }
.g-progress { display: none; }
.g-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--pad) clamp(80px, 10vw, 140px); scrollbar-width: none; }
.g-track::-webkit-scrollbar { display: none; }
.g-card { flex: 0 0 82vw; scroll-snap-align: start; display: grid; gap: 18px; color: var(--paper); }
.g-card figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 3px; position: relative; }
.g-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease), filter 1s; filter: saturate(.75) contrast(1.05); }
.g-card:hover img { transform: scale(1.02); filter: saturate(1) contrast(1); }
.g-meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: baseline; }
.g-n { font-family: var(--serif); font-style: italic; color: var(--gold-hi); font-size: 22px; }
.g-meta h3 { font-size: clamp(34px, 3vw, 52px); }
.g-meta p { grid-column: 2; margin: 0; color: rgba(241,238,231,.65); font-size: 15px; max-width: 34ch; }
.g-end { place-content: center; justify-items: start; border: 1px solid var(--night-line); border-radius: 3px; padding: 40px; font-family: var(--serif); font-size: clamp(44px, 4vw, 72px); line-height: 1; aspect-ratio: 4 / 5; align-self: start; transition: background .5s, color .5s; }
.g-end em { color: var(--gold-hi); }
.g-end .arr { width: 48px; height: 26px; margin-top: 24px; }
.g-end:hover { background: var(--paper); color: var(--ink); }
.g-end:hover em { color: var(--gold-deep); }
@media (min-width: 900px) {
  .gallery.pinned { height: var(--g-h, 400vh); }
  .gallery.pinned .g-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; grid-template-columns: minmax(340px, 30vw) minmax(0, 1fr); align-items: center; }
  .gallery.pinned .g-track { width: max-content; }
  .gallery.pinned .g-intro { padding: 0 32px 0 var(--pad); align-self: stretch; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; background: var(--night); }
  .gallery.pinned .g-intro::after { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: 120px; background: linear-gradient(90deg, var(--night), rgba(19,17,14,0)); pointer-events: none; }
  .gallery.pinned .g-progress { display: block; margin-top: 46px; width: 200px; height: 1px; background: var(--night-line); position: relative; overflow: hidden; }
  .gallery.pinned .g-progress i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(var(--gp, 0)); }
  .gallery.pinned .g-track { overflow: visible; padding: 0 var(--pad) 0 40px; gap: 34px; will-change: transform; align-items: center; scroll-snap-type: none; }
  .gallery.pinned .g-card { flex: 0 0 min(30vw, 470px); }
  .gallery.pinned .g-card:nth-child(even) { margin-top: 14vh; }
  .gallery.pinned .g-card:nth-child(odd) { margin-bottom: 14vh; }
  .gallery.pinned .g-card figure { aspect-ratio: 4 / 5; max-height: 58vh; }
  .gallery.pinned .g-end { flex-basis: min(24vw, 360px); aspect-ratio: auto; height: 50vh; }
}

/* team: monochrome to colour, vertical licence line */
.agent figure img { filter: grayscale(1) contrast(1.06) brightness(1.02); }
.agent:hover figure img { filter: grayscale(0) contrast(1.02); }
.agent figure::before { content: attr(data-dre); position: absolute; z-index: 2; right: 14px; bottom: 14px; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); }
.agent .dre { display: none; }


/* ================= iteration 3: tonal bridges + polish ================= */
/* dark sections melt into paper through soft gradient bridges instead of hard cuts */
.bridge-in, .bridge-out { position: relative; }
.bridge-in::before, .bridge-out::after { content: ""; position: absolute; left: 0; right: 0; height: clamp(80px, 12vw, 180px); pointer-events: none; z-index: 1; }
.bridge-in::before { bottom: 100%; background: linear-gradient(180deg, rgba(19,17,14,0), var(--night)); }
.bridge-out::after { top: 100%; background: linear-gradient(180deg, var(--night), rgba(19,17,14,0)); }
.team { padding-top: clamp(110px, 12vw, 190px); }
.g-n { font-size: 26px; }

.hero-coords { position: absolute; z-index: 3; top: calc(var(--header-h) + 3vh + 6px); right: var(--pad); display: none; gap: 22px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.hero-coords span + span::before { content: "/"; margin-right: 22px; color: var(--gold); }
@media (min-width: 1100px) { .hero-coords { display: flex; } }
/* team header sits left; portraits get a gold index plate */
.agent figure { counter-increment: agent; }
.team-grid { counter-reset: agent; }
.agent figure .plate { position: absolute; left: 14px; top: 14px; z-index: 2; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink); }
.agent .bio { font-size: 17px; }

/* home team fades down into the reviews */
.team-home { padding-bottom: clamp(140px, 16vw, 240px); background: linear-gradient(180deg, var(--paper) 0%, var(--paper) calc(100% - clamp(120px, 14vw, 200px)), var(--night) 100%); }
/* a stray dot artifact came from the cursor at rest; hide until first move */
.cursor:not(.on) { display: none; }


/* ================= iteration 4: mobile + touch ================= */
.tap { display: none; }
@media (hover: none) { .hov { display: none; } .tap { display: inline; } }
@media (max-width: 899px) {
  .door { min-height: 440px; }
  .door::before { background: linear-gradient(180deg, rgba(12,10,8,.45) 0%, rgba(12,10,8,.25) 30%, rgba(12,10,8,.78) 60%, rgba(12,10,8,.92) 100%); }
  .door h3 { font-size: clamp(48px, 14vw, 72px); }
  .g-card { flex-basis: 78vw; }
  .g-track { scroll-padding-left: var(--pad); }
  .g-intro { padding-bottom: 28px; }
  .agent figure::before { font-size: 10px; right: 10px; bottom: 10px; color: var(--ink-3); }
  .foot-logo { width: min(260px, 70vw); }
  .foot-cols { gap: 34px 20px; }
  .foot-cols > div:first-child { grid-column: 1 / -1; }
  .ledger .num { font-size: clamp(52px, 15vw, 72px); }
  .manifesto { padding-top: 90px; }
}


/* inner-page banners open like the home hero's roofline */
.banner-img.roof { clip-path: polygon(var(--inset, 6%) 100%, var(--inset, 6%) var(--eave, 22%), 50% var(--peak, 0%), calc(100% - var(--inset, 6%)) var(--eave, 22%), calc(100% - var(--inset, 6%)) 100%); height: clamp(420px, 82vh, 860px); }
/* featured quote band */
.feature-quote { padding: clamp(90px, 12vw, 170px) 0; text-align: left; }
.feature-quote blockquote { margin: 26px 0 30px; font-family: var(--serif); font-size: clamp(48px, 7.6vw, 132px); line-height: .98; letter-spacing: -.02em; max-width: 15ch; }
.feature-quote blockquote em { color: var(--gold-hi); }
.feature-quote p { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: rgba(241,238,231,.6); margin: 0; }
.wall figure.accent { background: transparent; border: 1px solid var(--gold); }
.wall figure.accent blockquote { color: var(--ink); }
/* community cards: warm tint instead of flat grey, colour on hover */
.city img { filter: grayscale(.55) sepia(.18) contrast(1.04) brightness(.92); }
/* page transition curtain */
.curtain { position: fixed; inset: 0; z-index: 450; background: var(--night); transform: translateY(100%); pointer-events: none; display: grid; place-items: center; }
.curtain svg { width: 90px; opacity: 0; transition: opacity .3s; }
.curtain path { fill: none; stroke: var(--gold); stroke-width: 1.4; }
.curtain.leave { transform: translateY(0); transition: transform .6s var(--ease-io); }
.curtain.leave svg { opacity: 1; transition-delay: .25s; }
.curtain.enter { transform: translateY(0); }
.curtain.enter.go { transform: translateY(-100%); transition: transform .8s var(--ease-io) .05s; }

.reply { display: flex; align-items: center; gap: 16px; margin: 0 0 34px; padding: 16px 22px 16px 16px; border: 1px solid var(--line); border-radius: 999px; width: fit-content; }
.reply .duo { margin: 0; }
.reply p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #5a8f5e; margin-right: 8px; box-shadow: 0 0 0 0 rgba(90,143,94,.5); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(90,143,94,0); } 100% { box-shadow: 0 0 0 0 rgba(90,143,94,0); } }
.form-card { background: var(--night); color: var(--paper); }
.form-card .field label, .form-card .field .lab { color: rgba(241,238,231,.6); }
.form-card .field input, .form-card .field select, .form-card .field textarea { background-color: rgba(241,238,231,.06); border-color: rgba(241,238,231,.14); border-bottom-color: rgba(241,238,231,.5); color: var(--paper); }
.form-card .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23f1eee7' stroke-width='1.3'/%3E%3C/svg%3E"); }
.form-card .field select option { color: var(--ink); }
.form-card .field input:focus, .form-card .field select:focus, .form-card .field textarea:focus { background-color: rgba(241,238,231,.1); border-bottom-color: var(--gold); }
.form-card .radio-row label { color: var(--paper); border-color: rgba(241,238,231,.35); }
.form-card .radio-row input:checked + label { background: var(--gold-hi); color: var(--ink); border-color: var(--gold-hi); }
.form-card .consent { color: rgba(241,238,231,.62); }
.form-card .consent input { accent-color: var(--gold); }
.form-card .btn { --bg: var(--paper); --fg: var(--ink); }
.form-card textarea::placeholder { color: rgba(241,238,231,.4); }

.page-hero:has(+ .banner-img.roof) { padding-bottom: clamp(36px, 4vw, 60px); }
@media (min-width: 900px) and (min-height: 760px) { .page-hero:has(+ .banner-img.roof) h1 { margin-bottom: 26px; } }

/* warmer, shorter bridge: stays in the brown/gold family instead of passing through grey */
.team-home { padding-bottom: clamp(120px, 13vw, 200px);
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper) calc(100% - clamp(110px, 12vw, 180px)),
    #d9cdb3 calc(100% - clamp(80px, 9vw, 130px)), #7d6a4a calc(100% - clamp(40px, 5vw, 70px)), #2a241b calc(100% - 14px), var(--night) 100%); }
.bridge-out::after { background: linear-gradient(180deg, var(--night) 0%, #2a241b 25%, #7d6a4a 58%, #d9cdb3 82%, rgba(241,238,231,0) 100%); height: clamp(100px, 12vw, 170px); }

.hero-coords { top: auto; right: auto; left: var(--pad); bottom: calc(6vh + 230px); }
@media (max-height: 820px) { .hero-coords { display: none; } }

/* a11y polish: bigger consent hit area, roomier footer links, brighter footer headings */
.consent { padding: 6px 0; cursor: pointer; }
.consent input { width: 22px; height: 22px; }
.foot-cols h4 { color: var(--gold-hi); }
.foot-cols ul { gap: 2px; }
.foot-cols ul a { display: inline-block; padding: 7px 0; }

@media (min-width: 900px) { .gallery.pinned .g-intro::after { width: 180px; background: linear-gradient(90deg, var(--night) 25%, rgba(19,17,14,0)); } }
