/* ==========================================================================
   Kiser Real Estate Capital: dark institutional system
   Visual system after the Johnson Capital design reference: Midnight Navy
   surfaces, one strong blue, sharp geometry (0px; 4px on buttons), serif
   display + compact sans body + monospace reserved for figures.
   ========================================================================== */

:root {
  /* Surfaces */
  --bg: #041827;          /* Midnight Navy: page canvas */
  --bg-2: #081d30;        /* Deep Slate Navy: raised surface */
  --bg-3: #0c2740;        /* hover / plate surface */
  --bg-deep: #020e18;     /* footer, data strip */

  /* Ink */
  --ink: #ffffff;
  --ink-2: rgba(255, 255, 255, .76);
  --ink-3: rgba(221, 235, 248, .62);
  --tone-2: #8fa6bc;      /* second line of two-tone headlines */
  --cream: #f7f3ea;       /* editorial quotes */

  /* Blue ramp */
  --blue: #004273;        /* brand blue: primary fill */
  --blue-2: #0a5a9c;      /* hover */
  --signal: #3c8dd6;      /* rules, active marks, focus */
  --mist: #9cc4ec;        /* accent text on navy */
  --pale: #dde8f8;        /* secondary button fill */

  /* Structure */
  --line: rgba(156, 196, 236, .14);
  --line-2: rgba(156, 196, 236, .28);

  /* Type */
  --font-display: 'Sentient', 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Times New Roman', Georgia, serif;
  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: var(--font-sans);

  /* Motion */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);

  /* Layout */
  --maxw: 1320px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --nav-h: 76px;
  --radius: 4px;
  --sec-pad: clamp(88px, 11vw, 168px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.65 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:target { scroll-margin-top: calc(var(--nav-h) + 8px); }
section[id] { scroll-margin-top: calc(var(--nav-h) - 8px); }
::selection { background: var(--blue-2); color: #fff; }

.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--ink-3); }

.skip-link { position: fixed; left: 16px; top: -64px; z-index: 100; background: var(--pale); color: var(--bg); padding: 12px 18px; border-radius: var(--radius); font-weight: 500; transition: top .15s var(--ease-out); }
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.15rem, 1.1rem + 2.9vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -.018em;
  text-wrap: balance;
}
.h3 { font-family: var(--font-display); font-size: clamp(1.7rem, 1.2rem + 1.3vw, 2.4rem); line-height: 1.12; letter-spacing: -.012em; }
.tone-2 { color: var(--tone-2); }
.nobr { white-space: nowrap; }
.lede { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.6; color: var(--ink-2); max-width: 44ch; text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  height: 48px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--radius);
  font: 500 .9375rem/1 var(--font-sans); letter-spacing: .005em; white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .16s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn .arr { transition: transform .2s var(--ease-out); flex: none; }
