/* ==========================================================================
   WunderWaffen — shared layout + components (both versions)
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--teal); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 4px;
}

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--teal); color: var(--ink); padding: 12px 18px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- section themes ---------- */
.sec { position: relative; padding-block: var(--section-y); }
.sec-dark  { background: var(--ink); color: var(--bone); --fg: var(--bone); --muted: var(--muted-dark); --line: var(--line-dark); }
.sec-light { background: var(--bone); color: var(--ink); --fg: var(--ink); --muted: var(--muted-light); --line: var(--line-light); }
.sec-teal  { background: var(--teal); color: var(--ink); --fg: var(--ink); --muted: rgba(14,30,36,.78); --line: rgba(14,30,36,.25); }
.sec-purple{ background: var(--purple); color: var(--bone); --fg: var(--bone); --muted: rgba(242,239,232,.82); --line: rgba(242,239,232,.25); }

/* ---------- type primitives ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: .88;
  letter-spacing: -.005em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted);
}
/* label mark: a miniature of the logo mark, so every label carries the brand symbol */
.eyebrow::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-right: 2px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='85.5 730.5 340 340'%3E%3Cpath fill='%23009c97' d='M 0,0 C 44.251,0.741 44.021,-68.911 -0.083,-68.241 -44.154,-68.783 -44.354,0.725 0,0' transform='matrix%281.3333333,0,0,-1.3333333,145.80533,937.46227%29'/%3E%3Cpath fill='%2354a049' d='M 0,0 C 44.183,0.511 43.843,-68.992 -0.394,-68.242 -44.285,-68.728 -44.47,0.928 0,0' transform='matrix%281.3333333,0,0,-1.3333333,365.51053,937.462%29'/%3E%3Cpath fill='%23965196' d='M 0,0 C -44.537,-0.923 -44.025,68.587 -0.167,68.126 43.808,68.787 44.389,-0.815 0,0' transform='matrix%281.3333333,0,0,-1.3333333,255.61533,836.50373%29'/%3E%3Cpath fill='%231A343D' d='M 0,0 C 2.192,-3.354 4.424,-6.769 6.944,-10.625 -16.678,-27.578 -30.35,-50.061 -32.823,-79.392 h -12.61 C -49.188,-55.141 -24.116,-11.246 0,0' transform='matrix%281.3333333,0,0,-1.3333333,181.27853,805.8244%29'/%3E%3Cpath fill='%231A343D' d='m 0,0 c -20.137,-15.106 -69.734,-15.199 -91.553,-0.156 1.79,3.569 3.612,7.203 5.721,11.409 26.5,-12.169 52.971,-12.409 79.924,-0.008 C -3.881,7.387 -1.926,3.665 0,0' transform='matrix%281.3333333,0,0,-1.3333333,316.56133,1040.0393%29'/%3E%3Cpath fill='%231A343D' d='M 0,0 C 2.317,3.657 4.505,7.111 6.678,10.541 30.552,-0.715 53.714,-38.776 52.676,-68.553 H 39.738 C 37.248,-39.715 23.913,-17.02 0,0' transform='matrix%281.3333333,0,0,-1.3333333,320.56613,820.18293%29'/%3E%3C/svg%3E");
}
.sec-dark .eyebrow::before, .sec-purple .eyebrow::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='85.5 730.5 340 340'%3E%3Cpath fill='%23009c97' d='M 0,0 C 44.251,0.741 44.021,-68.911 -0.083,-68.241 -44.154,-68.783 -44.354,0.725 0,0' transform='matrix%281.3333333,0,0,-1.3333333,145.80533,937.46227%29'/%3E%3Cpath fill='%2354a049' d='M 0,0 C 44.183,0.511 43.843,-68.992 -0.394,-68.242 -44.285,-68.728 -44.47,0.928 0,0' transform='matrix%281.3333333,0,0,-1.3333333,365.51053,937.462%29'/%3E%3Cpath fill='%23965196' d='M 0,0 C -44.537,-0.923 -44.025,68.587 -0.167,68.126 43.808,68.787 44.389,-0.815 0,0' transform='matrix%281.3333333,0,0,-1.3333333,255.61533,836.50373%29'/%3E%3Cpath fill='%23F2EFE8' d='M 0,0 C 2.192,-3.354 4.424,-6.769 6.944,-10.625 -16.678,-27.578 -30.35,-50.061 -32.823,-79.392 h -12.61 C -49.188,-55.141 -24.116,-11.246 0,0' transform='matrix%281.3333333,0,0,-1.3333333,181.27853,805.8244%29'/%3E%3Cpath fill='%23F2EFE8' d='m 0,0 c -20.137,-15.106 -69.734,-15.199 -91.553,-0.156 1.79,3.569 3.612,7.203 5.721,11.409 26.5,-12.169 52.971,-12.409 79.924,-0.008 C -3.881,7.387 -1.926,3.665 0,0' transform='matrix%281.3333333,0,0,-1.3333333,316.56133,1040.0393%29'/%3E%3Cpath fill='%23F2EFE8' d='M 0,0 C 2.317,3.657 4.505,7.111 6.678,10.541 30.552,-0.715 53.714,-38.776 52.676,-68.553 H 39.738 C 37.248,-39.715 23.913,-17.02 0,0' transform='matrix%281.3333333,0,0,-1.3333333,320.56613,820.18293%29'/%3E%3C/svg%3E");
}
.sec-teal .eyebrow::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='85.5 730.5 340 340'%3E%3Cpath fill='%230E1E24' d='M 0,0 C 44.251,0.741 44.021,-68.911 -0.083,-68.241 -44.154,-68.783 -44.354,0.725 0,0' transform='matrix%281.3333333,0,0,-1.3333333,145.80533,937.46227%29'/%3E%3Cpath fill='%230E1E24' d='M 0,0 C 44.183,0.511 43.843,-68.992 -0.394,-68.242 -44.285,-68.728 -44.47,0.928 0,0' transform='matrix%281.3333333,0,0,-1.3333333,365.51053,937.462%29'/%3E%3Cpath fill='%230E1E24' d='M 0,0 C -44.537,-0.923 -44.025,68.587 -0.167,68.126 43.808,68.787 44.389,-0.815 0,0' transform='matrix%281.3333333,0,0,-1.3333333,255.61533,836.50373%29'/%3E%3Cpath fill='%230E1E24' d='M 0,0 C 2.192,-3.354 4.424,-6.769 6.944,-10.625 -16.678,-27.578 -30.35,-50.061 -32.823,-79.392 h -12.61 C -49.188,-55.141 -24.116,-11.246 0,0' transform='matrix%281.3333333,0,0,-1.3333333,181.27853,805.8244%29'/%3E%3Cpath fill='%230E1E24' d='m 0,0 c -20.137,-15.106 -69.734,-15.199 -91.553,-0.156 1.79,3.569 3.612,7.203 5.721,11.409 26.5,-12.169 52.971,-12.409 79.924,-0.008 C -3.881,7.387 -1.926,3.665 0,0' transform='matrix%281.3333333,0,0,-1.3333333,316.56133,1040.0393%29'/%3E%3Cpath fill='%230E1E24' d='M 0,0 C 2.317,3.657 4.505,7.111 6.678,10.541 30.552,-0.715 53.714,-38.776 52.676,-68.553 H 39.738 C 37.248,-39.715 23.913,-17.02 0,0' transform='matrix%281.3333333,0,0,-1.3333333,320.56613,820.18293%29'/%3E%3C/svg%3E");
}
.lede { font-size: var(--fs-m); line-height: 1.55; color: var(--muted); max-width: 46ch; }
.accent-teal { color: var(--teal); }
.accent-green { color: var(--green); }
.accent-purple { color: var(--purple); }
.outline {
  color: transparent;
  -webkit-text-stroke: 2px currentColor;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--teal); --btn-fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; gap: .75em;
  min-height: 56px; padding: 0 1.6em;
  background: var(--btn-bg); color: var(--btn-fg);
  font: 600 1rem/1 var(--font-body); text-decoration: none; letter-spacing: .01em;
  border: var(--rule) solid var(--btn-bg);
  box-shadow: 6px 6px 0 0 var(--btn-shadow, var(--bone));
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .25s;
}
.btn:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 0 var(--btn-shadow, var(--bone)); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 0 var(--btn-shadow, var(--bone)); }
.btn .arrow { transition: transform .3s var(--ease-out); }
.btn:hover .arrow { transform: translateX(5px); }
.btn-dark { --btn-bg: var(--ink); --btn-fg: var(--bone); --btn-shadow: var(--bone); }
.sec-light .btn { --btn-shadow: var(--ink); }
.btn-link {
  display: inline-flex; align-items: center; gap: .5em; min-height: 56px;
  font-weight: 600; text-decoration: none; color: var(--fg);
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 14px) / 100% 2px no-repeat;
  transition: background-size .35s var(--ease-out);
}
.btn-link:hover { background-size: 0 2px; background-position: 100% calc(100% - 14px); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--bone);
  transition: background-color .4s, color .4s, border-color .4s, transform .5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(14, 30, 36, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line-dark); }
