/* =====================================================================
   Loan Arrangers, loanarrangers.ae
   One shared stylesheet. No build step. Edit and re-upload.
   ===================================================================== */

/* ---------- Brand tokens ---------- */
:root {
  --ink:        #050b12;   /* page ground */
  --ink-2:      #0a141d;   /* panels on ink */
  --ink-3:      #101d29;   /* raised panels on ink */
  --ink-line:   rgba(255, 255, 255, .09);
  --ink-glass:  rgba(10, 20, 29, .66);

  --green:      #00CE9F;   /* the mark's green */
  --green-hot:  #00F48E;   /* bright green, accents only */
  --blue:       #006BBC;   /* the mark's blue */
  --teal:       #139082;   /* brand teal (wordmark) */
  --teal-bright:#0FB5A3;   /* teal on ink */
  --teal-deep:  #0B6C62;   /* teal for text on white (AA) */

  --white:      #ffffff;
  --surface:    #f4f7f9;   /* light section ground */
  --surface-2:  #e9eff3;
  --line:       #dde5eb;
  --text:       #10202c;   /* body on light */
  --muted:      #5b6c7c;   /* secondary on light (AA) */
  --on-ink:     #eef3f7;   /* body on ink */
  --on-ink-muted: #a4b2bf; /* secondary on ink (AA) */

  --grad:        linear-gradient(120deg, var(--green) 0%, var(--teal-bright) 45%, var(--blue) 100%);
  --grad-btn:    linear-gradient(120deg, var(--green) 0%, var(--blue) 140%);
  --grad-btn-hi: linear-gradient(120deg, var(--green-hot) 0%, var(--teal-bright) 140%);

  --font-display: "Manrope", "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-script:  "Caveat", "Segoe Script", "Bradley Hand", cursive;

  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --container: 1180px;
  --gutter: clamp(16px, 5vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --shadow: 0 10px 30px rgba(5, 11, 18, .08);
  --shadow-lg: 0 30px 70px rgba(5, 11, 18, .22);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 .5em;
  color: inherit;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.75rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; }
h4 { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--green); color: var(--ink); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -70px;
  background: var(--green); color: var(--ink); font-weight: 700;
  padding: 10px 14px; border-radius: 8px; z-index: 200;
}
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section-light { background: var(--surface); }
.section-ink { background: var(--ink); color: var(--on-ink); }
.section-ink a { color: var(--teal-bright); }
.section-ink a:hover { color: var(--green); }
.center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1.5rem; } .mt-3 { margin-top: 3rem; }

/* ---------- Grain overlay (very subtle) ---------- */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  opacity: .055; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.9'/></svg>");
}
.grain > * { position: relative; z-index: 1; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }
.section-ink .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta .eyebrow { color: var(--green); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .lead { margin-inline: auto; }
.section-head .lead { margin-bottom: 0; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); line-height: 1.65; max-width: 62ch; }
.section-ink .lead, .hero .lead, .page-hero .lead { color: var(--on-ink-muted); }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%;
}
.rule { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px; font-weight: 700; text-decoration: none;
  font-family: var(--font-display); font-size: .97rem; line-height: 1.2; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, border-color .25s, color .25s;
  will-change: transform;
}
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--grad-btn); color: var(--ink); box-shadow: 0 10px 28px rgba(0, 206, 159, .28); }
.btn-primary:hover { color: var(--ink); background: var(--grad-btn-hi); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0, 206, 159, .38); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; opacity: .92; }
.btn-ghost:hover { opacity: 1; transform: translateY(-2px); background: rgba(127, 127, 127, .08); color: inherit; }
.section-light .btn-ghost, .section:not(.section-ink) .btn-ghost { color: var(--text); border-color: var(--line); background: var(--white); }
.section-light .btn-ghost:hover, .section:not(.section-ink) .btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); background: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 11, 18, .72);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--ink-line);
  color: var(--on-ink);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: rgba(5, 11, 18, .86); box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 42px; height: 42px; filter: drop-shadow(0 0 10px rgba(0, 206, 159, .35)); }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; line-height: 1; }
