/* ==========================================================================
   Pack and Fill — site design system
   Entity palette: purple #4A1E63 / #7B3FA0, teal #2AA8A0
   Mobile-first, breakpoints ~768px / 1080px. No external fonts or frameworks.
   ========================================================================== */

:root {
  --c-primary: #4A1E63;
  --c-primary-dark: #38154b;
  --c-primary-mid: #7B3FA0;
  --c-accent: #2AA8A0;
  --c-accent-dark: #17615C;
  --c-ink: #23202a;
  --c-body: #444050;
  --c-muted: #6b6677;
  --c-paper: #ffffff;
  --c-paper-alt: #f6f3f9;
  --c-line: #e3ddeb;
  --c-accent-soft: #e4f5f4;
  --c-purple-soft: #f0e8f6;
  --shadow-sm: 0 1px 3px rgba(58, 21, 75, 0.10);
  --shadow-md: 0 6px 18px rgba(58, 21, 75, 0.12);
  --shadow-lg: 0 14px 34px rgba(58, 21, 75, 0.16);
  --radius: 10px;
  --radius-lg: 16px;
  --maxw: 1120px;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-stack);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-body);
  background: var(--c-paper);
}

img { max-width: 100%; display: block; height: auto; }

h1, h2, h3, h4 {
  color: var(--c-ink);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--c-primary-mid); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-primary); }

ul, ol { padding-left: 1.3rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

strong { color: var(--c-ink); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--c-primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section { padding-block: 3.25rem; }
.section--alt { background: var(--c-paper-alt); }
.section--tight { padding-block: 2.25rem; }

.section__intro { max-width: 46rem; margin-bottom: 2rem; }
.section__intro p { color: var(--c-muted); }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--c-accent-dark);
  margin-bottom: 0.6rem;
}

.text-center { text-align: center; }
.text-center .section__intro { margin-inline: auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn--primary { background: var(--c-accent); color: #10312e; }
.btn--primary:hover { background: #1F7A74; color: #fff; box-shadow: var(--shadow-md); }
.btn--ghost { border-color: #fff; color: #fff; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,0.14); color: #fff; }
.btn--outline { border-color: var(--c-primary-mid); color: var(--c-primary-mid); background: transparent; }
.btn--outline:hover { background: var(--c-primary-mid); color: #fff; }
.btn--lg { padding: 1rem 2.1rem; font-size: 1.02rem; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand__mark { flex: none; }
.brand__name {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brand__tag {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--c-accent-dark);
}

.main-nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 2px solid var(--c-line);
  border-radius: var(--radius);
  padding: 0.5rem 0.85rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-primary);
  cursor: pointer;
}
.main-nav__toggle:hover { border-color: var(--c-primary-mid); }
.main-nav__toggle .bar { display: block; }

.main-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: none;
}

.main-nav__list.is-open { display: block; }

.main-nav__link {
  display: block;
  padding: 0.8rem 0.4rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line);
}
.main-nav__link:hover { color: var(--c-primary-mid); }
.main-nav__link[aria-current="page"] { color: var(--c-accent-dark); }

.main-nav__sub {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1rem;
}
.main-nav__sub .main-nav__link {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--c-muted);
  padding-block: 0.55rem;
}

.header-cta { display: none; }

@media (min-width: 1080px) {
  .main-nav__toggle { display: none; }
  .site-header__inner { min-height: 76px; }
  .main-nav { display: flex; align-items: center; }
  .main-nav__list {
    display: flex;
    align-items: center;
    gap: 0.15rem;
  }
  .main-nav__list.is-open { display: flex; }
  .main-nav__item { position: relative; }
  .main-nav__link {
    border-bottom: none;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
  }
  .main-nav__link:hover { background: var(--c-paper-alt); }
  .main-nav__item--has-sub:hover .main-nav__sub,
  .main-nav__item--has-sub:focus-within .main-nav__sub {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 265px;
    background: var(--c-paper);
    border: 1px solid var(--c-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.45rem;
    z-index: 110;
  }
  .main-nav__sub .main-nav__link { padding: 0.55rem 0.75rem; border-radius: 8px; }
  .main-nav__sub .main-nav__link:hover { background: var(--c-purple-soft); }
  .header-cta { display: inline-block; }
}

/* ---- Hero ---- */
.hero {
  position: relative;
  background: linear-gradient(95deg, rgba(38,16,50,0.82) 0%, rgba(38,16,50,0.48) 45%, rgba(38,16,50,0.06) 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(42, 168, 160, 0.28), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(123, 63, 160, 0.4), transparent 50%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: 3.5rem 4rem;
  display: grid;
  gap: 2rem;
}
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero__lead {
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: #e9ddf2;
  max-width: 42rem;
  margin-bottom: 1.6rem;
}
.hero__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.6rem; }
.hero__badge {
  backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
}
.hero__badge--accent { background: rgba(42,168,160,0.22); border-color: rgba(42,168,160,0.55); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 768px) {
  .hero__inner { padding-block: 4.5rem 5rem; }
}
@media (min-width: 1080px) {
  .hero--split .hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
  }
}

/* Page hero (interior pages) */
.page-hero {
  background: linear-gradient(135deg, var(--c-primary-dark), var(--c-primary));
  color: #fff;
  padding-block: 2.6rem;
}
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); margin-bottom: 0.6rem; }
.page-hero__lead { color: #e9ddf2; max-width: 44rem; font-size: 1.05rem; }

/* Breadcrumb */
.breadcrumb {
  font-size: 0.83rem;
  margin-bottom: 1rem;
  color: #d9c6e8;
}
.breadcrumb a { color: #fff; opacity: 0.85; }
.breadcrumb a:hover { opacity: 1; }
.breadcrumb span[aria-current] { color: var(--c-accent); font-weight: 600; }

/* ---- Stats band ---- */
.stats-band {
  background: var(--c-primary-dark);
  color: #fff;
  padding-block: 2.2rem;
}
.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 1rem;
  text-align: center;
}
.stat__value {
  display: block;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
  color: var(--c-accent);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat__label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: #d9c6e8;
  margin-top: 0.25rem;
}
@media (min-width: 768px) {
  .stats-band__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Cards ---- */
.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
                            .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card__body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 0.5rem; }
.card__body p { color: var(--c-muted); font-size: 0.95rem; margin-bottom: 1rem; }
.card__link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--c-accent-dark);
}
.card__link::after { content: " \2192"; }
.card__link:hover { color: var(--c-primary-mid); }

