/* Cox Accounting v2. Tokens, layout, header, heroes, homepage scenes, content system, close, footer.
   Motion start states live in cox.js, never here, so a page with JavaScript off renders complete. */
:root {
  --navy: #1F2160;
  --navy-deep: #13153F;
  --ink: #0E1033;
  --green: #117A39;
  --green-deep: #0C5C2B;
  --spring: #6FD39A;
  --green-soft: #E3F3E9;
  --paper: #F7F6F2;
  --paper-2: #EEEDE7;
  --line: #D9D8E2;
  --line-dark: rgba(255,255,255,.14);
  --muted: #5F6180;
  --muted-dark: #B8BAD6;
  --white: #fff;
  --f-display: 'Libre Caslon Display', 'Times New Roman', serif;
  --f-body: 'Host Grotesk', 'Segoe UI', Arial, sans-serif;
  --f-mono: 'Spline Sans Mono', 'Courier New', monospace;
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 84px;
  --radius: 10px;
  --shadow-navy: 0 24px 60px rgba(19,21,63,.28);
  --ease: cubic-bezier(.22,1,.36,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green-deep); text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:hover { color: var(--green); }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.05; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(40px, 5.6vw, 76px); }
h2 { font-size: clamp(32px, 4vw, 54px); }
h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
.h3 { font-size: clamp(22px, 2vw, 28px); font-family: var(--f-display); font-weight: 400; color: var(--navy); line-height: 1.15; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 12px; z-index: 60; }
.skip-link:focus { left: 8px; }
.ico { width: 20px; height: 20px; flex: none; }
.ico-sm { width: 16px; height: 16px; }
.ico-lg { width: 34px; height: 34px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
:focus-visible { outline: 2px solid var(--spring); outline-offset: 3px; }
.on-paper :focus-visible, .content :focus-visible { outline-color: var(--green); }
.eyebrow { font-family: var(--f-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 18px; color: var(--green); display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-navy .eyebrow, .on-navy-deep .eyebrow, .eyebrow--light { color: var(--spring); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font: 600 16px var(--f-body); letter-spacing: .005em; text-decoration: none; cursor: pointer; border: 1px solid transparent; position: relative; overflow: hidden; transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease); }
.btn span { position: relative; z-index: 1; }
.btn .ico { position: relative; z-index: 1; }
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: var(--green-deep); transform: translateY(101%); transition: transform .45s var(--ease); z-index: 0; }
.btn-primary:hover::after, .btn-primary:focus-visible::after { transform: translateY(0); }
.btn-primary:hover { color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--paper-2); color: var(--navy); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 18px 32px; font-size: 17px; }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: default; }
.arrow-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--navy); }
.arrow-link .ico { transition: transform .3s var(--ease); }
.arrow-link:hover .ico { transform: translateX(4px); }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: var(--header-h); color: #fff; transition: transform .45s var(--ease), background .35s var(--ease), color .35s var(--ease), height .35s var(--ease), box-shadow .35s; }
.site-header::before { content: ""; position: absolute; inset: 0; background: var(--paper); opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; }
.site-header.is-solid { color: var(--ink); height: 68px; box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-in { position: relative; display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.brand img { width: 230px; height: auto; transition: width .35s var(--ease); }
.brand .logo-dark { display: none; }
.site-header.is-solid .brand .logo-light { display: none; }
.site-header.is-solid .brand .logo-dark { display: block; }
.site-header.is-solid .brand img { width: 200px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.nav-list a { font-size: 15px; font-weight: 600; color: inherit; text-decoration: none; padding: 10px 13px; line-height: 1.2; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; transition: background .25s; }
.nav-list a:hover { background: rgba(127,127,160,.14); color: inherit; }
.nav-list .nav-phone a { font-family: var(--f-mono); font-size: 14px; letter-spacing: .02em; }
.nav-list .nav-cta a { color: #fff; margin-left: 6px; }
.site-header.is-solid .nav-list .nav-cta a { color: #fff; }
.sub-toggle { background: none; border: 0; color: inherit; cursor: pointer; padding: 6px 2px; line-height: 1; display: inline-flex; margin-left: -8px; }
.sub-toggle .ico { transition: transform .3s var(--ease); }
.has-sub.is-open .sub-toggle .ico { transform: rotate(180deg); }
.sub { position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-navy); list-style: none; margin: 0; padding: 10px; z-index: 40; opacity: 0; visibility: hidden; transform: translateY(6px); pointer-events: none; transition: opacity .2s ease, transform .25s var(--ease), visibility 0s linear .2s; }
/* Invisible bridge over the gap between the menu item and its panel, so the pointer never leaves the item on the way down. */
.sub::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 14px; }
.has-sub.is-open > .sub { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.sub a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; font-weight: 600; font-size: 15px; width: 100%; border-radius: 8px; color: var(--ink); }
.sub a:hover { background: var(--green-soft); }
.sub .ico { color: var(--green); }
.header-actions { display: none; align-items: center; gap: 8px; }
.header-call { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; background: var(--green); color: #fff; }
.menu-toggle { background: none; border: 1px solid currentColor; border-radius: 999px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: inherit; cursor: pointer; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: inline; }
.nav-scrim { position: fixed; inset: 0; background: rgba(14,16,51,.5); z-index: 25; }

/* Page transition */
.pt { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
.pt span { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--navy); transform: scaleY(0); }
.pt span:first-child { top: 0; transform-origin: 50% 0; }
.pt span:last-child { bottom: 0; transform-origin: 50% 100%; }
.pt-in .pt span { transform: scaleY(1); }
/* Hero start states for the first paint, so the intro has nothing to snap from. The motion layer sets its own
   inline values and drops hero-pre; a reduced-motion page never gets them. */
.js.hero-pre:not(.reduce) [data-motion="hero-title"], .js.hero-pre:not(.reduce) [data-motion="hero-fade"], .js.hero-pre:not(.reduce) [data-motion="hero-card"] { visibility: hidden; opacity: 0; }
.js.hero-pre:not(.reduce) .hero__media img, .js.hero-pre:not(.reduce) .page-hero__media img { transform: scale(1.12); }

/* Mobile call bar */
.callbar { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 28; gap: 8px; }
.callbar a { flex: 1; box-shadow: var(--shadow-navy); }

/* ---------- Homepage ---------- */
.hero { position: relative; background: var(--navy-deep); color: #fff; min-height: 100svh; display: grid; align-items: end; overflow: clip; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media video { opacity: 0; transition: opacity 1.2s ease; }
.hero__media video.is-playing { opacity: 1; }
.hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(19,21,63,.58) 0%, rgba(19,21,63,.3) 40%, rgba(19,21,63,.9) 100%); }
.hero__scrim::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,21,63,.8) 0%, rgba(19,21,63,.45) 38%, rgba(19,21,63,0) 68%); }
.hero__in { position: relative; z-index: 2; width: 100%; padding-top: calc(var(--header-h) + 48px); padding-bottom: 72px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.hero h1 { color: #fff; margin: 0 0 22px; max-width: 12ch; }
.hero h1 em { font-style: italic; color: var(--spring); }
.hero .lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; max-width: 540px; margin: 0 0 28px; color: #E6E7F4; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 34px; }
.hero__proof { display: flex; gap: 10px 28px; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; font-family: var(--f-mono); font-size: 13px; letter-spacing: .02em; color: var(--muted-dark); }
.hero__proof li { display: flex; gap: 8px; align-items: center; }
.hero__proof .ico { color: var(--spring); }
.hero__aside { justify-self: end; align-self: end; width: min(100%, 360px); }
.hero__card { background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); backdrop-filter: blur(12px); border-radius: 14px; padding: 22px 24px; }
.hero__card .mono { font-size: 12px; color: var(--spring); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; display: block; }
.hero__card p { margin: 0; font-size: 15px; color: #E6E7F4; }
.hero__card strong { display: block; font-family: var(--f-display); font-size: 22px; font-weight: 400; color: #fff; margin-bottom: 6px; }
.hero__pause { position: absolute; right: 24px; bottom: 24px; z-index: 3; background: rgba(19,21,63,.5); color: #fff; border: 1px solid var(--line-dark); border-radius: 999px; font: 500 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; cursor: pointer; display: none; }
.hero__pause.is-shown { display: inline-flex; }
.hero__letterbox span { position: absolute; left: 0; right: 0; height: 12vh; background: var(--navy-deep); z-index: 2; }
.hero__letterbox span:first-child { top: 0; transform-origin: 50% 0; }
.hero__letterbox span:last-child { bottom: 0; transform-origin: 50% 100%; }

.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.on-navy { background: var(--navy); color: #E6E7F4; }
.on-navy h2, .on-navy h3, .on-navy .h3 { color: #fff; }
.on-navy-deep { background: var(--navy-deep); color: #E6E7F4; }
.on-navy-deep h2, .on-navy-deep h3 { color: #fff; }
.on-paper { background: var(--paper); }
.on-paper-2 { background: var(--paper-2); }
.section-h { max-width: 760px; margin: 0 0 clamp(32px, 4vw, 56px); }
.section-h p { font-size: clamp(17px, 1.3vw, 20px); color: var(--muted); margin: 0; max-width: 600px; }
.on-navy .section-h p, .on-navy-deep .section-h p { color: var(--muted-dark); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split--center { align-items: center; }

/* Recognition: three situations */
.situations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.situations > div { padding: 36px 32px 36px 0; border-right: 1px solid var(--line-dark); margin-right: 32px; }
.situations > div:last-child { border-right: 0; margin-right: 0; }
.situations h3 { font-size: clamp(24px, 2.2vw, 30px); margin: 0 0 12px; }
.situations p { color: var(--muted-dark); font-size: 16px; margin: 0 0 16px; }
.situations .arrow-link { color: var(--spring); font-size: 15px; }
.rule { height: 1px; background: var(--line-dark); transform-origin: 0 50%; }
.on-paper .rule, .on-paper-2 .rule { background: var(--line); }

/* The letter */
.letter__media { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--navy); }
.letter__media img { width: 100%; height: 100%; object-fit: cover; }
.letter__media .letterbox span { position: absolute; left: 0; right: 0; height: 18%; background: var(--navy); z-index: 2; }
.letter__media .letterbox span:first-child { top: 0; transform-origin: 50% 0; }
.letter__media .letterbox span:last-child { bottom: 0; transform-origin: 50% 100%; }
.reading { font-family: var(--f-display); font-size: clamp(24px, 2.6vw, 38px); line-height: 1.3; color: #fff; margin: 0 0 28px; }
.reading .w { color: #5A5D8C; }

/* The Reconciliation */
.recon__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.recon__stage { padding: clamp(56px, 7vw, 96px) 0; }
.ledger { background: #fff; border-radius: 14px; box-shadow: var(--shadow-navy); overflow: hidden; color: var(--ink); border: 1px solid rgba(255,255,255,.18); }
.ledger__head { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; padding: 14px 22px; background: var(--paper-2); color: var(--navy); border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.ledger__row { display: grid; grid-template-columns: 28px 1fr auto auto; gap: 16px; align-items: center; padding: 14px 22px; border-top: 1px solid var(--line); font-size: 15px; }
.ledger__row .tick { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--green); transition: border-color .3s, background .3s; }
.ledger__row .tick svg { width: 14px; height: 14px; }
.ledger__row.is-matched .tick { border-color: var(--green); background: var(--green-soft); }
.ledger__row .desc { color: var(--ink); }
.ledger__row .desc small { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--muted); letter-spacing: .04em; }
.ledger__row .amt { font-family: var(--f-mono); font-variant-numeric: tabular-nums; font-size: 15px; }
.ledger__row .bank { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; min-width: 72px; text-align: right; transition: color .3s; }
.ledger__row .bank::before { content: "pending"; }
.ledger__row.is-matched .bank { color: var(--green); }
.ledger__row.is-matched .bank::before { content: "matched"; }
.ledger__foot { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; background: var(--paper); border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 13px; color: var(--muted); }
.recon__side { padding-top: 10px; }
.recon__diff { font-family: var(--f-mono); font-variant-numeric: tabular-nums; font-size: clamp(44px, 5vw, 72px); line-height: 1; color: #fff; margin: 14px 0 6px; letter-spacing: -.02em; transition: color .4s; }
.recon__diff.is-zero { color: var(--spring); }
.recon__label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }
.recon__stamp { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; padding: 10px 16px; border: 1.5px solid var(--spring); color: var(--spring); border-radius: 6px; font-family: var(--f-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; transform-origin: 50% 50%; }
.recon__stamp .ico { width: 16px; height: 16px; }
.recon__rule { height: 1px; background: var(--spring); margin-top: 22px; transform-origin: 0 50%; }
.recon__copy { margin-top: 28px; color: var(--muted-dark); font-size: 16px; }
.recon__copy strong { color: #fff; font-weight: 600; }
.recon__note { font-family: var(--f-mono); font-size: 11px; color: #7A7DA8; margin-top: 12px; letter-spacing: .04em; }

/* Proof */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0 0 clamp(40px, 5vw, 72px); padding: 0; list-style: none; }
.figure { border-top: 1px solid var(--line); padding-top: 18px; }
.figure .flap { font-family: var(--f-mono); font-variant-numeric: tabular-nums; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; color: var(--navy); display: inline-flex; overflow: hidden; }
.figure .flap__c { display: inline-block; }
.figure .flap__c.is-digit { min-width: .62em; text-align: center; }
.figure small { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0 0 .5em; }
.reviews--single { grid-template-columns: 1fr; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; font-size: 16px; display: flex; flex-direction: column; position: relative; color: var(--ink); }
.review::before { content: "\201C"; position: absolute; top: 14px; right: 22px; font-family: var(--f-display); font-size: 72px; line-height: 1; color: var(--green-soft); }
.review .stars { display: flex; gap: 2px; color: var(--green); margin-bottom: 14px; }
.review .stars .ico { fill: currentColor; width: 14px; height: 14px; }
.review p { flex: 1; margin: 0 0 16px; color: var(--ink); max-width: none; font-size: 16px; }
.review footer { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.reviews-link { font-size: 15px; margin-top: 18px; }
.closing .reviews-link { display: none; }

/* Services index */
/* Services index: an editorial list on the left, one framed photo on the right that stays put and changes
   with the row you are on (hover, or scroll position). Same frame language as the hero window and the letter. */
.index-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); position: relative; }
.index__row { display: grid; grid-template-columns: 44px 1fr 32px; gap: 20px; align-items: center; padding: 24px 0; text-decoration: none; color: var(--ink); position: relative; }
.index__rule { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line); transform-origin: 0 50%; }
.index__row .num { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; transition: color .3s; }
.index__text { transition: transform .45s var(--ease); }
.index__row h3 { font-size: clamp(24px, 2.4vw, 34px); margin: 0 0 6px; transition: color .3s; }
.index__row p { margin: 0; color: var(--muted); font-size: 15.5px; max-width: 54ch; }
.index__row .ico { color: var(--navy); transition: transform .4s var(--ease), color .3s; justify-self: end; }
.index__row:hover .index__text, .index__row.is-active .index__text { transform: translateX(6px); }
.index__row:hover h3, .index__row.is-active h3 { color: var(--green-deep); }
.index__row:hover .ico, .index__row.is-active .ico { transform: translateX(6px); color: var(--green); }
.index__row.is-active .num { color: var(--green); }
.index__stage { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; }
.index__frame { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--navy-deep); box-shadow: var(--shadow-navy); }
.index__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; will-change: transform; }
.index__frame img:first-child { opacity: 1; }
.index__frame.is-live img { opacity: 0; }
.index__frame.is-live img.is-on { opacity: 1; }
.index__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,21,63,0) 55%, rgba(19,21,63,.82) 100%); pointer-events: none; }
.index__label { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; color: #fff; font-family: var(--f-display); font-size: 24px; line-height: 1.2; }

/* Industries */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ind-card { position: relative; display: block; border-radius: 16px; overflow: hidden; text-decoration: none; color: #fff; aspect-ratio: 3 / 4; background: var(--navy-deep); }
.ind-card__media { position: absolute; inset: 0; overflow: hidden; }
.ind-card__media img { width: 100%; height: 112%; object-fit: cover; }
.ind-card__copy { position: absolute; inset: auto 0 0 0; padding: 28px; background: linear-gradient(to top, rgba(19,21,63,.94), rgba(19,21,63,0)); }
.ind-card h3 { color: #fff; margin: 0 0 6px; font-size: clamp(26px, 2.4vw, 34px); }
.ind-card p { margin: 0 0 14px; font-size: 15px; color: #DCDEF0; }
.ind-card .arrow-link { color: var(--spring); font-size: 14px; }

/* Process */
.process__track { position: relative; height: 1px; background: var(--line-dark); margin: 0 0 40px; }
.process__fill { position: absolute; inset: 0; background: var(--spring); transform-origin: 0 50%; }
.process__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.process__steps li { position: relative; padding-top: 10px; }
.process__steps li::before { counter-increment: step; content: "0" counter(step); font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--muted-dark); display: block; margin-bottom: 14px; transition: color .4s; }
.process__steps li.is-reached::before { color: var(--spring); }
.process__steps h3 { font-size: clamp(24px, 2.2vw, 30px); margin: 0 0 10px; }
.process__steps p { color: var(--muted-dark); margin: 0; font-size: 16px; }

/* Areas */
.areas { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.areas__media { border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; position: relative; }
.areas__media img { width: 100%; height: 112%; object-fit: cover; }
.area-list { columns: 2; list-style: none; padding: 0; margin: 1em 0; font-size: 17px; }
.area-list li { break-inside: avoid; margin: 0 0 8px; }
.area-list small { color: var(--muted); }

/* Closing window */
.closing { position: relative; color: #fff; overflow: clip; background: var(--navy-deep); }
.closing__window { position: absolute; inset: 0; }
.closing__media { position: absolute; inset: 0; }
.closing__media img { width: 100%; height: 100%; object-fit: cover; }
.closing__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,21,63,.88) 0%, rgba(19,21,63,.6) 55%, rgba(19,21,63,.4) 100%); }
.closing__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.closing h2 { color: #fff; }
.closing p { color: #E6E7F4; max-width: 520px; font-size: 18px; }
.closing .review p { color: var(--ink); font-size: 16px; max-width: none; }
.closing .review footer { color: var(--muted); }
.closing address { font-style: normal; color: #E6E7F4; margin: 22px 0 0; font-size: 16px; line-height: 1.7; }
.closing address a { color: #fff; }
.form-card { background: #fff; color: var(--ink); border-radius: 16px; padding: 30px; box-shadow: var(--shadow-navy); }
.form-card__h { font-family: var(--f-display); font-size: 26px; color: var(--navy); margin: 0 0 6px; }
.form-card__sub { font-size: 15px; color: var(--muted); margin: 0 0 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.form-grid label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); letter-spacing: .02em; }
.form-grid label span { display: block; margin-bottom: 5px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-grid input, .form-grid textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px 13px; font: 16px var(--f-body); color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.form-grid input:focus, .form-grid textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(17,122,57,.14); }
.form-note { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.form-status { font-size: 15px; margin-top: 8px; min-height: 1em; }
.form-status.ok { color: var(--green-deep); }
.form-status.err { color: #B3261E; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #C9CBE3; position: relative; z-index: 1; overflow: hidden; }
.footer-links-wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-top: clamp(56px, 7vw, 96px); padding-bottom: 36px; }
.footer-brand img { width: 220px; margin-bottom: 18px; }
.footer-brand p { font-size: 15px; color: var(--muted-dark); max-width: 320px; }
.footer-h { font-family: var(--f-mono); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--spring); margin: 0 0 14px; }
.footer-col .footer-h + .footer-links + .footer-h { margin-top: 26px; }
.footer-links { list-style: none; padding: 0; margin: 0 0 8px; }
.footer-links li { margin: 0 0 8px; font-size: 15px; }
.footer-links li.sub { padding-left: 14px; font-size: 14px; }
.footer-links a, .site-footer address a { color: #C9CBE3; text-decoration: none; }
.footer-links a:hover, .site-footer address a:hover { color: #fff; }
.site-footer address { font-style: normal; font-size: 15px; margin: 0 0 10px; line-height: 1.7; }
.lic { font-size: 13px; margin: 0 0 8px; color: var(--muted-dark); }
.lic a { color: var(--muted-dark); }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; font-family: var(--f-mono); letter-spacing: .02em; }
.footer-legal a { color: #C9CBE3; margin-left: 18px; text-decoration: none; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; background: var(--navy-deep); color: #fff; overflow: clip; padding-top: calc(var(--header-h) + 40px); }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,21,63,.94) 0%, rgba(19,21,63,.62) 50%, rgba(19,21,63,.3) 100%); }
.page-hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 64px); align-items: end; padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero--band .page-hero__in { grid-template-columns: 1fr; align-items: start; padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero h1 { color: #fff; margin: 0 0 18px; font-size: clamp(36px, 4.6vw, 64px); max-width: 16ch; }
.page-hero--band h1 { max-width: 20ch; }
.page-hero .lede { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; max-width: 560px; margin: 0 0 22px; color: #E6E7F4; }
.hero-bullets { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.hero-bullets li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: #E6E7F4; }
.hero-bullets .ico { margin-top: 5px; color: var(--spring); }
.hero-phone { font-family: var(--f-mono); font-size: 14px; margin: 0; color: var(--muted-dark); }
.hero-phone a { color: #fff; font-weight: 600; }
.page-hero .form-card { align-self: end; }
.breadcrumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-dark); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.page-hero .letterbox span { position: absolute; left: 0; right: 0; height: 10vh; background: var(--navy-deep); z-index: 3; }
.page-hero .letterbox span:first-child { top: 0; transform-origin: 50% 0; }
.page-hero .letterbox span:last-child { bottom: 0; transform-origin: 50% 100%; }

/* Content system */
.content { padding: clamp(48px, 6vw, 88px) var(--gutter) 24px; font-size: 18px; line-height: 1.7; max-width: 1000px; }
.content--narrow { max-width: 820px; }
.content--wide { max-width: var(--container); }
.content > :first-child { margin-top: 0; }
.content h2 { margin: 1.4em 0 .5em; font-size: clamp(30px, 3.2vw, 44px); }
.content h3 { font-family: var(--f-body); font-weight: 600; font-size: 22px; margin: 1.3em 0 .4em; color: var(--navy); }
.content ul, .content ol { padding-left: 1.3em; }
.content li { margin-bottom: .45em; }
.content .lead { font-family: var(--f-display); font-size: clamp(22px, 2.1vw, 30px); line-height: 1.35; color: var(--navy); }
.content .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; }
.content .two-col--profile { grid-template-columns: 340px 1fr; gap: 24px 56px; align-items: start; }
.content .checks { list-style: none; padding: 0; margin: 1em 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.content .checks li { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: 17px; }
.content .checks .ico { color: var(--green); margin-top: 5px; }
.content .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 1.2em 0; padding: 0; list-style: none; }
.content .facts li { background: #fff; border: 1px solid var(--line); padding: 20px 22px; border-radius: 12px; font-size: 15px; margin: 0; }
.content .facts strong { display: block; font-family: var(--f-display); font-size: 24px; color: var(--navy); margin-bottom: 4px; }
.content .steps { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 1.2em 0; }
.content .steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px 22px 20px; font-size: 16px; margin: 0; position: relative; }
.content .steps li::before { content: "0" counter(step); font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--green); display: block; margin-bottom: 14px; }
.content .steps strong { display: block; font-family: var(--f-display); font-size: 22px; font-weight: 400; margin-bottom: 8px; color: var(--navy); }
.content .note { border-left: 3px solid var(--green); background: var(--green-soft); padding: 16px 20px; margin: 1.4em 0; font-size: 16px; border-radius: 0 10px 10px 0; }
.content .callout { background: var(--navy); color: #fff; padding: 26px 28px; border-radius: 14px; margin: 1.6em 0; }
.content .callout a { color: #fff; }
.content .callout h2, .content .callout h3 { color: #fff; margin-top: 0; }
.content table { width: 100%; border-collapse: collapse; font-size: 16px; margin: 1.2em 0; }
.content th, .content td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.content th { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.content figure { margin: 0 0 1.6em; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 8; }
.content figure img { width: 100%; height: 100%; object-fit: cover; }
.content figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 1.2em 0; }
.svc-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; text-decoration: none; color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(19,21,63,.14); border-color: transparent; color: var(--ink); }
.svc-card .ico { color: var(--green); margin-bottom: 14px; }
.svc-card h3 { margin: 0 0 8px; font-size: 22px; font-family: var(--f-display); font-weight: 400; }
.svc-card p { font-size: 15px; color: var(--muted); margin: 0 0 12px; }
.svc-card .more { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--green-deep); }
.ea-note { max-width: 720px; margin: -8px 0 36px; color: var(--muted); font-size: 16px; }
.profile-photo { background: var(--paper-2); border: 1px dashed var(--line); border-radius: 16px; aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; text-align: center; padding: 20px; }
.profile-photo--mono { background: var(--navy); border: 0; color: var(--spring); font-family: var(--f-display); font-size: clamp(72px, 9vw, 128px); letter-spacing: -.04em; }

.section--faq { background: var(--paper-2); }
.section--faq .container { max-width: 980px; }
.section--faq h2 { margin: 0 0 24px; }
.faq { border-top: 1px solid var(--line); }
.faq:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-family: var(--f-display); font-size: clamp(19px, 1.6vw, 23px); color: var(--navy); padding: 20px 40px 20px 0; list-style: none; position: relative; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; border-right: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); transform: translateY(-70%) rotate(45deg); transition: transform .35s var(--ease); }
.faq[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-a { padding: 0 0 22px; font-size: 17px; max-width: 760px; overflow: hidden; }
.faq-a p { margin: 0 0 .6em; }
.section--related { background: var(--paper); border-top: 1px solid var(--line); }
.section--related h2 { font-size: clamp(22px, 2vw, 28px); margin: 0 0 16px; }
.link-block { margin-bottom: 36px; }
.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.link-card { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; text-decoration: none; color: var(--ink); transition: border-color .3s, transform .3s var(--ease); }
.link-card:hover { border-color: var(--green); transform: translateY(-2px); color: var(--ink); }
.link-card .ico { color: var(--green); margin-top: 2px; }
.link-card strong { display: block; color: var(--navy); font-size: 16px; }
.link-card small { display: block; color: var(--muted); font-size: 14px; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card h2 { font-size: 22px; margin: 10px 0 4px; }
.post-card h2 a { text-decoration: none; }
.post-meta { font-size: 13px; color: var(--muted); font-family: var(--f-mono); }
.content--post { max-width: 780px; }
.post-hero { margin-bottom: 24px; border-radius: 14px; }

/* Responsive */
@media (max-width: 1180px) {
  .nav-list a { padding: 8px 9px; font-size: 14px; }
  .nav-list .nav-phone { display: none; }
}
@media (max-width: 1000px) {
  :root { --header-h: 72px; }
  .header-actions { display: flex; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 92vw); background: var(--navy-deep); color: #fff; transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto; z-index: 35; padding-top: var(--header-h); }
  .nav.is-open { transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; padding: 16px; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; align-items: center; }
  .nav-list > li > a { flex: 1; padding: 16px 8px; font-size: 18px; font-family: var(--f-display); font-weight: 400; color: #fff; }
  .nav-list a:hover { background: transparent; }
  .sub-toggle { padding: 14px; color: #fff; margin: 0; }
  .sub { position: static; display: none; opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: none; width: 100%; box-shadow: none; border: 0; margin: 0 0 10px; padding: 0 0 0 8px; background: transparent; color: #fff; }
  .sub::before { display: none; }
  .has-sub.is-open > .sub { display: block; }
  .sub a { color: #fff; font-family: var(--f-body); font-size: 15px; }
  .sub a:hover { background: rgba(255,255,255,.06); }
  .nav-list .nav-phone { display: block; }
  .nav-list .nav-phone a { color: var(--spring); }
  .nav-list .nav-cta { display: block; padding: 16px 8px; border-bottom: 0; }
  .nav-list .nav-cta a { display: flex; margin: 0; }
  .site-header.is-solid .menu-toggle { color: var(--ink); }
  body.nav-open .site-header { color: #fff; z-index: 36; }
  body.nav-open .site-header .brand, body.nav-open .site-header .header-actions { position: relative; z-index: 40; }
  body.nav-open .menu-toggle { color: #fff; border-color: rgba(255,255,255,.5); }
  body.nav-open .header-call { color: #fff; }
  body.nav-open .site-header::before { opacity: 0; }
  body.nav-open .site-header .brand .logo-dark { display: none; }
  body.nav-open .site-header .brand .logo-light { display: block; }
  .hero__in, .split, .split--rev, .recon__grid, .areas, .closing__in, .page-hero__in { grid-template-columns: 1fr; }
  .hero__aside { justify-self: start; }
  .situations { grid-template-columns: 1fr; }
  .situations > div { border-right: 0; border-bottom: 1px solid var(--line-dark); margin: 0; padding: 26px 0; }
  .situations > div:last-child { border-bottom: 0; }
  .figures, .reviews, .ind-grid, .process__steps, .link-grid, .post-grid, .content .steps, .content .facts, .svc-grid { grid-template-columns: 1fr 1fr; }
  .index-wrap { grid-template-columns: 1fr; }
  .index__stage { display: none; }
  .footer-links-wrap { grid-template-columns: 1fr 1fr; }
  .callbar { display: flex; }
  .site-footer { padding-bottom: 70px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand img, .site-header.is-solid .brand img { width: 170px; }
  .hero { min-height: 0; }
  .hero__in { padding-top: calc(var(--header-h) + 32px); padding-bottom: 48px; }
  .hero__actions .btn { width: 100%; }
  .hero__card { display: none; }
  .content { font-size: 17px; }
  .content .two-col, .content .two-col--profile, .content .checks, .figures, .reviews, .ind-grid, .process__steps, .link-grid, .post-grid, .content .steps, .content .facts, .svc-grid, .footer-links-wrap { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .area-list { columns: 1; }
  .form-card { padding: 22px; }
  .ledger__row { grid-template-columns: 24px 1fr auto; }
  .ledger__row .bank { display: none; }
  .ledger__head { grid-template-columns: 1fr auto; }
  .ledger__head span:last-child { display: none; }
  .index__row h3 { font-size: 26px; }
  .recon__stage { padding: 40px 0; }
}
