/* ============================================================
   AINA — Main Stylesheet
   Component system. Every page assembles from these blocks.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--f-body);
  background: var(--paper);
  color: var(--ink);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
.field input, .field select, .field textarea, .prose, .lead, p { overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--brass); color: var(--white); }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: var(--r-sm); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem; border-radius: var(--r-sm);
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: var(--maxw-narrow); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: var(--band-y); }
.band-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.band-head .lead { margin-top: 1.1rem; }
.divider { height: 1px; background: var(--line); border: 0; }

/* ---------- Type primitives ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.07; letter-spacing: -0.02em; }
.eyebrow {
  font-family: var(--f-body); font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-dk);
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--brass); }
.eyebrow.on-dark { color: var(--d-accent); }
.eyebrow.on-dark::before { background: var(--d-accent); }

.h-display { font-size: var(--fs-display); font-weight: 600; }
.h-section { font-size: var(--fs-h2); max-width: 22ch; }
.lead { font-size: var(--fs-lead); color: var(--muted); max-width: 52ch; }
.serif-thesis {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.9rem, 4.6vw, 3.4rem); line-height: 1.16; letter-spacing: -0.01em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--f-body); font-weight: 600; font-size: .98rem;
  padding: .9rem 1.5rem; border-radius: var(--r-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--navy); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-primary.on-dark { background: var(--white); color: var(--ink); }
.btn-primary.on-dark:hover { background: #E9ECEE; }
.btn-secondary.on-dark { color: #fff; border-color: rgba(255,255,255,.28); }
.btn-secondary.on-dark:hover { border-color: #fff; }
.btn-lg { padding: 1.05rem 1.8rem; font-size: 1.02rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,247,246,.82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: baseline; gap: .5rem; font-family: var(--f-display); font-weight: 700; letter-spacing: -.01em; font-size: 1.22rem; color: var(--ink); }
.brand .mark { color: var(--brass-dk); }
.brand small { font-family: var(--f-body); font-weight: 500; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); align-self: center; }
.nav-main { display: flex; align-items: center; gap: 1.9rem; }
.nav-item { position: relative; }
.nav-item > a, .nav-item > button {
  font-family: var(--f-body); font-size: .94rem; color: var(--muted); font-weight: 500;
  background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: .3rem;
  transition: color .15s var(--ease); padding-block: .5rem;
}
.nav-item > a:hover, .nav-item > button:hover, .nav-item.active > a { color: var(--ink); }
.nav-item .caret { width: 10px; height: 10px; transition: transform .2s var(--ease); }
.nav-item.open .caret { transform: rotate(180deg); }
.nav-right { display: flex; align-items: center; gap: 1.4rem; }
.nav-right .link-careers { font-size: .94rem; color: var(--muted); font-weight: 500; }
.nav-right .link-careers:hover { color: var(--ink); }

/* dropdown */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-overlay); padding: .5rem; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: .6rem .8rem; border-radius: var(--r-sm); font-size: .92rem; color: var(--ink); }
.dropdown a:hover { background: var(--paper); }

/* mega panel */
.mega {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(6px);
  width: min(900px, 92vw); background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-overlay); padding: 2rem;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem;
  opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav-item.open .mega { opacity: 1; visibility: visible; transform: translateX(-50%); }
