/* =========================================================================
   Web Control — website stylesheet
   Built from the Web Control Brand and Marketing Guide (v1, 1 Oct 2026).
   Palette: Ink Black, Electric Violet, Core Orange, Off-White + supporting
   violet shades and warm neutrals. Typeface: Poppins (brand kit).
   ========================================================================= */

:root {
  /* Core palette */
  --ink: #0F0324;
  --violet: #7052F2;
  --orange: #FF5E40;
  --off: #FAFAFA;
  /* Supporting shades */
  --v600: #5C40C7;
  --v700: #4A2B99;
  --v900: #361A6B;
  --warm: #F7F5F0;
  --stone: #EDE8DE;
  --white: #FFFFFF;

  --grad: linear-gradient(135deg, #361A6B 0%, #7052F2 45%, #FF5E40 100%);
  --grad-soft: linear-gradient(135deg, rgba(54,26,107,.94) 0%, rgba(112,82,242,.86) 50%, rgba(255,94,64,.82) 100%);

  --text: var(--ink);
  --muted: rgba(15, 3, 36, .72);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15,3,36,.04), 0 8px 24px rgba(15,3,36,.06);
  --shadow-lg: 0 20px 50px rgba(15,3,36,.14);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;

  --font: "Poppins", "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--off);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--violet); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--v700); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.015em; font-weight: 700; color: inherit; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.005em; }
h4 { font-size: 1rem; }
strong, b { font-weight: 600; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 1000; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--warm { background: var(--warm); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: #fff; }
.section--grad { background: var(--grad); color: #fff; }
.section + .section--warm, .section--warm + .section { border-top: 1px solid var(--stone); }

.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .grid-5 { grid-template-columns: repeat(2, minmax(0,1fr)); } }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-l { margin-top: clamp(32px, 4vw, 56px); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-block;
  font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 14px;
}
.on-dark .eyebrow, .section--ink .eyebrow, .section--grad .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #fff; opacity: .9; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--muted); }
.on-dark .lead, .section--ink .lead, .section--grad .lead, .hero .lead, .page-hero .lead { color: rgba(255,255,255,.86); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { margin-bottom: .35em; }
.muted { color: var(--muted); }
.text-violet { color: var(--violet); } .text-orange { color: var(--orange); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 .95rem/1 var(--font); letter-spacing: .01em;
  padding: 15px 24px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn .i { width: 1.1em; height: 1.1em; transition: transform .15s ease; }
.btn:hover .i--arrow { transform: translateX(3px); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(255,94,64,.32); }
.btn--primary:hover { background: #F04E30; color: #fff; transform: translateY(-1px); }
.btn--violet { background: var(--violet); color: #fff; }
.btn--violet:hover { background: var(--v600); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--v900); color: #fff; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: 11px 18px; font-size: .875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--violet); }
.link-arrow:hover .i { transform: translateX(3px); }
.link-arrow .i { width: 1em; height: 1em; transition: transform .15s ease; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,250,.92);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--stone); box-shadow: 0 4px 20px rgba(15,3,36,.05); }
.topbar { background: var(--ink); color: rgba(255,255,255,.82); font-size: .8rem; }
.topbar .container { display: flex; justify-content: flex-end; gap: 22px; align-items: center; min-height: 36px; }
.topbar a { color: rgba(255,255,255,.88); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar .i { width: 14px; height: 14px; }
@media (max-width: 680px) { .topbar .hide-sm { display: none; } .topbar .container { justify-content: center; } }

.nav { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.nav__menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 13px; border-radius: 999px; background: none; border: 0; cursor: pointer;
  font: 500 .93rem/1 var(--font); color: var(--ink); text-decoration: none;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { background: rgba(112,82,242,.08); color: var(--v700); }
.nav__link.is-active { color: var(--violet); }
.nav__link .i { width: 14px; height: 14px; transition: transform .2s ease; }
.nav__link[aria-expanded="true"] .i { transform: rotate(180deg); }
.nav__cta { margin-left: 10px; }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px);
  min-width: 300px; background: #fff; border: 1px solid var(--stone); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.dropdown--wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav__item.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.dropdown a:hover { background: var(--warm); }
.dropdown .dd-icon { width: 34px; height: 34px; border-radius: 50%; background: rgba(112,82,242,.1); color: var(--violet); display: grid; place-items: center; flex: none; }
.dropdown .dd-icon .i { width: 17px; height: 17px; }
.dropdown strong { display: block; font-size: .92rem; font-weight: 600; line-height: 1.3; }
.dropdown small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; margin-top: 2px; }

.nav__toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; border-radius: 8px; }
.nav__toggle .i { width: 28px; height: 28px; }

@media (max-width: 1120px) {
  .nav__toggle { display: inline-flex; }
  .nav__panel {
    position: fixed; inset: calc(var(--header-h) + 36px) 0 0 0; background: var(--off);
    overflow-y: auto; padding: 16px var(--gutter) 40px; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; visibility: hidden;
    border-top: 1px solid var(--stone);
  }
  .nav-open .nav__panel { opacity: 1; transform: none; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav__menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--stone); }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-radius: 0; }
  .nav__link:hover, .nav__link[aria-expanded="true"] { background: none; }
  .dropdown, .dropdown--wide { position: static; transform: none; min-width: 0; box-shadow: none; border: 0; background: transparent; padding: 0 0 12px; display: none; opacity: 1; visibility: visible; }
  .nav__item.is-open .dropdown { display: block; transform: none; }
  .nav__cta { margin: 20px 0 0; }
  .nav__cta .btn { width: 100%; }
}

/* ---------- Dot grid motif ---------- */
.dots {
  position: absolute; width: 140px; height: 60px; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.45) 1.2px, transparent 1.8px);
  background-size: 14px 14px;
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; background: var(--grad);
  padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px);
}
.hero::after { /* soft vignette for depth */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 80% at 85% 40%, rgba(255,255,255,.10), transparent 60%);
}
.hero .dots { top: 36px; right: var(--gutter); }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); margin-bottom: .3em; }
.hero .lead { max-width: 620px; }
.hero__quote { border-left: 4px solid var(--orange); padding: 2px 0 2px 18px; font-weight: 600; font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.45; margin: 28px 0 34px; max-width: 600px; }
.hero__mark { position: relative; aspect-ratio: 1; max-width: 420px; margin-left: auto; width: 100%; }
.hero__mark img { width: 100%; height: 100%; filter: drop-shadow(0 0 40px rgba(112,82,242,.75)) drop-shadow(0 0 110px rgba(255,255,255,.18)); animation: float 9s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-10px) rotate(2deg); } }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .hero__mark { max-width: 220px; margin: 0; order: -1; } }

