/* ==============================================================
   The Founders Finance — Design System v5 (Editorial)
   Dark M3 surfaces + lime secondary (exact draft shades)
   ============================================================== */

:root {
  color-scheme: dark;
  --surface: #131313;
  --surface-lowest: #0e0e0e;
  --surface-low: #1c1b1b;
  --surface-container: #201f1f;
  --surface-high: #262525;
  --secondary: #d9fd9f;
  --on-secondary: #243606;
  --secondary-container: #3a4d1c;
  --on-secondary-container: #dcf5b3;
  --secondary-dim: #a6bd80;
  --on-surface: #e5e2e1;
  --on-surface-variant: #c4c8b7;
  --muted: #a3a3a3;
  --muted-2: #737373;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --line-lime: rgba(217, 253, 159, 0.2);
  --sans: 'Open Sans', Aptos, Helvetica, Arial, sans-serif;
  --serif: 'Open Sans', Aptos, Helvetica, Arial, sans-serif;
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--surface);
  color: var(--on-surface);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--secondary); color: var(--on-secondary); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--surface-lowest); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 100px; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--sans); }

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  text-wrap: balance;
}

.wrap { width: min(1320px, 100%); margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .wrap { padding: 0 56px; } }

.progress-bar { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--secondary); z-index: 300; }

.ms {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  font-size: 22px;
  line-height: 1;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
}

/* ---------- Editorial primitives ---------- */
.label {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.label .no { color: var(--secondary); font-family: var(--serif); font-style: italic; font-size: 0.95rem; letter-spacing: 0; }
.label::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); align-self: center; }

.kicker {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--secondary);
}

.ph-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffd28a;
  background: rgba(255, 210, 138, 0.08);
  border: 1px dashed rgba(255, 210, 138, 0.4);
  border-radius: 100px;
  padding: 4px 12px;
}