.nav[data-theme="light"].is-scrolled { background: rgba(242, 239, 232, .86); color: var(--ink); border-color: var(--line-light); }
.nav[data-theme="light"].is-scrolled .btn { --btn-shadow: var(--ink); }
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.nav-logo { display: block; width: 150px; color: inherit; }
.nav-logo svg { width: 100%; height: auto; }
.nav-links { display: flex; gap: 32px; margin-left: auto; font-size: var(--fs-s); font-weight: 500; }
.nav-links a { text-decoration: none; position: relative; padding-block: 8px; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { min-height: 44px; padding: 0 1.1em; font-size: .9rem; box-shadow: 4px 4px 0 0 var(--btn-shadow, var(--bone)); }
/* menu button: only shown once the links no longer fit on one line */
.nav-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
  border: 1px solid currentColor; border-radius: 999px; background: transparent; color: inherit;
  font: 600 .85rem/1 var(--font-body); cursor: pointer;
}
.nav-toggle i, .nav-toggle i::before, .nav-toggle i::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s; }
.nav-toggle i { position: relative; }
.nav-toggle i::before, .nav-toggle i::after { content: ""; position: absolute; left: 0; }
.nav-toggle i::before { top: -5px; }
.nav-toggle i::after { top: 5px; }
.nav.is-open .nav-toggle i { background: transparent; }
.nav.is-open .nav-toggle i::before { transform: translateY(5px) rotate(45deg); }
.nav.is-open .nav-toggle i::after { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 1099px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav .btn { margin-left: auto; }
  .nav.is-open { background: var(--ink); color: var(--bone); border-color: var(--line-dark); }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    padding: 8px var(--gutter) 24px; background: var(--ink); color: var(--bone);
    border-bottom: 1px solid var(--line-dark); max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav.is-open .nav-links a { padding: 16px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line-dark); }
  .nav.is-open .nav-links a::after { display: none; }
}
@media (max-width: 560px) {
  .nav-logo { width: 116px; }
  .nav .btn { padding: 0 .9em; }
  .nav .btn .arrow { display: none; }
  .nav-inner { gap: 10px; }
}
.nav-links a[aria-current="page"] { color: var(--teal); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  padding-block: 120px 0;
  overflow: hidden;
  isolation: isolate;
  display: flex; flex-direction: column;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero-bg svg { width: 100%; height: 100%; }
.hero-bg .grid-line { stroke: var(--line-dark); stroke-width: 1; }
.hero-bg .net { stroke: rgba(0, 156, 151, .35); stroke-width: 1.2; fill: none; }
.hero-bg .node { fill: var(--teal); }
.hero-bg .node.g { fill: var(--green); }
.hero-bg .node.p { fill: var(--purple); }
.hero-bg .node { transform-box: fill-box; transform-origin: center; animation: nodePulse 3.2s var(--ease-in-out) infinite; }
.hero-bg .node:nth-of-type(3n) { animation-delay: -1.1s; }
.hero-bg .node:nth-of-type(3n+1) { animation-delay: -2.2s; }
@keyframes nodePulse { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.8); opacity: .35; } }

