/* Brand fonts (Aptic brand guide): Outfit stands in for Intro (headlines), Figtree for Gilroy (body). Open Font Licence, self-hosted. */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/outfit-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/outfit-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/outfit-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/outfit-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/figtree-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/figtree-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/figtree-latin-700-normal.woff2") format("woff2"); }

/* ==========================================================================
   Aptic Credit Limited - design system
   Colours sampled from the official logo artwork (2026 Company Profile).
   ========================================================================== */
:root {
  --aptic-navy: #1B144A;
  --aptic-navy-deep: #120F38;
  --aptic-blue: #2A348D;
  --aptic-gold: #F6AA40;
  --aptic-gold-soft: #FBF1DF;
  --aptic-white: #FFFFFF;
  --aptic-ink: #1B1B2F;
  --aptic-muted: #545873;
  --aptic-surface: #F4F6FA;
  --aptic-line: #E2E5EE;
  --aptic-line-dark: rgba(255,255,255,.16);
  --ok: #1E7A4C;
  --err: #B3261E;

  --font-head: "Archivo", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--1: .9rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.45rem, 1.2rem + .9vw, 1.8rem);
  --step-3: clamp(1.9rem, 1.4rem + 1.9vw, 2.7rem);
  --step-4: clamp(2.5rem, 1.6rem + 3.8vw, 4.4rem);

  --space-1: .5rem; --space-2: 1rem; --space-3: 1.5rem; --space-4: 2.5rem;
  --space-5: 4rem;  --space-6: clamp(4rem, 3rem + 5vw, 7.5rem);

  --radius-s: 6px; --radius-m: 14px; --radius-l: 28px;
  --wrap: 1240px;
  --header-h: 76px;
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M20 10 L42 32 L20 54' fill='none' stroke='%23F6AA40' stroke-opacity='.09' stroke-width='1.2'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
  color: var(--aptic-ink); background: var(--aptic-white);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aptic-blue); text-underline-offset: .18em; }