.t-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.25s;
}
.t-link .arr { display: inline-block; transition: transform 0.35s var(--ease); color: var(--secondary); font-size: 1.1rem; }
.t-link:hover { color: var(--secondary); }
.t-link:hover .arr { transform: translateX(8px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 34px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn .ms { font-size: 17px; transition: transform 0.3s var(--ease); }
.btn:hover .ms { transform: translateX(4px); }
.btn-lime { background: var(--secondary); color: var(--on-secondary); }
.btn-lime:hover { background: #e6ffba; transform: translateY(-2px); box-shadow: 0 10px 36px rgba(217, 253, 159, 0.22); }
.btn-ghost { border-color: var(--line); color: #fff; }
.btn-ghost:hover { border-color: var(--secondary); color: var(--secondary); }

/* ---------- Utility bar ---------- */
.utilbar {
  background: var(--surface-lowest);
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.72rem;
  color: var(--muted-2);
  position: relative;
  z-index: 101;
}
.utilbar .wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.utilbar a { color: var(--muted); transition: color 0.25s; }
.utilbar a:hover { color: var(--secondary); }
.utilbar .right { display: flex; gap: 22px; }
@media (max-width: 860px) { .utilbar { display: none; } }

/* ---------- Nav + mega menu ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(19, 19, 19, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.logo { font-family: var(--sans); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.05em; color: #fff; line-height: 1; }
.logo i { font-style: normal; color: var(--secondary); }

.nav-links { display: flex; align-items: center; gap: 4px; height: 100%; }
.nav-links > li { height: 100%; display: flex; align-items: center; position: relative; }
.nav-links > li > a {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s, background 0.25s;
}
.nav-links > li > a .ms { font-size: 17px; transition: transform 0.3s var(--ease); }
.nav-links > li > a:hover, .nav-links > li > a.active { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-links > li.open > a .ms { transform: rotate(180deg); }

.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(880px, 92vw);
  background: var(--surface-container);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease);
}
.nav-links > li.open .mega { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.mega h5 { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.26em; text-transform: uppercase; color: var(--secondary); margin-bottom: 18px; }
.mega .mlist a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line-soft); transition: padding-left 0.25s var(--ease); }
.mega .mlist a:last-child { border-bottom: none; }
.mega .mlist a:hover { padding-left: 8px; }
.mega .mlist b { display: block; color: #fff; font-size: 0.9rem; font-weight: 700; }
.mega .mlist span { font-size: 0.76rem; color: var(--muted-2); font-weight: 300; }
.mega .mlist a:hover b { color: var(--secondary); }
.mega .mfeat { background: var(--surface-lowest); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.mega .mfeat img { aspect-ratio: 16/9; object-fit: cover; opacity: 0.7; width: 100%; }
.mega .mfeat .pad { padding: 16px 18px 20px; }
.mega .mfeat b { color: #fff; font-family: var(--serif); font-size: 0.98rem; line-height: 1.3; display: block; margin-bottom: 8px; }
.mega .mfeat span { font-size: 0.72rem; color: var(--secondary); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.mega .mfeat:hover b { color: var(--secondary); }

.nav-tools { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 42px; height: 42px;
  border-radius: 4px;
  border: 1px solid var(--line);
  background: none;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}
.icon-btn:hover { color: var(--secondary); border-color: var(--secondary); }
.nav .btn { padding: 13px 24px; }

.nav-toggle { display: none; }
@media (max-width: 1080px) {
  .nav-links, .nav .btn-lime { display: none; }
  .nav-toggle { display: flex; }
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(14, 14, 14, 0.98);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 36px;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu a:not(.btn) {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--muted);
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: color 0.25s, padding-left 0.25s;
}
.mobile-menu a:not(.btn):hover, .mobile-menu a.active:not(.btn) { color: var(--secondary); padding-left: 10px; }
.mobile-menu .btn { margin-top: 24px; align-self: flex-start; }
.mobile-menu .close-x { position: absolute; top: 24px; right: 24px; }

/* ---------- Search overlay ---------- */
.search-ov {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(14, 14, 14, 0.96);
  backdrop-filter: blur(14px);
  display: flex;
  justify-content: center;
  padding: 14vh 24px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.search-ov.open { opacity: 1; pointer-events: all; }
.search-box { width: min(720px, 100%); }
.search-box .si {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 2px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  padding: 12px 4px;
  letter-spacing: -0.02em;
}
.search-box .si::placeholder { color: var(--muted-2); }
.search-box .si:focus { outline: none; border-color: var(--secondary); }
.search-hint { font-size: 0.74rem; color: var(--muted-2); letter-spacing: 0.14em; text-transform: uppercase; margin-top: 14px; }
.search-res { margin-top: 34px; max-height: 50vh; overflow-y: auto; }
.search-res a {
  display: block;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line-soft);
  transition: padding-left 0.25s var(--ease);
}
.search-res a:hover { padding-left: 12px; }
.search-res .cat { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--secondary); }
.search-res b { display: block; font-family: var(--serif); font-size: 1.15rem; color: #fff; margin: 4px 0 2px; }
.search-res a:hover b { color: var(--secondary); }
.search-res span { font-size: 0.84rem; color: var(--muted); font-weight: 300; }
.search-close { position: absolute; top: 28px; right: 32px; }

/* ---------- Grain ---------- */
.grain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.05'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Hero (home, editorial split) ---------- */
.hero-ed {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.hero-ed .grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: end;
  padding: 90px 0 0;
}
@media (min-width: 1024px) { .hero-ed .grid { grid-template-columns: 1.25fr 1fr; gap: 80px; padding-top: 110px; } }
.hero-ed h1 { font-size: clamp(2.8rem, 6.2vw, 5.4rem); margin: 26px 0 30px; }
.hero-ed h1 em { font-style: italic; color: var(--secondary); }
.hero-ed h1 .w { display: inline-block; opacity: 0; transform: translateY(0.5em); filter: blur(4px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease); }
.hero-ed h1 .w.in { opacity: 1; transform: none; filter: none; }
.hero-ed .lede { max-width: 560px; font-size: 1.1rem; font-weight: 300; color: var(--on-surface-variant); margin-bottom: 42px; }
.hero-ed .actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 70px; }
.hero-ed .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-bottom: 70px;
}
.hero-ed .stats > div { padding: 24px 28px 4px 0; }
.hero-ed .stats .num { font-family: var(--serif); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.4rem); color: #fff; display: block; line-height: 1.15; letter-spacing: -0.02em; }
.hero-ed .stats .num b { color: var(--secondary); }
.hero-ed .stats .lbl { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); }
.hero-ed .visual { position: relative; min-height: 420px; height: 100%; }
.hero-ed .visual .frame {
  position: absolute;
  inset: 0 0 0 0;
  overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  border: 1px solid var(--line-soft);
  border-bottom: none;
}
.hero-ed .visual img { width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: none; }

.hero-ed .visual .cap {
  position: absolute;
  left: 20px; bottom: 20px;
  z-index: 2;
  background: rgba(14, 14, 14, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px 18px;
  max-width: 320px;
}
.hero-ed .visual .cap b { display: block; color: #fff; font-size: 0.84rem; font-weight: 700; }
.hero-ed .visual .cap span { font-size: 0.74rem; color: var(--muted); font-weight: 300; }
.hero-ed .visual .cap .k { color: var(--secondary); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; display: block; margin-bottom: 6px; }

/* ---------- Sections ---------- */
.sec { padding: 110px 0; position: relative; }
@media (min-width: 900px) { .sec { padding: 140px 0; } }
.sec.tight { padding: 80px 0; }
.bg-low { background: var(--surface-low); }
.bg-lowest { background: var(--surface-lowest); }
.sec-top { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 28px; margin-bottom: 70px; }
.sec-top h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); max-width: 720px; }
.sec-top h2 em { font-style: italic; color: var(--secondary); }
.sec-top p { color: var(--on-surface-variant); font-weight: 300; max-width: 520px; margin-top: 16px; }

/* ---------- Editorial index list (services) ---------- */
.index-list { border-top: 1px solid var(--line); }
.index-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 40px 8px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  transition: background 0.35s var(--ease), padding-left 0.35s var(--ease);
}
.index-row:hover { background: linear-gradient(90deg, rgba(217, 253, 159, 0.04), transparent 55%); padding-left: 22px; }
.index-row .no { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--muted-2); transition: color 0.3s; }
.index-row:hover .no { color: var(--secondary); }
.index-row h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 8px; transition: color 0.3s; }
.index-row:hover h3 { color: var(--secondary); }
.index-row p { color: var(--muted); font-weight: 300; font-size: 0.94rem; max-width: 620px; }
.index-row .tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.index-row .tags span { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); border: 1px solid var(--line-soft); border-radius: 3px; padding: 4px 10px; }
.index-row .go {
  width: 54px; height: 54px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: all 0.35s var(--ease);
}
.index-row:hover .go { background: var(--secondary); border-color: var(--secondary); color: var(--on-secondary); transform: rotate(-45deg); }
@media (max-width: 720px) { .index-row { grid-template-columns: 1fr auto; } .index-row .no { display: none; } }