.hero-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid rgba(255,255,255,.3); }
.hero-stats b { display: block; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1; font-weight: 700; margin-bottom: 8px; }
.hero-stats span { font-size: .9rem; color: rgba(255,255,255,.84); line-height: 1.45; display: block; }
@media (max-width: 760px) { .hero-stats { grid-template-columns: 1fr 1fr; } }

.frost { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); padding: 18px 20px; backdrop-filter: blur(6px); }

/* ---------- Inner page hero (banded, photo + gradient overlay) ---------- */
.page-hero { position: relative; color: #fff; background: var(--grad); overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: .35; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: var(--grad-soft); z-index: 1; }
.page-hero.no-photo::before { display: none; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero .dots { top: 28px; right: var(--gutter); z-index: 2; }
.page-hero h1 { max-width: 860px; font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.page-hero .lead { max-width: 720px; margin-bottom: 28px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.45); color: #fff; }
.chip--solid { background: var(--violet); border-color: var(--violet); color: #fff; text-transform: none; letter-spacing: 0; font-size: .88rem; }
.chip--light { background: #fff; border-color: var(--stone); color: var(--ink); text-transform: none; letter-spacing: 0; font-size: .88rem; }

/* ---------- Cards ---------- */
.card {
  position: relative; background: #fff; border: 1px solid var(--stone); border-radius: var(--radius);
  padding: clamp(22px, 2.6vw, 30px); box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card--warm { background: var(--warm); box-shadow: none; }
.card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.card--link { text-decoration: none; color: var(--ink); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(112,82,242,.35); color: var(--ink); }
.card--link .link-arrow { margin-top: auto; padding-top: 14px; }
.card--top-violet { border-top: 4px solid var(--violet); }
.card--top-orange { border-top: 4px solid var(--orange); }
.card__media { margin: calc(-1 * clamp(22px, 2.6vw, 30px)); margin-bottom: 22px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 7 / 5; background: var(--warm); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card--link:hover .card__media img { transform: scale(1.04); }

.icon-circle { width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; margin-bottom: 18px; flex: none; }
.icon-circle .i { width: 22px; height: 22px; }
.icon-circle--violet { background: var(--violet); }
.icon-circle--ink { background: var(--ink); }
.num-circle { width: 40px; height: 40px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .95rem; flex: none; }
.num-circle--orange { background: var(--orange); }

/* Service tiles (home) */
.service-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.service-card p { font-size: .95rem; }

/* ---------- Ink callout ---------- */
.callout {
  position: relative; background: var(--ink); color: #fff; border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px) clamp(26px, 4vw, 48px); overflow: hidden;
}
.callout::before { content: ""; position: absolute; left: 0; top: clamp(22px, 3vw, 34px); bottom: clamp(22px, 3vw, 34px); width: 4px; background: var(--orange); border-radius: 0 3px 3px 0; }
.callout h2, .callout h3 { color: #fff; }
.callout p { color: rgba(255,255,255,.74); }
.callout .big { font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 700; line-height: 1.25; color: #fff; margin: 0; letter-spacing: -.01em; }

/* ---------- Stat / value tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tile { border-radius: 12px; padding: 22px 20px; color: #fff; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; }
.tile b { font-size: 2rem; line-height: 1; font-weight: 700; }
.tile span { font-weight: 600; line-height: 1.35; }
.tile--violet { background: var(--violet); } .tile--ink { background: var(--ink); } .tile--orange { background: var(--orange); } .tile--v700 { background: var(--v700); } .tile--v900 { background: var(--v900); }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } .tiles .tile:last-child { grid-column: span 2; } }

.value-card .in-practice { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--stone); font-size: .9rem; }
.value-card .in-practice small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--violet); margin-bottom: 4px; }

/* ---------- Lists ---------- */
.dot-list { list-style: none; padding: 0; margin: 0 0 1em; }
.dot-list li { position: relative; padding-left: 22px; margin-bottom: .55em; }
.dot-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.on-dark .dot-list li, .section--ink .dot-list li { color: rgba(255,255,255,.88); }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 36px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.cols-2 { columns: 2; column-gap: 40px; } .cols-2 li { break-inside: avoid; }
@media (max-width: 680px) { .cols-2 { columns: 1; } }

/* ---------- Steps / process ---------- */
.steps { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 14px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--stone); border-top: 4px solid var(--violet); border-radius: 12px; padding: 20px 18px; }
.step:nth-child(n+4) { border-top-color: var(--orange); }
.step small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; color: var(--violet); margin-bottom: 6px; }
.step h3 { font-size: 1.02rem; margin-bottom: 6px; }
.step p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Media ---------- */
.media-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--warm); position: relative; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--accent::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--grad); }

.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: var(--shadow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__btn { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: var(--ink); color: #fff; }
.video__btn img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .2s ease, transform .4s ease; }
.video__btn:hover img { opacity: .95; transform: scale(1.03); }
.video__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(15,3,36,.75)); }
.video__play { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(255,94,64,.45); transition: transform .2s ease; }
.video__btn:hover .video__play { transform: translate(-50%, -50%) scale(1.08); }
.video__play .i { width: 28px; height: 28px; fill: #fff; stroke: none; margin-left: 4px; }
.video__title { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 14px; text-align: left; font: 600 .95rem/1.35 var(--font); }
.video-caption { font-weight: 600; margin: 12px 0 0; font-size: .98rem; }

/* ---------- Logo wall ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.logo-wall__item { background: #fff; border: 1px solid var(--stone); border-radius: 12px; aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 18px; }
.logo-wall__item img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .78; transition: filter .2s ease, opacity .2s ease; }
.logo-wall__item:hover img { filter: none; opacity: 1; }
a.logo-wall__item { text-decoration: none; }
.logo-wall--color img { filter: none; opacity: 1; }

/* ---------- Awards ---------- */
.awards { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.awards img { height: 116px; width: auto; background: #fff; border-radius: 12px; padding: 10px; }
.awards--sm img { height: 88px; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.quotes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { .quotes--3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 760px) { .quotes, .quotes--3 { grid-template-columns: 1fr; } }
.quote { position: relative; background: #fff; border: 1px solid var(--stone); border-radius: var(--radius); padding: 30px 28px 26px; display: flex; flex-direction: column; margin: 0; }
.quote:nth-child(4n+2), .quote:nth-child(4n+3) { background: var(--warm); }
.quote__mark { width: 40px; height: 40px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.quote__mark .i { width: 18px; height: 18px; fill: #fff; stroke: none; }
.quote__topic { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--violet); margin-bottom: 8px; }
.quote blockquote { margin: 0 0 20px; font-size: .97rem; line-height: 1.7; color: rgba(15,3,36,.86); }
.quote blockquote p:last-child { margin-bottom: 0; }
.quote figcaption { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--stone); font-size: .9rem; line-height: 1.4; }
.quote figcaption strong { display: block; font-weight: 600; }
.quote figcaption span { color: var(--muted); }
.quote.is-collapsible blockquote { max-height: 15.5em; overflow: hidden; position: relative; }
.quote.is-collapsible blockquote::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4em; background: linear-gradient(transparent, #fff); }
.quote:nth-child(4n+2).is-collapsible blockquote::after, .quote:nth-child(4n+3).is-collapsible blockquote::after { background: linear-gradient(transparent, var(--warm)); }
.quote.is-expanded blockquote { max-height: none; }
.quote.is-expanded blockquote::after { display: none; }
.quote__more { align-self: flex-start; background: none; border: 0; padding: 0; margin: -8px 0 16px; font: 600 .88rem var(--font); color: var(--violet); cursor: pointer; }

/* ---------- Accordion ---------- */
.accordion { display: grid; gap: 12px; }
.accordion details { background: #fff; border: 1px solid var(--stone); border-radius: 12px; overflow: hidden; }
.accordion details[open] { box-shadow: var(--shadow); border-color: rgba(112,82,242,.3); }
.accordion summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: ""; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--warm) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237052F2' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s ease; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .acc-body { padding: 0 22px 20px; color: var(--muted); }
.accordion .acc-body p:last-child, .accordion .acc-body ul:last-child { margin-bottom: 0; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--stone); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th { background: var(--ink); color: #fff; text-align: left; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 14px 18px; }
td { padding: 16px 18px; border-top: 1px solid var(--stone); vertical-align: top; }
tbody tr:nth-child(odd) td { background: var(--warm); }
td:first-child { font-weight: 600; }

/* SLA cards */
.sla { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .sla { grid-template-columns: 1fr; } }
.sla__card { border-radius: var(--radius); padding: 28px; color: #fff; }
.sla__card:nth-child(1) { background: var(--orange); } .sla__card:nth-child(2) { background: var(--violet); } .sla__card:nth-child(3) { background: var(--ink); }
.sla__card small { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .9; }
.sla__card h3 { font-size: 1.5rem; margin: 6px 0 18px; }
.sla__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.28); }
.sla__row span { opacity: .88; font-size: .92rem; }
.sla__row b { font-size: 1.5rem; font-weight: 700; }

/* ---------- Product cards ---------- */
.product-card .card__media { aspect-ratio: 7 / 5; }
.product-card h3 { font-size: 1.25rem; }

/* ---------- Doc list (datasheets / whitepapers) ---------- */
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
@media (max-width: 760px) { .doc-list { grid-template-columns: 1fr; } }
.doc-list a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--stone); border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .15s ease, box-shadow .15s ease; }
.doc-list a:hover { border-color: rgba(112,82,242,.4); box-shadow: var(--shadow); }
.doc-list .icon-circle { width: 40px; height: 40px; margin: 0; }
.doc-list .icon-circle .i { width: 18px; height: 18px; }
.doc-list a > span { flex: 1; line-height: 1.35; }
.doc-list a > .i { color: var(--violet); }

/* ---------- Prose (legal pages / transcripts) ---------- */
.prose { font-size: 1rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.prose ul { list-style: none; padding: 0; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: .5em; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.prose p, .prose li { color: rgba(15,3,36,.86); }
.transcript p { margin-bottom: 1.1em; }
.transcript { max-height: 520px; overflow-y: auto; padding: 26px 28px; background: #fff; border: 1px solid var(--stone); border-radius: var(--radius); }

/* ---------- Contact ---------- */
.contact-card { display: flex; gap: 16px; align-items: flex-start; }
.contact-card .icon-circle { margin: 0; }
.contact-card h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-card p, .contact-card address { margin: 0; font-style: normal; color: var(--muted); }
.contact-card a { font-weight: 600; font-size: 1.08rem; text-decoration: none; }

.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: 400 1rem/1.5 var(--font); color: var(--ink); background: #fff; border: 1.5px solid var(--stone); border-radius: 10px; padding: 13px 15px; transition: border-color .15s ease, box-shadow .15s ease; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(112,82,242,.15); }
.field textarea { min-height: 160px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-status { font-weight: 600; color: var(--v700); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--grad); color: #fff; border-radius: calc(var(--radius) + 6px); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr auto; gap: 28px; align-items: center; }
.cta-band .dots { top: 22px; right: 26px; }
.cta-band h2 { margin-bottom: .3em; font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.cta-band p { color: rgba(255,255,255,.86); margin: 0; max-width: 620px; }
@media (max-width: 800px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.74); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .93rem; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand img { width: 220px; margin-bottom: 18px; }
.footer__brand p { max-width: 330px; }
.site-footer h3 { color: #fff; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer address { font-style: normal; line-height: 1.6; margin-bottom: 14px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.socials a:hover { background: var(--violet); border-color: var(--violet); text-decoration: none; }
.socials .i { width: 18px; height: 18px; }
.footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: .82rem; color: rgba(255,255,255,.6); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__tagline { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; color: rgba(255,255,255,.8); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cta-band, .video { display: none !important; }
  body { background: #fff; }
  .page-hero, .hero { background: none !important; color: var(--ink) !important; padding: 0 0 24px; }
  .page-hero::before, .page-hero__bg { display: none; }
}

/* Late additions */
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tiles--3 .tile { min-height: 120px; }
@media (max-width: 900px) { .tiles--3 { grid-template-columns: repeat(3, 1fr); } .tiles--3 .tile:last-child { grid-column: auto; } }
@media (max-width: 480px) { .tiles--3 { grid-template-columns: 1fr; } .tiles--3 .tile { min-height: 0; } }
@media (max-width: 900px) { .hero__mark { max-width: 140px; } }

/* ---------- Resource library (data sheets / white papers) ---------- */
.doc-list a > .icon-circle { flex: none; }
.res-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.res-nav { position: sticky; top: 130px; display: grid; gap: 6px; }
.res-nav h2 { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--violet); margin: 0 0 8px; }
.res-nav a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.res-nav a:hover { background: var(--warm); }
.res-nav a span { font-size: .78rem; font-weight: 700; color: var(--violet); background: rgba(112,82,242,.1); border-radius: 999px; padding: 2px 9px; }
.res-nav .callout { margin-top: 18px; padding: 24px 22px 24px 26px; }
.res-nav .callout h3 { font-size: 1.05rem; margin-bottom: 6px; }
.res-nav .callout p { font-size: .9rem; margin-bottom: 14px; }
.res-group + .res-group { margin-top: clamp(40px, 5vw, 64px); }
.res-group__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--stone); }
.res-group__head h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 0; }
.res-group__head p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.res-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--stone); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.res-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: rgba(112,82,242,.35); color: var(--ink); }
.res-card__cover { position: relative; height: 112px; background: var(--grad); overflow: hidden; }
.res-card__cover::before { content: ""; position: absolute; right: 14px; top: 14px; width: 70px; height: 28px; background-image: radial-gradient(rgba(255,255,255,.45) 1.2px, transparent 1.8px); background-size: 10px 10px; }
.res-card__doc { position: absolute; left: 20px; bottom: -18px; width: 62px; height: 80px; background: #fff; border-radius: 6px 16px 6px 6px; box-shadow: 0 8px 20px rgba(15,3,36,.25); display: grid; place-items: center; color: var(--violet); }
.res-card__doc .i { width: 26px; height: 26px; }
.res-card--ink .res-card__cover { background: linear-gradient(135deg, #0F0324, #361A6B); }
.res-card--violet .res-card__cover { background: linear-gradient(135deg, #4A2B99, #7052F2); }
.res-card--orange .res-card__cover { background: linear-gradient(135deg, #7052F2, #FF5E40); }
.res-card__body { padding: 28px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.res-card__type { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--violet); margin-bottom: 8px; }
.res-card__body h3 { font-size: 1.02rem; line-height: 1.35; margin: 0 0 16px; }
.res-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--stone); font-size: .82rem; color: var(--muted); }
.res-card__foot b { display: inline-flex; align-items: center; gap: 6px; color: var(--orange); font-weight: 600; font-size: .88rem; }
.res-card__foot .i { width: 16px; height: 16px; transition: transform .15s ease; }
.res-card:hover .res-card__foot .i { transform: translateY(2px); }
.res-note { margin-top: clamp(32px, 4vw, 48px); padding: 18px 20px; background: var(--warm); border: 1px solid var(--stone); border-radius: 12px; font-size: .9rem; color: var(--muted); display: flex; gap: 12px; align-items: flex-start; }
.res-note .i { color: var(--violet); margin-top: 2px; }
@media (max-width: 960px) { .res-layout { grid-template-columns: 1fr; } .res-nav { position: static; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } .res-nav h2, .res-nav .callout { grid-column: 1 / -1; } }