.btn--primary { background: var(--blue); border-color: #14649f; color: #fff; }
.btn--pale { background: var(--pale); color: var(--bg); }
.btn--ghost { border-color: var(--line-2); color: #fff; }
.hero .btn--ghost { background: rgba(4, 24, 39, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--blue-2); border-color: var(--signal); }
  .btn--pale:hover { background: #fff; }
  .btn--ghost:hover { border-color: var(--mist); background: rgba(156, 196, 236, .08); }
  .btn:hover .arr { transform: translate(2px, -2px); }
}

.link { display: inline-flex; align-items: center; gap: .5rem; color: var(--mist); font-weight: 500; font-size: .9375rem; border-bottom: 1px solid transparent; padding-bottom: 2px; transition: color .18s ease, border-color .18s ease; }
.link .arr { transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .link:hover { color: #fff; border-color: var(--signal); }
  .link:hover .arr { transform: translate(2px, -2px); }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.site-header[data-scrolled="true"] {
  background: rgba(4, 24, 39, .86);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: clamp(20px, 2vw, 32px); }
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: 150px; height: auto; }
.nav-links { display: flex; flex: none; align-items: center; gap: clamp(16px, 1.5vw, 24px); margin-left: auto; }
.nav-links a { white-space: nowrap; font-size: .9375rem; color: var(--ink-2); padding: 8px 0; position: relative; transition: color .18s ease; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover { color: #fff; }
  .nav-links a:hover::after { transform: scaleX(1); }
}
.nav-cta { height: 44px; flex: none; }
.nav-toggle { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.nav-toggle .bars, .nav-toggle .bars::before { content: ""; position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff; transition: transform .25s var(--ease-out), top .25s var(--ease-out); }
.nav-toggle .bars { top: 20px; }
.nav-toggle .bars::before { top: 7px; left: 0; right: 0; }
.nav-toggle[aria-expanded="true"] .bars { top: 24px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(-90deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 40; background: var(--bg); padding: calc(var(--nav-h) + 24px) var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-family: var(--font-display); font-size: 2.1rem; line-height: 1; padding: 20px 0; border-bottom: 1px solid var(--line); letter-spacing: -.01em; }
.mobile-menu__cta { display: grid; gap: 12px; padding-top: 32px; }
.mobile-menu__cta .btn { height: 54px; }
body.menu-open { overflow: hidden; }
/* A mouse-operated compact header opens an anchored dropdown. Touch retains
   the existing full-height, scrollable menu and explicit tap controls. */
@media (max-width:1280px) and (hover:hover) and (pointer:fine) {
  .mobile-menu { inset:var(--nav-h) var(--gutter) auto auto; width:min(420px,calc(100% - 2 * var(--gutter))); max-height:calc(100dvh - var(--nav-h) - 16px); padding:16px 24px 24px; border:1px solid var(--line-2); border-top:0; justify-content:flex-start; }
  .mobile-menu:not([hidden]) { animation:navDropdownIn 180ms var(--ease-out) both; }
  .mobile-menu nav a { font-size:1.35rem; line-height:1.4; padding:12px 0; }
  .mobile-menu__cta { padding-top:20px; }
  @keyframes navDropdownIn { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:none; } }
}
@media (prefers-reduced-motion:reduce) { .mobile-menu:not([hidden]) { animation:none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: max(100svh, 760px);
  display: flex; align-items: flex-start;
  background:
    radial-gradient(62% 56% at 74% 86%, rgba(0, 66, 115, .62), transparent 70%),
    radial-gradient(40% 36% at 92% 14%, rgba(0, 66, 115, .28), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.hero::after { /* legibility wash behind the headline */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(4, 24, 39, .88) 30%, rgba(4, 24, 39, 0) 62%),
              linear-gradient(180deg, rgba(4, 24, 39, .75) 0%, rgba(4, 24, 39, 0) 24%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 78%);
  mask-image: linear-gradient(180deg, #000 0%, #000 52%, transparent 78%);
}
.ln { fill: var(--bld-fill, none); stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: miter; }
.pf { stroke: none; }
.pl { fill: none; stroke: currentColor; stroke-width: .7; opacity: .55; }
.dash { stroke-dasharray: 3 3; fill: none; }

.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: min(72%, 1500px); z-index: -2;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 38%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 38%, #000 100%); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 58%; }
.hero__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 24%; background: linear-gradient(180deg, transparent, var(--bg-deep)); }
.hero__inner { padding-top: calc(var(--nav-h) + clamp(48px, 11vh, 140px)); padding-bottom: clamp(150px, 25vh, 300px); }
.hero__kicker { display: flex; align-items: center; gap: 14px; font-size: .9375rem; color: var(--mist); margin-bottom: clamp(20px, 3vh, 32px); }
.hero__kicker::before { content: ""; width: 36px; height: 1px; background: var(--signal); flex: none; }
.hero__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(2.7rem, .5rem + 5.5vw, 5.5rem);
  line-height: 1.02; letter-spacing: -.024em;
  max-width: 7em;
}
.hero__title span { display: block; text-wrap: balance; }
.hero__lede { margin-top: clamp(24px, 3.4vh, 36px); max-width: 40ch; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.58; color: var(--ink-2); text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4.4vh, 44px); }

/* One orchestrated entrance: the skyline builds from the ground line while the headline resolves. */
.reveal-line { animation: lineIn .9s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }
@keyframes lineIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* Photo resolves out of the navy: opacity and a slow settle, transform only. */
.js .hero__media img { animation: heroIn 1.9s var(--ease-out) both; animation-delay: .1s; }
@keyframes heroIn { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }

/* ---------- Reference rates ---------- */
.rates { background: var(--bg-deep); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.rates[hidden] { display: none; }
.rates__inner { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); min-height: 60px; }
.rates__label { font-size: .8125rem; color: var(--ink-3); white-space: nowrap; }
.rates__list { display: flex; gap: clamp(20px, 3vw, 44px); flex: 1; overflow-x: auto; scrollbar-width: none; padding-block: 14px; }
.rates__list::-webkit-scrollbar { display: none; }
.rates__list li { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; font-size: .8125rem; }
.r-name { color: var(--ink-3); }
.r-val { color: #fff; font-weight: 500; }
.r-chg { color: var(--mist); font-size: .75rem; }
.rates__src { font-size: .75rem; color: var(--ink-3); text-align: right; white-space: nowrap; }
.rates__src a { border-bottom: 1px solid var(--line-2); transition: color .18s ease, border-color .18s ease; }
.rates__src a:hover { color: #fff; border-color: var(--signal); }
.rates__src span { display: block; }

/* ---------- Section scaffolding ---------- */
.sec { padding-block: var(--sec-pad); position: relative; }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.label { display: flex; align-items: center; gap: 20px; font-size: .875rem; font-weight: 500; color: var(--mist); }
.label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.split__aside { display: grid; gap: 28px; justify-items: start; }

/* ---------- Who we are ---------- */
.who__grid { max-width: 1040px; }
.statement { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.65rem, 1rem + 2vw, 2.7rem); line-height: 1.22; letter-spacing: -.014em; color: #fff; text-wrap: pretty; }
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(56px, 7vw, 104px); border-top: 1px solid var(--line-2); }
.how__item { padding: 28px clamp(0px, 2.4vw, 36px) 0 0; display: grid; gap: 14px; align-content: start; }
.how__item + .how__item { padding-left: clamp(0px, 2.4vw, 36px); border-left: 1px solid var(--line); }
.how__item h3 { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -.01em; }
.how__item p { color: var(--ink-2); max-width: 34ch; font-size: .9688rem; }

/* ---------- Expertise ---------- */
.expertise { background: linear-gradient(180deg, var(--bg) 0%, #051d30 100%); }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 88px); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.svc { position: relative; padding: 32px clamp(22px, 2.4vw, 36px) 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 14px; align-content: start; min-height: 292px; transition: background-color .25s ease; }
.svc::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.svc__tag { font-size: .75rem; color: var(--mist); }
.svc h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + .6vw, 1.75rem); line-height: 1.14; letter-spacing: -.01em; max-width: 20ch; text-wrap: balance; }
.svc p:not(.svc__tag) { color: var(--ink-2); font-size: .9375rem; max-width: 36ch; }
.svc .arr { position: absolute; right: 28px; bottom: 30px; color: var(--ink-3); transition: transform .25s var(--ease-out), color .2s ease; }
@media (hover: hover) and (pointer: fine) {
  .svc:hover { background: var(--bg-2); }
  .svc:hover::before { transform: scaleX(1); }
  .svc:hover .arr { transform: translate(3px, -3px); color: var(--mist); }
}

.assets { margin-top: clamp(80px, 10vw, 152px); display: grid; grid-template-columns: minmax(0, 3.2fr) minmax(0, 8.8fr); gap: clamp(28px, 5vw, 80px); }
.assets__intro { display: grid; gap: 14px; align-content: start; }
.assets__ui { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: clamp(20px, 3vw, 48px); }
.assets__tabs { display: flex; flex-direction: column; border-top: 1px solid var(--line-2); }
.assets__tabs [role="tab"] { text-align: left; font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + .5vw, 1.5rem); padding: 14px 0 14px 18px; border-bottom: 1px solid var(--line); color: var(--ink-3); position: relative; transition: color .2s ease, padding-left .3s var(--ease-out); }
.assets__tabs [role="tab"]::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px; background: var(--signal); transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease-out); }
.assets__tabs [role="tab"][aria-selected="true"] { color: #fff; padding-left: 24px; }
.assets__tabs [role="tab"][aria-selected="true"]::before { transform: scaleY(1); }
@media (hover: hover) and (pointer: fine) { .assets__tabs [role="tab"]:hover { color: #fff; } }
.assets__stage { min-width: 0; }

.plate { position: relative; background:
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 32px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 32px 100%,
  linear-gradient(180deg, #072238 0%, #05213a 100%);
  border: 1px solid var(--line-2); color: var(--mist); --bld-fill: #05213a; overflow: hidden; }
.plate::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--signal); opacity: .7; }
.plate svg { position: absolute; inset: 28px 20px 0; width: calc(100% - 40px); height: calc(100% - 28px); }
@keyframes draw { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
.assets__panels { padding-top: 6px; }
.assets__panels .panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); }
.assets__photo { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-2); border: 1px solid var(--line-2); }
.assets__photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--asset-focus, 50% 50%); }
.assets__copy { display: grid; gap: 18px; align-content: start; min-width: 0; }
.panel { display: grid; gap: 18px; align-content: start; }
.panel[hidden] { display: none; }
.panel h4 { font-family: var(--font-display); font-size: clamp(1.7rem, 1.2rem + 1vw, 2.2rem); letter-spacing: -.012em; }
.panel > p, .assets__copy > p { color: var(--ink-2); max-width: 40ch; }
.checks { display: grid; gap: 0; border-top: 1px solid var(--line); margin-block: 6px 10px; }
.checks li { padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: .9375rem; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 1px; background: var(--signal); }

/* ---------- Process ---------- */
.process { background: var(--bg-2); border-block: 1px solid var(--line); }
.process__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.process__sticky { position: sticky; top: calc(var(--nav-h) + 48px); display: grid; gap: 28px; }
.counter { display: flex; align-items: baseline; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.counter__num { font-family: var(--font-display); font-weight: 300; font-size: clamp(5rem, 3rem + 6vw, 8.5rem); line-height: .9; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; transition: opacity .18s ease; }
.counter__num.is-swap { opacity: 0; }
.counter__of { color: var(--ink-3); font-size: .875rem; }
.counter__rail { flex-basis: 100%; height: 1px; background: var(--line-2); position: relative; margin-top: 10px; }
.counter__rail i { position: absolute; left: 0; top: -1px; height: 3px; width: 25%; background: var(--signal); transition: width .45s var(--ease-out); }
.steps { display: grid; border-top: 1px solid var(--line-2); }
.step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding-block: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); transition: opacity .35s ease; }
.js .step { opacity: 1; }
.js .step.is-active { opacity: 1; }
.step__n { color: var(--mist); font-size: .875rem; padding-top: 10px; }
.step h3 { font-family: var(--font-display); font-size: clamp(1.7rem, 1.2rem + 1.2vw, 2.4rem); line-height: 1.12; letter-spacing: -.012em; margin-bottom: 14px; max-width: 18ch; }
.step > div > p { color: var(--ink-2); max-width: 46ch; }
.step__meta { display: grid; gap: 0; margin-top: 24px; border-top: 1px solid var(--line); }
.step__meta div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: .78rem; }
.step__meta dt { color: var(--ink-3); }
.step__meta dd { color: var(--ink-2); line-height: 1.5; }

