/* ============================================================
   WinInfosoft — Shared Design System
   Based on FinalWininfosoftCompact design language
   ============================================================ */

/* --- Variables -------------------------------------------- */
:root {
  --ink:     #171716;
  --charcoal:#24231F;
  --paper:   #FFF8ED;
  --sand:    #F3E4CC;
  --clay:    #B4532A;
  --saffron: #D99A21;
  --moss:    #536B48;
  --mint:    #DCE8DE;
  --line:    #E7D8C0;
  --muted:   #6D655B;
  --teal:    #92BAC2;
  --teal-light: rgba(146,186,194,.12);
  --white:   #fff;
  --radius:  28px;
  --r-outer: 32px;
  --r-inner: 24px;
  --r-sm:    14px;
  --max:     1180px;
  --shadow-rest:  0 2px 8px rgba(63,42,24,.05);
  --shadow-float: 0 16px 40px rgba(63,42,24,.09);
  --shadow-hero:  0 32px 80px rgba(63,42,24,.14);
  --ease: cubic-bezier(.32,.72,0,1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
}

/* --- Reset / Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4,h5 { margin: 0; line-height: 1.05; letter-spacing: -.03em; font-family: var(--font-display); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
.serif { font-family: var(--font-display); font-style: italic; }

/* --- Skip link -------------------------------------------- */
.skip { position: absolute; left: -999px; }
.skip:focus { left: 18px; top: 18px; z-index: 1000; background: var(--paper); padding: 12px 16px; border-radius: 999px; font-weight: 800; }

/* --- Focus visibility (WCAG 2.1 AA) ------------------------ */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Container -------------------------------------------- */
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }

/* --- Noise overlay ---------------------------------------- */
.noise { position: relative; }
.noise::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 15px 26px;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  transition: transform .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.16);
  transform: skewX(-15deg) translateX(-120%);
  transition: transform .6s var(--ease);
  pointer-events: none;
}
.btn:hover::before { transform: skewX(-15deg) translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.nav .btn, .nav-inner .btn { padding: 11px 20px; font-size: .88rem; }
/* Button-in-button: trailing arrow nested in its own circle */
.btn-cta { padding: 9px 9px 9px 26px; gap: 14px; }
.btn-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.16);
  flex-shrink: 0;
  transition: transform .5s var(--ease), background .5s var(--ease);
}
.btn:hover .btn-arrow { transform: translate(3px,-1px) scale(1.06); }
.btn-light .btn-arrow { background: rgba(23,23,22,.07); }
.btn-gold .btn-arrow { background: rgba(23,23,22,.1); }
.btn-dark  { background: var(--ink);    color: var(--paper); box-shadow: 0 18px 45px rgba(23,23,22,.18); }
.btn-dark:hover  { background: #2a2925; }
.btn-light { background: rgba(255,255,255,.76); border: 1px solid var(--line); color: var(--ink); }
.btn-gold  { background: var(--saffron); color: var(--ink); box-shadow: 0 12px 32px rgba(217,154,33,.25); }
.btn-gold:hover { background: #c4881a; }
.btn-clay  { background: var(--clay);   color: var(--white); }
.btn-clay:hover { background: #9c4422; }

/* --- Eyebrow pill ----------------------------------------- */
.eyebrow {
  display: inline-flex;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--clay);
  font-size: .86rem;
  font-weight: 800;
}
.eyebrow + h1, .eyebrow + h2 { margin-top: 12px; }
.kicker {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 900;
}

/* --- Nav (floating glass pill) ----------------------------- */
header {
  position: fixed;
  inset: 18px 0 auto 0;
  z-index: 50;
  pointer-events: none;
  background: transparent;
}
.nav,
.nav-inner {
  pointer-events: auto;
  width: min(1060px, calc(100% - 32px));
  margin-inline: auto;
  height: 62px;
  padding: 0 12px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255,248,237,.82);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(23,23,22,.08);
  border-radius: 999px;
  box-shadow: 0 2px 18px rgba(63,42,24,.05);
  color: var(--ink);
  transition: box-shadow .5s var(--ease), background .5s var(--ease);
}
header.scrolled .nav,
header.scrolled .nav-inner {
  background: rgba(255,248,237,.95);
  box-shadow: var(--shadow-float);
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.08rem;
  letter-spacing: -.03em;
  flex-shrink: 0;
}
.logo-img { height: 44px; width: auto; display: block; }
.nav-links {
  display: flex;
  gap: 26px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--muted);
}
.nav-links a { transition: color .3s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--clay); }
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(23,23,22,.12);
  background: transparent;
  color: var(--ink);
  place-items: center;
  position: relative;
  z-index: 52;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-btn span {
  display: block;
  width: 16px;
  height: 1.6px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .45s var(--ease), opacity .3s var(--ease);
}
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child  { transform: translateY(-3.3px) rotate(-45deg); }
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 48;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 110px 36px 60px;
  background: rgba(255,248,237,.9);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease);
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  border-bottom: 1px solid rgba(23,23,22,.07);
  transform: translateY(26px);
  opacity: 0;
  transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.mobile-nav.open a { transform: translateY(0); opacity: 1; }
.mobile-nav a:nth-child(1) { transition-delay: .05s; }
.mobile-nav a:nth-child(2) { transition-delay: .1s; }
.mobile-nav a:nth-child(3) { transition-delay: .15s; }
.mobile-nav a:nth-child(4) { transition-delay: .2s; }
.mobile-nav a:nth-child(5) { transition-delay: .25s; }
.mobile-nav a:nth-child(6) { transition-delay: .3s; }
.mobile-nav a:nth-child(7) { transition-delay: .35s; }
.mobile-nav a:hover { color: var(--clay); }

/* --- Breadcrumb (legacy bar — unused) --------------------- */
/* Inline breadcrumb styles defined with .hero-sub */

/* --- Hero (homepage) -------------------------------------- */
.hero-home {
  padding: 140px 0 100px;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(to right, var(--paper) 28%, rgba(248,245,240,.55) 58%, transparent 100%),
    url('images/hero-bg.webp') center right / cover no-repeat,
    radial-gradient(circle at 85% 25%, var(--mint), transparent 40%),
    radial-gradient(circle at 70% 75%, var(--sand), transparent 45%);
  background-color: var(--paper);
  position: relative;
  overflow: hidden;
}
/* dot-grid overlay removed — grain + photo carry the texture */
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 64px;
}
.hero-home h1 {
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  line-height: .92;
  letter-spacing: -.03em;
  margin: 20px 0 0;
}
.hero-home .lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 580px;
  margin: 24px 0 0;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* --- Sub-page hero ---------------------------------------- */
.page-hero {
  padding: 140px 0 60px;
  background:
    radial-gradient(circle at 88% 20%, var(--mint), transparent 30%),
    radial-gradient(circle at 5% 80%, var(--sand), transparent 22%),
    var(--paper);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(23,23,22,.1) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: .45;
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: .96;
  letter-spacing: -.04em;
  margin: 20px 0 0;
  max-width: 700px;
}
.page-hero .lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--muted);
  margin: 20px 0 0;
  max-width: 580px;
}
.page-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 480px;
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: white;
  box-shadow: 0 10px 28px rgba(63,42,24,.06);
}
.page-hero-stats .stat { padding: 16px 18px; }
.page-hero-stats .stat + .stat { border-left: 1px solid var(--line); }
.page-hero-stats b { display: block; font-size: 1.45rem; color: var(--clay); }
.page-hero-stats small { color: var(--muted); font-weight: 700; font-size: .82rem; }

