/* ============================================================================
   Leasing Agent 415 — Iteration 15 "Liquid Compass" (v2)
   Faithful to leasingagent415.com's structure + typography (CompassSerif
   headers / CompassSans body, full-bleed photo heroes, the original's
   STACKED / overlapping image clusters), rendered FULLY MONOCHROME
   (ink + white + grey — colour comes only from the photography), and upgraded
   with cinematic motion: a liquid-glass overlay nav,
   Lenis momentum scroll, word-by-word "trace-up" heading reveals, and image
   parallax inside clipping wrappers.
   Motion is reduced-motion gated; text pairings verified ≥ WCAG AA.
   ========================================================================== */

/* ---- Fonts (the real Compass faces; relative URLs for static hosting) ----- */
@font-face {
  font-family: 'CompassSans';
  src: url('../fonts/CompassSans-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'CompassSans';
  src: url('../fonts/CompassSans-Medium.woff2') format('woff2');
  font-weight: 500 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'CompassSerif';
  src: url('../fonts/CompassSerif-Regular.woff2') format('woff2');
  font-weight: 400 600; font-style: normal; font-display: swap;
}

:root {
  /* ---- Monochrome palette (no colour; photography carries all colour) --- */
  --ink:        #111114;  /* near-black — headings + primary text */
  --ink-soft:   #34343a;  /* body prose */
  --muted:      #5d5d63;  /* secondary text — 5.8:1 on #fff (AA) */
  --paper:      #ffffff;
  --bg-alt:     #f4f4f5;  /* alternating light-grey band */
  --bg-dark:    #111114;  /* ink band (intake form / footer) */
  --line:       #e5e5e8;  /* hairline */
  --line-2:     #d3d3d8;  /* stronger hairline */
  --on-dark:    #ffffff;
  --on-dark-mut:#b9b9bf;

  /* legacy aliases kept so shared markup keeps resolving (all → mono) */
  --color-text: var(--ink); --color-text-soft: var(--ink-soft); --color-muted: var(--muted);
  --color-text-invert: #fff; --color-bg: var(--paper); --color-bg-invert: var(--bg-alt);
  --color-bg-black: var(--ink); --color-link: var(--ink); --color-accent: var(--ink);

  /* Type — iteration 47's system (Newsreader display / Lexend body /
     Playfair Display logo), loaded from assets/fonts/fonts.css on every page.
     The Compass @font-face blocks above stay: the footer's COMPASS wordmark
     SVG still sets itself in CompassSans. */
  --ff-header: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --ff-normal: 'Lexend', 'Avenir Next', Helvetica, Arial, sans-serif;
  --ff-logo: 'Playfair Display', 'Didot', Georgia, serif;
  --fs-normal: 16px; --fs-small: 14px;

  /* Liquid glass — two states, both blurred. Top state is dark enough that
     axe composites it dark (so the white nav text passes AA). */
  --glass-top:    rgba(17,17,20,.66);
  --glass-solid:  rgba(255,255,255,.82);
  --glass-blur:   blur(9px) saturate(1.1);

  /* Spacing (8px base) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 132px;

  --container: 1200px;
  --container-narrow: 760px;
  --radius: 0px;           /* crisp editorial rectangles, like the original */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

/* ---- Reset (NO css scroll-behavior — it fights Lenis and causes jank) ----- */
*, *::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(--ff-normal);
  font-size: var(--fs-normal);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .25s var(--ease), opacity .25s var(--ease); }
ul { margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

/* ---- Typography ---------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--ff-header); font-weight: 500; margin: 0; line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 1.5rem + 3.0vw, 3.5rem); line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 1.3rem + 2.1vw, 3.0rem); }
h3 { font-size: clamp(1.4rem, 1.2rem + 1.0vw, 1.9rem); }
h4 { font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem); }
h5 { font-family: var(--ff-header); font-weight: 500; margin: 0; font-size: 1.25rem; }
h6 { font-family: var(--ff-normal); font-weight: 600; margin: 0; font-size: 1rem; }
p  { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 600; }

.lede { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); line-height: 1.58; color: var(--ink-soft); }
.muted { color: var(--muted); }
.serif { font-family: var(--ff-header); }

/* Eyebrow — small grey label with a thin ink rule */
.eyebrow {
  font-family: var(--ff-normal); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: var(--s-3); margin: 0 0 var(--s-4);
}
.eyebrow::before { content: ""; width: 30px; height: 1.5px; background: var(--ink); display: inline-block; }
.eyebrow--center { justify-content: center; }
.eyebrow--light, .hero__eyebrow,
.hero .eyebrow, .page-hero .eyebrow, .video-hero .eyebrow { color: rgba(255,255,255,.88); }
.eyebrow--light::before, .hero__eyebrow::before,
.hero .eyebrow::before, .page-hero .eyebrow::before, .video-hero .eyebrow::before { background: rgba(255,255,255,.72); }

/* ---- Layout -------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--s-6); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(var(--s-8), 8vw, var(--s-10)); }
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--bg-dark); color: #fff; }
.section--tight { padding-block: clamp(var(--s-7), 5vw, var(--s-9)); }

.section-head { max-width: 820px; margin-bottom: var(--s-7); }
.section-head--center { margin-inline: auto; text-align: center; }
.rule-line { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Editorial split (text column beside a stacked image cluster) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--s-7), 6vw, var(--s-10)); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__body { max-width: 36em; }
.split__media { position: relative; }

/* ---- Stacked / overlapping image cluster (the original's signature) ------ */
.stack { position: relative; width: 100%; aspect-ratio: 5 / 6; }
.stack__item { position: absolute; overflow: hidden; background: var(--bg-alt); }
.stack__item img { position: absolute; inset: -10% 0 auto 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.stack__item--back  { top: 0; left: 0; width: 66%; aspect-ratio: 3 / 4; z-index: 1; }
.stack__item--front { bottom: 0; right: 0; width: 60%; aspect-ratio: 4 / 3; z-index: 2; box-shadow: 0 34px 64px -36px rgba(0,0,0,.5); }
/* mirror the diagonal on reversed sections so the cluster leans toward the text */
.split--reverse .stack__item--back  { left: auto; right: 0; }
.split--reverse .stack__item--front { right: auto; left: 0; }

/* single framed image fallback (crisp rectangle) */
.framed { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.framed img { position: absolute; inset: -10% 0 auto 0; width: 100%; height: 120%; object-fit: cover; will-change: transform; }

/* ---- Buttons (mono; crisp rectangles like the original) ------------------ */
.btn, .button, button.button {
  --btn-bg: var(--ink); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 54px; padding: 0 var(--s-7);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--ff-normal); font-size: 0.9rem; font-weight: 500; letter-spacing: 0.03em;
  border: 1.5px solid var(--btn-bg); border-radius: var(--radius);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  text-align: center;
}
.btn:hover, .button:hover { background: #000; border-color: #000; color: #fff; transform: translateY(-2px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; border-color: #fff; }
.btn--on-dark.btn--ghost { --btn-fg: #fff; border-color: rgba(255,255,255,.6); }
.btn--on-dark.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--block { width: 100%; }
/* "Watch me on YouTube" turns YouTube-red on hover (AA: white on #cc0000 ≈ 5.9:1) */
.btn--youtube:hover { background: #cc0000; border-color: #cc0000; color: #fff; transform: translateY(-2px); }

.textlink {
  font-family: var(--ff-normal); font-weight: 600; font-size: 0.86rem; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink); display: inline-flex; align-items: center; gap: 10px;
  border-bottom: 1.5px solid var(--ink); padding-bottom: 3px;
}
.textlink::after { content: "\2192"; transition: transform .25s var(--ease); }
.textlink:hover::after { transform: translateX(5px); }

.link { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.link:hover { border-color: var(--ink); }
.prose a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.prose a:hover { border-color: var(--ink); }

/* ---- Focus / skip -------------------------------------------------------- */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.section--ink :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .video-hero :focus-visible, .site-header :focus-visible { outline-color: #fff; }
.skip-link { position: absolute; left: var(--s-4); top: -100px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 18px; transition: top .2s var(--ease); }
.skip-link:focus { top: var(--s-4); color: #fff; }

/* ============================================================================
   HEADER / NAV — LIQUID GLASS OVERLAY
   Fixed over the hero. Top state: dark glass + white text (legible over the
   photo, and dark enough to pass axe). Scrolled past the hero: light glass +
   ink text over the white content. scroll.js toggles .is-scrolled at the hero
   boundary so the light state never lands over a dark photo.
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--glass-top);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255,255,255,.14);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.site-header.is-scrolled, body.nav-open .site-header {
  background: var(--glass-solid);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 34px -24px rgba(0,0,0,.32);
}
/* Perf: suspend the blur while actively scrolling (scroll.js toggles this);
   restored when idle so the bar still reads as frosted glass at rest. */
.site-header.nav-scrolling { -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header__inner { display: flex; align-items: center; gap: var(--s-5); min-height: var(--header-h); width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--s-6); }

/* default (over hero) text = white; scrolled/open = ink */
.brand { display: flex; align-items: center; gap: var(--s-3); color: #fff; }
.brand__mark { width: 38px; height: 38px; object-fit: contain; filter: brightness(0) invert(1); transition: filter .35s var(--ease); }
.brand__name { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name b { font-family: var(--ff-header); font-weight: 500; font-size: 1.18rem; letter-spacing: -0.01em; }
.brand__name small { font-size: 0.56rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,.92); margin-top: 3px; transition: color .35s var(--ease); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: var(--s-5); list-style: none; }
.nav__link { font-size: 0.82rem; letter-spacing: .02em; color: rgba(255,255,255,.92); padding: 6px 0; border-bottom: 1.5px solid transparent; transition: color .25s var(--ease), border-color .25s var(--ease); }
.nav__link:hover { border-color: currentColor; }
.nav__link[aria-current="page"] { border-color: currentColor; font-weight: 600; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; color: #fff; padding-left: var(--s-5); margin-left: var(--s-2); border-left: 1px solid rgba(255,255,255,.28); }

/* scrolled / menu-open → ink text */
.site-header.is-scrolled .brand, body.nav-open .site-header .brand,
.site-header.is-scrolled .nav__phone, body.nav-open .site-header .nav__phone { color: var(--ink); }
.site-header.is-scrolled .brand__mark, body.nav-open .site-header .brand__mark { filter: none; }
.site-header.is-scrolled .brand__name small, body.nav-open .site-header .brand__name small { color: var(--muted); }
.site-header.is-scrolled .nav__link, body.nav-open .site-header .nav__link { color: var(--ink); }
.site-header.is-scrolled .nav__phone, body.nav-open .site-header .nav__phone { border-left-color: var(--line-2); }

.nav-toggle { display: none; width: 46px; height: 46px; margin-left: auto; background: transparent; border: 1px solid rgba(255,255,255,.4); border-radius: var(--radius); align-items: center; justify-content: center; }
.site-header.is-scrolled .nav-toggle, body.nav-open .nav-toggle { border-color: var(--line-2); }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; display: block; width: 22px; height: 2px; background: #fff; transition: transform .25s var(--ease), background .25s var(--ease); position: relative; }
.site-header.is-scrolled .nav-toggle__bars, body.nav-open .nav-toggle__bars,
.site-header.is-scrolled .nav-toggle__bars::before, body.nav-open .nav-toggle__bars::before,
.site-header.is-scrolled .nav-toggle__bars::after, body.nav-open .nav-toggle__bars::after { background: var(--ink); }
.nav-toggle__bars::before { position: absolute; top: -7px; }
.nav-toggle__bars::after  { position: absolute; top: 7px; }
.nav-open .nav-toggle__bars { background: transparent !important; }
.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle__bars::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; background: #fff; border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .35s var(--ease); box-shadow: 0 24px 40px -28px rgba(0,0,0,.3); }
  .nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: var(--s-3) var(--s-6) var(--s-5); }
  .nav__link { padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav__phone { border-left: 0; padding-left: 0; margin-left: 0; padding-top: 16px; color: var(--ink); }
}

/* ============================================================================
   HEROES — full-bleed photo + ink overlay + centered serif headline.
   Nav overlays these, so heroes run to the very top of the page.
   ========================================================================== */
.hero, .page-hero, .video-hero { position: relative; color: #fff; isolation: isolate; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero { min-height: 100svh; }
.page-hero { min-height: clamp(440px, 64vh, 600px); }
.video-hero { min-height: clamp(440px, 60vh, 560px); }

.hero__bg, .page-hero__bg, .video-hero__bg { position: absolute; top: -10%; left: 0; right: 0; height: 120%; z-index: -2; background-size: cover; background-position: center; will-change: transform; }
.hero::after, .page-hero::after, .video-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12,12,16,.52) 0%, rgba(12,12,16,.36) 42%, rgba(12,12,16,.6) 100%); }

.hero__inner, .page-hero__inner, .video-hero__inner { width: 100%; max-width: 1000px; margin: 0 auto; padding: calc(var(--header-h) + var(--s-8)) var(--s-6) var(--s-8); display: flex; flex-direction: column; align-items: center; }
.hero h1, .page-hero h1, .video-hero h1 { color: #fff; max-width: 20ch; text-wrap: balance; text-shadow: 0 2px 40px rgba(0,0,0,.4); }
.page-hero h1, .video-hero h1 { max-width: 24ch; }
.hero__sub { max-width: 54ch; margin-top: var(--s-5); color: rgba(255,255,255,.94); font-size: clamp(1.05rem, 1rem + 0.45vw, 1.3rem); line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-7); justify-content: center; }

/* Animated video hero (About) */
.video-hero__frame { position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-height: 100%; min-width: 177.78vh; transform: translate(-50%, -50%); z-index: -2; border: 0; pointer-events: none; object-fit: cover; }
/* About video hero matches the original: solid black base + flat 50% overlay */
.video-hero__bg { background-color: #000; background-image: none; z-index: -3; }
.video-hero::after { background: rgba(0,0,0,.5); }

/* ---- Content blocks ------------------------------------------------------ */
.content-title { margin-bottom: var(--s-5); }
.prose p { margin-bottom: var(--s-4); color: var(--ink-soft); line-height: 1.72; }
.prose p:last-child { margin-bottom: 0; }
.section--ink .prose p { color: rgba(255,255,255,.82); }
.prose .lede { color: var(--ink-soft); }

/* statement band (e.g. "Why Work with Us") */
.statement { text-align: center; max-width: 920px; margin: 0 auto; }
.statement p { font-family: var(--ff-header); font-size: clamp(1.35rem, 1.05rem + 1.1vw, 1.9rem); line-height: 1.4; color: var(--ink); }
.statement u { text-decoration: none; border-bottom: 2px solid var(--ink); padding-bottom: 1px; }
.section--ink .statement p { color: rgba(255,255,255,.92); }
.section--ink .statement u { border-color: rgba(255,255,255,.7); }
.statement__actions { margin-top: var(--s-7); }

/* service / ticklist */
.ticklist { list-style: none; display: grid; gap: var(--s-3); }
.ticklist li { position: relative; padding-left: 30px; color: var(--ink-soft); line-height: 1.5; }
.ticklist li::before { content: ""; position: absolute; left: 0; top: 6px; width: 13px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.section--ink .ticklist li { color: rgba(255,255,255,.84); }
.section--ink .ticklist li::before { border-color: #fff; }

/* package / cards */
.cards { display: grid; gap: var(--s-5); grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-6); transition: border-color .25s var(--ease), transform .25s var(--ease); }
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.package { display: flex; flex-direction: column; }
.package h3 { font-size: 1.5rem; margin-bottom: var(--s-3); }
.package > p { color: var(--muted); margin-bottom: var(--s-4); }
.package .ticklist { margin-top: auto; }

/* ---- Listings ------------------------------------------------------------ */
.listings-toolbar { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; justify-content: space-between; margin-bottom: var(--s-7); }
.segmented { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.segmented button { appearance: none; background: transparent; border: 0; color: var(--muted); padding: 12px 24px; font-size: 0.74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: background .2s var(--ease), color .2s var(--ease); }
.segmented button + button { border-left: 1px solid var(--line-2); }
.segmented button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.listings-count { font-size: 0.82rem; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }

.listings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-8) var(--s-6); }
.listing { display: flex; flex-direction: column; background: transparent; }
.listing__media { position: relative; aspect-ratio: 4 / 3; background: var(--bg-alt) center/cover no-repeat; overflow: hidden; }
.listing__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.listing:hover .listing__media img { transform: scale(1.04); }
.listing__tag { position: absolute; top: var(--s-3); left: var(--s-3); z-index: 2; font-size: 0.62rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; background: #fff; color: var(--ink); padding: 6px 11px; }
.listing__tag--rented { background: var(--ink); color: #fff; }
.listing__body { padding: var(--s-4) 0 0; display: flex; flex-direction: column; gap: var(--s-1); }
.listing__title { font-family: var(--ff-header); font-weight: 500; font-size: 1.3rem; line-height: 1.18; color: var(--ink); }
.listing__addr { font-size: 0.92rem; color: var(--muted); }
.listing__price { font-family: var(--ff-header); font-weight: 500; font-size: 1.5rem; color: var(--ink); margin-top: var(--s-2); }
.listing__price small { font-family: var(--ff-normal); font-size: 0.7rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.listing__meta { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line); font-size: 0.7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.listings-status { text-align: center; padding: var(--s-8) 0; color: var(--muted); }
.listings-more { text-align: center; margin-top: var(--s-8); }

/* ---- Forms --------------------------------------------------------------- */
.form-card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(var(--s-5), 4vw, var(--s-8)); }
.field { margin-bottom: var(--s-5); }
.field > label { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin-bottom: var(--s-2); }
.field .req { color: var(--ink); }
.field input, .field textarea { width: 100%; min-height: 54px; padding: 14px 16px; font-family: var(--ff-normal); font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #93939a; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17,17,20,.14); outline: none; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b42318; box-shadow: 0 0 0 3px rgba(180,35,24,.14); }
.field__error { display: none; margin-top: 6px; font-size: 0.86rem; color: #d4948c; }
.field__error.is-shown { display: block; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s-5); }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.captcha-row { margin: 0 0 var(--s-5); min-height: 78px; }
.form-status { margin-top: var(--s-4); padding: var(--s-4) var(--s-5); border-radius: var(--radius); font-size: 0.96rem; display: none; }
.form-status.is-shown { display: block; }
.form-status--ok { background: #14361f; color: #cde9d4; border: 1px solid #2c5a3a; }
.form-status--err { background: #3a1714; color: #f0c5bf; border: 1px solid #6b2a22; }

.contact-layout { display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(var(--s-6), 5vw, var(--s-9)); align-items: center; }
.contact-aside h2 { color: #fff; }
.contact-aside .lede { color: rgba(255,255,255,.8); margin-top: var(--s-4); }
.contact-list { list-style: none; display: grid; gap: var(--s-3); margin-top: var(--s-6); color: rgba(255,255,255,.82); font-size: 0.98rem; }
.contact-list li { display: flex; align-items: center; gap: var(--s-3); }
.contact-list li::before { content: ""; width: 18px; height: 2px; background: rgba(255,255,255,.6); flex: none; }
.contact-list a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.32); }
.contact-list a:hover { border-color: #fff; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; gap: var(--s-7); } }

/* ---- About profile ------------------------------------------------------- */
.profile { display: grid; grid-template-columns: 360px 1fr; gap: clamp(var(--s-6), 5vw, var(--s-9)); align-items: start; }
.profile__photo { border-radius: var(--radius); width: 100%; }
.profile__card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-5); margin-top: var(--s-5); }
.profile__card dt { font-size: 0.66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: var(--s-5); }
.profile__card dt:first-child { margin-top: 0; }
.profile__card dd { margin: 5px 0 0; color: var(--ink-soft); line-height: 1.55; }
.profile__card a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.profile__card a:hover { border-color: var(--ink); }
.profile__bio h2 { margin-bottom: var(--s-5); }
.profile__bio p { font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem); line-height: 1.65; color: var(--ink-soft); margin-bottom: var(--s-4); }
.profile__actions { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-top: var(--s-6); }

/* ---- Social proof -------------------------------------------------------- */
.awards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--s-8); }
.award { display: grid; grid-template-columns: auto 1fr; gap: var(--s-4); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.award__year { font-family: var(--ff-header); font-weight: 500; font-size: 1.6rem; color: var(--ink); }
.award__text { color: var(--ink-soft); }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.video { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: border-color .25s var(--ease), transform .25s var(--ease); }
.video:hover { transform: translateY(-3px); border-color: var(--line-2); }
.video__media { position: relative; aspect-ratio: 16 / 9; background: var(--bg-alt) center/cover no-repeat; }
.video__media::after { content: ""; position: absolute; inset: 0; background: rgba(12,12,16,.26); transition: background .25s var(--ease); }
.video:hover .video__media::after { background: rgba(12,12,16,.1); }
.video__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2; width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.96); display: flex; align-items: center; justify-content: center; }
.video__play::before { content: ""; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--ink); margin-left: 3px; }
.video__body { padding: var(--s-5); }
.video__body p { color: var(--ink); margin: 0; font-weight: 500; line-height: 1.35; font-family: var(--ff-header); font-size: 1.1rem; }

.affil { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6); align-items: center; justify-content: center; list-style: none; font-family: var(--ff-header); font-size: clamp(1.1rem, 1rem + 0.8vw, 1.55rem); color: var(--ink); }
.affil .dot { color: var(--muted); }

.quote { max-width: 820px; margin: 0 auto; text-align: center; }
.quote blockquote { font-family: var(--ff-header); font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.3rem); line-height: 1.32; margin: 0 0 var(--s-5); color: inherit; }
.quote cite { font-style: normal; color: var(--muted); letter-spacing: .03em; }

/* ---- Footer (ink) -------------------------------------------------------- */
.site-footer { background: var(--bg-dark); color: var(--on-dark-mut); padding-block: var(--s-9) var(--s-6); }
.site-footer a { color: var(--on-dark-mut); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-7); padding-bottom: var(--s-7); border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand b { font-family: var(--ff-header); font-weight: 500; font-size: 1.4rem; color: #fff; display: block; margin-bottom: var(--s-3); }
.footer-brand small { letter-spacing: .2em; text-transform: uppercase; font-size: 0.62rem; color: #8a8a90; }
.footer-col h4 { font-family: var(--ff-normal); font-size: 0.68rem; letter-spacing: .18em; text-transform: uppercase; color: #8a8a90; margin-bottom: var(--s-4); }
.footer-col ul { list-style: none; display: grid; gap: var(--s-3); }
.footer-social { display: flex; gap: var(--s-3); margin-top: var(--s-4); }
.footer-social a { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: border-color .25s var(--ease), background .25s var(--ease); }
.footer-social a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.45); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-5); justify-content: space-between; padding-top: var(--s-5); font-size: 0.8rem; color: #8a8a90; }
.footer-bottom .powered { letter-spacing: .14em; text-transform: uppercase; font-size: 0.68rem; }

/* ============================================================================
   MOTION. Word-mask "trace-up" reveals + image
   parallax. Transforms only (compositor-friendly). All reduced-motion gated.
   scroll.js owns the transforms; CSS only sets safe defaults so a JS failure
   never leaves anything hidden.
   ========================================================================== */

/* generic block reveal (fade-up; IntersectionObserver in main.js, ScrollTrigger upgrades) */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }

/* word-by-word heading "tracing" — each word wrapped in an overflow:hidden
   mask, inner span translated by scroll.js. Default state is VISIBLE so a
   JS/library failure shows plain headings, never blank ones. */
.word-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.04em; }
.word-inner { display: inline-block; }

/* ---- Reduced motion: collapse to a clean static state -------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .word-inner { transform: none !important; }
  .hero__bg, .page-hero__bg, .video-hero__bg { transform: none !important; }
  .stack__item img, .framed img { transform: none !important; inset: 0 !important; height: 100% !important; }
}

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 1040px) {
  .cards, .video-grid, .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .profile { grid-template-columns: 1fr; }
  .profile__media { max-width: 380px; }
}
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; gap: var(--s-7); }
  .split--reverse .split__media { order: 0; }
  .stack { aspect-ratio: 4 / 5; max-width: 440px; margin-inline: auto; }
  .cards, .cards--2, .video-grid, .listings-grid, .awards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: var(--s-6); }
  .listings-toolbar { justify-content: flex-start; }
}