/* ---------- Closings ---------- */
.tally { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(20px, 3vw, 44px); justify-content: start; padding-bottom: 6px; }
.tally dt { font-size: .75rem; color: var(--ink-3); margin-bottom: 6px; }
.tally dd { font-size: clamp(1.4rem, 1rem + 1vw, 1.9rem); color: #fff; font-weight: 400; }
.ledger-wrap { margin-top: clamp(40px, 5vw, 72px); }
.ledger { width: 100%; border-collapse: collapse; }
.ledger thead th { font: 500 .78rem/1 var(--font-sans); color: var(--ink-3); text-align: left; padding: 0 16px 16px 0; border-bottom: 1px solid var(--line-2); }
.ledger .num { text-align: right; }
.ledger thead .num { padding-right: 24px; }
.ledger tbody tr { transition: background-color .2s ease; }
.ledger th[scope="row"], .ledger td { padding: 26px 16px 26px 0; border-bottom: 1px solid var(--line); vertical-align: middle; text-align: left; font-weight: 400; color: var(--ink-2); }
.ledger td.num { padding-right: 24px; text-align: right; }
.ledger__name { display: block; font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + .6vw, 1.7rem); color: #fff; line-height: 1.1; letter-spacing: -.01em; }
.ledger__sub { display: block; font-size: .8125rem; color: var(--ink-3); margin-top: 6px; }
.ledger td.num span { display: block; color: #fff; font-size: 1.0625rem; }
.bar { display: block; height: 2px; margin: 10px 0 0 auto; width: 120px; background: var(--line); position: relative; }
.bar::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--w) * 100%); background: var(--signal); }
@media (hover: hover) and (pointer: fine) { .ledger tbody tr:hover { background: rgba(156, 196, 236, .045); } }

