/* ===================================================================
   Martin Billing Solutions — Homepage (v2 "Elevation")
   Type:  Instrument Serif (display) · Inter Tight (UI) · IBM Plex Mono (labels)
   ================================================================= */

:root {
  /* palette — warm paper + ink navy + one disciplined blue, sage micro-accent */
  --paper:        #F5F2EB;
  --paper-2:      #EFEBE1;
  --paper-card:   #FBFAF6;
  --ink:          #0C1E2E;
  --ink-2:        #16324A;
  --slate:        #4C5C68;
  --slate-2:      #6B7A85;
  --brand:        #1668B0;
  --brand-bright: #2E92DD;
  --brand-deep:   #0F4E88;
  --brand-tint:   #DDEBF7;
  --sage:         #3E7E72;
  --line:         rgba(12, 30, 46, .12);
  --line-strong:  rgba(12, 30, 46, .22);

  --shadow-sm: 0 1px 2px rgba(12,30,46,.06), 0 4px 14px rgba(12,30,46,.05);
  --shadow-md: 0 8px 28px rgba(12,30,46,.10), 0 2px 8px rgba(12,30,46,.06);
  --shadow-lg: 0 26px 60px rgba(12,30,46,.16), 0 8px 24px rgba(12,30,46,.08);

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans:  "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:  "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 34px;
  --wrap: 1200px;
}

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

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

/* ---------- shared eyebrow ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-deep);
  display: inline-flex;
  align-items: center;
  gap: .6em;
  margin: 0 0 18px;
}
.eyebrow__tick {
  width: 22px; height: 1px; background: currentColor; display: inline-block;
  position: relative;
}
.eyebrow__tick::after {
  content: ""; position: absolute; right: -2px; top: -2px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--brand);
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--brand-bright); }
.eyebrow--light .eyebrow__tick::after { background: var(--brand-bright); }

/* ---------- buttons ---------- */
.btn {
  --b: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--sans); font-weight: 600; font-size: .94rem;
  padding: .7em 1.25em; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
}
.btn--lg { font-size: 1rem; padding: .92em 1.6em; }
.btn--solid { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(22,104,176,.28); }
.btn--solid:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(22,104,176,.34); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghostlight { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghostlight:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }

/* ---------- topline ---------- */
.topline {
  background: var(--ink); color: rgba(255,255,255,.86);
  font-size: .82rem; letter-spacing: .01em;
}
.topline__inner { display: flex; align-items: center; justify-content: center; gap: .8em; padding: 9px 24px; flex-wrap: wrap; }
.topline__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-bright); box-shadow: 0 0 0 0 rgba(46,146,221,.7); animation: pulse 2.4s infinite; }
.topline__link { color: #fff; font-weight: 600; }
.topline__link:hover { color: var(--brand-bright); }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(46,146,221,.6);} 70%{box-shadow:0 0 0 7px rgba(46,146,221,0);} 100%{box-shadow:0 0 0 0 rgba(46,146,221,0);} }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,242,235,.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.brand__mark { color: var(--ink); display: grid; place-items: center; }
.brand__wm { display: flex; flex-direction: column; line-height: 1; }
.brand__wm strong { font-family: var(--sans); font-weight: 700; font-size: 1.02rem; letter-spacing: -.02em; text-transform: uppercase; }
.brand__wm em { font-style: normal; font-family: var(--mono); font-size: .62rem; letter-spacing: .34em; text-transform: uppercase; color: var(--brand-deep); margin-top: 3px; }

