/* ==========================================================================
   Senseforge AI — site styles
   Palette: navy #202B3D, lime #DFEB33, warm paper. Flat colour, hard edges,
   no gradients or glows.
   ========================================================================== */

:root {
  --navy: #202B3D;
  --navy-deep: #151D2B;
  --navy-soft: #2C3A52;
  --lime: #DFEB33;
  --lime-deep: #C9D61A;
  --paper: #F4F3EC;
  --white: #FFFFFF;
  --ink: #202B3D;
  --mute: #5A6579;
  --line: rgba(32, 43, 61, .16);
  --line-lt: rgba(255, 255, 255, .16);
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Hanken Grotesk', 'Segoe UI', system-ui, sans-serif;
  --r: 10px;
  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 40px);
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--lime); color: var(--navy); }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.sec--lime :focus-visible, .sec--paper :focus-visible, .sec--white :focus-visible { outline-color: var(--navy); }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(32px, 4.8vw, 62px); letter-spacing: -.03em; }
h2 { font-size: clamp(26px, 3.2vw, 40px); }
h3 { font-size: clamp(18px, 1.6vw, 21px); letter-spacing: -.01em; line-height: 1.25; }
p { max-width: 68ch; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.wrap--narrow { max-width: calc(860px + var(--gut) * 2); }

.sec { padding: clamp(52px, 7vw, 96px) 0; }
.sec--navy { background: var(--navy); color: var(--white); }
.sec--lime { background: var(--lime); color: var(--navy); }
.sec--white { background: var(--white); }
.sec--paper { background: var(--paper); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--lime); }
.sec--lime .eyebrow::before, .sec--paper .eyebrow::before, .sec--white .eyebrow::before { background: var(--navy); }
.sec--navy .eyebrow, .hero .eyebrow { color: var(--lime); }
.sec--navy .eyebrow::before, .hero .eyebrow::before { background: var(--lime); }

/* highlighted word: flat lime marker behind navy text */
.mark { color: var(--lime); }
.sec--lime .mark, .sec--paper .mark, .sec--white .mark { color: var(--navy); box-shadow: inset 0 -.3em 0 var(--lime); }

.lead { font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; color: var(--mute); }
.sec--navy .lead, .hero .lead { color: rgba(255, 255, 255, .74); }
.sec--lime .lead { color: rgba(32, 43, 61, .8); }

/* ----- buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 14px 22px; border: 1.5px solid transparent; border-radius: 8px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  cursor: pointer;
}
.btn svg { width: 16px; height: 16px; transition: transform .15s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn--lime { background: var(--lime); color: var(--navy); border-color: var(--lime); }
.btn--lime:hover { background: var(--white); border-color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-soft); border-color: var(--navy-soft); }
.btn--line { border-color: currentColor; }
.btn--line:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.sec--paper .btn--line:hover, .sec--white .btn--line:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }


.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 600; border-bottom: 1.5px solid var(--lime); padding-bottom: 2px; font-size: 15px;
}
.sec--paper .link-arrow, .sec--white .link-arrow, .sec--lime .link-arrow { border-color: var(--navy); }
.link-arrow svg { width: 14px; height: 14px; transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: var(--navy); padding: 10px 16px; z-index: 300; font-weight: 600; }
.skip:focus { left: 8px; }

.nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: var(--navy); color: var(--white);
  border-bottom: 1px solid var(--line-lt);
}
.nav-in { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--lime); background: #000; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.brand-name b { color: var(--lime); font-weight: 700; margin-left: 2px; }

.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px;
  font-weight: 500; font-size: 15px; border-radius: 8px; transition: background .15s, color .15s;
}
.nav-link:hover { background: rgba(255, 255, 255, .08); }
.nav-link.active { color: var(--lime); }
.nav-link svg { width: 10px; height: 10px; transition: transform .2s; }
.nav-cta { margin-left: 12px; padding: 11px 18px; font-size: 14px; }

/* mega menu */
.has-mega { position: static; }
.has-mega:hover .nav-link svg, .has-mega:focus-within .nav-link svg { transform: rotate(180deg); }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); color: var(--navy); border-bottom: 3px solid var(--lime);
  box-shadow: 0 24px 40px rgba(21, 29, 43, .14);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; gap: 36px; padding: 40px 0 44px; }
