/* ============================================================
   Solstice Capital — styles.css
   Warm Sunset Minimalist / Editorial
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --terracotta: #C65D3B;
  --amber: #E8A04C;
  --sand: #F3E9DD;
  --cream: #FBF6EF;
  --clay: #3A2A22;   /* ink */
  --rust: #9C4A2A;

  --clay-70: rgba(58, 42, 34, 0.70);
  --clay-55: rgba(58, 42, 34, 0.55);
  --line: rgba(58, 42, 34, 0.14);
  --line-strong: rgba(58, 42, 34, 0.28);
  --white: #ffffff;

  --shadow-sm: 0 1px 2px rgba(58, 42, 34, 0.06);
  --shadow-md: 0 14px 40px -18px rgba(58, 42, 34, 0.35);
  --shadow-lg: 0 30px 70px -30px rgba(58, 42, 34, 0.45);

  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --serif: "Fraunces", "Newsreader", Georgia, serif;
  --sans: "Hanken Grotesk", "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--clay);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 460;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--clay);
}
.display {
  font-size: clamp(2.8rem, 7.2vw, 5.6rem);
  font-weight: 420;
  line-height: 0.98;
  letter-spacing: -0.025em;
}
h2.section-title { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--terracotta);
}
.lead { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--clay-70); line-height: 1.55; }
.serif-italic { font-style: italic; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 820px; }
section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.bg-cream { background: var(--cream); }
.bg-sand { background: var(--sand); }
.bg-clay { background: var(--clay); color: var(--cream); }
.bg-clay h1, .bg-clay h2, .bg-clay h3 { color: var(--cream); }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.divider { height: 1px; background: var(--line); border: 0; }

/* Section heading block */
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head p { margin-top: 1.1rem; }

/* ---------- Sun / arc motif ---------- */
.sun-arc { position: absolute; pointer-events: none; z-index: 0; }
.sun-rays { color: var(--amber); opacity: 0.9; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--sans); font-weight: 600; font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  transition: transform 0.35s var(--ease), background 0.3s var(--ease), box-shadow 0.35s var(--ease), color 0.3s var(--ease);
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform 0.35s var(--ease); }
.btn-primary {
  background: var(--terracotta); color: var(--cream);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--rust); transform: translateY(-2px); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost {
  background: transparent; color: var(--clay);
  border: 1.5px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--terracotta); color: var(--rust); transform: translateY(-2px); }
.btn-light { background: var(--cream); color: var(--clay); }
.btn-light:hover { background: var(--amber); transform: translateY(-2px); }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.075rem; }
.btn-block { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; color: var(--rust);
  border-bottom: 1.5px solid transparent;
  transition: gap 0.3s var(--ease), border-color 0.3s var(--ease);
}
.link-arrow svg { width: 1em; height: 1em; transition: transform 0.3s var(--ease); }
.link-arrow:hover { border-color: var(--terracotta); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 246, 239, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-name {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 500;
  letter-spacing: -0.02em; color: var(--clay);
}
.nav-links { display: flex; align-items: center; gap: 0.35rem; }
.nav-links a {
  position: relative;
  font-size: 0.96rem; font-weight: 500; color: var(--clay-70);
  padding: 0.5rem 0.85rem; border-radius: var(--radius-pill);
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.28rem;
  height: 2px; background: var(--terracotta);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--clay); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--clay); font-weight: 600; }
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 0.75rem; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }

.hamburger {
  display: none; width: 44px; height: 44px;
  border-radius: 10px; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--clay);
  border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0.25rem;
    background: var(--cream);
    padding: 1.25rem var(--gutter) 2rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform 0.4s var(--ease);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 0.9rem 0.5rem; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-links .btn { margin-top: 0.75rem; }
  .nav-cta .btn-apply { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--cream); padding-block: clamp(3.5rem, 7vw, 6rem); }
.hero::before {
  content: ""; position: absolute; z-index: 0;
  width: 130vmax; height: 130vmax;
  top: -78vmax; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle at 50% 100%,
    rgba(232,160,76,0.40) 0%,
    rgba(232,160,76,0.16) 28%,
    rgba(243,233,221,0.0) 56%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 1.5rem; }
.hero-copy h1 { margin-bottom: 1.5rem; }
.hero-copy h1 em { font-style: italic; color: var(--terracotta); }
.hero-copy .lead { max-width: 38ch; margin-bottom: 2rem; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 1.75rem; }
.hero-note { font-size: 0.9rem; color: var(--clay-55); display: flex; align-items: center; gap: 0.5rem; }
.hero-note svg { width: 1.1em; height: 1.1em; color: var(--terracotta); flex: none; }

/* Quick apply card */
.quick-apply {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.quick-apply::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg);
  padding: 1px; background: linear-gradient(135deg, var(--amber), transparent 55%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.quick-apply h2 { font-size: 1.5rem; margin-bottom: 0.35rem; }
.quick-apply .qa-sub { font-size: 0.95rem; color: var(--clay-70); margin-bottom: 1.4rem; }

/* ---------- Forms ---------- */
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-size: 0.85rem; font-weight: 600;
  margin-bottom: 0.45rem; color: var(--clay);
}
.field .req { color: var(--terracotta); }
.input, .select, .textarea {
  width: 100%; font: inherit; color: var(--clay);
  background: var(--cream);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--clay-55); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--terracotta);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(198,93,59,0.14);
}
.textarea { min-height: 130px; resize: vertical; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239C4A2A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
  padding-right: 2.6rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success {
  display: none;
  background: linear-gradient(135deg, rgba(232,160,76,0.18), rgba(198,93,59,0.12));
  border: 1.5px solid var(--terracotta);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem; margin-top: 0.5rem;
  align-items: flex-start; gap: 0.9rem;
}
.form-success.show { display: flex; animation: pop 0.5s var(--ease); }
.form-success svg { width: 26px; height: 26px; flex: none; color: var(--terracotta); margin-top: 2px; }
.form-success h4 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.form-success p { font-size: 0.92rem; color: var(--clay-70); }
@keyframes pop { from { opacity: 0; transform: scale(0.96) translateY(6px); } to { opacity: 1; transform: none; } }

/* ============================================================
   TRUST BADGES
   ============================================================ */
.trust-strip { padding-block: 2.5rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem 2.5rem;
}
.trust-item { display: flex; align-items: center; gap: 0.7rem; color: var(--clay-70); font-weight: 600; font-size: 0.95rem; }
.trust-item svg { width: 22px; height: 22px; color: var(--terracotta); flex: none; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band { background: var(--clay); color: var(--cream); }
.stats-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.stat { text-align: center; padding: 0.5rem; }
.stat .num {
  font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 420; color: var(--amber); line-height: 1; letter-spacing: -0.02em;
}
.stat .label { margin-top: 0.6rem; font-size: 0.85rem; color: rgba(251,246,239,0.7); letter-spacing: 0.02em; }
.stats-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); }
.step { position: relative; padding-top: 1.5rem; }
.step .step-num {
  font-family: var(--serif); font-size: 2.5rem; color: var(--amber);
  line-height: 1; display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 1rem;
}
.step .step-num span { font-size: 0.78rem; font-family: var(--sans); font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rust); }
.step h3 { margin-bottom: 0.6rem; }
.step p { color: var(--clay-70); font-size: 0.98rem; }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 3px; background: var(--terracotta); border-radius: 2px; }