.mega h4 { font-family: var(--f-body); font-size: var(--fs-eyebrow); letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1rem; font-weight: 600; }
.mega .mega-link { display: block; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.mega .mega-link:last-child { border-bottom: 0; }
.mega .mega-link strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1rem; color: var(--ink); }
.mega .mega-link span { font-size: .85rem; color: var(--muted); }
.mega .mega-link:hover strong { color: var(--brass-dk); }
.mega .mega-feature { background: var(--navy); color: #fff; border-radius: var(--r-md); padding: 1.4rem; display: flex; flex-direction: column; justify-content: space-between; }
.mega .mega-feature .eyebrow { color: var(--d-accent); }
.mega .mega-feature .eyebrow::before { background: var(--d-accent); }
.mega .mega-feature p { color: var(--d-muted); font-size: .92rem; margin-block: .8rem 1.2rem; }
.mega .mega-feature a { color: var(--d-accent); font-weight: 600; font-size: .9rem; }

.menu-btn { display: none; background: none; border: 0; cursor: pointer; color: var(--ink); }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 120; background: var(--paper); transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; }
.drawer.open { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding-inline: var(--gutter); border-bottom: 1px solid var(--line); }
.drawer-nav { padding: var(--s-6) var(--gutter); display: flex; flex-direction: column; gap: .3rem; }
.drawer-nav a { font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; padding-block: .7rem; border-bottom: 1px solid var(--line); }
.drawer-nav .sub { font-family: var(--f-body); font-size: 1rem; font-weight: 500; color: var(--muted); padding-left: 1rem; }
.drawer .btn { margin-top: var(--s-5); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(3.5rem, 8vw, 6.5rem); }
.hero h1 { max-width: 15ch; }
.hero .lead { margin-top: 1.6rem; max-width: 54ch; }
.hero .cta-row { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-rule { margin-top: clamp(3rem, 6vw, 4.5rem); height: 1px; background: var(--line); position: relative; }
.hero-rule::after { content:""; position:absolute; left:0; top:0; height:1px; width:0; background: var(--brass); animation: drawline 1.4s .5s var(--ease) forwards; }
@keyframes drawline { to { width: 130px; } }
.hero-meta { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 2.2rem; }
.hero-meta div { font-size: .92rem; color: var(--muted); }
.hero-meta strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); letter-spacing: -.01em; }

/* page hero (interior) */
.page-hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.page-hero h1 { font-size: var(--fs-h1); max-width: 18ch; margin-top: 1.1rem; }
.page-hero .lead { margin-top: 1.4rem; }

/* breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: .35rem .5rem; align-items: center; font-size: var(--fs-cap); color: var(--muted-2); }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { opacity: .5; }

/* ---------- Dark section ---------- */
.section-dark { background: var(--navy); color: var(--d-text); position: relative; overflow: hidden; }
.section-dark::before { content:""; position:absolute; inset:0; background: radial-gradient(1200px 600px at 85% -10%, rgba(174,138,78,.10), transparent 60%); pointer-events:none; }
.section-dark .lead { color: var(--d-muted); }
.thesis-em { color: var(--d-accent); }
.shift-body { margin-top: 2rem; max-width: 56ch; color: var(--d-muted); }