.mega-h { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mega-a { display: block; padding: 9px 0; }
.mega-a strong { display: block; font-family: var(--display); font-size: 16px; font-weight: 600; line-height: 1.25; }
.mega-a span { display: block; font-size: 14px; color: var(--mute); line-height: 1.4; margin-top: 2px; }
.mega-a:hover strong { text-decoration: underline; text-decoration-color: var(--lime-deep); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.mega-feature { background: var(--navy); color: var(--white); padding: 26px; border-radius: var(--r); align-self: start; }
.mega-feature small { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.mega-feature h4 { font-size: 21px; margin: 10px 0 10px; line-height: 1.2; }
.mega-feature p { font-size: 14.5px; color: rgba(255, 255, 255, .72); margin-bottom: 16px; line-height: 1.5; }
.mega-feature a { color: var(--lime); font-family: var(--display); font-weight: 600; }
.mega-all { display: block; margin-top: 16px; font-family: var(--display); font-weight: 600; font-size: 15px; text-decoration: underline; text-decoration-color: var(--lime-deep); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* mobile */
.burger { display: none; margin-left: auto; width: 42px; height: 42px; border: 1.5px solid var(--line-lt); border-radius: var(--r); align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--white); transition: transform .2s, opacity .2s; }
.drawer {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 99; background: var(--navy); color: var(--white);
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 20px var(--gut) 0;
  transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-label { font-family: var(--display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin: 8px 0 6px; font-weight: 600; }
.drawer a { display: block; }
.drawer .d-sub { padding: 11px 0; color: rgba(255, 255, 255, .78); border-bottom: 1px solid var(--line-lt); }
.drawer .d-main { font-family: var(--display); font-weight: 600; font-size: 22px; padding: 12px 0; border-bottom: 1px solid var(--line-lt); letter-spacing: -.02em; }
.drawer-foot { position: sticky; bottom: 0; margin: 24px calc(var(--gut) * -1) 0; padding: 16px var(--gut) calc(16px + env(safe-area-inset-bottom, 0px)); background: var(--navy); border-top: 1px solid var(--line-lt); }
.drawer-foot .btn { width: 100%; }
.drawer-foot p { margin-top: 12px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .7); text-align: center; }
.drawer-foot a:not(.btn) { color: var(--lime); font-weight: 600; }
.drawer-foot .btn--lime { color: var(--navy); }

@media (max-width: 1100px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  body.menu-open { overflow: hidden; }
  body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .burger span:nth-child(2) { opacity: 0; }
  body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (min-width: 1101px) { .drawer { display: none; } }

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero { background: var(--navy); color: var(--white); padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 22px; max-width: 18ch; }
.hero .lead { max-width: 52ch; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { font-size: 13px; font-weight: 500; padding: 6px 12px; border: 1px solid var(--line-lt); border-radius: 100px; color: rgba(255, 255, 255, .86); }

.hero-art { position: relative; justify-self: center; width: min(100%, 360px); aspect-ratio: 1; }
.hero-art::before { content: ""; position: absolute; inset: 0; transform: translate(10px, 10px); border-radius: 50%; background: var(--lime); }
.hero-art img { position: relative; width: 100%; height: 100%; border-radius: 50%; border: 2px solid var(--lime); background: #000; object-fit: cover; }
.sticker {
  position: absolute; z-index: 2; background: var(--white); color: var(--navy);
  padding: 10px 14px; border-radius: 10px; box-shadow: 0 10px 24px rgba(10, 16, 28, .35);
  font-size: 12.5px; line-height: 1.25; font-weight: 500;
}
.sticker b { display: block; font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1; margin-bottom: 3px; }
.sticker--a { left: -6%; bottom: 14%; }
.sticker--b { right: -4%; top: 8%; transform: rotate(2deg); }

@media (max-width: 880px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { width: min(46%, 220px); order: -1; justify-self: start; margin-bottom: 4px; }
  .sticker--a { display: none; }
  .sticker--a { left: auto; right: -8%; bottom: 6%; }
  .sticker--b { display: none; }
}

/* stats band */
.stats { background: var(--lime); color: var(--navy); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 24px 26px 0; border-right: 1px solid rgba(32, 43, 61, .35); padding-left: 24px; }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--display); font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stat span { display: block; margin-top: 6px; font-weight: 500; font-size: 14px; line-height: 1.35; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 16px; border-right: 0; border-bottom: 2px solid var(--navy); }
  .stat:nth-child(odd) { border-right: 2px solid var(--navy); padding-left: 0; }
  .stat:nth-child(even) { padding-left: 20px; }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head > :first-child { flex: 1 1 380px; }
.sec-head > .lead { flex: 0 1 44ch; }
.sec-head h2 { max-width: 16ch; }
.sec-head--wide h2 { max-width: 20ch; }
.sec-intro { max-width: 52ch; margin-top: 18px; }

/* why / pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--navy); }
.pillar { padding: 28px 28px 4px 0; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar-n { font-family: var(--display); font-weight: 800; font-size: 34px; letter-spacing: -.03em; line-height: 1; color: var(--navy); display: block; margin-bottom: 18px; }
.pillar-n i { font-style: normal; box-shadow: inset 0 -.32em 0 var(--lime); }
.pillar h3 { margin-bottom: 12px; }
.pillar p { color: var(--mute); }
@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
}

/* service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; min-height: 230px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.sec--paper .card { background: var(--white); }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(32, 43, 61, .10); border-color: var(--navy); }
.card-n { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .08em; color: var(--navy); margin-bottom: auto; padding-bottom: 26px; }
.card-n::after { content: ""; display: block; width: 28px; height: 3px; background: var(--lime); margin-top: 8px; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--mute); margin-bottom: 18px; }
.card-go { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 14px; margin-top: auto; }
.card-go svg { width: 15px; height: 15px; transition: transform .15s; }
.card:hover .card-go svg { transform: translateX(5px); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } .card { min-height: 0; } }

/* process */
.process { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.process-intro { position: sticky; top: calc(var(--nav-h) + 32px); }
.process-intro h2 { margin-bottom: 20px; }
.steps { counter-reset: s; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 26px 0; border-top: 1px solid var(--line-lt); }
.step:last-child { border-bottom: 1px solid var(--line-lt); }
.step-n { font-family: var(--display); font-weight: 800; font-size: 38px; line-height: 1; letter-spacing: -.04em; color: var(--lime); }
.step h3 { margin-bottom: 8px; }
.step small { display: inline-block; font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: 10px; }
.step p { color: rgba(255, 255, 255, .72); }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; }
  .process-intro { position: static; }
  .step { grid-template-columns: 56px 1fr; gap: 14px; }
  .step-n { font-size: 40px; }
}

/* case study tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile {
  display: flex; flex-direction: column; justify-content: space-between; min-height: 260px;
  background: var(--navy); color: var(--white); border-radius: 14px; padding: 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(32, 43, 61, .22); }
.tile-tag { display: inline-block; align-self: flex-start; font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; background: var(--lime); color: var(--navy); padding: 5px 9px; border-radius: 4px; }
.tile-img { aspect-ratio: 16 / 9; background: var(--paper); border-radius: 10px; overflow: hidden; margin-bottom: 18px; }
.tile-img img { width: 100%; height: 100%; object-fit: contain; }
.tile h3 { font-size: clamp(19px, 1.9vw, 23px); margin: 22px 0 20px; }
.tile .link-arrow { align-self: flex-start; }
@media (max-width: 960px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 0; } }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: var(--white); border: 1px solid rgba(32, 43, 61, .25); border-radius: 14px; padding: 26px 24px; display: flex; flex-direction: column; }
.quote::before { content: "\201C"; font-family: var(--display); font-weight: 800; font-size: 64px; line-height: .7; height: 30px; color: var(--navy); background: none; }
.quote blockquote { font-family: var(--display); font-size: 17px; font-weight: 500; line-height: 1.45; letter-spacing: -.01em; margin-bottom: 24px; flex: 1; }
.quote figcaption strong { display: block; font-family: var(--display); }
.quote figcaption span { font-size: 14px; color: var(--mute); }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-list { border-top: 1px solid var(--navy); }
.qa { border-bottom: 1px solid var(--line); }
.qa-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; padding: 20px 0; font-family: var(--display); font-weight: 600; font-size: clamp(16px, 1.5vw, 18px); letter-spacing: -.01em; line-height: 1.3; }
.qa-ic { flex-shrink: 0; width: 30px; height: 30px; display: grid; place-items: center; border: 1.5px solid var(--navy); border-radius: 50%; transition: background .15s, transform .2s; }
.qa-ic svg { width: 12px; height: 12px; }
.qa.open .qa-ic { background: var(--lime); transform: rotate(45deg); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.qa-a > div { overflow: hidden; }
.qa.open .qa-a { grid-template-rows: 1fr; }
.qa-a p { padding: 0 48px 22px 0; color: var(--mute); font-size: 15.5px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* deliverables list */
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; border-top: 1px solid var(--navy); }
.checks li { position: relative; padding: 15px 0 15px 36px; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 16px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 18px; width: 20px; height: 20px; background: var(--lime); border: 1.5px solid var(--navy); border-radius: 4px; }
.checks li::after { content: ""; position: absolute; left: 6px; top: 24px; width: 8px; height: 4px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }
@media (max-width: 760px) { .checks { grid-template-columns: 1fr; } }

/* at-a-glance answer block */
.answer { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.facts { border-top: 1px solid var(--navy); }
.facts > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.facts dd { font-weight: 500; font-size: 15px; }
.facts a { text-decoration: underline; text-decoration-color: var(--lime-deep); text-decoration-thickness: 3px; text-underline-offset: 3px; }
@media (max-width: 860px) { .answer { grid-template-columns: 1fr; } .facts > div { grid-template-columns: 1fr; gap: 2px; } }

/* video */
.video { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.video-copy h2 { margin-bottom: 16px; }
.video-copy .lead { margin-bottom: 26px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--line-lt); }
.yt, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s, transform .4s; }
.yt:hover img { opacity: 1; transform: scale(1.03); }
.yt-play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--lime); color: var(--navy); display: grid; place-items: center; transition: transform .2s; }
.yt-play svg { width: 28px; height: 28px; margin-left: 3px; }
.yt:hover .yt-play { transform: scale(1.08); }
@media (max-width: 860px) { .video { grid-template-columns: minmax(0, 1fr); } .yt-play { width: 56px; height: 56px; margin: -28px 0 0 -28px; } }


/* our work */
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.work[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter { font-family: var(--display); font-weight: 600; font-size: 14px; padding: 9px 16px; border: 1px solid rgba(32, 43, 61, .3); border-radius: 100px; background: transparent; transition: background .15s, color .15s, border-color .15s; }
.filter span { opacity: .55; margin-left: 4px; }
.filter:hover { border-color: var(--navy); }
.filter.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.work-cat { font-size: 12px; font-weight: 500; color: var(--mute); padding: 4px 0; }
.work-shot--art img { aspect-ratio: 16 / 10; }
.work { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.work:hover { box-shadow: 0 14px 32px rgba(32, 43, 61, .10); border-color: var(--navy); }
.work-shot { display: block; background: var(--navy); border-bottom: 1px solid var(--line); }
.work-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #E9E8E0; }
.work-bar i { width: 9px; height: 9px; border-radius: 50%; background: #C7C6BD; }
.work-bar em { margin-left: 10px; flex: 1; min-width: 0; font-style: normal; font-size: 12px; color: var(--mute); background: var(--white); border-radius: 6px; padding: 3px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.work-shot img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .4s; }
.work-shot { overflow: hidden; }
.work-shot:hover img { transform: scale(1.02); }
.work-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.work-type { font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: var(--lime); color: var(--navy); padding: 4px 9px; border-radius: 4px; }
.work h2 { font-size: 21px; letter-spacing: -.02em; margin-bottom: 8px; }
.work p { color: var(--mute); font-size: 15px; margin-bottom: 20px; }
.work-links { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: auto; }
.work-links .btn { padding: 11px 18px; font-size: 14px; }
.work-links .btn svg { width: 14px; height: 14px; }
.more-grid { display: grid; gap: 28px; }
.more-grid h3 { font-size: 15px; font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--mute); margin-bottom: 12px; font-weight: 600; }
.chips--dark li { color: var(--navy); border-color: rgba(32, 43, 61, .25); background: var(--paper); }
@media (max-width: 1100px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .work-grid { grid-template-columns: minmax(0, 1fr); } .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gut) * -1) 24px; padding: 0 var(--gut) 4px; scrollbar-width: none; } .filters::-webkit-scrollbar { display: none; } .filter { white-space: nowrap; flex-shrink: 0; } }
@media (max-width: 720px) { .work-body { padding: 20px; } .work h2 { font-size: 21px; } .more-grid .chips--dark { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; } .more-grid .chips--dark li { white-space: normal; } }


/* brand logo slider */
.brands { padding: clamp(36px, 5vw, 56px) 0; background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; }
.brands-label { text-align: center; font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 24px; }
.marquee { --gap: 16px; position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; gap: var(--gap); padding-right: var(--gap); animation: marquee var(--dur, 40s) linear infinite; }
.marquee--rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-tile { flex: none; width: 232px; height: 88px; display: grid; place-items: center; border-radius: 14px; padding: 14px 20px; border: 1px solid rgba(32, 43, 61, .12); transition: transform .25s, box-shadow .25s; }
.logo-tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.logo-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(32, 43, 61, .14); }