/* ============================================================
   CARDS / SERVICES GRID
   ============================================================ */
.card-grid { display: grid; gap: 1.5rem; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.svc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.svc-card::after {
  content: ""; position: absolute; top: -40px; right: -40px; width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(232,160,76,0.18), transparent 70%);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(198,93,59,0.4); }
.svc-card:hover::after { opacity: 1; }
.svc-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--sand); color: var(--rust);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.3rem; transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.svc-icon svg { width: 28px; height: 28px; }
.svc-card:hover .svc-icon { background: var(--terracotta); color: var(--cream); }
.svc-card h3 { font-size: 1.3rem; margin-bottom: 0.55rem; }
.svc-card p { color: var(--clay-70); font-size: 0.96rem; margin-bottom: 1.1rem; }
.svc-meta { display: flex; gap: 1.25rem; font-size: 0.82rem; color: var(--clay-55); border-top: 1px solid var(--line); padding-top: 0.9rem; }
.svc-meta b { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--clay); font-weight: 500; }

/* ============================================================
   INDUSTRIES
   ============================================================ */
.ind-strip { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.ind-chip {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--white); border: 1px solid var(--line);
  padding: 0.6rem 1.1rem; border-radius: var(--radius-pill);
  font-size: 0.92rem; font-weight: 500;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.ind-chip svg { width: 18px; height: 18px; color: var(--terracotta); }
.ind-chip:hover { transform: translateY(-3px); border-color: var(--terracotta); background: var(--cream); }

.ind-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.6rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.ind-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.ind-card .svc-icon { margin-bottom: 1rem; }
.ind-card h3 { font-size: 1.18rem; margin-bottom: 0.4rem; }
.ind-card p { font-size: 0.92rem; color: var(--clay-70); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.quote {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stars { display: flex; gap: 2px; color: var(--amber); }
.stars svg { width: 18px; height: 18px; }
.quote blockquote { font-family: var(--serif); font-size: 1.2rem; line-height: 1.4; color: var(--clay); font-weight: 420; }
.quote-author { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--cream);
  background: linear-gradient(135deg, var(--amber), var(--terracotta));
}
.quote-author .who { line-height: 1.3; }
.quote-author .who b { font-size: 0.95rem; }
.quote-author .who span { display: block; font-size: 0.82rem; color: var(--clay-55); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { border-top: 1px solid var(--line); max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1.5rem 0.25rem; text-align: left;
  font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 460;
  color: var(--clay); transition: color 0.25s var(--ease);
}
.faq-q:hover { color: var(--rust); }
.faq-icon {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
  color: var(--rust);
}
.faq-icon svg { width: 16px; height: 16px; }
.faq-item[aria-expanded="true"] .faq-icon,
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: var(--terracotta); border-color: var(--terracotta); color: var(--cream); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.45s var(--ease); }
.faq-a-inner { padding: 0 0.25rem 1.6rem; color: var(--clay-70); max-width: 70ch; }

/* ============================================================
   TIMELINE
   ============================================================ */
.timeline { position: relative; max-width: 760px; margin-inline: auto; padding-left: 2rem; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--line-strong); }
.tl-item { position: relative; padding-bottom: 2.5rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -2rem; top: 4px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--terracotta); border: 3px solid var(--cream);
  box-shadow: 0 0 0 1px var(--terracotta);
}
.tl-year { font-family: var(--serif); font-size: 1.4rem; color: var(--rust); margin-bottom: 0.3rem; }
.tl-item h3 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.tl-item p { color: var(--clay-70); font-size: 0.96rem; }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team-card { text-align: center; }
.team-avatar {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 3rem; color: var(--cream);
  margin-bottom: 1.1rem; position: relative; overflow: hidden;
}
.team-avatar.a1 { background: linear-gradient(150deg, var(--amber), var(--terracotta)); }
.team-avatar.a2 { background: linear-gradient(150deg, var(--terracotta), var(--rust)); }
.team-avatar.a3 { background: linear-gradient(150deg, var(--rust), var(--clay)); }
.team-avatar.a4 { background: linear-gradient(150deg, var(--amber), var(--rust)); }
.team-avatar::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.28), transparent 55%);
}
.team-card h3 { font-size: 1.2rem; }
.team-card .role { font-size: 0.85rem; font-weight: 600; color: var(--rust); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.7rem; }
.team-card p { font-size: 0.92rem; color: var(--clay-70); text-align: left; }

/* ============================================================
   TWO-COLUMN ASYMMETRIC / STAT BLOCKS
   ============================================================ */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split.flip { grid-template-columns: 0.9fr 1.1fr; }
.stat-stack { display: grid; gap: 1.5rem; }
.stat-block {
  border-left: 3px solid var(--terracotta);
  padding-left: 1.4rem;
}
.stat-block .num { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--clay); line-height: 1; }
.stat-block .num .accent { color: var(--terracotta); }
.stat-block .label { color: var(--clay-70); margin-top: 0.3rem; }