/* ---------- Ledger (build vs partner) ---------- */
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.ledger .col { border: 1px solid var(--line); background: var(--white); border-radius: var(--r-md); padding: clamp(1.5rem, 3vw, 2.25rem); }
.ledger .col.aina { border-color: var(--ink); }
.col-top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1.1rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.col-top h3 { font-size: 1.2rem; }
.tag { font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .6rem; border-radius: var(--r-sm); }
.tag.years { color: var(--muted); background: var(--paper); border: 1px solid var(--line); }
.tag.now { color: #fff; background: var(--ink); }
.ledger ul { list-style: none; display: flex; flex-direction: column; gap: .85rem; }
.ledger li { display: flex; gap: .7rem; font-size: .98rem; align-items: flex-start; }
.ledger .col:not(.aina) li { color: var(--muted); }
.ledger li .ic { flex: none; margin-top: .18rem; width: 15px; height: 15px; }
.moat-note { margin-top: 1.75rem; font-size: 1.05rem; color: var(--muted); max-width: 64ch; }
.moat-note b { color: var(--ink); font-weight: 600; }

/* ---------- Pillars ---------- */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pillar { padding-top: 2rem; border-top: 2px solid var(--ink); }
.pillar .idx { font-family: var(--f-display); font-weight: 600; font-size: .85rem; color: var(--brass-dk); letter-spacing: .04em; }
.pillar h3 { font-size: 1.5rem; margin-top: .9rem; }
.pillar p { margin-top: .9rem; color: var(--muted); font-size: 1rem; }
.pillar .chips { margin-top: 1.3rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font-size: .83rem; color: var(--ink); border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: .32rem .66rem; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.step { border-top: 1px solid var(--line-2); padding-top: 1.4rem; }
.step .num { font-family: var(--f-display); font-weight: 600; font-size: .9rem; color: var(--brass-dk); letter-spacing: .06em; }
.step h3 { font-size: 1.25rem; margin-top: .7rem; }
.step p { margin-top: .6rem; color: var(--muted); font-size: .96rem; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.stat { border-left: 2px solid var(--brass); padding-left: 1.1rem; }
.stat .n { font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -.02em; line-height: 1; }
.stat .l { margin-top: .55rem; font-size: .9rem; color: var(--muted); }

/* ---------- Logos ---------- */
.logos-label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; margin-bottom: 1.3rem; }
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.logo-cell { background: var(--paper); aspect-ratio: 16/7; display: flex; align-items: center; justify-content: center; color: var(--muted-2); font-size: .8rem; }
.logos.network .logo-cell { background: var(--white); aspect-ratio: auto; min-height: 108px; padding: 1.25rem; text-align: center; font-family: var(--f-display); font-weight: 600; font-size: .98rem; letter-spacing: -.01em; color: var(--ink); line-height: 1.25; }
.logo-img { max-height: 42px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(100%); opacity: .72; transition: filter var(--dur) var(--ease), opacity var(--dur) var(--ease); }
.logo-cell:hover .logo-img { filter: grayscale(0); opacity: 1; }
.logo-name { display: none; }
.logo-cell.no-logo .logo-img { display: none; }
.logo-cell.no-logo .logo-name { display: block; }
/* Distribution network — typographic treatment.
   Logo images can replace this later once brand permission is obtained;
   see /images/logos/README.txt */
.network-intro { font-size: var(--fs-lead); color: var(--muted); max-width: 68ch; margin-top: 1.1rem; }
.network-list { border-bottom: 1px solid var(--line); }
.network-row { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; padding: 1.6rem 0; border-top: 1px solid var(--line); transition: padding-left var(--dur) var(--ease); }
.network-row:hover { padding-left: .5rem; }
.network-row h3 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.2rem, 2.2vw, 1.55rem); letter-spacing: -.015em; color: var(--ink); }
.network-row .net-cat { font-size: .88rem; color: var(--muted); text-align: right; flex: none; max-width: 46%; line-height: 1.4; }
@media (max-width: 620px) {
  .network-row { flex-direction: column; gap: .3rem; align-items: flex-start; }
  .network-row .net-cat { text-align: left; max-width: 100%; }
}
.network-note { margin-top: 1.2rem; font-size: .82rem; color: var(--muted-2); max-width: 72ch; }