.brands--dark { background: var(--navy-deep); border-bottom: 0; }
.brands--dark .brands-label { color: rgba(255, 255, 255, .6); }
.brands--dark .logo-tile { border-color: rgba(255, 255, 255, .14); }

/* technologies */
.tech-sec { overflow: hidden; padding-bottom: clamp(44px, 6vw, 80px); }
.tech-rows { display: grid; gap: 16px; }
.tech-rows .marquee { --gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tech { flex: none; display: flex; align-items: center; gap: 14px; padding: 14px 22px 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -.01em; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tech i { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, white); }
.tech:hover { background: var(--white); }
.tech svg { width: 22px; height: 22px; fill: var(--c); }
.tech:hover { transform: translateY(-4px); border-color: var(--c); box-shadow: 0 12px 26px rgba(32, 43, 61, .12); }
.tech-sec .sec-head { margin-bottom: 36px; }
@media (max-width: 720px) {
  .logo-tile { width: 168px; height: 66px; padding: 10px 14px; }
  .tech { font-size: 15px; padding: 10px 16px 10px 12px; }
  .tech i { width: 36px; height: 36px; }
  .tech-rows { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .marquee-track { animation: none !important; }
}


/* ==========================================================================
   Lead-generation landing page
   ========================================================================== */
.nav--lp .nav-in { justify-content: space-between; }
.lp-nav-act { display: flex; align-items: center; gap: 18px; }
.lp-phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 15px; }
.lp-phone svg { width: 18px; height: 18px; color: var(--lime); }
.nav--lp .nav-cta { display: inline-flex; margin-left: 0; }
html { scroll-padding-top: calc(var(--nav-h) + 16px); }

.lp-hero { padding: clamp(24px, 3vw, 40px) 0 clamp(28px, 3.5vw, 48px); }
.lp-hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.lp-copy .eyebrow { margin-bottom: 12px; }
.lp-copy h1 { font-size: clamp(28px, 3.6vw, 46px); max-width: 20ch; margin-bottom: 14px; }
.lp-copy .lead { max-width: 52ch; font-size: 16px; margin-bottom: 20px; }
.lp-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-lt); margin-bottom: 16px; }
.lp-points li { padding: 14px 14px 0 0; }
.lp-points li + li { padding-left: 16px; border-left: 1px solid var(--line-lt); }
.lp-points b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.03em; line-height: 1; color: var(--lime); margin-bottom: 6px; }
.lp-points span { display: block; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .72); }
.lp-call { font-size: 15px; color: rgba(255, 255, 255, .8); }
.lp-call a { color: var(--lime); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.lp-form-card { background: var(--white); color: var(--navy); border-radius: 14px; padding: clamp(18px, 2.2vw, 26px); box-shadow: 0 24px 60px rgba(10, 16, 28, .35); scroll-margin-top: calc(var(--nav-h) + 16px); }
.lp-form-card h2 { font-size: clamp(20px, 2vw, 24px); margin-bottom: 4px; }
.lp-form-sub { color: var(--mute); font-size: 13px; margin-bottom: 10px; }
.lp-form-card .field { margin-bottom: 8px; min-width: 0; }
.lp-form-card .field label { font-size: 13px; margin-bottom: 4px; }
.lp-form-card .field input, .lp-form-card .field select, .lp-form-card .field textarea { padding: 9px 12px; font-size: 15px; }
.lp-form-card .field textarea { min-height: 0; height: 58px; resize: none; }
.lp-opt { font-weight: 400; color: var(--mute); }
.lp-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 12px; }
.lp-hint { font-size: 12px; color: var(--mute); margin: 0 0 10px; }
.lp-form-card [aria-invalid="true"] { border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192, 57, 43, .15); }
.lp-submit { width: 100%; padding: 13px 20px; font-size: 15px; }
.lp-fine { margin-top: 10px; font-size: 12px; color: var(--mute); text-align: center; }
.lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lp-thanks { text-align: center; padding: 14px 4px; }
.lp-thanks h2 { margin: 16px 0 10px; }
.lp-thanks p { color: var(--mute); margin: 0 auto; }
.lp-thanks a { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--lime-deep); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.lp-tick { width: 64px; height: 64px; border-radius: 50%; background: var(--lime); display: inline-grid; place-items: center; }
.lp-tick svg { width: 30px; height: 30px; }