/* --- Stats strip ------------------------------------------ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 560px;
  margin-top: 40px;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: var(--sand);
  box-shadow: 0 12px 35px rgba(63,42,24,.06);
}
.stats-strip .stat { padding: 18px; }
.stats-strip .stat + .stat { border-left: 1px solid var(--line); }
.stats-strip b { display: block; font-size: 1.55rem; color: var(--clay); }
.stats-strip small { color: var(--muted); font-weight: 700; font-size: .82rem; }

/* --- Ticker ----------------------------------------------- */
.ticker-wrap {
  background: var(--charcoal);
  color: var(--paper);
  border-block: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
  overflow: hidden;
}
.ticker {
  display: flex;
  width: max-content;
  gap: 34px;
  animation: ticker 28s linear infinite;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,248,237,.7);
}
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker { animation: none; } }

/* --- Sections --------------------------------------------- */
.section { padding: 82px 0; position: relative; }
.section-sand { background: var(--sand); }
.section-dark {
  background: var(--ink);
  color: var(--paper);
}
.section-white { background: var(--white); }
.section-head {
  display: grid;
  grid-template-columns: .42fr .58fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 46px;
}
.section-head h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.04em;
  margin: 12px 0 0;
}
.section-head p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 62ch;
}
.section-dark .section-head p { color: rgba(255,248,237,.65); }
.section-dark .kicker { color: var(--saffron); }

/* --- Section title (simple) ------------------------------- */
.section-title { margin-bottom: 46px; }
.section-title h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); letter-spacing: -.04em; margin: 12px 0 0; }
.section-title p { color: var(--muted); line-height: 1.75; margin-top: 14px; max-width: 640px; }

/* --- Service cards ---------------------------------------- */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.service-card {
  display: flex;
  gap: 22px;
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 25px rgba(63,42,24,.04);
  transition: .25s transform, .25s box-shadow;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 22px 60px rgba(63,42,24,.09); }
.service-num { font-size: 1.8rem; color: var(--clay); font-weight: 900; line-height: 1; flex-shrink: 0; width: 40px; }
.service-card h3 { font-size: 1.35rem; letter-spacing: -.03em; margin: 0; }
.service-card p { color: var(--muted); line-height: 1.65; margin: 8px 0 0; font-size: .95rem; }
.service-card .chips { margin-top: 14px; }

/* --- 3-col work/case-study cards -------------------------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 25px rgba(63,42,24,.05);
  transition: .25s transform, .25s box-shadow;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 55px rgba(63,42,24,.1); }
.card-visual {
  height: 180px;
  position: relative;
  background: linear-gradient(135deg, var(--moss), var(--mint));
}
.card-visual::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 18px;
}
.card-body { padding: 24px; }
.card-body .label { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); font-weight: 900; }
.card-body h3 { font-size: 1.3rem; margin: 10px 0 0; letter-spacing: -.03em; }
.card-body p { color: var(--muted); line-height: 1.65; margin: 8px 0 0; font-size: .93rem; }

/* --- Chips ------------------------------------------------ */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip {
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--sand);
  font-weight: 800;
  font-size: .78rem;
  color: var(--ink);
}
.chip:nth-child(2n) { background: var(--mint); }
.chip.clay { background: rgba(180,83,42,.12); color: var(--clay); }
.chip.moss { background: rgba(83,107,72,.12); color: var(--moss); }

/* --- Process steps ---------------------------------------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.step-card {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.045);
  border-radius: var(--radius);
  padding: 26px;
}
.step-card b { color: var(--saffron); font-size: 1.1rem; }
.step-card h3 { font-size: 1.2rem; margin: 12px 0 0; }
.step-card p { color: rgba(255,248,237,.65); line-height: 1.65; font-size: .92rem; margin: 10px 0 0; }

/* --- Industry tags ---------------------------------------- */
.industry-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.industry-tags span {
  display: inline-flex;
  border-radius: 999px;
  background: var(--sand);
  padding: 13px 18px;
  font-weight: 900;
}
.industry-tags span:nth-child(2n) { background: var(--mint); }

/* --- Industries box --------------------------------------- */
/* --- Panel (generic white card) --------------------------- */
.panel {
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, var(--line) 0%, rgba(231,216,192,.25) 50%, var(--line) 100%) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 8px 28px rgba(63,42,24,.05);
}
.panel-dark {
  background: var(--ink);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--paper);
}

/* --- Use case list item ----------------------------------- */
.usecase-item {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: white;
  transition: .2s border-color, .2s background;
}
.usecase-item:hover { border-color: var(--clay); background: rgba(180,83,42,.03); }
.usecase-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--sand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}
.usecase-item h3 { font-size: 1rem; letter-spacing: -.02em; margin-bottom: 4px; }
.usecase-item p { font-size: .88rem; color: var(--muted); line-height: 1.55; }

/* --- Stats 4-col grid ------------------------------------- */
.stats-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-box {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(63,42,24,.04);
}
.stat-box b { display: block; font-size: 2.2rem; color: var(--clay); line-height: 1; }
.stat-box strong { display: block; font-size: 1rem; margin-top: 6px; color: var(--ink); }
.stat-box small { display: block; font-size: .82rem; color: var(--muted); margin-top: 4px; }

/* --- CTA block -------------------------------------------- */
.cta-block {
  display: grid;
  grid-template-columns: .62fr .38fr;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: 34px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 25px 70px rgba(63,42,24,.12);
}
.cta-main { padding: 52px; }
.cta-side {
  padding: 52px;
  background: rgba(255,255,255,.055);
  border-left: 1px solid rgba(255,255,255,.1);
}
.cta-block .kicker { color: var(--saffron); }
.cta-block h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); letter-spacing: -.04em; margin: 14px 0 0; }
.cta-block .cta-link { text-decoration: underline; text-decoration-color: var(--saffron); text-underline-offset: 5px; color: var(--paper); }