.prose p { margin-bottom: 1.2rem; color: var(--clay-70); }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { margin: 2rem 0 0.8rem; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value {
  padding: 1.75rem; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
}
.value .svc-icon { background: var(--sand); }
.value h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.value p { font-size: 0.95rem; color: var(--clay-70); }

/* ============================================================
   TABLE
   ============================================================ */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--white); }
table.compare { width: 100%; border-collapse: collapse; min-width: 720px; }
table.compare th, table.compare td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
table.compare thead th {
  background: var(--clay); color: var(--cream); font-weight: 600;
  font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase;
}
table.compare thead th:first-child { border-top-left-radius: var(--radius-lg); }
table.compare thead th:last-child { border-top-right-radius: var(--radius-lg); }
table.compare tbody tr:hover { background: var(--cream); }
table.compare td:first-child, table.compare th:first-child { font-weight: 600; }
table.compare tbody tr:last-child td { border-bottom: none; }

/* ============================================================
   DETAILED SERVICE SECTIONS
   ============================================================ */
.svc-detail { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.svc-detail.flip { grid-template-columns: 1.15fr 0.85fr; }
.svc-detail.flip .svc-detail-media { order: 2; }
.svc-detail-media {
  position: sticky; top: 100px;
  border-radius: var(--radius-lg); padding: 2.5rem;
  background: linear-gradient(150deg, var(--sand), var(--cream));
  border: 1px solid var(--line); aspect-ratio: 4/3;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden; position: relative;
}
.svc-detail-media .big-icon { width: 64px; height: 64px; color: var(--terracotta); }
.svc-detail-media .big-icon svg { width: 100%; height: 100%; }
.svc-detail-media .media-amt { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--clay); line-height: 1.05; }
.svc-detail-media .media-amt span { display: block; font-size: 0.8rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--rust); margin-bottom: 0.4rem; }
.svc-detail h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 0.4rem; }
.svc-detail .svc-tag { color: var(--rust); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; display: block; }
.svc-detail p { color: var(--clay-70); margin-bottom: 1.25rem; }
.feature-list { display: grid; gap: 0.7rem; margin: 1.25rem 0; }
.feature-list li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.97rem; }
.feature-list svg { width: 20px; height: 20px; color: var(--terracotta); flex: none; margin-top: 2px; }
.svc-facts { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.svc-facts .fact span { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clay-55); display: block; }
.svc-facts .fact b { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }

/* ============================================================
   PAGE HERO (interior)
   ============================================================ */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.5rem, 5vw, 4rem); background: var(--cream); }
.page-hero::before {
  content: ""; position: absolute; z-index: 0; right: -10vmax; top: -30vmax;
  width: 70vmax; height: 70vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,76,0.30), transparent 62%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: 1.2rem; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 16ch; }
.page-hero .lead { margin-top: 1.4rem; max-width: 56ch; }
.breadcrumb { font-size: 0.85rem; color: var(--clay-55); margin-bottom: 1.5rem; }
.breadcrumb a:hover { color: var(--rust); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info { display: grid; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .svc-icon { width: 46px; height: 46px; margin: 0; flex: none; }
.contact-item .svc-icon svg { width: 22px; height: 22px; }
.contact-item h3 { font-size: 1.05rem; margin-bottom: 0.15rem; }
.contact-item p, .contact-item a { color: var(--clay-70); font-size: 0.96rem; }
.contact-item a:hover { color: var(--rust); }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.75rem); box-shadow: var(--shadow-md); }
.form-card h2 { font-size: 1.8rem; margin-bottom: 0.4rem; }
.form-card > p { color: var(--clay-70); margin-bottom: 1.75rem; }
.tabs { display: inline-flex; background: var(--sand); border-radius: var(--radius-pill); padding: 4px; margin-bottom: 1.75rem; }
.tab {
  padding: 0.55rem 1.3rem; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.92rem;
  color: var(--clay-70); transition: all 0.3s var(--ease);
}
.tab.active { background: var(--white); color: var(--clay); box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade 0.4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; overflow: hidden; background: var(--clay); color: var(--cream); border-radius: 0; }
.cta-band::before {
  content: ""; position: absolute; z-index: 0; left: 50%; bottom: -60vmax; transform: translateX(-50%);
  width: 100vmax; height: 100vmax;
  background: radial-gradient(circle at 50% 0%, rgba(232,160,76,0.34), transparent 50%);
}
.cta-band .wrap { position: relative; z-index: 1; text-align: center; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); color: var(--cream); max-width: 18ch; margin-inline: auto; }
.cta-band h2 em { font-style: italic; color: var(--amber); }
.cta-band p { color: rgba(251,246,239,0.78); margin: 1.2rem auto 2rem; max-width: 48ch; font-size: 1.1rem; }
.cta-band .hero-cta-row { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--clay); color: rgba(251,246,239,0.7); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(251,246,239,0.14); }
.footer-brand .brand-name { color: var(--cream); }
.footer-brand .brand-mark { width: 30px; height: 30px; }
.footer-brand p { margin-top: 1rem; max-width: 32ch; font-size: 0.95rem; line-height: 1.6; }
.footer-tagline { font-family: var(--serif); font-style: italic; color: var(--amber); margin-top: 1.2rem; font-size: 1.05rem; }
.footer-col h4 { font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--amber); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { font-size: 0.94rem; transition: color 0.25s var(--ease); }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 2rem; font-size: 0.85rem; }
.footer-bottom .legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-disclaimer { font-size: 0.78rem; color: rgba(251,246,239,0.45); margin-top: 1.5rem; line-height: 1.6; max-width: 70ch; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(3, 1fr); row-gap: 2.5rem; }
  .stats-grid.cols-4 { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .quick-apply { max-width: 520px; }
  .split, .split.flip, .contact-grid, .svc-detail, .svc-detail.flip { grid-template-columns: 1fr; }
  .svc-detail-media { position: static; aspect-ratio: 16/7; order: -1 !important; }
  .cols-3, .quote-grid, .steps, .values-grid { grid-template-columns: 1fr; }
  .cols-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .stats-grid, .stats-grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .cols-4 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .field-row { grid-template-columns: 1fr; }
  .trust-row { justify-content: flex-start; }
}