/* ---------- Feature (editorial insight) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
@media (min-width: 960px) { .feature { grid-template-columns: 1.2fr 1fr; gap: 80px; } }
.feature .media { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 16/10; border: 1px solid var(--line-soft); }
.feature .media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.65; mix-blend-mode: luminosity; transition: opacity 0.7s, transform 1s var(--ease); }
.feature:hover .media img { opacity: 0.95; mix-blend-mode: normal; transform: scale(1.04); }
.feature .media .fcat { position: absolute; top: 18px; left: 18px; background: var(--secondary); color: var(--on-secondary); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; padding: 8px 14px; border-radius: 3px; }
.feature h3 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: 18px 0; }
.feature:hover h3 { color: var(--secondary); }
.feature p { color: var(--on-surface-variant); font-weight: 300; max-width: 480px; margin-bottom: 30px; }
.feature .meta { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }

.mini-feats { display: grid; gap: 0; border-top: 1px solid var(--line); margin-top: 70px; }
@media (min-width: 860px) { .mini-feats { grid-template-columns: 1fr 1fr; gap: 0 64px; } }
.mini-feat { display: flex; gap: 24px; align-items: flex-start; padding: 30px 0; border-bottom: 1px solid var(--line-soft); }
.mini-feat .th { width: 130px; flex-shrink: 0; aspect-ratio: 4/3; border-radius: var(--r-sm); overflow: hidden; }
.mini-feat .th img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; mix-blend-mode: luminosity; transition: 0.5s; }
.mini-feat:hover .th img { opacity: 0.95; mix-blend-mode: normal; }
.mini-feat .cat { font-size: 0.64rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--secondary); }
.mini-feat h4 { font-family: var(--serif); font-size: 1.2rem; color: #fff; margin: 6px 0; line-height: 1.25; transition: color 0.3s; }
.mini-feat:hover h4 { color: var(--secondary); }
.mini-feat span.rt { font-size: 0.74rem; color: var(--muted-2); }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .ind-grid { grid-template-columns: 1fr 1fr 1fr; } }
.ind {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 18px 30px 8px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.3s, padding-left 0.3s var(--ease);
}
@media (min-width: 760px) { .ind:nth-child(odd) { border-right: 1px solid var(--line-soft); } }
@media (min-width: 1080px) { .ind { border-right: 1px solid var(--line-soft); } .ind:nth-child(3n) { border-right: none; } }
.ind:hover { background: rgba(217, 253, 159, 0.04); padding-left: 20px; }
.ind b { font-family: var(--serif); font-size: 1.2rem; font-weight: 800; color: #fff; display: block; transition: color 0.3s; }
.ind:hover b { color: var(--secondary); }
.ind span { font-size: 0.76rem; color: var(--muted-2); font-weight: 300; }
.ind .ms { color: var(--muted-2); transition: all 0.3s; }
.ind:hover .ms { color: var(--secondary); transform: translateX(4px); }

/* ---------- By the numbers ---------- */
.bynum { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 860px) { .bynum { grid-template-columns: repeat(4, 1fr); } }
.bynum > div { padding: 38px 32px 38px 0; border-bottom: 1px solid var(--line-soft); }
@media (min-width: 860px) { .bynum > div { border-bottom: none; border-right: 1px solid var(--line-soft); padding-left: 32px; } .bynum > div:first-child { padding-left: 0; } .bynum > div:last-child { border-right: none; } }
.bynum .num { font-family: var(--serif); font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 3.6rem); letter-spacing: -0.03em; color: var(--secondary); display: block; line-height: 1.05; }
.bynum .ttl { color: #fff; font-weight: 800; font-size: 0.9rem; display: block; margin: 12px 0 6px; }
.bynum .ctx { font-size: 0.84rem; color: var(--muted); font-weight: 300; line-height: 1.55; }

/* ---------- Approach steps (editorial) ---------- */
.steps-ed { counter-reset: step; border-top: 1px solid var(--line); }
.step-ed {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 60px;
  padding: 44px 8px;
  border-bottom: 1px solid var(--line-soft);
}
@media (min-width: 860px) { .step-ed { grid-template-columns: 240px 1fr; } }
.step-ed .ph { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; color: var(--secondary); padding-top: 8px; }
.step-ed h3 { font-size: 1.5rem; margin-bottom: 10px; }
.step-ed p { color: var(--on-surface-variant); font-weight: 300; max-width: 640px; }

/* ---------- Quote carousel ---------- */
.qc { text-align: left; max-width: 980px; }
.qc .qmark { font-family: var(--serif); font-size: 6rem; line-height: 0.5; color: var(--secondary); display: block; margin-bottom: 34px; }
.qc blockquote { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 3vw, 2.2rem); line-height: 1.45; color: #fff; min-height: 140px; }
.qc .who { margin-top: 30px; display: flex; align-items: center; gap: 16px; }
.qc .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--secondary-container); color: var(--secondary); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.qc .who b { color: #fff; display: block; font-size: 0.92rem; }
.qc .who span { font-size: 0.78rem; color: var(--muted); }
.qc-nav { display: flex; gap: 10px; margin-top: 38px; align-items: center; }
.qc-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--muted); cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; }
.qc-nav button:hover { border-color: var(--secondary); color: var(--secondary); }
.qc-nav .dots { display: flex; gap: 8px; margin-left: 12px; }
.qc-nav .dots i { width: 24px; height: 2px; background: var(--line); transition: background 0.3s; }
.qc-nav .dots i.on { background: var(--secondary); }