.voices { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); margin-top: clamp(72px, 9vw, 136px); align-items: start; }
.quote blockquote p { font-family: var(--font-display); font-style: italic; font-weight: 400; color: var(--cream); letter-spacing: -.008em; text-wrap: pretty; }
.quote figcaption { margin-top: 22px; font-size: .9375rem; color: var(--ink-2); display: grid; gap: 6px; }
.quote figcaption strong { color: #fff; font-weight: 500; }
.quote figcaption .mono { font-size: .75rem; color: var(--ink-3); }
.quote--lead { padding-top: 28px; border-top: 1px solid var(--line-2); }
.quote--lead blockquote p { font-size: clamp(1.55rem, 1rem + 1.7vw, 2.4rem); line-height: 1.26; }
.voices__side { display: grid; gap: 0; }
.voices__side .quote { padding-block: 28px 36px; border-top: 1px solid var(--line-2); }
.voices__side .quote + .quote { border-top-color: var(--line); }
.voices__side blockquote p { font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); line-height: 1.34; }

/* ---------- Mid-page CTA band (harbor loop, graded into the navy palette) ---------- */
.band { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: clamp(320px, 36vw, 480px); background: var(--bg-deep); border-block: 1px solid var(--line); }
.band__media { position: absolute; inset: 0; z-index: -1; }
.band__media img, .band__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.band__media video { opacity: 0; transition: opacity .9s ease; }
.band__media video.is-playing { opacity: 1; }
.band__media::before { /* brand-blue grade over the warm footage */ content: ""; position: absolute; inset: 0; z-index: 1; background: #0a3a66; mix-blend-mode: multiply; opacity: .55; }
.band__media::after { /* legibility scrim, strongest behind the copy */ content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(4, 24, 39, .94) 0%, rgba(4, 24, 39, .78) 42%, rgba(4, 24, 39, .3) 100%), linear-gradient(180deg, rgba(4, 24, 39, .55) 0%, rgba(4, 24, 39, 0) 30%, rgba(4, 24, 39, 0) 70%, rgba(4, 24, 39, .6) 100%); }
.band__inner { width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding-block: clamp(48px, 6vw, 88px); flex-wrap: wrap; }
.band__copy { display: grid; gap: 16px; max-width: 34rem; }
.band__text { font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 1.2rem + 2.8vw, 3.6rem); letter-spacing: -.02em; line-height: 1.06; text-wrap: balance; }
.band__sub { color: var(--ink-2); max-width: 42ch; font-size: clamp(1rem, .95rem + .25vw, 1.125rem); }
.band__cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (prefers-reduced-motion: reduce) { .band__media video { display: none; } }