.hero-orb { position: absolute; border-radius: 50%; z-index: -1; pointer-events: none; }
.orb-teal { width: min(64vw, 820px); aspect-ratio: 1; right: -8vw; bottom: -22vw; background: var(--teal); }
.orb-purple { width: clamp(70px, 8vw, 130px); aspect-ratio: 1; left: 50vw; bottom: 9vh; background: var(--purple); }
.orb-green { width: clamp(40px, 5vw, 84px); aspect-ratio: 1; right: 6vw; top: 18vh; background: var(--green); }
/* no circles over the portrait: the purple and green orbs and the right-hand network nodes sat on the photo
   (only the large teal disc stays, behind him). The markup is kept so this can be undone here. */
.orb-purple, .orb-green { display: none; }
.hero-bg .node[cx="840"], .hero-bg .node[cx="1080"], .hero-bg .node[cx="1200"], .hero-bg .node[cx="1320"] { display: none; }

.hero-grid { position: relative; flex: 1; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.hero-copy { grid-column: 1 / span 9; position: relative; z-index: 2; padding-bottom: 40px; }
/* background layer: same stacking level as the orbs, so the portrait (z 1) and headline (z 2) sit on top */
.hero-dots { position: absolute; z-index: -1; pointer-events: none;
  top: 18%; bottom: 22%; left: max(16px, calc((100% - 1280px) / 2 + 40px)); width: min(30%, 420px); }
.hero-dots i { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); border-radius: 50%;
  opacity: .85; animation: dot-drift var(--t) ease-in-out infinite alternate; }
.hero-dots .d-teal { background: var(--teal); box-shadow: 0 0 12px rgba(0,156,151,.55); }
.hero-dots .d-purple { background: var(--purple); box-shadow: 0 0 12px rgba(150,81,150,.55); }
.hero-dots .d-green { background: var(--green); box-shadow: 0 0 12px rgba(84,160,73,.55); }
.hero-dots i:nth-child(2n) { animation-direction: alternate-reverse; }
@keyframes dot-drift { from { transform: translate(0, 0); } to { transform: translate(10px, -14px); } }
.hero-title {
  font-size: var(--fs-hero);
  margin-top: 20px;
  line-height: .86;
}
.hero-title .line { display: block; overflow: hidden; padding-block: .02em; margin-block: -.02em; }
.hero-title .line-inner { display: block; }
.hero-title .accent { color: var(--teal); }
.hero-title .small { font-size: .62em; }
.hero-sub { margin-top: 26px; max-width: 40ch; font-size: var(--fs-m); color: var(--muted-dark); }
.hero-sub strong { color: var(--bone); font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 32px; }

/* cut-out photo portrait (outline + teal rim glow baked in), rising from the ticker, facing the headline */
.hero-figure {
  position: absolute; z-index: 1;
  right: calc(var(--gutter) * -1 + 1vw); bottom: 0;
  height: min(calc(100% - 8px), 780px); aspect-ratio: 1200 / 1150;
  pointer-events: none;
}
.portrait { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 100% 100%; }
@keyframes fadeIn { to { opacity: 1; } }

/* hand-drawn thinking doodles between headline and face */
.hero-doodles {
  position: absolute; z-index: 2; pointer-events: none;
  left: 42%; top: 38%; width: min(16vw, 240px);
}
.hero-doodles svg { width: 100%; height: auto; overflow: visible; }
.doodle { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
.doodle-fill { opacity: 0; transform-box: fill-box; transform-origin: center; animation: pop .6s cubic-bezier(.34, 1.56, .64, 1) forwards; animation-delay: var(--d, 0s); }
.doodle-text { font: 600 34px/1 "Caveat", "Segoe Print", cursive; clip-path: inset(0 100% 0 0); animation: write .9s var(--ease-out) forwards; animation-delay: var(--d, 0s); }
.doodle-text.small { font-size: 25px; }
.doodle-gear { transform-box: fill-box; transform-origin: center; animation: spin 12s linear infinite; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.2); } to { opacity: 1; transform: scale(1); } }
@keyframes write { to { clip-path: inset(0 0 0 0); } }
@media (max-width: 900px) { .hero-doodles { display: none; } }