/* ============================================================
   ENHANCEMENTS — added features
   ============================================================ */

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--amber), var(--terracotta), var(--rust));
  z-index: 200; transition: width 0.1s linear;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--terracotta); color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); z-index: 90;
  opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background 0.3s var(--ease);
}
.back-to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--rust); transform: translateY(-3px); }
.back-to-top svg { width: 22px; height: 22px; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem);
  max-width: 640px; margin-inline: auto;
  background: var(--clay); color: rgba(251,246,239,0.85);
  border-radius: var(--radius-lg); padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-lg); z-index: 150;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem;
  transform: translateY(140%); transition: transform 0.5s var(--ease);
}
.cookie-banner.show { transform: none; }
.cookie-banner p { font-size: 0.9rem; flex: 1 1 280px; line-height: 1.5; }
.cookie-banner p a { color: var(--amber); text-decoration: underline; }
.cookie-banner .cookie-actions { display: flex; gap: 0.6rem; flex: none; }
.cookie-banner .btn { padding: 0.6rem 1.2rem; font-size: 0.9rem; }

/* ---------- Footer additions ---------- */
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(251,246,239,0.08); color: rgba(251,246,239,0.75);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer-social a:hover { background: var(--terracotta); color: var(--cream); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-contact li { line-height: 1.5; }
.footer-trust {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center;
  padding: 1.75rem 0; margin-top: 0.5rem;
  border-top: 1px solid rgba(251,246,239,0.14);
}
.footer-trust-item {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.85rem; font-weight: 600; color: rgba(251,246,239,0.7);
}
.footer-trust-item svg { width: 20px; height: 20px; color: var(--amber); flex: none; }

/* ---------- Home trust badges row ---------- */
.badge-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.badge-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.4rem 1.5rem;
  display: flex; align-items: center; gap: 0.9rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.badge-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.badge-card .badge-ic {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: var(--sand); color: var(--rust);
  display: flex; align-items: center; justify-content: center;
}
.badge-card .badge-ic svg { width: 24px; height: 24px; }
.badge-card b { display: block; font-family: var(--serif); font-size: 1.1rem; font-weight: 500; line-height: 1.1; }
.badge-card span { font-size: 0.82rem; color: var(--clay-55); }
.badge-card .badge-stars { color: var(--amber); display: flex; gap: 1px; }
.badge-card .badge-stars svg { width: 13px; height: 13px; }

/* ---------- Count-up stat marker ---------- */
.stat .num[data-count] { font-variant-numeric: tabular-nums; }

/* ============================================================
   TESTIMONIAL CAROUSEL
   ============================================================ */
.carousel { position: relative; max-width: 820px; margin-inline: auto; }
.carousel-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.carousel-track { display: flex; transition: transform 0.55s var(--ease); }
.carousel-slide { flex: 0 0 100%; padding: 0.25rem; }
.carousel-slide .quote { margin: 0; min-height: 100%; }
.carousel-slide blockquote { font-size: clamp(1.25rem, 2.6vw, 1.6rem); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 1.75rem; }
.carousel-btn {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--line-strong); color: var(--rust);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.carousel-btn:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--cream); transform: translateY(-2px); }
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-dots { display: flex; gap: 0.5rem; align-items: center; }
.carousel-dot {
  width: 10px; height: 10px; border-radius: 50%; padding: 0;
  background: var(--line-strong); transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.carousel-dot.active { background: var(--terracotta); transform: scale(1.3); }

/* ============================================================
   FUNDING CALCULATOR
   ============================================================ */
.calc {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}
.calc-controls .field { margin-bottom: 1.5rem; }
.calc-range-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.6rem; }
.calc-range-head label { margin: 0; }
.calc-range-head .calc-val { font-family: var(--serif); font-size: 1.4rem; color: var(--rust); }
input[type="range"].range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px;
  background: var(--sand); border-radius: var(--radius-pill); outline-offset: 6px;
}
input[type="range"].range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--terracotta); border: 3px solid var(--white);
  box-shadow: var(--shadow-md); cursor: pointer; transition: transform 0.2s var(--ease);
}
input[type="range"].range::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"].range::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--terracotta); border: 3px solid var(--white);
  box-shadow: var(--shadow-md); cursor: pointer;
}
.calc-result {
  background: linear-gradient(150deg, var(--sand), var(--cream));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem; text-align: center;
}
.calc-result .calc-payment { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 3.4rem); color: var(--clay); line-height: 1; }
.calc-result .calc-payment span { font-size: 1rem; color: var(--clay-55); font-family: var(--sans); }
.calc-result .calc-sub { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rust); font-weight: 600; margin-bottom: 0.6rem; }
.calc-breakdown { display: grid; gap: 0.5rem; margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); text-align: left; }
.calc-breakdown .row { display: flex; justify-content: space-between; font-size: 0.95rem; }
.calc-breakdown .row b { font-family: var(--serif); font-weight: 500; }
.calc-disclaimer { font-size: 0.78rem; color: var(--clay-55); margin-top: 1.1rem; line-height: 1.5; }

/* ============================================================
   MULTI-STEP WIZARD (apply.html)
   ============================================================ */
