/* Iconic Spark — site styles. Design language follows the Gamico (Qamico) kit:
   dark canvas, brand palette taken from the Iconic Spark logo (yellow / red / blue), Anton display type, Unbounded UI type,
   outlined second headline line, rounded "sheet" sections, ticker marquee. */
:root {
  --primary: #FFAB00;
  --primary-ink: #1c1300;
  --red: #E91D26;
  --blue: #3A53A4;
  --blue-deep: #1d2b63;
  --ink: #0d0f10;
  --ink-2: #16191b;
  --ink-3: #22272a;
  --paper: #ffffff;
  --paper-2: #f3f5f4;
  --text: #5a5a5a;
  --text-dark: #a9b0ad;
  --accent: #252525;
  --border: #dedede;
  --border-dark: #2c3235;
  --container: 1320px;
  --gutter: 30px;
  --radius: 40px;
  --display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --ui: "Unbounded", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--ui); font-weight: 300; font-size: 14px; line-height: 1.85;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; text-transform: uppercase; color: var(--accent); margin: 0; line-height: 1; letter-spacing: .01em; }
p { margin: 0 0 1.2em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--primary); color: var(--primary-ink); padding: 10px 16px; z-index: 200; }
.skip:focus { left: 10px; top: 10px; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .3s, box-shadow .3s; }
.site-header.is-stuck { background: rgba(13,15,16,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--border-dark); }
.site-header .bar { display: flex; align-items: center; gap: 30px; height: 96px; transition: height .3s; }
.site-header.is-stuck .bar { height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: var(--display); font-size: 26px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
.brand img { height: 46px; width: auto; flex: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,.45)); }
.brand b { font-weight: 400; color: var(--primary); }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 24px; }
.nav a { color: #fff; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; padding: 8px 0; position: relative; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--primary); }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--border-dark); border-radius: 12px; background: transparent; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 5px auto; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 30px; border-radius: 10px; border: 1px solid transparent; background: var(--primary); color: var(--primary-ink); font-family: var(--ui); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; white-space: nowrap; }
.btn svg { width: 12px; height: 12px; transition: transform .25s; }
.btn:hover { background: #fff; color: var(--ink); }
.btn:hover svg { transform: translate(3px,-3px); }
.btn.ghost { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn.ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: var(--primary); color: var(--primary-ink); }
.btn.sm { height: 46px; padding: 0 20px; font-size: 11px; }
.header-cta { margin-left: 4px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); border-bottom: 2px solid var(--primary); padding-bottom: 4px; }
.link-arrow svg { width: 10px; height: 10px; transition: transform .25s; }
.link-arrow:hover svg { transform: translate(3px,-3px); }
.on-dark .link-arrow { color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; color: #fff; padding: 150px 0 130px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: drift 26s ease-in-out infinite alternate; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,15,16,.97) 0%, rgba(13,15,16,.9) 48%, rgba(13,15,16,.3) 100%), linear-gradient(0deg, rgba(13,15,16,.95) 0%, rgba(13,15,16,0) 40%); }
@keyframes drift { to { transform: scale(1.14) translate(-1.5%, -1%); } }
.hero .container { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--primary); margin-bottom: 26px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--primary); }
.display { font-size: clamp(64px, 12.5vw, 210px); line-height: .92; color: #fff; }
.display .row { display: flex; align-items: center; gap: .14em; flex-wrap: wrap; }
.outline { color: transparent; -webkit-text-stroke: 2px #fff; }
.on-light .outline, .sheet .outline { -webkit-text-stroke: 1.5px var(--accent); }
.sheet.dark .outline, .on-dark .outline { -webkit-text-stroke: 1.5px #fff; }
.pill-img { display: inline-block; width: 1.75em; height: .78em; border-radius: 999px; overflow: hidden; flex: none; border: 2px solid rgba(255,255,255,.2); }
.pill-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-sub { max-width: 560px; margin: 34px 0 40px; color: #e8ecea; font-size: 15px; font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 54px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #cfd6d3; }
.hero-meta span::before { content: "◆"; color: var(--primary); margin-right: 10px; font-size: 9px; }

.page-hero { position: relative; color: #fff; padding: 210px 0 150px; overflow: hidden; }
.page-hero .hero-bg::after { background: linear-gradient(0deg, rgba(13,15,16,.97) 0%, rgba(13,15,16,.78) 100%); }
.page-hero h1 { color: #fff; font-size: clamp(54px, 9vw, 150px); line-height: .95; }
.page-hero p { max-width: 640px; color: #dfe5e2; margin: 26px 0 0; font-size: 15px; font-weight: 400; }
.crumbs { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #b9c1bd; margin-bottom: 22px; }
.crumbs a:hover { color: var(--primary); }
.crumbs i { color: var(--primary); font-style: normal; margin: 0 8px; }

/* ---------- Sheets / sections ---------- */
.sheet { position: relative; z-index: 2; background: var(--paper); border-radius: var(--radius) var(--radius) 0 0; margin-top: calc(var(--radius) * -1); padding: 110px 0 150px; }
.sheet.alt { background: var(--paper-2); }
.sheet.dark { background: var(--ink-2); color: var(--text-dark); }
.sheet.dark h2, .sheet.dark h3, .sheet.dark h4 { color: #fff; }
.sheet.flush-top { padding-top: 0; }
.sheet:last-of-type { padding-bottom: 150px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 64px; }
.sec-head h2 { font-size: clamp(46px, 7vw, 110px); }
.sec-head h2 span { display: block; }
.sec-head p { max-width: 460px; margin: 0; }
.sec-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin-bottom: 20px; }
.sheet.dark .sec-kicker { color: var(--primary); }
.sec-kicker::before { content: ""; width: 10px; height: 10px; background: var(--primary); border-radius: 50%; }
.lead { font-family: var(--display); text-transform: uppercase; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.15; color: #b4b9b7; }
.lead strong { font-weight: 400; color: var(--accent); }
.sheet.dark .lead { color: #5d6663; }
.sheet.dark .lead strong { color: #fff; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 44px 0; border-bottom: 1px solid var(--border); }
.sheet.dark .marquee { border-color: var(--border-dark); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: flex; align-items: center; gap: 34px; padding-right: 34px; font-family: var(--display); font-size: clamp(34px, 4.4vw, 64px); text-transform: uppercase; color: var(--accent); white-space: nowrap; line-height: 1; }
.marquee-item svg { width: .8em; height: .8em; color: var(--primary); animation: spin 9s linear infinite; flex: none; }
.sheet.dark .marquee-item { color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Grids ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.split.wide-left { grid-template-columns: 1.25fr 1fr; }
.grid { display: grid; gap: 30px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.mt { margin-top: 70px; } .mt-s { margin-top: 36px; }
.center { text-align: center; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { border-top: 2px solid var(--accent); padding-top: 22px; }
.sheet.dark .stat { border-color: var(--primary); }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(54px, 6vw, 96px); line-height: 1; color: var(--accent); }
.sheet.dark .stat b { color: #fff; }
.stat span { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Service list ---------- */
.svc { border-top: 1px solid var(--border); }
.sheet.dark .svc { border-color: var(--border-dark); }
.svc-row { display: grid; grid-template-columns: 90px 1fr 1.2fr 40px; gap: 30px; align-items: center; padding: 34px 0; border-bottom: 1px solid var(--border); transition: padding .3s, background .3s; }
.sheet.dark .svc-row { border-color: var(--border-dark); }
.svc-row:hover { padding-left: 18px; padding-right: 18px; background: rgba(255,171,0,.08); }
.svc-row .num { font-family: var(--display); font-size: 22px; color: var(--primary); -webkit-text-stroke: .5px var(--accent); }
.sheet.dark .svc-row .num { -webkit-text-stroke: 0; }
.svc-row h3 { font-size: clamp(24px, 2.6vw, 38px); }
.svc-row p { margin: 0; font-size: 13px; }
.svc-row svg { width: 18px; height: 18px; color: var(--accent); transition: transform .3s; }
.sheet.dark .svc-row svg { color: #fff; }
.svc-row:hover svg { transform: translate(4px,-4px); color: var(--primary); }

/* ---------- Cards ---------- */
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; transition: transform .35s, box-shadow .35s, border-color .35s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(0,0,0,.35); border-color: var(--accent); }
.sheet.dark .card { background: var(--ink); border-color: var(--border-dark); }
.sheet.dark .card:hover { border-color: var(--primary); }
.thumb { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--blue-deep), #0d0f10 65%); overflow: hidden; display: block; width: 100%; border: 0; padding: 0; cursor: pointer; }
.thumb img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .thumb img { transform: scale(1.06); }
.thumb .ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: clamp(30px, 4vw, 54px); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(255,171,0,.75); text-align: center; padding: 16px; line-height: 1; }
.thumb .play { position: absolute; z-index: 2; inset: 0; display: grid; place-items: center; background: rgba(13,15,16,.25); opacity: 0; transition: opacity .3s; }
.thumb .play i { width: 68px; height: 68px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; }
.thumb .play svg { width: 20px; height: 20px; color: var(--primary-ink); margin-left: 3px; }
.thumb:hover .play, .thumb:focus-visible .play { opacity: 1; }
.badge { position: absolute; z-index: 2; left: 14px; top: 14px; background: var(--primary); color: var(--primary-ink); font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; line-height: 1.6; }
.badge.live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--primary-ink); margin-right: 7px; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-body h3 { font-size: 26px; line-height: 1.1; }
.card-body p { margin: 0; font-size: 12.5px; line-height: 1.75; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 9.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; color: var(--accent); line-height: 1.7; }
.sheet.dark .tags span { border-color: var(--border-dark); color: #cdd4d1; }
.card-links { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 18px; }

/* feature tiles */
.tile { border: 1px solid var(--border); border-radius: 22px; padding: 34px 30px; background: var(--paper); transition: border-color .3s, transform .3s; }
.tile:hover { border-color: var(--accent); transform: translateY(-4px); }
.sheet.dark .tile { background: var(--ink); border-color: var(--border-dark); }
.sheet.dark .tile:hover { border-color: var(--primary); }
.tile .ico { width: 54px; height: 54px; border-radius: 14px; background: var(--primary); color: var(--primary-ink); display: grid; place-items: center; font-family: var(--display); font-size: 22px; margin-bottom: 24px; }
.tile h3 { font-size: 26px; margin-bottom: 12px; line-height: 1.1; }
.tile p { margin: 0; font-size: 12.5px; }
.tile a.link-arrow { margin-top: 18px; }

/* chips / filters / clients */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-family: var(--ui); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; border: 1px solid var(--border); background: transparent; color: var(--accent); border-radius: 999px; padding: 10px 20px; cursor: pointer; transition: all .25s; line-height: 1.4; }
.chip:hover { border-color: var(--accent); }
.chip.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.sheet.dark .chip { border-color: var(--border-dark); color: #dfe5e2; }
.sheet.dark .chip.is-on, .sheet.dark .chip:hover { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.filters { margin-bottom: 44px; }
.clients { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.clients li { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 44px 20px; text-align: center; font-family: var(--display); font-size: clamp(22px, 2.4vw, 34px); text-transform: uppercase; color: #b4b9b7; transition: color .3s, background .3s; line-height: 1.1; }
.clients li:hover { color: var(--accent); background: rgba(255,171,0,.14); }
.sheet.dark .clients, .sheet.dark .clients li { border-color: var(--border-dark); }
.sheet.dark .clients li { color: #5d6663; }
.sheet.dark .clients li:hover { color: #fff; }

/* check list */
.checks li { position: relative; padding: 16px 0 16px 40px; border-bottom: 1px solid var(--border); color: var(--accent); font-weight: 400; font-size: 13px; }
.sheet.dark .checks li { border-color: var(--border-dark); color: #e6ebe9; }
.checks li::before { content: ""; position: absolute; left: 0; top: 19px; width: 22px; height: 22px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1300' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }

/* link list (metaverse / mobile) */
.rows { border-top: 1px solid var(--border); }
.sheet.dark .rows { border-color: var(--border-dark); }
.rows a { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--border); transition: padding .3s, background .3s; }
.sheet.dark .rows a { border-color: var(--border-dark); }
.rows a:hover { padding-left: 16px; padding-right: 16px; background: rgba(255,171,0,.08); }
.rows h3 { font-size: clamp(22px, 2.2vw, 32px); }
.rows span { font-size: 12.5px; }
.rows em { font-style: normal; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); display: inline-flex; gap: 8px; align-items: center; }
.sheet.dark .rows em { color: var(--primary); }
.rows em svg { width: 10px; height: 10px; }

/* ---------- CTA + footer ---------- */
.cta { position: relative; z-index: 2; background: var(--primary); color: var(--primary-ink); border-radius: var(--radius) var(--radius) 0 0; margin-top: calc(var(--radius) * -1); padding: 110px 0 150px; }
.cta h2 { font-size: clamp(54px, 10vw, 170px); color: var(--primary-ink); }
.cta .outline { -webkit-text-stroke: 2px var(--primary-ink); }
.cta .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta p { max-width: 420px; font-weight: 400; margin: 0 0 24px; }
.site-footer { position: relative; z-index: 3; background: var(--ink); color: var(--text-dark); border-radius: var(--radius) var(--radius) 0 0; margin-top: calc(var(--radius) * -1); padding: 90px 0 0; font-size: 12.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 70px; }
.site-footer h4 { color: #fff; font-size: 20px; margin-bottom: 22px; letter-spacing: .04em; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--primary); }
.site-footer .brand { margin-bottom: 22px; }
.site-footer .brand img { height: 64px; }
.footer-bottom { border-top: 1px solid var(--border-dark); padding: 26px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 11px; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-dark); display: grid; place-items: center; color: #fff; transition: all .25s; }
.socials a:hover { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: 8px; }
.form input, .form select, .form textarea { width: 100%; font-family: var(--ui); font-size: 13px; font-weight: 300; color: var(--accent); background: var(--paper-2); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; transition: border-color .25s, background .25s; }
.form textarea { min-height: 170px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.form-note { font-size: 11.5px; margin: 0; }
.contact-card { background: var(--ink); color: var(--text-dark); border-radius: 22px; padding: 40px 34px; }
.contact-card h3 { color: #fff; font-size: 30px; margin-bottom: 22px; }
.contact-card dl { margin: 0; }
.contact-card dt { font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--primary); margin-top: 22px; }
.contact-card dd { margin: 4px 0 0; color: #fff; font-weight: 400; word-break: break-word; }
.contact-card dd a:hover { color: var(--primary); }

/* ---------- Prose (privacy pages) ---------- */
.prose { max-width: 860px; }
.prose h2 { font-size: 40px; margin: 0 0 24px; }
.prose h3 { font-size: 24px; margin: 40px 0 12px; }
.prose p, .prose li { font-size: 13.5px; color: #444; font-weight: 300; }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1.2em; }
.prose a { color: var(--accent); border-bottom: 2px solid var(--primary); }

/* ---------- Video modal ---------- */
.modal { position: fixed; inset: 0; z-index: 300; background: rgba(5,6,7,.92); display: none; place-items: center; padding: 20px; }
.modal.is-open { display: grid; }
.modal-box { width: min(1100px, 100%); }
.modal-frame { aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; }
.modal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal-bar { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #fff; margin-bottom: 14px; font-size: 12px; font-weight: 400; }
.modal-close { background: var(--primary); color: var(--primary-ink); border: 0; border-radius: 10px; height: 40px; padding: 0 16px; font-family: var(--ui); font-size: 11px; font-weight: 600; text-transform: uppercase; cursor: pointer; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
[hidden] { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1480px) {
  .nav ul { gap: 20px; }
  .header-cta { display: none; }
}
@media (max-width: 1180px) {
  .grid.c4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1260px) {
  :root { --gutter: 20px; --radius: 28px; }
  .nav-toggle { display: block; }
  .brand, .nav-toggle { position: relative; z-index: 3; }
  .nav { position: fixed; inset: 0; background: var(--ink); display: none; padding: 110px var(--gutter) 40px; overflow-y: auto; margin: 0; }
  .nav-open .nav { display: block; }
  .nav-open .site-header { background: var(--ink); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { display: block; font-family: var(--display); font-size: 38px; font-weight: 400; letter-spacing: .02em; padding: 12px 0; border-bottom: 1px solid var(--border-dark); }
  .nav a::after { display: none; }
  .site-header .bar { position: relative; z-index: 2; height: 76px; }
  .split, .split.wide-left { grid-template-columns: 1fr; gap: 44px; }
  .grid.c3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .svc-row { grid-template-columns: 50px 1fr 30px; gap: 16px; }
  .svc-row p { grid-column: 2 / 3; grid-row: 2; }
  .svc-row svg { grid-column: 3; grid-row: 1; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .rows a { grid-template-columns: 1fr auto; }
  .rows span { grid-column: 1 / -1; grid-row: 2; }
  .sheet, .cta { padding: 80px 0 110px; }
  .page-hero { padding: 160px 0 110px; }
  .sec-head { margin-bottom: 44px; }
}
@media (max-width: 640px) {
  body { font-size: 13.5px; }
  .grid.c2, .grid.c3, .grid.c4, .form, .footer-grid { grid-template-columns: 1fr; }
  .outline { -webkit-text-stroke-width: 1.2px; }
  .hero { padding: 120px 0 110px; }
  .hero-meta { margin-top: 36px; }
  .btn { height: 54px; padding: 0 22px; }
  .brand { font-size: 21px; } .brand img { height: 38px; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Brand palette accents (logo: yellow / red / blue) ---------- */
.site-header::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--red) 0 33.33%, var(--primary) 33.33% 66.66%, var(--blue) 66.66%); }
.brand b { color: var(--primary); }
.eyebrow::before { background: var(--red); }
.sec-kicker::before { background: var(--red); }
.hero-meta span:nth-child(3n+1)::before { color: var(--red); }
.hero-meta span:nth-child(3n+3)::before { color: #6f8cf0; }
.marquee-item:nth-child(3n+1) svg { color: var(--red); }
.marquee-item:nth-child(3n+3) svg { color: var(--blue); }
.sheet.dark .marquee-item:nth-child(3n+3) svg { color: #6f8cf0; }
.stat:nth-child(4n+1) { border-color: var(--red); }
.stat:nth-child(4n+2) { border-color: var(--primary); }
.stat:nth-child(4n+3) { border-color: var(--blue); }
.stat:nth-child(4n+4) { border-color: var(--accent); }
.sheet.dark .stat:nth-child(4n+4) { border-color: #fff; }
.svc-row .num { color: var(--red); -webkit-text-stroke: 0; }
.svc-row:nth-child(3n+2) .num { color: #d99100; }
.svc-row:nth-child(3n+3) .num { color: var(--blue); }
.tile:nth-child(3n+2) .ico { background: var(--red); color: #fff; }
.tile:nth-child(3n+3) .ico { background: var(--blue); color: #fff; }
.badge.live { background: var(--red); color: #fff; }
.badge.live::before { background: #fff; }
.thumb .ph { -webkit-text-stroke: 1px rgba(255,171,0,.8); }
.clients li:nth-child(3n+1):hover { background: rgba(233,29,38,.12); }
.clients li:nth-child(3n+3):hover { background: rgba(58,83,164,.14); }
.cta { background: var(--blue); color: #e9edfb; }
.cta h2 { color: #fff; }
.cta .outline { -webkit-text-stroke: 2px var(--primary); }
.cta .btn.dark { background: var(--primary); color: var(--primary-ink); }
.cta .btn.dark:hover { background: #fff; color: var(--ink); }
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(90deg, var(--red) 0 50%, var(--primary) 50%); opacity: 0; }
.site-footer { border-top: 0; }
.footer-bottom { border-image: linear-gradient(90deg, var(--red) 0 33.33%, var(--primary) 33.33% 66.66%, var(--blue) 66.66%) 1; border-top: 3px solid; }
.contact-card dt { color: var(--primary); }
.chip.is-on { background: var(--blue); border-color: var(--blue); }
a.chip { display: inline-block; }
.link-arrow { border-bottom-color: var(--red); }
.sheet.dark .link-arrow, .on-dark .link-arrow { border-bottom-color: var(--primary); }

/* ---------- Brand band + FAQ ---------- */
.sheet.band { background: var(--primary); color: var(--primary-ink); }
.sheet.band h2 { color: var(--primary-ink); }
.sheet.band .outline { -webkit-text-stroke: 1.5px var(--primary-ink); }
.sheet.band .sec-kicker { color: var(--primary-ink); }
.sheet.band .sec-kicker::before { background: var(--red); }
.sheet.band .checks li { border-color: rgba(28,19,0,.25); color: var(--primary-ink); font-weight: 500; }
.sheet.band .checks li::before { background-color: var(--primary-ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFAB00' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.btn.ghost-dark { background: transparent; border-color: var(--primary-ink); color: var(--primary-ink); }
.btn.ghost-dark:hover { background: var(--primary-ink); color: #fff; }
.sheet.band .btn.dark:hover { background: var(--blue); color: #fff; }
div.svc-row:hover svg { transform: none; }
.faq { border-top: 1px solid var(--border); max-width: 980px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 50px 26px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: clamp(20px, 2.1vw, 28px); line-height: 1.2; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--display); font-size: 30px; color: var(--red); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 50px 28px 0; font-size: 13.5px; color: #444; }

/* ---------- Calls to action ---------- */
.btn svg[viewBox="0 0 24 24"] { width: 16px; height: 16px; }
.btn:hover svg[viewBox="0 0 24 24"] { transform: none; }
.btn.white { background: #fff; color: var(--ink); }
.btn.white:hover { background: var(--ink); color: #fff; }
.header-cta { display: inline-flex !important; }
.nav li.m-only { display: none; }
@media (max-width: 1260px) {
  .nav li.m-only { display: block; }
  .header-cta { order: 2; margin-left: auto; position: relative; z-index: 3; }
  .nav-toggle { order: 3; margin-left: 10px; }
}
@media (max-width: 430px) { .brand span { display: none; } }
.sheet.strip { padding: 70px 0 calc(70px + var(--radius)); }
.sheet.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px 50px; flex-wrap: wrap; }
.sheet.strip h2 { font-size: clamp(34px, 4.4vw, 66px); color: #fff; }
.sheet.strip p { margin: 12px 0 0; font-weight: 400; max-width: 520px; }
.strip.red { background: var(--red); color: #ffe9ea; }
.strip.ink { background: var(--ink); color: #cfd6d3; }
.strip.red .btn.ghost { border-color: rgba(255,255,255,.6); }
.cta .btn.ghost { border-color: rgba(255,255,255,.6); }
.cta .hero-actions { margin-top: 4px; }
.contact-card .btn.sm { height: 42px; padding: 0 14px; }
.contact-card p { margin: 0; }
.card-body h3 a:hover { color: var(--red); }
.sheet.dark .card-body h3 a:hover { color: var(--primary); }
a.thumb { cursor: pointer; }

.fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab a { display: flex; align-items: center; gap: 10px; height: 50px; min-width: 50px; padding: 0 15px; border-radius: 999px; background: var(--ink-2); color: #fff; border: 1px solid var(--border-dark); box-shadow: 0 10px 28px -10px rgba(0,0,0,.6); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; transition: transform .25s, background .25s, color .25s; }
.fab a svg { width: 19px; height: 19px; flex: none; }
.fab a span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s, margin .3s; margin-left: -10px; }
.fab a:hover span, .fab a:focus-visible span, .fab a.fab-main span { max-width: 140px; margin-left: 0; }
.fab a:hover { transform: translateX(-4px); }
.fab .fab-wa { background: #1faa59; border-color: #1faa59; }
.fab .fab-call { background: var(--blue); border-color: var(--blue); }
.fab .fab-mail { background: var(--red); border-color: var(--red); }
.fab .fab-main { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); height: 56px; padding: 0 22px; }
.nav-open .fab, .modal.is-open ~ .fab { display: none; }
@media (max-width: 640px) {
  body { padding-bottom: 62px; }
  .fab { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; align-items: stretch; }
  .fab a { flex: 1; height: 62px; border-radius: 0; border: 0; box-shadow: none; flex-direction: column; justify-content: center; gap: 4px; padding: 0 4px; font-size: 9.5px; }
  .fab a span, .fab a:hover span { max-width: none; margin: 0; }
  .fab a:hover { transform: none; }
  .fab .fab-main { height: 62px; padding: 0 4px; }
  .sheet.strip .hero-actions .btn, .cta .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Continuous scrolling: next-page bar + page transition ---------- */
.next-page { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 8px 26px; flex-wrap: wrap; text-align: center; padding: 44px 20px 50px; background: var(--primary); color: var(--primary-ink); overflow: hidden; }
.np-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; display: inline-flex; align-items: center; gap: 10px; }
.np-label::before { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); animation: npBounce 1.4s ease-in-out infinite; }
@keyframes npBounce { 0%, 100% { translate: 0 -3px; } 50% { translate: 0 3px; } }
.np-title { font-family: var(--display); font-size: clamp(34px, 5vw, 72px); text-transform: uppercase; line-height: 1; display: inline-flex; align-items: center; gap: .3em; transition: transform .3s; }
.np-title svg { width: .5em; height: .5em; stroke-width: 1.6; }
.next-page:hover .np-title, .next-page.is-arming .np-title { transform: scale(1.04); }
.np-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: rgba(28,19,0,.18); }
.np-bar i { display: block; height: 100%; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .18s linear; }
.curtain { position: fixed; inset: 0; z-index: 500; pointer-events: none; display: flex; }
.curtain i { flex: 1; transform: translateY(101%); }
.curtain i:nth-child(1) { background: var(--red); }
.curtain i:nth-child(2) { background: var(--primary); }
.curtain i:nth-child(3) { background: var(--blue); }
.is-leaving .curtain i { transform: translateY(0); transition: transform .46s cubic-bezier(.7, 0, .2, 1); }
.is-leaving .curtain i:nth-child(2) { transition-delay: .05s; }
.is-leaving .curtain i:nth-child(3) { transition-delay: .1s; }
.is-entering .curtain i { animation: curtainOut .6s cubic-bezier(.7, 0, .2, 1) both; }
.is-entering .curtain i:nth-child(2) { animation-delay: .06s; }
.is-entering .curtain i:nth-child(3) { animation-delay: .12s; }
@keyframes curtainOut { from { transform: translateY(0); } to { transform: translateY(-101%); } }
@media (prefers-reduced-motion: reduce) { .curtain { display: none; } }

/* inner-page hero text sits above the darkened background image */
.page-hero .container { position: relative; z-index: 1; }

/* ---------- Continuous scrolling, reverse direction ---------- */
.prev-page { position: fixed; left: 0; right: 0; top: 0; z-index: 120; display: flex; align-items: center; justify-content: center; height: 64px; background: var(--primary); color: var(--primary-ink); font-family: var(--display); font-size: 24px; text-transform: uppercase; letter-spacing: .03em; transform: translateY(calc((var(--p, 0) - 1) * 100%)); transition: transform .18s linear; overflow: hidden; }
.prev-page span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-left: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); margin-right: 14px; }
.prev-page i { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--red); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .18s linear; }
.is-leaving-up .curtain i { animation: curtainDownIn .46s cubic-bezier(.7, 0, .2, 1) both; }
.is-leaving-up .curtain i:nth-child(2) { animation-delay: .05s; }
.is-leaving-up .curtain i:nth-child(1) { animation-delay: .1s; }
.is-entering-up .curtain i { animation: curtainDownOut .6s cubic-bezier(.7, 0, .2, 1) both; }
.is-entering-up .curtain i:nth-child(2) { animation-delay: .06s; }
.is-entering-up .curtain i:nth-child(1) { animation-delay: .12s; }
@keyframes curtainDownIn { from { transform: translateY(-101%); } to { transform: translateY(0); } }
@keyframes curtainDownOut { from { transform: translateY(0); } to { transform: translateY(101%); } }

/* phones: stop the browser pull-to-refresh so a pull at the top goes to the previous page */
html, body { overscroll-behavior-y: none; }

/* page-transition panels: pure, bright brand red / yellow / blue */
.curtain i:nth-child(1) { background: #EE1C25; }
.curtain i:nth-child(2) { background: #FFC400; }
.curtain i:nth-child(3) { background: #2F5FE0; }
.site-header::before, .footer-bottom { --stripe: linear-gradient(90deg, #EE1C25 0 33.33%, #FFC400 33.33% 66.66%, #2F5FE0 66.66%); }
.site-header::before { background: var(--stripe); }
.footer-bottom { border-image: var(--stripe) 1; }

/* ---------- Page transition v2: thin red / yellow / blue stripes that fade in, rise, and fade out ---------- */
.curtain { align-items: flex-start; }
.curtain i, .curtain i:nth-child(1), .curtain i:nth-child(2), .curtain i:nth-child(3) {
  position: relative; top: -30%; height: 160%; opacity: 0; transition: none;
  background: linear-gradient(90deg, #EE1C25 0 33.34%, #FFC400 33.34% 66.67%, #2F5FE0 66.67%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%);
}
.is-leaving .curtain i { transform: none; animation: stripesRiseIn .52s cubic-bezier(.3, .6, .2, 1) both; }
.is-entering .curtain i { animation: stripesRiseOut .8s cubic-bezier(.5, 0, .3, 1) both; }
.is-leaving-up .curtain i { animation: stripesFallIn .52s cubic-bezier(.3, .6, .2, 1) both; }
.is-entering-up .curtain i { animation: stripesFallOut .8s cubic-bezier(.5, 0, .3, 1) both; }
.is-leaving .curtain i:nth-child(2), .is-entering .curtain i:nth-child(2), .is-leaving-up .curtain i:nth-child(2), .is-entering-up .curtain i:nth-child(2) { animation-delay: .05s; }
.is-leaving .curtain i:nth-child(3), .is-entering .curtain i:nth-child(3) { animation-delay: .1s; }
.is-leaving-up .curtain i:nth-child(3), .is-entering-up .curtain i:nth-child(3) { animation-delay: 0s; }
.is-leaving-up .curtain i:nth-child(1), .is-entering-up .curtain i:nth-child(1) { animation-delay: .1s; }
@keyframes stripesRiseIn { from { transform: translateY(45%); opacity: 0; } 60% { opacity: 1; } to { transform: translateY(0); opacity: 1; } }
@keyframes stripesRiseOut { from { transform: translateY(0); opacity: 1; } 35% { opacity: 1; } to { transform: translateY(-45%); opacity: 0; } }
@keyframes stripesFallIn { from { transform: translateY(-45%); opacity: 0; } 60% { opacity: 1; } to { transform: translateY(0); opacity: 1; } }
@keyframes stripesFallOut { from { transform: translateY(0); opacity: 1; } 35% { opacity: 1; } to { transform: translateY(45%); opacity: 0; } }

/* three panels only: one red, one yellow, one blue (fade effect kept) */
.curtain i:nth-child(1) { background: #EE1C25; }
.curtain i:nth-child(2) { background: #FFC400; }
.curtain i:nth-child(3) { background: #2F5FE0; }