/* ---------- Editorial CTA ---------- */
.cta-ed { border-top: 1px solid var(--line); }
.cta-ed .inner { padding: 110px 0; }
.cta-ed h2 { font-size: clamp(2.6rem, 6.4vw, 5rem); max-width: 900px; margin-bottom: 36px; }
.cta-ed h2 em { font-style: italic; color: var(--secondary); }
.cta-ed .row { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.cta-ed .sub { color: var(--muted); font-weight: 300; font-size: 0.95rem; }
.cta-ed .sub a { color: var(--secondary); border-bottom: 1px solid var(--line-lime); }

/* ---------- Page hero (inner, editorial) ---------- */
.page-hero {
  position: relative;
  padding: 90px 0 70px;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  background: var(--surface-lowest);
}
.page-hero .crumbs { display: flex; gap: 10px; align-items: center; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 34px; }
.page-hero .crumbs a:hover { color: var(--secondary); }
.page-hero .crumbs .ms { font-size: 13px; }
.page-hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); max-width: 900px; margin-bottom: 26px; }
.page-hero h1 em { font-style: italic; color: var(--secondary); }
.page-hero .lede { max-width: 640px; color: var(--on-surface-variant); font-weight: 300; font-size: 1.1rem; }
.page-hero .hero-side { position: absolute; right: -4%; top: 0; bottom: 0; width: 38%; opacity: 0.16; pointer-events: none; display: none; }
@media (min-width: 1100px) { .page-hero .hero-side { display: block; } }
.page-hero .hero-side img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; mask-image: linear-gradient(to right, transparent, black 35%); -webkit-mask-image: linear-gradient(to right, transparent, black 35%); }

/* ---------- Sticky rail layout (services) ---------- */
.rail-layout { display: grid; grid-template-columns: 1fr; gap: 60px; }
@media (min-width: 1024px) { .rail-layout { grid-template-columns: 260px 1fr; gap: 80px; } }
.rail { display: none; }
@media (min-width: 1024px) {
  .rail { display: block; position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
}
.rail h5 { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.rail a { display: flex; gap: 12px; align-items: baseline; padding: 10px 0; font-size: 0.9rem; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line-soft); transition: color 0.25s, padding-left 0.25s; }
.rail a .no { font-family: var(--serif); font-style: italic; font-size: 0.8rem; color: var(--muted-2); }
.rail a.on, .rail a:hover { color: var(--secondary); padding-left: 6px; }
.rail .btn { margin-top: 26px; width: 100%; }

.svc-block { padding: 0 0 80px; margin-bottom: 80px; border-bottom: 1px solid var(--line-soft); scroll-margin-top: calc(var(--nav-h) + 30px); }
.svc-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.svc-block .head { display: flex; align-items: baseline; gap: 22px; margin-bottom: 22px; }
.svc-block .head .no { font-family: var(--serif); font-style: italic; color: var(--secondary); font-size: 1.1rem; }
.svc-block h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.svc-block .body { color: var(--on-surface-variant); font-weight: 300; max-width: 660px; margin-bottom: 30px; }
.svc-block .media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 21/9; border: 1px solid var(--line-soft); margin-bottom: 34px; }
.svc-block .media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; mix-blend-mode: luminosity; transition: opacity 0.7s, transform 1s var(--ease); }
.svc-block:hover .media img { opacity: 0.9; mix-blend-mode: normal; transform: scale(1.03); }
.svc-cols { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 760px) { .svc-cols { grid-template-columns: 1fr 1fr; } }
.svc-cols h6 { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; color: var(--secondary); margin-bottom: 14px; }
.deliver li { display: flex; align-items: flex-start; gap: 12px; padding: 7px 0; font-size: 0.92rem; color: var(--on-surface); font-weight: 500; }
.deliver .ms { font-size: 17px; color: var(--secondary); margin-top: 4px; font-variation-settings: "FILL" 1; }
.svc-cols p.fit { color: var(--muted); font-weight: 300; font-size: 0.92rem; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 760px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(to bottom, var(--secondary), var(--line-soft)); }
.tl-item { position: relative; padding: 0 0 44px 56px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: 4px; top: 8px; width: 15px; height: 15px; border-radius: 50%; background: var(--surface); border: 2px solid var(--secondary); }
.tl-item .when { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; color: var(--secondary); display: block; margin-bottom: 8px; }
.tl-item h3 { font-size: 1.3rem; margin-bottom: 8px; }
.tl-item p { color: var(--on-surface-variant); font-weight: 300; font-size: 0.95rem; max-width: 560px; }

/* ---------- Team / values / case ---------- */
.team-grid { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); grid-template-columns: 1fr; }
@media (min-width: 860px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
.team-card { background: var(--surface); padding: 44px 36px; transition: background 0.3s; }
.team-card:hover { background: var(--surface-low); }
.team-card .avatar { width: 92px; height: 92px; border-radius: 50%; background: var(--surface-container); border: 1px dashed var(--line); display: flex; align-items: center; justify-content: center; color: var(--muted-2); margin-bottom: 22px; }
.team-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.team-card .role { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--secondary); margin-bottom: 14px; }
.team-card p { color: var(--on-surface-variant); font-weight: 300; font-size: 0.9rem; }
.team-card .links { margin-top: 16px; font-size: 0.78rem; font-weight: 700; }
.team-card .links a { color: var(--muted); border-bottom: 1px solid var(--line); }
.team-card .links a:hover { color: var(--secondary); }