.wizard { max-width: 760px; margin-inline: auto; }
.wizard-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: clamp(1.75rem, 4vw, 3rem);
}
.wiz-progress { margin-bottom: 2.25rem; }
.wiz-progress-track { height: 6px; background: var(--sand); border-radius: var(--radius-pill); overflow: hidden; }
.wiz-progress-bar { height: 100%; width: 25%; background: linear-gradient(90deg, var(--amber), var(--terracotta)); border-radius: var(--radius-pill); transition: width 0.5s var(--ease); }
.wiz-steps { display: flex; justify-content: space-between; margin-top: 1.1rem; gap: 0.5rem; }
.wiz-step-pip { display: flex; flex-direction: column; align-items: center; gap: 0.45rem; flex: 1; text-align: center; }
.wiz-step-pip .pip {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--sand); color: var(--clay-55); font-weight: 700; font-size: 0.9rem;
  border: 2px solid transparent; transition: all 0.35s var(--ease);
}
.wiz-step-pip .pip-label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--clay-55); transition: color 0.3s var(--ease); }
.wiz-step-pip.active .pip { background: var(--terracotta); color: var(--cream); }
.wiz-step-pip.active .pip-label { color: var(--rust); }
.wiz-step-pip.done .pip { background: var(--rust); color: var(--cream); }
.wiz-step-pip.done .pip svg { width: 16px; height: 16px; }
.wiz-panel { display: none; animation: fade 0.45s var(--ease); border: 0; padding: 0; margin: 0; min-width: 0; }
.wiz-panel.active { display: block; }
.wiz-panel h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.35rem; }
.wiz-panel .wiz-sub { color: var(--clay-70); margin-bottom: 1.75rem; }
.wiz-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.wiz-nav .btn-back[hidden] { visibility: hidden; }
.field .err-msg { display: none; color: var(--rust); font-size: 0.82rem; margin-top: 0.4rem; font-weight: 600; }
.field.invalid .err-msg { display: block; }
.field.invalid .input, .field.invalid .select { border-color: var(--rust); }
.checkbox-field { display: flex; align-items: flex-start; gap: 0.7rem; margin-bottom: 1.1rem; }
.checkbox-field input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--terracotta); }
.checkbox-field label { font-size: 0.92rem; color: var(--clay-70); margin: 0; font-weight: 500; }

/* Wizard review */
.review-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.review-row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 1.2rem; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
.review-row:last-child { border-bottom: none; }
.review-row:nth-child(odd) { background: var(--cream); }
.review-row .rk { color: var(--clay-55); }
.review-row .rv { font-weight: 600; text-align: right; }

/* Wizard success */
.wiz-success { display: none; text-align: center; padding: 1rem 0; }
.wiz-success.show { display: block; animation: pop 0.6s var(--ease); }
.wiz-success .success-ring {
  width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--amber), var(--terracotta));
  display: flex; align-items: center; justify-content: center; color: var(--cream);
  box-shadow: var(--shadow-md); animation: ringpop 0.6s var(--ease);
}
.wiz-success .success-ring svg { width: 46px; height: 46px; }
.wiz-success h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.6rem; }
.wiz-success p { color: var(--clay-70); max-width: 44ch; margin: 0 auto 1.75rem; }
@keyframes ringpop { 0% { transform: scale(0); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* ============================================================
   BLOG / INSIGHTS
   ============================================================ */
.featured-post {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
}
.featured-post .fp-media {
  aspect-ratio: 4/3; min-height: 280px;
  background: linear-gradient(150deg, var(--amber), var(--terracotta), var(--rust));
  position: relative; overflow: hidden;
}
.featured-post .fp-media::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.30), transparent 55%);
}
.featured-post .fp-media .fp-sun {
  position: absolute; left: 50%; bottom: -40%; transform: translateX(-50%);
  width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(251,246,239,0.55), transparent 65%);
}
.featured-post .fp-body { padding: clamp(1.5rem, 3vw, 2.5rem); }
.post-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--rust); background: var(--sand);
  padding: 0.35rem 0.8rem; border-radius: var(--radius-pill); margin-bottom: 1rem;
}
.featured-post h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 0.8rem; }
.featured-post p { color: var(--clay-70); margin-bottom: 1.25rem; }
.post-meta { display: flex; gap: 1.25rem; font-size: 0.85rem; color: var(--clay-55); align-items: center; flex-wrap: wrap; }
.post-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }

.post-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card .pc-media { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.post-card .pc-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,0.25), transparent 60%); }
.pc-media.g1 { background: linear-gradient(150deg, var(--amber), var(--terracotta)); }
.pc-media.g2 { background: linear-gradient(150deg, var(--terracotta), var(--rust)); }
.pc-media.g3 { background: linear-gradient(150deg, var(--rust), var(--clay)); }
.pc-media.g4 { background: linear-gradient(150deg, var(--amber), var(--rust)); }
.pc-media.g5 { background: linear-gradient(150deg, var(--terracotta), var(--amber)); }
.pc-media.g6 { background: linear-gradient(150deg, var(--clay), var(--rust)); }
.post-card .pc-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.post-card h3 { font-size: 1.25rem; }
.post-card p { color: var(--clay-70); font-size: 0.93rem; flex: 1; }
.post-card .post-meta { margin-top: auto; }

/* Newsletter */
.newsletter {
  background: var(--clay); color: var(--cream); border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem); text-align: center; position: relative; overflow: hidden;
}
.newsletter::before {
  content: ""; position: absolute; left: 50%; top: -50%; transform: translateX(-50%);
  width: 80vmax; height: 80vmax; background: radial-gradient(circle at 50% 100%, rgba(232,160,76,0.30), transparent 55%); pointer-events: none;
}
.newsletter > * { position: relative; z-index: 1; }
.newsletter h2 { color: var(--cream); font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.newsletter p { color: rgba(251,246,239,0.78); margin: 0.8rem auto 1.75rem; max-width: 46ch; }
.newsletter-form { display: flex; gap: 0.75rem; max-width: 480px; margin-inline: auto; }
.newsletter-form .input { background: rgba(251,246,239,0.1); border-color: rgba(251,246,239,0.25); color: var(--cream); }
.newsletter-form .input::placeholder { color: rgba(251,246,239,0.5); }
.newsletter-form .input:focus { background: rgba(251,246,239,0.18); border-color: var(--amber); box-shadow: 0 0 0 4px rgba(232,160,76,0.2); }
.newsletter .form-success { text-align: left; margin-inline: auto; max-width: 480px; }

/* ============================================================
   ARTICLE
   ============================================================ */
.article-hero { background: var(--cream); padding-block: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 3vw, 2.5rem); }
.article-body { max-width: 720px; margin-inline: auto; }
.article-byline { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.75rem; flex-wrap: wrap; }
.article-byline .avatar { width: 48px; height: 48px; }
.article-byline .who b { font-size: 0.98rem; }
.article-byline .who span { font-size: 0.85rem; color: var(--clay-55); }
.article-share { display: flex; gap: 0.5rem; margin-left: auto; }
.article-share a {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--line-strong); color: var(--rust);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.article-share a:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--cream); transform: translateY(-2px); }
.article-share svg { width: 17px; height: 17px; }
.article-cover {
  aspect-ratio: 21/9; border-radius: var(--radius-lg); margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
  background: linear-gradient(150deg, var(--amber), var(--terracotta), var(--rust));
  max-width: 1000px; position: relative; overflow: hidden;
}
.article-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 25% 20%, rgba(255,255,255,0.30), transparent 55%); }