.brand-word span { color: var(--teal-bright); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--on-ink-muted); text-decoration: none; font-weight: 600; font-size: .93rem;
  padding: 9px 13px; border-radius: 999px; transition: color .2s, background-color .2s; position: relative;
}
.nav a:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad);
}
.btn-panel {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  color: var(--white) !important; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16);
  padding: 8px 14px 8px 11px; border-radius: 999px; font-weight: 700; font-size: .86rem; font-family: var(--font-display);
  transition: border-color .2s, background-color .2s, transform .3s var(--ease);
}
.btn-panel svg { width: 15px; height: 15px; color: var(--green); }
.btn-panel:hover { border-color: var(--green); background: rgba(0, 206, 159, .1); transform: translateY(-1px); }
.nav .btn-panel { display: none; margin-left: 4px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05); color: var(--white); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-panel { display: none; }
  .nav .btn-panel { display: inline-flex; align-self: flex-start; margin: 10px 0 0; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px var(--gutter) 22px;
    background: rgba(5, 11, 18, .96);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--ink-line);
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .nav a { font-size: 1.1rem; padding: 12px 10px; border-radius: 10px; }
  .nav a[aria-current="page"]::after { left: 10px; right: auto; width: 26px; bottom: 6px; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink);
  padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px);
  isolation: isolate;
}
.aurora { position: absolute; inset: -20%; z-index: 0; pointer-events: none; filter: blur(70px); opacity: .85; }
.aurora i {
  position: absolute; border-radius: 50%; display: block;
  animation: drift 26s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { width: 52vw; height: 52vw; max-width: 760px; max-height: 760px; left: 42%; top: -10%; background: radial-gradient(circle at 30% 30%, rgba(0, 206, 159, .55), transparent 60%); }
.aurora i:nth-child(2) { width: 48vw; height: 48vw; max-width: 700px; max-height: 700px; left: 60%; top: 30%; background: radial-gradient(circle at 50% 50%, rgba(0, 107, 188, .6), transparent 62%); animation-duration: 32s; animation-delay: -8s; }
.aurora i:nth-child(3) { width: 40vw; height: 40vw; max-width: 560px; max-height: 560px; left: -8%; top: 45%; background: radial-gradient(circle at 50% 50%, rgba(19, 144, 130, .45), transparent 62%); animation-duration: 38s; animation-delay: -15s; }
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-6%, 5%, 0) scale(1.08); }
  100% { transform: translate3d(5%, -4%, 0) scale(.96); }
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); max-width: 56ch; }
.hero .btn-row { margin-top: 28px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding: 0; list-style: none; }
.hero-meta li {
  display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 500; color: var(--on-ink-muted);
  padding: 7px 13px; border-radius: 999px; border: 1px solid var(--ink-line); background: rgba(255, 255, 255, .03);
}
.hero-meta li i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 360px; }
.hero-ring {
  position: absolute; width: min(74%, 400px); aspect-ratio: 1; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(0, 206, 159, 0), rgba(0, 206, 159, .5), rgba(0, 107, 188, .6), rgba(0, 206, 159, 0));
  -webkit-mask: radial-gradient(circle, transparent 66%, #000 67%, #000 70%, transparent 71%);
  mask: radial-gradient(circle, transparent 66%, #000 67%, #000 70%, transparent 71%);
  animation: spin 24s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-visual img.mark { width: min(56%, 300px); height: auto; filter: drop-shadow(0 30px 60px rgba(0, 107, 188, .35)) drop-shadow(0 0 40px rgba(0, 206, 159, .25)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 14px; border-radius: 14px; font-size: .84rem; font-weight: 600; color: var(--white);
  background: var(--ink-glass); border: 1px solid rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
  animation: float 8s ease-in-out infinite;
}
.hero-chip b { display: block; font-family: var(--font-display); font-size: .95rem; font-weight: 800; letter-spacing: -.01em; }
.hero-chip small { display: block; color: var(--on-ink-muted); font-weight: 500; font-size: .76rem; }
.hero-chip svg { width: 20px; height: 20px; color: var(--green); flex: 0 0 auto; }
.hero-chip.c1 { left: 0; top: 10%; animation-delay: -2s; }
.hero-chip.c2 { right: 0; top: 46%; animation-delay: -4s; }
.hero-chip.c3 { left: 8%; bottom: 6%; animation-delay: -6s; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 300px; margin-top: 8px; }
  .hero-chip { position: static; animation: none; padding: 8px 12px; }
  .hero-chip b { font-size: .88rem; }
  .hero-chip small { font-size: .72rem; }
  .hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; width: 100%; }
  .hero-visual img.mark { width: min(50%, 220px); }
  .hero-ring { width: min(64%, 300px); }
}
@media (min-width: 961px) { .hero-chips { display: contents; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink); color: var(--on-ink);
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px);
}
.page-hero .aurora { opacity: .6; }
.page-hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); max-width: 18ch; margin-bottom: 16px; }
.page-hero .lead { margin: 0; }
.page-hero .container { position: relative; z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .84rem; color: var(--on-ink-muted); }
.crumbs a { color: var(--on-ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs [aria-current] { color: var(--white); }

/* ---------- Stats band ---------- */
.stats { background: var(--ink); color: var(--on-ink); padding: 0 0 var(--section); position: relative; }
.stats-panel {
  border: 1px solid var(--ink-line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  padding: clamp(24px, 3.5vw, 44px); display: grid; grid-template-columns: 1fr; gap: clamp(20px, 3vw, 36px);
}
.stats-head p { margin: 0; color: var(--on-ink-muted); }
.stats-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.stat-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-grid li { padding: 20px 22px; border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid var(--ink-line); }
.stat-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.9rem); letter-spacing: -.04em; line-height: 1; color: var(--white); font-variant-numeric: tabular-nums; }
.stat-num small { font-size: .42em; font-weight: 700; margin-right: 4px; vertical-align: .55em; color: var(--green); letter-spacing: 0; }
.stat-label { display: block; margin-top: 8px; font-size: .9rem; color: var(--on-ink-muted); }
.stats-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; color: var(--on-ink-muted); font-size: .9rem; }
.stats-foot p { margin: 0; }
.rating { display: inline-flex; align-items: center; gap: 8px; }
.rating svg { width: 18px; height: 18px; color: #ffc53d; }
.rating strong { color: var(--white); }
@media (max-width: 900px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .stat-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .stat-grid li { padding: 16px; } }

/* ---------- Cards / bento ---------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px); display: flex; flex-direction: column; gap: 4px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 206, 159, .12), transparent 45%);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(19, 144, 130, .35); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card p { color: var(--muted); font-size: .97rem; }
.card p:last-child { margin-bottom: 0; }
.card h3 { margin-top: 14px; }
.icon-tile {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(0, 206, 159, .16), rgba(0, 107, 188, .16)); color: var(--teal-deep);
  border: 1px solid rgba(19, 144, 130, .18);
}
.icon-tile svg { width: 24px; height: 24px; }
.card-link { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--teal-deep); font-family: var(--font-display); font-size: .93rem; }
.card-link .arrow { transition: transform .3s var(--ease); }
.card-link:hover .arrow { transform: translateX(4px); }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.bento > .card { grid-column: span 6; }
.bento > .card.wide { grid-column: span 7; }
.bento > .card.narrow { grid-column: span 5; }
.bento .card.feature { background: var(--ink); color: var(--on-ink); border-color: var(--ink-3); }
.bento .card.feature p { color: var(--on-ink-muted); }
.bento .card.feature .icon-tile { background: rgba(0, 206, 159, .12); color: var(--green); border-color: rgba(0, 206, 159, .25); }
.bento .card.feature .card-link { color: var(--green); }
.bento .card.feature::before { background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 206, 159, .18), transparent 45%); }
.bento .card.feature::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 107, 188, .5), transparent 65%); filter: blur(20px); pointer-events: none;
}
.bento .tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.bento .tags li { font-size: .8rem; font-weight: 600; padding: 6px 11px; border-radius: 999px; background: rgba(0, 206, 159, .12); color: var(--green); border: 1px solid rgba(0, 206, 159, .22); }
@media (max-width: 960px) { .bento > .card, .bento > .card.wide, .bento > .card.narrow { grid-column: span 6; } }
@media (max-width: 620px) { .bento > .card, .bento > .card.wide, .bento > .card.narrow { grid-column: span 12; } }

/* ---------- Estimator ---------- */
.estimator { background: var(--ink); color: var(--on-ink); }
.est-panel {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--ink-line); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .02));
  box-shadow: 0 40px 100px rgba(0, 0, 0, .35);
}
.est-form { padding: clamp(22px, 3vw, 38px); display: grid; gap: 22px; }
.est-field label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 600; font-size: .92rem; margin-bottom: 8px; }
.est-field label output, .est-field label .val { font-family: var(--font-display); font-weight: 800; color: var(--white); font-variant-numeric: tabular-nums; }
.est-field .hint { display: block; margin-top: 6px; font-size: .8rem; color: var(--on-ink-muted); }
.est-field input[type="number"], .est-field input[type="text"] {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06); color: var(--white); font-weight: 600; font-size: 1.05rem;
  font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield;
}
.est-field input[type="number"]::-webkit-outer-spin-button, .est-field input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.est-field input[type="number"]:focus, .est-field input[type="text"]:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(0, 206, 159, .25); }
.est-field input[type="range"] { width: 100%; margin: 10px 0 0; accent-color: var(--green); cursor: pointer; }
.est-inline { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.est-out {
  padding: clamp(22px, 3vw, 38px); background: radial-gradient(120% 120% at 100% 0%, rgba(0, 107, 188, .35), transparent 55%), radial-gradient(100% 100% at 0% 100%, rgba(0, 206, 159, .22), transparent 55%), var(--ink-2);
  border-left: 1px solid var(--ink-line); display: flex; flex-direction: column; justify-content: center; gap: 8px;
}
.est-out .k { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--on-ink-muted); margin: 0; }
.est-out .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 4.4vw, 3.6rem); letter-spacing: -.04em; line-height: 1; margin: 6px 0 22px; color: var(--white); font-variant-numeric: tabular-nums; }
.est-out .big small { font-size: .4em; font-weight: 700; color: var(--green); margin-right: 6px; vertical-align: .5em; letter-spacing: 0; }
.est-out .mid { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -.02em; margin: 4px 0 18px; color: var(--white); font-variant-numeric: tabular-nums; }
.est-out .mid small { font-size: .6em; color: var(--green); margin-right: 5px; }
.est-out .note { font-size: .84rem; color: var(--on-ink-muted); margin: 0; padding-top: 16px; border-top: 1px solid var(--ink-line); }
.est-out .btn { align-self: flex-start; margin-top: 18px; }
@media (max-width: 860px) { .est-panel { grid-template-columns: 1fr; } .est-out { border-left: 0; border-top: 1px solid var(--ink-line); } }
@media (max-width: 480px) { .est-inline { grid-template-columns: 1fr; } }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare-col { border-radius: var(--radius); padding: clamp(22px, 2.8vw, 34px); }
.compare-col h3 { margin-bottom: 16px; font-size: 1.35rem; }
.compare-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.compare-col li { position: relative; padding-left: 30px; font-size: .97rem; }
.compare-col li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; }
.compare-col.plain { background: var(--white); border: 1px solid var(--line); color: var(--muted); }
.compare-col.plain li::before { background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line); }
.compare-col.plain li::after { content: ""; position: absolute; left: 6px; top: calc(.35em + 8px); width: 6px; height: 2px; background: var(--muted); border-radius: 2px; }
.compare-col.us { background: var(--ink); color: var(--on-ink); border: 1px solid var(--ink-3); position: relative; overflow: hidden; }
.compare-col.us::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 206, 159, .35), transparent 65%); filter: blur(24px); pointer-events: none; }
.compare-col.us > * { position: relative; z-index: 1; }
.compare-col.us h3 span { color: var(--green); }
.compare-col.us li::before { background: var(--grad); }
.compare-col.us li::after { content: ""; position: absolute; left: 5px; top: calc(.35em + 4px); width: 8px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Lender marquee ---------- */
.lender-marquee { margin-top: clamp(24px, 3vw, 36px); display: grid; gap: 14px; position: relative; }
.lm-row {
  overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.lm-track { display: flex; gap: 14px; list-style: none; margin: 0; padding: 4px 0; width: max-content; }
.lm-track li {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  padding: 12px 20px 12px 14px; min-height: 70px; border-radius: 16px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--ink-line); color: var(--on-ink);
  font-weight: 600; font-size: .95rem; transition: border-color .25s, background-color .25s;
}
.lm-track li:hover { border-color: rgba(0, 206, 159, .5); background: rgba(0, 206, 159, .06); }
.lm-track img { width: 44px; height: 44px; object-fit: contain; flex: 0 0 auto; border-radius: 10px; background: var(--white); padding: 4px; }
.lm-row.is-looping > .lm-track { animation: lm-slide 64s linear infinite; will-change: transform; }
.lender-marquee:hover .lm-row.is-looping > .lm-track,
.lender-marquee:focus-within .lm-row.is-looping > .lm-track { animation-play-state: paused; }
@keyframes lm-slide { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (max-width: 640px) {
  .lm-track li { font-size: .875rem; padding: 10px 16px 10px 12px; min-height: 60px; gap: 10px; }
  .lm-track img { width: 38px; height: 38px; }
  .lm-row.is-looping > .lm-track { animation-duration: 46s; }
}
.lender-note { font-size: .82rem; color: var(--on-ink-muted); max-width: 70ch; margin: 24px auto 0; }
.section:not(.section-ink) .lender-note { color: var(--muted); }

/* lender tiles on Mortgages page (static grid) */
.lender-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.lender-grid li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; }
.lender-grid img { width: 34px; height: 34px; object-fit: contain; }
@media (max-width: 900px) { .lender-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.steps li { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px; counter-increment: step; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.steps li::before {
  content: "0" counter(step); font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; letter-spacing: -.04em; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 14px;
}
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); font-size: .95rem; }
.step-sla { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: .88rem; color: var(--text); display: grid; gap: 2px; }
.step-sla span { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.team-grid.home { grid-template-columns: repeat(6, 1fr); gap: 14px; }
.team-grid.featured { grid-template-columns: repeat(12, 1fr); }
.team-grid.featured .person { grid-column: span 4; }
.team-grid.featured .person.lead-card { grid-column: span 6; grid-row: span 1; }
.person { position: relative; border-radius: var(--radius); overflow: hidden; background: #070b10; border: 1px solid var(--ink-3); isolation: isolate; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; text-decoration: none; color: var(--on-ink); display: block; }
.person::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(70% 55% at 50% 30%, rgba(0, 206, 159, .28), transparent 70%), radial-gradient(60% 40% at 50% 100%, rgba(0, 107, 188, .35), transparent 70%);
  opacity: .55; transition: opacity .45s;
}
.person:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 206, 159, .35), 0 0 50px rgba(0, 206, 159, .18); border-color: rgba(0, 206, 159, .4); }
.person:hover::before { opacity: 1; }
.person figure { margin: 0; position: relative; z-index: 1; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.person:hover img { transform: scale(1.03); }
.person figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 18px 18px;
  background: linear-gradient(180deg, rgba(7, 11, 16, 0) 0%, rgba(7, 11, 16, .78) 55%, rgba(7, 11, 16, .96) 100%);
}
.person .name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; margin: 0; color: var(--white); }
.person .title { margin: 3px 0 0; font-size: .82rem; font-weight: 600; color: var(--green); }
.person .line { margin: 10px 0 0; font-size: .86rem; color: var(--on-ink-muted); line-height: 1.5; }
.person.lead-card .name { font-size: 1.5rem; }
.person.lead-card .title { font-size: .9rem; }
.person.lead-card .line { font-size: .95rem; }
.person.lead-card figcaption { padding: 90px 26px 26px; }
.team-grid.home .person figcaption { padding: 46px 12px 12px; }
.team-grid.home .person .name { font-size: .95rem; }
.team-grid.home .person .title { font-size: .72rem; }
.person .badge { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(5, 11, 18, .6); border: 1px solid rgba(0, 206, 159, .45); color: var(--green); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (max-width: 960px) {
  .team-grid, .team-grid.home { grid-template-columns: repeat(3, 1fr); }
  .team-grid.featured { grid-template-columns: repeat(2, 1fr); }
  .team-grid.featured .person, .team-grid.featured .person.lead-card { grid-column: span 1; }
  .team-grid.featured .person.lead-card { grid-column: span 2; }
  .team-grid.home .person figcaption { padding: 46px 14px 14px; }
}
@media (max-width: 620px) {
  .team-grid, .team-grid.home { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .team-grid.featured { grid-template-columns: 1fr 1fr; }
  .team-grid.featured .person.lead-card { grid-column: span 2; }
  .person .name { font-size: 1rem; }
  .person .line { font-size: .8rem; }
  .person figcaption { padding: 50px 14px 14px; }
}
.team-cta { display: flex; justify-content: center; margin-top: 28px; }

/* Team page: wide Team Leader card + five-up roster */
.lead-card-wide { display: grid; grid-template-columns: 420px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: 18px; padding: clamp(18px, 2.5vw, 28px); border-radius: var(--radius); border: 1px solid var(--ink-3); background: linear-gradient(135deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)); position: relative; overflow: hidden; }
.lead-card-wide::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 107, 188, .35), transparent 65%); filter: blur(30px); pointer-events: none; }
.lead-card-wide > * { position: relative; z-index: 1; }
.lead-photo { pointer-events: none; }
.badge-inline { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(0, 206, 159, .45); color: var(--green); background: rgba(0, 206, 159, .08); margin-bottom: 16px; }
.lead-name { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 6px; color: var(--white); }
.lead-title { color: var(--green); font-weight: 700; margin-bottom: 14px; }
.lead-line { color: var(--on-ink-muted); font-size: 1.08rem; max-width: 52ch; }
.lead-contact { list-style: none; padding: 0; margin: 20px 0 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.lead-contact a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--ink-line); background: rgba(255, 255, 255, .04); color: var(--on-ink); text-decoration: none; font-weight: 600; font-size: .9rem; transition: border-color .2s, color .2s; }
.lead-contact a:hover { border-color: var(--green); color: var(--green); }
.lead-contact svg { width: 16px; height: 16px; color: var(--green); }
.section-ink .lead-card-wide .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .3); background: transparent; }
.section-ink .lead-card-wide .btn-ghost:hover { border-color: var(--green); color: var(--green); }
.team-grid.roster { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.team-grid.roster .person figcaption { position: static; padding: 0 16px 18px; margin-top: -34px; background: linear-gradient(180deg, rgba(7, 11, 16, 0) 0%, rgba(7, 11, 16, .9) 34px, #070b10 34px); }
.team-grid.roster .person .name { font-size: 1.05rem; padding-top: 6px; }
.team-grid.roster .person .line { font-size: .82rem; }
@media (max-width: 1100px) { .team-grid.roster { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .lead-card-wide { grid-template-columns: 1fr; } .lead-photo { max-width: 380px; } }
@media (max-width: 620px) { .team-grid.roster { grid-template-columns: repeat(2, 1fr); gap: 12px; } }

/* ---------- Split (about) ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split .sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.prose p { font-size: 1.05rem; color: var(--text); line-height: 1.7; }
.prose p:last-child { margin-bottom: 0; }
.section-light .prose p { color: var(--text); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split .sticky { position: static; } }
.creditlink-chip { display: inline-block; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin-top: 18px; }
.creditlink-chip img { width: 126px; height: auto; }

/* ---------- Letter (about) ---------- */
.letter { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.letter-photo { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.letter-photo .person { pointer-events: none; }
.letter-photo figcaption.cap { margin-top: 12px; font-size: .84rem; color: var(--muted); text-align: center; }
.letter-body { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 52px); }
.quote-mark { position: absolute; top: 8px; left: 22px; font-family: var(--font-display); font-size: 7rem; line-height: 1; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .35; pointer-events: none; }
.letter-body p { font-size: 1.05rem; line-height: 1.75; color: var(--text); }
.letter-body p.opening { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; line-height: 1.4; margin-top: 12px; }
.signature { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.sig { font-family: var(--font-script); font-size: 2.4rem; color: var(--teal-deep); line-height: 1; display: block; margin-bottom: 8px; }
.who { margin: 0; font-size: .92rem; color: var(--muted); }
.who strong { display: block; color: var(--text); }
@media (max-width: 860px) { .letter { grid-template-columns: 1fr; } .letter-photo { position: static; max-width: 340px; } }

/* ---------- Callout / checks / SLA ---------- */
.callout { background: var(--ink); color: var(--on-ink); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); position: relative; overflow: hidden; border: 1px solid var(--ink-3); }
.callout::after { content: ""; position: absolute; right: -100px; top: -100px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 107, 188, .45), transparent 65%); filter: blur(30px); pointer-events: none; }
.callout > * { position: relative; z-index: 1; }
.callout p { color: var(--on-ink-muted); }
.callout p:last-child { margin-bottom: 0; }
.callout h3 { color: var(--white); font-size: 1.4rem; }
.sla-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.sla-list li { background: rgba(255, 255, 255, .05); border: 1px solid var(--ink-line); border-radius: 14px; padding: 16px; display: grid; gap: 4px; }
.sla-list .t { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sla-list .d { font-size: .86rem; color: var(--on-ink-muted); }
@media (max-width: 760px) { .sla-list { grid-template-columns: 1fr 1fr; } }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 16px 18px 16px 50px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; font-size: .97rem; }
.checks li::before { content: ""; position: absolute; left: 16px; top: 17px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); }
.checks li::after { content: ""; position: absolute; left: 23px; top: 23px; width: 8px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.need { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line); }
.need h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 10px; }
.need ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 6px; }
.need li { position: relative; padding-left: 20px; font-size: .92rem; color: var(--text); }
.need li::before { content: ""; position: absolute; left: 0; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: var(--grad); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: rgba(19, 144, 130, .4); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 auto; width: 10px; height: 10px; border-right: 2px solid var(--teal-deep); border-bottom: 2px solid var(--teal-deep); transform: rotate(45deg); transition: transform .3s var(--ease); margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .a { padding: 0 0 20px; color: var(--muted); }
.faq .a p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.contact-list > li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.contact-list .k { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); margin: 0 0 4px; }
.contact-list .v { margin: 0; font-weight: 600; font-size: 1.02rem; }
.contact-list .v a { text-decoration: none; color: var(--text); }
.contact-list .v a:hover { color: var(--teal-deep); }
.contact-list .sub { margin: 4px 0 0; font-size: .88rem; color: var(--muted); }
.contact-list .grp { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.hours { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; font-size: .95rem; }
.hours li span:last-child { font-weight: 600; }
.map-box { border-radius: var(--radius); border: 1px solid var(--ink-3); background: var(--ink); color: var(--on-ink); padding: 28px; position: relative; overflow: hidden; min-height: 220px; display: grid; align-items: center; }
.map-box::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 32px 32px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%); }
.map-box > div { position: relative; z-index: 1; display: grid; gap: 12px; justify-items: start; }
.map-box .pin { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: var(--ink); box-shadow: 0 0 0 10px rgba(0, 206, 159, .12), 0 0 40px rgba(0, 206, 159, .35); }
.map-box .pin svg { width: 24px; height: 24px; }
.map-box p { margin: 0; color: var(--on-ink-muted); }
.map-box p strong { display: block; color: var(--white); font-family: var(--font-display); font-size: 1.05rem; }
.map-box .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .3); background: transparent; }
.map-box .btn-ghost:hover { border-color: var(--green); color: var(--green); background: transparent; }
.form { display: grid; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.form-note { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: rgba(19, 144, 130, .08); border: 1px solid rgba(19, 144, 130, .25); border-radius: 12px; font-size: .9rem; color: var(--text); }
.form-note svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--teal-deep); margin-top: 2px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 3px rgba(19, 144, 130, .18); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fine { font-size: .82rem; color: var(--muted); margin: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--on-ink); padding: var(--section) 0; }
.cta .aurora { opacity: .7; }
.cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius); border: 1px solid var(--ink-line); background: rgba(255, 255, 255, .03); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cta h2 { margin-bottom: 10px; }
.cta p { color: var(--on-ink-muted); margin: 0; max-width: 52ch; }
.cta .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-inner { grid-template-columns: 1fr; } .cta .btn-row { justify-content: flex-start; } }