.nav__links { display: flex; gap: 26px; margin-left: 8px; }
.nav__links a { font-size: .92rem; font-weight: 500; color: var(--slate); position: relative; padding: 4px 0; }
.nav__links a::after { content:""; position:absolute; left:0; bottom:0; width:0; height:2px; background: var(--brand); transition: width .25s ease; }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__cta { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav__phone { display: inline-flex; align-items: center; gap: .5em; font-family: var(--mono); font-size: .82rem; color: var(--ink); letter-spacing: .02em; }
.nav__phone:hover { color: var(--brand); }
.nav__phone svg { color: var(--brand); }
.nav__burger { display: none; }

.mobilemenu { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 22px; border-bottom: 1px solid var(--line); background: var(--paper); }
.mobilemenu a:not(.btn) { padding: 12px 4px; font-size: 1rem; font-weight: 500; border-bottom: 1px solid var(--line); color: var(--ink); }
.mobilemenu .btn { margin-top: 14px; width: 100%; }

/* ===================================================================
   HERO
   ================================================================= */
.hero { position: relative; padding: 64px 0 88px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before {
  content: ""; position: absolute; top: -20%; right: -10%;
  width: 760px; height: 760px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,146,221,.16), rgba(46,146,221,0) 62%);
  filter: blur(8px);
}
.contour { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(22,104,176,.14); }

.hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.7rem, 5.8vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -.005em;
  line-height: 1.04;
  margin-bottom: 22px;
}
.hero__title em {
  display: block; font-style: italic; font-weight: 400; color: var(--brand);
}
.hero__sub {
  font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--slate); max-width: 45ch; margin-bottom: 30px;
}
.hero__sub strong { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }

.hero__creds { display: flex; gap: 30px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
.hero__creds li { display: flex; flex-direction: column; font-size: .82rem; color: var(--slate); gap: 3px; }
.hero__creds span { font-family: var(--mono); font-size: .9rem; color: var(--ink); font-weight: 500; }

/* hero visual + KPI card */
.hero__visual { position: relative; }
.ph--hero { aspect-ratio: 4 / 4.4; }
.kpi {
  position: absolute; left: -38px; bottom: -34px; width: min(330px, 78%);
  background: var(--ink); color: #fff; border-radius: var(--r-md);
  padding: 18px 18px 14px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.08);
}
.kpi__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.kpi__label { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.66); }
.kpi__trend { font-size: .72rem; color: #6FD0A6; font-weight: 600; }
.kpi__chart { width: 100%; height: 64px; margin: 4px 0 10px; overflow: visible; }
.kpi__line { stroke-dasharray: 360; stroke-dashoffset: 360; animation: draw 1.6s .25s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.kpi__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 12px; }
.kpi__grid b { font-family: var(--serif); font-weight: 400; font-size: 1.58rem; display: block; line-height: 1; }
.kpi__grid span { font-size: .62rem; color: rgba(255,255,255,.6); display: block; margin-top: 5px; line-height: 1.3; }
.kpi__foot { font-size: .58rem; color: rgba(255,255,255,.4); margin-top: 10px; font-family: var(--mono); letter-spacing: .02em; }

/* ---------- placeholder system ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, #9DBFD6 0%, #7FA9C6 40%, #5E86A8 70%, #3E5E7C 100%);
  box-shadow: var(--shadow-md);
  isolation: isolate;
}
.ph::after { /* subtle grain/contour overlay */
  content: ""; position: absolute; inset: 0; opacity: .5; mix-blend-mode: soft-light;
  background-image: radial-gradient(rgba(255,255,255,.5) .5px, transparent .6px);
  background-size: 4px 4px;
}
.ph__horizon {
  position: absolute; left: -5%; right: -5%; bottom: 18%; height: 46%;
  background: linear-gradient(180deg, #34536F, #223A52);
  clip-path: polygon(0 60%, 16% 30%, 30% 52%, 46% 18%, 60% 44%, 74% 12%, 88% 40%, 100% 22%, 100% 100%, 0 100%);
}
.ph__sun {
  position: absolute; top: 22%; right: 22%; width: 84px; height: 84px; border-radius: 50%;
  background: radial-gradient(circle, #FBE3B3 0%, #F4C778 45%, rgba(244,199,120,0) 72%);
}
.ph__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(12,30,46,.5); color: #fff; padding: 5px 9px; border-radius: 100px;
  backdrop-filter: blur(4px);
}
.ph__tag--dark { background: rgba(255,255,255,.16); }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1; }

/* ===================================================================
   TRUST
   ================================================================= */