a:hover { color: var(--aptic-navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--aptic-navy); line-height: 1.12; margin: 0 0 .6em; letter-spacing: -.015em; }
h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: var(--step-3); font-weight: 750; letter-spacing: -.025em; }
h3 { font-size: var(--step-1); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--aptic-gold); outline-offset: 3px; border-radius: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 200; background: var(--aptic-gold); color: var(--aptic-navy); padding: .6rem 1rem; border-radius: var(--radius-s); font-weight: 700; }
.skip-link:focus { top: .75rem; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--space-6); }
.section--tight { padding-block: var(--space-5); }
.section--surface { background: var(--aptic-surface); }
.section--navy { background: var(--aptic-navy); color: #E9E8F5; position: relative; isolation: isolate; }
.section--navy::before { content: ""; position: absolute; inset: 0; background-image: var(--chevron); opacity: .9; z-index: -1; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }
.section--navy a:not(.btn) { color: #fff; }
.lead { font-size: 1.2rem; color: var(--aptic-muted); max-width: 60ch; }
.section--navy .lead { color: #C9C8E0; }
.kicker { font-family: var(--font-head); font-weight: 600; color: var(--aptic-blue); font-size: 1rem; margin-bottom: .75rem; display: block; }
.section--navy .kicker { color: var(--aptic-gold); }
.section-head { display: grid; gap: var(--space-2); margin-bottom: var(--space-4); }
.section-head--split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: var(--space-4); }
@media (max-width: 860px) { .section-head--split { grid-template-columns: 1fr; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.35rem;
  font-family: var(--font-head); font-weight: 650; font-size: 1rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; line-height: 1.1; }
.btn--gold { background: var(--aptic-gold); color: var(--aptic-navy); }
.btn--gold:hover { background: #F2B458; color: var(--aptic-navy); }
.btn--navy { background: var(--aptic-navy); color: #fff; }
.btn--navy:hover { background: var(--aptic-blue); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--aptic-navy); background: transparent; }
.btn--ghost:hover { background: var(--aptic-navy); color: #fff; border-color: var(--aptic-navy); }
.section--navy .btn--ghost, .hero .btn--ghost, .page-hero .btn--ghost { color: #fff; }
.section--navy .btn--ghost:hover, .hero .btn--ghost:hover, .page-hero .btn--ghost:hover { background: #fff; color: var(--aptic-navy); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.textlink { font-family: var(--font-head); font-weight: 650; text-decoration: none; border-bottom: 2px solid var(--aptic-gold); color: var(--aptic-navy); padding-bottom: 2px; }
.textlink:hover { color: var(--aptic-blue); }
.section--navy .textlink { color: #fff; }

/* ---------------------------------------------------------------- Header */
.utility { background: var(--aptic-navy-deep); color: #C9C8E0; font-size: .9rem; }
.utility .wrap { display: flex; gap: 1.5rem; justify-content: flex-end; align-items: center; min-height: 38px; flex-wrap: wrap; }
.utility a { color: #fff; text-decoration: none; }
.utility a:hover { text-decoration: underline; }
.utility .u-left { margin-right: auto; }
@media (max-width: 720px) { .utility .u-hide-s { display: none; } .utility .u-left { display: none; } .utility .wrap { justify-content: center; } }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--aptic-line); backdrop-filter: saturate(1.4) blur(6px); }
.site-header .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand .brand-fallback { display: none; font-family: var(--font-head); font-weight: 800; color: var(--aptic-navy); font-size: 1.35rem; }
.brand.logo-failed img { display: none; } .brand.logo-failed .brand-fallback { display: inline; }
.nav { margin-left: auto; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.nav-link, .nav-trigger { display: inline-flex; align-items: center; gap: .3rem; font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--aptic-navy);
  text-decoration: none; padding: .6rem .7rem; border-radius: var(--radius-s); background: none; border: 0; cursor: pointer; }
.nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { background: var(--aptic-surface); color: var(--aptic-navy); }
.nav-link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--aptic-gold); border-radius: 0; }
.nav-trigger svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.has-menu { position: relative; }
.menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid var(--aptic-line);
  border-radius: var(--radius-m); box-shadow: 0 24px 60px -24px rgba(22,19,74,.35); padding: 1.25rem; display: none; min-width: 260px; }
.menu.is-open { display: block; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: .5rem .6rem; border-radius: var(--radius-s); text-decoration: none; color: var(--aptic-ink); }
.menu a:hover { background: var(--aptic-surface); color: var(--aptic-navy); }
.menu a strong { display: block; font-family: var(--font-head); color: var(--aptic-navy); font-size: .98rem; }
.menu a span { font-size: .88rem; color: var(--aptic-muted); }
.menu--mega { width: min(880px, 92vw); display: none; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.menu--mega.is-open { display: grid; }
.menu--mega h4 { font-size: .95rem; margin: 0 0 .4rem .6rem; color: var(--aptic-blue); }
.menu--mega .mega-feature { grid-column: span 1; background: var(--aptic-navy); color: #fff; border-radius: var(--radius-s); padding: 1rem; }
.menu--mega .mega-feature a { color: #fff; padding: 0; }
.menu--mega .mega-feature a:hover { background: none; text-decoration: underline; }
.header-cta { flex-shrink: 0; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--aptic-line); border-radius: var(--radius-s); padding: .55rem .75rem; font-family: var(--font-head); font-weight: 650; color: var(--aptic-navy); cursor: pointer; min-height: 44px; }

@media (max-width: 1200px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: .5rem; }
  .header-cta { display: none; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; overflow-y: auto; padding: 1rem 1.25rem 3rem; display: none; margin: 0; border-top: 1px solid var(--aptic-line); }
  .nav.is-open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link, .nav-trigger { width: 100%; justify-content: space-between; padding: 1rem .5rem; font-size: 1.1rem; border-bottom: 1px solid var(--aptic-line); border-radius: 0; }
  .menu, .menu--mega { position: static; transform: none; box-shadow: none; border: 0; padding: .25rem 0 1rem .5rem; width: auto; min-width: 0; }
  .menu--mega.is-open { grid-template-columns: 1fr; }
  .menu--mega .mega-feature { display: none; }
  .nav .mobile-cta { display: block; margin-top: 1.5rem; }
}
.nav .mobile-cta { display: none; }
@media (max-width: 1200px) { .nav .mobile-cta { display: block; } }

/* ---------------------------------------------------------------- Hero (home) */
.hero { position: relative; background: var(--aptic-navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: var(--chevron); z-index: -1; }
.hero-inner { padding-top: clamp(3.5rem, 2rem + 6vw, 7rem); padding-bottom: clamp(9rem, 12vw, 13rem); position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 28ch; margin-bottom: 1.5rem; }
.hero h1 .reveal-line { display: block; }
.hero .hero-sub { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); color: #D6D5EA; max-width: 46ch; margin-bottom: 2rem; }
.hero-photo { position: absolute; inset: auto 0 0 0; height: 58%; z-index: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--aptic-navy) 0%, rgba(22,19,74,.82) 38%, rgba(22,19,74,.55) 70%, rgba(22,19,74,.7) 100%); }
.ledger { position: relative; z-index: 2; border-top: 1px solid var(--aptic-line-dark); background: rgba(15,13,54,.55); backdrop-filter: blur(3px); }
.ledger ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.ledger li { border-left: 1px solid var(--aptic-line-dark); }
.ledger li:first-child { border-left: 0; }
.ledger a { display: block; padding: 1.4rem 1.25rem 1.5rem; color: #fff; text-decoration: none; height: 100%; }
.ledger a:hover { background: rgba(255,255,255,.06); }
.ledger strong { display: block; font-family: var(--font-head); font-size: 1.15rem; margin-bottom: .25rem; }
.ledger strong::before { content: ""; display: inline-block; width: 18px; height: 2px; background: var(--aptic-gold); vertical-align: middle; margin-right: .6rem; }
.ledger span { font-size: .95rem; color: #C9C8E0; }
@media (max-width: 820px) { .ledger ul { grid-template-columns: 1fr 1fr; } .ledger li:nth-child(3) { border-left: 0; } .ledger li:nth-child(n+3) { border-top: 1px solid var(--aptic-line-dark); } }
@media (max-width: 600px) { .hero-inner { padding-bottom: 7rem; } .ledger a { padding: 1rem .9rem 1.1rem; } .ledger strong { font-size: 1rem; } .ledger strong::before { display: none; } .ledger span { font-size: .85rem; } }

@media (prefers-reduced-motion: no-preference) {
  .hero .reveal-line { opacity: 0; transform: translateY(18px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
  .hero .reveal-line:nth-child(2) { animation-delay: .12s; }
  .hero .hero-sub, .hero .btn-row { opacity: 0; animation: fade .8s .35s forwards; }
  .hero-photo img { transform: scale(1.06); animation: settle 2.2s cubic-bezier(.2,.7,.2,1) forwards; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fade { to { opacity: 1; } }
@keyframes settle { to { transform: scale(1); } }

/* ---------------------------------------------------------------- Inner page hero */
.page-hero { background: var(--aptic-navy); color: #fff; position: relative; isolation: isolate; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--chevron); z-index: -1; }
.page-hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--space-4); align-items: center; padding-block: clamp(2.5rem, 2rem + 4vw, 5rem); }
.page-hero--text .wrap { grid-template-columns: 1fr; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); max-width: 18ch; }
.page-hero .lead { color: #D6D5EA; }
.page-hero .ph-media { border-radius: var(--radius-l) var(--radius-l) var(--radius-l) 4px; overflow: hidden; aspect-ratio: 4/3; position: relative; }
.page-hero .ph-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .ph-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 45%, rgba(22,19,74,.55)); pointer-events: none; }
@media (max-width: 860px) { .page-hero .wrap { grid-template-columns: 1fr; } .page-hero .ph-media { aspect-ratio: 16/9; } }
.crumbs { font-size: .92rem; margin-bottom: 1.25rem; color: #C9C8E0; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.crumbs a { color: #fff; }

/* ---------------------------------------------------------------- Media frames and photo slots */
.media { border-radius: var(--radius-m); overflow: hidden; position: relative; background: linear-gradient(135deg, var(--aptic-navy), var(--aptic-blue)); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4/5; } .media--wide { aspect-ratio: 16/10; } .media--sq { aspect-ratio: 1; }
.media .slot-caption { display: none; }
.media.is-slot { display: flex; align-items: flex-end; background-image: var(--chevron), linear-gradient(135deg, var(--aptic-navy), var(--aptic-blue)); }
.media.is-slot img { display: none; }
.media.is-slot .slot-caption { display: block; color: #fff; padding: 1.25rem; font-size: .92rem; line-height: 1.4; }
.media.is-slot .slot-caption b { display: block; color: var(--aptic-gold); font-family: var(--font-head); font-size: .85rem; margin-bottom: .2rem; }

/* ---------------------------------------------------------------- Need finder */
.finder { display: grid; grid-template-columns: .95fr 1.05fr; gap: var(--space-4); align-items: start; }
@media (max-width: 900px) { .finder { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { font-family: var(--font-head); font-weight: 600; font-size: .98rem; padding: .7rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--aptic-line);
  background: #fff; color: var(--aptic-navy); cursor: pointer; min-height: 44px; }
.chip:hover { border-color: var(--aptic-blue); }
.chip[aria-pressed="true"] { background: var(--aptic-navy); color: #fff; border-color: var(--aptic-navy); }
.finder-result { background: #fff; border: 1px solid var(--aptic-line); border-radius: var(--radius-m); padding: 1.75rem; min-height: 230px; }
.finder-result h3 { margin-bottom: .25rem; }
.finder-result ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.finder-result li a { display: flex; justify-content: space-between; align-items: center; padding: .9rem 0; border-top: 1px solid var(--aptic-line); text-decoration: none; font-family: var(--font-head); font-weight: 650; color: var(--aptic-navy); font-size: 1.1rem; }
.finder-result li a:hover { color: var(--aptic-blue); }
.finder-result li a::after { content: ""; width: 10px; height: 10px; border-top: 2px solid var(--aptic-gold); border-right: 2px solid var(--aptic-gold); transform: rotate(45deg); }

/* ---------------------------------------------------------------- Pillars (ecosystem) */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--aptic-line); }
.pillar { padding: 2rem 1.5rem 2rem 0; border-right: 1px solid var(--aptic-line); }
.pillar + .pillar { padding-left: 1.5rem; }
.pillar:last-child { border-right: 0; }
.pillar h3 { font-size: 1.5rem; }
.pillar p { color: var(--aptic-muted); font-size: 1rem; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr 1fr; } .pillar:nth-child(2) { border-right: 0; } .pillar:nth-child(3) { padding-left: 0; } .pillar:nth-child(n+3) { border-top: 1px solid var(--aptic-line); } }
@media (max-width: 540px) { .pillars { grid-template-columns: 1fr; } .pillar, .pillar + .pillar { padding: 1.5rem 0; border-right: 0; border-top: 1px solid var(--aptic-line); } }

/* ---------------------------------------------------------------- Journey / steps (true sequences only) */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); gap: 0; counter-reset: j; }
.journey li { counter-increment: j; position: relative; padding: 3.25rem 1.25rem 0 0; }
.journey li::before { content: counter(j); position: absolute; top: 0; left: 0; width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 750; background: var(--aptic-gold); color: var(--aptic-navy); z-index: 1; }
.journey li::after { content: ""; position: absolute; top: 1.15rem; left: 2.3rem; right: 0; height: 1px; background: currentColor; opacity: .25; }
.journey li:last-child::after { display: none; }
.journey strong { display: block; font-family: var(--font-head); font-size: 1.2rem; margin-bottom: .3rem; }
.journey span { font-size: .98rem; opacity: .85; }
.section--navy .journey strong { color: #fff; }
@media (max-width: 900px) {
  .journey { grid-template-columns: 1fr; }
  .journey li { padding: 0 0 1.75rem 3.5rem; }
  .journey li::after { top: 2.3rem; left: 1.15rem; right: auto; bottom: 0; width: 1px; height: auto; }
}
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.2rem 1fr; gap: .9rem; padding: .7rem 0; border-top: 1px solid var(--aptic-line); align-items: baseline; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-head); font-weight: 700; color: var(--aptic-blue); font-size: .95rem; }
.section--navy .steps li { border-color: var(--aptic-line-dark); }
.section--navy .steps li::before { color: var(--aptic-gold); }

/* ---------------------------------------------------------------- Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.split--reverse .split-media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split-media { order: 0; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 1.5rem 0; border-top: 1px solid var(--aptic-line); }
.facts div { padding: 1rem 1rem 1rem 0; border-bottom: 1px solid var(--aptic-line); }
.facts dt { font-size: .88rem; color: var(--aptic-muted); }
.facts dd { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--aptic-navy); }
.section--navy .facts, .section--navy .facts div { border-color: var(--aptic-line-dark); }
.section--navy .facts dt { color: #C9C8E0; } .section--navy .facts dd { color: #fff; }
.fineprint { font-size: .9rem; color: var(--aptic-muted); max-width: 70ch; }
.section--navy .fineprint { color: #B7B6D3; }

/* ---------------------------------------------------------------- Solution tiles (featured) */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem; }
.tile { grid-column: span 3; display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: var(--radius-m); overflow: hidden; background: #fff; border: 1px solid var(--aptic-line); transition: border-color .2s; }
.tile:hover { border-color: var(--aptic-blue); color: inherit; }
.tile--wide { grid-column: span 6; }
.tile .media { border-radius: 0; aspect-ratio: 16/10; }
.tile-body { padding: 1.25rem 1.25rem 1.5rem; }
.tile-body h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.tile-body p { font-size: .98rem; color: var(--aptic-muted); margin: 0; }
@media (max-width: 1000px) { .tile, .tile--wide { grid-column: span 6; } }
@media (max-width: 600px) { .tile, .tile--wide { grid-column: span 12; } }

/* ---------------------------------------------------------------- Reason list (why Aptic) */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: var(--space-4); }
.reason { display: grid; grid-template-columns: 1fr 1.6fr; gap: 1.25rem; padding: 1.4rem 0; border-top: 1px solid var(--aptic-line-dark); }
.reason h3 { font-size: 1.15rem; margin: 0; }
.reason p { margin: 0; color: #C9C8E0; }
@media (max-width: 860px) { .reasons { grid-template-columns: 1fr; } .reason { grid-template-columns: 1fr; gap: .3rem; } }

/* ---------------------------------------------------------------- Segments */
.segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.segment { background: #fff; border: 1px solid var(--aptic-line); border-radius: var(--radius-m); overflow: hidden; display: flex; flex-direction: column; }
.segment .media { border-radius: 0; aspect-ratio: 3/2; }
.segment-body { padding: 1.25rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.segment-body ul { margin: 0 0 1rem; padding: 0; list-style: none; font-size: .98rem; color: var(--aptic-muted); }
.segment-body li { padding: .25rem 0 .25rem 1.1rem; position: relative; }
.segment-body li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--aptic-gold); }
.segment-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
@media (max-width: 960px) { .segments { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .segments { grid-template-columns: 1fr; } }
.segment-strip { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.segment-strip a { flex: 0 0 min(240px, 70vw); scroll-snap-align: start; text-decoration: none; color: var(--aptic-navy); }
.segment-strip .media { aspect-ratio: 4/5; margin-bottom: .75rem; }
.segment-strip strong { font-family: var(--font-head); font-size: 1.1rem; }

/* ---------------------------------------------------------------- Platform tabs */
.tabs { display: grid; grid-template-columns: 280px 1fr; gap: var(--space-4); }
@media (max-width: 860px) { .tabs { grid-template-columns: 1fr; } }
.tablist { display: flex; flex-direction: column; border-left: 1px solid var(--aptic-line-dark); }
@media (max-width: 860px) { .tablist { flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--aptic-line-dark); } }
.tab { text-align: left; background: none; border: 0; color: #C9C8E0; font-family: var(--font-head); font-weight: 650; font-size: 1.05rem; padding: .85rem 1.1rem; cursor: pointer; border-left: 3px solid transparent; margin-left: -2px; white-space: nowrap; min-height: 44px; }
.tab[aria-selected="true"] { color: #fff; border-left-color: var(--aptic-gold); }
.tab:hover { color: #fff; }
@media (max-width: 860px) { .tab { border-left: 0; border-bottom: 3px solid transparent; margin: 0 0 -2px; } .tab[aria-selected="true"] { border-bottom-color: var(--aptic-gold); } }
.tabpanel h3 { font-size: var(--step-2); }
.tabpanel ul { columns: 2; column-gap: 2rem; padding-left: 1.1em; color: #D6D5EA; }
@media (max-width: 600px) { .tabpanel ul { columns: 1; } }
.tabpanel[hidden] { display: none; }

/* ---------------------------------------------------------------- Product ledger + detail */
.ledger-table { width: 100%; border-collapse: collapse; }
.ledger-table th, .ledger-table td { text-align: left; padding: 1rem .75rem 1rem 0; border-top: 1px solid var(--aptic-line); vertical-align: top; }
.ledger-table th { font-family: var(--font-head); font-size: .9rem; color: var(--aptic-muted); font-weight: 600; }
.ledger-table td:first-child a { font-family: var(--font-head); font-weight: 700; color: var(--aptic-navy); text-decoration: none; font-size: 1.08rem; }
.ledger-table td:first-child a:hover { color: var(--aptic-blue); text-decoration: underline; }
.ledger-table td { color: var(--aptic-muted); }
.table-scroll { overflow-x: auto; }
@media (max-width: 700px) { .ledger-table .col-for { display: none; } }

.product { padding-block: var(--space-5); border-top: 1px solid var(--aptic-line); display: grid; grid-template-columns: 340px 1fr; gap: clamp(2rem, 1rem + 3vw, 4rem); }
.product:first-of-type { border-top: 0; }
@media (max-width: 960px) { .product { grid-template-columns: 1fr; } }
.product-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; }
@media (max-width: 960px) { .product-aside { position: static; } }
.product-aside .media { aspect-ratio: 4/3; margin-bottom: 1.25rem; }
.product-aside h2 { font-size: var(--step-2); margin-bottom: .5rem; }
.product-aside .short { color: var(--aptic-muted); }
.product-aside dl { margin: 1rem 0; }
.product-aside dl div { padding: .6rem 0; border-top: 1px solid var(--aptic-line); }
.product-aside dt { font-size: .85rem; color: var(--aptic-muted); }
.product-aside dd { margin: 0; font-weight: 600; color: var(--aptic-navy); }
.product-body { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2.5rem; align-content: start; }
.product-body .full { grid-column: 1 / -1; }
.product-body h3 { font-size: 1.05rem; color: var(--aptic-blue); margin-bottom: .5rem; }
.product-body ul { margin: 0; padding-left: 1.1em; }
.product-body li { margin-bottom: .2rem; }
.problem { font-family: var(--font-head); font-size: clamp(1.2rem, 1rem + .7vw, 1.5rem); font-weight: 600; color: var(--aptic-navy); line-height: 1.35; margin: 0; max-width: 40ch; }
@media (max-width: 640px) { .product-body { grid-template-columns: 1fr; } }
.disclaimer { font-size: .9rem; color: var(--aptic-muted); border-left: 3px solid var(--aptic-gold); padding: .4rem 0 .4rem 1rem; margin: 0; }

/* ---------------------------------------------------------------- Compact product cards (trade finance) */
.instruments { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--space-4); }
.instrument { padding: 1.75rem 0; border-top: 1px solid var(--aptic-line); scroll-margin-top: calc(var(--header-h) + 20px); }
.instrument h3 { font-size: 1.35rem; margin-bottom: .35rem; }
.instrument p { margin-bottom: .5rem; }
.instrument .for { font-size: .95rem; color: var(--aptic-muted); }
.instrument .note { font-size: .92rem; color: var(--aptic-blue); }
@media (max-width: 760px) { .instruments { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Insurance families */
.families { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.family { border: 1px solid var(--aptic-line); border-radius: var(--radius-m); padding: 1.5rem; background: #fff; }
.family h3 { font-size: 1.2rem; padding-bottom: .75rem; border-bottom: 2px solid var(--aptic-gold); display: inline-block; }
.family ul { list-style: none; padding: 0; margin: 0; }
.family li { padding: .45rem 0; border-top: 1px solid var(--aptic-line); }
.family li:first-child { border-top: 0; }
@media (max-width: 900px) { .families { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .families { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- People */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.person { text-align: left; background: #fff; border: 1px solid var(--aptic-line); border-radius: var(--radius-m); padding: 1.5rem; cursor: pointer; font: inherit; color: inherit; display: flex; flex-direction: column; gap: .75rem; }
.person:hover { border-color: var(--aptic-blue); }
.monogram { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--aptic-navy); color: var(--aptic-gold); font-family: var(--font-head); font-weight: 750; font-size: 1.3rem; }
.person strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--aptic-navy); display: block; }
.person span { font-size: .95rem; color: var(--aptic-muted); }
.person em { font-style: normal; font-size: .9rem; color: var(--aptic-blue); font-weight: 600; margin-top: auto; }
dialog.bio { border: 0; border-radius: var(--radius-m); padding: 0; max-width: 560px; width: calc(100% - 2rem); box-shadow: 0 30px 80px -20px rgba(15,13,54,.5); }
dialog.bio::backdrop { background: rgba(15,13,54,.6); }
.bio-inner { padding: 2rem; }
.bio-inner h2 { font-size: 1.6rem; margin-bottom: .25rem; }
.bio-inner .role { color: var(--aptic-blue); font-weight: 600; margin-bottom: 1rem; }
.bio-close { position: absolute; top: .75rem; right: .75rem; background: var(--aptic-surface); border: 0; border-radius: 50%; width: 40px; height: 40px; font-size: 1.4rem; cursor: pointer; color: var(--aptic-navy); }

/* ---------------------------------------------------------------- Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--aptic-navy); }
.value { padding: 2rem 2rem 2rem 0; }
.value + .value { padding-left: 2rem; border-left: 1px solid var(--aptic-line); }
.value h3 { font-size: 1.6rem; }
.value p { font-size: 1.1rem; color: var(--aptic-muted); }
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } .value, .value + .value { padding: 1.5rem 0; border-left: 0; border-top: 1px solid var(--aptic-line); } }
.behaviours { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.behaviours li { border: 1px solid var(--aptic-line); border-radius: 999px; padding: .4rem 1rem; font-family: var(--font-head); font-weight: 600; color: var(--aptic-navy); }

/* ---------------------------------------------------------------- Statements (vision/mission) */
.statement { border-left: 3px solid var(--aptic-gold); padding-left: 1.5rem; margin: 0 0 2.5rem; }
.statement h3 { font-size: 1rem; color: var(--aptic-blue); margin-bottom: .5rem; }
.statement p { font-family: var(--font-head); font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); font-weight: 600; color: var(--aptic-navy); line-height: 1.3; max-width: 34ch; margin: 0; }

/* ---------------------------------------------------------------- Governance grid */
.gov-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 var(--space-4); }
.gov-item { padding: 1.5rem 0; border-top: 1px solid var(--aptic-line); }
.gov-item h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.gov-item p { margin: 0; color: var(--aptic-muted); font-size: 1rem; }
@media (max-width: 900px) { .gov-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gov-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Ecosystem diagram */
.eco-diagram { width: 100%; height: auto; max-width: 760px; margin-inline: auto; display: block; }
.eco-diagram text { font-family: var(--font-head); }

/* ---------------------------------------------------------------- Insights */
.insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.insight { border-top: 2px solid var(--aptic-navy); padding-top: 1.1rem; }
.insight .meta { font-size: .9rem; color: var(--aptic-muted); margin-bottom: .4rem; }
.insight h3 { font-size: 1.2rem; }
.insight h3 a { color: var(--aptic-navy); text-decoration: none; }
.insight h3 a:hover { color: var(--aptic-blue); text-decoration: underline; }
@media (max-width: 860px) { .insights { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- FAQ */
.faq details { border-top: 1px solid var(--aptic-line); }
.faq details:last-child { border-bottom: 1px solid var(--aptic-line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.2rem 2.5rem 1.2rem 0; font-family: var(--font-head); font-weight: 650; font-size: 1.12rem; color: var(--aptic-navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--aptic-blue); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 1.2rem; margin: 0; color: var(--aptic-muted); }

/* ---------------------------------------------------------------- Forms */
.form-card { background: #fff; border: 1px solid var(--aptic-line); border-radius: var(--radius-m); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; color: var(--aptic-navy); }
.field .opt { font-weight: 400; color: var(--aptic-muted); font-size: .9rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: .75rem .9rem; border: 1.5px solid #C9CDDA; border-radius: var(--radius-s); background: #fff; color: var(--aptic-ink); min-height: 48px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--aptic-blue); outline: 3px solid rgba(42,52,141,.18); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--err); }
.field .error { color: var(--err); font-size: .9rem; margin-top: .3rem; display: none; }
.field .error.is-visible { display: block; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; align-items: start; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--aptic-navy); }
.form-status { margin-top: 1.25rem; padding: 1.25rem; border-radius: var(--radius-s); background: var(--aptic-gold-soft); display: none; }
.form-status.is-visible { display: block; }
.form-status h3 { font-size: 1.1rem; margin-bottom: .4rem; }

/* ---------------------------------------------------------------- Offices */
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.office { border: 1px solid var(--aptic-line); border-radius: var(--radius-m); padding: 1.5rem; background: #fff; }
.office h3 { font-size: 1.15rem; }
.office address { font-style: normal; color: var(--aptic-muted); margin-bottom: 1rem; }
.office .pending { font-size: .9rem; color: var(--aptic-muted); }
@media (max-width: 860px) { .offices { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Estimator */
.estimator { background: #fff; color: var(--aptic-ink); border-radius: var(--radius-m); padding: 1.75rem; }
.estimator h3 { color: var(--aptic-navy); }
.estimator input[type=range] { width: 100%; accent-color: var(--aptic-navy); }
.estimator output { font-family: var(--font-head); font-weight: 750; font-size: 1.6rem; color: var(--aptic-navy); display: block; }
.estimator .est-row { display: flex; justify-content: space-between; padding: .6rem 0; border-top: 1px solid var(--aptic-line); }
.estimator.is-disabled .est-calc { display: none; }
.est-pending { display: none; color: var(--aptic-muted); }
.estimator.is-disabled .est-pending { display: block; }

/* ---------------------------------------------------------------- CTA band */
.cta-band { text-align: left; }
.cta-band .wrap { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: var(--space-4); }
.cta-band h2 { margin: 0; max-width: 20ch; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 800px) { .cta-band .wrap { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------------------------------------------------------------- Footer */
.site-footer { background: var(--aptic-navy-deep); color: #B7B6D3; font-size: .98rem; padding-top: var(--space-5); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--space-4); padding-bottom: var(--space-4); }
.footer-grid h2 { font-size: 1rem; color: #fff; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .45rem; }
.footer-brand .name { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.25rem; letter-spacing: .02em; }
.footer-brand .tag { color: var(--aptic-gold); font-family: var(--font-head); font-weight: 600; margin-bottom: 1rem; }
.footer-logo { background: #fff; display: inline-block; padding: .6rem .9rem; border-radius: var(--radius-s); margin-bottom: 1rem; }
.footer-logo img { height: 34px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; font-size: .9rem; }
.footer-bottom ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- Floating contact */
.float-wa { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90; display: inline-flex; align-items: center; gap: .55rem; background: #1F7A4D; color: #fff;
  border-radius: 999px; padding: .8rem 1.1rem; font-family: var(--font-head); font-weight: 650; text-decoration: none; box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); }
.float-wa:hover { background: #17603C; color: #fff; }
.float-wa svg { width: 22px; height: 22px; }
@media (max-width: 520px) { .float-wa span { display: none; } .float-wa { padding: .85rem; } }

/* ---------------------------------------------------------------- Misc */
.two-col-list { columns: 2; column-gap: 2rem; }
@media (max-width: 600px) { .two-col-list { columns: 1; } }
.notice { background: var(--aptic-gold-soft); border-radius: var(--radius-s); padding: 1rem 1.25rem; font-size: .95rem; }
.prose h2 { font-size: var(--step-2); margin-top: 2.5rem; }
.prose h3 { margin-top: 1.5rem; }
.prose p, .prose li { max-width: 72ch; }
.center-404 { min-height: 55vh; display: grid; place-items: center; text-align: center; }
.center-404 p { margin-inline: auto; }
.stack > * + * { margin-top: var(--space-3); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }
@media print { .site-header, .utility, .float-wa, .site-footer, .hero-photo { display: none; } body { color: #000; } }

/* Media inside hero frames fills the frame */
.hero-photo .media, .ph-media .media { height: 100%; border-radius: 0; }
.hero-photo .media.is-slot { background: var(--aptic-blue); }
.hero-photo .slot-caption { display: none !important; }
.product-aside .media { border-radius: var(--radius-m); }
/* Platform list (not a sequence) */
.plat-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--aptic-navy); }
.plat-list li { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--aptic-line); }
.plat-list strong { font-family: var(--font-head); color: var(--aptic-navy); }
.plat-list span { color: var(--aptic-muted); }
@media (max-width: 480px) { .plat-list li { grid-template-columns: 1fr; gap: .1rem; } }

.media.is-failed { background-image: var(--chevron), linear-gradient(135deg, var(--aptic-navy), var(--aptic-blue)); }
.media.is-failed img { visibility: hidden; }

/* Leadership headshots with initials fallback */
.headshot { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--aptic-navy); position: relative; display: block; }
.headshot img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.headshot::after { content: attr(data-initials); position: absolute; inset: 0; display: none; place-items: center; color: var(--aptic-gold); font-family: var(--font-head); font-weight: 750; font-size: 1.5rem; }
.headshot.is-failed img { display: none; } .headshot.is-failed::after { display: grid; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Loan calculator
   ========================================================================== */
.calc-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.75rem; border: 0; padding: 0; }
.calc-modes legend { font-family: var(--font-head); font-weight: 650; color: var(--aptic-navy); margin-bottom: .75rem; padding: 0; }
@media (max-width: 720px) { .calc-modes { grid-template-columns: 1fr; } }
.calc-mode { position: relative; display: flex; flex-direction: column; gap: .35rem; cursor: pointer; background: #fff;
  border: 2px solid var(--aptic-line); border-radius: var(--radius-m); padding: 1.35rem 1.4rem 1.25rem; transition: border-color .15s, box-shadow .15s; }
.calc-mode:hover { border-color: var(--aptic-blue); }
.calc-mode input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.calc-mode:has(input:focus-visible) { outline: 3px solid var(--aptic-gold); outline-offset: 3px; }
.calc-mode:has(input:checked) { border-color: var(--aptic-navy); box-shadow: inset 0 0 0 1px var(--aptic-navy), 0 14px 34px -22px rgba(22,19,74,.6); }
.calc-mode .cm-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.calc-mode strong { font-family: var(--font-head); font-size: 1.45rem; color: var(--aptic-navy); line-height: 1.15; }
.calc-mode .cm-sub { color: var(--aptic-muted); font-size: .98rem; }
.calc-mode .cm-check { flex-shrink: 0; display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 700; font-family: var(--font-head);
  color: var(--aptic-muted); border: 1.5px solid var(--aptic-line); border-radius: 999px; padding: .25rem .7rem .25rem .35rem; }
.calc-mode .cm-check::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #A6AABB; box-sizing: border-box; }
.calc-mode:has(input:checked) .cm-check { color: var(--aptic-navy); border-color: var(--aptic-navy); background: var(--aptic-gold-soft); }
.calc-mode:has(input:checked) .cm-check::before { border: 0; background: var(--aptic-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%23F6AA40' stroke-width='2.2'/%3E%3C/svg%3E") center/18px no-repeat; }
.calc-mode .cm-state::after { content: "Choose"; }
.calc-mode:has(input:checked) .cm-state::after { content: "Selected"; }
.calc-mode .cm-feats { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0 .8rem; }
.calc-mode .cm-feats span { font-size: .9rem; background: var(--aptic-surface); color: var(--aptic-navy); border-radius: var(--radius-s); padding: .3rem .6rem; font-weight: 600; }
.calc-mode .cm-cta { margin-top: auto; font-family: var(--font-head); font-weight: 650; color: var(--aptic-blue); border-bottom: 2px solid var(--aptic-gold); align-self: flex-start; padding-bottom: 2px; }

.calc-body { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.5rem; align-items: start; }
@media (max-width: 900px) { .calc-body { grid-template-columns: 1fr; } }
.calc-inputs { background: #fff; border: 1px solid var(--aptic-line); border-radius: var(--radius-m); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.calc-inputs fieldset { border: 0; padding: 0; margin: 0; }
.calc-inputs fieldset[hidden] { display: none; }
.calc-inputs legend { font-family: var(--font-head); font-weight: 750; font-size: 1.25rem; color: var(--aptic-navy); margin-bottom: 1rem; padding: 0; }
.calc-field { margin-bottom: 1.5rem; }
.calc-field:last-child { margin-bottom: 0; }
.calc-field > label, .calc-field .calc-label { display: block; font-weight: 700; color: var(--aptic-navy); margin-bottom: .45rem; }
.calc-amount { display: flex; align-items: stretch; border: 1.5px solid #C9CDDA; border-radius: var(--radius-s); overflow: hidden; background: #fff; }
.calc-amount:focus-within { border-color: var(--aptic-blue); outline: 3px solid rgba(42,52,141,.18); }
.calc-amount span { display: grid; place-items: center; padding: 0 .9rem; background: var(--aptic-surface); color: var(--aptic-navy); font-weight: 700; border-right: 1px solid var(--aptic-line); }
.calc-amount input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 1.25rem; font-weight: 700; color: var(--aptic-navy); padding: .7rem .9rem; min-height: 52px; background: transparent; }
.calc-amount input:focus { outline: none; }
.calc-amount:has([aria-invalid="true"]) { border-color: var(--aptic-navy); border-style: dashed; }
.calc-field select { width: 100%; font: inherit; font-size: 1rem; min-height: 52px; padding: .7rem .9rem; border: 1.5px solid #C9CDDA; border-radius: var(--radius-s); background: #fff; color: var(--aptic-ink); }
.calc-range { width: 100%; margin: 1rem 0 .2rem; height: 32px; accent-color: var(--aptic-navy); cursor: pointer; }
.calc-scale { display: flex; justify-content: space-between; font-size: .85rem; color: var(--aptic-muted); }
.calc-hint { font-size: .9rem; color: var(--aptic-muted); margin: .4rem 0 0; }
.calc-error { margin: .5rem 0 0; padding: .55rem .8rem; border-radius: var(--radius-s); background: var(--aptic-gold-soft); color: var(--aptic-navy); font-weight: 600; font-size: .95rem; border-left: 3px solid var(--aptic-gold); }
.calc-error[hidden] { display: none; }
.calc-locked { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1rem; border-radius: var(--radius-s); background: var(--aptic-surface); border: 1px dashed #C9CDDA; }
.calc-locked strong { font-family: var(--font-head); color: var(--aptic-navy); font-size: 1.1rem; }
.calc-locked span { font-size: .88rem; color: var(--aptic-muted); display: inline-flex; align-items: center; gap: .35rem; }
.calc-tenure-head { display: flex; justify-content: space-between; align-items: baseline; }
.calc-tenure-head output { font-family: var(--font-head); font-weight: 750; font-size: 1.3rem; color: var(--aptic-navy); }

.calc-results { background: var(--aptic-navy); color: #E9E8F5; border-radius: var(--radius-m); padding: clamp(1.4rem, 1rem + 1.5vw, 2rem); position: sticky; top: calc(var(--header-h) + 1rem); }
@media (max-width: 900px) { .calc-results { position: static; } }
.calc-results h3 { color: #fff; font-size: 1.05rem; font-weight: 650; margin: 0 0 .35rem; }
.calc-figure { font-family: var(--font-head); font-weight: 800; color: var(--aptic-gold); font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3.2rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .5rem; word-break: break-word; }
.calc-note { color: #C9C8E0; font-size: .95rem; margin: 0 0 1.1rem; }
.calc-results dl { margin: 0; border-top: 1px solid var(--aptic-line-dark); }
.calc-results dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .62rem 0; border-bottom: 1px solid var(--aptic-line-dark); }
.calc-results dt { color: #C9C8E0; }
.calc-results dd { margin: 0; font-weight: 700; color: #fff; text-align: right; }
.calc-results dl div:last-child dd { color: var(--aptic-gold); }
.calc-results details { margin-top: 1rem; }
.calc-results summary { cursor: pointer; font-family: var(--font-head); font-weight: 650; color: #fff; min-height: 44px; display: flex; align-items: center; }
.calc-table { width: 100%; border-collapse: collapse; margin-top: .5rem; font-size: .95rem; }
.calc-table th, .calc-table td { padding: .45rem .25rem; border-bottom: 1px solid var(--aptic-line-dark); text-align: left; font-weight: 400; }
.calc-table td { text-align: right; font-variant-numeric: tabular-nums; }
.calc-table thead th { color: #C9C8E0; font-size: .85rem; }
.calc-table tfoot th, .calc-table tfoot td { font-weight: 700; color: #fff; }
.calc-results .table-scroll { max-height: 320px; overflow-y: auto; }
.calc-results .fineprint { color: #B7B6D3; margin-top: .6rem; }

.calc-cta { margin-top: 1.5rem; background: #fff; border: 1px solid var(--aptic-line); border-radius: var(--radius-m); padding: 1.5rem; display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: center; }
.calc-cta h3 { margin: 0 0 .25rem; font-size: 1.35rem; }
.calc-cta p { margin: 0; color: var(--aptic-muted); }
.calc-contact { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: .75rem !important; }
.calc-contact a { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 760px) { .calc-cta { grid-template-columns: 1fr; } }
.calc-disclaimer { margin: 1.25rem 0 0; font-size: .92rem; color: var(--aptic-muted); max-width: none; border-left: 3px solid var(--aptic-gold); padding: .3rem 0 .3rem 1rem; }
@media (max-width: 560px) { .calc-amount input, .calc-field select { font-size: 16px; } .calc-amount input { font-size: 1.15rem; } }

.calc-body > *, .calc-inputs fieldset, .calc-field select { min-width: 0; }
.calc-strip { display: grid; grid-template-columns: 1.3fr .7fr; gap: 1.5rem; align-items: center; }
.calc-strip .btn-row { justify-content: flex-end; }
@media (max-width: 760px) { .calc-strip { grid-template-columns: 1fr; } .calc-strip .btn-row { justify-content: flex-start; } }
.calc-tenure-head label { font-weight: 700; color: var(--aptic-navy); }

/* Simplified navigation (Website Redesign Report, Sept 2026) */
.menu--mega3 { width: min(720px, 92vw); grid-template-columns: repeat(3, 1fr); }
.menu--mega3.is-open { display: grid; }
.menu--mega3 h4 { margin-left: .6rem; color: var(--aptic-navy); }
.menu a.mega-all { color: var(--aptic-blue); font-weight: 650; font-family: var(--font-head); font-size: .92rem; margin-top: .35rem; }
.ledger--3 ul { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .ledger--3 ul { grid-template-columns: 1fr 1fr 1fr; } .ledger--3 li:nth-child(3) { border-left: 1px solid var(--aptic-line-dark); } .ledger--3 li:nth-child(n+3) { border-top: 0; } }
@media (max-width: 520px) { .ledger--3 span { display: none; } }
.tiles--3 .tile { grid-column: span 4; }
@media (max-width: 1000px) { .tiles--3 .tile { grid-column: span 6; } }
@media (max-width: 600px) { .tiles--3 .tile { grid-column: span 12; } }
.inst-links { display: flex; gap: 1.25rem; margin: .25rem 0 0; }
.footer-brand .tag { margin-top: .25rem; }

/* ==========================================================================
   Aptic house style for components updated Sept 2026 (calculator schedule, board)
   ========================================================================== */
:root { --house-navy: #1B144A; --house-gold-text: #8A5A12; --font-house-body: "Libre Franklin", "Segoe UI", Roboto, Arial, sans-serif; --font-house-head: "Source Serif 4", Georgia, "Times New Roman", serif; }
.calc { font-family: var(--font-house-body); }
.calc h2, .calc h3, .calc .calc-figure, .calc .calc-mode strong { font-family: var(--font-house-head); letter-spacing: -.01em; }
.calc .calc-results { background: var(--house-navy); }
.calc-date { width: 100%; font: inherit; font-size: 1rem; min-height: 52px; padding: .7rem .9rem; border: 1.5px solid #C9CDDA; border-radius: var(--radius-s); color: var(--aptic-ink); background: #fff; }
.calc-imr-schedule { margin-top: 1.5rem; background: #fff; border: 1px solid var(--aptic-line); border-radius: var(--radius-m); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); }
.calc-imr-schedule[hidden] { display: none; }
.calc-imr-schedule h3 { color: var(--house-navy); font-size: 1.35rem; }
.sched-scroll { max-height: 520px; overflow: auto; border: 1px solid var(--aptic-line); border-radius: var(--radius-s); -webkit-overflow-scrolling: touch; }
.sched-scroll:focus-visible { outline: 3px solid var(--aptic-gold); }
.sched-table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: .95rem; font-variant-numeric: tabular-nums; }
.sched-table th, .sched-table td { padding: .55rem .8rem; text-align: right; border-bottom: 1px solid var(--aptic-line); white-space: nowrap; }
.sched-table th:nth-child(2), .sched-table td:nth-child(2) { text-align: left; }
.sched-table tbody th { text-align: center; font-weight: 700; color: var(--house-navy); }
.sched-table thead th { position: sticky; top: 0; z-index: 2; background: var(--house-navy); color: #fff; font-weight: 600; font-size: .85rem; text-align: right; border-bottom: 2px solid var(--aptic-gold); }
.sched-table thead th:first-child { text-align: center; }
.sched-table thead th:nth-child(2) { text-align: left; }
.sched-table tbody tr:nth-child(even) { background: #F8F9FC; }
.sched-table tbody tr:last-child td, .sched-table tbody tr:last-child th { background: var(--aptic-gold-soft); }
.sched-table tfoot th, .sched-table tfoot td { position: sticky; bottom: 0; background: #EEF0F6; font-weight: 700; color: var(--house-navy); border-top: 2px solid var(--house-navy); }
.sched-table tfoot th { text-align: left; }
.sched-paybill { margin: 1rem 0 .25rem; font-weight: 600; color: var(--house-navy); }
@media (max-width: 640px) { .sched-scroll { max-height: 420px; } .sched-table { font-size: .9rem; } }

/* ---------------------------------------------------------------- Board of Directors (house style) */
.board { font-family: var(--font-house-body); }
.board-head { margin-bottom: 2.5rem; }
.bd-section-title { font-family: var(--font-house-head); font-weight: 600; color: var(--house-navy); font-size: clamp(2rem, 1.5rem + 1.8vw, 2.8rem); letter-spacing: -.01em; margin-bottom: .75rem; }
.bd-rule { display: block; width: 44px; height: 2px; background: var(--aptic-gold); margin: .7rem 0; }
.bd-rule--wide { width: 72px; }
.bd-name { display: block; font-family: var(--font-house-head); font-weight: 600; color: var(--house-navy); font-size: 1.3rem; line-height: 1.2; }
.bd-name--lg { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); }
/* "Gold small caps": brand gold fails contrast as text on white, so a deeper shade of the gold is used */
.bd-title { display: block; font-variant: small-caps; font-variant-caps: all-small-caps; letter-spacing: .08em; font-weight: 600; color: var(--house-gold-text); font-size: 1.02rem; }
.bd-portrait { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: linear-gradient(180deg, #E8EAF0 0%, #D5D9E4 100%); }
.bd-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: saturate(.92) contrast(1.03); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.bd-portrait::after { content: attr(data-initials); position: absolute; inset: 0; display: none; place-items: center; font-family: var(--font-house-head); font-size: 2.6rem; font-weight: 600; color: var(--aptic-gold); background: var(--house-navy); }
.bd-portrait.is-failed img { display: none; } .bd-portrait.is-failed::after { display: grid; }
.bd-card, .bd-feature-btn { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; width: 100%; height: 100%; background: #fff;
  border: 1px solid var(--aptic-line); border-radius: 4px; overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s; }
.bd-card:hover, .bd-feature-btn:hover { box-shadow: 0 18px 40px -22px rgba(32,28,99,.45); border-color: #D2D6E2; transform: translateY(-2px); }
.bd-card:hover img, .bd-feature-btn:hover img { transform: scale(1.03); }
.bd-card:focus-visible, .bd-feature-btn:focus-visible { outline: 3px solid var(--aptic-gold); outline-offset: 3px; }
.bd-card-body { padding: 1.25rem 1.3rem 1.5rem; border-top: 2px solid var(--aptic-gold); }
.bd-grid { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.bd-feature-btn { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; }
.bd-feature-btn .bd-portrait { height: 100%; }
.bd-feature-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); border-left: 2px solid var(--aptic-gold); }
.bd-excerpt { display: block; color: var(--aptic-muted); font-size: 1.08rem; line-height: 1.6; max-width: 58ch; margin: .25rem 0 1.5rem; }
.bd-more { align-self: flex-start; font-weight: 600; color: var(--house-navy); border-bottom: 2px solid var(--aptic-gold); padding-bottom: 2px; }
@media (max-width: 1080px) { .bd-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .bd-feature-btn { grid-template-columns: 1fr; } .bd-feature-btn .bd-portrait { aspect-ratio: 4 / 5; max-height: 460px; }
  .bd-feature-body { border-left: 0; border-top: 2px solid var(--aptic-gold); } }
@media (max-width: 560px) { .bd-grid { grid-template-columns: 1fr; } }
dialog.bd-dialog { max-width: 820px; border-radius: 6px; }
.bd-dialog-inner { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; padding: 2.25rem; font-family: var(--font-house-body); }
.bd-dialog-inner p { color: var(--aptic-ink); line-height: 1.65; margin: 0 0 .9em; }
.bd-dialog-inner .bd-title { margin: 0 0 .3rem; }
.bd-dialog-inner .bd-name { font-size: 1.9rem; margin: 0; }
.bd-portrait--sm { border-radius: 3px; align-self: start; }
@media (max-width: 640px) { .bd-dialog-inner { grid-template-columns: 1fr; padding: 1.5rem; gap: 1.25rem; } .bd-portrait--sm { max-width: 180px; } }
@media (prefers-reduced-motion: reduce) { .bd-card, .bd-feature-btn, .bd-portrait img { transition: none; } .bd-card:hover, .bd-feature-btn:hover { transform: none; } }

/* Imarisha matched photo pair: identical 4:3 crop */
.imr-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.imr-pair figure { margin: 0; }
.media--pair { aspect-ratio: 4 / 3; }
.media--pair img { object-fit: cover; object-position: center; }
.imr-pair figcaption { margin-top: .6rem; font-family: var(--font-house-head); font-weight: 600; color: var(--house-navy); }
@media (max-width: 600px) { .imr-pair { grid-template-columns: 1fr; } }

/* Imarisha daily repayment table (mirrors the approved poster table) */
.rt-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.rt-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 2px solid var(--aptic-gold); border-radius: var(--radius-m); overflow: hidden; font-variant-numeric: tabular-nums; }
.rt-table thead th { background: var(--aptic-gold); color: var(--house-navy); font-family: var(--font-head); font-weight: 750; padding: .85rem 1rem; text-align: center; }
.rt-table td { text-align: center; padding: .8rem 1rem; font-size: 1.15rem; font-weight: 700; color: var(--house-navy); border-top: 1px solid #F1D9AE; }
.rt-table td + td, .rt-table th + th { border-left: 1px solid #F1D9AE; }
.rt-table tbody tr:nth-child(even) td { background: var(--aptic-gold-soft); }
@media (max-width: 760px) { .rt-wrap { grid-template-columns: 1fr; } }

/* AutoBonds portal banner */
.ab-portal { padding-block: var(--space-4); border-bottom: 1px solid var(--aptic-line); }
.ab-portal-inner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: center; }
.ab-portal h2 { font-size: var(--step-2); margin-bottom: .4rem; }
.ab-portal .lead { margin: 0; }
@media (max-width: 760px) { .ab-portal-inner { grid-template-columns: 1fr; } }

/* Contact us dropdown */
.menu--contact { min-width: 300px; left: auto; right: 0; transform: none; }
.menu--contact .menu-title { font-family: var(--font-head); font-weight: 700; color: var(--aptic-blue); font-size: .9rem; margin: 0 .6rem .4rem; }
.menu--contact a span { display: block; }
.menu--contact .menu-foot { margin-top: .5rem; border-top: 1px solid var(--aptic-line); border-radius: 0; padding-top: .75rem; color: var(--aptic-blue); font-weight: 650; font-family: var(--font-head); font-size: .92rem; }
@media (max-width: 1200px) { .menu--contact { min-width: 0; } }

/* Mobile menu fix: backdrop-filter on the header turns it into the containing block for the
   fixed-position drawer, collapsing the drawer. Use a solid header on small screens instead. */
@media (max-width: 1200px) { .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; } }

/* ==========================================================================
   Loan calculator - subtle treatment (Oct 2026). Overrides earlier calculator styles.
   ========================================================================== */
.calc-head { margin-bottom: 1.5rem; }
.calc-head h2 { font-size: var(--step-2); margin-bottom: .35rem; }
.calc-head p { color: var(--aptic-muted); margin: 0; }

/* Loan type: compact two-option switch */
.calc-modes { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 1.75rem;
  background: var(--aptic-surface); border: 1px solid var(--aptic-line); border-radius: 12px; width: min(100%, 640px); }
.calc-modes legend { font-size: .85rem; font-weight: 600; color: var(--aptic-muted); margin-bottom: .5rem; font-family: var(--font-house-body); }
.calc-mode { padding: .7rem 1rem; border: 0; border-radius: 9px; background: transparent; box-shadow: none; gap: .1rem; min-height: 44px; }
.calc-mode:hover { border: 0; background: rgba(255,255,255,.6); }
.calc-mode strong { font-family: var(--font-house-body); font-size: 1rem; font-weight: 600; color: var(--aptic-muted); }
.calc-mode .cm-sum { font-size: .82rem; color: var(--aptic-muted); }
.calc-mode:has(input:checked) { background: #fff; border: 0; box-shadow: 0 1px 3px rgba(32,28,99,.12), inset 0 -2px 0 var(--aptic-gold); }
.calc-mode:has(input:checked) strong { color: var(--house-navy); font-weight: 700; }
.calc-mode:has(input:focus-visible) { outline: 2px solid var(--aptic-blue); outline-offset: 2px; }
@media (max-width: 560px) { .calc-modes { display: grid; } .calc-mode { padding: .6rem .7rem; } .calc-mode .cm-sum { font-size: .76rem; } }

/* Inputs: open layout, lighter controls */
.calc-body { gap: clamp(1.5rem, 1rem + 2.5vw, 3.5rem); }
.calc-inputs { background: transparent; border: 0; padding: 0; }
.calc-inputs legend { display: none; }
.calc-field { margin-bottom: 1.35rem; }
.calc-field > label, .calc-field .calc-label, .calc-tenure-head label { font-size: .92rem; font-weight: 600; color: var(--aptic-ink); }
.calc-amount { border: 1px solid #D3D7E2; border-radius: 8px; }
.calc-amount:focus-within { border-color: var(--house-navy); outline: 3px solid rgba(32,28,99,.08); }
.calc-amount span { background: transparent; border-right: 1px solid var(--aptic-line); color: var(--aptic-muted); font-weight: 600; font-size: .95rem; }
.calc-amount input { font-size: 1.15rem; font-weight: 600; min-height: 48px; }
.calc-field select, .calc-date { border: 1px solid #D3D7E2; border-radius: 8px; min-height: 48px; }
.calc-hint, .calc-scale { font-size: .82rem; }
.calc-locked { background: transparent; border: 0; border-bottom: 1px solid var(--aptic-line); border-radius: 0; padding: .5rem 0; }
.calc-locked strong { font-family: var(--font-house-body); font-size: 1rem; font-weight: 600; }
.calc-tenure-head output { font-family: var(--font-house-body); font-size: 1rem; font-weight: 700; color: var(--house-navy); }
.calc-error { background: transparent; border-left: 2px solid var(--aptic-gold); padding: .2rem 0 .2rem .7rem; font-weight: 500; }

/* Slim slider */
.calc-range { -webkit-appearance: none; appearance: none; height: 28px; background: transparent; margin: .75rem 0 .1rem; }
.calc-range::-webkit-slider-runnable-track { height: 3px; background: #D9DCE6; border-radius: 3px; }
.calc-range::-moz-range-track { height: 3px; background: #D9DCE6; border-radius: 3px; }
.calc-range::-moz-range-progress { height: 3px; background: var(--house-navy); border-radius: 3px; }
.calc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -7.5px; border-radius: 50%; background: #fff; border: 2px solid var(--house-navy); box-shadow: 0 1px 3px rgba(0,0,0,.15); }
.calc-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--house-navy); }
.calc-range:focus-visible { outline: none; }
.calc-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(233,161,59,.45); }
.calc-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(233,161,59,.45); }

/* Results: light panel, navy figure, thin gold accent */
.calc .calc-results { background: #fff; color: var(--aptic-ink); border: 1px solid var(--aptic-line); border-top: 3px solid var(--aptic-gold); border-radius: 10px; padding: 1.5rem 1.6rem; box-shadow: none; }
.calc-results h3 { font-family: var(--font-house-body) !important; font-size: .85rem; font-weight: 600; color: var(--aptic-muted); text-transform: none; letter-spacing: 0; }
.calc .calc-figure { color: var(--house-navy); font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem); font-weight: 600; margin: .1rem 0 .3rem; }
.calc-note { color: var(--aptic-muted); font-size: .88rem; margin-bottom: 1rem; }
.calc-results dl { border-top: 1px solid var(--aptic-line); }
.calc-results dl div { border-bottom: 1px solid var(--aptic-line); padding: .5rem 0; font-size: .93rem; }
.calc-results dt { color: var(--aptic-muted); }
.calc-results dd { color: var(--aptic-ink); font-weight: 600; }
.calc-results dl div:last-child dd { color: var(--house-navy); font-weight: 700; }
.calc-results summary { color: var(--house-navy); font-size: .92rem; }
.calc-table th, .calc-table td { border-bottom: 1px solid var(--aptic-line); }
.calc-table thead th { color: var(--aptic-muted); }
.calc-table tfoot th, .calc-table tfoot td { color: var(--house-navy); }
.calc-results .fineprint { color: var(--aptic-muted); }

/* Schedule: light header, quieter rows */
.calc-imr-schedule { border: 0; padding: 0; background: transparent; margin-top: 2.25rem; }
.calc-imr-schedule h3 { font-family: var(--font-house-body) !important; font-size: 1rem; font-weight: 700; }
.sched-scroll { border: 1px solid var(--aptic-line); border-radius: 8px; max-height: 420px; }
.sched-table { font-size: .9rem; }
.sched-table th, .sched-table td { padding: .5rem .8rem; }
.sched-table thead th { background: var(--aptic-surface); color: var(--aptic-muted); font-weight: 600; font-size: .8rem; border-bottom: 1px solid var(--aptic-line); }
.sched-table tbody th { font-weight: 600; color: var(--aptic-muted); }
.sched-table tbody tr:nth-child(even) { background: transparent; }
.sched-table tbody tr:last-child td, .sched-table tbody tr:last-child th { background: transparent; font-weight: 600; }
.sched-table tfoot th, .sched-table tfoot td { background: var(--aptic-surface); border-top: 1px solid #C9CDDA; font-weight: 700; }
.sched-paybill { font-size: .92rem; font-weight: 500; }

/* CTA: a quiet row instead of a box */
.calc-cta { background: transparent; border: 0; border-top: 1px solid var(--aptic-line); border-radius: 0; padding: 1.5rem 0 0; margin-top: 2rem; }
.calc-cta h3 { font-family: var(--font-house-body) !important; font-size: 1.05rem; font-weight: 700; }
.calc-cta p { font-size: .92rem; }
.calc-contact a { font-size: .92rem; }
.calc-disclaimer { font-size: .82rem; border-left-width: 2px; }
.calc .calc-mode strong { font-family: var(--font-house-body); letter-spacing: 0; }
.sched-table tfoot td { text-align: right !important; }

/* Imarisha schedule behind a "View schedule" toggle */
.sched-details summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .6rem; min-height: 44px;
  font-family: var(--font-house-body); font-weight: 600; color: var(--house-navy); border-bottom: 1px solid var(--aptic-gold); padding-bottom: 2px; }
.sched-details summary::-webkit-details-marker { display: none; }
.sched-details summary::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.sched-details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.sched-details summary:focus-visible { outline: 2px solid var(--aptic-blue); outline-offset: 3px; border-radius: 2px; }
.sched-sum-note { font-weight: 400; font-size: .85rem; color: var(--aptic-muted); }
.sched-details[open] summary { margin-bottom: .9rem; }
.calc-imr-schedule { margin-top: 1.75rem; }

/* Partner logos */
.partner-group { font-size: 1rem; color: var(--aptic-muted); font-weight: 600; margin: 2rem 0 .9rem; }
.partner-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.partner-grid--ins { grid-template-columns: repeat(4, 1fr); max-width: calc(80% - .2rem); }
.partner-grid li { background: #fff; border: 1px solid var(--aptic-line); border-radius: 10px; display: grid; place-items: center; padding: .4rem; transition: border-color .2s, box-shadow .2s; }
.partner-grid li:hover { border-color: #D2D6E2; box-shadow: 0 8px 20px -14px rgba(32,28,99,.35); }
.partner-grid img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: contain; }
@media (max-width: 900px) { .partner-grid, .partner-grid--ins { grid-template-columns: repeat(3, 1fr); max-width: none; } }
@media (max-width: 520px) { .partner-grid, .partner-grid--ins { grid-template-columns: repeat(2, 1fr); gap: .6rem; } }

/* Homepage partner strip */
.partner-strip { border-top: 1px solid var(--aptic-line); }
.pstrip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1.25rem; }
.pstrip-head h2 { font-size: 1.05rem; font-weight: 600; color: var(--aptic-muted); font-family: var(--font-house-body); margin: 0; letter-spacing: 0; }
.pstrip-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: .25rem 1.5rem; align-items: center; }
.pstrip-grid img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: contain; }
@media (max-width: 900px) { .pstrip-grid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 560px) { .pstrip-grid { grid-template-columns: repeat(3, 1fr); gap: .25rem .9rem; } }

/* Imarisha customer information */
.imr-req { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 1rem + 4vw, 5rem); }
.imr-req h2, .imr-use h3 { font-size: var(--step-2); }
.tick-list, .cross-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.tick-list li, .cross-list li { position: relative; padding: .5rem 0 .5rem 1.9rem; border-bottom: 1px solid var(--aptic-line); }
.tick-list li::before { content: ""; position: absolute; left: .2rem; top: .95rem; width: 10px; height: 5px; border-left: 2px solid var(--house-navy); border-bottom: 2px solid var(--house-navy); transform: rotate(-45deg); }
.cross-list li::before, .cross-list li::after { content: ""; position: absolute; left: .25rem; top: 1.05rem; width: 12px; height: 2px; background: #8A8FA8; transform: rotate(45deg); }
.cross-list li::after { transform: rotate(-45deg); }
.imr-notes { list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: .95rem; color: var(--aptic-muted); }
.imr-notes li { padding: .2rem 0; }
.imr-use { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); margin-top: 1.5rem; }
.imr-use h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.journey--7 strong { font-size: 1.05rem; }
.journey--7 span { font-size: .92rem; }
@media (max-width: 1100px) and (min-width: 901px) { .journey--7 { grid-template-columns: repeat(4, 1fr); row-gap: 2rem; } .journey--7 li:nth-child(4)::after { display: none; } }
@media (max-width: 800px) { .imr-req, .imr-use { grid-template-columns: 1fr; } }

/* ==========================================================================
   Homepage hero slider
   ========================================================================== */
.hero--slider { background: var(--aptic-navy); }
.hero--slider::before { display: none; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; position: relative; isolation: isolate; min-height: clamp(520px, 62vh, 640px); display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.slide::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(22,19,74,.94) 0%, rgba(22,19,74,.82) 38%, rgba(22,19,74,.35) 70%, rgba(22,19,74,.15) 100%); }
.slide-inner { padding-top: 3.5rem; padding-bottom: 6.5rem; }
.slide-kicker { display: inline-block; font-family: var(--font-head); font-weight: 650; font-size: .95rem; color: var(--aptic-gold); margin-bottom: .9rem; }
.slide-title { color: #fff; font-size: clamp(2.2rem, 1.4rem + 3.4vw, 4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; max-width: 18ch; margin: 0 0 1rem; }
.slide-title .reveal-line { display: block; }
.slide-sub { color: #E1E0F0; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); max-width: 46ch; margin-bottom: 1.75rem; }
.slide .btn-row { margin-top: .5rem; }
.slide.is-active .slide-inner > * { animation: slideUp .7s cubic-bezier(.2,.7,.2,1) both; }
.slide.is-active .slide-title { animation-delay: .08s; } .slide.is-active .slide-sub { animation-delay: .16s; } .slide.is-active .btn-row { animation-delay: .24s; }
@keyframes slideUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.slider-controls { position: absolute; left: 0; right: 0; bottom: calc(var(--ledger-h, 84px) + 1.25rem); z-index: 3; display: flex; align-items: center; gap: .6rem; }
.sl-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(15,13,54,.35); color: #fff;
  display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(2px); }
.sl-btn:hover { background: rgba(255,255,255,.15); }
.sl-btn svg { width: 20px; height: 20px; }
.sl-pause { margin-left: .4rem; }
.sl-pause .i-play { display: none; } .sl-pause[aria-pressed="true"] .i-pause { display: none; } .sl-pause[aria-pressed="true"] .i-play { display: block; }
.sl-dots { display: flex; gap: .15rem; }
.sl-dot { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; }
.sl-dot::before { content: ""; width: 26px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.4); transition: background .3s, width .3s; }
.sl-dot[aria-current="true"]::before { background: var(--aptic-gold); width: 40px; }
.hero--slider .ledger { position: relative; z-index: 3; }
@media (max-width: 760px) {
  .slide { min-height: 560px; align-items: flex-start; }
  .slide::after { background: linear-gradient(180deg, rgba(22,19,74,.9) 0%, rgba(22,19,74,.8) 55%, rgba(22,19,74,.55) 100%); }
  .slide-inner { padding-top: 2.5rem; padding-bottom: 7rem; }
  .sl-prev, .sl-next { display: none; }
}
@media (prefers-reduced-motion: reduce) { .slide, .slide.is-active { transition: none; } .slide.is-active .slide-inner > * { animation: none; } }
.sl-btn[hidden] { display: none; }
.slide-title { max-width: 24ch; }
#purpose .grid-2 { align-items: center; }
.media--dreams { aspect-ratio: 1374 / 1145; }

/* About: purpose, values, brand attributes, pillars */
.statement-label { font-size: 1rem; color: var(--aptic-blue); margin-bottom: .5rem; }
.statement--lead p { font-size: clamp(1.3rem, 1rem + 1.1vw, 1.8rem); max-width: 30ch; }
.purpose-line { font-family: var(--font-head); font-weight: 600; color: var(--aptic-blue); margin: -1.25rem 0 2.5rem 1.5rem; max-width: 40ch; }
.attributes { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--aptic-line-dark); }
.attributes li { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.15rem, 1rem + .8vw, 1.6rem); color: #fff; padding: 1.5rem 1rem 1.5rem 0; border-bottom: 1px solid var(--aptic-line-dark); position: relative; }
.attributes li::before { content: ""; display: block; width: 28px; height: 3px; background: var(--aptic-gold); margin-bottom: .9rem; }
@media (max-width: 900px) { .attributes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .attributes { grid-template-columns: 1fr 1fr; } }
.pillar-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.pillar-cards a { display: flex; flex-direction: column; gap: .5rem; height: 100%; padding: 1.4rem 1.25rem 1.5rem; border: 1px solid var(--aptic-line); border-top: 3px solid var(--aptic-gold);
  border-radius: 10px; text-decoration: none; color: var(--aptic-ink); background: #fff; transition: box-shadow .2s, border-color .2s; }
.pillar-cards a:hover { box-shadow: 0 14px 30px -20px rgba(22,19,74,.45); border-color: #D2D6E2; border-top-color: var(--aptic-gold); }
.pc-num { font-family: var(--font-head); font-weight: 700; color: var(--aptic-blue); font-size: .9rem; }
.pillar-cards strong { font-family: var(--font-head); font-size: 1.25rem; color: var(--aptic-navy); }
.pc-desc { font-size: .95rem; color: var(--aptic-muted); }
@media (max-width: 1080px) { .pillar-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .pillar-cards { grid-template-columns: 1fr; } }
.footer-logo { background: none; padding: 0; } .footer-logo img { height: 38px; }

/* Homepage vision */
.home-vision { background: var(--aptic-surface); border-top: 1px solid var(--aptic-line); }
.home-vision-inner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; align-items: end; }
.hv-label { font-size: 1rem; color: var(--aptic-blue); margin: 0 0 .5rem; letter-spacing: .02em; }
.hv-text { font-family: var(--font-head); font-weight: 700; color: var(--aptic-navy); font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.25; margin: 0; max-width: 34ch; border-left: 3px solid var(--aptic-gold); padding-left: 1.25rem; }
@media (max-width: 760px) { .home-vision-inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   About page redesign (Oct 2026): bolder use of brand navy, royal blue and gold
   ========================================================================== */
.ab-kicker { font-family: var(--font-head); font-weight: 700; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--aptic-gold); margin: 0 0 .75rem; }
.ab-kicker--dark { color: var(--aptic-blue); }
.ab-section-head { margin-bottom: 2.5rem; }
.ab-section-head h2 { margin: 0; }
.ab-section-head--split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; }
@media (max-width: 860px) { .ab-section-head--split { grid-template-columns: 1fr; } }
.ab-label { font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--aptic-gold); margin: 0 0 1.25rem; }
[class^="ab-"] svg, [class*=" ab-"] svg { width: 1em; height: 1em; display: block; }

/* Hero */
.ab-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 85% -10%, #2A348D 0%, transparent 60%), linear-gradient(160deg, #1B144A 0%, #120F38 100%); padding-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.ab-hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -120px; bottom: -160px; z-index: -1; opacity: .18;
  background: url("../brand/aptic-outline-gold.png") center/contain no-repeat; }
.ab-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.ab-hero .crumbs { color: #C9C8E0; }
.ab-hero h1 { color: #fff; font-size: clamp(2.6rem, 1.8rem + 3.2vw, 4.4rem); margin: 0 0 1rem; }
.ab-lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: #D6D5EA; max-width: 48ch; margin-bottom: 2rem; }
.ab-hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.ab-hero .btn--ghost:hover { background: #fff; color: var(--aptic-navy); }
.ab-hero-media { position: relative; }
.ab-hero-media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--aptic-gold); border-radius: 22px; z-index: 0; }
.ab-hero-media .media { position: relative; z-index: 1; border-radius: 22px; aspect-ratio: 4 / 3.4; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
.ab-facts { list-style: none; margin: clamp(2.5rem, 2rem + 2vw, 4rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.14); }
.ab-facts li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .9rem; padding: 1.6rem 1.25rem 1.8rem 0; }
.ab-facts li + li { border-left: 1px solid rgba(255,255,255,.14); padding-left: 1.25rem; }
.ab-fact-ic { grid-row: span 2; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(244,171,63,.14); color: var(--aptic-gold); font-size: 1.25rem; }
.ab-facts strong { font-family: var(--font-head); font-size: 1.9rem; line-height: 1; color: #fff; }
.ab-facts li > span:last-child { color: #C9C8E0; font-size: .92rem; margin-top: .35rem; }
@media (max-width: 900px) { .ab-hero-grid { grid-template-columns: 1fr; } .ab-facts { grid-template-columns: 1fr 1fr; }
  .ab-facts li:nth-child(3) { border-left: 0; padding-left: 0; } .ab-facts li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); } }
@media (max-width: 480px) { .ab-facts { grid-template-columns: 1fr; } .ab-facts li, .ab-facts li + li { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.14); } .ab-facts li:first-child { border-top: 0; } }

/* Purpose: full-bleed split */
.ab-purpose { display: grid; grid-template-columns: 1.1fr .9fr; background: linear-gradient(135deg, #2A348D 0%, #1B144A 70%); color: #fff; }
.ab-purpose-copy { padding: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(1.5rem, 1rem + 5vw, 6rem); display: flex; flex-direction: column; justify-content: center; }
.ab-purpose-text { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.3; color: #fff; max-width: 30ch; margin: 0 0 1.75rem; }
.ab-purpose-line { font-family: var(--font-head); font-weight: 600; color: var(--aptic-gold); font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); border-left: 3px solid var(--aptic-gold); padding-left: 1rem; max-width: 40ch; margin: 0; }
.ab-purpose-media .media { height: 100%; border-radius: 0; min-height: 360px; }
.ab-purpose-media .media img { object-position: 82% center !important; }
@media (max-width: 860px) { .ab-purpose { grid-template-columns: 1fr; } .ab-purpose-media .media { aspect-ratio: 1374 / 1145; min-height: 0; } }

/* Vision & mission: overlapping bold cards */
.ab-vm { background: var(--aptic-surface); padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.ab-vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; transform: translateY(-2.5rem); margin-bottom: -2.5rem; }
.ab-vm-card { border-radius: 20px; padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); box-shadow: 0 24px 50px -28px rgba(26,23,79,.55); position: relative; overflow: hidden; }
.ab-vm-card h2 { font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; margin: 1rem 0 .75rem; }
.ab-vm-card p { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.3; margin: 0; max-width: 26ch; }
.ab-vm-ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; }
.ab-vm-card--vision { background: var(--aptic-gold); color: var(--aptic-navy); }
.ab-vm-card--vision h2, .ab-vm-card--vision p { color: var(--aptic-navy); }
.ab-vm-card--vision .ab-vm-ic { background: var(--aptic-navy); color: var(--aptic-gold); }
.ab-vm-card--mission { background: var(--aptic-navy); color: #fff; }
.ab-vm-card--mission h2 { color: var(--aptic-gold); } .ab-vm-card--mission p { color: #fff; }
.ab-vm-card--mission .ab-vm-ic { background: rgba(244,171,63,.15); color: var(--aptic-gold); }
.ab-vm-card::after { content: ""; position: absolute; right: -40px; bottom: -50px; width: 190px; height: 190px; opacity: .14; background: url("../brand/aptic-outline-gold.png") center/contain no-repeat; }
.ab-vm-card--vision::after { filter: brightness(0) saturate(100%); opacity: .08; }
@media (max-width: 760px) { .ab-vm-grid { grid-template-columns: 1fr; } }

/* Core values */
.ab-values { background: var(--aptic-surface); padding-top: 0; }
.ab-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ab-value { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid var(--aptic-line); border-bottom: 4px solid var(--aptic-gold);
  transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.ab-value:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(26,23,79,.5); }
.ab-value-top { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 1.6rem; background: linear-gradient(135deg, #1B144A, #2A348D); }
.ab-value-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(244,171,63,.16); color: var(--aptic-gold); font-size: 1.4rem; }
.ab-value-n { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: rgba(255,255,255,.25); }
.ab-value h3 { font-size: 1.45rem; margin: 1.4rem 1.6rem .5rem; }
.ab-value p { margin: 0 1.6rem 1.75rem; color: var(--aptic-muted); font-size: 1.05rem; }
@media (max-width: 860px) { .ab-values-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ab-value, .ab-pillar { transition: none; } .ab-value:hover, .ab-pillar:hover { transform: none; } }

/* Brand attributes */
.ab-attrs { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: linear-gradient(160deg, #1B144A 0%, #120F38 100%); }
.ab-attrs::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--chevron); opacity: .9; }
.ab-attrs h2 { color: #fff; }
.ab-attr-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.ab-attr-grid li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 1.75rem 1.25rem; text-align: center;
  transition: background .25s, border-color .25s; }
.ab-attr-grid li:hover { background: rgba(244,171,63,.1); border-color: rgba(244,171,63,.5); }
.ab-attr-ic { width: 64px; height: 64px; margin: 0 auto 1.1rem; border-radius: 50%; display: grid; place-items: center; background: var(--aptic-gold); color: var(--aptic-navy); font-size: 1.6rem; }
.ab-attr-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: #fff; }
@media (max-width: 1000px) { .ab-attr-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .ab-attr-grid { grid-template-columns: 1fr 1fr; } }

/* Pillars */
.ab-pillars { background: #fff; }
.ab-pillar-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.ab-pillar { display: flex; flex-direction: column; gap: .6rem; height: 100%; padding: 1.5rem 1.35rem 1.4rem; border-radius: 18px; text-decoration: none; color: #fff;
  background: linear-gradient(160deg, #2A348D 0%, #1B144A 100%); transition: transform .25s, box-shadow .25s; position: relative; overflow: hidden; }
.ab-pillar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--aptic-gold); transform: scaleX(.25); transform-origin: left; transition: transform .3s; }
.ab-pillar:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -24px rgba(26,23,79,.6); color: #fff; }
.ab-pillar:hover::after { transform: scaleX(1); }
.ab-pillar-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.ab-pillar-n { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--aptic-gold); }
.ab-pillar-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; font-size: 1.15rem; }
.ab-pillar strong { font-family: var(--font-head); font-size: 1.25rem; }
.ab-pillar-d { color: #D6D5EA; font-size: .95rem; flex: 1; }
.ab-pillar-go { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--aptic-gold); font-size: .92rem; }
.ab-pillar-go svg { font-size: .8rem; transition: transform .2s; } .ab-pillar:hover .ab-pillar-go svg { transform: translateX(3px); }
@media (max-width: 1100px) { .ab-pillar-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .ab-pillar-grid { grid-template-columns: 1fr; } }

/* Partners */
.ab-partners { background: var(--aptic-surface); }
.ab-partners .partner-grid li { border-radius: 14px; }

/* Technology ecosystem chart (redesign) */
.eco-wrap { position: relative; border-radius: 24px; padding: clamp(1rem, .5rem + 2vw, 2.5rem); background: linear-gradient(180deg, #F7F8FC 0%, #EEF0F7 100%); border: 1px solid var(--aptic-line); }
.eco-v2 { max-width: 1000px; font-family: var(--font-head); }
.eco-v2 .eco-card { cursor: pointer; }
.eco-v2 .eco-card rect:first-child { transition: stroke .2s; }
.eco-v2 .eco-card:hover rect:first-child, .eco-v2 .eco-card:focus rect:first-child { stroke: #F6AA40; stroke-width: 2; }
.eco-v2 .eco-card:focus { outline: none; }
.eco-v2 .eco-card:focus-visible rect:first-child { stroke: #2A348D; stroke-width: 3; }
.eco-hint { text-align: center; margin: .5rem 0 0; font-size: .92rem; color: var(--aptic-muted); }
.eco-mobile { display: none; }
@media (max-width: 760px) {
  .eco-v2 { display: none; }
  .eco-mobile { display: block; }
  .eco-hub-m { display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.2rem; border-radius: 16px; background: linear-gradient(135deg, #2A348D, #1B144A); color: #fff; margin-bottom: 1rem; }
  .eco-hub-m img { width: 40px; height: 40px; }
  .eco-hub-m strong { display: block; font-family: var(--font-head); font-size: 1.1rem; }
  .eco-hub-m em { font-style: normal; color: var(--aptic-gold); font-size: .9rem; font-weight: 600; }
  .eco-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
  .eco-list a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .7rem; align-items: center; padding: .8rem; border-radius: 14px; background: #fff; border: 1px solid var(--aptic-line); text-decoration: none; min-height: 64px; }
  .eco-li-ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--aptic-navy); color: var(--aptic-gold); }
  .eco-li-ic svg { width: 18px; height: 18px; fill: currentColor; }
  .eco-list strong { font-family: var(--font-head); color: var(--aptic-navy); font-size: .98rem; line-height: 1.15; }
  .eco-list a > span:last-child { color: var(--aptic-muted); font-size: .82rem; }
}
@media (max-width: 380px) { .eco-list { grid-template-columns: 1fr; } }
.eco-hint { max-width: none; }

/* ==========================================================================
   Chat assistant (Oct 2026)
   ========================================================================== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.float-wa.chat-ready { background: #1B144A; box-shadow: 0 14px 30px -12px rgba(26,23,79,.6); }
.float-wa.chat-ready:hover { background: #2A348D; }
.float-wa.chat-ready svg { color: #F6AA40; fill: currentColor; }
.float-wa .chat-dot { width: 9px; height: 9px; border-radius: 50%; background: #3BD27F; box-shadow: 0 0 0 3px rgba(59,210,127,.25); }
body.chat-is-open .float-wa { opacity: 0; pointer-events: none; }
@media (max-width: 560px) { body.chat-is-open { overflow: hidden; } }

.chat-panel { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 2000; width: min(390px, calc(100vw - 2.2rem)); height: min(620px, calc(100vh - 2.2rem));
  display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--aptic-line);
  box-shadow: 0 30px 70px -25px rgba(26,23,79,.55); font-size: .97rem; }
.chat-panel[hidden] { display: none; }
@media (max-width: 560px) { .chat-panel { right: 0; bottom: 0; width: 100vw; height: 100dvh; border-radius: 0; border: 0; } }
.chat-head { display: flex; align-items: center; gap: .8rem; padding: .95rem 1rem; color: #fff; background: linear-gradient(135deg, #2A348D, #1B144A); }
.chat-head img { width: 34px; height: 34px; }
.chat-head h2 { margin: 0; font-size: 1.05rem; color: #fff; }
.chat-head p { margin: .1rem 0 0; font-size: .8rem; color: #F6AA40; font-weight: 600; }
.chat-close { margin-left: auto; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.1); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.chat-close:hover, .chat-close:focus-visible { background: rgba(255,255,255,.22); }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; background: #F4F6FA; display: flex; flex-direction: column; gap: .75rem; overscroll-behavior: contain; }
.chat-msg { display: flex; flex-direction: column; max-width: 90%; }
.chat-msg--bot { align-self: flex-start; }
.chat-msg--user { align-self: flex-end; align-items: flex-end; }
.chat-bubble { padding: .7rem .9rem; border-radius: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.chat-msg--bot .chat-bubble { background: #fff; color: var(--aptic-ink); border: 1px solid var(--aptic-line); border-top-left-radius: 4px; }
.chat-msg--user .chat-bubble { background: #1B144A; color: #fff; border-top-right-radius: 4px; }
.chat-bubble p { margin: 0 0 .5rem; max-width: none; } .chat-bubble p:last-child { margin-bottom: 0; }
.chat-bubble ul, .chat-bubble ol { margin: .25rem 0 .55rem; padding-left: 1.15rem; } .chat-bubble li { margin: .2rem 0; }
.chat-bubble a { color: #2A348D; font-weight: 700; }
.chat-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.chat-chips button { min-height: 38px; padding: .4rem .8rem; border-radius: 999px; border: 1.5px solid #2A348D; background: #fff; color: #1B144A; font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.chat-chips button:hover, .chat-chips button:focus-visible { background: #1B144A; color: #fff; }
.chat-handoff { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .55rem; }
.chat-handoff a { display: inline-flex; align-items: center; min-height: 38px; padding: .4rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--aptic-line); color: #1B144A; font-weight: 700; font-size: .88rem; text-decoration: none; }
.chat-handoff a.chat-wa { background: #1F7A4D; border-color: #1F7A4D; color: #fff; }
.chat-typing { display: inline-flex; gap: 4px; padding: .85rem 1rem; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: #9AA0B8; animation: chatDot 1s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: .15s; } .chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .chat-typing span { animation: none; } }
.chat-form { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--aptic-line); background: #fff; }
.chat-form input { flex: 1; min-width: 0; min-height: 46px; padding: .6rem .9rem; border: 1.5px solid var(--aptic-line); border-radius: 12px; font: inherit; font-size: 16px; }
.chat-form input:focus { outline: none; border-color: #2A348D; box-shadow: 0 0 0 3px rgba(42,52,141,.18); }
.chat-send { width: 46px; height: 46px; border: 0; border-radius: 12px; background: #F6AA40; color: #1B144A; cursor: pointer; display: grid; place-items: center; }
.chat-send svg { width: 20px; height: 20px; fill: currentColor; }
.chat-send:hover, .chat-send:focus-visible { background: #F6AA40; }
.chat-note { margin: 0; padding: 0 .9rem .6rem; background: #fff; font-size: .74rem; color: var(--aptic-muted); max-width: none; }
.chat-online { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3BD27F; margin-right: .4rem; vertical-align: 1px; }

/* ==========================================================================
   Imarisha page: community initiative (Oct 2026)
   ========================================================================== */
.imr-kicker { font-family: var(--font-head); font-weight: 700; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--aptic-gold); margin: 0 0 .75rem; }
.imr-kicker--dark { color: var(--aptic-blue); }
.imr-ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--aptic-navy); color: var(--aptic-gold); font-size: 1.4rem; flex: none; }
.imr-ic svg { width: 1em; height: 1em; fill: currentColor; }

/* mission band */
.imr-mission { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(3.5rem, 2.5rem + 4vw, 6.5rem) 0;
  background: radial-gradient(900px 500px at 90% 0%, #2A348D 0%, transparent 60%), linear-gradient(160deg, #1B144A 0%, #120F38 100%); }
.imr-mission::before { content: ""; position: absolute; width: 460px; height: 460px; right: -110px; bottom: -150px; z-index: -1; opacity: .16;
  background: url("../brand/aptic-outline-gold.png") center/contain no-repeat; }
.imr-mission h2 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 2.2vw, 3rem); line-height: 1.2; max-width: 26ch; margin: 0 0 1.5rem; }
.imr-mission-sub { color: #D6D5EA; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); max-width: 52ch; border-left: 3px solid var(--aptic-gold); padding-left: 1.1rem; margin: 0; }
.imr-mission-sub em { color: var(--aptic-gold); font-style: normal; font-weight: 700; }

/* commitment cards */
.imr-commit { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.imr-commit-card { background: #fff; border: 1px solid var(--aptic-line); border-bottom: 4px solid var(--aptic-gold); border-radius: 18px; padding: 1.6rem 1.4rem; }
.imr-commit-card h3 { font-size: 1.25rem; margin: 1.1rem 0 .5rem; }
.imr-commit-card p { margin: 0; color: var(--aptic-muted); }
@media (max-width: 1000px) { .imr-commit { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .imr-commit { grid-template-columns: 1fr; } }

/* community trio */
.imr-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.imr-trio-item { margin: 0; }
.imr-trio-item .media { border-radius: 18px; aspect-ratio: 4 / 3.2; }
.imr-trio-item figcaption { font-family: var(--font-head); font-weight: 700; color: var(--aptic-navy); margin-top: .7rem; }
.imr-who { margin-top: 1.75rem; }
@media (max-width: 760px) { .imr-trio { grid-template-columns: 1fr; } }

/* high-tech high-touch */
.imr-hthl { background: linear-gradient(135deg, #2A348D 0%, #1B144A 75%); color: #fff; }
.imr-hthl h2 { color: #fff; margin: 0; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); }
.imr-hthl .lead { color: #fff; }
.imr-hthl p { color: #D6D5EA; }
.imr-hthl-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 2rem 4rem; align-items: start; }
@media (max-width: 860px) { .imr-hthl-inner { grid-template-columns: 1fr; } }

/* promise */
.imr-promise-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem 4rem; align-items: start; }
.imr-promise { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.imr-promise li { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; padding: 1.2rem 1.3rem; border-radius: 16px; background: var(--aptic-surface); border: 1px solid var(--aptic-line); }
.imr-promise-n { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--aptic-gold); line-height: 1.1; }
.imr-promise h3 { font-size: 1.1rem; margin: 0 0 .3rem; }
.imr-promise p { margin: 0; color: var(--aptic-muted); }
@media (max-width: 860px) { .imr-promise-wrap { grid-template-columns: 1fr; } }

/* neighbourhoods */
.imr-hoods-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem 4rem; align-items: center; }
.imr-hoods { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.imr-hood { background: #fff; border: 1px solid var(--aptic-line); border-radius: 18px; padding: 1.4rem 1.2rem; text-align: center; }
.imr-hood .imr-ic { margin: 0 auto .9rem; }
.imr-hood h3 { margin: 0; font-size: 1.25rem; }
.imr-hood p { margin: .25rem 0 0; color: var(--aptic-muted); font-size: .92rem; }
@media (max-width: 860px) { .imr-hoods-wrap { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .imr-hoods { grid-template-columns: 1fr; } }

/* loan details heading + closing */
.imr-loan-head { border-top: 1px solid var(--aptic-line); padding-bottom: 0; }
.imr-close { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(3rem, 2rem + 4vw, 5.5rem) 0;
  background: linear-gradient(160deg, #1B144A 0%, #120F38 100%); }
.imr-close::before { content: ""; position: absolute; width: 380px; height: 380px; left: -120px; top: -140px; z-index: -1; opacity: .14;
  background: url("../brand/aptic-outline-gold.png") center/contain no-repeat; }
.imr-close-inner { display: grid; grid-template-columns: 1.4fr auto; gap: 2rem; align-items: end; }
.imr-close h2 { color: #fff; font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); margin: 0 0 1rem; }
.imr-close .lead { color: #D6D5EA; max-width: 52ch; margin: 0; }
.imr-close .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.imr-close .btn--ghost:hover { background: #fff; color: var(--aptic-navy); }
@media (max-width: 760px) { .imr-close-inner { grid-template-columns: 1fr; } }


/* ==========================================================================
   Aptic brand guide (Oct 2026): colours, gradients, fonts
   Navy #1B144A with a blue glow, gold gradient #FEC842 > #F6AA40 > #E18B38
   ========================================================================== */
:root {
  --aptic-navy: #1B144A; --aptic-navy-deep: #120F38; --aptic-blue: #2A348D; --aptic-glow: #2E3B98;
  --aptic-gold: #F6AA40; --aptic-gold-light: #FEC842; --aptic-gold-deep: #E18B38;
  --grad-navy: radial-gradient(120% 95% at 50% 0%, #2E3B98 0%, #1B144A 58%, #150F3F 100%);
  --grad-gold: linear-gradient(100deg, #FEC842 0%, #F6AA40 48%, #E18B38 100%);
  --font-head: "Outfit", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: "Figtree", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-house-head: var(--font-head); --font-house-body: var(--font-body); --house-navy: var(--aptic-navy);
}
body { font-family: var(--font-body); }
h1, h2, h3, h4 { font-family: var(--font-head); letter-spacing: -.01em; }
.hero, .page-hero, .section--navy { background: var(--grad-navy); }
.btn--gold { background: var(--grad-gold); color: var(--aptic-navy); border-color: transparent; }
.btn--gold:hover, .btn--gold:focus-visible { background: var(--grad-gold); filter: brightness(1.06) saturate(1.05); color: var(--aptic-navy); }
.rt-table thead th { background: var(--grad-gold); }

/* Homepage campaign band: "Let's grow together" (brand guide campaign) */
.brand-band { position: relative; isolation: isolate; overflow: hidden; background: var(--grad-gold); color: var(--aptic-navy); padding: clamp(3rem, 2rem + 3vw, 5rem) 0; }
.brand-band::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72'%3E%3Cpath d='M12 50 L36 26 L60 50' fill='none' stroke='%23FFFFFF' stroke-opacity='.28' stroke-width='1.4'/%3E%3C/svg%3E"); }
.brand-band-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 2rem 3.5rem; align-items: center; }
.brand-band h2 { color: var(--aptic-navy); font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem); line-height: 1.05; margin: 0 0 1rem; }
.brand-band .lead { color: var(--aptic-navy); max-width: 44ch; }
.brand-band-kicker { font-family: var(--font-head); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .9rem; margin: 0 0 .75rem; color: var(--aptic-navy); opacity: .8; }
.brand-band .btn--gold { background: var(--aptic-navy); color: #fff; }
.brand-band .btn--gold:hover { background: var(--aptic-blue); filter: none; color: #fff; }
.brand-band .btn--ghost { color: var(--aptic-navy); border-color: var(--aptic-navy); }
.brand-band .btn--ghost:hover { background: var(--aptic-navy); color: #fff; }
.brand-band-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.brand-band-photos .media { border-radius: 18px; aspect-ratio: 1065 / 814; box-shadow: 0 24px 48px -26px rgba(27,20,74,.55); }
.brand-band-photos .media:nth-child(2) { transform: translateY(1.75rem); }
@media (max-width: 860px) { .brand-band-inner { grid-template-columns: 1fr; } .brand-band-photos .media:nth-child(2) { transform: none; } }
.imr-hthl-inner { grid-template-columns: .95fr 1.05fr; align-items: center; }
.imr-hthl-media .media { border-radius: 20px; aspect-ratio: 4 / 3; box-shadow: 0 26px 50px -28px rgba(0,0,0,.6); }
.imr-hthl h2 { margin-bottom: 1rem; }
.brand-band-photos .media img { object-position: center top !important; }
.brand-band-photos { align-items: start; }

/* ==========================================================================
   Careers page (Oct 2026)
   ========================================================================== */
.crr-kicker { font-family: var(--font-head); font-weight: 700; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; color: var(--aptic-gold); margin: 0 0 .75rem; }
.crr-kicker--dark { color: var(--aptic-blue); }
.crr-ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--aptic-navy); color: var(--aptic-gold); font-size: 1.4rem; flex: none; }
.crr-ic svg { width: 1em; height: 1em; fill: currentColor; }

.crr-purpose { background: var(--grad-gold); color: var(--aptic-navy); padding: clamp(2.75rem, 2rem + 3vw, 4.5rem) 0; }
.crr-purpose-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem 4rem; align-items: center; }
.crr-purpose h2 { color: var(--aptic-navy); margin: 0; font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); line-height: 1.1; }
.crr-purpose .crr-kicker { color: var(--aptic-navy); opacity: .8; }
.crr-purpose .lead { color: var(--aptic-navy); margin: 0; }
@media (max-width: 860px) { .crr-purpose-inner { grid-template-columns: 1fr; } }

.crr-why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.crr-why-card { background: #fff; border: 1px solid var(--aptic-line); border-bottom: 4px solid var(--aptic-gold); border-radius: 18px; padding: 1.6rem 1.5rem; }
.crr-why-card h3 { font-size: 1.25rem; margin: 1.1rem 0 .45rem; }
.crr-why-card p { margin: 0; color: var(--aptic-muted); }
@media (max-width: 1000px) { .crr-why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .crr-why { grid-template-columns: 1fr; } }

.crr-split .split-media .media { border-radius: 20px; }

.crr-teams { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.crr-teams li { padding: 1.3rem 1.2rem 1.4rem; border-radius: 16px; background: var(--aptic-surface); border: 1px solid var(--aptic-line); }
.crr-team-n { font-family: var(--font-head); font-weight: 800; color: var(--aptic-gold); font-size: 1.15rem; }
.crr-teams h3 { font-size: 1.1rem; margin: .5rem 0 .35rem; }
.crr-teams p { margin: 0; color: var(--aptic-muted); font-size: .95rem; }
@media (max-width: 1100px) { .crr-teams { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .crr-teams { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .crr-teams { grid-template-columns: 1fr; } }

.crr-empty { display: flex; gap: 1.4rem; align-items: flex-start; background: #fff; border: 1px solid var(--aptic-line); border-radius: 20px; padding: clamp(1.5rem, 1rem + 2vw, 2.4rem); max-width: 860px; }
.crr-empty h3 { margin: 0 0 .5rem; font-size: 1.35rem; }
.crr-empty p { color: var(--aptic-muted); margin: 0 0 1.25rem; }
@media (max-width: 560px) { .crr-empty { flex-direction: column; } }
.crr-roles { display: grid; gap: 1rem; }
.crr-role { background: #fff; border: 1px solid var(--aptic-line); border-radius: 18px; padding: 1.5rem; }
.crr-role-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.crr-role-dept { margin: 0; font-weight: 700; color: var(--aptic-blue); font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.crr-role h3 { margin: .2rem 0 0; font-size: 1.35rem; }
.crr-role-meta { list-style: none; padding: 0; margin: .9rem 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.crr-role-meta li { padding: .3rem .75rem; border-radius: 999px; background: var(--aptic-surface); border: 1px solid var(--aptic-line); font-size: .88rem; font-weight: 600; color: var(--aptic-navy); }
.crr-role-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1rem; }
@media (max-width: 700px) { .crr-role-cols { grid-template-columns: 1fr; } .crr-role-head { flex-direction: column; } }

.crr-talent { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem 4rem; align-items: start; }
.crr-how { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: grid; gap: .6rem; }
.crr-how li { display: grid; grid-template-columns: 6rem 1fr; gap: .75rem; padding: .8rem 1rem; border-radius: 12px; background: var(--aptic-surface); border: 1px solid var(--aptic-line); }
.crr-how strong { color: var(--aptic-navy); }
.crr-notice { background: var(--aptic-gold-soft, #FBF1DF); border: 1px solid #F1D9AE; border-radius: 18px; padding: 1.5rem; }
.crr-notice h3 { margin: 0 0 .6rem; font-size: 1.15rem; }
.crr-notice p { margin: 0 0 .7rem; font-size: .97rem; } .crr-notice p:last-child { margin: 0; }
@media (max-width: 860px) { .crr-talent { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .crr-how li { grid-template-columns: 1fr; gap: .2rem; } }

.crr-close { background: var(--grad-navy); color: #fff; padding: clamp(3rem, 2rem + 3vw, 5rem) 0; position: relative; isolation: isolate; overflow: hidden; }
.crr-close::before { content: ""; position: absolute; width: 360px; height: 360px; right: -100px; bottom: -130px; z-index: -1; opacity: .16; background: url("../brand/aptic-outline-gold.png") center/contain no-repeat; }
.crr-close-inner { display: grid; grid-template-columns: 1.3fr auto; gap: 2rem; align-items: end; }
.crr-close h2 { color: #fff; margin: 0 0 .75rem; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); }
.crr-close .lead { color: #D6D5EA; margin: 0; }
.crr-close .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.crr-close .btn--ghost:hover { background: #fff; color: var(--aptic-navy); }
@media (max-width: 760px) { .crr-close-inner { grid-template-columns: 1fr; } }

/* ==========================================================================
   Site search (Oct 2026)
   ========================================================================== */
.search-toggle { flex: none; width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 12px; color: var(--aptic-navy); border: 1px solid var(--aptic-line); background: #fff; transition: background .2s, color .2s, border-color .2s; }
.search-toggle svg { width: 20px; height: 20px; fill: currentColor; }
.search-toggle:hover, .search-toggle:focus-visible, .search-toggle[aria-expanded="true"] { background: var(--aptic-navy); color: #fff; border-color: var(--aptic-navy); }
@media (max-width: 1200px) { .search-toggle { order: 2; margin-left: auto; } .menu-toggle { order: 3; margin-left: 0; } }

.srch { position: fixed; inset: 0; z-index: 2100; display: flex; justify-content: center; align-items: flex-start; padding: clamp(.75rem, 4vh, 5rem) 1rem 1rem; }
.srch[hidden] { display: none; }
.srch-backdrop { position: absolute; inset: 0; background: rgba(18,15,56,.6); backdrop-filter: blur(3px); }
.srch-panel { position: relative; width: min(720px, 100%); max-height: calc(100vh - 2rem); display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); }
.srch-form { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem .9rem 1.2rem; border-bottom: 1px solid var(--aptic-line); }
.srch-ic { width: 22px; height: 22px; fill: var(--aptic-blue); flex: none; }
.srch-form input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 1.15rem; padding: .55rem 0; color: var(--aptic-ink); background: transparent; }
.srch-form input::-webkit-search-cancel-button { display: none; }
.srch-close { flex: none; min-height: 36px; padding: .35rem .7rem; border-radius: 8px; border: 1px solid var(--aptic-line); background: var(--aptic-surface); font: inherit; font-size: .8rem; font-weight: 700; color: var(--aptic-muted); cursor: pointer; }
.srch-close:hover, .srch-close:focus-visible { background: var(--aptic-navy); color: #fff; }
.srch-body { overflow-y: auto; padding: .6rem; overscroll-behavior: contain; }
.srch-suggest { padding: .6rem .6rem 1rem; }
.srch-label { margin: 0 0 .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--aptic-muted); }
.srch-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.srch-chips button { min-height: 38px; padding: .4rem .85rem; border-radius: 999px; border: 1.5px solid var(--aptic-line); background: #fff; color: var(--aptic-navy); font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; }
.srch-chips button:hover, .srch-chips button:focus-visible { border-color: var(--aptic-navy); background: var(--aptic-navy); color: #fff; }
.srch-list, .srch-results { list-style: none; margin: 0; padding: 0; }
.srch-hit { display: grid; gap: .15rem; padding: .8rem .9rem; border-radius: 12px; text-decoration: none; color: var(--aptic-ink); }
.srch-list li.is-active .srch-hit, .srch-hit:hover, .srch-hit:focus-visible { background: var(--aptic-surface); outline: none; }
.srch-list li.is-active .srch-hit { box-shadow: inset 3px 0 0 var(--aptic-gold); }
.srch-crumb { font-size: .78rem; font-weight: 700; color: var(--aptic-blue); text-transform: uppercase; letter-spacing: .06em; }
.srch-title { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--aptic-navy); }
.srch-snip { font-size: .92rem; color: var(--aptic-muted); line-height: 1.45; }
.srch mark, .srch-results mark { background: #FDE7B8; color: inherit; border-radius: 3px; padding: 0 .08em; }
.srch-more a { display: block; margin: .3rem .3rem .2rem; padding: .7rem; text-align: center; border-radius: 12px; font-weight: 700; color: var(--aptic-navy); background: var(--aptic-surface); text-decoration: none; }
.srch-status { margin: 0; padding: .4rem .9rem .8rem; color: var(--aptic-muted); }
.srch-status:empty { display: none; }
body.srch-open { overflow: hidden; }
@media (max-width: 560px) { .srch { padding: 0; } .srch-panel { max-height: 100dvh; height: 100dvh; border-radius: 0; } }

.srch-page { max-width: 860px; }
.srch-page-form { display: flex; gap: .6rem; }
.srch-page-form input { flex: 1; min-width: 0; min-height: 52px; padding: .7rem 1rem; border: 1.5px solid var(--aptic-line); border-radius: 12px; font: inherit; font-size: 1.05rem; }
.srch-page-form input:focus { outline: none; border-color: var(--aptic-blue); box-shadow: 0 0 0 3px rgba(42,52,141,.18); }
.srch-summary { margin: 1.25rem 0 .75rem; color: var(--aptic-muted); }
.srch-results { display: grid; gap: .4rem; }
.srch-results .srch-hit { border: 1px solid var(--aptic-line); background: #fff; padding: 1rem 1.1rem; }
.srch-results .srch-hit:hover { border-color: var(--aptic-blue); }

/* Careers: photos and internships (Oct 2026) */
.crr-desk .media { aspect-ratio: 4 / 4.6; border-radius: 20px; }
.crr-roles-wrap { display: grid; grid-template-columns: 1.35fr .65fr; gap: 2rem 3rem; align-items: center; }
.crr-roles-media .media { border-radius: 20px; aspect-ratio: 1 / 1; box-shadow: 0 24px 48px -28px rgba(27,20,74,.45); }
@media (max-width: 860px) { .crr-roles-wrap { grid-template-columns: 1fr; } .crr-roles-media .media { aspect-ratio: 16 / 10; } }
.crr-intern { background: var(--grad-navy); color: #fff; position: relative; isolation: isolate; overflow: hidden; }
.crr-intern-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem 4rem; align-items: center; }
.crr-intern h2 { color: #fff; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); margin: 0 0 1rem; }
.crr-intern .lead { color: #fff; }
.crr-intern-media .media { border-radius: 22px; aspect-ratio: 1 / 1; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.crr-intern-list { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; gap: .75rem; }
.crr-intern-list li { padding: .9rem 1.1rem .9rem 2.6rem; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #D6D5EA; position: relative; }
.crr-intern-list li::before { content: ""; position: absolute; left: 1.05rem; top: 1.2rem; width: 10px; height: 10px; border-radius: 50%; background: var(--aptic-gold); }
.crr-intern-list strong { color: #fff; }
.crr-intern-how { color: #D6D5EA; font-size: .98rem; margin: 0 0 1.5rem; }
.crr-intern-how a { color: var(--aptic-gold); font-weight: 700; }
.crr-intern-how strong { color: #fff; }
@media (max-width: 860px) { .crr-intern-inner { grid-template-columns: 1fr; } .crr-intern-media .media { aspect-ratio: 16 / 10; } }

/* ---------- Careers email chooser ---------- */
.mailpick { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px; background: rgba(15, 11, 45, .62); }
.mailpick[hidden] { display: none; }
.mailpick-open { overflow: hidden; }
.mailpick-box { position: relative; width: min(460px, 100%); background: #fff; color: var(--aptic-navy); border-radius: 20px; padding: 2rem 1.6rem 1.5rem; box-shadow: 0 24px 60px rgba(15, 11, 45, .35); }
.mailpick-box h2 { margin: 0 0 .5rem; font-size: 1.35rem; }
.mailpick-box p { margin: 0 0 1.2rem; color: #4A4766; overflow-wrap: anywhere; }
.mailpick-box p strong { color: var(--aptic-navy); }
.mailpick-opts { display: grid; gap: .6rem; }
.mailpick-opts .btn { width: 100%; justify-content: center; text-align: center; }
.mailpick-opts .btn--ghost { color: var(--aptic-navy); border-color: rgba(27, 20, 74, .25); background: transparent; }
.mailpick-opts .btn--ghost:hover { background: rgba(27, 20, 74, .06); }
.mailpick-note { margin: .9rem 0 0 !important; font-size: .92rem; min-height: 1.2em; color: var(--aptic-blue) !important; font-weight: 600; }
.mailpick-x { position: absolute; top: .6rem; right: .7rem; width: 40px; height: 40px; border: 0; background: none; font-size: 1.8rem; line-height: 1; color: var(--aptic-navy); cursor: pointer; border-radius: 50%; }
.mailpick-x:hover { background: rgba(27, 20, 74, .07); }