.prose-long { font-size: 1.1rem; line-height: 1.75; color: var(--clay); }
.prose-long > p { margin-bottom: 1.4rem; color: var(--clay-70); }
.prose-long h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.5rem 0 1rem; }
.prose-long h3 { font-size: 1.4rem; margin: 2rem 0 0.8rem; }
.prose-long ul.bullets { list-style: none; display: grid; gap: 0.7rem; margin: 1.25rem 0 1.6rem; }
.prose-long ul.bullets li { position: relative; padding-left: 1.8rem; color: var(--clay-70); }
.prose-long ul.bullets li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px;
  border-radius: 50%; background: var(--terracotta);
}
.prose-long ol.numbered { counter-reset: ol; list-style: none; display: grid; gap: 0.8rem; margin: 1.25rem 0 1.6rem; }
.prose-long ol.numbered li { position: relative; padding-left: 2.4rem; color: var(--clay-70); counter-increment: ol; }
.prose-long ol.numbered li::before {
  content: counter(ol); position: absolute; left: 0; top: 0.1em;
  width: 26px; height: 26px; border-radius: 50%; background: var(--sand); color: var(--rust);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; font-family: var(--sans);
}
.pull-quote {
  font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.35;
  color: var(--clay); border-left: 3px solid var(--terracotta);
  padding: 0.5rem 0 0.5rem 1.6rem; margin: 2rem 0; font-weight: 420;
}
.pull-quote cite { display: block; font-family: var(--sans); font-size: 0.95rem; font-style: normal; color: var(--clay-55); margin-top: 0.8rem; font-weight: 600; }
.callout {
  background: linear-gradient(135deg, rgba(232,160,76,0.14), rgba(198,93,59,0.08));
  border: 1px solid rgba(198,93,59,0.25); border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem; margin: 2rem 0; display: flex; gap: 1rem; align-items: flex-start;
}
.callout svg { width: 26px; height: 26px; color: var(--terracotta); flex: none; margin-top: 2px; }
.callout h4 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.callout p { font-size: 0.96rem; color: var(--clay-70); margin: 0; }
.takeaways {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem 2rem; margin: 2.5rem 0;
}
.takeaways h4 { font-size: 1.15rem; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.6rem; }
.takeaways h4 svg { width: 22px; height: 22px; color: var(--terracotta); }
.takeaways ul { display: grid; gap: 0.7rem; }
.takeaways li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.97rem; color: var(--clay-70); }
.takeaways li svg { width: 20px; height: 20px; color: var(--terracotta); flex: none; margin-top: 2px; }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-note {
  background: linear-gradient(135deg, rgba(232,160,76,0.14), rgba(198,93,59,0.08));
  border: 1px solid rgba(198,93,59,0.25); border-radius: var(--radius);
  padding: 1.1rem 1.4rem; margin-bottom: 2rem; font-size: 0.92rem; color: var(--clay-70);
  display: flex; gap: 0.8rem; align-items: flex-start;
}
.legal-note svg { width: 22px; height: 22px; color: var(--terracotta); flex: none; margin-top: 2px; }
.legal-updated { font-size: 0.88rem; color: var(--clay-55); margin-bottom: 2.5rem; }
.legal-body { max-width: 800px; counter-reset: sec; }
.legal-section { margin-bottom: 2.25rem; }
.legal-section h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.7rem); margin-bottom: 0.8rem; counter-increment: sec;
  display: flex; gap: 0.7rem; align-items: baseline;
}
.legal-section h2::before {
  content: counter(sec); font-size: 0.9rem; font-family: var(--sans); font-weight: 700;
  color: var(--cream); background: var(--terracotta); border-radius: 8px;
  min-width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; flex: none;
  letter-spacing: 0;
}
.legal-section p { color: var(--clay-70); margin-bottom: 1rem; }
.legal-section ul { display: grid; gap: 0.6rem; margin: 0.5rem 0 1rem; }
.legal-section ul li { position: relative; padding-left: 1.5rem; color: var(--clay-70); }
.legal-section ul li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--terracotta); }
.legal-toc {
  position: sticky; top: 100px; align-self: start;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
}
.legal-toc h4 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rust); margin-bottom: 0.9rem; }
.legal-toc ul { display: grid; gap: 0.45rem; }
.legal-toc a { font-size: 0.9rem; color: var(--clay-70); }
.legal-toc a:hover { color: var(--rust); }
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }

/* ============================================================
   RELATED / CTA helper
   ============================================================ */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* Related funding card */
.related-card {
  display: flex; flex-direction: column; gap: 0.6rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.6rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.related-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(198,93,59,0.4); }
.related-card .svc-icon { margin-bottom: 0.5rem; }
.related-card h3 { font-size: 1.2rem; }
.related-card p { font-size: 0.93rem; color: var(--clay-70); flex: 1; }
.related-card .link-arrow { margin-top: 0.4rem; }

/* ============================================================
   DETAIL PAGE — key-terms badges, breadcrumb nav, blocks
   ============================================================ */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.4rem; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: var(--clay-55); }
.breadcrumb [aria-current="page"] { color: var(--clay-70); }

.key-terms { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.8rem; }
.key-term {
  display: inline-flex; flex-direction: column; gap: 0.15rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 0.7rem 1.1rem; box-shadow: var(--shadow-sm);
}
.key-term .kt-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rust); font-weight: 700; }
.key-term .kt-value { font-family: var(--serif); font-size: 1.15rem; color: var(--clay); font-weight: 500; }