.spin-badge {
  position: absolute; z-index: 3; right: var(--gutter); bottom: 48px;
  width: clamp(104px, 11vw, 150px); aspect-ratio: 1; display: grid; place-items: center;
  color: var(--bone); text-decoration: none; border-radius: 50%;
  background: var(--ink); border: var(--rule) solid var(--bone);
}
.spin-badge svg.ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 18s linear infinite; }
.spin-badge text { font: 700 10.5px/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; fill: currentColor; }
.spin-badge .star { width: 34%; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-ticker {
  position: relative; z-index: 3;
  border-block: var(--rule) solid var(--bone);
  background: var(--bone); color: var(--ink);
  overflow: hidden; white-space: nowrap;
}
.ticker-track { display: inline-flex; animation: ticker 38s linear infinite; }
.ticker-track span {
  display: inline-flex; align-items: center; gap: 28px; padding: 16px 28px 16px 0;
  font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.9rem); text-transform: uppercase; letter-spacing: .01em;
}
.ticker-track span::after { content: "✦"; color: var(--teal); font-size: .8em; }
.ticker-track span:nth-child(3n+2)::after { color: var(--purple); }
.ticker-track span:nth-child(3n)::after { color: var(--green); }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .hero { padding-top: 116px; }
  .hero-copy { grid-column: 1 / -1; padding-bottom: calc(min(100vw, 520px) * .96 + 8px); }
  .hero-dots { top: 12%; width: auto; right: 16px; bottom: calc(min(100vw, 520px) * .96 + 60px); }
  .hero-figure { height: auto; width: min(100vw, 520px); right: calc(var(--gutter) * -1); }
  .orb-teal { width: 110vw; right: -40vw; bottom: -30vw; }
  .orb-purple { right: auto; left: 8vw; top: auto; bottom: 34vw; }
  .spin-badge { bottom: 24px; right: auto; left: var(--gutter); }
}

/* ==========================================================================
   AWARD
   ========================================================================== */
.award-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 24px; align-items: center; }
.award-badge {
  grid-column: 1 / span 4; position: relative;
  background: #fff; border: var(--rule) solid var(--ink); box-shadow: 12px 12px 0 var(--ink);
  padding: clamp(16px, 2.4vw, 32px);
}
.award-badge img { width: 100%; height: auto; }
.award-badge .tag {
  position: absolute; top: -16px; left: -16px;
  background: var(--purple); color: var(--bone); padding: 6px 12px;
  font: 700 var(--fs-xs)/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
}
.award-copy { grid-column: 6 / -1; }
.award-title { font-size: var(--fs-xl); margin-top: 20px; }
.award-year {
  display: block; font-size: var(--fs-mega); line-height: .8; margin-top: 12px; margin-left: -.04em; /* optical: cancels the 2's side bearing so it sits flush with the title */
  color: transparent; -webkit-text-stroke: 2px var(--ink);
}
.award-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 32px; margin-top: 32px; padding-top: 24px; border-top: var(--rule) solid var(--ink); font-weight: 500; }
.award-meta .stars { color: var(--teal); letter-spacing: .1em; font-size: 1.1rem; }
@media (max-width: 860px) {
  .award-badge { grid-column: 2 / span 10; max-width: 360px; justify-self: center; width: 100%; }
  .award-copy { grid-column: 1 / -1; }
}

/* ==========================================================================
   LOGO MARQUEE
   ========================================================================== */
/* the logos follow the dark video section, so they need their own top space */
.logos { padding-block: clamp(40px, 4.5vw, 64px); }
.logos-label { margin-bottom: 28px; }
.marquee {
  position: relative; overflow: hidden; border-block: var(--rule) solid var(--ink);
  -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; animation: ticker 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li {
  flex: none; display: grid; place-items: center;
  width: clamp(150px, 16vw, 220px); height: clamp(90px, 9vw, 120px); padding: 20px 28px;
  border-right: 1px solid var(--line-light);
}
.marquee-track img {
  max-height: 56px; width: auto; max-width: 100%; object-fit: contain;
  filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: .78;
  transition: filter .35s, opacity .35s;
}
.marquee-track li:hover img { filter: none; opacity: 1; }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; margin-bottom: clamp(48px, 6vw, 96px); }
.stats-head h2 { grid-column: 1 / span 8; font-size: var(--fs-xxl); }
.stats-head p { grid-column: 9 / -1; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: var(--rule) solid var(--bone); }
.stat {
  position: relative; padding: 32px 24px 40px; border-right: 1px solid var(--line-dark);
  display: flex; flex-direction: column; gap: 16px; min-height: 340px;
}
.stat:last-child { border-right: 0; }
.stat-bar {
  position: absolute; top: -2px; left: 0; height: 6px; width: 100%;
  background: var(--c, var(--teal)); transform-origin: left;
}
.stat-num {
  font-family: var(--font-display); font-size: clamp(4rem, 7.2vw, 8rem); line-height: .85;
  color: var(--c, var(--teal)); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.stat-label { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(1.25rem, 1.8vw, 1.6rem); line-height: 1; }
.stat-desc { color: var(--muted-dark); font-size: var(--fs-s); margin-top: auto; max-width: 30ch; }
@media (max-width: 1000px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .stats-head h2, .stats-head p { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line-dark); min-height: 0; }
}

/* ==========================================================================
   PROBLEM
   ========================================================================== */