/* ---------- Briefing ---------- */
.articles { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto; gap: clamp(20px, 2.4vw, 32px); margin-top: clamp(44px, 6vw, 80px); }
.card { border: 1px solid var(--line); background: var(--bg-2); transition: border-color .25s ease, background-color .25s ease; }
.card__link { display: grid; height: 100%; }
.card--lead { grid-row: span 2; }
.card__body { padding: clamp(22px, 2.4vw, 34px); display: grid; gap: 12px; align-content: start; }
.card__meta { font-size: .75rem; color: var(--mist); }
.card h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + .7vw, 1.8rem); line-height: 1.16; letter-spacing: -.01em; text-wrap: balance; }
.card--lead h3 { font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.5rem); max-width: 20ch; }
.card p:not(.card__meta) { color: var(--ink-2); font-size: .9375rem; max-width: 46ch; }
.card__more { display: inline-flex; align-items: center; gap: .5rem; margin-top: 8px; color: var(--mist); font-size: .9375rem; font-weight: 500; }
.card__more .arr { transition: transform .2s var(--ease-out); }
.card:not(.card--lead) .card__link { grid-template-columns: 148px minmax(0, 1fr); }
.card:not(.card--lead) .plate { min-height: 0; height: 100%; border: 0; border-right: 1px solid var(--line); }
.card:not(.card--lead) .plate svg { inset: 18px 10px 0; width: calc(100% - 20px); height: calc(100% - 18px); }
.card--lead .card__link { grid-template-rows: auto 1fr; }
.card--lead .plate { border: 0; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 10; }
.card:not(.card--lead) .plate { min-height: 150px; }
@media (hover: hover) and (pointer: fine) {
  .card:hover { border-color: var(--line-2); background: var(--bg-3); }
  .card:hover .card__more .arr { transform: translate(2px, -2px); }
}