/* --- Contact form ----------------------------------------- */
.form-field {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: .92rem;
  font-family: inherit;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
}
.form-field:focus { outline: none; border-color: var(--clay); box-shadow: 0 0 0 3px rgba(180,83,42,.1); }
.form-field::placeholder { color: #B0A89A; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-label { display: block; font-size: .82rem; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.form-group { display: flex; flex-direction: column; }

/* --- Partner tile ----------------------------------------- */
.partner-tile {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: .2s transform, .2s box-shadow;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.partner-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(63,42,24,.09); }
.partner-tile h3 { font-size: 1.1rem; letter-spacing: -.02em; margin: 0; }
.partner-tile p { font-size: .85rem; color: var(--muted); line-height: 1.5; margin: 0; }
.partner-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

/* --- Timeline --------------------------------------------- */
.timeline { padding-left: 32px; border-left: 2px solid var(--line); display: flex; flex-direction: column; gap: 28px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -38px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 0 0 0 3px rgba(180,83,42,.2);
}
.timeline-year { font-size: .75rem; font-weight: 900; color: var(--clay); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.timeline-item h3 { font-size: 1.1rem; letter-spacing: -.02em; }
.timeline-item p { color: var(--muted); font-size: .9rem; line-height: 1.65; margin-top: 4px; }

/* --- Filter bar ------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 36px;
}
.filter-btn {
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 800;
  font-size: .82rem;
  border: 1px solid var(--line);
  background: white;
  color: var(--muted);
  cursor: pointer;
  transition: .15s;
}
.filter-btn:hover, .filter-btn.active { background: var(--clay); color: white; border-color: var(--clay); }

/* --- Aggregate impact ------------------------------------- */
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.impact-box {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04);
  border-radius: 22px;
  padding: 28px 20px;
  text-align: center;
}
.impact-box b { display: block; font-size: 2rem; color: var(--saffron); line-height: 1; }
.impact-box strong { display: block; font-size: .95rem; color: var(--paper); margin-top: 8px; }
.impact-box small { display: block; font-size: .8rem; color: rgba(255,248,237,.5); margin-top: 4px; }

/* --- Board visual (homepage) ------------------------------ */
.board {
  position: relative;
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 18px;
}
.note-stack { display: flex; flex-direction: column; gap: 18px; padding-top: 52px; }
.note {
  border: 1.5px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(63,42,24,.08);
  padding: 24px;
  border-radius: 0 24px 24px 24px;
}
.note.green { background: var(--mint); }
.note.dark  { background: var(--ink); color: var(--paper); border-color: var(--ink); border-radius: 24px; }
.note .note-label { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); font-weight: 900; }
.note.dark .note-label { color: var(--saffron); }
.note h2 { font-size: 1.9rem; line-height: 1.05; letter-spacing: -.04em; margin: 14px 0 0; }
.note p  { color: rgba(255,248,237,.72); line-height: 1.6; margin: 12px 0 0; font-size: .95rem; }
.photo-panel {
  min-height: 540px;
  position: relative;
  overflow: hidden;
  border: 10px solid white;
  border-radius: 34px;
  background: linear-gradient(135deg, #d9c6a6, #f3e8d7 38%, #8aa190 38%, #57735a 54%, #171716 54%);
  box-shadow: 0 24px 70px rgba(63,42,24,.14);
}
.photo-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 42%, rgba(255,255,255,.22) 42% 52%, transparent 52%),
    radial-gradient(circle at 75% 18%, #f4c251 0 45px, transparent 46px),
    radial-gradient(circle at 60% 48%, #b4532a 0 72px, transparent 73px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.18) 0 2px, transparent 2px 56px);
  opacity: .9;
}
.project-map {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  border-radius: 24px;
  background: rgba(255,248,237,.94);
  padding: 22px;
  box-shadow: 0 22px 55px rgba(63,42,24,.18);
}
.project-map .note-label { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); font-weight: 900; }

/* --- Work section top ------------------------------------- */
.work-top { display: flex; justify-content: space-between; gap: 28px; align-items: flex-end; margin-bottom: 46px; }

/* --- Certification badges --------------------------------- */
.cert-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.cert-badge {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: .78rem;
  font-weight: 800;
  color: var(--muted);
  background: white;
}

/* --- Team bar chart --------------------------------------- */
.team-bar { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.team-bar-label { font-size: .9rem; font-weight: 700; color: var(--ink); min-width: 140px; }
.team-bar-track { flex: 1; background: var(--sand); border-radius: 999px; height: 10px; overflow: hidden; }
.team-bar-fill { height: 100%; border-radius: 999px; background: var(--clay); }
.team-bar-count { font-weight: 900; font-size: .95rem; color: var(--ink); min-width: 24px; text-align: right; }

/* --- Footer ----------------------------------------------- */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 40px; padding-bottom: 32px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.footer-brand p { color: var(--muted); font-size: .9rem; line-height: 1.7; margin-top: 14px; font-weight: 400; }
.footer-col h4 { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); font-weight: 900; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col li a { color: var(--muted); font-weight: 600; font-size: .9rem; }
.footer-col li a:hover { color: var(--ink); }
.footer-col li a.active-link { color: var(--clay); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: var(--ink); }

/* --- WhatsApp float --------------------------------------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: white;
  box-shadow: 0 18px 45px rgba(63,42,24,.2);
  font-size: 1.6rem;
  transition: .25s transform;
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); }

/* --- Divider with text ------------------------------------ */
.divider { display: flex; align-items: center; gap: 18px; margin: 48px 0 36px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.divider span { font-size: .75rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* --- Value proposition panel ------------------------------ */
.value-panel {
  display: flex;
  gap: 18px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: white;
}
.value-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}
.value-panel h3 { font-size: 1.05rem; letter-spacing: -.02em; margin-bottom: 4px; }
.value-panel p { font-size: .88rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .nav-links, .nav .btn-gold { display: none; }
  .menu-btn { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .board { grid-template-columns: 1fr; }
  .note-stack { padding-top: 0; display: grid; grid-template-columns: 1fr 1fr; }
  .photo-panel { min-height: 380px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .services-grid, .cards-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .cta-block { grid-template-columns: 1fr; }
  .cta-side { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .stats-4, .impact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .team-bar-label { min-width: 100px; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .page-hero { padding: 48px 0 40px; }
  .note-stack, .services-grid, .cards-grid, .steps-grid { grid-template-columns: 1fr; }
  .stats-4, .impact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .work-top { flex-direction: column; align-items: flex-start; }
  .cta-main, .cta-side { padding: 32px; }
  .cs-metrics { grid-template-columns: 1fr 1fr; }
  .hero-home { padding: 120px 0 72px; min-height: auto; }
  .hero-home h1 { font-size: 2.8rem; }
  .page-hero-stats { grid-template-columns: 1fr; }
  .page-hero-stats .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .ticker { animation-duration: 22s; }
  .partner-grid { grid-template-columns: 1fr; }
  .filter-bar { gap: 6px; }
  .cs-filter-card-grid { grid-template-columns: 1fr; }
}

/* --- Partner grid ----------------------------------------- */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.partner-grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cs-filter-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

@media (max-width: 980px) {
  .partner-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .partner-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .cs-filter-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .partner-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .cs-filter-card-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Extended component styles — added for full 18-page site
   ============================================================ */

/* --- Nav inner (alias for .nav — pill styles defined above) */

/* --- Eyebrow variants ------------------------------------- */
.eyebrow-muted {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  padding: 9px 15px;
  border-radius: 999px;
  color: rgba(255,248,237,.75);
  font-size: .86rem;
  font-weight: 800;
}

/* --- Hero homepage extended ------------------------------- */
.hero-eyebrow {
  display: inline-flex;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.7);
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--clay);
  font-size: .82rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.hero-copy { display: flex; flex-direction: column; gap: 0; }
.hero-copy h1 {
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  line-height: .93;
  letter-spacing: -.03em;
  margin: 16px 0 0;
}
.hero-body {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 520px;
  margin: 22px 0 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.6);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  color: var(--muted);
}
.trust-icon {
  width: 12px;
  height: 12px;
  color: var(--moss);
  flex-shrink: 0;
}

/* --- Board visual (homepage hero right) ------------------- */
.board-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 20px;
}
.board-photo {
  border: 10px solid white;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(63,42,24,.14);
  aspect-ratio: 4/3;
}
.board-photo-inner {
  width: 100%;
  height: 100%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.board-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.board-glow-1 {
  width: 260px;
  height: 260px;
  background: var(--clay);
  opacity: 0.32;
  top: -80px;
  right: -60px;
  filter: blur(80px);
}
.board-glow-2 {
  width: 180px;
  height: 180px;
  background: var(--saffron);
  opacity: 0.22;
  bottom: -60px;
  left: 0;
  filter: blur(70px);
}
.board-glow-3 {
  width: 120px;
  height: 120px;
  background: var(--moss);
  opacity: 0.18;
  top: 40%;
  left: -30px;
  filter: blur(60px);
}
.hero-canvas {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 1;
}
.note-card {
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  padding: 18px 22px;
  box-shadow: 6px 6px 0 rgba(63,42,24,.08);
}
.note-card.note-green { background: var(--mint); }
.note-card.note-dark  { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.note-card.note-sand  { background: var(--sand); }
.note-label { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); font-weight: 900; }
.note-card.note-dark .note-label { color: var(--saffron); }
.note-value { font-size: 1.6rem; font-weight: 900; letter-spacing: -.04em; margin-top: 4px; line-height: 1; }

/* --- Homepage stats strip --------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 28px 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  gap: 4px;
}
.stat-item + .stat-item { border-left: 1px solid var(--line); }
.stat-num { font-size: 2.2rem; font-weight: 900; color: var(--clay); line-height: 1; letter-spacing: -.04em; }
.stat-label { font-size: .82rem; font-weight: 700; color: var(--muted); }

/* --- Ticker extended -------------------------------------- */
.ticker-track {
  display: flex;
  width: max-content;
  gap: 28px;
  animation: tickerScroll 30s linear infinite;
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,248,237,.7);
  align-items: center;
}
.ticker-dot { color: var(--saffron); opacity: .6; }
@keyframes tickerScroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* --- Section header (two-col with link) ------------------- */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 46px;
  flex-wrap: wrap;
}
.section-header h2 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: .97;
  letter-spacing: -.04em;
  margin: 12px 0 0;
}
.section-header-light h2 { color: var(--paper); }

/* --- Section ink (dark bg) -------------------------------- */
.section-ink {
  background: var(--ink);
  color: var(--paper);
}

/* --- Service card arrow ----------------------------------- */
.service-arrow {
  display: block;
  margin-top: auto;
  padding-top: 16px;
  font-size: 1.2rem;
  color: var(--clay);
  transition: .2s transform;
}
.service-card:hover .service-arrow { transform: translateX(6px); }

/* --- Card visual colour variants (new naming) ------------- */
.card-visual-green { background: linear-gradient(135deg, var(--moss), var(--mint)); }
.card-visual-clay  { background: linear-gradient(135deg, var(--clay), #efc66f); }
.card-visual-sand  { background: linear-gradient(135deg, var(--ink), var(--moss)); }
.card-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.card-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 800;
  font-size: .9rem;
  color: var(--clay);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: text-decoration-color .2s;
}
.card-link:hover { text-decoration-color: var(--clay); }

/* --- Process steps (dark section layout) ------------------ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
}
.process-step {
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius);
  padding: 28px;
}
.process-step .step-num {
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .14em;
  color: var(--saffron);
  text-transform: uppercase;
}
.process-step h3 { font-size: 1.1rem; margin: 12px 0 0; color: var(--paper); }
.process-step p  { color: rgba(255,248,237,.65); line-height: 1.65; font-size: .9rem; margin: 10px 0 0; }

/* --- Sub-page hero ---------------------------------------- */
.hero-sub {
  padding: 140px 0 80px;
  min-height: 50vh;
  display: flex;
  align-items: center;
  background: var(--paper);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-sub::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sand) 0%, transparent 70%);
  opacity: .9;
  top: -180px;
  right: -80px;
  pointer-events: none;
}
.hero-sub::after {
  content: attr(data-accent);
  position: absolute;
  right: 4%;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 18rem);
  font-weight: 800;
  color: var(--clay);
  opacity: .06;
  line-height: 1;
  letter-spacing: -.06em;
  pointer-events: none;
  z-index: 0;
}
.hero-sub .container { position: relative; z-index: 2; }
.hero-sub-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-sub-grid .hero-sub-visual { min-width: 0; }
@media (max-width: 900px) {
  .hero-sub-grid { grid-template-columns: 1fr; }
  .hero-sub-grid .hero-sub-visual { order: -1; }
}