.card--flat:hover { transform: none; }
.card--flat .card__body h3 { font-size: 1.12rem; }

/* ---- Markets grid ---- */
.markets-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .markets-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .markets-grid { grid-template-columns: repeat(5, 1fr); } }

.market-tile {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-top: 4px solid var(--c-accent);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
}
.market-tile h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.market-tile p { font-size: 0.87rem; color: var(--c-muted); margin: 0; }

/* ---- Process timeline ---- */
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.process-step {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.6rem 3.4rem;
  border-left: 3px solid var(--c-line);
  margin-left: 1.25rem;
}
.process-step:last-child { border-left-color: transparent; padding-bottom: 0; }
.process-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: -1.4rem;
  top: -0.15rem;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 5px var(--c-paper-alt);
}
.process-step h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.process-step p { color: var(--c-muted); font-size: 0.94rem; margin: 0; }

@media (min-width: 768px) {
  .process-list--2col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3rem;
  }
}

/* ---- Capability table ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
  background: var(--c-paper);
}
.table caption {
  text-align: left;
  font-weight: 700;
  color: var(--c-ink);
  padding: 0.9rem 1rem 0.6rem;
}
.table th, .table td { text-align: left; padding: 0.75rem 1rem; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.table thead th { background: var(--c-purple-soft); color: var(--c-primary); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:nth-child(even) { background: var(--c-paper-alt); }

/* ---- Split feature (image + text) ---- */
.split {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
.split__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split__media img { width: 100%; object-fit: cover; }
@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .split--rev .split__media { order: 2; }
}