.problem-list { display: grid; gap: 4px; margin-top: 32px; }
.problem-list li {
  position: relative; width: fit-content;
  font-family: var(--font-display); text-transform: uppercase; font-size: var(--fs-xl); line-height: 1;
  color: rgba(14, 30, 36, .38);
}
.problem-list li { word-spacing: .14em; }
.problem-list .pw { position: relative; display: inline-block; word-spacing: normal; }
/* one strike per word, stopping just past each word so the gaps stay visible */
.problem-list .strike {
  position: absolute; left: -.04em; right: -.04em; top: 50%; height: .14em; margin-top: -.07em;
  background: var(--purple); transform-origin: left;
}
.problem-list li:nth-child(2) .strike { background: var(--green); }
.problem-list li:nth-child(3) .strike { background: var(--teal); }
.problem-answer { margin-top: clamp(48px, 7vw, 100px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; }
.problem-answer h2 { grid-column: 1 / span 9; font-size: var(--fs-xxl); }
.problem-answer .cta-col { grid-column: 10 / -1; display: grid; gap: 24px; }
@media (max-width: 860px) { .problem-answer h2, .problem-answer .cta-col { grid-column: 1 / -1; } }

/* ==========================================================================
   BENEFITS
   ========================================================================== */
.benefits { background: var(--bone-2); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head h2 { font-size: var(--fs-xxl); }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: var(--rule) solid var(--ink); background: var(--bone); }
.benefit {
  position: relative; padding: 28px 28px 36px; border-right: var(--rule) solid var(--ink);
  display: flex; flex-direction: column; gap: 18px; min-height: 420px;
  transition: background-color .35s, color .35s;
}
.benefit:last-child { border-right: 0; }
.benefit-num { font: 700 var(--fs-s)/1 var(--font-body); letter-spacing: .14em; }
.benefit-icon { width: 64px; height: 64px; margin-top: 8px; }
.benefit h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.9rem, 2.6vw, 2.6rem); line-height: .95; margin-top: auto; }
.benefit p { color: var(--muted-light); font-size: var(--fs-s); transition: color .35s; }
.benefit:hover { background: var(--c); color: var(--bone); }
.benefit:hover p { color: rgba(242,239,232,.9); }
.benefit[data-c="teal"] { --c: var(--teal); }
.benefit[data-c="green"] { --c: var(--green); }
.benefit[data-c="purple"] { --c: var(--purple); }
.benefit[data-c="navy"] { --c: var(--navy); }
.benefit[data-c="teal"]:hover, .benefit[data-c="green"]:hover { color: var(--ink); }
.benefit[data-c="teal"]:hover p, .benefit[data-c="green"]:hover p { color: rgba(14,30,36,.85); }
@media (max-width: 1000px) {
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .benefit:nth-child(2) { border-right: 0; }
  .benefit:nth-child(-n+2) { border-bottom: var(--rule) solid var(--ink); }
}
@media (max-width: 560px) {
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit { border-right: 0; border-bottom: var(--rule) solid var(--ink); min-height: 0; }
  .benefit:last-child { border-bottom: 0; }
  .benefit h3 { margin-top: 12px; }
}

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process { overflow: hidden; }
.process-head { margin-bottom: clamp(40px, 5vw, 64px); display: grid; gap: 16px; }
.process-head h2 { font-size: var(--fs-xxl); }
.process-track { display: grid; grid-template-columns: repeat(4, 1fr); border-top: var(--rule) solid var(--bone); }
.step {
  position: relative; padding: 28px 28px 40px; border-right: 1px solid var(--line-dark);
  display: flex; flex-direction: column; gap: 18px;
}
.step:last-child { border-right: 0; }
.step[data-c="teal"] { --c: var(--teal); }
.step[data-c="green"] { --c: var(--green); }
.step[data-c="purple"] { --c: #C27FC2; }
.step[data-c="bone"] { --c: var(--bone); }

/* the rail: each circle joined to the next by a plain line that runs edge to edge, no arrowheads.
   The line crosses the card's own padding, the divider and the next card's padding to touch the next circle. */
.step { --pad: 28px; --edge: 1px; }
.step-rail { display: flex; align-items: center; gap: 0; height: 56px; margin-right: calc(-2 * var(--pad) - var(--edge) - 2px); flex: none; }
.step-node {
  flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--c); color: var(--ink); border: 2px solid var(--c);
  font: 400 1.6rem/1 var(--font-display); padding-top: 2px;
  transition: background-color .45s var(--ease-out), color .45s var(--ease-out);
}
.step-link { position: relative; z-index: 0; flex: 1; height: 2px; background: var(--line-dark); }
.step-fill { position: absolute; inset: 0; background: var(--c); transform-origin: left; }
.step-node { position: relative; z-index: 1; }
/* once a script drives the rail, circles start hollow and light up as the line reaches them */
.rail-live .step:not(.is-lit) .step-node { background: var(--ink); color: var(--c); }
.rail-live .step-fill { transform: scaleX(0); }
/* the last step never ends: one unbroken line runs from circle 4 to an ∞ nestled on the border with the
   next section. Desktop: across to the card's right edge, then straight down. Stacked: straight down the rail. */
.step:last-child .step-rail { margin-right: calc(-1 * var(--pad)); }
.step-cont { flex: 1; display: flex; align-items: center; min-width: 0; }
.step-cont .step-link { flex: 1; }
.step-drop { position: absolute; right: -1px; top: calc(var(--pad) + 27px); bottom: 0; width: 2px; background: var(--line-dark); }
.step-drop .step-fill, .seam-fill { transform-origin: top; }
.seam-fuse { position: absolute; left: 0; right: 0; bottom: 0; height: 0; pointer-events: none; }
.seam-line { position: absolute; bottom: 0; right: calc(var(--gutter) - 1px); width: 2px; height: var(--fuse-h, 96px); background: var(--line-dark); }
.seam-fill { position: absolute; inset: 0; background: var(--bone); }
.rail-live-seam .seam-fill, .rail-live-seam .step-drop .step-fill { transform: scaleY(0); }
/* ...and on into "What we automate.": a connector (drawn by common.js) runs to the top of the heading */
.seam-path { position: absolute; top: 0; left: 0; z-index: 1; overflow: visible; pointer-events: none; }
.seam-path path { fill: none; stroke-width: 2; }
.seam-path .sp-bg { stroke: var(--line-light); }
.seam-path .sp-fill { stroke: var(--teal); stroke-dasharray: 1; stroke-dashoffset: 1; }
/* when the light arrives, the heading's words light up one after another, then glow */
.usecases h2 .beam-w { transition: color .4s var(--ease-out); }
.usecases h2.is-beaming .wd { overflow: visible; }
.usecases h2.is-beaming .beam-w { color: var(--teal); animation: wordBeam 1.4s var(--ease-out) both; animation-delay: calc(var(--i) * .18s); }
@keyframes wordBeam {
  0% { color: var(--ink); text-shadow: none; }
  30% { color: #7FE3DF; text-shadow: 0 0 12px rgba(127, 227, 223, .9), 0 0 36px rgba(0, 156, 151, .8), 0 0 70px rgba(0, 156, 151, .5); }
  100% { color: var(--teal); text-shadow: 0 0 18px rgba(0, 156, 151, .35); }
}
/* immersive cards carry a full border, so the card edge itself is the downward line */
@media (min-width: 1000px) { .gsap-on .step-drop { display: none; } }
.step-kicker { font: 600 var(--fs-xs)/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); }
.step h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.4rem, 3.6vw, 3.6rem); line-height: .9; color: var(--c); margin-top: 20px; }
.step p { color: var(--muted-dark); max-width: 34ch; }
.step-glyph { display: none; } /* the numbered rail carries the sequence now */