/* --- Legal content (privacy/terms) ------------------------- */
.legal-content { max-width: 720px; }
.legal-content .legal-updated { font-size: .85rem; color: var(--muted); margin: 0 0 40px; }
.legal-content h2 { font-size: 1.6rem; letter-spacing: -.03em; margin: 44px 0 14px; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { color: var(--muted); line-height: 1.8; margin: 0 0 16px; }
.legal-content ul { margin: 0 0 16px; padding-left: 22px; list-style: disc; color: var(--muted); line-height: 1.8; }
.legal-content li { margin-bottom: 8px; }
.legal-content a { color: var(--clay); text-decoration: underline; text-decoration-color: rgba(180,83,42,.35); text-underline-offset: 3px; }
.hero-sub h1 {
  font-size: clamp(3rem, 5.8vw, 5.4rem);
  line-height: .94;
  letter-spacing: -.04em;
  margin: 20px 0 0;
  color: var(--ink);
}
.hero-sub h1 em.serif { color: var(--clay); }
.hero-sub h1 .serif { color: var(--clay); }
.hero-sub-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted);
  margin: 22px 0 0;
  max-width: 600px;
}

/* --- Breadcrumb ------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 16px;
  background: transparent;
  border: none;
  padding: 0;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--clay); }
.breadcrumb span { opacity: .55; }
.breadcrumb span:last-child { opacity: 1; color: var(--ink); }

/* --- Industries (homepage) -------------------------------- */
.industry-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  font-weight: 800;
  font-size: 1rem;
  transition: .2s background, .2s border-color, .2s transform;
  box-shadow: 0 4px 14px rgba(63,42,24,.04);
}
.industry-tag:hover { background: var(--sand); border-color: var(--clay); transform: translateY(-2px); }
.industry-icon { font-size: 1.3rem; }
.industries-caption {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 16px;
}

/* --- Panel grid ------------------------------------------- */
.panel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
}
.panel h3 { font-size: 1.1rem; letter-spacing: -.02em; margin-bottom: 8px; }
.panel p { font-size: .9rem; color: var(--muted); line-height: 1.65; }
.panel-stack { display: flex; flex-direction: column; gap: 14px; }
.panel-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
@media (max-width: 760px) { .panel-grid-3 { grid-template-columns: 1fr; } }

/* --- Testimonials ----------------------------------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.testimonial-card {
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box,
    linear-gradient(135deg, var(--line) 0%, rgba(231,216,192,.25) 50%, var(--line) 100%) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 4px 20px rgba(63,42,24,.05);
  transition: .2s transform, .2s box-shadow;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(63,42,24,.10);
}
.testimonial-quote {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  font-style: italic;
  flex: 1;
}
.testimonial-quote::before { content: "\201C"; font-family: var(--font-display); font-size: 2.5rem; line-height: 0; vertical-align: -0.6rem; color: var(--clay); margin-right: 4px; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sand);
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 800;
  color: var(--clay);
  flex-shrink: 0;
}
.testimonial-name { font-weight: 800; font-size: .95rem; color: var(--ink); margin: 0; }
.testimonial-role { font-size: .82rem; color: var(--muted); margin: 3px 0 0; }
.chip-industry {
  background: var(--mint);
  color: var(--moss);
  border: none;
  align-self: flex-start;
}

/* --- FAQ (details/summary pattern) ------------------------ */
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: "+"; font-size: 1.4rem; color: var(--clay); flex-shrink: 0; transition: .2s transform; }
details[open] .faq-q::after { transform: rotate(45deg); }
.faq-a { padding: 0 28px 22px; color: var(--muted); line-height: 1.75; font-size: .95rem; }
.faq-a p { color: var(--muted); line-height: 1.75; }