/* ---- Checklist ---- */
.check-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.55rem;
}
.check-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.05rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--c-accent-soft);
  color: var(--c-accent-dark);
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Compliance band ---- */
.compliance-band {
  background: var(--c-paper-alt);
  border-block: 1px solid var(--c-line);
  padding-block: 1.8rem;
}
.compliance-band__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  text-align: center;
}
.compliance-item__title { font-weight: 800; color: var(--c-primary); font-size: 0.98rem; }
.compliance-item__note { font-size: 0.85rem; color: var(--c-muted); }
@media (min-width: 768px) { .compliance-band__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---- CTA strip ---- */
.cta-strip {
  background: linear-gradient(120deg, var(--c-primary), var(--c-primary-mid));
  color: #fff;
  padding-block: 2.6rem;
}
.cta-strip__inner { display: grid; gap: 1.25rem; text-align: center; }
.cta-strip h2 { color: #fff; margin-bottom: 0.4rem; }
.cta-strip p { color: #e9ddf2; max-width: 38rem; margin-inline: auto; }
@media (min-width: 768px) {
  .cta-strip__inner { grid-template-columns: 1fr auto; align-items: center; text-align: left; }
  .cta-strip p { margin-inline: 0; }
}

/* ---- Quote / contact form ---- */
.form-shell {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 1.75rem 1.4rem;
}
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 768px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid .form-field--full { grid-column: 1 / -1; }
  .form-shell { padding: 2.25rem 2.25rem; }
}

.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--c-ink);
  margin-bottom: 0.35rem;
}
.form-field .req { color: #b3123f; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--c-ink);
  background: var(--c-paper-alt);
  border: 2px solid var(--c-line);
  border-radius: var(--radius);
  padding: 0.7rem 0.85rem;
  transition: border-color .15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  background: #fff;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--c-muted); margin-top: 0.75rem; }

.form-aside { background: var(--c-purple-soft); border-radius: var(--radius-lg); padding: 1.6rem; }
.form-aside h2 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.nap-block { list-style: none; padding: 0; margin: 0 0 1rem; }
.nap-block li { padding-left: 1.7rem; position: relative; margin-bottom: 0.7rem; font-size: 0.94rem; }
.nap-block li::before { content: "\25AA"; position: absolute; left: 0.2rem; color: var(--c-accent); font-size: 1rem; }
.nap-block a { font-weight: 600; }

/* ---- Article / prose ---- */
.prose { max-width: 46rem; }
.prose h2 { margin-block: 2rem 0.8rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-block: 1.5rem 0.6rem; }
.prose ul li, .prose ol li { margin-bottom: 0.45rem; }

/* ---- FAQ ---- */
.faq-list { max-width: 46rem; }
.faq-item {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-paper);
  padding: 1.1rem 1.25rem;
  margin-bottom: 0.8rem;
}
.faq-item h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.faq-item p { font-size: 0.93rem; color: var(--c-muted); margin: 0; }

/* ---- Footer ---- */
.site-footer {
  background: var(--c-primary-dark);
  color: #cfc0dd;
  padding-block: 2.75rem 1.5rem;
  font-size: 0.9rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--c-accent); text-decoration: underline; }
.site-footer h3 {
  color: #fff;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.85rem;
}
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-brand { margin-bottom: 1rem; }
.footer-brand .brand__name { color: #fff; }
.footer-about { max-width: 30rem; }
.footer-group {
  margin-top: 2.25rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 0.85rem;
}
.footer-group a { font-weight: 600; }
.footer-legal {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  font-size: 0.8rem;
  color: #a894bb;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; }
}

/* ---- Utilities ---- */
.mt-0 { margin-top: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.75rem; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* pack-and-fill palette hooks */
:root {
  --brand-800: #4A1E63; --brand-700: #5E2A7D; --brand-600: #7B3FA0;
  --brand-050: #F5EDFA; --accent: #2AA8A0; --accent-500: #2AA8A0; --accent-300: #8FD9D4;
  --brand-glow: rgba(74, 30, 99, 0.35);
}

/* ==========================================================================
   V2 POLISH LAYER — design uplift (type scale, rhythm, depth, mosaic, icons)
   ========================================================================== */

/* ---------- Type scale ---------- */
h1, .h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.02em; line-height: 1.1; font-weight: 800; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -0.02em; max-width: 18ch; }
.section-head h2, .prose h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); letter-spacing: -0.015em; font-weight: 800; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.6; }
body { font-size: 1.0625rem; }

/* ---------- Section rhythm ---------- */
.section { padding-block: 5rem; }
@media (min-width: 768px) { .section { padding-block: 6.5rem; } }