/* ---------- Cards (generic / who / industry / value) ---------- */
.card-grid { display: grid; gap: 1.25rem; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.tcard { border-top: 1px solid var(--line); padding-top: 1.3rem; }
.tcard h3 { font-size: 1.12rem; }
.tcard p { margin-top: .5rem; color: var(--muted); font-size: .95rem; }
.surface { background: var(--white); border-block: 1px solid var(--line); }

/* feature list (capability what/how/get) */
.feature-rows { display: flex; flex-direction: column; gap: 0; }
.feature-row { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; padding-block: 2rem; border-top: 1px solid var(--line); }
.feature-row .k { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; }
.feature-row .v { color: var(--muted); }
.feature-row .v p + p { margin-top: .8rem; }

/* timeline */
.timeline { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.tl-item { display: grid; grid-template-columns: 120px 1fr; gap: 2.5rem; padding-block: 2.2rem; border-bottom: 1px solid var(--line); border-top: 0; position: relative; }
.tl-item .yr { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--brass-dk); letter-spacing: -.02em; padding-top: .1rem; }
.tl-item h3 { font-size: clamp(1.2rem, 2.1vw, 1.5rem); letter-spacing: -.015em; }
.tl-item .tl-when { margin-top: .45rem; font-family: var(--f-body); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.tl-item p { margin-top: .8rem; color: var(--muted); max-width: 68ch; }

/* founder */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem,5vw,4rem); align-items: start; margin-top: 1.6rem; }
.founder-photo { aspect-ratio: 4/5; border-radius: var(--r-md); overflow: hidden; background: linear-gradient(150deg, var(--navy-2), var(--d-surface)); border: 1px solid var(--d-line); position: relative; }
.founder-photo picture, .founder-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.founder-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,24,38,0) 55%, rgba(10,24,38,.28) 100%); pointer-events: none; }
.founder-photo span { color: rgba(234,240,245,.42); font-size: .82rem; letter-spacing: .04em; }
.founder-quote { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.15rem,1.9vw,1.5rem); line-height: 1.5; color: var(--d-text); margin-bottom: 1.1rem; max-width: 60ch; }
.founder-sign { margin-top: 1.5rem; font-family: var(--f-body); font-style: normal; }
.founder-sign strong { display: block; color: #fff; font-weight: 600; font-size: 1rem; }
.founder-sign span { color: var(--d-muted); font-size: .9rem; }
@media (max-width: 720px){ .founder { grid-template-columns: 1fr; } .founder-photo { max-width: 240px; } }

/* leadership */
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.person .photo { aspect-ratio: 4/5; background: linear-gradient(135deg, var(--navy), var(--navy-2)); border-radius: var(--r-md); display: flex; align-items: flex-end; padding: 1rem; }
.person .photo span { color: rgba(255,255,255,.4); font-size: .8rem; }
.person h3 { margin-top: 1rem; font-size: 1.15rem; }
.person .role { color: var(--brass-dk); font-size: .9rem; font-weight: 600; }
.person p { margin-top: .5rem; color: var(--muted); font-size: .95rem; }

/* region / offices */
.region-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.region-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.region-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .region-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .region-grid.cols-2, .region-grid.cols-4 { grid-template-columns: 1fr; } }
.region { border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.8rem; background: var(--white); }
.region h3 { font-size: 1.3rem; }
.region .cities { margin-top: .6rem; color: var(--muted); font-size: .95rem; }
.region .status { margin-top: 1rem; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-dk); font-weight: 600; }

/* mapband */
.mapband { background: var(--navy); color: var(--d-text); border-radius: var(--r-md); padding: clamp(2rem,5vw,3.5rem); position: relative; overflow: hidden; }
.mapband .dots { position:absolute; inset:0; opacity:.16; background-image: radial-gradient(circle, #fff 1px, transparent 1.4px); background-size: 26px 26px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.4rem 0; display: flex; justify-content: space-between; gap: 1rem; font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 20px; height: 20px; position: relative; margin-top: .2rem; }
.faq summary .pm::before, .faq summary .pm::after { content:""; position:absolute; background: var(--brass-dk); transition: transform .2s var(--ease); }
.faq summary .pm::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq summary .pm::after { left: 9px; top: 0; width: 2px; height: 20px; }
.faq details[open] summary .pm::after { transform: rotate(90deg); opacity: 0; }
.faq details p { padding-bottom: 1.4rem; color: var(--muted); max-width: 68ch; }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem,5vw,4rem); align-items: start; }
.form-aside h1, .form-aside h2 { font-size: var(--fs-h2); line-height: 1.1; }
.form-aside .lead { margin-top: 1rem; }
.form-aside .expect { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.form-aside .expect .row { display: flex; gap: .8rem; align-items: flex-start; }
.form-aside .expect .row .ic { flex:none; width: 18px; height: 18px; margin-top: .15rem; color: var(--brass-dk); }
.form-aside .expect .row p { color: var(--muted); font-size: .95rem; }
form.aina { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(1.5rem,3vw,2.25rem); }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .5rem; }
.field label .req { color: var(--brass-dk); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--f-body); font-size: 1rem; color: var(--ink);
  padding: .8rem .9rem; border: 1px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--paper); transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .85rem; color: var(--muted-2); margin-top: .5rem; }