/* --- CTA block (section-level) ---------------------------- */
.cta-block {
  display: block;
  background: var(--ink);
  color: var(--paper);
  border-radius: 34px;
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
  overflow: hidden;
}
.cta-block .container { width: 100%; }
.cta-inner {
  display: grid;
  grid-template-columns: .62fr .38fr;
  min-height: 380px;
}
.cta-copy { padding: 56px; }
.cta-copy h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  line-height: .97;
  letter-spacing: -.04em;
  margin: 14px 0 0;
  color: var(--paper);
}
.cta-copy p { color: rgba(255,248,237,.68); line-height: 1.75; font-size: 1.05rem; margin: 16px 0 0; max-width: 60ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta-aside {
  padding: 56px;
  background: var(--paper);
  color: var(--ink);
  border-left: 1px solid var(--line);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-aside::before {
  content: "W";
  position: absolute;
  right: -4%;
  bottom: -12%;
  font-family: var(--font-display);
  font-size: clamp(7rem, 13vw, 10.5rem);
  font-weight: 800;
  color: var(--clay);
  opacity: .08;
  line-height: 1;
  letter-spacing: -.04em;
  pointer-events: none;
  z-index: 0;
}
.cta-contact-card { width: 100%; position: relative; z-index: 1; }
.contact-label { font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-val { display: block; font-size: 1.15rem; font-weight: 800; color: var(--ink); margin-top: 4px; }

/* --- Footer extended -------------------------------------- */
.footer {
  border-top: 1px solid var(--line);
  padding-top: 60px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}
.footer-brand p { line-height: 1.7; margin-top: 14px; font-weight: 400; }
.footer-address { margin-top: 12px; font-size: .85rem; line-height: 1.7; }
.footer-col h4 { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); font-weight: 900; margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col li a { color: var(--muted); font-weight: 600; font-size: .9rem; }
.footer-col li a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; }

/* --- Two-column layout ------------------------------------ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: start;
}

/* --- Services deep (overview page) ------------------------ */
.services-deep { display: flex; flex-direction: column; gap: 0; }
.service-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-row:first-child { border-top: 1px solid var(--line); }
.service-row-meta { display: flex; flex-direction: column; gap: 16px; }
.service-num-lg {
  font-size: 3rem;
  font-weight: 900;
  color: var(--clay);
  line-height: 1;
  letter-spacing: -.04em;
}
.service-row-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-row-content h2 { font-size: clamp(1.6rem, 2.4vw, 2.4rem); letter-spacing: -.04em; margin-bottom: 16px; }
.service-row-content h2 a:hover { color: var(--clay); }
.service-row-content p { color: var(--muted); line-height: 1.8; margin-bottom: 20px; }

/* --- Usecase grid ----------------------------------------- */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}
.usecase-list {
  list-style: none;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.usecase-list li {
  padding: 8px 12px 8px 28px;
  position: relative;
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.55;
}
.usecase-list li::before {
  content: "→";
  position: absolute;
  left: 8px;
  color: var(--clay);
  font-weight: 800;
}

/* --- Tech chips ------------------------------------------- */
.tech-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.chip-lg {
  border-radius: 999px;
  padding: 10px 18px;
  background: var(--sand);
  font-weight: 700;
  font-size: .88rem;
  color: var(--ink);
  border: 1px solid var(--line);
}

/* --- Filter active state ---------------------------------- */
.filter-active { background: var(--clay) !important; color: white !important; border-color: var(--clay) !important; }

/* --- Stats 4-col (new naming) ----------------------------- */
.stats-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat4 {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(63,42,24,.04);
}
.stat4-num { display: block; font-size: 2.4rem; font-weight: 900; color: var(--clay); line-height: 1; letter-spacing: -.04em; }
.stat4-label { display: block; font-size: .84rem; font-weight: 700; color: var(--muted); margin-top: 8px; line-height: 1.5; }

/* --- Timeline extended ------------------------------------ */
.timeline-content h3 { font-size: 1.1rem; letter-spacing: -.02em; }
.timeline-content p { color: var(--muted); font-size: .9rem; line-height: 1.65; margin-top: 4px; }
.timeline-year {
  display: block;
  font-size: .75rem;
  font-weight: 900;
  color: var(--clay);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* --- Contact page ----------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr .52fr;
  gap: 54px;
  align-items: start;
}
.contact-form-wrap h2 { font-size: clamp(1.6rem, 2.4vw, 2.4rem); letter-spacing: -.04em; margin-bottom: 8px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .82rem; font-weight: 800; color: var(--ink); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: white;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: .92rem;
  font-family: inherit;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(180,83,42,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #b0a89a; }
.form-group textarea { resize: vertical; }
.form-status { min-height: 1.2em; margin: 16px 0 0; font-size: .92rem; font-weight: 700; }
.form-status-success { color: var(--moss); }
.form-status-error { color: var(--clay); }
.contact-info { display: flex; flex-direction: column; gap: 28px; padding-top: 52px; }
.contact-info-block h3 { font-size: 1rem; font-weight: 800; margin-bottom: 6px; }
.contact-info-val { display: block; font-size: 1.1rem; font-weight: 800; color: var(--clay); margin-bottom: 4px; }
.contact-info-block p { color: var(--muted); font-size: .85rem; }
.contact-options { border-top: 1px solid var(--line); padding-top: 24px; }
.contact-options h3 { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.contact-options p { color: var(--muted); font-size: .9rem; line-height: 1.65; }

/* --- Partners page ---------------------------------------- */
.partner-tier {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 44px;
}
.partner-tile-featured {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  background: white;
  box-shadow: 0 10px 36px rgba(63,42,24,.07);
  transition: .25s transform, .25s box-shadow;
}
.partner-tile-featured:hover { transform: translateY(-4px); box-shadow: 0 22px 60px rgba(63,42,24,.1); }
.partner-tile-featured h3 { font-size: 1.15rem; letter-spacing: -.02em; margin: 16px 0 10px; }
.partner-tile-featured p { font-size: .9rem; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.partner-logo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--paper);
  font-size: .88rem;
  font-weight: 900;
  border-radius: 14px;
  padding: 12px 20px;
  letter-spacing: .05em;
}
.partner-specialisms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* --- Workshop page ---------------------------------------- */
.workshop-register {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: start;
  padding: 56px 0;
}
.workshop-register-copy {}
.workshop-facts {
  list-style: none;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.workshop-facts li {
  font-size: .95rem;
  color: rgba(255,248,237,.78);
  line-height: 1.5;
}
.workshop-form-wrap {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 20px 55px rgba(63,42,24,.14);
}
.workshop-form { display: flex; flex-direction: column; gap: 16px; }

/* ============================================================
   Extended responsive overrides
   ============================================================ */
@media (max-width: 980px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .service-row { grid-template-columns: 1fr; gap: 24px; }
  .service-row-meta { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .panel-grid { grid-template-columns: 1fr 1fr; }
  .usecase-grid { grid-template-columns: 1fr 1fr; }
  .stats-4col { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cs-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-aside { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-info { padding-top: 0; }
  .partner-tier { grid-template-columns: 1fr 1fr; }
  .workshop-register { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .board-visual { display: none; }
  .nav-inner .nav-links, .nav-inner .btn-gold { display: none; }
  .testimonial-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .process-steps { grid-template-columns: 1fr; }
  .panel-grid { grid-template-columns: 1fr; }
  .usecase-grid { grid-template-columns: 1fr; }
  .stats-4col { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cs-grid { grid-template-columns: 1fr; }
  .cta-copy, .cta-aside { padding: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .partner-tier { grid-template-columns: 1fr; }
  .hero-sub { padding: 120px 0 60px; min-height: 44vh; }
  .hero-sub h1 { font-size: 2.6rem; }
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Skyvern-inspired additions
   ============================================================ */

/* --- Scroll reveal (heavy fade-up with blur resolve) ------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(6px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
/* Grid stagger — 80ms cascade inside known grids */
.cards-grid .reveal:nth-child(2), .panel-grid .reveal:nth-child(2),
.industries-grid .reveal:nth-child(2), .services-list .reveal:nth-child(2),
.usecase-grid .reveal:nth-child(2), .process-list .reveal:nth-child(2) { transition-delay: .08s; }
.cards-grid .reveal:nth-child(3), .panel-grid .reveal:nth-child(3),
.industries-grid .reveal:nth-child(3), .services-list .reveal:nth-child(3),
.usecase-grid .reveal:nth-child(3), .process-list .reveal:nth-child(3) { transition-delay: .16s; }
.cards-grid .reveal:nth-child(4), .panel-grid .reveal:nth-child(4),
.industries-grid .reveal:nth-child(4), .usecase-grid .reveal:nth-child(4),
.process-list .reveal:nth-child(4) { transition-delay: .24s; }
.industries-grid .reveal:nth-child(5) { transition-delay: .32s; }
.industries-grid .reveal:nth-child(6) { transition-delay: .4s; }
.industries-grid .reveal:nth-child(7) { transition-delay: .48s; }
.industries-grid .reveal:nth-child(8) { transition-delay: .56s; }

/* --- Headline mask reveal ---------------------------------- */
.mask-line { display: block; overflow: hidden; padding-bottom: .24em; margin-bottom: -.24em; padding-left: .08em; margin-left: -.08em; }
.mask-line > span {
  display: inline-block;
  transform: translateY(112%);
  transition: transform .95s var(--ease);
}
body.loaded .mask-line > span { transform: translateY(0); }
.mask-line:nth-of-type(2) > span { transition-delay: .12s; }
.mask-line:nth-of-type(3) > span { transition-delay: .24s; }

/* --- Skyvern stats bar ------------------------------------ */
.skyvern-stats {
  background: white;
  border-block: 1px solid var(--line);
}
.skyvern-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.skyvern-stat {
  text-align: center;
  padding: 24px 52px;
}
.skyvern-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--clay);
  line-height: 1;
  letter-spacing: -.02em;
}
.skyvern-stat-label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.skyvern-divider {
  width: 1px;
  height: 52px;
  background: var(--line);
  flex-shrink: 0;
}

@media (max-width: 980px) {
  .skyvern-stat { padding: 20px 28px; }
  .skyvern-stat-num { font-size: 2.2rem; }
}
@media (max-width: 640px) {
  .skyvern-stats-row { flex-wrap: wrap; gap: 0; }
  .skyvern-stat { padding: 16px 20px; flex: 0 0 50%; }
  .skyvern-divider { display: none; }
  .skyvern-stat:nth-child(odd) { border-right: 1px solid var(--line); }
  .skyvern-stat:nth-child(1),
  .skyvern-stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* ============================================================
   Section header descriptions (fills right-side space)
   ============================================================ */
.section-header-desc {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.78;
  max-width: 460px;
  padding-top: 6px;
  align-self: flex-end;
}
@media (max-width: 780px) {
  .section-header-desc { max-width: 100%; padding-top: 16px; }
}

.hero-visual {
  position: relative;
  padding: 24px 8px 24px 16px;
  display: flex;
  align-items: center;
}

/* ============================================================
   FAQ two-column layout
   ============================================================ */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr .48fr;
  gap: 52px;
  align-items: start;
}
.faq-aside .faq-contact-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  position: sticky;
  top: 100px;
  box-shadow: 0 8px 28px rgba(63,42,24,.06);
}
.faq-contact-card h3 {
  font-size: 1.7rem;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin: 12px 0 16px;
  color: var(--ink);
}
.faq-contact-card > p {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.72;
  margin-bottom: 24px;
}
.faq-contact-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
.faq-contact-label {
  font-size: .73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin: 0 0 8px;
}
.faq-contact-phone {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clay);
  text-decoration: none;
}
.faq-contact-phone:hover { color: var(--ink); }
@media (max-width: 780px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-aside .faq-contact-card { position: static; }
}

/* ============================================================
   Services list (horizontal rows)
   ============================================================ */
.services-list {
  border-top: 1px solid var(--line);
  margin-top: 48px;
}
.svc-link {
  position: relative;
  display: grid;
  grid-template-columns: 44px 48px 1fr 32px;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
}
.svc-link::before {
  content: "";
  position: absolute;
  inset: 0 -20px;
  background: var(--sand);
  border-radius: 12px;
  opacity: 0;
  transition: opacity .18s;
  z-index: -1;
}
.svc-link:hover::before { opacity: 1; }
.svc-link:hover { border-bottom-color: transparent; }
.svc-link + .svc-link { margin-top: 0; }
.sr-num {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .06em;
}
.sr-icon {
  width: 44px;
  height: 44px;
  background: var(--sand);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--clay);
  flex-shrink: 0;
  transition: background .18s;
}
.svc-link:hover .sr-icon { background: white; }
.sr-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin: 0 0 3px;
  font-family: var(--font-body);
}
.sr-content p {
  font-size: .88rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.sr-arrow {
  color: var(--clay);
  font-size: 1.1rem;
  transition: transform .18s;
  text-align: right;
}
.svc-link:hover .sr-arrow { transform: translateX(5px); }
@media (max-width: 640px) {
  .svc-link { grid-template-columns: 36px 40px 1fr 24px; gap: 12px; }
  .sr-icon { width: 40px; height: 40px; }
}

/* ============================================================
   Philosophy section
   ============================================================ */
.section-philosophy {
  padding: 100px 0;
  background: var(--clay);
  position: relative;
  overflow: hidden;
}
.section-philosophy::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(248,245,240,.06) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}
.philosophy-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 80px;
  align-items: center;
}
.philosophy-meta .eyebrow-light {
  color: rgba(248,245,240,.5);
  border-color: rgba(248,245,240,.15);
}
.philosophy-sub {
  color: rgba(248,245,240,.68);
  font-size: .97rem;
  line-height: 1.75;
  margin: 16px 0 28px;
  max-width: 320px;
}
.philosophy-quote {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4.4rem);
  font-weight: 700;
  color: var(--paper);
  line-height: 1.06;
  margin: 0;
  letter-spacing: -.03em;
}
.philosophy-quote em {
  color: var(--saffron);
  font-style: italic;
}
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border: 1.5px solid rgba(248,245,240,.35);
  border-radius: 999px;
  color: var(--paper);
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: border-color .2s, background .2s;
}
.btn-ghost-light:hover {
  border-color: rgba(248,245,240,.7);
  background: rgba(248,245,240,.08);
}
@media (max-width: 860px) {
  .philosophy-inner { grid-template-columns: 1fr; gap: 40px; }
  .philosophy-quote { font-size: clamp(2rem, 7vw, 3.2rem); }
  .philosophy-sub { max-width: 100%; }
}

/* ============================================================
   Industries grid (8-up)
   ============================================================ */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.industry-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.industry-card:hover {
  border-color: var(--clay);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(63,42,24,.07);
}
.industry-card-icon {
  width: 48px;
  height: 48px;
  background: var(--sand);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--clay);
}
.industry-card-name {
  font-size: .93rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
@media (max-width: 860px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .industries-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .industry-card { padding: 18px 14px; }
}

/* ============================================================
   Panel icon SVG (replaces emoji)
   ============================================================ */
.panel-icon {
  width: 52px;
  height: 52px;
  background: var(--sand);
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--clay);
  margin-bottom: 16px;
}
.panel-grid .panel:nth-child(2) .panel-icon, .panel-grid-3 .panel:nth-child(2) .panel-icon { background: var(--mint); color: var(--moss); }
.panel-grid .panel:nth-child(3) .panel-icon, .panel-grid-3 .panel:nth-child(3) .panel-icon { background: rgba(217,154,33,.15); color: var(--clay); }
.panel-grid .panel:nth-child(4) .panel-icon { background: var(--teal-light); color: var(--teal); }

/* ============================================================
   Footer certifications row
   ============================================================ */
.footer-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 20px;
}
.footer-cert {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 8px;
  background: var(--sand);
}
.footer-address a { color: var(--muted); text-decoration: none; }
.footer-address a:hover { color: var(--clay); }

/* ============================================================
   Editorial Luxury v2 — haptic depth, choreography, texture
   ============================================================ */

/* --- Site-wide film grain ----------------------------------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 998;
  pointer-events: none;
  opacity: .032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

/* --- Double-bezel surface (outer shell + inner core) -------- */
.bezel {
  background: rgba(23,23,22,.045);
  border: 1px solid rgba(23,23,22,.07);
  border-radius: var(--r-outer);
  padding: 8px;
}
.bezel > .bezel-core {
  background: var(--white);
  border-radius: var(--r-inner);
  box-shadow: inset 0 1.5px 1px rgba(255,255,255,.7), var(--shadow-rest);
  height: 100%;
  overflow: hidden;
}
.bezel-dark {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
}
.bezel-dark > .bezel-core {
  background: rgba(255,248,237,.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.faq-aside .bezel { position: sticky; top: 104px; }
.faq-aside .bezel .faq-contact-card {
  position: static;
  border: none;
  box-shadow: none;
  border-radius: var(--r-inner);
}

/* --- Hero stats row (hairline-ruled, no boxes) -------------- */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 52px;
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hs-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--clay);
  letter-spacing: -.02em;
  line-height: 1;
}
.hs-label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 7px;
}