/* ---------- Buttons: pill + gradient + depth ---------- */
.btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.7rem;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.btn--primary {
  background: linear-gradient(120deg, var(--brand-strong, var(--brand-800)), var(--brand-600));
  box-shadow: 0 6px 18px var(--brand-glow, rgba(27, 77, 62, 0.35));
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px var(--brand-glow, rgba(27, 77, 62, 0.45)); }
.btn--ghost { border: 2px solid rgba(255,255,255,0.75); color: #fff; background: rgba(255,255,255,0.08); backdrop-filter: blur(3px); }
.btn--ghost:hover { background: rgba(255,255,255,0.2); }

/* ---------- Cards: depth + hover ---------- */
.card, .compliance__item, .value-card {
  border-radius: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(15, 35, 28, 0.16); }
.card__media img { transition: transform 0.35s ease; }
.card:hover .card__media img { transform: scale(1.04); }

/* ---------- Mosaic: colour-blocked service cards ---------- */
.svc-card--solid {
  color: #fff;
  border: none;
  background: linear-gradient(150deg, var(--brand-800), var(--brand-600));
}
.svc-card--solid h3, .svc-card--solid .card__link { color: #fff; }
.svc-card--solid p { color: rgba(255,255,255,0.86); }
.svc-card--solid .card__link::after { content: " \2192"; }
.svc-card--accent {
  color: var(--brand-900, #10231c);
  border: none;
  background: linear-gradient(150deg, var(--accent-300, #F5D888), var(--accent-500, var(--accent)));
}
.icon-tile {
  width: 52px; height: 52px;
  border-radius: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-050, rgba(255,255,255,0.16));
  color: var(--brand-700, #fff);
  margin-bottom: 0.9rem;
}
.icon-tile svg { width: 26px; height: 26px; }
.svc-card--solid .icon-tile { background: rgba(255,255,255,0.18); color: #fff; }

/* ---------- Stats band: bolder moment ---------- */
.stats-band, .stats-wrap { position: relative; }
.stats-band .stat__value { font-size: clamp(2rem, 4vw, 2.9rem); letter-spacing: -0.02em; }
.stats-band .stat__label { font-size: 0.95rem; }

/* ---------- Hero: layered chips over image ---------- */
.hero__media, .hero { min-height: 560px; }
.hero .hero__inner { padding-block: 5.5rem; max-width: 700px; }

/* ---------- Misc ---------- */
.kicker { font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.82rem; }
.section-head { margin-bottom: 2.6rem; }
img { border-radius: 12px; }
.hero__img img, .card__media img, .split__media img, .hero-media img { border-radius: 0; }
@media (prefers-reduced-motion: reduce) {
  .btn--primary:hover, .card:hover, .card:hover .card__media img { transform: none; }
}

/* --- nav dropdown fix: submenu hidden until hover/focus (desktop) or toggle (mobile) --- */
.main-nav__sub { display: none; }
@media (min-width: 1080px) {
  .main-nav__item--has-sub:hover .main-nav__sub,
  .main-nav__item--has-sub:focus-within .main-nav__sub {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    padding: 0.6rem 0.4rem;
    min-width: 240px;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(30, 12, 40, 0.18);
    border: 1px solid var(--c-line, #eee);
    z-index: 60;
  }
  .main-nav__item--has-sub:hover .main-nav__sub .main-nav__link,
  .main-nav__item--has-sub:focus-within .main-nav__sub .main-nav__link {
    border-bottom: none;
  }
}

/* ---------- Prose reading layout: 2-col on desktop, measured line length, sticky scannable heads ---------- */
@media (min-width: 1080px) {
  .prose.split-prose {
    display: grid;
    grid-template-columns: minmax(0, 62ch) minmax(260px, 340px);
    gap: 3rem;
    align-items: start;
    max-width: none;
  }
  .prose.split-prose > figure { grid-column: 2; grid-row: 1 / span 3; position: sticky; top: 96px; }
  .prose.split-prose > p:first-of-type { font-size: 1.15rem; color: var(--ink-700); }
}
.prose.split-prose > p { max-width: 62ch; }
.prose.split-prose > h2 {
  padding-top: 0.4rem;
  border-top: 1px solid var(--line, #E2DCCE);
  margin-top: 2.2rem;
}
.prose.split-prose > h2:first-of-type { border-top: none; margin-top: 1.4rem; }