/* tablets + phones: the rail runs down the left side */
@media (max-width: 999px) {
  .process-track { grid-template-columns: 1fr; border-top: 0; }
  .step { min-height: 0; border-right: 0; padding: 0 0 48px 80px; gap: 12px; }
  /* the line runs from the bottom of each circle to the very bottom of the step, where the next circle starts */
  .step-rail { position: absolute; left: 0; top: 0; bottom: 0; width: 56px; height: auto; margin: 0; flex-direction: column; gap: 0; }
  .step-link { flex: 1; width: 2px; height: auto; margin: 0 0 -2px; }
  .step-fill { transform-origin: top; }
  .rail-live .step-fill { transform: scaleY(0); }
  .step:last-child .step-rail { margin: 0; }
  .step-cont { flex: 1; flex-direction: column; }
  .step-cont .step-link { flex: 1; width: 2px; height: auto; margin: 0; }
  .step-drop { display: none; }
  .seam-line { right: auto; left: calc(var(--gutter) + 27px); }
  .seam-inf { right: auto; left: calc(var(--gutter) + 28px); translate: -50% -50%; }
  .step-kicker { padding-top: 18px; }
  .step-glyph { display: none; }
  .step h3 { margin-top: 0; }
}

/* ==========================================================================
   USE CASES
   ========================================================================== */
.usecases { overflow: hidden; }
.uc-rows { display: grid; gap: 6px; margin-top: clamp(32px, 4vw, 56px); }
.uc-row { display: flex; flex-wrap: wrap; gap: 6px 0; }
.uc-row li {
  font-family: var(--font-display); text-transform: uppercase; line-height: 1.05;
  font-size: clamp(1.6rem, 3.6vw, 3.4rem);
  transition: color .25s;
}
/* the slash is glued to the last word with a no-break space, so it can never drift away when a label wraps */
.uc-row li::after { content: "\00a0/"; margin-right: .45em; color: var(--teal); }
.uc-row:nth-child(2) li::after { color: var(--purple); }
.uc-row:nth-child(3) li::after { color: var(--green); }
.uc-row li:hover { color: var(--teal); }
.uc-foot { margin-top: clamp(40px, 5vw, 72px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; border-top: var(--rule) solid var(--ink); padding-top: 24px; }

/* ==========================================================================
   APPS / INTEGRATION DIAGRAM
   ========================================================================== */
.apps-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px 24px; align-items: center; }
.apps-copy { grid-column: 1 / span 5; }
.apps-copy h2 { font-size: var(--fs-xl); margin-top: 16px; }
.apps-copy .big { display: block; font-size: 1.7em; color: var(--teal); white-space: nowrap; }
.apps-copy p { margin-top: 24px; color: var(--muted-dark); max-width: 42ch; }
.apps-copy .pull { color: var(--bone); font-weight: 600; font-size: var(--fs-m); }
.apps-diagram { grid-column: 7 / -1; }
.apps-diagram svg { width: 100%; height: auto; overflow: visible; }
.dg-ring { fill: none; stroke: var(--line-dark); stroke-width: 1.5; stroke-dasharray: 4 10; }
.dg-edge { fill: none; stroke: var(--teal); stroke-width: 2; opacity: .75; }
.dg-node rect { fill: var(--ink-2); stroke: var(--bone); stroke-width: 2; }
.dg-node text { fill: var(--bone); font: 600 15px/1 var(--font-body); text-anchor: middle; dominant-baseline: central; }
.dg-hub-bg { fill: var(--ink); stroke: var(--teal); stroke-width: 3; }
.dg-packet { fill: var(--bone); }
/* radar: one 3.2s cycle drives everything, so ring, beams and blips stay in step.
   The ring leaves the hub at 0%, reaches the apps at 70%; the beams ride along every branch; the apps blip on arrival. */