.trust { border-block: 1px solid var(--line); background: var(--paper-2); }
.trust__inner { display: flex; align-items: center; gap: 36px; padding: 22px 24px; flex-wrap: wrap; }
.trust__lead { font-size: .82rem; color: var(--slate-2); max-width: 18ch; line-height: 1.4; }
.trust__logos { display: flex; gap: 14px 34px; flex-wrap: wrap; align-items: center; margin-left: auto; }
.trust__logos li { font-family: var(--serif); font-weight: 400; font-size: 1.18rem; color: var(--ink-2); opacity: .72; letter-spacing: 0; }

/* ===================================================================
   STATEMENT
   ================================================================= */
.statement { padding: 104px 0; }
.statement__grid { max-width: 980px; }
.statement__head {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.05rem, 4.1vw, 3.4rem); line-height: 1.1; letter-spacing: -.005em;
  margin-bottom: 38px; max-width: 32ch; text-wrap: balance;
}
.statement__head .hl { color: var(--brand); font-style: italic; }
.statement__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.statement__cols p { font-size: 1.04rem; color: var(--slate); }
.statement__cols strong { color: var(--ink); }

/* ===================================================================
   SECTION HEAD (shared)
   ================================================================= */
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.sec-head--left { text-align: left; margin-inline: 0; }
.sec-head__title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.15rem, 3.9vw, 3.2rem); letter-spacing: -.005em; }
.sec-head__sub { color: var(--slate); font-size: 1.04rem; margin-top: 16px; }

/* ===================================================================
   PILLARS / SERVICES
   ================================================================= */
.pillars { padding: 40px 0 104px; }
.pillars__explorer {
  display: grid; grid-template-columns: .58fr 1.42fr; gap: 26px;
  background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 16px; box-shadow: var(--shadow-sm);
}
.pillars__list { display: flex; flex-direction: column; gap: 6px; }
.pillar {
  flex: 1 1 0; min-height: 0;
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto;
  align-content: center; column-gap: 14px; row-gap: 2px;
  text-align: left; background: transparent; border: 1px solid transparent; border-radius: var(--r-md);
  padding: 18px 20px; cursor: pointer; font-family: var(--sans);
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
.pillar:hover { background: var(--paper-2); }
.pillar.is-active { background: var(--ink); border-color: var(--ink); }
.pillar__num { grid-row: 1 / 3; font-family: var(--mono); font-size: .82rem; color: var(--brand); align-self: center; }
.pillar.is-active .pillar__num { color: var(--brand-bright); }
.pillar__name { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--ink); }
.pillar.is-active .pillar__name { color: #fff; }
.pillar__hint { font-size: .8rem; color: var(--slate-2); }
.pillar.is-active .pillar__hint { color: rgba(255,255,255,.6); }

.pillars__panels { position: relative; }
.panel {
  background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 34px 36px;
  height: 100%; display: flex; flex-direction: column;
}
.panel[hidden] { display: none; }
.panel.is-active { animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel__top { margin-bottom: 24px; }
.panel__top h3 { font-family: var(--serif); font-weight: 400; font-size: 1.92rem; margin-bottom: 10px; }
.panel__top p { color: rgba(255,255,255,.72); font-size: .98rem; max-width: 48ch; }
.panel__list { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 26px; margin-bottom: 26px; }
.panel__list li { position: relative; padding-left: 24px; font-size: .94rem; color: rgba(255,255,255,.88); }
.panel__list li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 13px; height: 13px;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E92DD' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12l5 6L21 5'/%3E%3C/svg%3E");
}
.panel__link { margin-top: auto; align-self: flex-start; font-weight: 600; color: var(--brand-bright); font-size: .94rem; }
.panel__link:hover { color: #fff; }

/* ===================================================================
   WHY (BENTO)
   ================================================================= */
.why { padding: 104px 0; background: var(--paper-2); border-block: 1px solid var(--line); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  background: var(--paper-card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.tile__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-deep); display: grid; place-items: center; margin-bottom: 18px; }
.tile__icon svg { width: 24px; height: 24px; }
.tile h3 { font-family: var(--serif); font-weight: 400; font-size: 1.46rem; margin-bottom: 9px; }
.tile p { color: var(--slate); font-size: .96rem; }

.tile--feature { grid-row: span 2; background: var(--ink); border-color: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; }
.tile--feature::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background: radial-gradient(420px 240px at 80% 0%, rgba(46,146,221,.34), transparent 70%);
}
.tile--feature > * { position: relative; }
.tile--feature .tile__icon { background: rgba(46,146,221,.18); color: var(--brand-bright); }
.tile--feature h3 { font-size: 1.7rem; }
.tile--feature p { color: rgba(255,255,255,.74); font-size: 1rem; }

.tile--quote {
  grid-column: 1 / -1;
  background: linear-gradient(120deg, var(--brand-deep), var(--brand) 60%, #1A77C4);
  border-color: transparent; color: #fff;
  display: flex; align-items: center; gap: 28px;
  padding: 34px 44px; overflow: hidden;
}
.tile--quote:hover { transform: none; box-shadow: var(--shadow-sm); }
.tile__quotemark {
  font-family: var(--serif); font-size: 4.6rem; line-height: .8; color: rgba(255,255,255,.34);
  flex: none; align-self: flex-start; margin-top: -.05em; margin-left: auto;
}
.tile__quote {
  font-family: var(--serif); font-style: italic; font-weight: 400; color: rgba(255,255,255,.86) !important;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem) !important; line-height: 1.34; max-width: 34ch; flex: none;
}
.tile__by {
  flex: none; padding-right: 28px; border-right: 1px solid rgba(255,255,255,.28);
}
.tile__by span {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.86); white-space: nowrap;
}