/* ---------- Footer ---------- */
.site-footer { background: #030810; color: var(--on-ink-muted); padding: clamp(48px, 6vw, 80px) 0 28px; border-top: 1px solid var(--ink-line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-brand .lockup { width: 200px; height: auto; }
.footer-brand .legal { margin: 18px 0 0; font-size: .86rem; color: var(--on-ink); max-width: 34ch; }
.footer-brand .creditlink-chip { margin-top: 14px; }
.site-footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-ink-muted); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 16px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--ink-line); font-size: .82rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .code { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 18vw, 11rem); line-height: .9; letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0 0 12px; }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal-group] > * { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js [data-reveal-group].in > * { opacity: 1; transform: none; }
.js [data-reveal-group].in > :nth-child(2) { transition-delay: .08s; }
.js [data-reveal-group].in > :nth-child(3) { transition-delay: .16s; }
.js [data-reveal-group].in > :nth-child(4) { transition-delay: .24s; }
.js [data-reveal-group].in > :nth-child(5) { transition-delay: .32s; }
.js [data-reveal-group].in > :nth-child(6) { transition-delay: .40s; }
.js [data-reveal-group].in > :nth-child(n+7) { transition-delay: .46s; }

/* ---------- Reduced motion: no motion at all ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal], .js [data-reveal-group] > * { opacity: 1 !important; transform: none !important; }
  .lm-row { overflow-x: auto; scrollbar-width: thin; -webkit-overflow-scrolling: touch; -webkit-mask-image: none; mask-image: none; }
  .lm-track[data-clone] { display: none; }
  .hero-visual img.mark, .hero-chip { animation: none; }
}

@media print {
  .site-header, .site-footer, .cta, .aurora, .nav-toggle { display: none !important; }
  body { color: #000; background: #fff; }
}

/* Team page roster v2: six equal portrait cards, Team Leader first */
.crew-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.crew-card{position:relative;display:flex;flex-direction:column;border-radius:24px;overflow:hidden;background:linear-gradient(180deg,#0b141c 0%,#070d13 100%);border:1px solid rgba(255,255,255,.07);box-shadow:0 20px 50px -30px rgba(0,0,0,.8);transition:transform .45s cubic-bezier(.2,.7,.2,1),border-color .45s,box-shadow .45s}
.crew-card:hover{transform:translateY(-6px);border-color:rgba(19,144,130,.55);box-shadow:0 30px 70px -30px rgba(19,144,130,.45)}
.crew-photo{position:relative;aspect-ratio:4/5;overflow:hidden;background:radial-gradient(70% 55% at 50% 38%,rgba(19,144,130,.32),rgba(19,144,130,0) 70%),#0a0f14}
.crew-photo::after{content:"";position:absolute;inset:auto 0 0 0;height:38%;background:linear-gradient(180deg,rgba(7,13,19,0),#070d13);pointer-events:none}
.crew-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 20%;mix-blend-mode:lighten;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.crew-card:hover .crew-photo img{transform:scale(1.04)}
.crew-badge{position:absolute;z-index:2;top:16px;left:16px;padding:6px 12px;border-radius:999px;font:700 11px/1 Inter,system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:#04110e;background:linear-gradient(90deg,#2ee6a6,#139082)}
.crew-body{position:relative;padding:4px 26px 28px;margin-top:-34px;z-index:1;display:flex;flex-direction:column;gap:6px;flex:1}
.crew-index{font:800 13px/1 Manrope,system-ui,sans-serif;letter-spacing:.14em;color:rgba(46,230,166,.75)}
.crew-name{margin:4px 0 0;font:800 clamp(22px,2vw,26px)/1.15 Manrope,system-ui,sans-serif;color:#fff;letter-spacing:-.01em}
.crew-title{margin:0;font:600 13px/1.3 Inter,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#2ee6a6}
.crew-line{margin:8px 0 0;font:400 15px/1.6 Inter,system-ui,sans-serif;color:rgba(226,235,240,.72)}
.crew-card.is-lead{border-color:rgba(46,230,166,.35);box-shadow:0 0 0 1px rgba(46,230,166,.12),0 30px 70px -35px rgba(19,144,130,.6)}
.crew-contact{list-style:none;margin:14px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.crew-contact a{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.12);color:#fff;font:600 13px/1 Inter,system-ui,sans-serif;text-decoration:none;transition:border-color .3s,background .3s}
.crew-contact a:hover{border-color:#2ee6a6;background:rgba(46,230,166,.08)}
.crew-contact svg{width:15px;height:15px;color:#2ee6a6}
.crew-note{margin-top:12px;display:inline-flex;align-items:center;gap:8px;color:#2ee6a6;font:600 14px/1 Inter,system-ui,sans-serif;text-decoration:none}
.crew-note .arrow{transition:transform .3s}
.crew-note:hover .arrow{transform:translateX(4px)}
.crew-card a:focus-visible{outline:2px solid #2ee6a6;outline-offset:3px}
@media (max-width:960px){.crew-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}}
@media (max-width:560px){.crew-grid{grid-template-columns:1fr;gap:20px}.crew-body{padding:0 20px 24px}}
@media (prefers-reduced-motion:reduce){.crew-card,.crew-photo img,.crew-note .arrow{transition:none}.crew-card:hover{transform:none}.crew-card:hover .crew-photo img{transform:none}}