/* --- Case studies: asymmetric bento -------------------------- */
.cs-bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.cs-feature-core {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cs-feature-visual {
  min-height: 230px;
  background: linear-gradient(135deg, var(--moss), var(--mint));
  position: relative;
}
.cs-feature-visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 16px;
}
.cs-feature-body { padding: 32px 36px 36px; flex: 1; display: flex; flex-direction: column; }
.cs-feature-metric {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.4rem);
  font-weight: 700;
  color: var(--clay);
  letter-spacing: -.03em;
  line-height: .9;
  margin: 14px 0 10px;
}
.cs-feature-body h3 { font-size: 1.4rem; letter-spacing: -.03em; line-height: 1.25; font-family: var(--font-body); font-weight: 700; }
.cs-feature-body p { color: var(--muted); line-height: 1.7; margin-top: 12px; font-size: .95rem; }
.cs-feature-body .card-link { margin-top: auto; padding-top: 18px; }
.cs-side { display: flex; flex-direction: column; gap: 20px; }
.cs-compact {
  flex: 1;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-inner);
  padding: 30px 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-rest);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
@media (max-width: 760px) { .work-cards { grid-template-columns: 1fr !important; } }
.cs-compact:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.cs-compact-metric {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--clay);
  letter-spacing: -.03em;
  line-height: 1;
}
.cs-compact h3 { font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.3; margin-top: 12px; font-family: var(--font-body); font-weight: 700; }
.cs-compact p { color: var(--muted); font-size: .88rem; line-height: 1.6; margin-top: 8px; }
.cs-compact .card-link { margin-top: auto; padding-top: 14px; }