.dg-hub-pulse { fill: none; stroke: #7FE3DF; stroke-width: 2.5; transform-origin: 300px 300px; animation: radarPing 3.2s linear infinite; }
@keyframes radarPing { 0% { transform: scale(1); opacity: .95; } 70% { transform: scale(3.04); opacity: .25; } 100% { transform: scale(3.04); opacity: 0; } }
.dg-beam { fill: none; stroke: #BFF5F2; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 12 300; stroke-dashoffset: -102; animation: beamRun 3.2s linear infinite; }
@keyframes beamRun { 0% { stroke-dashoffset: -30; opacity: 1; } 70% { stroke-dashoffset: -90; opacity: 1; } 76%, 100% { stroke-dashoffset: -102; opacity: 0; } }
.dg-node rect { animation: blip 3.2s linear infinite; }
.dg-node text { animation: blipText 3.2s linear infinite; }
@keyframes blip { 0%, 66%, 100% { fill: var(--ink-2); stroke: var(--bone); } 72% { fill: var(--teal); stroke: #BFF5F2; } 86% { fill: var(--ink-2); stroke: var(--teal); } }
@keyframes blipText { 0%, 66%, 100% { fill: var(--bone); } 72% { fill: var(--ink); } 86% { fill: var(--bone); } }
.dg-radar circle, .dg-radar path { fill: none; stroke: rgba(0, 156, 151, .2); stroke-width: 1; }
.hero-bg .net { stroke-dasharray: 8 10; animation: flow 5s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -180; } }
@media (max-width: 900px) { .apps-copy, .apps-diagram { grid-column: 1 / -1; } .apps-diagram { max-width: 560px; justify-self: center; width: 100%; } }

/* ==========================================================================
   TESTIMONIAL
   ========================================================================== */
.quote .sec-head h2 { font-size: var(--fs-xxl); }
.t-accent { color: var(--ink); }
.t-features { display: grid; gap: clamp(56px, 7vw, 96px); }
.t-feature { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.t-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.t-flip .t-photo { order: 2; }
.t-photo {
  position: relative; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden;
  background: var(--ink); border: var(--rule) solid var(--ink); box-shadow: 14px 14px 0 var(--ink);
}
.t-flip .t-photo { box-shadow: -14px 14px 0 var(--ink); }
.t-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: filter .6s var(--ease-out), transform .9s var(--ease-out); }
.t-photo::after { content: ""; position: absolute; inset: 0; background: var(--teal); mix-blend-mode: multiply; opacity: .4; pointer-events: none; transition: opacity .6s var(--ease-out); }
/* Try's source photo is a small full-length shot: enlarge it inside the frame to centre on him */
.t-photo img.t-crop { position: absolute; width: 190%; height: auto; max-width: none; left: -30%; top: -46%; }
.t-feature:hover .t-photo img { filter: none; transform: scale(1.03); }
.t-feature:hover .t-photo::after { opacity: 0; }
/* photos bloom into full colour as you scroll down to them (common.js) */
.t-photo.is-colour img { filter: none; transition-duration: 1.2s; }
.t-photo.is-colour::after { opacity: 0; transition-duration: 1.2s; }
.t-text { display: grid; gap: 20px; min-width: 0; }
.t-stars { letter-spacing: .15em; color: var(--bone); font-size: 1rem; }
.t-pull { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2rem, 4vw, 3.75rem); line-height: .98; text-wrap: balance; }
.t-body p { color: var(--muted); max-width: 62ch; }
.t-by { display: flex; align-items: center; gap: 16px; padding-top: 20px; border-top: var(--rule) solid var(--bone); }
.t-logo { width: 56px; height: 56px; flex: none; object-fit: contain; background: var(--bone); border-radius: 50%; padding: 8px; }
.t-by strong { display: block; font-size: 1.05rem; }
.t-by span span { color: var(--muted); font-size: var(--fs-s); }
.t-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: clamp(64px, 8vw, 112px); }
.t-more figure { height: 100%; display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 2.4vw, 32px); border: var(--rule) solid var(--bone); }
.t-more blockquote p { font-size: var(--fs-m); line-height: 1.5; }
.t-more figcaption { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.t-more figcaption strong { display: block; }
.t-more figcaption span { color: var(--muted); font-size: var(--fs-s); }
@media (max-width: 860px) {
  .t-feature, .t-flip { grid-template-columns: 1fr; }
  .t-flip .t-photo { order: 0; }
  .t-photo { width: min(100%, 360px); aspect-ratio: 1; }
  .t-photo img.t-crop { top: -62%; }
  .t-flip .t-photo { box-shadow: 14px 14px 0 var(--ink); }
  .t-more { grid-template-columns: 1fr; }
}

/* ==========================================================================
   ASK GOOGLE'S AI — video proof
   ========================================================================== */
.proof-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px 24px; align-items: center; }
.proof-copy { grid-column: 1 / span 5; display: grid; gap: 24px; justify-items: start; }
.proof-copy h2 { font-size: var(--fs-xl); }
.proof-media { grid-column: 7 / -1; display: grid; gap: 20px; min-width: 0; }
.search-bar {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 12px 0 22px; min-width: 0;
  background: var(--bone); color: var(--ink); border-radius: 999px; box-shadow: 8px 8px 0 var(--teal);
  font-weight: 500; font-size: clamp(.9rem, 1.25vw, 1.08rem);
}
.search-bar svg { width: 22px; flex: none; }
.search-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.18em; background: var(--teal); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.search-ai { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--bone); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .06em; }
.video-facade {
  position: relative; display: block; aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; isolation: isolate;
  background: var(--navy); border: var(--rule) solid var(--bone); color: var(--bone); text-decoration: none;
}
.vf-word {
  position: absolute; left: 6%; top: 8%; z-index: -1;
  font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 4.2rem); line-height: .86;
  color: rgba(242, 239, 232, .13);
}
.vf-word em { font-style: normal; color: rgba(0, 156, 151, .55); }
.vf-dots { position: absolute; right: 6%; top: 9%; display: flex; gap: 8px; }
.vf-dots i { width: 16px; height: 16px; border-radius: 50%; background: var(--purple); }
.vf-dots i:nth-child(2) { background: var(--teal); }
.vf-dots i:nth-child(3) { background: var(--green); }
.vf-play {
  position: absolute; left: 50%; top: 46%; translate: -50% -50%;
  width: clamp(64px, 7vw, 96px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal); color: var(--ink);
  transition: transform .3s var(--ease-out); animation: ring 2.2s var(--ease-out) infinite;
}
/* the triangle's centroid already sits at the centre of its 24-unit box, so no nudge is needed */
.vf-play svg { display: block; width: 42%; height: auto; }
.video-facade:hover .vf-play, .video-facade:focus-visible .vf-play { transform: scale(1.1); }
@keyframes ring { from { box-shadow: 0 0 0 0 rgba(0, 156, 151, .55); } to { box-shadow: 0 0 0 30px rgba(0, 156, 151, 0); } }
.vf-caption { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 18px 22px; background: linear-gradient(transparent, rgba(14, 30, 36, .94)); }
.vf-title { font-weight: 600; font-size: clamp(.95rem, 1.3vw, 1.15rem); }
.vf-meta { font-size: var(--fs-xs); color: var(--muted-dark); }
.video-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 900px) {
  .proof-copy, .proof-media { grid-column: 1 / -1; }
  .search-ai { display: none; }
}