.lp-video { display: flex; flex-direction: column; align-items: center; gap: clamp(28px, 4vw, 44px); }
.lp-video-copy { text-align: center; max-width: 640px; }
.lp-video-copy .eyebrow { justify-content: center; }
.lp-video-copy h2 { margin-bottom: 14px; }
.lp-video-copy .lead { margin: 0 auto; }
.lp-video-frame { width: 100%; }

/* client reels */
.reels { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 14px; margin-bottom: 28px; scrollbar-width: thin; }
.reel { flex: 0 0 min(240px, 62vw); scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; }
.reel-play, .reel-video, .reel iframe { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; border-radius: 14px; overflow: hidden; background: var(--navy); }
.reel-play img { width: 100%; height: 100%; object-fit: cover; }
.reel-play .yt-play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.reel figcaption strong { display: block; font-family: var(--display); font-size: 15px; }
.reel figcaption span { font-size: 13px; opacity: .75; }

.lp-cta .cta-in { align-items: center; }
.lp-cta h2 { max-width: 18ch; }
.lp-cta-act { display: flex; flex-wrap: wrap; gap: 12px; }

.footer--lp { padding-top: clamp(36px, 5vw, 56px); }
.lp-foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }

.lp-bar { display: none; }

@media (max-width: 980px) {
  .lp-hero-in { grid-template-columns: minmax(0, 1fr); }
  .lp-copy h1 { max-width: none; }
  .lp-foot { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lp-foot > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav--lp .nav-cta { display: none; }
  .lp-phone span { display: none; }
  .lp-phone { width: 40px; height: 40px; justify-content: center; border: 1px solid var(--line-lt); border-radius: 8px; }
  .lp-points { grid-template-columns: minmax(0, 1fr); border-top: 0; margin-bottom: 20px; gap: 10px; }
  .lp-points li, .lp-points li + li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: baseline; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line-lt); }
  .lp-points b { margin: 0; font-size: 22px; }
  .lp-form-card { padding: 18px; }
  .lp-row { grid-template-columns: minmax(0, 1fr); }
  .lp-cta-act .btn { flex: 1 1 100%; }
  .lp-bar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--navy); border-top: 1px solid var(--line-lt); }
  .lp-bar .btn { flex: 1; padding: 13px 10px; }
  .lp-bar .btn--line { color: var(--white); border-color: var(--line-lt); }
  .footer--lp { padding-bottom: 88px; }
  .lp-foot { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
.pf-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.pf-panel[hidden] { display: none; }
.pf-note { color: var(--mute); margin-bottom: 20px; font-size: 15px; }
.pf-more { margin-top: 28px; text-align: center; max-width: none; }
.work-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.app-feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 48px); align-items: center; background: var(--navy); color: var(--white); border-radius: 16px; padding: clamp(20px, 3vw, 36px); margin-bottom: 18px; }
.app-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.app-icon { flex: none; width: 64px; height: 64px; border-radius: 16px; }
.app-head h3 { font-size: clamp(20px, 2.2vw, 26px); margin-top: 8px; }
.app-feature-copy p { color: rgba(255, 255, 255, .78); margin-bottom: 20px; font-size: 15.5px; }
.app-feature .btn--navy { background: var(--lime); border-color: var(--lime); color: var(--navy); }
.app-feature .btn--navy:hover { background: var(--white); border-color: var(--white); }
.app-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.app-shots img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 10px 28px rgba(0, 0, 0, .35); }
.app-shots img:nth-child(2) { transform: translateY(14px); }
.app-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.app-tile { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.app-tile:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(32, 43, 61, .10); border-color: var(--navy); }
.app-ic { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--lime); font-family: var(--display); font-weight: 800; font-size: 20px; }
.app-name { flex: 1; min-width: 0; font-family: var(--display); font-weight: 600; font-size: 15px; line-height: 1.25; }
.app-os { flex: none; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 100px; background: var(--paper); color: var(--mute); }
@media (max-width: 1100px) { .app-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .app-feature { grid-template-columns: minmax(0, 1fr); } .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .work-grid--2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 720px) { .app-shots { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -4px; padding: 4px 4px 12px; scrollbar-width: none; } .app-shots::-webkit-scrollbar { display: none; } .app-shots img { flex: 0 0 62%; scroll-snap-align: start; } .app-shots img:nth-child(2) { transform: none; } .app-feature .btn { width: 100%; } .pf-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gut) * -1) 20px; padding: 0 var(--gut) 4px; scrollbar-width: none; } .pf-tabs::-webkit-scrollbar { display: none; } .pf-tabs .filter { white-space: nowrap; flex-shrink: 0; } .app-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; } .pf-more .btn { width: 100%; } }
.work h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 8px; }