.value-row { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.value-row > div { display: grid; grid-template-columns: 70px 1fr; gap: 24px; padding: 34px 8px; border-bottom: 1px solid var(--line-soft); }
.value-row .no { font-family: var(--serif); font-style: italic; color: var(--secondary); font-size: 1rem; padding-top: 4px; }
.value-row b { color: #fff; font-family: var(--serif); font-size: 1.3rem; display: block; margin-bottom: 6px; }
.value-row p { color: var(--on-surface-variant); font-weight: 300; font-size: 0.94rem; max-width: 640px; }

.case-band { background: var(--surface-container); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 64px 56px; display: grid; gap: 44px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .case-band { grid-template-columns: 1.3fr 1fr; } }
.case-band h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin-bottom: 18px; }
.case-band p { color: var(--on-surface-variant); font-weight: 300; max-width: 520px; }
.case-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-content: center; }
.case-stats .cs { border-left: 1px solid var(--line); padding-left: 20px; }
.case-stats .num { font-family: var(--serif); font-weight: 800; font-size: 2rem; color: var(--secondary); display: block; line-height: 1.1; }
.case-stats .lbl { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 720px) { .case-band { padding: 44px 26px; } }

/* ---------- Insights ---------- */
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 50px; }
.filter-chips button {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 10px 20px; border-radius: 3px; border: 1px solid var(--line);
  background: none; color: var(--muted); cursor: pointer; transition: all 0.25s;
}
.filter-chips button.on, .filter-chips button:hover { border-color: var(--secondary); color: var(--secondary); }
.insight-grid { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); grid-template-columns: 1fr; }
@media (min-width: 900px) { .insight-grid { grid-template-columns: repeat(3, 1fr); } }
.insight-card { display: flex; flex-direction: column; background: var(--surface); transition: background 0.3s; }
.insight-card:hover { background: var(--surface-low); }
.insight-card .thumb { aspect-ratio: 16/9; overflow: hidden; }
.insight-card .thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; mix-blend-mode: luminosity; transition: opacity 0.5s, transform 0.8s var(--ease); }
.insight-card:hover .thumb img { opacity: 0.95; mix-blend-mode: normal; transform: scale(1.04); }
.insight-card .body { padding: 30px 30px 36px; display: flex; flex-direction: column; flex: 1; }
.insight-card .meta { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--secondary); margin-bottom: 14px; }
.insight-card h3 { font-size: 1.35rem; margin-bottom: 12px; line-height: 1.25; }
.insight-card:hover h3 { color: var(--secondary); }
.insight-card p { color: var(--on-surface-variant); font-weight: 300; font-size: 0.9rem; flex: 1; }
.insight-card .read { margin-top: 22px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.insight-card:hover .read { color: var(--secondary); }

/* ---------- Post ---------- */
.post { max-width: 760px; }
.post-wrap { display: grid; grid-template-columns: 1fr; gap: 70px; }
@media (min-width: 1100px) { .post-wrap { grid-template-columns: 1fr 280px; } }
.post-side { display: none; }
@media (min-width: 1100px) { .post-side { display: block; position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; } }
.post-side .box { border: 1px solid var(--line-soft); border-radius: var(--r); padding: 28px; margin-bottom: 20px; background: var(--surface-low); }
.post-side h5 { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; color: var(--secondary); margin-bottom: 14px; }
.post-side p { font-size: 0.86rem; color: var(--on-surface-variant); font-weight: 300; margin-bottom: 18px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.post-meta .chip { color: var(--secondary); border: 1px solid var(--line-lime); border-radius: 3px; padding: 5px 12px; }
.post h2 { font-size: 1.7rem; margin: 48px 0 16px; }
.post h3 { font-size: 1.25rem; margin: 36px 0 12px; }
.post p { color: var(--on-surface-variant); font-weight: 300; margin-bottom: 18px; font-size: 1.02rem; }
.post ul, .post ol { margin: 0 0 20px 22px; color: var(--on-surface-variant); font-weight: 300; }
.post ul { list-style: disc; }
.post ol { list-style: decimal; }
.post li { margin-bottom: 8px; }
.post strong, .post b { color: #fff; font-weight: 700; }
.post .pull { border-left: 2px solid var(--secondary); padding: 6px 0 6px 24px; margin: 32px 0; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: #fff; }

/* ---------- Careers ---------- */
.role-row { border-top: 1px solid var(--line-soft); transition: background 0.35s var(--ease); }
.role-row:last-of-type { border-bottom: 1px solid var(--line-soft); }
.role-row:hover, .role-row.open { background: linear-gradient(90deg, rgba(217,253,159,0.04), transparent 60%); }
.role-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 38px 8px; cursor: pointer; transition: padding-left 0.35s var(--ease); }
.role-row:hover .role-head, .role-row.open .role-head { padding-left: 22px; }
.role-head h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); transition: color 0.3s; display: flex; align-items: baseline; gap: 16px; }
.role-head h3 .ri { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 0.92rem; color: var(--muted-2); }
.role-row:hover h3, .role-row.open h3 { color: var(--secondary); }
.role-head .meta { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.role-head .meta span { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); border: 1px solid var(--line-soft); border-radius: 3px; padding: 4px 10px; }
.role-head .go { flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--muted); transition: all 0.35s var(--ease); }
.role-row:hover .go, .role-row.open .go { background: var(--secondary); border-color: var(--secondary); color: var(--on-secondary); }
.role-row.open .go { transform: rotate(90deg); }
.role-detail { max-height: 0; overflow: hidden; transition: max-height 0.55s var(--ease); }
.role-detail-inner { padding: 0 8px 40px 22px; display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .role-detail-inner { grid-template-columns: 1.4fr 1fr; } }
.role-detail h4 { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: var(--secondary); margin-bottom: 14px; }
.role-detail li { display: flex; gap: 12px; padding: 6px 0; font-size: 0.92rem; font-weight: 300; color: var(--on-surface-variant); }
.role-detail .ms { font-size: 17px; color: var(--secondary); margin-top: 5px; flex-shrink: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item:first-child { border-top: 1px solid var(--line-soft); }
.faq-q { width: 100%; background: none; border: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 8px; cursor: pointer; text-align: left; transition: padding-left 0.3s var(--ease); }
.faq-q:hover { padding-left: 18px; }
.faq-q h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); transition: color 0.3s; }
.faq-item.open .faq-q h3, .faq-q:hover h3 { color: var(--secondary); }
.faq-q .ms { color: var(--secondary); flex-shrink: 0; transition: transform 0.4s var(--ease); }
.faq-item.open .faq-q .ms { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-a p { padding: 0 8px 28px; color: var(--on-surface-variant); font-weight: 300; font-size: 0.96rem; max-width: 700px; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface-container); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 48px 44px; position: relative; overflow: hidden; }
@media (max-width: 720px) { .form-card { padding: 34px 24px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 680px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 0.66rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.field input, .field select, .field textarea { width: 100%; padding: 15px 18px; background: var(--surface-lowest); border: 1px solid var(--line); border-radius: var(--r-sm); color: #fff; font-family: var(--sans); font-size: 0.94rem; transition: border-color 0.25s, box-shadow 0.25s; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--secondary) 50%), linear-gradient(135deg, var(--secondary) 50%, transparent 50%); background-position: calc(100% - 21px) 50%, calc(100% - 16px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(217, 253, 159, 0.1); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.76rem; color: var(--muted-2); margin-top: 16px; }
.form-sent { display: none; margin-top: 18px; padding: 14px 20px; border-radius: var(--r-sm); background: rgba(217, 253, 159, 0.08); border: 1px solid var(--line-lime); color: var(--secondary); font-size: 0.88rem; font-weight: 600; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.calendly-wrap { margin-top: 28px; border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; background: var(--surface-low); }
.calendly-wrap iframe { width: 100%; height: 640px; border: none; display: block; background: #fff; }
.calendly-empty { padding: 44px 34px; text-align: center; }
.calendly-empty .ms { font-size: 38px; color: var(--secondary); margin-bottom: 16px; }
.calendly-empty h3 { font-size: 1.25rem; margin-bottom: 10px; }
.calendly-empty p { color: var(--muted); font-weight: 300; font-size: 0.9rem; max-width: 420px; margin: 0 auto; }
.calendly-empty code { color: var(--secondary); background: rgba(217, 253, 159, 0.08); padding: 2px 8px; border-radius: 4px; font-size: 0.82rem; }

.info-tile { display: flex; align-items: flex-start; gap: 18px; padding: 26px; background: var(--surface-low); border: 1px solid var(--line-soft); border-radius: var(--r); margin-bottom: 14px; transition: border-color 0.3s; }
.info-tile:hover { border-color: var(--line-lime); }
.info-tile .icon-chip { width: 48px; height: 48px; flex-shrink: 0; border-radius: var(--r-sm); background: rgba(217, 253, 159, 0.08); border: 1px solid var(--line-lime); display: flex; align-items: center; justify-content: center; color: var(--secondary); }
.info-tile h3 { font-family: var(--sans); font-weight: 800; font-size: 0.98rem; margin-bottom: 4px; }
.info-tile p, .info-tile .sub { color: var(--on-surface-variant); font-size: 0.9rem; font-weight: 300; }
.info-tile a.sub:hover { color: var(--secondary); }
.hours-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: 0.86rem; color: var(--muted); border-bottom: 1px dashed rgba(255, 255, 255, 0.07); }
.hours-row span:last-child { color: var(--on-surface-variant); font-weight: 600; }
.step-mini { display: flex; gap: 16px; padding: 13px 4px; border-bottom: 1px dashed rgba(255,255,255,0.08); }
.step-mini:last-child { border-bottom: none; }
.step-mini .n { font-family: var(--serif); font-style: italic; color: var(--secondary); font-size: 1.05rem; flex-shrink: 0; }
.step-mini b { color: #fff; font-weight: 700; display: block; font-size: 0.9rem; }
.step-mini span { color: var(--on-surface-variant); font-weight: 300; font-size: 0.86rem; }

/* ---------- Lead band ---------- */
.lead-band { border: 1px solid var(--line-lime); border-radius: var(--r-lg); background: linear-gradient(120deg, rgba(58, 77, 28, 0.55), var(--surface-container) 60%); padding: 70px 60px; display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) { .lead-band { grid-template-columns: 1.2fr 1fr; } }
.lead-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.lead-band h2 em { font-style: italic; color: var(--secondary); }
.lead-band p { color: var(--on-surface-variant); font-weight: 300; max-width: 480px; }
.lead-band form { display: flex; gap: 12px; flex-wrap: wrap; }
.lead-band input[type="email"] { flex: 1; min-width: 220px; padding: 16px 20px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface-lowest); color: #fff; font-family: var(--sans); font-size: 0.94rem; }
.lead-band input[type="email"]:focus { outline: none; border-color: var(--secondary); }
.lead-band .dl-ready { display: none; margin-top: 16px; }
.lead-band .dl-ready a { display: inline-flex; align-items: center; gap: 10px; color: var(--secondary); font-weight: 800; font-size: 0.92rem; border-bottom: 1px solid var(--line-lime); padding-bottom: 4px; }
@media (max-width: 720px) { .lead-band { padding: 50px 28px; } }

/* ---------- Logo strip ---------- */
.logo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); }
@media (min-width: 860px) { .logo-strip { grid-template-columns: repeat(6, 1fr); } }
.logo-strip .slot { height: 86px; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); background: var(--surface); transition: background 0.3s; }
.logo-strip .slot:hover { background: var(--surface-low); }

/* ---------- Footer ---------- */
.footer { background: var(--surface-lowest); border-top: 1px solid var(--line-soft); position: relative; overflow: hidden; }
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding: 64px 0; border-bottom: 1px solid var(--line-soft); }
.footer-cta h3 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); max-width: 560px; }
.footer-cta h3 em { font-style: italic; color: var(--secondary); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 44px; padding: 70px 0 60px; position: relative; z-index: 1; }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.8fr 1fr 1fr 1fr 1.2fr; } }
@media (min-width: 640px) and (max-width: 999px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer .logo { font-size: 1.4rem; display: inline-block; margin-bottom: 16px; }
.footer-tag { color: var(--muted); font-weight: 300; font-size: 0.92rem; max-width: 280px; margin-bottom: 22px; }
.footer .soc { display: flex; gap: 10px; }
.footer .soc a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.74rem; font-weight: 800; transition: all 0.25s; }
.footer .soc a:hover { color: var(--secondary); border-color: var(--secondary); }
.footer h4 { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.26em; text-transform: uppercase; color: var(--secondary); margin-bottom: 20px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a, .footer-links li { font-size: 0.9rem; color: var(--muted); transition: color 0.25s, padding-left 0.25s; }
.footer-links a:hover { color: var(--secondary); padding-left: 5px; }
.footer-watermark { font-family: var(--serif); font-weight: 800; font-size: clamp(4rem, 13vw, 11rem); line-height: 0.9; letter-spacing: -0.04em; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06); user-select: none; pointer-events: none; white-space: nowrap; padding-bottom: 8px; }
.footer-watermark i { font-style: normal; -webkit-text-stroke-color: rgba(217, 253, 159, 0.16); }
.footer-bottom { border-top: 1px solid var(--line-soft); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.76rem; color: var(--muted-2); position: relative; z-index: 1; }
.footer-bottom .legal { display: flex; gap: 20px; }
.footer-bottom .legal a:hover { color: var(--secondary); }