/* ---------- Contact ---------- */
.contact { background: radial-gradient(60% 70% at 12% 0%, rgba(0, 66, 115, .38), transparent 70%), var(--bg); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6.4fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact__intro { display: grid; gap: 22px; align-content: start; }
.reach { display: grid; margin-top: 18px; border-top: 1px solid var(--line-2); }
.reach div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); align-items: baseline; }
.reach .geo { display: block; margin-top: 4px; font-size: .75rem; color: var(--ink-3); }
.reach dt { font-size: .8125rem; color: var(--ink-3); }
.reach dd, .reach a { font-size: 1.0625rem; color: #fff; }
.reach a { border-bottom: 1px solid var(--line-2); transition: border-color .18s ease; }
@media (hover: hover) and (pointer: fine) { .reach a:hover { border-color: var(--signal); } }

.form { background: var(--bg-2); border: 1px solid var(--line-2); padding: clamp(24px, 3.2vw, 44px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .8125rem; font-weight: 500; color: var(--ink-2); }
.field .opt { color: var(--ink-3); font-weight: 400; margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg); color: #fff; border: 1px solid var(--line-2); border-radius: 0;
  padding: 13px 14px; font: 400 1rem/1.4 var(--font-sans); min-height: 48px;
  transition: border-color .18s ease, background-color .18s ease;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--mist) 50%), linear-gradient(135deg, var(--mist) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 132px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal); }