/* Info / requirement blocks */
.info-block {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem);
}
.info-block + .info-block { margin-top: 1.5rem; }
.req-list { display: grid; gap: 0.85rem; margin-top: 1.25rem; }
.req-list li { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--clay-70); }
.req-list svg { width: 22px; height: 22px; color: var(--terracotta); flex: none; margin-top: 1px; }

/* Use-case / challenge pills list */
.usecase-list { display: grid; gap: 0.85rem; }
.usecase-list li {
  display: flex; align-items: flex-start; gap: 0.8rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.2rem; color: var(--clay-70);
}
.usecase-list li svg { width: 22px; height: 22px; color: var(--terracotta); flex: none; margin-top: 1px; }
.usecase-list li b { color: var(--clay); }

/* Challenge cards (industry pages) */
.challenge-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.75rem;
  border-left: 3px solid var(--terracotta);
}
.challenge-card h3 { font-size: 1.18rem; margin-bottom: 0.5rem; }
.challenge-card p { font-size: 0.95rem; color: var(--clay-70); }

/* Single testimonial block */
.solo-quote {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 760px; box-shadow: var(--shadow-sm);
}
.solo-quote blockquote { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.4; color: var(--clay); font-weight: 420; margin-bottom: 1.5rem; }

/* Eligibility note inline */
.elig-note {
  display: flex; gap: 0.8rem; align-items: flex-start;
  background: linear-gradient(135deg, rgba(232,160,76,0.14), rgba(198,93,59,0.08));
  border: 1px solid rgba(198,93,59,0.25); border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
}
.elig-note svg { width: 24px; height: 24px; color: var(--terracotta); flex: none; margin-top: 2px; }
.elig-note p { font-size: 0.96rem; color: var(--clay-70); margin: 0; }

/* ============================================================
   RESPONSIVE — enhancements
   ============================================================ */
@media (max-width: 1024px) {
  .badge-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .calc, .featured-post, .legal-grid, .related-grid { grid-template-columns: 1fr; }
  .featured-post .fp-media { min-height: 220px; }
  .legal-toc { position: static; }
  .article-share { margin-left: 0; width: 100%; }
}
@media (max-width: 640px) {
  .badge-row { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .wiz-step-pip .pip-label { display: none; }
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-banner .cookie-actions { justify-content: stretch; }
  .cookie-banner .cookie-actions .btn { flex: 1; justify-content: center; }
  .footer-trust { gap: 0.8rem 1.5rem; }
}

/* ============================================================
   PHOTOGRAPHY / IMAGE TREATMENT
   Warm editorial framing — 12px radii, sand/terracotta tint,
   clay scrim on heroes for legibility. Reuses brand tokens.
   ============================================================ */

/* Shared cover behaviour */
.media-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Homepage hero — warm gradient + rising-sun vector scrim ---------- */
.hero.hero-photo {
  background:
    linear-gradient(105deg, var(--clay) 0%, var(--rust) 55%, var(--terracotta) 100%);
}
.hero.hero-photo::before { display: none; }
.hero-photo-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-photo-bg svg { width: 100%; height: 100%; display: block; }
.hero-photo-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(58,42,34,0.82) 0%, rgba(58,42,34,0.55) 40%, rgba(58,42,34,0.20) 72%, rgba(58,42,34,0.10) 100%);
}
.hero.hero-photo .hero-copy h1,
.hero.hero-photo .hero-copy .lead { color: var(--cream); }
.hero.hero-photo .hero-copy h1 em { color: var(--amber); }
.hero.hero-photo .hero-copy .eyebrow { color: var(--amber); }
.hero.hero-photo .hero-copy .eyebrow::before { background: var(--amber); }
.hero.hero-photo .hero-note { color: rgba(251,246,239,0.78); }
.hero.hero-photo .hero-note svg { color: var(--amber); }

/* ---------- Editorial framed figure (story / why-us photos) ---------- */
.photo-frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 2; background: var(--sand);
}
.photo-frame img,
.photo-frame svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(232,160,76,0.10), transparent 45%, rgba(198,93,59,0.12));
  mix-blend-mode: multiply;
}
.vec-frame { background: var(--clay); }

/* ---------- Team headshots — initials on warm gradient (no photos) ---------- */
.team-avatar span { position: relative; z-index: 1; }

/* ---------- Industry card cover — warm gradient + rising-sun vector ---------- */
.card-photo {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 16 / 10; margin-bottom: 1.2rem;
  background: linear-gradient(150deg, var(--amber), var(--terracotta), var(--rust));
}
.card-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 118%, rgba(251,246,239,0.42), rgba(251,246,239,0.0) 58%);
}
.card-photo .card-arc { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* alternate warm gradients so the grid reads as varied, not flat */
.ind-card:nth-child(4n+2) .card-photo { background: linear-gradient(150deg, var(--terracotta), var(--rust)); }
.ind-card:nth-child(4n+3) .card-photo { background: linear-gradient(150deg, var(--rust), var(--clay)); }
.ind-card:nth-child(4n+4) .card-photo { background: linear-gradient(150deg, var(--amber), var(--rust)); }

/* Blog post-card panels sit flush at the top of the card.
   Photos removed — gradient + rising-sun arc vector instead. */
.post-card .pc-media,
.featured-post .fp-media { display: block; }
.post-card .pc-media::before,
.featured-post .fp-media::before {
  content: ""; position: absolute; left: 50%; bottom: -42%;
  transform: translateX(-50%);
  width: 78%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(251,246,239,0.40) 0%, rgba(251,246,239,0.18) 46%, transparent 64%);
}
.post-card .pc-media .pc-arc,
.featured-post .fp-media .fp-arc { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }

/* ---------- Interior page-hero feature panel (industry pages) — vector ---------- */
.hero-photo-feature {
  margin-top: 2.5rem; position: relative; border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-md);
  aspect-ratio: 21 / 9;
  background: linear-gradient(120deg, var(--clay) 0%, var(--rust) 52%, var(--terracotta) 100%);
  display: flex; align-items: center; justify-content: center;
}
.hero-photo-feature .feature-arc { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-photo-feature .feature-icon {
  position: relative; z-index: 2;
  width: clamp(64px, 12vw, 132px); height: clamp(64px, 12vw, 132px);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(251,246,239,0.14);
  border: 1px solid rgba(251,246,239,0.30);
}
.hero-photo-feature .feature-icon svg {
  width: 52%; height: 52%; color: var(--cream);
}
.hero-photo-feature::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(232,160,76,0.16), transparent 55%);
}

/* ---------- Article cover — gradient + rising-sun vector ---------- */
.article-cover .cover-arc { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.article-cover .cover-label {
  position: absolute; left: clamp(1.2rem, 3vw, 2rem); top: clamp(1.2rem, 3vw, 2rem); z-index: 2;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--clay); background: rgba(251,246,239,0.92);
  padding: 0.4rem 0.85rem; border-radius: var(--radius-pill);
}

@media (max-width: 860px) {
  .hero-photo-feature { aspect-ratio: 16 / 9; }
}

/* ===== Conversion boosters (CX): sticky CTA, exit-intent, social proof ===== */
:root { --cx-accent: var(--terracotta); --cx-accent-ink: #FFFFFF; --cx-surface: var(--cream); --cx-text: var(--clay); --cx-muted: var(--clay-70); --cx-line: var(--line-strong); --cx-bw: 1px; --cx-radius: var(--radius); --cx-radius-lg: var(--radius-lg); --cx-kicker: var(--terracotta); --cx-check: var(--terracotta); }

/* Sticky mobile CTA bar */
.cx-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; display: none; padding: 9px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--cx-surface, #fff); border-top: var(--cx-bw, 1px) solid var(--cx-line, rgba(0,0,0,.14)); box-shadow: 0 -12px 32px rgba(0,0,0,.22); transform: translateY(110%); transition: transform .35s ease; }
.cx-bar.show { transform: none; }
.cx-bar-note { font-size: .72rem; letter-spacing: .02em; color: var(--cx-muted, #777); text-align: center; margin-bottom: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-bar-btns { display: flex; gap: 10px; }
.cx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: .95rem; line-height: 1; padding: 14px 18px; border-radius: var(--cx-radius, 10px); text-decoration: none; cursor: pointer; border: 0; }
.cx-bar .cx-btn { flex: 1; }
.cx-bar .cx-btn-solid { flex: 1.6; }
.cx-btn-solid { background: var(--cx-accent, #111); color: var(--cx-accent-ink, #fff); }
.cx-btn-ghost { background: transparent; color: var(--cx-text, #111); border: var(--cx-bw, 1px) solid var(--cx-line, rgba(0,0,0,.25)); }
@media (max-width: 820px) {
  .cx-bar { display: block; }
  body.cx-bar-on .cookie-banner { bottom: 104px !important; }
  body.cx-bar-on .to-top { bottom: 104px !important; }
}

/* Exit-intent modal */
.cx-modal { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(8, 10, 14, .6); backdrop-filter: blur(5px); }
.cx-modal.open { display: flex; animation: cxFade .25s ease; }
@keyframes cxFade { from { opacity: 0; } to { opacity: 1; } }
.cx-modal-card { position: relative; width: min(520px, 100%); background: var(--cx-surface, #fff); color: var(--cx-text, #111); border: var(--cx-bw, 1px) solid var(--cx-line, rgba(0,0,0,.14)); border-radius: var(--cx-radius-lg, 18px); padding: 36px 34px 28px; box-shadow: 0 40px 90px rgba(0,0,0,.4); text-align: left; }
.cx-modal-x { position: absolute; top: 12px; right: 16px; background: none; border: 0; font-size: 1.7rem; line-height: 1; color: var(--cx-muted, #888); cursor: pointer; padding: 4px; }
.cx-modal-x:hover { color: var(--cx-text, #111); }
.cx-modal-kicker { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cx-kicker, var(--cx-muted, #888)); margin-bottom: 10px; }
.cx-modal-title { font-size: clamp(1.4rem, 3vw, 1.75rem); line-height: 1.18; margin: 0 0 10px; color: var(--cx-text, #111); }
.cx-modal-sub { font-size: .96rem; color: var(--cx-muted, #666); margin: 0 0 18px; }
.cx-modal-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.cx-modal-list li { display: flex; align-items: center; gap: 10px; font-size: .93rem; color: var(--cx-text, #222); }
.cx-modal-list svg { flex: none; color: var(--cx-check, currentColor); }
.cx-modal-cta { display: flex; width: 100%; font-size: 1.02rem; padding: 16px 20px; }
.cx-modal-no { display: block; width: 100%; margin-top: 12px; background: none; border: 0; color: var(--cx-muted, #888); font-size: .82rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.cx-modal-no:hover { color: var(--cx-text, #111); }

/* Social-proof toast */
.cx-toast { position: fixed; left: 20px; bottom: 20px; z-index: 9994; display: none; align-items: flex-start; gap: 11px; width: min(330px, calc(100vw - 40px)); background: var(--cx-surface, #fff); color: var(--cx-text, #111); border: var(--cx-bw, 1px) solid var(--cx-line, rgba(0,0,0,.14)); border-radius: var(--cx-radius, 12px); box-shadow: 0 18px 48px rgba(0,0,0,.28); padding: 14px 34px 14px 14px; opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .4s ease; pointer-events: none; }
.cx-toast.show { opacity: 1; transform: none; pointer-events: auto; }
.cx-toast-dot { flex: none; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--cx-dot, #22c55e); box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.cx-toast-body { font-size: .86rem; line-height: 1.45; }
.cx-toast-time { display: block; margin-top: 4px; font-size: .74rem; color: var(--cx-muted, #888); }
.cx-toast-x { position: absolute; top: 6px; right: 9px; background: none; border: 0; font-size: 1.15rem; line-height: 1; color: var(--cx-muted, #999); cursor: pointer; padding: 2px; }
@media (min-width: 821px) { .cx-toast { display: flex; } }
@media (prefers-reduced-motion: reduce) { .cx-bar, .cx-toast { transition: none; } .cx-modal.open { animation: none; } }