/* ===================================================================
   MISSION (DARK)
   ================================================================= */
.mission { position: relative; background: var(--ink); color: #fff; padding: 110px 0; overflow: hidden; }
.mission__contour { position: absolute; inset: 0; color: rgba(46,146,221,.16); pointer-events: none; }
.mission__contour svg { width: 100%; height: 100%; }
.mission__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.mission__head { font-family: var(--serif); font-weight: 400; font-size: clamp(2.15rem, 3.9vw, 3.3rem); letter-spacing: -.005em; line-height: 1.08; margin-bottom: 24px; max-width: 16ch; }
.mission__body { color: rgba(255,255,255,.78); font-size: 1.06rem; max-width: 52ch; margin-bottom: 34px; }
.mission__body:not(:last-of-type) { margin-bottom: 14px; }

.founder { display: flex; align-items: center; gap: 14px; }
.founder__avatar { width: 64px; height: 64px; border-radius: 50%; flex: none; object-fit: cover; object-position: center top; box-shadow: 0 0 0 2px rgba(255,255,255,.18), 0 6px 16px rgba(0,0,0,.3); }
.founder__meta { display: flex; flex-direction: column; font-size: .86rem; color: rgba(255,255,255,.62); line-height: 1.35; }
.founder__meta strong { color: #fff; font-size: 1rem; font-weight: 600; }

.ph--mission { aspect-ratio: 5 / 4.6; }
.ph--mission .ph__horizon { background: linear-gradient(180deg, #2C4A65, #16314A); }

/* ===================================================================
   PROCESS
   ================================================================= */
.process { padding: 104px 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--line); }
.step::before { content: ""; position: absolute; top: -2px; left: 0; width: 46px; height: 2px; background: var(--brand); }
.step__num { font-family: var(--mono); font-size: .82rem; color: var(--brand-deep); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 1.66rem; margin: 14px 0 10px; }
.step p { color: var(--slate); font-size: .96rem; }

/* ===================================================================
   CTA
   ================================================================= */
.cta { padding: 40px 0 104px; }
.cta__card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand-deep), var(--brand) 55%, #1A77C4);
  border-radius: var(--r-xl); padding: 80px 24px; text-align: center; color: #fff;
  box-shadow: var(--shadow-lg);
}
.cta__contour { position: absolute; inset: 0; color: rgba(255,255,255,.18); pointer-events: none; }
.cta__contour svg { width: 100%; height: 100%; }
.cta__inner { position: relative; max-width: 660px; margin-inline: auto; }
.cta__head { font-family: var(--serif); font-weight: 400; font-size: clamp(2.05rem, 3.9vw, 3.15rem); letter-spacing: -.005em; line-height: 1.1; margin-bottom: 18px; }
.cta__sub { color: rgba(255,255,255,.86); font-size: 1.06rem; margin-bottom: 32px; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta__hours { font-family: var(--mono); font-size: .76rem; letter-spacing: .04em; color: rgba(255,255,255,.7); margin-top: 22px; }

/* ===================================================================
   FOOTER
   ================================================================= */
.foot { background: var(--ink); color: rgba(255,255,255,.72); padding: 72px 0 30px; }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand--foot .brand__wm strong, .brand--foot .brand__mark { color: #fff; }
.brand--foot .brand__wm em { color: var(--brand-bright); }
.foot__tag { margin-top: 18px; font-size: .9rem; max-width: 38ch; line-height: 1.6; }
.foot__col h4 { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; font-weight: 500; }
.foot__col a, .foot__col span { display: block; font-size: .92rem; color: rgba(255,255,255,.74); margin-bottom: 10px; }
.foot__col a:hover { color: var(--brand-bright); }
.foot__closed { color: rgba(255,255,255,.45) !important; }
.foot__base { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: .82rem; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 12px; }
.foot__social { display: flex; gap: 20px; }
.foot__social a:hover { color: var(--brand-bright); }

/* ===================================================================
   REVEAL ANIMATIONS
   ================================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.tile.reveal:nth-child(2) { transition-delay: .05s; }
.tile.reveal:nth-child(3) { transition-delay: .1s; }
.tile.reveal:nth-child(4) { transition-delay: .15s; }
.tile.reveal:nth-child(5) { transition-delay: .2s; }
.step.reveal:nth-child(2) { transition-delay: .08s; }
.step.reveal:nth-child(3) { transition-delay: .16s; }
.step.reveal:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .kpi__line { animation: none; stroke-dashoffset: 0; }
  .topline__dot { animation: none; }
}

/* ===================================================================
   RESPONSIVE
   ================================================================= */
/* ---- Tablet & below ---- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta .btn--solid { display: none; }
  .nav__burger { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
  .nav__burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
  .nav__burger.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav__burger.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobilemenu:not([hidden]) { display: flex; }

  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .kpi { left: auto; right: 0; }
  .mission__grid { grid-template-columns: 1fr; gap: 40px; }
  .pillars__explorer { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px 22px; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ---- Mobile ---- */
@media (max-width: 760px) {
  .nav__phone { display: none; }
  .nav__inner { gap: 16px; height: 64px; }

  .statement, .why, .mission, .process { padding: 72px 0; }
  .statement__cols { grid-template-columns: 1fr; gap: 22px; }
  .bento { grid-template-columns: 1fr; }
  .tile--feature { grid-row: auto; }
  .tile--quote { flex-direction: column; align-items: flex-start; gap: 16px; padding: 30px; }
  .tile--quote .tile__quotemark { font-size: 3.4rem; margin-left: 0; }
  .tile__by { padding-right: 0; border-right: 0; }
  .tile__quote { max-width: none; }
  .panel { padding: 28px 24px; }
  .panel__top h3 { font-size: 1.7rem; }
  .panel__list { grid-template-columns: 1fr; }
  .trust__inner { gap: 14px 24px; }
  .trust__lead { max-width: none; }
  .trust__logos { margin-left: 0; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero__creds { gap: 22px; }
  .cta__card { padding: 56px 22px; }
  .cta__actions .btn { width: 100%; }
}

/* ---- Small mobile ---- */
@media (max-width: 460px) {
  .wrap { padding-inline: 18px; }
  .steps { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .hero__title { font-size: clamp(2.4rem, 9vw, 3rem); }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__base { flex-direction: column; align-items: flex-start; gap: 8px; }
  .pillar { padding: 14px 16px; }
  .pillar__name { font-size: 1.32rem; }
}