/* --- Process: compact 4-col strip ----------------------------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.13);
}
.process-item { display: block; }
.process-numeral {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--saffron);
  line-height: .8;
}
.process-body { display: block; margin-top: 14px; }
.process-body h3 { font-size: 1.25rem; color: var(--paper); letter-spacing: -.02em; }
.process-body p { color: rgba(255,248,237,.62); line-height: 1.65; font-size: .9rem; margin-top: 8px; }

/* --- Industries chip wall ------------------------------------ */
.industries-wall { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.industries-wall .industry-tag svg { color: var(--clay); flex-shrink: 0; }

/* --- Personas (who we work with) ----------------------------- */
.persona-grid {
  display: grid;
  grid-template-columns: .42fr .58fr;
  gap: 72px;
  align-items: start;
}
.persona-intro { position: sticky; top: 110px; }
.persona-intro h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: .97; letter-spacing: -.04em; margin: 12px 0 0; }
.persona-intro p { color: var(--muted); line-height: 1.78; margin-top: 18px; font-size: 1.02rem; max-width: 62ch; }
.persona-list { border-top: 1px solid var(--line); }
.persona-row {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 26px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.persona-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--sand);
  display: grid;
  place-items: center;
  color: var(--clay);
}
.persona-row h3 { font-size: 1.35rem; letter-spacing: -.03em; }
.persona-row p { color: var(--muted); font-size: .95rem; line-height: 1.7; margin-top: 8px; }

/* --- Why panels: broken 2×2 offset grid ---------------------- */
.panel-grid-offset {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 44px;
}
.panel-grid-offset .panel:nth-child(even) { margin-top: 44px; }
.panel-grid-offset .panel { border-radius: var(--r-inner); box-shadow: var(--shadow-rest); }

/* --- Featured editorial testimonial -------------------------- */
.testimonial-feature {
  position: relative;
  max-width: 880px;
  padding-left: 58px;
  margin-top: 44px;
}
.testimonial-feature::before {
  content: "\201C";
  position: absolute;
  left: -6px;
  top: -14px;
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
  color: var(--clay);
  opacity: .2;
}
.testimonial-feature blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.42;
  letter-spacing: -.01em;
  color: var(--ink);
}
.tf-author { margin-top: 30px; display: flex; align-items: center; gap: 14px; }
.testimonial-attribs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.tf-mini p { font-size: .96rem; color: var(--muted); font-style: italic; line-height: 1.7; }
.tf-mini .tf-author { margin-top: 16px; }