.form-success { display: none; background: var(--navy); color: #fff; border-radius: var(--r-md); padding: 2rem; }
.form-success.show { display: block; }
.form-success h3 { color: #fff; }
.form-success p { color: var(--d-muted); margin-top: .6rem; }

/* ---------- Direct contact cards ---------- */
.contact-direct { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.form-aside .contact-direct { grid-template-columns: 1fr; gap: .8rem; margin: 1.8rem 0 .5rem; }
.form-aside .cd-card { padding: 1.2rem 1.3rem; gap: .35rem; }
.form-aside .cd-card svg { width: 22px; height: 22px; margin-bottom: .15rem; }
.form-aside .cd-card .cd-value { font-size: .98rem; }
.cd-card { display: flex; flex-direction: column; gap: .55rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.9rem 1.6rem; transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.cd-card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(10,24,38,.07); }
.cd-card svg { width: 26px; height: 26px; color: var(--brass-dk); margin-bottom: .3rem; }
.cd-card .cd-label { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.cd-card .cd-value { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); letter-spacing: -.01em; word-break: break-word; }
@media (max-width: 860px) { .contact-direct { grid-template-columns: 1fr; } }

/* ---------- Premium business inquiry ---------- */
.inquiry-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.inq-card {
  position: relative; text-align: left; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 1.6rem 1.3rem; cursor: pointer; font-family: var(--f-body);
  display: flex; flex-direction: column; gap: .6rem;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.inq-card:hover { border-color: var(--muted-2); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(10,24,38,.07); }
.inq-card .ic-mark { width: 26px; height: 26px; color: var(--brass-dk); }
.inq-card h3 { font-family: var(--f-display); font-size: 1.02rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.inq-card p { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.inq-card .ic-check { position: absolute; top: .9rem; right: .9rem; width: 18px; height: 18px; opacity: 0; color: var(--brass-dk); transition: opacity var(--dur) var(--ease); }
.inq-card.selected { border-color: var(--ink); box-shadow: 0 10px 30px rgba(10,24,38,.09); }
.inq-card.selected .ic-check { opacity: 1; }

.form-premium { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(1.75rem, 4vw, 3rem); box-shadow: 0 14px 50px rgba(10,24,38,.05); }
.form-premium .fp-head { padding-bottom: 1.6rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.form-premium .fp-head h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.form-premium .fp-head p { color: var(--muted); margin-top: .6rem; max-width: 58ch; font-size: .98rem; }
.fp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.fp-grid .field.full { grid-column: 1 / -1; }
.fieldset-label { font-family: var(--f-body); font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); grid-column: 1 / -1; margin: 1rem 0 1.2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.fieldset-label:first-child { margin-top: 0; padding-top: 0; border-top: 0; }

.file-drop { border: 1px dashed var(--line-2); border-radius: var(--r-md); padding: 1.15rem 1.25rem; text-align: center; background: var(--paper); transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease); }
.file-drop:hover { border-color: var(--brass); background: #fff; }
.file-drop input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop label { display: inline-flex; align-items: center; gap: .55rem; cursor: pointer; font-weight: 600; font-size: .95rem; color: var(--ink); margin-bottom: 0; }
.file-drop label svg { width: 18px; height: 18px; color: var(--brass-dk); }
.file-drop .fd-hint { display: block; font-size: .82rem; color: var(--muted-2); margin-top: .35rem; }
.file-list { margin-top: .9rem; display: flex; flex-direction: column; gap: .35rem; }
.file-list li { list-style: none; font-size: .85rem; color: var(--ink); display: flex; align-items: center; gap: .45rem; justify-content: center; }
.file-list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); flex: none; }

.confirm-panel { display: none; background: var(--navy); color: var(--d-text); border-radius: var(--r-md); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.confirm-panel.show { display: block; }
.confirm-panel .cp-mark { width: 52px; height: 52px; margin: 0 auto 1.4rem; border-radius: 50%; border: 1px solid var(--d-accent); display: flex; align-items: center; justify-content: center; color: var(--d-accent); }
.confirm-panel h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.confirm-panel p { color: var(--d-muted); margin-top: 1rem; max-width: 54ch; margin-inline: auto; }
.confirm-panel .cp-meta { margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--d-line); font-size: .9rem; color: #9FB0BE; }
.confirm-panel .cp-meta a { color: var(--d-accent); }

@media (max-width: 1080px) { .inquiry-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .inquiry-cards { grid-template-columns: repeat(2, 1fr); } .fp-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .inquiry-cards { grid-template-columns: 1fr; } }

/* stepper */
.fp-steps { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.fp-step { display: flex; align-items: center; gap: .6rem; font-family: var(--f-body); font-size: .88rem; font-weight: 600; color: var(--muted-2); white-space: nowrap; }
.fp-step .n { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-size: .82rem; color: var(--muted-2); background: var(--white); transition: all var(--dur) var(--ease); }
.fp-step.is-active { color: var(--ink); }
.fp-step.is-active .n { background: var(--ink); border-color: var(--ink); color: #fff; }
.fp-step.is-done .n { background: var(--brass); border-color: var(--brass); color: #fff; }
.fp-step-line { flex: 1; height: 1px; background: var(--line); }

.fp-panel { display: none; }
.fp-panel.is-active { display: block; animation: fpIn .35s var(--ease); }
@keyframes fpIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.fp-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.fp-nav .fp-count { order: 0; }
@media (max-width: 420px) { .fp-steps { gap: .6rem; } .fp-step { font-size: .8rem; } .fp-step .n { width: 22px; height: 22px; font-size: .76rem; } }
@media (max-width: 620px) { .fp-nav { flex-direction: column-reverse; align-items: stretch; } .fp-nav .btn { width: 100%; justify-content: center; } .fp-nav .fp-count { text-align: center; } }
.fp-count { font-size: .84rem; color: var(--muted-2); font-weight: 500; }
.fp-nav .btn .arrow-l { transition: transform var(--dur) var(--ease); }
.fp-nav .btn:hover .arrow-l { transform: translateX(-4px); }
.fp-submit { display: none; }
.fp-submit.is-visible { display: inline-flex; }

/* offline / PDF alternative — navy panel */
.pdf-alt { margin-top: 1.5rem; background: var(--navy); color: var(--d-text); border-radius: var(--r-md); padding: clamp(1.6rem, 3vw, 2.25rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; overflow: hidden; }
.pdf-alt::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 90% -20%, rgba(174,138,78,.16), transparent 60%); pointer-events: none; }
.pdf-alt-copy { display: flex; gap: 1.1rem; align-items: flex-start; position: relative; }
.pdf-alt-copy svg { width: 30px; height: 30px; color: var(--d-accent); flex: none; margin-top: .1rem; }
.pdf-alt .eyebrow { color: var(--d-accent); margin-bottom: .5rem; }
.pdf-alt .eyebrow::before { background: var(--d-accent); }
.pdf-alt h3 { font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; color: #fff; }
.pdf-alt p { font-size: .92rem; color: var(--d-muted); margin-top: .4rem; max-width: 52ch; }
.pdf-alt .btn { flex: none; position: relative; }
.pdf-alt .btn .arrow { transition: transform var(--dur) var(--ease); }
.pdf-alt .btn:hover .arrow { transform: translateY(3px); }
@media (max-width: 760px) { .pdf-alt { flex-direction: column; align-items: flex-start; } .pdf-alt .btn { width: 100%; justify-content: center; } }

/* routing panel on partner sub-pages */
.route-panel { background: var(--navy); color: var(--d-text); border-radius: var(--r-md); padding: clamp(1.8rem, 4vw, 2.6rem); position: relative; overflow: hidden; }
.route-panel::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% -20%, rgba(174,138,78,.16), transparent 60%); pointer-events: none; }
.route-panel > * { position: relative; }
.route-panel .eyebrow { color: var(--d-accent); }
.route-panel .eyebrow::before { background: var(--d-accent); }
.route-panel h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-top: 1rem; }
.route-panel p { color: var(--d-muted); margin-top: .9rem; max-width: 46ch; }
.route-panel strong { color: #fff; font-weight: 600; }
.route-panel .btn { margin-top: 1.6rem; background: var(--white); color: var(--ink); }
.route-panel .btn:hover { background: #E9ECEE; }
.route-panel .route-alt { margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--d-line); font-size: .9rem; }
.route-panel .route-alt a { color: var(--d-accent); border-bottom: 1px solid rgba(228,197,131,.4); }

/* ---------- CTA band ---------- */
.cta { background: var(--ink); color: var(--d-text); }
.cta-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(2rem,4.4vw,3.2rem); max-width: 16ch; }
.cta p { margin-top: 1.2rem; color: var(--d-muted); max-width: 42ch; }
.cta-actions { display: flex; flex-direction: column; gap: .9rem; }
.cta-actions .btn { justify-content: space-between; }
.contact-line { margin-top: 1.6rem; font-size: .95rem; color: #9FB0BE; }
.contact-line a { color: var(--d-accent); border-bottom: 1px solid rgba(228,197,131,.4); }

/* ---------- Careers ---------- */
.roles { border-top: 1px solid var(--line); }
.role { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: start; padding: 1.8rem 0; border-bottom: 1px solid var(--line); transition: padding-left .2s var(--ease); }
.role:hover { padding-left: .5rem; }
.role h3 { font-size: 1.25rem; }
.role .meta { color: var(--brass-dk); font-size: .84rem; letter-spacing: .04em; margin-top: .35rem; font-weight: 600; }
.role .role-desc { color: var(--muted); font-size: .95rem; margin-top: .7rem; max-width: 62ch; }
.role .btn { margin-top: .2rem; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: .8rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.8rem; margin-bottom: .6rem; }
.prose p { margin-bottom: 1rem; color: var(--muted); }
.prose ul { margin: 0 0 1rem 1.2rem; color: var(--muted); }
.prose li { margin-bottom: .5rem; }
.prose strong { color: var(--ink); }
.legal-meta { color: var(--muted-2); font-size: .9rem; margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #A9B8C5; padding-block: 3.5rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2.5rem; }
.foot-brand .brand { color: #fff; }
.foot-brand .brand small { color: #7f93a3; }
.foot-brand .thesis { font-family: var(--f-serif); font-style: italic; color: #CBD6DF; margin-top: 1rem; font-size: 1.05rem; max-width: 28ch; line-height: 1.4; }
.foot-brand .btn { margin-top: 1.4rem; }
.foot-col h4 { font-family: var(--f-body); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: #6f8494; margin-bottom: 1rem; font-weight: 600; }
.foot-col a, .foot-col span { display: block; font-size: .92rem; margin-bottom: .55rem; color: #A9B8C5; }
.foot-col a:hover { color: #fff; }
.foot-offices { margin-top: 2.5rem; font-size: .9rem; color: #8ba0b0; }
.foot-contact { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.09); display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.foot-contact h4 { font-family: var(--f-body); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--d-accent); margin-bottom: .8rem; font-weight: 600; }
.foot-contact address { font-style: normal; font-size: .9rem; line-height: 1.65; color: #A9B8C5; }
.foot-contact .fc-link { display: block; font-size: .9rem; color: #CBD6DF; margin-bottom: .4rem; transition: color var(--dur) var(--ease); }
.foot-contact .fc-link:hover { color: #fff; }
@media (max-width: 860px) { .foot-contact { grid-template-columns: 1fr 1fr; gap: 1.6rem; } }
@media (max-width: 520px) { .foot-contact { grid-template-columns: 1fr; } }
.foot-base { border-top: 1px solid rgba(255,255,255,.09); margin-top: 2.6rem; padding-top: 1.5rem; font-size: .82rem; color: #6f8494; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; }
.foot-base a:hover { color: #fff; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-main, .nav-right { display: none; }
  .menu-btn { display: inline-flex; }
  .pillar-grid, .process-grid, .stats, .card-grid.cols-4, .people-grid, .region-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .cta-inner, .form-layout { grid-template-columns: 1fr; gap: 2rem; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .feature-row { grid-template-columns: 1fr; gap: .6rem; }
  .tl-item { grid-template-columns: 72px 1fr; gap: 1.2rem; padding-block: 1.7rem; }
}
@media (max-width: 620px) {
  .ledger, .pillar-grid, .process-grid, .stats, .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4, .people-grid, .region-grid, .field-row { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 1.4rem; }
  .role { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-rule::after { animation: none; width: 130px; }
  * { transition: none !important; }
}