/* ---------- Floating ---------- */
.to-top { position: fixed; left: 26px; bottom: 26px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; background: var(--surface-high); border: 1px solid var(--line); color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(14px); pointer-events: none; transition: all 0.35s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: all; }
.to-top:hover { border-color: var(--secondary); color: var(--secondary); }

.chat-fab { position: fixed; right: 26px; bottom: 26px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: var(--secondary); color: var(--on-secondary); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 36px rgba(217, 253, 159, 0.22); transition: transform 0.3s var(--ease); }
.chat-fab:hover { transform: scale(1.07); }
.chat-fab .ms { font-size: 24px; font-variation-settings: "FILL" 1, "wght" 400; }
.chat-panel { position: fixed; right: 26px; bottom: 96px; z-index: 95; width: min(360px, calc(100vw - 40px)); background: var(--surface-container); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); opacity: 0; transform: translateY(16px) scale(0.98); pointer-events: none; transition: all 0.35s var(--ease); }
.chat-panel.open { opacity: 1; transform: none; pointer-events: all; }
.chat-head { background: var(--surface-lowest); padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-soft); }
.chat-head .t { font-weight: 800; font-size: 0.95rem; color: #fff; }
.chat-head .t i { font-style: normal; color: var(--secondary); }
.chat-head .s { font-size: 0.72rem; color: var(--secondary-dim); display: flex; align-items: center; gap: 6px; }
.chat-head .s::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--secondary); }
.chat-head button { background: none; border: none; color: var(--muted); cursor: pointer; }
.chat-body { padding: 20px; max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { background: var(--surface-high); border: 1px solid var(--line-soft); padding: 12px 16px; border-radius: 4px 12px 12px 12px; font-size: 0.88rem; color: var(--on-surface); font-weight: 300; max-width: 88%; animation: msgin 0.4s var(--ease); }
.chat-msg.user { align-self: flex-end; background: var(--secondary-container); color: var(--on-secondary-container); border-radius: 12px 4px 12px 12px; font-weight: 600; }
@keyframes msgin { from { opacity: 0; transform: translateY(8px); } }
.chat-typing { display: inline-flex; gap: 5px; padding: 14px 16px; }
.chat-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--secondary-dim); animation: tdots 1.2s infinite; }
.chat-typing i:nth-child(2) { animation-delay: 0.15s; }
.chat-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes tdots { 0%, 60%, 100% { transform: translateY(0); opacity: 0.4; } 30% { transform: translateY(-5px); opacity: 1; } }
.chat-chips { padding: 0 20px 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chat-chips button { background: rgba(217, 253, 159, 0.08); border: 1px solid var(--line-lime); color: var(--secondary); font-size: 0.74rem; font-weight: 700; padding: 8px 14px; border-radius: 100px; cursor: pointer; transition: all 0.25s; }
.chat-chips button:hover { background: var(--secondary); color: var(--on-secondary); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero-ed h1 .w { opacity: 1; transform: none; filter: none; }
}


/* ===== v6: live-parity + polish ===== */
.nav-mark{height:22px;width:auto;margin-right:10px;display:inline-block;vertical-align:middle}
.nav .logo,.f-brand .logo{display:inline-flex;align-items:center}
.hero-ed .stats{gap:14px}
.hero-ed .stats>div{background:var(--surface-high);border:1px solid rgba(255,255,255,.07);padding:16px 20px;border-radius:4px}
.logo-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08)}
.logo-strip .slot{background:#EFEDE6;min-height:104px;display:flex;align-items:center;justify-content:center;padding:20px 28px;border:0}
.client-logo{max-height:46px;max-width:72%;width:auto;object-fit:contain;display:none}
.slot.has-img .client-logo{display:block}
.slot.has-img .client-logo-fallback{display:none}
.client-logo-wide{max-height:34px;max-width:82%}
.client-logo-fallback{font-family:var(--serif);font-size:1.12rem;color:#1D1C1A;letter-spacing:.2px;text-transform:none}
@media(max-width:760px){.logo-strip{grid-template-columns:repeat(2,1fr)}}
.avatar-photo{position:relative;overflow:hidden}
.avatar-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}

a.slot{text-decoration:none;cursor:pointer;transition:filter .25s ease, transform .25s ease}
a.slot:hover{filter:brightness(1.05);transform:translateY(-2px)}

/* v7: logo band (no tiles) */
.logo-band{background:#EFEDE6;border-radius:2px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:30px 58px;padding:40px 48px}
.logo-band a{display:flex;align-items:center;text-decoration:none;transition:transform .25s ease,opacity .25s ease;opacity:.94}
.logo-band a:hover{transform:translateY(-2px) scale(1.05);opacity:1}
.logo-band img{height:36px;width:auto;max-width:160px;object-fit:contain;display:none}
.logo-band a.has-img img{display:block}
.logo-band a.has-img .client-logo-fallback{display:none}
.logo-band .client-logo-fallback{font-family:var(--serif);color:#1D1C1A;font-size:1.05rem;white-space:nowrap}
.logo-band .lg-tall img{height:48px}
.logo-band .lg-wide img{height:30px;max-width:190px}
@media(max-width:760px){.logo-band{gap:22px 34px;padding:30px 22px}.logo-band img{height:30px}.logo-band .lg-tall img{height:40px}}

/* v9: testimonials */
.t-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:10px}
@media(max-width:860px){.t-grid{grid-template-columns:1fr}}
.t-card{background:var(--surface-container);border:1px solid rgba(255,255,255,.07);border-radius:4px;padding:30px 32px}
.t-quote{font-family:var(--serif);font-size:1.08rem;line-height:1.7;color:var(--on-surface);font-weight:400}
.t-who{display:flex;gap:14px;align-items:center;margin-top:22px}
.t-who b{display:block;font-size:.95rem}
.t-who span{color:var(--muted);font-size:.82rem;font-weight:300}
.t-av{width:46px;height:46px;border-radius:50%;background:var(--secondary-container);position:relative;overflow:hidden;flex:none;display:flex;align-items:center;justify-content:center}
.t-av i{font-style:normal;color:var(--on-secondary-container);font-size:.78rem;font-weight:700;letter-spacing:.5px}
.t-av img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}

/* ===== v10: mobile alignment fixes ===== */
@media (max-width: 768px) {
  .hero-ed .grid > * { min-width: 0; }
  .hero-ed .stats { flex-wrap: wrap; gap: 10px; }
  .hero-ed .stats > div { flex: 1 1 calc(50% - 10px); min-width: calc(50% - 10px); padding: 14px 16px; box-sizing: border-box; }
  .hero-ed .stats .num { font-size: 1.55rem; }
  .hero-ed h1 { font-size: clamp(2.1rem, 9.5vw, 2.8rem); }
  .hero-ed .kicker { margin-top: 28px !important; }
  .hero-ed .actions { flex-wrap: wrap; }
  .hero-ed .actions .btn { width: 100%; justify-content: center; text-align: center; box-sizing: border-box; }
  .nav .logo { font-size: 1rem; white-space: nowrap; letter-spacing: -0.01em; }
  .nav-mark { height: 17px; margin-right: 7px; }
  .logo-band { gap: 20px 30px; padding: 26px 18px; }
  .logo-band img { height: 26px; max-width: 120px; }
  .logo-band .lg-tall img { height: 34px; }
  .logo-band .lg-wide img { height: 22px; max-width: 150px; }
  .logo-band .client-logo-fallback { font-size: 0.95rem; }
  .value-row { grid-template-columns: 1fr; gap: 20px; }
  .sec-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .visual .frame img { max-width: 100%; }
  .case-band, .feature { grid-template-columns: 1fr; }
  .qc-track blockquote { font-size: 1.05rem; }
  .t-card { padding: 24px 22px; }
  .step-ed h3 { font-size: 1.25rem; }
  .cta-ed h2 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .f-grid { grid-template-columns: 1fr 1fr; }
}

/* v10.1: no entrance animations on mobile — instant content */
@media (max-width: 768px) {
  .reveal, .hero-ed h1 .w { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

/* ===== v11: Deloitte text format — Open Sans system ===== */
h1, h2 { font-weight: 300; letter-spacing: -0.015em; }
h1 em, h2 em { font-weight: 300; font-style: italic; }
h3 { font-weight: 600; }
h4, h5 { font-weight: 600; }
.btn { font-weight: 600; }
.num { font-weight: 300; letter-spacing: -0.01em; }
.t-quote { font-weight: 400; font-style: normal; }
.logo { font-weight: 700; }
.client-logo-fallback { font-weight: 600; }
blockquote { font-weight: 300; }