.field [aria-invalid="true"] { border-color: #e3868f; }
.err { font-size: .8125rem; color: #f0a3aa; }
.err[hidden] { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form__status { font-size: .9375rem; color: var(--mist); max-width: 46ch; }
.form__status[data-state="error"] { color: #f0a3aa; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding-block: clamp(56px, 7vw, 96px) 36px; }
.footer__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3.5fr) minmax(0, 3.5fr); gap: 40px; padding-bottom: clamp(40px, 5vw, 72px); }
.footer__brand img { width: 150px; margin-bottom: 18px; }
.footer__brand p { color: var(--ink-3); max-width: 30ch; font-size: .9375rem; }
.footer__nav { display: grid; gap: 10px; align-content: start; font-size: .9375rem; color: var(--ink-2); }
.footer__nav a { width: fit-content; transition: color .18s ease; }
@media (hover: hover) and (pointer: fine) { .footer__nav a:hover { color: #fff; } }
.footer__h { font-size: .8125rem; color: var(--ink-3); margin-bottom: 6px; }
.footer__legal { border-top: 1px solid var(--line); padding-top: 28px; display: grid; gap: 12px; font-size: .78rem; color: var(--ink-3); line-height: 1.6; }
.footer__legal p:last-child { max-width: 86ch; }
.footer__legal a { color: var(--ink-2); border-bottom: 1px solid var(--line-2); transition: color .18s ease, border-color .18s ease; }
.footer__legal a:hover { color: #fff; border-color: var(--signal); }

/* ---------- Article pages ---------- */
.article-hero { padding-top: calc(var(--nav-h) + clamp(56px, 9vw, 120px)); padding-bottom: clamp(40px, 5vw, 72px); background: radial-gradient(54% 80% at 80% 0%, rgba(0, 66, 115, .42), transparent 70%), var(--bg); border-bottom: 1px solid var(--line); }
.crumb { display: inline-flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--mist); margin-bottom: 28px; }
.crumb:hover { color: #fff; }
.article-hero h1 { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.3rem, 1rem + 4.2vw, 4.4rem); line-height: 1.05; letter-spacing: -.022em; max-width: 20ch; text-wrap: balance; }
.article-meta { margin-top: 28px; display: flex; gap: 24px; flex-wrap: wrap; font-size: .8rem; color: var(--ink-3); }
.article-meta .mono:first-child { color: var(--mist); }
.article-body { padding-block: clamp(48px, 6vw, 96px) var(--sec-pad); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3.6fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.prose { max-width: 66ch; }
.prose > * + * { margin-top: 1.35em; }
.prose p { color: var(--ink-2); font-size: 1.0625rem; line-height: 1.75; }
.prose p.dek { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.8rem); line-height: 1.38; color: #fff; letter-spacing: -.01em; }
.prose h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.15rem); line-height: 1.15; letter-spacing: -.012em; margin-top: 2.1em; color: #fff; }
.prose h3 { font-family: var(--font-display); font-size: 1.35rem; margin-top: 1.8em; color: #fff; }
.prose ul, .prose ol { display: grid; gap: 0; border-top: 1px solid var(--line); }
.prose ul li, .prose ol li { padding: 14px 0 14px 26px; border-bottom: 1px solid var(--line); color: var(--ink-2); position: relative; line-height: 1.6; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 1.35em; width: 10px; height: 1px; background: var(--signal); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; padding-left: 40px; }
.prose ol li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 15px; font: 500 .75rem/1.9 var(--font-mono); color: var(--mist); }
.prose blockquote { border-left: 2px solid var(--signal); padding-left: 24px; font-family: var(--font-display); font-style: italic; font-size: 1.4rem; line-height: 1.4; color: var(--cream); }
.prose a { color: var(--mist); border-bottom: 1px solid var(--line-2); }
.prose a:hover { color: #fff; border-color: var(--signal); }
.prose .note { font-size: .875rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 18px; }
.aside { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 20px; border: 1px solid var(--line-2); background: var(--bg-2); padding: 28px; }
.aside h2 { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.15; letter-spacing: -.01em; }
.aside p { color: var(--ink-2); font-size: .9375rem; }
.aside .btn { width: 100%; }
.more { border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 88px); background: var(--bg-2); }
.more__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.more .card .card__link { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .assets { grid-template-columns: 1fr; }
  .assets__intro { grid-auto-flow: column; justify-content: space-between; align-items: end; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-body { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 920px) {
  :root { --nav-h: 64px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .brand img { width: 132px; }
  .split, .contact__grid, .voices, .process__grid { grid-template-columns: 1fr; }
  .split { align-items: start; }
  .process__sticky { position: static; }
  .counter { display: none; }
  .js .step { opacity: 1; }
  .assets__ui { grid-template-columns: 1fr; }
  .assets__tabs { flex-direction: row; overflow-x: auto; border-top: 0; border-bottom: 1px solid var(--line-2); scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .assets__tabs::-webkit-scrollbar { display: none; }
  .assets__tabs [role="tab"] { white-space: nowrap; padding: 12px 18px 14px 0; margin-right: 8px; border-bottom: 0; font-size: 1.25rem; }
  .assets__tabs [role="tab"]::before { left: 0; right: 0; top: auto; bottom: -1px; width: auto; height: 2px; transform: scaleX(0); transform-origin: left; }
  .assets__tabs [role="tab"][aria-selected="true"] { padding-left: 0; }
  .assets__tabs [role="tab"][aria-selected="true"]::before { transform: scaleX(1); }
  .assets__panels .panel { grid-template-columns: 1fr; }
  .assets__photo { aspect-ratio: 16 / 11; }
  .articles { grid-template-columns: 1fr; }
  .card--lead { grid-row: auto; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .more__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .how { grid-template-columns: 1fr; border-top: 0; }
  .how__item, .how__item + .how__item { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line-2); }
  .how__item p { max-width: none; }
  .services { grid-template-columns: 1fr; }
  .svc { min-height: 0; padding-bottom: 56px; }
  .rates__inner { flex-wrap: wrap; gap: 0 20px; padding-top: 12px; }
  .rates__label { width: 100%; }
  .rates__list { padding-block: 10px 6px; }
  .rates__src { width: 100%; text-align: left; padding-bottom: 12px; white-space: normal; }
  .rates__src span { display: inline; margin-left: 10px; }
  .tally { grid-template-columns: repeat(3, auto); gap: 22px; }
  /* Ledger collapses to stacked records */
  .ledger thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ledger, .ledger tbody, .ledger tr, .ledger th, .ledger td { display: block; }
  .ledger tr { padding: 24px 0; border-bottom: 1px solid var(--line); }
  .ledger th[scope="row"], .ledger td { padding: 0; border: 0; }
  .ledger th[scope="row"] { margin-bottom: 14px; }
  .ledger td { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding-block: 7px; font-size: .9375rem; }
  .ledger td::before { content: attr(data-label); color: var(--ink-3); font-size: .78rem; padding-top: 3px; }
  .ledger td.num { text-align: left; padding-right: 0; }
  .ledger td.num span, .ledger td.num { font-size: 1rem; }
  .bar { margin-left: 0; }
  .form { grid-template-columns: 1fr; padding: 22px 18px 26px; }
  .card:not(.card--lead) .card__link { grid-template-columns: 1fr; }
  .card:not(.card--lead) .plate { height: 150px; border-right: 0; border-bottom: 1px solid var(--line); }
  .more .card:not(.card--lead) .card__link { grid-template-columns: 1fr; }
  .step { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .step__meta div { grid-template-columns: 96px minmax(0, 1fr); }
  .band__inner { align-items: flex-start; }
  .footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hero__media { top: auto; width: 100%; height: 58%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 46%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0, #000 46%, #000 100%); }
  .hero__media img { object-position: 50% 72%; }
  .hero::after { background: linear-gradient(180deg, rgba(4, 24, 39, .6) 0%, rgba(4, 24, 39, 0) 22%); -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 560px) {
  .assets__intro { grid-auto-flow: row; justify-content: start; align-items: start; }
}
@media (max-width: 480px) {
  .hero { min-height: 100svh; }
  .hero__inner { padding-top: calc(var(--nav-h) + 20px); padding-bottom: 250px; }
  .hero__kicker .long { display: none; }
  .hero__lede { font-size: 1rem; line-height: 1.55; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn { flex: 1 1 100%; height: 50px; }
}

/* ---------- Motion preferences & no-JS ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-line { animation: none; }
  .js .hero__media img { animation: none; }
}
.no-js .step { opacity: 1; }
.no-js .assets__tabs { display: none; }
.no-js .assets__ui { grid-template-columns: 1fr; }
.no-js .panel[hidden] { display: grid; }
.no-js .assets__panels .panel { grid-template-columns: 1fr; }
.no-js .assets__panels { display: grid; gap: 40px; }

/* Inquiry and privacy controls: explicit states remain visible. */
.form-note {font-size:.875rem; color:var(--ink-2); line-height:1.6;}
.form-note a,.consent-label a {text-decoration:underline;text-underline-offset:3px;}
.consent-label {display:flex; align-items:flex-start; gap:12px; line-height:1.6;}
.field .consent-label input {appearance:auto; width:20px; height:20px; min-width:20px; padding:0; margin-top:3px; accent-color:var(--signal);}
button:disabled {opacity:.58;cursor:not-allowed;}
.privacy-controls {padding-top:24px;padding-bottom:32px;border-top:1px solid var(--line);}
.privacy-controls>button {font-size:.875rem;text-decoration:underline;text-underline-offset:4px;}
.privacy-controls [data-analytics-options] {max-width:650px;padding-top:20px;}
.privacy-controls [data-analytics-options] p {margin-bottom:14px;font-size:.875rem;}
.privacy-controls [data-analytics-status] {margin-top:10px;}
.capital-principles {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;margin:48px 0;}
.capital-principles h3 {font-family:var(--font-display);font-size:1.8rem;margin-bottom:14px;}
.capital-principles p {color:var(--ink-2);}
.closings .lede {margin-top:28px;max-width:65ch;}
.inquiry-wrap {max-width:1050px;}
.footer__legal p {font-size:1rem;}
@media(max-width:700px){.capital-principles{grid-template-columns:1fr;gap:28px;}.privacy-controls .btn{margin-bottom:12px;}}

/* Controls remain distinguishable at rest, not only on focus. */
.field input, .field select, .field textarea {border-color:#647c93;}
.js .step {opacity:1;}

/* Seven-link navigation uses the accessible menu before labels crowd the logo and CTA. */
@media(max-width:1280px){.nav-links,.nav-cta{display:none}.nav-toggle{display:block;margin-left:auto}}

/* Full-card links retain one descriptive keyboard target per service. */
.svc__link::after{content:"";position:absolute;inset:0;z-index:1}.svc:focus-within{outline:2px solid var(--mist);outline-offset:-3px;background:var(--bg-2)}

/* Light editorial interludes, requested to balance the navy identity. */
.section--light {
  --bg:#f6f4ee; --bg-2:#fff; --bg-3:#eceeea; --bg-deep:#e8ecec;
  --ink:#102b3e; --ink-2:#405665; --ink-3:#536675; --tone-2:#536d7f;
  --mist:#21587e; --line:rgba(16,43,62,.16); --line-2:rgba(16,43,62,.25);
  color:var(--ink);background:var(--bg);color-scheme:light;
}
.section--light .btn--pale{background:#10354f;color:#fff;border-color:#10354f}
.section--light .btn--ghost{color:var(--ink);border-color:var(--line-2)}
.section--light .card__title,.section--light .card__link{color:var(--ink)}
.section--light .quote{color:var(--ink)}

.section--light .statement{color:var(--ink)}
