/* ==========================================================================
   Deena Technologies: site styles
   Palette from the logo: star red-orange, wordmark red, warm orange/amber
   accents and the deep navy of the "D". Mobile-first, no framework.
   ========================================================================== */

:root {
  --brand: #E8432B;
  --brand-600: color-mix(in oklab, var(--brand) 84%, black);
  --brand-700: color-mix(in oklab, var(--brand) 66%, black);
  --brand-50: color-mix(in oklab, var(--brand) 8%, white);
  --brand-100: color-mix(in oklab, var(--brand) 16%, white);
  --red: #E3120B;
  --orange: #FF7A1A;
  --amber: #FFB020;
  --navy: #13202F;
  --navy-2: #1A2B3F;
  --navy-3: #26394F;

  --ink: #13202F;
  --body: #3E4A5A;
  --muted: #6A7586;
  --line: #E8E4DF;
  --line-2: #F0ECE7;
  --surface: #F8F5F1;

  --grad-sun: linear-gradient(120deg, var(--red) 0%, var(--brand) 38%, var(--orange) 72%, var(--amber) 100%);
  --grad-brand: linear-gradient(120deg, var(--brand) 0%, var(--orange) 100%);
  --grad-text: linear-gradient(100deg, var(--red), var(--brand) 40%, var(--orange));

  --font-head: "Sora", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Manrope", ui-sans-serif, system-ui, sans-serif;

  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgb(19 32 47 / .06), 0 2px 8px rgb(19 32 47 / .04);
  --shadow: 0 14px 34px -14px rgb(19 32 47 / .22);
  --shadow-lg: 0 34px 70px -24px rgb(19 32 47 / .32);
  --shadow-brand: 0 18px 36px -14px color-mix(in oklab, var(--brand) 70%, transparent);

  --gutter: clamp(16px, 4vw, 32px);
  --container: 1240px;
  --section-y: clamp(64px, 8vw, 112px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Colour tones cycled across cards, chips and stats */
.tone-1 { --tone: var(--brand); --tone-soft: color-mix(in oklab, var(--brand) 11%, white); }
.tone-2 { --tone: #F26A12; --tone-soft: #FFF0E3; }
.tone-3 { --tone: #E39A00; --tone-soft: #FFF5D9; }
.tone-4 { --tone: #2F5A86; --tone-soft: #E7EEF6; }
.tone-5 { --tone: #C8233F; --tone-soft: #FCE7EA; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font: 400 clamp(15px, .2vw + 14.6px, 17px)/1.7 var(--font-body); color: var(--body); background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); font-weight: 700; line-height: 1.18; letter-spacing: -.025em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in oklab, var(--brand) 55%, white); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--brand); color: #fff; }
.icon { flex: none; }
.muted { color: var(--muted); }
.hl { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  --_bg: var(--ink); --_fg: #fff; --_bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .8em 1.4em; font: 700 15px/1.2 var(--font-body);
  color: var(--_fg); background: var(--_bg); border: 1.5px solid var(--_bd); border-radius: 14px;
  cursor: pointer; white-space: nowrap; isolation: isolate; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn--brand { --_bg: var(--brand); }
.btn--brand::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-sun); background-size: 200% 100%; background-position: 0 0; transition: background-position .5s var(--ease); }
.btn--brand:hover { box-shadow: var(--shadow-brand); }
.btn--brand:hover::before { background-position: 100% 0; }
.btn--ink { --_bg: var(--ink); }
.btn--ink:hover { --_bg: var(--navy-3); box-shadow: var(--shadow); }
.btn--outline { --_bg: #fff; --_fg: var(--ink); --_bd: var(--line); }
.btn--outline:hover { --_bd: var(--brand); --_fg: var(--brand); }
.btn--glass { --_bg: rgb(255 255 255 / .1); --_fg: #fff; --_bd: rgb(255 255 255 / .35); backdrop-filter: blur(8px); }
.btn--glass:hover { --_bg: #fff; --_fg: var(--ink); }
.btn--white { --_bg: #fff; --_fg: var(--brand-600); }
.btn--white:hover { --_bg: var(--ink); --_fg: #fff; }
.btn--lg { min-height: 56px; padding-inline: 1.7em; font-size: 16px; border-radius: 16px; }
.btn--sm { min-height: 40px; padding: .5em 1em; font-size: 14px; border-radius: 11px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.center-actions { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
.icon-round { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1px solid rgb(255 255 255 / .25); background: rgb(255 255 255 / .1); color: #fff; cursor: pointer; backdrop-filter: blur(8px); transition: background-color .2s, color .2s; }
.icon-round:hover { background: #fff; color: var(--ink); }
.icon-round--light { border-color: var(--line); background: var(--surface); color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; color: var(--tone, var(--brand)); }
.link-arrow .icon { transition: transform .25s var(--ease); }

/* ---------- Type helpers ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; margin-bottom: 1rem; font: 800 12.5px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--grad-brand); }
.eyebrow--light { color: #FFC9B8; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 4.5vw, 60px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--grad-brand); }
.section-title { font-size: clamp(30px, 2.4vw + 16px, 48px); font-weight: 800; margin: 0; }
.section-lead { margin: 18px 0 0; font-size: clamp(16px, .3vw + 15px, 18.5px); color: var(--muted); }

.prose { color: var(--body); max-width: 68ch; }
.prose--center { margin-inline: auto; text-align: center; }
.prose > :last-child { margin-bottom: 0; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--brand); }
.prose a { color: var(--brand-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose blockquote { margin: 1.2em 0; padding-left: 1em; border-left: 4px solid var(--brand); font-style: italic; }

/* ---------- Top bar & header ---------- */
.topbar { position: relative; background: var(--navy); color: #AEB8C6; font-size: 13.5px; }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad-sun); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar__group { display: flex; flex-wrap: wrap; gap: 6px 24px; align-items: center; }
.topbar__group > * { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar .icon { color: var(--orange); }

.site-header { position: sticky; top: 0; z-index: 60; background: rgb(255 255 255 / .9); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -20px rgb(19 32 47 / .35); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; margin-right: auto; }
.brand img { height: clamp(42px, 2.4vw + 26px, 58px); width: auto; transition: height .3s; }
.site-header.is-scrolled .brand img { height: clamp(40px, 2vw + 24px, 50px); }
.brand__text { font: 800 22px var(--font-head); color: var(--ink); }
.site-header__actions { display: flex; align-items: center; gap: 14px; }
.header-call { display: none; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); line-height: 1.2; white-space: nowrap; }
.header-call small { display: block; font-weight: 600; font-size: 12px; color: var(--muted); }
.header-call__icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; background: var(--grad-brand); box-shadow: var(--shadow-brand); }
.header-call__icon::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--brand); opacity: 0; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.85); opacity: .7; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
@media (min-width: 1460px) { .header-call { display: flex; } }

.nav__head { display: none; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__split { display: flex; align-items: center; }
.nav__link { position: relative; display: inline-flex; align-items: center; padding: 10px 12px; white-space: nowrap; font: 700 15px/1 var(--font-body); color: var(--ink); border-radius: 999px; transition: color .2s, background-color .2s; }
.nav__link:hover { background: var(--surface); }
.nav__item.is-active > .nav__link, .nav__item.is-active > .nav__split > .nav__link { color: var(--brand); }
.nav__item.is-active > .nav__link::after, .nav__item.is-active > .nav__split > .nav__link::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 18px; height: 3px; border-radius: 3px; background: var(--grad-brand); transform: translateX(-50%); }
.nav__toggle { display: grid; place-items: center; width: 28px; height: 28px; margin-left: -8px; padding: 0; background: none; border: 0; border-radius: 50%; cursor: pointer; color: var(--muted); }
.nav__toggle .icon { transition: transform .25s var(--ease); }
.nav__sub { list-style: none; position: absolute; top: calc(100% + 12px); left: -12px; width: 340px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.nav__sub::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav__sub a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; transition: background-color .2s; }
.nav__sub a strong { display: block; font: 700 15px/1.3 var(--font-head); color: var(--ink); }
.nav__sub a small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--surface); }
.nav__sub a[aria-current] strong { color: var(--brand); }
.nav__mobile-contact { display: none; }
@media (hover: hover) and (min-width: 1140px) {
  .has-sub:hover .nav__sub, .has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
  .has-sub:hover .nav__toggle .icon { transform: rotate(180deg); }
}
.has-sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
.has-sub.is-open .nav__toggle .icon { transform: rotate(180deg); }

.burger { display: none; position: relative; width: 48px; height: 48px; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 23px; right: 19px; background: var(--brand); }
.burger span:nth-child(3) { top: 30px; }
.nav-scrim { position: fixed; inset: 0; z-index: 70; background: rgb(19 32 47 / .5); backdrop-filter: blur(3px); }

@media (max-width: 1139px) {
  .burger { display: block; }
  .nav { position: fixed; z-index: 80; top: 0; right: 0; bottom: 0; width: min(380px, 90vw); display: flex; flex-direction: column; gap: 18px; padding: 18px 20px 28px; background: #fff; box-shadow: var(--shadow-lg); overflow-y: auto; overscroll-behavior: contain; transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .nav__head img { height: 40px; width: auto; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line-2); }
  .nav__link { width: 100%; padding: 16px 4px; font: 600 17px/1.2 var(--font-head); border-radius: 0; }
  .nav__link:hover { background: none; color: var(--brand); }
  .nav__item.is-active > .nav__link::after, .nav__item.is-active > .nav__split > .nav__link::after { display: none; }
  .nav__split { justify-content: space-between; }
  .nav__toggle { width: 40px; height: 40px; margin: 0; background: var(--surface); }
  .nav__sub { position: static; display: none; width: auto; margin: 0 0 12px; padding: 4px; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: var(--surface); }
  .has-sub.is-open .nav__sub { display: block; }
  .nav__mobile-contact { display: grid; gap: 6px; margin-top: auto; padding-top: 16px; }
  .nav__mobile-contact > a:not(.btn) { display: flex; align-items: center; gap: 10px; padding: 8px 4px; font-weight: 700; color: var(--ink); }
  .nav__mobile-contact .icon { color: var(--brand); }
  .nav__mobile-contact .btn { margin-bottom: 8px; }
  .nav__mobile-contact .btn .icon { color: #fff; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 860px) { .topbar { display: none; } :root { --header-h: 72px; } }
@media (max-width: 560px) { .header-cta { display: none; } }

/* ---------- Shared decorative elements ---------- */
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.hero__glow--a { width: 520px; height: 520px; right: -140px; top: -180px; background: radial-gradient(circle, var(--brand) 0%, transparent 70%); animation: drift 14s ease-in-out infinite alternate; }
.hero__glow--b { width: 420px; height: 420px; left: -160px; bottom: -200px; background: radial-gradient(circle, var(--orange) 0%, transparent 70%); opacity: .35; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-40px, 30px) scale(1.08); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-14px) rotate(12deg); } }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- Home hero slider ---------- */
.hero { position: relative; padding: 12px 12px 0; }
.hero__shell { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg); background: radial-gradient(120% 120% at 100% 0%, var(--navy-3) 0%, var(--navy) 55%); color: #fff; padding: clamp(48px, 6vw, 88px) 0 clamp(150px, 13vw, 170px); }
.hero__deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__stripes { position: absolute; right: -40px; bottom: -40px; width: 320px; height: 320px; background: repeating-linear-gradient(-45deg, var(--brand) 0 16px, transparent 16px 34px); opacity: .5; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.hero__grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(70% 70% at 30% 40%, #000, transparent 75%); }
.hero__star { position: absolute; fill: var(--brand); }
.hero__star--1 { width: 54px; left: 47%; top: 10%; animation: float 7s ease-in-out infinite; }
.hero__star--2 { width: 26px; left: 5%; bottom: 24%; fill: var(--amber); animation: float 5s ease-in-out infinite reverse; }
.hero__star--3 { width: 560px; right: -160px; top: -200px; opacity: .06; fill: #fff; animation: spin 90s linear infinite; }
.hero__inner { position: relative; }
.hero__slides { display: grid; }
.hero__slide { grid-area: 1 / 1; display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility .9s; }
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
@media (min-width: 960px) { .hero__slide { grid-template-columns: 1.1fr .9fr; } }
.hero__copy > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.hero__slide.is-active .hero__copy > * { opacity: 1; transform: none; }
.hero__slide.is-active .hero__copy > :nth-child(1) { transition-delay: .2s; }
.hero__slide.is-active .hero__copy > :nth-child(2) { transition-delay: .32s; }
.hero__slide.is-active .hero__copy > :nth-child(3) { transition-delay: .44s; }
.hero__slide.is-active .hero__copy > :nth-child(4) { transition-delay: .56s; }
.hero__chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .18); backdrop-filter: blur(8px); }
.hero__chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgb(255 122 26 / .3); }
.hero__title { color: #fff; font-size: clamp(36px, 3.6vw + 18px, 68px); font-weight: 800; line-height: 1.05; letter-spacing: -.04em; margin: 22px 0 20px; }
.hero__title .hl { background: linear-gradient(100deg, #FF6A3D, var(--orange) 50%, var(--amber)); -webkit-background-clip: text; background-clip: text; }
.hero__text { font-size: clamp(16px, .4vw + 15px, 19px); color: rgb(255 255 255 / .78); max-width: 560px; margin: 0 0 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { position: relative; justify-self: center; width: min(100%, 500px); transform: translateX(30px) scale(.96); opacity: 0; transition: transform 1s var(--ease) .2s, opacity 1s var(--ease) .2s; }
.hero__slide.is-active .hero__media { transform: none; opacity: 1; }
.hero__frame { position: relative; aspect-ratio: 5 / 4; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .6); outline: 6px solid rgb(255 255 255 / .08); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.hero__slide.is-active .hero__frame img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
.hero__frame--contain { background: #fff; }
.hero__frame--contain img { object-fit: contain; padding: 8%; }
.hero__ring { position: absolute; z-index: -1; top: -30px; right: -30px; width: 180px; height: 180px; border-radius: 50%; border: 2px dashed rgb(255 176 32 / .6); animation: spin 30s linear infinite; }
.hero__media::before { content: ""; position: absolute; z-index: -1; left: -24px; bottom: -24px; width: 70%; height: 70%; border-radius: 26px; background: var(--grad-sun); }
.hero__controls { display: flex; align-items: center; gap: 28px; margin-top: clamp(36px, 4vw, 56px); }
.hero__progress { display: flex; align-items: center; gap: 14px; font: 700 14px var(--font-head); }
.hero__bars { display: flex; gap: 8px; }
.hero__bar { width: 46px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgb(255 255 255 / .22); overflow: hidden; cursor: pointer; }
.hero__bar span { display: block; height: 100%; width: 0; background: var(--grad-brand); }
.hero__bar.is-active span { animation: heroBar var(--hero-delay, 7s) linear forwards; }
.hero.is-paused .hero__bar.is-active span { animation-play-state: paused; }
@keyframes heroBar { to { width: 100%; } }
.hero__arrows { display: flex; gap: 8px; }
.hero__card { position: absolute; z-index: 3; right: 36px; bottom: 112px; width: 260px; padding: 20px; border-radius: var(--radius); background: rgb(19 32 47 / .55); border: 1px solid rgb(255 255 255 / .2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #fff; }
.hero__card-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 12px; border-radius: 14px; background: var(--grad-brand); }
.hero__card strong { display: block; font: 700 17px var(--font-head); }
.hero__card p { margin: 4px 0 10px; font-size: 14px; color: rgb(255 255 255 / .75); }
.hero__card a { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 18px; }
@media (max-width: 1279px) { .hero__card { display: none; } }

/* Overlapping stats card */
.stats-card { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(2, 1fr); margin: -90px 0 0; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
@media (min-width: 860px) { .stats-card { grid-template-columns: repeat(4, 1fr); } }
.stats-card .stat { position: relative; display: flex; flex-direction: column-reverse; gap: 6px; padding: clamp(22px, 2.4vw, 32px); }
.stats-card .stat::before { content: ""; position: absolute; left: clamp(22px, 2.4vw, 32px); top: 0; width: 36px; height: 4px; border-radius: 0 0 4px 4px; background: var(--tone); }
.stats-card .stat + .stat { border-left: 1px solid var(--line-2); }
@media (max-width: 859px) { .stats-card .stat:nth-child(3) { border-left: 0; } .stats-card .stat:nth-child(n+3) { border-top: 1px solid var(--line-2); } }
.stat dd { margin: 0; font: 800 clamp(30px, 2vw + 16px, 46px)/1 var(--font-head); color: var(--ink); letter-spacing: -.04em; }
.stat dd b { font-weight: inherit; }
.stat dd span { color: var(--tone, var(--brand)); }
.stat dt { font-size: 14.5px; font-weight: 600; color: var(--muted); }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; margin: 12px 12px 0; border-radius: var(--radius-lg); color: #fff; background: radial-gradient(120% 140% at 100% 0%, var(--navy-3) 0%, var(--navy) 60%); padding: clamp(64px, 9vw, 130px) 0 clamp(56px, 7vw, 96px); }
.page-hero__bg { position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center; opacity: .55; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgb(13 22 33 / .96) 0%, rgb(13 22 33 / .78) 55%, rgb(13 22 33 / .35) 100%); }
.page-hero__deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.page-hero__stripes { position: absolute; right: -40px; bottom: -40px; width: 260px; height: 260px; background: repeating-linear-gradient(-45deg, var(--brand) 0 16px, transparent 16px 34px); opacity: .65; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.page-hero__star { position: absolute; right: 12%; top: 18%; width: 90px; fill: var(--brand); animation: float 8s ease-in-out infinite; }
.page-hero__star--sm { right: 26%; top: auto; bottom: 22%; width: 26px; fill: var(--amber); animation-duration: 6s; }
.page-hero h1 { color: #fff; font-size: clamp(36px, 3.4vw + 18px, 64px); font-weight: 800; letter-spacing: -.04em; max-width: 820px; margin: 0 0 16px; }
.page-hero p { max-width: 640px; margin: 0; font-size: clamp(16px, .35vw + 15px, 19px); color: rgb(255 255 255 / .8); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 6px 14px; width: fit-content; font-size: 13.5px; border-radius: 999px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .12); color: rgb(255 255 255 / .65); }
.crumbs a { color: rgb(255 255 255 / .9); }
.crumbs a:hover { color: #fff; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .4; }
.crumbs [aria-current] { color: #FFC9B8; }
@media (min-width: 768px) { .hero { padding: 16px 20px 0; } .page-hero { margin: 16px 20px 0; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: var(--section-y) 0; }
.section--muted { background: var(--surface); }
.section--tint { background: radial-gradient(60% 80% at 100% 0%, color-mix(in oklab, var(--orange) 12%, transparent), transparent 70%), radial-gradient(50% 70% at 0% 100%, color-mix(in oklab, var(--brand) 10%, transparent), transparent 70%), #FFF8F3; }
.section--tint::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(color-mix(in oklab, var(--brand) 22%, transparent) 1.2px, transparent 1.4px); background-size: 22px 22px; mask-image: linear-gradient(120deg, #000 0%, transparent 35%, transparent 65%, #000 100%); opacity: .55; }
.section--tint > .container { position: relative; }
.section--dark { overflow: hidden; color: #AEB8C6; background: radial-gradient(70% 90% at 100% 0%, var(--navy-3), var(--navy) 65%); }
.section--dark::before { content: ""; position: absolute; width: 500px; height: 500px; left: -200px; bottom: -260px; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab, var(--brand) 55%, transparent), transparent 70%); filter: blur(40px); opacity: .5; }
.section--dark::after { content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; background: repeating-linear-gradient(-45deg, var(--orange) 0 12px, transparent 12px 26px); opacity: .25; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.section--dark > .container { position: relative; }
.section--dark :is(h2, h3, .section-title, dd) { color: #fff; }
.section--dark .section-lead, .section--dark .prose { color: #AEB8C6; }
.section--dark .eyebrow { color: #FFB49E; }
.section--default + .section--default, .section--muted + .section--muted, .section--tint + .section--tint { padding-top: 0; }
.section--gallery { padding-block: clamp(12px, 1.5vw, 18px); }
.page-hero + .section--gallery, .section--gallery:first-child { padding-top: var(--section-y); }
.section--gallery:has(+ :not(.section--gallery)), .section--gallery:last-child { padding-bottom: var(--section-y); }
main { counter-reset: catalog; }

/* ---------- Split ---------- */
.split { display: grid; gap: clamp(48px, 6vw, 88px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split--flip .split__media { order: 2; } }
.split__media { position: relative; isolation: isolate; padding: 0 22px 22px 0; }
.media-frame img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.split__media::before { content: ""; position: absolute; z-index: -1; inset: 34px 0 0 34px; border-radius: var(--radius-lg); background: repeating-linear-gradient(-45deg, var(--brand) 0 14px, transparent 14px 28px); opacity: .18; }
.split__media::after { content: ""; position: absolute; z-index: -1; right: -8px; top: -20px; width: 120px; height: 120px; border-radius: 50%; background: var(--grad-sun); }
.split__star { position: absolute; left: -14px; top: 16%; width: 44px; fill: var(--amber); animation: float 6s ease-in-out infinite; }
.media-badge { position: absolute; left: -12px; bottom: 56px; display: flex; gap: 14px; align-items: center; max-width: 290px; padding: 14px 18px 14px 14px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); animation: bob 6s ease-in-out infinite; }
.media-badge__icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 14px; color: #fff; background: var(--grad-brand); }
.media-badge strong { display: block; font: 700 16px/1.25 var(--font-head); color: var(--ink); }
.media-badge small { color: var(--muted); font-size: 13.5px; }
.split__copy .section-head { margin-bottom: 22px; }
.check-list { list-style: none; display: grid; gap: 12px; margin: 24px 0 0; }
@media (min-width: 600px) { .check-list { grid-template-columns: 1fr 1fr; } }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; color: var(--ink); line-height: 1.45; }
.check-list .icon { flex: none; width: 24px; height: 24px; padding: 4px; margin-top: 1px; border-radius: 50%; color: #fff; background: var(--grad-brand); }

/* ---------- Icon tiles & feature cards ---------- */
.icon-tile { display: grid; place-items: center; flex: none; width: 60px; height: 60px; border-radius: 18px; color: var(--tone, var(--brand)); background: var(--tone-soft, var(--brand-50)); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.icon-tile--sm { width: 42px; height: 42px; border-radius: 13px; }
.features { display: grid; gap: clamp(16px, 2vw, 26px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
@media (min-width: 960px) { .features.cols-2 { grid-template-columns: repeat(2, 1fr); } .features.cols-3 { grid-template-columns: repeat(3, 1fr); } .features.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.feature-card { position: relative; overflow: hidden; height: 100%; padding: clamp(26px, 2.6vw, 34px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.feature-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--tone); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover .icon-tile { background: var(--tone); color: #fff; transform: rotate(-8deg) scale(1.05); }
.feature-card h3 { font-size: 20px; margin: 22px 0 10px; }
.feature-card p { margin: 0; color: var(--muted); }
.feature-card__num { position: absolute; right: 22px; top: 14px; font: 800 52px/1 var(--font-head); color: transparent; -webkit-text-stroke: 1.5px var(--line); transition: -webkit-text-stroke-color .3s; }
.feature-card:hover .feature-card__num { -webkit-text-stroke-color: var(--tone); }
.section--tint .feature-card { border-color: transparent; box-shadow: var(--shadow-sm); }
.features--dark .feature-card { background: rgb(255 255 255 / .04); border-color: rgb(255 255 255 / .1); }
.features--dark .feature-card:hover { background: rgb(255 255 255 / .07); border-color: color-mix(in oklab, var(--tone) 60%, transparent); box-shadow: none; }
.features--dark .feature-card p { color: #AEB8C6; }
.features--dark .feature-card__num { -webkit-text-stroke-color: rgb(255 255 255 / .1); }
.features--dark .icon-tile { background: color-mix(in oklab, var(--tone) 24%, transparent); color: color-mix(in oklab, var(--tone) 50%, white); }
.features--chips { gap: 14px; }
.chip-card { display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.chip-card strong { display: block; font: 700 15.5px/1.3 var(--font-head); color: var(--ink); }
.chip-card small { display: block; color: var(--muted); font-size: 13px; }
.chip-card:hover { transform: translateY(-4px); border-color: var(--tone); box-shadow: 0 14px 28px -16px color-mix(in oklab, var(--tone) 60%, transparent); }
.chip-card:hover .icon-tile { background: var(--tone); color: #fff; }
.section--muted .chip-card, .section--tint .chip-card { border-color: transparent; box-shadow: var(--shadow-sm); }

/* ---------- Cards ---------- */
.cards { display: grid; gap: clamp(18px, 2vw, 28px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
@media (min-width: 900px) { .cards.cols-2 { grid-template-columns: repeat(2, 1fr); } .cards.cols-3 { grid-template-columns: repeat(3, 1fr); } .cards.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.product-card { position: relative; display: block; overflow: hidden; isolation: isolate; min-height: 380px; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); color: #fff; background: var(--navy); }
.cards.cols-2 .product-card { aspect-ratio: 16 / 11; }
.product-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.product-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(13 22 33 / 0) 25%, rgb(13 22 33 / .92) 100%); }
.product-card::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 2; background: var(--grad-sun); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.product-card:hover img { transform: scale(1.07); }
.product-card:hover::before { transform: scaleX(1); }
.product-card__body { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: clamp(22px, 2.6vw, 34px); }
.product-card__cat { display: inline-block; margin-bottom: 10px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--tone); }
.product-card h3 { color: #fff; font-size: clamp(22px, 1vw + 16px, 30px); margin: 0 0 6px; }
.product-card p { margin: 0; max-width: 46ch; color: rgb(255 255 255 / .8); font-size: 15px; }
.product-card__go { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; color: var(--ink); background: #fff; transition: background-color .3s, color .3s, transform .4s var(--ease); }
.product-card:hover .product-card__go { color: #fff; background: var(--brand); transform: rotate(45deg); }
.tile { position: relative; display: flex; flex-direction: column; overflow: hidden; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tile--link:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.tile__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile--link:hover .tile__media img { transform: scale(1.06); }
.tile__body { display: flex; flex-direction: column; flex: 1; padding: clamp(20px, 2vw, 28px); }
.tile__cat { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tone); }
.tile h3 { font-size: 20px; margin: 6px 0 8px; }
.tile h3 a::after { content: ""; position: absolute; inset: 0; }
.tile p { flex: 1; color: var(--muted); margin: 0 0 16px; }
.tile--link:hover .link-arrow .icon { transform: translateX(4px); }
.cards--icon .tile { padding: clamp(24px, 2.4vw, 32px); }
.cards--icon .tile__media { width: 64px; height: 64px; aspect-ratio: auto; padding: 14px; margin-bottom: 18px; border-radius: 18px; background: var(--tone-soft); }
.cards--icon .tile__media img { object-fit: contain; }
.cards--icon .tile__body { padding: 0; }

/* ---------- Process ---------- */
.process { list-style: none; position: relative; display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
@media (min-width: 960px) {
  .process { grid-template-columns: repeat(var(--steps, 4), 1fr); }
  .process::before { content: ""; position: absolute; left: 12%; right: 12%; top: 34px; height: 3px; background: repeating-linear-gradient(90deg, var(--brand-100) 0 10px, transparent 10px 20px); }
}
.process__step { position: relative; text-align: center; padding: 0 8px; }
.process__num { position: relative; display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 22px; border-radius: 50%; font: 800 20px var(--font-head); color: var(--tone); background: #fff; border: 3px solid var(--tone); box-shadow: 0 0 0 10px var(--ring, #fff), 0 14px 30px -12px color-mix(in oklab, var(--tone) 70%, transparent); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.process__step:hover .process__num { background: var(--tone); color: #fff; transform: translateY(-4px) rotate(-6deg); }
.section--muted .process__num { --ring: var(--surface); }
.section--tint .process__num { --ring: #FFF8F3; }
.process__step h3 { font-size: 19px; margin-bottom: 8px; }
.process__step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- Product catalog (gallery) ---------- */
.catalog { counter-increment: catalog; position: relative; display: grid; gap: clamp(22px, 3vw, 44px); padding: clamp(24px, 3vw, 42px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: box-shadow .35s, border-color .35s; }
.catalog::before { content: ""; position: absolute; left: -1px; top: 28px; bottom: 28px; width: 4px; border-radius: 0 4px 4px 0; background: var(--grad-sun); opacity: 0; transition: opacity .3s; }
.catalog:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.catalog:hover::before { opacity: 1; }
.section--muted .catalog, .section--tint .catalog { border-color: transparent; box-shadow: var(--shadow-sm); }
@media (min-width: 960px) { .catalog--catalog { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; } }
.catalog--noimg { grid-template-columns: 1fr; }
.catalog__copy::before { content: counter(catalog, decimal-leading-zero); display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 14px; font: 800 15px var(--font-head); color: #fff; background: var(--grad-brand); box-shadow: var(--shadow-brand); }
.catalog__title { font-size: clamp(22px, 1vw + 16px, 30px); font-weight: 800; }
.catalog .prose { color: var(--muted); }
.catalog .btn-row { margin-top: 22px; }
.brand-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.brand-tags li { padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--brand-700); background: var(--brand-50); border: 1px solid var(--brand-100); }
.thumbs { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.thumbs--1 { grid-template-columns: 1fr; }
@media (min-width: 560px) { .thumbs--3, .thumbs--4 { grid-template-columns: repeat(3, 1fr); } }
.catalog--grid .thumbs { grid-template-columns: repeat(auto-fill, minmax(min(46%, 200px), 1fr)); }
.thumb { margin: 0; }
.thumb figcaption { margin-top: 8px; font-size: 13.5px; color: var(--muted); text-align: center; }
.thumb__btn { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; padding: 14px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; cursor: zoom-in; overflow: hidden; }
.thumbs--1 .thumb__btn { aspect-ratio: 16 / 9; }
.thumb__btn img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.thumb__btn:hover img { transform: scale(1.07); }
.thumb__zoom { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: var(--brand); box-shadow: var(--shadow-sm); opacity: 0; transform: scale(.7); transition: opacity .25s, transform .25s var(--ease); }
.thumb__btn:hover .thumb__zoom, .thumb__btn:focus-visible .thumb__zoom { opacity: 1; transform: none; }

/* ---------- Logos ---------- */
.logo-grid { list-style: none; display: grid; gap: clamp(12px, 1.5vw, 20px); grid-template-columns: repeat(auto-fill, minmax(min(44%, 170px), 1fr)); }
.logo-grid li { display: flex; flex-direction: column; gap: 10px; }
.logo { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.section--muted .logo, .section--tint .logo { border-color: transparent; box-shadow: var(--shadow-sm); }
.logo img { max-height: 72px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.logo:hover img, a.logo:focus-visible img { filter: none; opacity: 1; }
.logo:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.logo-grid__name { font-size: 14px; font-weight: 700; text-align: center; color: var(--ink); }
.marquee { display: flex; overflow: hidden; gap: 18px; padding: 6px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { list-style: none; display: flex; flex: none; gap: 18px; min-width: 100%; animation: marquee var(--speed, 60s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee .logo { width: 180px; aspect-ratio: 16 / 9; padding: 14px 18px; }
.marquee .logo img { max-height: 56px; }
@keyframes marquee { to { transform: translateX(calc(-100% - 18px)); } }

/* ---------- Ticker band ---------- */
.ticker { position: relative; z-index: 2; overflow: hidden; padding: 20px 0; }
.ticker__inner { display: flex; margin: 0 -24px; padding: 20px 0; transform: rotate(-1.6deg); box-shadow: var(--shadow); }
.ticker--brand .ticker__inner { background: var(--grad-sun); }
.ticker--dark .ticker__inner { background: var(--navy); }
.ticker__track { list-style: none; display: flex; flex: none; align-items: center; min-width: 100%; animation: marquee 40s linear infinite; }
.ticker__track li { display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; font: 800 clamp(18px, 1vw + 14px, 26px)/1 var(--font-head); letter-spacing: -.01em; text-transform: uppercase; color: #fff; }
.ticker__star { width: 22px; height: 22px; fill: var(--navy); }
.ticker--dark .ticker__star { fill: var(--orange); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; display: grid; gap: 14px; }
@media (min-width: 720px) { .checklist--2 { grid-template-columns: repeat(2, 1fr); } .checklist--3 { grid-template-columns: repeat(3, 1fr); } }
.checklist li { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); font-weight: 700; line-height: 1.5; transition: transform .3s var(--ease), border-color .3s; }
.section--muted .checklist li, .section--tint .checklist li { border-color: transparent; box-shadow: var(--shadow-sm); }
.checklist li:hover { transform: translateX(4px); border-color: var(--tone); }
.checklist__icon { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 10px; color: #fff; background: var(--tone); }

/* ---------- Stats band ---------- */
.stats { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); margin: 0; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats .stat { position: relative; overflow: hidden; display: flex; flex-direction: column-reverse; gap: 10px; padding: 28px; border-radius: var(--radius); background: rgb(255 255 255 / .04); border: 1px solid rgb(255 255 255 / .08); }
.stats .stat::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: var(--tone); opacity: .18; }
.section:not(.section--dark) .stats .stat { background: #fff; border-color: var(--line); }
.stats .stat dd { font-size: clamp(36px, 2.6vw + 18px, 58px); }
.section--dark .stats .stat dt { color: #AEB8C6; }
.section--dark .stats .stat dd span { color: color-mix(in oklab, var(--tone) 70%, white); }

/* ---------- Quote ---------- */
.quote { position: relative; max-width: 920px; margin: 0 auto; text-align: center; }
.quote__mark { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 24px; border-radius: 20px; color: #fff; background: var(--grad-brand); box-shadow: var(--shadow-brand); transform: rotate(-6deg); }
.quote blockquote { margin: 0; font: 700 clamp(24px, 1.6vw + 15px, 38px)/1.3 var(--font-head); letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.quote figcaption { margin-top: 22px; color: var(--muted); }
.quote figcaption strong { color: var(--brand); }
.quote figcaption span::before { content: " · "; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 26px; align-items: center; padding: clamp(36px, 5vw, 64px); border-radius: var(--radius-lg); color: #fff; background: var(--grad-sun); box-shadow: var(--shadow-brand); }
@media (min-width: 960px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band::after { content: ""; position: absolute; z-index: -1; right: -60px; top: -60px; bottom: -60px; width: 46%; background: repeating-linear-gradient(-60deg, rgb(19 32 47 / .3) 0 22px, transparent 22px 44px); clip-path: polygon(35% 0, 100% 0, 100% 100%, 0 100%); }
.cta-band__star { position: absolute; z-index: -1; left: 40%; top: -40px; width: 130px; fill: #fff; opacity: .16; animation: spin 40s linear infinite; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 1.8vw + 16px, 44px); font-weight: 800; margin-bottom: 10px; }
.cta-band h2 .hl { background: none; color: var(--navy); }
.cta-band p { margin: 0; max-width: 58ch; font-size: 17px; color: rgb(255 255 255 / .92); }
.cta-band .btn-row { margin: 0; }
.section--footer-cta { padding-bottom: 0; z-index: 3; }
.section--footer-cta .cta-band { margin-bottom: -96px; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); margin-bottom: clamp(36px, 5vw, 64px); }
.contact-card { display: flex; gap: 16px; align-items: flex-start; height: 100%; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s; }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card small { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-card a, .contact-card span:not(.icon-tile) { display: block; color: var(--ink); font-weight: 700; overflow-wrap: anywhere; line-height: 1.55; }
.contact-card a:hover { color: var(--brand); }
.contact-card a[href^="mailto:"] { font-size: 14.5px; }
.contact-card > div { min-width: 0; }
.contact-card .icon-tile { width: 52px; height: 52px; border-radius: 16px; }
.contact-card--address { height: auto; }
.contact { display: grid; gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (min-width: 1024px) { .contact { grid-template-columns: 7fr 5fr; } }
.contact__side { display: grid; gap: 20px; }
.form-card { position: relative; overflow: hidden; padding: clamp(24px, 3.5vw, 48px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad-sun); }
.form-card .section-head { margin-bottom: 26px; }
.form-card .section-title { font-size: clamp(26px, 1.4vw + 18px, 36px); }
.map-embed { display: block; width: 100%; min-height: 380px; aspect-ratio: 4 / 3; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ---------- Forms ---------- */
.form__grid { display: grid; gap: 16px; margin-bottom: 22px; }
@media (min-width: 600px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 7px; }
.field > label { font-size: 14px; font-weight: 800; color: var(--ink); }
.field i { color: var(--brand); font-style: normal; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; font: 500 16px/1.4 var(--font-body); color: var(--ink); background-color: var(--surface); border: 1.5px solid transparent; border-radius: 14px; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.field select { appearance: none; padding-right: 42px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%23E8432B' stroke-width='2.4' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--line); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background-color: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #DC2626; background-color: #FEF2F2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.form__foot small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; }
.form__alert { margin-bottom: 18px; padding: 14px 16px; border-radius: 14px; font-weight: 700; }
.form__alert.is-success { color: #065F46; background: #ECFDF5; border: 1px solid #A7F3D0; }
.form__alert.is-error { color: #991B1B; background: #FEF2F2; border: 1px solid #FECACA; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading .icon { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }

/* ---------- Quick quote dialog ---------- */
.quote-modal { width: min(980px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius-lg); background: #fff; color: var(--body); box-shadow: var(--shadow-lg); overflow: hidden; }
.quote-modal[open] { display: grid; animation: pop .35s var(--ease); }
@media (min-width: 860px) { .quote-modal[open] { grid-template-columns: 320px 1fr; } }
.quote-modal::backdrop { background: rgb(13 22 33 / .6); backdrop-filter: blur(4px); }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.quote-modal__aside { position: relative; overflow: hidden; isolation: isolate; display: none; flex-direction: column; gap: 16px; padding: 40px 30px; color: #fff; background: var(--grad-sun); }
@media (min-width: 860px) { .quote-modal__aside { display: flex; } }
.quote-modal__aside::after { content: ""; position: absolute; z-index: -1; right: -40px; bottom: -40px; width: 220px; height: 220px; background: repeating-linear-gradient(-45deg, rgb(19 32 47 / .28) 0 14px, transparent 14px 28px); clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.quote-modal__star { position: absolute; z-index: -1; right: -40px; top: -40px; width: 180px; fill: #fff; opacity: .15; animation: spin 50s linear infinite; }
.quote-modal__aside .eyebrow { color: #fff; }
.quote-modal__aside .eyebrow::before { background: #fff; }
.quote-modal__big { margin: 0; font: 800 28px/1.15 var(--font-head); letter-spacing: -.03em; }
.quote-modal__aside ul { list-style: none; display: grid; gap: 10px; }
.quote-modal__aside li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.quote-modal__aside li .icon { padding: 3px; width: 22px; height: 22px; border-radius: 50%; background: rgb(255 255 255 / .25); }
.quote-modal__phone { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; font: 800 20px var(--font-head); }
.quote-modal__main { position: relative; padding: clamp(24px, 3.5vw, 40px); overflow-y: auto; max-height: calc(100dvh - 24px); }
.quote-modal__main h2 { font-size: clamp(24px, 1vw + 18px, 32px); margin: 0 56px 6px 0; }
.quote-modal__main > .muted { margin-bottom: 22px; }
.quote-modal__close { position: absolute; right: 18px; top: 18px; border-color: var(--line); background: var(--surface); color: var(--ink); }
.quote-modal__close:hover { background: var(--brand); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; color: #9DA9B9; font-size: 15px; background: var(--navy); }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-sun); }
.site-footer.has-cta::before { display: none; }
.site-footer__deco { position: absolute; inset: 0; pointer-events: none; }
.site-footer__star { position: absolute; right: -120px; bottom: -160px; width: 480px; fill: #fff; opacity: .03; animation: spin 120s linear infinite; }
.site-footer__grid { position: relative; display: grid; gap: 40px; padding-block: clamp(56px, 7vw, 88px) 40px; }
.site-footer.has-cta .site-footer__grid { padding-top: calc(96px + clamp(48px, 6vw, 80px)); }
@media (min-width: 720px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .site-footer__grid { grid-template-columns: 1.35fr .75fr 1.15fr 1.35fr; gap: 48px; } }
.footer-logo { display: inline-block; }
.footer-logo img { height: 58px; width: auto; }
.footer-logo strong { font: 800 22px var(--font-head); color: #fff; }
.site-footer__brand p { max-width: 40ch; margin: 22px 0; }
.site-footer__title { position: relative; margin-bottom: 24px; padding-bottom: 12px; font: 700 14px/1 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.site-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--grad-brand); }
.site-footer__links { list-style: none; display: grid; gap: 10px; }
.site-footer__links a { display: inline-flex; transition: color .2s, transform .2s var(--ease); }
.site-footer__links a:hover { color: #fff; transform: translateX(4px); }
.site-footer__contact { list-style: none; display: grid; gap: 18px; }
.site-footer__contact li { display: flex; gap: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.site-footer__contact a { color: #D6DDE6; }
.site-footer__contact a:hover { color: #fff; }
.fc-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; color: var(--orange); background: rgb(255 255 255 / .06); }
.social { display: flex; gap: 8px; margin-bottom: 18px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: rgb(255 255 255 / .07); transition: background-color .2s, transform .2s var(--ease); }
.social a:hover { background: var(--brand); transform: translateY(-3px); }
.footer-badge { display: inline-block; padding: 6px 12px; font-size: 13px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .14); }
.footer-badge b { color: #fff; }
.site-footer__bottom { position: relative; border-top: 1px solid rgb(255 255 255 / .08); }
.site-footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 22px; font-size: 14px; }
.site-footer__bar p { margin: 0; }
.credit { display: inline-flex; align-items: center; gap: 8px; }
.credit a { display: inline-flex; align-items: center; opacity: .9; transition: opacity .2s; }
.credit a:hover { opacity: 1; }
.credit img { height: 30px; width: auto; filter: brightness(0) invert(1); }

/* ---------- Floating actions ---------- */
.fab-stack { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: grid; gap: 10px; }
.fab { position: relative; display: grid; place-items: center; width: 54px; height: 54px; border: 0; border-radius: 50%; color: #fff; cursor: pointer; box-shadow: 0 14px 28px -10px rgb(0 0 0 / .45); transition: transform .25s var(--ease), opacity .3s, visibility .3s; }
.fab:hover { transform: scale(1.08); }
.fab--wa { background: #25D366; }
.fab--wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2.6s var(--ease) infinite; }
.fab--call { background: var(--grad-brand); }
.fab--top { background: var(--navy); opacity: 0; visibility: hidden; }
.fab--top.is-visible { opacity: 1; visibility: visible; }
@media (min-width: 1140px) { .fab--call { display: none; } }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(8 14 22 / .94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; animation: fade .2s ease; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; max-width: min(1100px, 92vw); text-align: center; }
.lightbox img { max-height: 80dvh; width: auto; margin: 0 auto; border-radius: 14px; background: #fff; }
.lightbox figcaption { margin-top: 14px; color: #C9D2DE; font-size: 15px; }
.lightbox button { position: fixed; display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .1); color: #fff; cursor: pointer; transition: background-color .2s; }
.lightbox button:hover { background: var(--brand); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 16px; top: 50%; translate: 0 -50%; }
.lightbox.is-single .lightbox__nav { display: none; }
@keyframes fade { from { opacity: 0; } }

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Small screens ---------- */
@media (max-width: 959px) {
  .hero__media { width: min(100%, 440px); }
  .hero__media::before { left: -14px; bottom: -14px; }
  .hero__ring { width: 120px; height: 120px; top: -18px; right: -12px; }
  .media-badge { left: 12px; }
}
@media (max-width: 600px) {
  .hero { padding: 8px 8px 0; }
  .page-hero { margin: 8px 8px 0; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__bar { width: 28px; }
  .cta-band .btn { width: 100%; }
  .fab { width: 50px; height: 50px; }
  .product-card { min-height: 320px; }
  .cards.cols-2 .product-card { aspect-ratio: 4 / 5; }
  .ticker__inner { transform: rotate(-2.5deg); }
  .split__media { padding: 0 14px 14px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee, .ticker__inner { flex-wrap: wrap; mask-image: none; }
  .marquee__track, .ticker__track { flex-wrap: wrap; justify-content: center; min-width: 0; flex: 1 1 100%; row-gap: 12px; }
  .marquee__track[aria-hidden], .ticker__track[aria-hidden] { display: none; }
}

@media print {
  .topbar, .site-header, .nav-scrim, .cta-band, .site-footer__bottom, .map-embed, .fab-stack, .ticker, dialog { display: none !important; }
  .hero__shell, .page-hero { background: none !important; color: #000; }
  .hero__title, .page-hero h1 { color: #000; }
}