/* --- Editorial footer ---------------------------------------- */
.footer-statement { padding: 68px 0 52px; border-bottom: 1px solid var(--line); }
.footer-statement p {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.08;
  color: var(--ink);
  max-width: 860px;
}
.footer-statement em { font-style: italic; color: var(--clay); }
.footer-nav-rows { display: flex; flex-direction: column; gap: 6px; padding: 30px 0 4px; }
.footer-nav-group {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: .87rem;
  padding: 8px 0;
}
.footer-nav-label {
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clay);
  min-width: 92px;
}
.footer-nav-group a { color: var(--muted); font-weight: 600; transition: color .3s var(--ease); }
.footer-nav-group a:hover { color: var(--ink); }
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 24px;
  align-items: center;
  padding: 22px 0 10px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 600;
}

/* --- Reduced motion: full coverage ---------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .mask-line > span {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  .ticker, .ticker-track { animation: none !important; }
  .btn, .btn::before, .btn-arrow, .card, .panel, .cs-compact,
  .service-row, .svc-link, .industry-card, .industry-tag, .mobile-nav, .mobile-nav a { transition: none !important; }
}

/* ============================================================
   R3 — Full-canvas editorial (kill block/blank-right rhythm)
   ============================================================ */

/* Hero: type-first, full-width headline with staggered 2nd line */
.hero-editorial { position: relative; z-index: 2; }
.hero-editorial h1 {
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: .94;
  letter-spacing: -.04em;
  margin: 22px 0 0;
  text-wrap: balance;
}
.hero-editorial h1 .mask-line:nth-of-type(2) {
  padding-left: clamp(48px, 16vw, 260px);
}
.hero-row {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 64px;
  align-items: start;
  margin-top: 48px;
}
.hero-row .hero-visual { display: flex; padding: 0 8px 0 0; margin-top: 6px; }
.hero-row .hero-body { margin-top: 0; max-width: 560px; }
.hero-row .hero-stats { margin-top: 40px; }

/* --- Hero home: full-bleed photo variant ------------------- */
.hero-home-photo {
  background:
    linear-gradient(to right, rgba(20,17,15,.9) 0%, rgba(20,17,15,.85) 55%, rgba(20,17,15,.6) 72%, rgba(20,17,15,.3) 100%),
    url('images/hero-network-bg.webp') center right / cover no-repeat;
  background-color: var(--charcoal);
}
.hero-home-photo .hero-editorial {
  max-width: 850px;
  margin-left: max(20px, calc((100% - 1180px) / 2));
  margin-right: auto;
}
.hero-home-photo h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); }
.hero-home-photo .hero-eyebrow {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.22);
  color: var(--saffron);
}
.hero-home-photo h1 { color: var(--paper); }
.hero-home-photo h1 em.serif { color: var(--saffron); }
.hero-home-photo h1 .mask-line:nth-of-type(2) { padding-left: 0; }
.hero-home-photo .hero-body { color: rgba(255,248,237,.78); max-width: 580px; }

/* Section header: right-side desc + button stack (no lone-button voids) */
.sh-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  max-width: 400px;
}
.sh-side .section-header-desc { padding-top: 0; }

/* Flipped header — desc left, heading right-aligned */
.section-header-flip > div:last-child { text-align: right; }
.section-header-flip .section-header-desc { align-self: flex-start; padding-top: 0; }

/* Testimonial spread: quote left, attributions as right counterweight */
.testimonial-spread {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: start;
  margin-top: 44px;
}
.testimonial-spread .testimonial-feature { margin-top: 0; max-width: none; }
.testimonial-spread .testimonial-attribs {
  grid-template-columns: 1fr;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
  border-left: 1px solid var(--line);
  padding-left: 44px;
  gap: 36px;
}

/* Footer statement: statement left, contact CTA counterweight right */
.footer-statement {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 48px;
  align-items: end;
}
.footer-statement p { max-width: none; }
.footer-start {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  justify-self: end;
  text-align: left;
}
.footer-start .footer-start-label {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-start a.plain { color: var(--muted); font-weight: 600; font-size: .92rem; }
.footer-start a.plain:hover { color: var(--ink); }

/* Industries wall: every row fills the full axis */
.industries-wall .industry-tag { flex: 1 1 auto; justify-content: center; }
.industries-wall .industry-tag:nth-child(4n+2) { background: var(--sand); }
.industries-wall .industry-tag:nth-child(4n+3) { background: var(--mint); }

/* Sheet seams: section slides up over the previous one */
.section-sheet {
  border-radius: 44px 44px 0 0;
  margin-top: -56px;
  position: relative;
  z-index: 2;
}

@media (max-width: 980px) {
  .hero-row { grid-template-columns: 1fr; gap: 36px; }
  .hero-editorial h1 .mask-line:nth-of-type(2) { padding-left: clamp(24px, 8vw, 90px); }
  .testimonial-spread { grid-template-columns: 1fr; gap: 36px; }
  .testimonial-spread .testimonial-attribs { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }
  .footer-statement { grid-template-columns: 1fr; align-items: start; }
  .footer-start { justify-self: start; }
  .section-header-flip > div:last-child { text-align: left; }
  .section-header-flip .section-header-desc { align-self: flex-start; }
}
@media (max-width: 640px) {
  .process-list { grid-template-columns: 1fr; }
  .hero-editorial h1 { font-size: clamp(2.6rem, 11vw, 3.4rem); }
  .hero-editorial h1 .mask-line:nth-of-type(2) { padding-left: 18px; }
  .section-sheet { border-radius: 26px 26px 0 0; margin-top: -32px; }
}

/* --- Responsive: v2 components -------------------------------- */
@media (max-width: 980px) {
  .cs-bento { grid-template-columns: 1fr; }
  .persona-grid { grid-template-columns: 1fr; gap: 40px; }
  .persona-intro { position: static; }
}
@media (max-width: 740px) {
  .panel-grid-offset { grid-template-columns: 1fr; }
  .panel-grid-offset .panel:nth-child(even) { margin-top: 0; }
  .testimonial-attribs { grid-template-columns: 1fr; gap: 28px; }
  .testimonial-feature { padding-left: 0; padding-top: 44px; }
  .testimonial-feature::before { left: -4px; top: -18px; }
  .hero-stats { gap: 20px 36px; }
  .hs-num { font-size: 1.85rem; }
  .footer-nav-label { min-width: 100%; }
}

@media (max-width: 980px) {
  .process-list { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .process-list { grid-template-columns: 1fr; }
}

/* --- FAQ accordion (native <details>, no JS) ------------------- */
.faq-section { padding-top: 40px; border-top: 1px solid var(--line); }
.faq-section h2 { margin-top: 12px; }
.faq-list {
  max-width: 800px;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -.01em;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .faq-icon {
  flex: none;
  position: relative;
  width: 22px;
  height: 22px;
}
.faq-item .faq-icon::before,
.faq-item .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--clay);
  transition: transform .35s var(--ease);
}
.faq-item .faq-icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq-item .faq-icon::after { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.faq-item[open] .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-item .faq-answer {
  max-width: 66ch;
  padding: 0 4px 26px;
  color: var(--muted);
  line-height: 1.7;
}
.faq-item .faq-answer p { margin: 0; }