/* closing CTA */
.cta { text-align: left; }
.cta-in { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(28px, 4.4vw, 56px); letter-spacing: -.03em; max-width: 16ch; }
.cta p { margin: 16px 0 0; }
.cta-act { flex-shrink: 0; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-hero { background: var(--navy); color: var(--white); padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); border-bottom: 3px solid var(--lime); }
.page-hero h1 { font-size: clamp(30px, 4.2vw, 50px); max-width: 22ch; margin-bottom: 18px; }
.page-hero .lead { max-width: 58ch; color: rgba(255, 255, 255, .76); }
.page-hero .eyebrow { color: var(--lime); }
.page-hero .eyebrow::before { background: var(--lime); }
.page-hero .lead + .lead { margin-top: 14px; }
.crumb { display: flex; width: fit-content; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--lime); margin-bottom: 28px; }
.crumb:hover { text-decoration: underline; }

.meta-row { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-lt); }
.meta-row div small { display: block; font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: 4px; }

/* numbered rows (about values) */
.rows { border-top: 1px solid var(--navy); }
.row { display: grid; grid-template-columns: 80px 1fr 1.4fr; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: start; }
.row-n { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -.04em; }
.row p { color: var(--mute); }
@media (max-width: 820px) { .row { grid-template-columns: 56px 1fr; } .row p { grid-column: 2; } .row-n { font-size: 34px; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-art { justify-self: center; position: relative; width: min(100%, 400px); aspect-ratio: 1; }
.split-art::before { content: ""; position: absolute; inset: 0; transform: translate(12px, 12px); border-radius: 50%; background: var(--navy); }
.split-art img { position: relative; width: 100%; height: 100%; border-radius: 50%; border: 3px solid var(--navy); background: #000; object-fit: cover; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split-art { width: min(70%, 320px); justify-self: start; } }

/* case list */
.case-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.case { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 24px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.case:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(32, 43, 61, .10); border-color: var(--navy); }
.case .post-img { margin-bottom: 16px; }
.case-top { display: flex; justify-content: space-between; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.case-top b { background: var(--lime); color: var(--navy); padding: 3px 8px; border-radius: 3px; font-weight: 600; }
.case h2 { font-size: 20px; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 14px; }
.case p { color: var(--mute); font-size: 15px; margin-bottom: 22px; flex: 1; }
.outcome { background: var(--paper); border-left: 3px solid var(--lime-deep); padding: 12px 14px; margin-bottom: 20px; font-weight: 600; font-size: 14px; line-height: 1.4; border-radius: 0 var(--r) var(--r) 0; }
.outcome small { display: block; font-family: var(--display); font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 4px; }
.case-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); }

.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px 40px; }
.results li { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -.01em; padding-top: 14px; border-top: 2px solid var(--navy); }

/* prose (CMS content) */
.prose, .article-body, .service-clean-content { font-size: 16.5px; line-height: 1.75; }
.prose > *:first-child { margin-top: 0; }
.prose h2, .prose h3, .article-body h2, .article-body h3, .service-clean-content h3 { margin: 2.1em 0 .6em; line-height: 1.15; }
.prose h2, .article-body h2 { font-size: clamp(22px, 2.6vw, 28px); }
.prose h3, .article-body h3, .service-clean-content h3 { font-size: clamp(19px, 2vw, 23px); }
.prose h4, .service-clean-content h4 { font-size: 20px; margin: 1.6em 0 .5em; }
.prose p, .article-body p, .service-clean-content p { color: #3A4558; margin-bottom: 1.3em; max-width: none; }
.prose p.lead-text, .service-clean-content p.lead-text { font-size: 18px; color: var(--navy); border-left: 4px solid var(--lime); padding-left: 18px; }
.prose ul, .prose ol, .article-body ul, .article-body ol { margin: 0 0 1.4em; }
.prose li, .article-body li, .service-clean-content li { position: relative; padding-left: 28px; margin-bottom: .7em; color: #2C3647; }
.prose li::before, .article-body ul li::before, .service-clean-content li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 12px; background: var(--lime); border: 2px solid var(--navy); border-radius: 2px; }
.article-body ol { counter-reset: n; }
.article-body ol li { counter-increment: n; }
.article-body ol li::before { content: counter(n); top: .1em; width: 22px; height: 22px; font-size: 12px; font-weight: 700; display: grid; place-items: center; font-family: var(--display); }
.prose a, .article-body a, .service-clean-content a { text-decoration: underline; text-decoration-color: var(--lime-deep); text-decoration-thickness: 3px; text-underline-offset: 3px; font-weight: 600; }
.prose strong, .article-body strong { font-weight: 700; color: var(--navy); }
.article-body blockquote, .prose blockquote { border-left: 4px solid var(--lime); background: var(--paper); padding: 18px 22px; margin: 2em 0; font-family: var(--display); font-size: 19px; line-height: 1.4; font-weight: 500; }
.article-body img, .prose img { border-radius: var(--r); margin: 1.6em 0; height: auto; }
.article-body table, .prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 16px; display: block; overflow-x: auto; }
.article-body th, .article-body td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; }
.article-body th { background: var(--navy); color: var(--white); font-family: var(--display); }
.article-body pre { background: var(--navy-deep); color: #e8ecf3; padding: 18px; border-radius: var(--r); overflow-x: auto; margin: 1.5em 0; font-size: 14px; }

/* blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 24px; }
.post { display: flex; flex-direction: column; }
.post-img { aspect-ratio: 16 / 9; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 16px; display: grid; place-items: center; }
.post-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.post:hover .post-img img { transform: scale(1.04); }
.post-img--empty { background: var(--navy); border-color: var(--navy); }
.post-img--empty img { width: 40%; height: auto; border-radius: 50%; object-fit: cover; aspect-ratio: 1; border: 2px solid var(--lime); }
.post-cat { align-self: flex-start; font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; background: var(--lime); color: var(--navy); padding: 4px 9px; border-radius: 3px; margin-bottom: 12px; }
.post h3 { margin-bottom: 8px; font-size: 19px; }
.post:hover h3 { text-decoration: underline; text-decoration-color: var(--lime-deep); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.post p { color: var(--mute); font-size: 15px; margin-bottom: 14px; }
.post-meta { margin-top: auto; font-size: 14px; color: var(--mute); }
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

.pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 56px; }
.page-btn { display: inline-flex; align-items: center; min-width: 46px; height: 46px; justify-content: center; padding: 0 16px; border: 1px solid var(--navy); border-radius: 8px; font-family: var(--display); font-weight: 600; transition: background .15s, color .15s; }
.page-btn:hover { background: var(--lime); }
.page-btn.active { background: var(--navy); color: var(--white); }

.byline { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 16px 0; margin: 28px 0 36px; border-top: 1px solid var(--navy); border-bottom: 1px solid var(--line); }
.byline-who { display: flex; align-items: center; gap: 12px; }
.byline-who img { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--navy); background: #000; }
.byline-who strong { display: block; font-family: var(--display); font-size: 15px; line-height: 1.2; }
.byline-who span { font-size: 13px; color: var(--mute); }
.copy-btn { font-family: var(--display); font-weight: 600; font-size: 14px; border: 1px solid var(--navy); border-radius: 8px; padding: 9px 16px; transition: background .15s; }
.copy-btn:hover { background: var(--lime); }
.article-cover { width: 100%; height: auto; border-radius: 14px; margin: 0 0 32px; background: var(--paper); }
.article-hero h1 { font-size: clamp(32px, 4.6vw, 56px); letter-spacing: -.03em; }
.article-hero .lead { margin-top: 20px; }
.tag-row { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font-size: 14px; color: var(--mute); }

.callout { margin-top: 64px; background: var(--navy); color: var(--white); border-radius: 14px; padding: clamp(24px, 4vw, 40px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.callout h3 { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 8px; }
.callout p { color: rgba(255, 255, 255, .74); font-size: 15px; }

/* related */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }

/* how we work (service page) */
.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.how > div { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px; }
.how b { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 14px; background: var(--lime); padding: 3px 9px; border-radius: 4px; margin-bottom: 14px; }
.how h3 { font-size: 17px; margin-bottom: 6px; }
.how p { font-size: 14.5px; color: var(--mute); }
@media (max-width: 960px) { .how { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .how { grid-template-columns: 1fr; } }

/* contact */
.contact { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--display); font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--navy); background: var(--white);
  border: 1px solid rgba(32, 43, 61, .35); border-radius: 8px; padding: 13px 14px; transition: box-shadow .15s, border-color .15s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px var(--lime); }
.field input::placeholder, .field textarea::placeholder { color: #8A93A3; }
.flash { padding: 16px 20px; border-left: 5px solid #C0392B; background: #FBEAE8; margin-bottom: 26px; border-radius: 0 var(--r) var(--r) 0; font-weight: 500; }
.sent { background: var(--lime); border-radius: 14px; padding: clamp(28px, 4vw, 48px); }
.sent h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 12px; }
.reach { background: var(--navy); color: var(--white); border-radius: 14px; padding: clamp(24px, 3vw, 36px); }
.reach h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 20px; }
.reach dl > div { padding: 14px 0; border-top: 1px solid var(--line-lt); }
.reach dt { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: 4px; }
.reach dd { font-size: 16px; word-break: break-word; }
.reach a:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* 404 */
.nf { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.nf-code { font-family: var(--display); font-weight: 800; font-size: clamp(90px, 16vw, 180px); letter-spacing: -.06em; line-height: .85; margin-bottom: 20px; }
.nf-code span { background: var(--lime); padding: 0 .06em; }
.nf h1 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 18px; }
.nf-links { border-top: 1px solid var(--navy); }
.nf-links a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding .15s, background .15s; }
.nf-links a:hover { background: var(--lime); padding-left: 14px; padding-right: 14px; }
.nf-links strong { display: block; font-family: var(--display); font-size: 18px; letter-spacing: -.01em; }
.nf-links span { font-size: 14px; color: var(--mute); }
.nf-links svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width: 820px) { .nf { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--navy-deep); color: var(--white); padding: clamp(44px, 6vw, 72px) 0 24px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; padding-bottom: 40px; }
.footer .brand { margin-bottom: 20px; }
.footer-about { color: rgba(255, 255, 255, .66); font-size: 14.5px; max-width: 34ch; margin-bottom: 22px; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-lt); border-radius: 8px; transition: background .15s, color .15s, border-color .15s; }
.social a:hover { background: var(--lime); border-color: var(--lime); color: var(--navy); }
.social svg { width: 18px; height: 18px; }
.f-h { font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 18px; display: block; }
.f-list { display: flex; flex-direction: column; gap: 9px; }
.f-list a, .f-list span, .f-list address span { color: rgba(255, 255, 255, .78); font-size: 14.5px; line-height: 1.45; }
.f-list a:hover { color: var(--lime); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding-top: 20px; border-top: 1px solid var(--line-lt); font-size: 13px; color: rgba(255, 255, 255, .5); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ==========================================================================
   Reveal (only hidden when JS is running)
   ========================================================================== */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.in { opacity: 1; transform: none; }
.js .rv.d1 { transition-delay: .08s; }
.js .rv.d2 { transition-delay: .16s; }
.js .rv.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive refinements
   ========================================================================== */
@media (max-width: 980px) {
  .hero-in { gap: 36px; }
  .hero-art { width: min(52%, 280px); }
  .process-intro { position: static; }
}

@media (max-width: 720px) {
  .answer, .faq, .process, .contact, .split, .nf { grid-template-columns: minmax(0, 1fr); }
  :root { --nav-h: 58px; --gut: 18px; }
  body { font-size: 15.5px; }
  h1 { font-size: clamp(28px, 8vw, 34px); line-height: 1.12; }
  h2 { font-size: clamp(23px, 6.4vw, 28px); line-height: 1.15; }
  .sec { padding: 44px 0; }
  .sec-head { margin-bottom: 24px; gap: 14px; }
  .sec-head > :first-child { flex-basis: 100%; }
  .sec-head h2, .sec-head--wide h2 { max-width: none; }
  .sec-head h2[style] { max-width: none !important; }
  .eyebrow { margin-bottom: 12px; }
  .lead { font-size: 15.5px; }

  .brand img { width: 32px; height: 32px; }
  .brand-name { font-size: 18px; }
  .burger { width: 38px; height: 38px; gap: 4px; }
  .burger span { width: 18px; }
  body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .btn { padding: 13px 20px; font-size: 15px; }

  /* hero: copy first, art tucked away */
  .hero { padding: 32px 0 40px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-art { display: none; }
  .hero h1 { margin-bottom: 16px; max-width: none; }
  .hero .lead { margin-bottom: 22px; }
  .hero-cta { flex-direction: column; margin-bottom: 22px; }
  .hero-cta .btn { width: 100%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chips li { white-space: nowrap; flex-shrink: 0; }

  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px 14px 18px 0; }
  .stat:nth-child(even) { padding-left: 16px; }
  .stat b { font-size: 26px; }
  .stat span { font-size: 12.5px; }

  .answer { gap: 24px; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }

  .pillar, .pillar + .pillar { padding: 20px 0; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
  .pillar-n { grid-row: span 2; font-size: 24px; margin: 0; }
  .pillar h3 { margin-bottom: 4px; }
  .pillar p { font-size: 14.5px; }

  .cards { gap: 12px; }
  .card { min-height: 0; padding: 20px; }
  .card-n { padding-bottom: 14px; }
  .card p { font-size: 14.5px; margin-bottom: 14px; }
  .card-go { margin-top: 0; }

  .process { gap: 24px; }
  .step { grid-template-columns: 44px 1fr; gap: 12px; padding: 20px 0; }
  .step-n { font-size: 28px; }
  .step p { font-size: 14.5px; }

  /* swipeable rows instead of long stacks */
  .tiles, .quotes {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gut) * -1); padding: 2px var(--gut) 10px; scroll-padding: 0 var(--gut); scrollbar-width: none;
  }
  .tiles::-webkit-scrollbar, .quotes::-webkit-scrollbar { display: none; }
  .tile, .quote { flex: 0 0 82%; scroll-snap-align: start; min-height: 0; }
  .tile { min-height: 210px; padding: 20px; }
  .quote { padding: 20px; }
  .quote blockquote { font-size: 15.5px; }

  .qa-q { padding: 16px 0; font-size: 15.5px; }
  .qa-a p { padding-right: 8px; font-size: 14.5px; }

  .cta-in { gap: 20px; }
  .cta h2 { font-size: 26px; max-width: none; }
  .cta-act, .cta-act .btn { width: 100%; }

  .page-hero { padding: 32px 0 30px; }
  .page-hero h1 { font-size: clamp(26px, 7.4vw, 32px); }
  .crumb { margin-bottom: 18px; font-size: 13px; }
  .meta-row { margin-top: 24px; padding-top: 18px; gap: 12px 28px; font-size: 14.5px; }

  .row { grid-template-columns: 40px 1fr; gap: 6px 12px; padding: 20px 0; }
  .row-n { font-size: 22px; }
  .row p { font-size: 14.5px; }
  .split { gap: 24px; }
  .split-art { display: none; }

  .case { padding: 20px; }
  .how { gap: 12px; }
  .checks li { font-size: 15px; padding: 13px 0 13px 34px; }
  .checks li::before { top: 15px; }
  .checks li::after { top: 21px; }

  .blog-grid { gap: 28px; }
  .post-img { margin-bottom: 12px; }
  .article-hero h1 { font-size: 27px; }
  .callout { padding: 22px; }
  .callout .btn { width: 100%; }

  .contact { gap: 28px; }
  .contact .btn { width: 100%; }
  .reach { padding: 22px; }
  .nf-code { font-size: 96px; }

  .footer { padding: 36px 0 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 28px; }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .footer-top > :last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 4px; font-size: 12.5px; }

  .drawer { padding: 14px var(--gut) 0; }
  .drawer .d-sub { padding: 10px 0; font-size: 15px; }
  .drawer .d-main { font-size: 19px; padding: 10px 0; }
}