/* ==========================================================================
   CTA + FOOTER
   ========================================================================== */
.cta { text-align: left; overflow: hidden; }
.cta-title { font-size: clamp(3.5rem, 12vw, 12.5rem); }
.cta-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px 24px; margin-top: 48px; align-items: end; }
.cta-row p { grid-column: 1 / span 6; font-size: var(--fs-m); max-width: 40ch; }
.cta-row .btn-wrap { grid-column: 8 / -1; justify-self: end; }
.cta .btn { min-height: 72px; font-size: 1.15rem; padding: 0 2em; }
.cta-circles { position: absolute; right: var(--gutter); top: var(--gutter); display: flex; gap: 10px; }
.cta-circles i { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); }
.cta-circles i:nth-child(2) { background: var(--green); }
.cta-circles i:nth-child(3) { background: var(--purple); }
@media (max-width: 760px) { .cta-row p, .cta-row .btn-wrap { grid-column: 1 / -1; justify-self: start; } }

.footer { padding-block: 48px 28px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line-dark); }
.footer-logo { width: 190px; color: var(--bone); }
.footer-tag { margin-top: 16px; color: var(--muted-dark); max-width: 34ch; font-size: var(--fs-s); }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px 40px; font-weight: 500; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--teal); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; color: var(--muted-dark); font-size: var(--fs-xs); }

/* ==========================================================================
   CUSTOM SOFTWARE
   ========================================================================== */
.custom-head { display: grid; gap: 20px; max-width: 900px; margin-bottom: clamp(40px, 5vw, 72px); }
.custom-head h2 { font-size: var(--fs-xxl); }
.custom-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.custom-benefits { display: grid; gap: 0; border-top: var(--rule) solid var(--ink); }
.custom-benefits li { display: grid; gap: 6px; padding: 22px 0 22px 46px; border-bottom: 1px solid var(--line-light); position: relative; }
.custom-benefits li::before {
  content: ""; position: absolute; left: 0; top: 23px; width: 24px; height: 24px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='85.5 730.5 340 340'%3E%3Cpath fill='%23009c97' d='M 0,0 C 44.251,0.741 44.021,-68.911 -0.083,-68.241 -44.154,-68.783 -44.354,0.725 0,0' transform='matrix%281.3333333,0,0,-1.3333333,145.80533,937.46227%29'/%3E%3Cpath fill='%2354a049' d='M 0,0 C 44.183,0.511 43.843,-68.992 -0.394,-68.242 -44.285,-68.728 -44.47,0.928 0,0' transform='matrix%281.3333333,0,0,-1.3333333,365.51053,937.462%29'/%3E%3Cpath fill='%23965196' d='M 0,0 C -44.537,-0.923 -44.025,68.587 -0.167,68.126 43.808,68.787 44.389,-0.815 0,0' transform='matrix%281.3333333,0,0,-1.3333333,255.61533,836.50373%29'/%3E%3Cpath fill='%231A343D' d='M 0,0 C 2.192,-3.354 4.424,-6.769 6.944,-10.625 -16.678,-27.578 -30.35,-50.061 -32.823,-79.392 h -12.61 C -49.188,-55.141 -24.116,-11.246 0,0' transform='matrix%281.3333333,0,0,-1.3333333,181.27853,805.8244%29'/%3E%3Cpath fill='%231A343D' d='m 0,0 c -20.137,-15.106 -69.734,-15.199 -91.553,-0.156 1.79,3.569 3.612,7.203 5.721,11.409 26.5,-12.169 52.971,-12.409 79.924,-0.008 C -3.881,7.387 -1.926,3.665 0,0' transform='matrix%281.3333333,0,0,-1.3333333,316.56133,1040.0393%29'/%3E%3Cpath fill='%231A343D' d='M 0,0 C 2.317,3.657 4.505,7.111 6.678,10.541 30.552,-0.715 53.714,-38.776 52.676,-68.553 H 39.738 C 37.248,-39.715 23.913,-17.02 0,0' transform='matrix%281.3333333,0,0,-1.3333333,320.56613,820.18293%29'/%3E%3C/svg%3E");
}
.custom-benefits h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1; }
.custom-benefits p { color: var(--muted-light); max-width: 44ch; }
.custom-case { display: grid; gap: 20px; }
.custom-shot { position: relative; border: var(--rule) solid var(--ink); box-shadow: 14px 14px 0 var(--teal); background: #fff; overflow: hidden; }
.custom-shot img { width: 100%; height: auto; }
.custom-case figcaption { display: grid; gap: 6px; justify-items: start; padding-top: 6px; }
.custom-tag { font: 600 var(--fs-xs)/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--purple); }
.custom-case strong { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1; }
.custom-case figcaption > span:not(.custom-tag) { color: var(--muted-light); max-width: 52ch; }
.custom-cta { margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 900px) { .custom-grid { grid-template-columns: 1fr; } .custom-case { order: -1; } }

/* footer legal row */
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-legal a { color: var(--muted-dark); text-decoration: none; }
.footer-legal a:hover { color: var(--teal); text-decoration: underline; }

/* ==========================================================================
   REDUCED MOTION — global kill-switch for decorative loops
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .em-packets { display: none; }
}