@media (max-width: 380px) {
  .tile, .quote { flex-basis: 88%; }
  .footer-top { grid-template-columns: 1fr; }
}

.hero-in > *, .answer > *, .faq > *, .process > *, .contact > *, .split > *, .nf > * { min-width: 0; }

/* Newsletter signup (footer) */
.footer-news { display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; padding: 26px 0; margin-bottom: 4px; border-top: 1px solid var(--line-lt); }
.footer-news-copy { color: rgba(255, 255, 255, .66); font-size: 14.5px; max-width: 44ch; margin-top: 6px; }
.news-form { position: relative; display: flex; gap: 10px; flex-wrap: wrap; flex: 1; justify-content: flex-end; max-width: 520px; }
.news-form input[type=email] { flex: 1; min-width: 220px; padding: 13px 16px; border: 1.5px solid var(--line-lt); border-radius: var(--r); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; }
.news-form input[type=email]::placeholder { color: rgba(255, 255, 255, .5); }
.news-form input[type=email]:focus { outline: 2px solid var(--lime); outline-offset: 1px; }
.news-msg { flex-basis: 100%; font-size: 13px; min-height: 18px; margin: 0; color: rgba(255, 255, 255, .7); }
.news-msg.ok { color: #9be6a8; } .news-msg.err { color: #ffb4a8; }
@media (max-width: 700px) { .news-form { max-width: none; justify-content: stretch; } .news-form .btn { width: 100%; justify-content: center; } }

/* Home "At a glance" collage (client work in browser frames) */
.collage { margin: 0; }
.collage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 18px; background: var(--navy); border-radius: calc(var(--r) * 1.6); box-shadow: 0 24px 50px -24px rgba(21, 29, 43, .55); }
.collage-card { display: block; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); transition: transform .25s ease; }
.collage-card--2, .collage-card--4 { transform: translateY(22px); }
.collage-grid:hover .collage-card { transform: translateY(-4px); }
.collage-grid:hover .collage-card--2, .collage-grid:hover .collage-card--4 { transform: translateY(18px); }
.collage-bar { display: flex; gap: 5px; padding: 7px 10px; background: #E9EBEF; }
.collage-bar i { width: 7px; height: 7px; border-radius: 50%; background: #B9BFCB; }
.collage-card img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; object-position: top; }
.collage figcaption { margin-top: 40px; font-size: 14px; color: var(--mute); max-width: 52ch; }
.collage figcaption a { text-decoration: underline; text-decoration-color: var(--lime-deep); text-decoration-thickness: 3px; text-underline-offset: 3px; color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .collage-grid { padding: 12px; gap: 10px; } .collage figcaption { margin-top: 30px; } }
@media (prefers-reduced-motion: reduce) { .collage-card, .collage-grid:hover .collage-card { transition: none; transform: none; } .collage-card--2, .collage-card--4, .collage-grid:hover .collage-card--2, .collage-grid:hover .collage-card--4 { transform: translateY(22px); } }

/* Products mega menu + product pages */
.mega--products .mega-grid { grid-template-columns: repeat(2, 1fr) 1.05fr; }
.mega-prod { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; }
.mega-prod .mono, .prod-mono { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .02em; }
.mp-txt { display: block; min-width: 0; }
.mp-txt strong { display: block; font-family: var(--display); font-size: 16px; font-weight: 600; line-height: 1.25; }
.mp-txt > span { display: block; font-size: 13.5px; color: var(--mute); line-height: 1.4; margin-top: 2px; }
.mega-prod:hover .mp-txt strong { text-decoration: underline; text-decoration-color: var(--lime-deep); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.stage { font-style: normal; font-family: var(--body); font-weight: 600; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 20px; margin-left: 4px; vertical-align: 2px; background: #E7EAF0; color: var(--navy); }
.stage--live { background: #D5F2DC; color: #14602B; }
.stage--beta { background: #FFF1C2; color: #6C4B00; }
.stage--in-development { background: #DCE8FF; color: #1D4B9C; }
.nav-draft { font-style: normal; font-family: var(--body); font-weight: 700; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; background: #ff8a3d; color: #1c1100; padding: 1px 6px; border-radius: 10px; margin-left: 6px; vertical-align: 2px; }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.prod-card { display: flex; flex-direction: column; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--r) * 1.4); padding: 26px; transition: transform .2s, box-shadow .2s; }
.prod-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -22px rgba(21, 29, 43, .55); }
.prod-card h3 { font-size: 22px; line-height: 1.2; }
.prod-card p { color: var(--mute); font-size: 15px; }
.prod-card .card-go { margin-top: auto; }
.prod-hero { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.prod-hero .prod-mono { width: 64px; height: 64px; font-size: 22px; border-radius: 16px; }
.prod-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.prod-feat { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.prod-feat h3 { font-size: 18px; margin-bottom: 8px; }
.prod-feat p { color: var(--mute); font-size: 15px; }
.prod-note { border-left: 3px solid var(--navy); background: var(--paper); padding: 14px 18px; font-size: 14.5px; color: var(--mute); margin-top: 28px; }
.prod-draft-bar { background: #ff8a3d; color: #1c1100; text-align: center; font-weight: 600; font-size: 14px; padding: 8px 16px; }
@media (max-width: 1100px) { .mega--products .mega-grid { grid-template-columns: repeat(2, 1fr); } }

/* Touch-friendly targets, safe areas and small-screen polish */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img, video, iframe, svg { max-width: 100%; }
.wrap, main { min-width: 0; }
body { overflow-wrap: break-word; }
@media (hover: none), (max-width: 900px) {
  .f-list a { display: inline-block; padding: 7px 0; }
  .link-arrow, .card-go, .crumb { min-height: 44px; display: inline-flex; align-items: center; }
  .footer-bottom a { padding: 8px 0; display: inline-block; }
  .drawer .d-sub { padding: 14px 0; }
}
@media (max-width: 520px) {
  .collage-grid { padding: 10px; gap: 8px; }
  .collage-card--2, .collage-card--4 { transform: translateY(14px); }
  .collage figcaption { margin-top: 26px; }
  .prod-card { padding: 20px; }
  .prod-hero .prod-mono { width: 52px; height: 52px; font-size: 18px; }
  .prod-grid { grid-template-columns: minmax(0, 1fr); }
  .news-form input[type=email] { min-width: 0; width: 100%; flex-basis: 100%; }
}
@media (max-width: 380px) { .wa-widget { right: 10px; } .wa-pop { width: calc(100vw - 20px); } }
@supports (padding: max(0px)) { .wa-widget { right: max(24px, env(safe-area-inset-right)); } }
.collage figcaption a { display: inline-block; padding: 8px 0; }
@media (max-width: 860px) { .collage { max-width: 600px; } }
