/* Design Mavens | v5 (two typefaces: Geist for everything, Instrument Serif for accents and the certificate)
   Layout idea: cinematic one-pager that opens in light mode, with an optional dark mode. Centered sentence-case
   headlines, red glow light sources, rounded tiles, a floating pill nav and a chat assistant. */
:root {
  --bg: #F3F3F4;
  --bg-2: #EAEAEC;
  --surface: #FFFFFF;
  --surface-2: #F7F7F8;
  --elev: #FFFFFF;
  --text: #0B0B0E;
  --text-2: #33333B;
  --muted: #676772;
  --line: rgba(12, 12, 18, .09);
  --line-2: rgba(12, 12, 18, .16);
  --red: #D2232A;
  --red-hi: #E8343B;
  --yellow: #FBB040;
  --blue: #29ABE2;
  --glow: rgba(232, 52, 40, .20);
  --glow-2: rgba(251, 176, 64, .16);
  --btn: #0B0B0E;
  --btn-text: #FFFFFF;
  --grid: rgba(12, 12, 18, .045);
  --shadow: 0 30px 60px -30px rgba(15, 15, 25, .28);
  --chip-bg: rgba(255, 255, 255, .7);
  --logo-filter: none;
  --stage: #0B0B0E;

  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --r-lg: 28px;
  --r-md: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  color-scheme: light;
}
:root[data-dm="dark"] {
  --bg: #050506; --bg-2: #0A0A0C; --surface: #101013; --surface-2: #16161A; --elev: #1B1B20;
  --text: #F4F4F5; --text-2: #CFCFD6; --muted: #8E8E99; --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.15);
  --glow: rgba(236, 56, 34, .42); --glow-2: rgba(251, 140, 40, .22);
  --btn: #FFFFFF; --btn-text: #0B0B0E; --grid: rgba(255,255,255,.035);
  --shadow: 0 30px 60px -30px rgba(0,0,0,.8); --chip-bg: rgba(20,20,24,.7);
  --logo-filter: none;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
/* Site background: the client's wave-line pattern, blended rather than pasted.
   - The pattern is an alpha mask (bg-lines.webp), so the lines take their colour from a soft brand gradient
     and sit on whatever base colour the theme uses.
   - A radial vignette keeps the lines at full strength around the edges and top, and softens them behind the
     reading column, so text keeps its WCAG 2.2 contrast on every section.
   - It is purely decorative (no content), fixed behind the page, and switched off for high-contrast,
     forced-colour and print modes. */
:root {
  --waves-ink: linear-gradient(105deg, #29ABE2 0%, #7f8796 24%, #7f8796 62%, #D2232A 86%, #FBB040 100%);
  --waves-strength: .72;
  /* Full strength in the outer margins; about a quarter inside the reading column, which keeps body and muted
     text at or above 4.5:1 (WCAG 2.2 AA) against the darkest line pixel. */
  --waves-fade: linear-gradient(90deg, #000 0, rgba(0,0,0,.26) min(6.5%, calc(50vw - 620px)), rgba(0,0,0,.26) calc(100% - min(6.5%, calc(50vw - 620px))), #000 100%);
}
:root[data-dm="dark"] {
  --waves-ink: linear-gradient(105deg, #29ABE2 0%, #a3a8b6 24%, #a3a8b6 62%, #E8343B 86%, #FBB040 100%);
  --waves-strength: .42;
}
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: var(--waves-ink); opacity: var(--waves-strength); transition: opacity .6s ease;
  -webkit-mask-image: url("../img/bg-lines.webp"), var(--waves-fade); mask-image: url("../img/bg-lines.webp"), var(--waves-fade);
  -webkit-mask-size: cover, 100% 100%; mask-size: cover, 100% 100%;
  -webkit-mask-position: center top, center; mask-position: center top, center;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-composite: source-in; mask-composite: intersect; }
@media (max-width: 760px) {
  :root { --waves-fade: linear-gradient(90deg, #000 0%, rgba(0,0,0,.4) 4%, rgba(0,0,0,.4) 96%, #000 100%); }
  body::before { -webkit-mask-size: 230% auto, 100% 100%; mask-size: 230% auto, 100% 100%; }
}
@media (prefers-contrast: more), (forced-colors: active), print { body::before { display: none; } }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; transition: background-color .5s ease, color .5s ease; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; text-wrap: balance; font-weight: 500; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--yellow); color: #000; padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(90px, 11vw, 160px); position: relative; }

/* type */
.h-xl { font-size: clamp(2.7rem, 6.4vw, 5.9rem); line-height: 1; letter-spacing: -.048em; font-weight: 500; }
.h-lg { font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.04; letter-spacing: -.042em; font-weight: 500; }
.h-md { font-size: clamp(1.45rem, 2.3vw, 2.1rem); line-height: 1.15; letter-spacing: -.03em; font-weight: 500; }
.h-sm { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.02em; font-weight: 600; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.lead { font-size: clamp(1.06rem, 1.35vw, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 56ch; }
.muted { color: var(--muted); }
.kicker { font-family: var(--sans); font-weight: 300; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.center { text-align: center; margin-inline: auto; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--chip-bg); backdrop-filter: blur(10px); font-size: .86rem; color: var(--text-2); }
.pill b { font-weight: 600; font-size: .72rem; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; background: var(--red); color: #fff; }
.pill.plain { padding: 6px 14px; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(210,35,42,.18); }
.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--sans); font-weight: 300; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--red); color: #fff; }
.tag.ghost { background: transparent; color: var(--muted); border: 1px solid var(--line-2); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; font-weight: 500; font-size: .98rem; letter-spacing: -.01em; transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .3s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgba(210,35,42,.7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-red:hover { background: var(--red-hi); }
.btn-solid { background: var(--btn); color: var(--btn-text); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-wa { background: #1FAF55; color: #fff; }
.btn-wa:hover { background: #25c262; }
.btn.sm { height: 40px; padding: 0 16px; font-size: .9rem; }

/* scroll-linked reveals (position driven, visible at rest) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv { animation: rv-up linear both; animation-timeline: view(); animation-range: entry 4% cover 26%; }
    .words span { animation: words linear both; animation-timeline: view(); animation-range: cover 20% cover 52%; }
    .par img { animation: par linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    .stack-card .card-in { animation: shrink linear both; animation-timeline: view(); animation-range: exit -10% exit 60%; }
  }
}
@keyframes rv-up { from { opacity: 0; transform: translateY(40px); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes words { from { opacity: .16; } to { opacity: 1; } }
@keyframes par { from { transform: translateY(-6%) scale(1.12); } to { transform: translateY(6%) scale(1.12); } }
@keyframes shrink { to { transform: scale(.92); filter: brightness(.6); } }

/* ============ HEADER ============ */
.top { position: relative; z-index: 20; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; }
.brand { display: inline-flex; text-decoration: none; color: var(--text); }
.lockup { height: clamp(38px, 3.6vw, 50px); width: auto; overflow: visible; }
.lockup .w { fill: currentColor; }
.top-r { display: flex; align-items: center; gap: 10px; }
.top-r .meta { font-family: var(--sans); font-weight: 300; font-size: .72rem; color: var(--muted); letter-spacing: .06em; margin-right: 8px; }
.theme-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--chip-bg); display: grid; place-items: center; cursor: pointer; transition: transform .5s var(--ease); }
.theme-btn:hover { transform: rotate(-20deg); }
.theme-btn svg { width: 19px; height: 19px; }
.theme-btn .sun { display: none; }
:root[data-dm="dark"] .theme-btn .sun { display: block; }
:root[data-dm="dark"] .theme-btn .moon { display: none; }

/* ============ HERO ============ */
.hero { position: relative; overflow: hidden; padding-bottom: clamp(96px, 10vw, 160px); margin-top: -94px; padding-top: 94px; }
.hero-glow { position: absolute; left: 50%; top: -38vw; width: 140vw; height: 80vw; translate: -50% 0; background: radial-gradient(closest-side, var(--glow), transparent 72%); pointer-events: none; }
.hero-glow.b { top: auto; bottom: -40vw; width: 90vw; height: 60vw; background: radial-gradient(closest-side, var(--glow-2), transparent 70%); opacity: .8; -webkit-mask-image: linear-gradient(to bottom, #000 6%, transparent 31%); mask-image: linear-gradient(to bottom, #000 6%, transparent 31%); }
.hero-copy { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; gap: 24px; padding-top: clamp(48px, 8vw, 110px); }
.hero-copy h1 { max-width: 15ch; }
.hero-copy h1 .serif { color: var(--red-hi); }
.hero-copy .lead { text-align: center; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }

.stage { position: relative; z-index: 2; width: 100%; max-width: 1180px; margin: clamp(48px, 6vw, 80px) auto 0; aspect-ratio: 1000 / 440; }
.stage svg.circuit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.circuit .rail { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.circuit .pulse { fill: none; stroke: url(#pulseGrad); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 9 91; stroke-dashoffset: 100; animation: pulse 3.2s var(--ease-io) infinite; filter: drop-shadow(0 0 6px rgba(255,90,50,.9)); }
.circuit .pulse:nth-of-type(2) { animation-delay: .8s; }
.circuit .pulse:nth-of-type(3) { animation-delay: 1.6s; }
.circuit .pulse:nth-of-type(4) { animation-delay: 2.4s; }
.circuit .joint { fill: var(--bg); stroke: var(--line-2); stroke-width: 1.5; }
@keyframes pulse { 0% { stroke-dashoffset: 100; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.node { position: absolute; transform: translate(-50%, -50%); width: clamp(64px, 8.4vw, 104px); aspect-ratio: 1; border-radius: 26px; padding: 5px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); text-decoration: none; transition: transform .5s var(--ease); }
.node:hover { transform: translate(-50%, -50%) scale(1.06); }
.node img { width: 100%; height: 100%; object-fit: cover; border-radius: 21px; }
.node .lbl { position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0; white-space: nowrap; font-size: .82rem; color: var(--text-2); background: var(--chip-bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; backdrop-filter: blur(8px); }
.node.n1 { left: 8.5%; top: 18%; } .node.n2 { left: 8.5%; top: 74%; } .node.n3 { left: 91.5%; top: 18%; } .node.n4 { left: 91.5%; top: 74%; }
.spec { position: absolute; font-family: var(--sans); font-weight: 300; font-size: .7rem; letter-spacing: .06em; color: var(--muted); padding: 5px 10px; border-radius: 999px; border: 1px dashed var(--line-2); background: var(--chip-bg); white-space: nowrap; }
.spec.s1 { left: 34%; top: 6%; } .spec.s2 { right: 33%; top: 6%; } .spec.s3 { left: 36%; bottom: 1%; } .spec.s4 { right: 35%; bottom: 1%; }

.card3d-wrap { position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 85.6 / 53.98; translate: -50% -50%; perspective: 1400px; }
.card3d { position: absolute; inset: 0; border-radius: 4.6% / 7.3%; transform-style: preserve-3d; transform: rotateX(var(--rx, 10deg)) rotateY(var(--ry, -14deg)) rotateZ(-2deg); transition: transform .3s ease-out; box-shadow: 0 50px 80px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06); overflow: hidden; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, #2a0d10 0%, #120708 40%, #050506 100%); }
.card3d::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 2px, transparent 2px 7px); }
.card3d .halo { position: absolute; right: -18%; top: -40%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(232,52,40,.75), rgba(232,52,40,0)); filter: blur(6px); }
.card3d .bars { position: absolute; left: 7%; bottom: 13%; display: flex; gap: 5px; align-items: end; }
.card3d .bars i { width: 26px; height: 5px; display: block; border-radius: 2px; }
.card3d .bars i:nth-child(1) { background: var(--blue); } .card3d .bars i:nth-child(2) { background: var(--red-hi); } .card3d .bars i:nth-child(3) { background: var(--yellow); }
.card3d .brand-row { position: absolute; left: 7%; top: 11%; display: flex; align-items: center; gap: 10px; }
.card3d .brand-row svg { height: clamp(18px, 2.2vw, 28px); width: auto; }
.card3d .brand-row span { font-size: clamp(.62rem, 1vw, .82rem); font-weight: 600; letter-spacing: .02em; }
.card3d .cl { position: absolute; right: 7%; top: 12%; width: 7%; color: #fff; opacity: .9; }
.card3d .chip { position: absolute; left: 8%; top: 38%; width: 13.5%; aspect-ratio: 1.3; border-radius: 16%; background: linear-gradient(135deg, #f1dc9c, #b8913f 50%, #f6e6b2); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); overflow: hidden; }
.card3d .chip::before { content: ""; position: absolute; inset: 22% 0; border-top: 1px solid rgba(0,0,0,.35); border-bottom: 1px solid rgba(0,0,0,.35); }
.card3d .chip::after { content: ""; position: absolute; inset: 0 38%; border-left: 1px solid rgba(0,0,0,.35); border-right: 1px solid rgba(0,0,0,.35); }
.card3d .pan { position: absolute; left: 8%; top: 60%; font-family: var(--sans); font-weight: 500; font-variant-numeric: tabular-nums; font-size: clamp(.78rem, 1.9vw, 1.55rem); letter-spacing: .12em; text-shadow: 0 1px 0 rgba(255,255,255,.25), 0 -1px 0 rgba(0,0,0,.7); }
.card3d .holder { position: absolute; right: 7%; bottom: 11%; text-align: right; font-family: var(--sans); font-weight: 500; font-variant-numeric: tabular-nums; font-size: clamp(.5rem, .9vw, .74rem); letter-spacing: .1em; line-height: 1.5; }
.card3d .holder small { display: block; opacity: .55; font-size: .8em; }
.card3d .sheen { position: absolute; inset: 0; background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255,255,255,.26), transparent 42%); mix-blend-mode: soft-light; pointer-events: none; }
.card3d-wrap .shadow { position: absolute; left: 10%; right: 10%; bottom: -18%; height: 20%; background: radial-gradient(closest-side, rgba(232,52,40,.45), transparent); filter: blur(18px); }

/* hero load */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-copy > * { animation: blur-in 1.1s var(--ease) both; }
  .js .hero-copy > *:nth-child(2) { animation-delay: .12s; }
  .js .hero-copy > *:nth-child(3) { animation-delay: .24s; }
  .js .hero-copy > *:nth-child(4) { animation-delay: .36s; }
  .js .stage { animation: rise 1.4s var(--ease) both .45s; }
  .js .card3d-wrap { animation: card-in 1.6s var(--ease) both .6s; }
  .js .lockup .lg-blue { animation: lg-l 1s var(--ease) both .1s; }
  .js .lockup .lg-yel { animation: lg-r 1s var(--ease) both .1s; }
  .js .lockup .lg-redtop { animation: lg-t .9s var(--ease) both .25s; }
  .js .lockup .lg-redbot { animation: lg-b .9s var(--ease) both .25s; }
  .js .lockup .lg-flower { animation: lg-f 1.2s var(--ease) both .35s; transform-box: fill-box; transform-origin: center; }
}
@keyframes blur-in { from { opacity: 0; filter: blur(12px); transform: translateY(16px); } }
@keyframes rise { from { opacity: 0; transform: translateY(60px); } }
@keyframes card-in { from { opacity: 0; transform: translateY(40px) rotateX(40deg) scale(.9); } }
@keyframes lg-l { from { transform: translateX(-180px); opacity: 0; } }
@keyframes lg-r { from { transform: translateX(180px); opacity: 0; } }
@keyframes lg-t { from { transform: translateY(-220px); opacity: 0; } }
@keyframes lg-b { from { transform: translateY(220px); opacity: 0; } }
@keyframes lg-f { from { transform: rotate(-180deg) scale(0); } }

/* trusted strip */
@keyframes marq { to { transform: translateX(-50%); } }

/* ============ FOR WHO ============ */
.forwho-head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; max-width: 980px; margin-inline: auto; }
.forwho-head h2 { text-align: right; }
.roller { position: relative; height: calc(1.15em * 5); overflow: hidden; font-size: clamp(1.7rem, 3.4vw, 3rem); line-height: 1.15; letter-spacing: -.04em; mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent); }
.roller ul { transition: transform .9s var(--ease); }
.roller li { height: 1.15em; color: var(--muted); opacity: .45; transition: color .6s, opacity .6s; white-space: nowrap; }
.roller li.on { color: var(--red-hi); opacity: 1; }
.collage { position: relative; display: flex; justify-content: center; margin-top: clamp(50px, 6vw, 90px); height: clamp(260px, 30vw, 420px); }
.collage figure { position: absolute; margin: 0; width: clamp(170px, 21vw, 300px); aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .8s var(--ease); background: var(--surface-2); }
.collage figure img { width: 100%; height: 100%; object-fit: cover; }
.collage figure figcaption { position: absolute; left: 10px; bottom: 10px; font-size: .78rem; color: #fff; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); padding: 4px 10px; border-radius: 999px; }
.collage figure { transition: left .95s var(--ease), transform .95s var(--ease), filter .95s var(--ease), box-shadow .95s var(--ease); }
.collage figure[data-s="0"] { left: calc(50% - 46%); transform: rotate(-9deg) translateY(30px) scale(.94); z-index: 1; filter: saturate(.9) brightness(.94); }
.collage figure[data-s="1"] { left: calc(50% - 27%); transform: rotate(-4deg) scale(.98); z-index: 2; }
.collage figure[data-s="2"] { left: calc(50% - 10%); transform: rotate(1deg) translateY(-14px) scale(1.05); z-index: 3; box-shadow: 0 40px 70px -24px rgba(0,0,0,.45); }
.collage figure[data-s="3"] { left: calc(50% + 8%); transform: rotate(5deg) scale(.98); z-index: 2; }
.collage figure[data-s="4"] { left: calc(50% + 25%); transform: rotate(10deg) translateY(30px) scale(.94); z-index: 1; filter: saturate(.9) brightness(.94); }
.collage figure.wrap { z-index: 0; animation: colWrap .95s var(--ease) both; }
@keyframes colWrap { 0% { opacity: 1; } 35% { opacity: 0; } 65% { opacity: 0; } 100% { opacity: 1; } }
.collage figure figcaption { transition: opacity .6s ease; opacity: .8; }
.collage figure[data-s="2"] figcaption { opacity: 1; }
.collage-dots { display: flex; justify-content: center; gap: 8px; margin-top: clamp(26px, 3vw, 40px); }
.collage-dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--line-2); transition: width .5s var(--ease), background .5s; }
.collage-dots i.on { width: 22px; background: var(--red); }

/* ============ PROCESS (stacking) ============ */
.sec-title { text-align: center; max-width: 860px; margin: 0 auto clamp(48px, 6vw, 80px); display: grid; gap: 18px; justify-items: center; }
.stack { display: grid; gap: 24px; max-width: 1120px; margin-inline: auto; }
.stack-card { position: sticky; top: calc(28px + var(--i) * 14px); }
.stack-card .card-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(20px, 3vw, 40px); padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transform-origin: 50% 0; }
.step-txt { display: grid; gap: 16px; align-content: start; padding: clamp(8px, 1.5vw, 20px); }
.step-txt ul { display: grid; gap: 10px; margin-top: 4px; }
.step-txt li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--text-2); font-size: .98rem; }
.step-txt li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: rgba(210,35,42,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D2232A' stroke-width='3'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.step-viz { position: relative; border-radius: 20px; overflow: hidden; background: radial-gradient(90% 90% at 70% 10%, #3a0d10, #0a0a0c 65%); min-height: 300px; display: grid; place-items: center; isolation: isolate; }
.step-viz::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 28px 28px; z-index: -1; }
.step-viz .num { position: absolute; left: 18px; top: 14px; font-family: var(--sans); font-weight: 300; font-size: .72rem; color: rgba(255,255,255,.5); letter-spacing: .1em; }
.step-viz .note { position: absolute; right: 16px; bottom: 14px; font-family: var(--sans); font-weight: 300; font-size: .7rem; color: rgba(255,255,255,.6); }
.mini { position: relative; width: 62%; aspect-ratio: 85.6 / 53.98; border-radius: 4.6% / 7.3%; background: radial-gradient(120% 140% at 0% 0%, #2a0d10, #050506); box-shadow: 0 30px 50px -10px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; transform: rotate(-6deg); color: #fff; }
.mini .chip { position: absolute; left: 8%; top: 38%; width: 14%; aspect-ratio: 1.3; border-radius: 16%; background: linear-gradient(135deg, #f1dc9c, #b8913f 50%, #f6e6b2); }
.mini .pan { position: absolute; left: 8%; top: 62%; font-family: var(--sans); font-weight: 500; font-variant-numeric: tabular-nums; font-size: clamp(.6rem, 1.3vw, 1rem); letter-spacing: .12em; text-shadow: 0 1px 0 rgba(255,255,255,.3), 0 -1px 0 rgba(0,0,0,.8); }
.mini .bars { position: absolute; left: 8%; bottom: 12%; display: flex; gap: 4px; } .mini .bars i { width: 18px; height: 4px; border-radius: 2px; display: block; }
.mini .bars i:nth-child(1) { background: var(--blue); } .mini .bars i:nth-child(2) { background: var(--red-hi); } .mini .bars i:nth-child(3) { background: var(--yellow); }
.mini .logo { position: absolute; left: 8%; top: 12%; height: 18%; width: auto; }
/* step specifics */
.viz-print .mini { background: #f2f2f2; }
.viz-deliver { min-height: 340px; }
.viz-deliver .boxsim { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.viz-deliver .num { z-index: 2; }
.viz-print .mini .ink { position: absolute; inset: 0; background: radial-gradient(120% 140% at 0% 0%, #2a0d10, #050506); clip-path: inset(0 0 45% 0); animation: ink 3.2s var(--ease-io) infinite; }
.viz-print .head { position: absolute; left: 14%; right: 14%; height: 14px; border-radius: 4px; background: linear-gradient(90deg, #29ABE2, #E8343B, #FBB040, #111); top: 34%; box-shadow: 0 0 24px rgba(232,52,40,.6); animation: head 3.2s var(--ease-io) infinite; z-index: 3; }
@keyframes ink { 0% { clip-path: inset(0 0 100% 0); } 70%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes head { 0% { transform: translateY(-60px); } 70% { transform: translateY(110px); } 100% { transform: translateY(110px); opacity: 0; } }
@keyframes scanY { from { transform: translateY(-40%); } to { transform: translateY(300%); } }

/* ============ STATEMENT ============ */

/* ============ INIMITABLE PANEL ============ */
.mavens-panel { position: relative; border-radius: 36px; overflow: hidden; min-height: clamp(640px, 64vw, 820px); background: radial-gradient(70% 70% at 50% 35%, #ff4b36 0%, #d2232a 45%, #6f0b10 100%); color: #fff; isolation: isolate; }
.mavens-panel .intro { position: relative; z-index: 3; text-align: center; padding: clamp(40px, 5vw, 64px) 20px 0; display: grid; gap: 14px; justify-items: center; }
.mavens-panel .intro .kicker { color: rgba(255,255,255,.75); }
.mavens-panel .intro h2 { max-width: 18ch; }
.mavens-panel .portrait { position: absolute; z-index: 1; left: 50%; bottom: 0; translate: -50% 0; width: clamp(300px, 34vw, 470px); aspect-ratio: 2 / 3; -webkit-mask-image: linear-gradient(to bottom, #000 90%, transparent 100%); mask-image: linear-gradient(to bottom, #000 90%, transparent 100%); }
.mavens-panel .portrait img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 30px 40px rgba(60,0,0,.35)); }
.p-cards { position: absolute; z-index: 3; inset: 0; pointer-events: none; }
.p-card { position: absolute; width: clamp(210px, 22vw, 290px); padding: 18px 20px; border-radius: 20px; background: rgba(10,10,12,.72); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.12); pointer-events: auto; display: grid; gap: 6px; }
.p-card b { font-size: 1.6rem; font-weight: 500; letter-spacing: -.03em; }
.p-card span { font-size: .9rem; color: rgba(255,255,255,.75); }
.p-card .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 6px; }
.p-card .ic svg { width: 16px; height: 16px; }
.p-card.a { left: 4%; top: 40%; } .p-card.b { left: 7%; top: 64%; } .p-card.c { right: 4%; top: 40%; } .p-card.d { right: 7%; top: 64%; }
.p-card.a .ic { background: var(--blue); } .p-card.b .ic { background: var(--yellow); color: #000; } .p-card.c .ic { background: #fff; color: var(--red); } .p-card.d .ic { background: #000; }

/* ============ ABOUT (split) ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.about-l { position: sticky; top: 40px; display: grid; gap: 22px; }
.about-l .imgs { position: relative; height: clamp(380px, 40vw, 560px); }
.about-l .imgs figure { position: absolute; margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); }
.about-l .imgs figure img { width: 100%; height: 100%; object-fit: cover; }
.about-l .imgs .i1 { left: 0; top: 0; width: 62%; height: 82%; }
.about-l .imgs .i2 { right: 0; bottom: 0; width: 48%; height: 62%; box-shadow: var(--shadow); }
.about-r { display: grid; gap: 22px; }
.about-r p { color: var(--text-2); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 10px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; display: grid; gap: 10px; align-content: start; }
.tile .kicker { display: flex; align-items: center; gap: 8px; }
.tile .kicker i { width: 8px; height: 8px; border-radius: 50%; }
.quote { border-radius: var(--r-md); padding: 26px; background: var(--surface-2); border: 1px solid var(--line); display: grid; gap: 16px; }
.quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.25; letter-spacing: -.01em; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .who .av { width: 42px; height: 42px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; }
.quote .who .av svg { width: 26px; }
.quote .who b { display: block; font-weight: 600; }

/* ============ SOLUTIONS GRID ============ */

/* ============ SOLUTION DETAIL: shared ============ */
.d-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: end; margin-bottom: clamp(40px, 5vw, 70px); }
.d-head .left { display: grid; gap: 18px; }
.d-num { display: inline-flex; align-items: center; gap: 10px; }
.d-num .tag { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }


/* NFC */
.nfc-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.nfc-l { display: grid; gap: 10px; align-content: start; }
.nfc-photo { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; }
.nfc-photo img { width: 100%; height: 100%; object-fit: cover; }
.nfc-photo .badge { position: absolute; left: 14px; top: 14px; }
.nfc-app { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; text-align: left; transition: border-color .3s, transform .4s var(--ease); }
.nfc-app .ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--surface-2); flex: none; }
.nfc-app .ico svg { width: 18px; height: 18px; }
.nfc-app b { font-weight: 500; display: block; }
.nfc-app small { color: var(--muted); font-size: .86rem; }
.nfc-app[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(41,171,226,.1); }
.nfc-app[aria-pressed="true"] .ico { background: var(--blue); color: #fff; }
.nfc-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.nfc-specs span { font-family: var(--sans); font-weight: 300; font-size: .7rem; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.nfc-specs .na { display: inline-flex; align-items: center; gap: 7px; color: var(--text); border-color: rgba(41,171,226,.45); }
.nfc-specs .na i { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(41,171,226,.2); }
/* Solutions intro sits directly above the two live demos */
.sol-intro { padding-bottom: clamp(10px, 2vw, 24px); }
.sol-intro .sec-title { margin-bottom: 0; }
.demo-sec { padding-top: clamp(40px, 5vw, 70px); }
.nfc-stage-wrap { display: grid; gap: 12px; }
/* NFC live demo: real materials on a desk. Objects are sized in container units so the print detail scales. */
.nfc-stage { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1 / .9; color: #fff; isolation: isolate;
  --desk-grain: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27220%27 height=%27220%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%27.7%27 numOctaves=%273%27 stitchTiles=%27stitch%27/%3E%3CfeColorMatrix values=%270 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23n)%27/%3E%3C/svg%3E");
  background-color: #1c1b1e;
  background-image: radial-gradient(70% 60% at 26% 10%, rgba(255,240,220,.17), transparent 62%), radial-gradient(120% 80% at 50% 118%, rgba(0,0,0,.6), transparent 60%), var(--desk-grain), linear-gradient(155deg, #2c2a2e 0%, #1b1a1d 55%, #121114 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), inset 0 0 0 1px rgba(255,255,255,.04); }
.nfc-obj { position: absolute; left: 7%; top: 12%; width: 54%; aspect-ratio: 3 / 4; container-type: inline-size; transition: opacity .5s ease, transform .7s var(--ease); transform: rotate(-4deg);
  filter: drop-shadow(0 28px 26px rgba(0,0,0,.5)) drop-shadow(0 4px 5px rgba(0,0,0,.35)); }
.nfc-obj.hide { opacity: 0; transform: rotate(-4deg) translateY(24px); pointer-events: none; }

/* Printed NFC tag: a glossy sticker with the chip inlay beneath */
.nfc-tag { position: absolute; width: 18%; aspect-ratio: 1; right: 7%; bottom: 5%; border-radius: 50%; display: grid; place-items: center; z-index: 3; }
.nfc-tag::before { content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #ffffff 0%, #f3f5f8 55%, #dde2ea 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,.35), 0 3px 8px rgba(0,0,0,.18), inset 0 0 0 1px rgba(0,0,0,.06), inset 0 0 0 3px rgba(41,171,226,.14); }
.nfc-tag::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.9), transparent 45%); pointer-events: none; }
.nfc-tag svg { width: 44%; height: 44%; position: relative; color: #1b8fc4; }
.nfc-tag .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; }
.nfc-stage.tapped .nfc-tag .ring { animation: ring 1.4s var(--ease) forwards; }
.nfc-stage.tapped .nfc-tag .ring:nth-of-type(2) { animation-delay: .18s; }
.nfc-stage.tapped .nfc-tag .ring:nth-of-type(3) { animation-delay: .36s; }
@keyframes ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }

/* Wall calendar: Wire-O binding, hanger, stacked pages, photo, month header and ISO week grid */
.cal { position: relative; width: 100%; height: 100%; color: #1b1b1f; border-radius: 1.2cqw;
  background-color: #fbfaf6; background-image: var(--paper-grain), linear-gradient(#fffefb, #f3f0e8);
  display: grid; grid-template-rows: 6cqw 47cqw 11cqw 1fr 13cqw;
  box-shadow: 0 .7cqw 0 -.2cqw #ebe7de, 0 1.4cqw 0 -.4cqw #ddd8cc, 0 2.1cqw 0 -.6cqw #cfc9bb, 0 2.3cqw 1.6cqw -.4cqw rgba(0,0,0,.25); }
.cal .wire { position: relative; display: flex; justify-content: space-between; align-items: flex-start; padding: 0 6cqw; z-index: 2; }
.cal .wire i { position: relative; width: 1.5cqw; height: 5cqw; margin-top: -2.6cqw; border-radius: .75cqw;
  background: linear-gradient(90deg, #5d6169 0%, #e9ecf0 38%, #ffffff 48%, #9aa0a9 64%, #474b52 100%); box-shadow: 0 .35cqw .45cqw rgba(0,0,0,.35); }
.cal .wire i::before { content: ""; position: absolute; left: 50%; bottom: .3cqw; translate: -50% 0; width: 2.1cqw; height: 1.1cqw; border-radius: .55cqw; background: #2b2a2e; z-index: -1; box-shadow: inset 0 .2cqw .2cqw rgba(0,0,0,.6); }
.cal .wire .hook { position: absolute; left: 50%; top: -7.5cqw; width: 10cqw; height: 7cqw; translate: -50% 0; border: .8cqw solid #b9bdc4; border-bottom: none; border-radius: 6cqw 6cqw 0 0; margin: 0; background: none; box-shadow: none; }
.cal .wire .hook::before { display: none; }
.cal .pic { position: relative; margin: 1.4cqw 4.5cqw 0; overflow: hidden; border-radius: .5cqw; background: #ddd; }
.cal .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cal .pic .loc { position: absolute; left: 2.6cqw; bottom: 2cqw; color: #fff; font-weight: 400; font-size: 2.3cqw; letter-spacing: .06em; text-shadow: 0 1px 6px rgba(0,0,0,.55); }
.cal .mhead { display: flex; align-items: baseline; gap: 2.4cqw; padding: 0 4.5cqw; }
.cal .mhead b { font-family: var(--serif); font-weight: 400; font-size: 9cqw; line-height: 1.15; letter-spacing: -.01em; }
.cal .mhead span { font-weight: 300; font-size: 3.4cqw; letter-spacing: .24em; color: #8a8790; }
.cal .mhead .brand { margin-left: auto; width: 6.5cqw; height: auto; align-self: center; }
.cal .grid { display: grid; grid-template-columns: 5cqw repeat(7, 1fr); align-content: start; padding: 0 4.5cqw; text-align: center; font-size: 3.1cqw; font-variant-numeric: tabular-nums; isolation: isolate; }
.cal .grid b { font-weight: 500; font-size: 2.1cqw; letter-spacing: .1em; text-transform: uppercase; color: #8a8790; padding: .8cqw 0; border-bottom: 1px solid #e3ded3; }
.cal .grid span { line-height: 6.6cqw; border-bottom: 1px solid #efebe2; position: relative; }
.cal .grid .wk { font-size: 1.9cqw; color: #b3aea3; text-align: left; }
.cal .grid .we { color: #c3161e; }
.cal .grid .mute { color: #cfcac0; }
.cal .grid .ev { color: #fff; font-weight: 600; }
.cal .grid .ev::before { content: ""; position: absolute; left: 50%; top: 50%; width: 5.6cqw; height: 5.6cqw; translate: -50% -50%; border-radius: 50%; background: #D2232A; z-index: -1; }
.cal .cal-foot { display: flex; flex-direction: column; justify-content: center; gap: .6cqw; padding: 0 26cqw 0 4.5cqw; font-size: 2.2cqw; color: #8a8790; letter-spacing: .03em; border-top: 1px solid #e3ded3; margin: 0 4.5cqw; padding-left: 0; }
.cal .cal-foot span:first-child { color: #1b1b1f; font-weight: 500; }
.nfc-obj[data-obj="cal"] .nfc-tag { width: 13%; right: 6%; bottom: 2.6%; }

/* Smart promotional card: soft-touch red stock, spot-gloss rings, gold foil, tear-off offer code */
.promo { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 1.4cqw; color: #fff; padding: 8cqw 8cqw 7cqw; display: flex; flex-direction: column;
  background-color: #a3161c; background-image: var(--paper-grain), radial-gradient(120% 85% at 15% 0%, #d8262d 0%, #a3161c 52%, #6a0e12 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.promo .pattern { position: absolute; inset: 0; background: repeating-radial-gradient(circle at 112% -8%, rgba(255,255,255,.09) 0 .35cqw, transparent .35cqw 3.2cqw); pointer-events: none; }
.promo .gloss { position: absolute; inset: -30%; background: linear-gradient(118deg, transparent 38%, rgba(255,255,255,.13) 46%, transparent 54%); pointer-events: none; }
.promo .p-top { position: relative; display: flex; align-items: center; justify-content: space-between; }
.promo .brand { width: 11cqw; height: auto; }
.promo .foil-txt { font-size: 2.5cqw; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; background: linear-gradient(90deg, #f7e3a1, #c9a24a 40%, #fff1c4 55%, #b8913f); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promo h4 { position: relative; margin-top: 13cqw; font-weight: 600; font-size: 13.5cqw; line-height: .9; letter-spacing: -.055em; }
.promo h4 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; background: linear-gradient(90deg, #f7e3a1, #c9a24a 50%, #fff1c4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promo .p-sub { position: relative; margin-top: 3.5cqw; font-size: 3.3cqw; font-weight: 300; line-height: 1.4; color: rgba(255,255,255,.84); max-width: 64cqw; }
.promo .p-meta { position: relative; display: flex; gap: 6cqw; margin-top: 5cqw; padding-top: 3cqw; border-top: 1px solid rgba(255,255,255,.25); font-size: 3.4cqw; font-weight: 500; }
.promo .p-meta small, .promo .p-code small { display: block; font-size: 2cqw; letter-spacing: .2em; text-transform: uppercase; font-weight: 300; opacity: .72; margin-bottom: .6cqw; }
.promo .p-code { position: relative; margin-top: auto; align-self: flex-start; border: 1px dashed rgba(255,255,255,.55); border-radius: 1.4cqw; padding: 2.2cqw 3.2cqw; }
.promo .p-code b { font-size: 4cqw; letter-spacing: .12em; font-weight: 600; font-variant-numeric: tabular-nums; }
.promo .p-cta { position: absolute; right: 7cqw; bottom: 26cqw; font-size: 2.3cqw; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: rgba(255,255,255,.85); }

/* Mini certificate: matches the main certificate's crest, seal and paper */
.mcert { position: relative; width: 100%; height: 100%; color: #1d2433; border-radius: .6cqw; padding: 13cqw 11cqw 11cqw; display: flex; flex-direction: column; align-items: center; text-align: center;
  background-color: #FBF7EC; background-image: var(--paper-grain), radial-gradient(120% 90% at 50% 40%, #fffdf6 0%, #f6eedb 70%, #ebdfc2 100%); }
.mcert .m-frame { position: absolute; inset: 4cqw; border: 1.8cqw solid transparent; border-image: repeating-linear-gradient(45deg, #1f3a5f 0 .45cqw, #b8913f .45cqw .9cqw, #fbf7ec .9cqw 1.3cqw) 10; pointer-events: none; }
.mcert .m-frame::after { content: ""; position: absolute; inset: 1.4cqw; border: 1px solid #b8913f; }
.mcert .m-crest { width: 14cqw; height: 14cqw; }
.mcert .s { margin-top: 2.4cqw; font-weight: 500; font-size: 2.4cqw; letter-spacing: .3em; text-transform: uppercase; color: #1f3a5f; }
.mcert .s.sm { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; text-transform: none; font-size: 3.3cqw; color: #6b6450; margin-top: 2.4cqw; }
.mcert .ti { font-family: var(--serif); font-size: 7.6cqw; line-height: 1.02; margin-top: 3cqw; color: #14243b; }
.mcert .nm { font-family: var(--serif); font-style: italic; font-size: 7.6cqw; color: #1a2c47; margin-top: .6cqw; padding: 0 5cqw .8cqw; background: linear-gradient(90deg, transparent, #b8913f 18%, #b8913f 82%, transparent) bottom / 100% 1px no-repeat; }
.mcert .lines { display: grid; gap: 1.8cqw; justify-items: center; margin-top: 4cqw; width: 100%; }
.mcert .lines i { display: block; width: 82%; height: .55cqw; background: #d4ccb6; border-radius: 1cqw; }
.mcert .lines i.short { width: 56%; }
.mcert .m-foot { margin-top: auto; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 3cqw; }
.mcert .m-sig svg { width: 100%; height: 6cqw; display: block; }
.mcert .m-sig i { display: block; height: 1px; background: #8b836b; margin-top: .4cqw; }
.mcert .m-sig:last-child { visibility: hidden; }
.mcert .m-seal { width: 13cqw; height: 17cqw; filter: drop-shadow(0 .5cqw .6cqw rgba(60,40,0,.35)); }
.mcert .m-serial { position: absolute; right: 10.5cqw; top: 9.8cqw; font-size: 2.1cqw; font-weight: 500; letter-spacing: .12em; color: #c3161e; }
.nfc-obj[data-obj="cert"] .nfc-tag { width: 15%; right: 9%; bottom: 7%; }
.nfc-stage .coords { position: absolute; left: 16px; top: 14px; font-family: var(--sans); font-weight: 300; font-size: .66rem; color: rgba(255,255,255,.5); letter-spacing: .08em; }
.nfc-stage .coords.r { left: auto; right: 16px; }
/* iPhone-style demo device: titanium rim, Dynamic Island, iOS status bar, lock screen, tag banner and browser view */
.phone { position: absolute; right: 8%; top: 8%; width: 29%; aspect-ratio: 70.6 / 146.6; border-radius: 16.5% / 7.9%; padding: 1.5%;
  background: linear-gradient(135deg, #eceef1 0%, #a0a4ab 16%, #dcdee2 32%, #858991 56%, #cfd2d6 78%, #8f939a 100%);
  box-shadow: 0 34px 60px -12px rgba(0,0,0,.7), 0 0 0 .5px rgba(0,0,0,.55); z-index: 4; transition: transform 1s var(--ease); transform: rotate(6deg); container-type: inline-size; }
.nfc-stage.tapping .phone { transform: translate(var(--dx, -60%), var(--dy, 30%)) rotate(-2deg); }
.phone .hw { position: absolute; width: 1.7cqw; border-radius: 1cqw; background: linear-gradient(90deg, #7d8189, #d6d8dc 60%, #9a9ea5); }
.phone .act { left: -1.2cqw; top: 17%; height: 5.5%; }
.phone .vup { left: -1.2cqw; top: 26%; height: 10%; }
.phone .vdn { left: -1.2cqw; top: 38%; height: 10%; }
.phone .pwr { right: -1.2cqw; top: 29%; height: 15%; }
.phone .bez { position: relative; width: 100%; height: 100%; border-radius: 15.4% / 7.4%; background: #000; padding: 3.4%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.phone .scr { position: relative; width: 100%; height: 100%; border-radius: 12.6% / 5.9%; overflow: hidden; color: #fff;
  font-family: var(--sans);
  background: radial-gradient(90% 55% at 15% 12%, #2f74e0 0%, transparent 62%), radial-gradient(85% 55% at 95% 85%, #d2232a 0%, transparent 60%), linear-gradient(170deg, #182a6e, #2a103d 58%, #120a1f); }
.phone .island { position: absolute; top: 2.9cqw; left: 50%; translate: -50% 0; width: 31cqw; height: 9.2cqw; border-radius: 99px; background: #000; z-index: 9; }
.phone .sbar { position: absolute; inset: 0 0 auto; height: 15cqw; display: flex; align-items: center; justify-content: space-between; padding: 0 5cqw 0 6cqw; z-index: 8; font-size: 4.6cqw; font-weight: 600; letter-spacing: -.01em; transition: color .4s ease; }
.phone .sbar .tm { width: 24cqw; text-align: center; }
.phone .sbar .ic { width: 24cqw; display: flex; align-items: center; justify-content: center; gap: 1.3cqw; }
.phone .sbar svg { height: 3cqw; width: auto; fill: currentColor; }
.phone .sbar .wifi { height: 3.2cqw; }
.phone .batt { position: relative; width: 6.8cqw; height: 3.3cqw; border: .45cqw solid currentColor; border-radius: 1.1cqw; padding: .45cqw; opacity: .95; }
.phone .batt::after { content: ""; position: absolute; right: -1.2cqw; top: 50%; translate: 0 -50%; width: .6cqw; height: 1.3cqw; border-radius: 0 .5cqw .5cqw 0; background: currentColor; opacity: .5; }
.phone .batt i { display: block; width: 78%; height: 100%; border-radius: .4cqw; background: currentColor; }
.phone .idle { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 17cqw 8cqw 13cqw; text-align: center; transition: opacity .5s ease, transform .6s var(--ease); }
.phone .lock .dt { font-size: 4.6cqw; font-weight: 600; opacity: .9; }
.phone .lock .clk { font-size: 23cqw; font-weight: 700; line-height: 1; letter-spacing: -.03em; margin-top: 1cqw; }
.phone .hint { display: grid; justify-items: center; gap: 3cqw; }
.phone .hint svg { width: 11cqw; color: #fff; animation: hintPulse 2.4s ease-in-out infinite; }
.phone .hint p { font-size: 3.7cqw; line-height: 1.3; opacity: .88; max-width: 62cqw; }
@keyframes hintPulse { 50% { opacity: .45; } }
.phone .banner { position: absolute; left: 3.4cqw; right: 3.4cqw; top: 14cqw; z-index: 7; display: grid; grid-template-columns: auto 1fr auto; gap: 3cqw; align-items: center; padding: 3.2cqw; border-radius: 6.5cqw;
  background: rgba(245,245,247,.82); -webkit-backdrop-filter: blur(14px) saturate(1.6); backdrop-filter: blur(14px) saturate(1.6); color: #000; box-shadow: 0 8px 24px rgba(0,0,0,.28);
  opacity: 0; transform: translateY(-150%); transition: transform .6s var(--ease), opacity .3s ease; }
.nfc-stage.tapped:not(.done) .phone .banner { opacity: 1; transform: none; }
.phone .banner .ap { width: 9.5cqw; aspect-ratio: 1; border-radius: 2.3cqw; background: linear-gradient(160deg, #3ab0ff, #0a6cff); display: grid; place-items: center; color: #fff; }
.phone .banner .ap svg { width: 64%; }
.phone .banner .bt { display: grid; line-height: 1.22; text-align: left; }
.phone .banner .bt b { font-size: 3.9cqw; font-weight: 600; }
.phone .banner .bt small { font-size: 3.6cqw; color: #333; }
.phone .banner .now { font-size: 3.2cqw; color: #6b6b70; align-self: start; }
.phone .res { position: absolute; inset: 0; z-index: 2; opacity: 0; transform: translateY(14px); background: #fff; color: #0b0b0e; display: grid; align-content: start; justify-items: center; text-align: center; padding: 22cqw 8cqw 20cqw; gap: 4cqw; transition: opacity .5s ease, transform .6s var(--ease); }
.nfc-stage.done .phone .res { opacity: 1; transform: none; }
.nfc-stage.done .phone .idle { opacity: 0; }
.nfc-stage.done .phone .sbar { color: #000; }
.phone .res .badge { width: 30cqw; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; color: #fff; padding: 0; border: 0; }
.phone .res .badge svg { width: 50%; }
.phone .res h5 { font-weight: 700; font-size: 6.4cqw; line-height: 1.1; letter-spacing: -.02em; }
.phone .res p { font-size: 4cqw; color: #6b6b76; line-height: 1.4; }
.phone .res .cta { font-size: 4cqw; font-weight: 600; background: #0b0b0e; color: #fff; border-radius: 99px; padding: 2.8cqw 6cqw; }
.phone .res .url { position: absolute; left: 6cqw; right: 6cqw; bottom: 7.5cqw; display: flex; align-items: center; justify-content: center; gap: 1.4cqw; padding: 2.6cqw; border-radius: 99px; background: rgba(238,238,240,.96); box-shadow: 0 2px 10px rgba(0,0,0,.08); font-size: 3.8cqw; color: #111; }
.phone .res .url svg { width: 3.2cqw; }
.phone .home { position: absolute; left: 50%; bottom: 2.2cqw; translate: -50% 0; width: 36cqw; height: 1.4cqw; border-radius: 99px; background: #fff; z-index: 8; opacity: .9; transition: background .4s ease; }
.nfc-stage.done .phone .home { background: #000; }
/* iPhone realism: brushed titanium, antenna bands, glass reflection, camera lens in the Dynamic Island,
   iOS-style lock screen (widgets, torch and camera buttons) and a browser view of the linked page. */
.phone { background:
    linear-gradient(90deg, rgba(255,255,255,.35), transparent 6%, transparent 94%, rgba(255,255,255,.3)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 3px),
    linear-gradient(135deg, #eef0f3 0%, #a6aab1 14%, #e0e2e6 30%, #868a92 54%, #d4d7db 76%, #8c9097 100%);
  box-shadow: 0 40px 70px -16px rgba(0,0,0,.75), 0 12px 20px -8px rgba(0,0,0,.5), inset 0 0 0 .5px rgba(0,0,0,.5), inset 0 1px 1px rgba(255,255,255,.7); }
.phone .ant { position: absolute; width: 1.6%; height: .55%; background: rgba(70,72,78,.6); }
.phone .ant.a1 { left: 0; top: 11%; } .phone .ant.a2 { right: 0; top: 11%; } .phone .ant.a3 { left: 0; bottom: 11%; } .phone .ant.a4 { right: 0; bottom: 11%; }
.phone .bez { box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 0 0 0 2.5px #050506; }
.phone .island .lens { position: absolute; right: 9%; top: 50%; width: 5.4cqw; height: 5.4cqw; translate: 0 -50%; border-radius: 50%;
  background: radial-gradient(circle at 36% 34%, #5c6d92 0%, #1d2536 34%, #07090e 70%); box-shadow: inset 0 0 0 .5cqw #0b0d12; }
.phone .glass { position: absolute; inset: 0; z-index: 12; pointer-events: none; border-radius: inherit;
  background: linear-gradient(118deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,.05) 24%, transparent 40%), linear-gradient(118deg, transparent 74%, rgba(255,255,255,.06) 86%, transparent 96%); }
.phone .idle { justify-content: flex-start; padding: 16cqw 6cqw 6.5cqw; }
.phone .lock .clk { font-size: 24cqw; font-weight: 600; letter-spacing: -.04em; text-shadow: 0 1px 12px rgba(0,0,0,.18); }
.phone .lock-w { display: flex; gap: 3.5cqw; margin-top: 4cqw; }
.phone .lock-w span { width: 15cqw; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; line-height: 1.05;
  background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.phone .lock-w b { font-size: 4.6cqw; font-weight: 600; }
.phone .lock-w small { font-size: 2.3cqw; opacity: .8; }
.phone .hint { margin-top: auto; padding: 3cqw 4cqw; border-radius: 5cqw; background: rgba(0,0,0,.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.phone .hint svg { width: 9cqw; }
.phone .qa { display: flex; justify-content: space-between; width: 100%; margin-top: 5cqw; padding: 0 2cqw; }
.phone .qa i { width: 11.5cqw; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.phone .qa svg { width: 50%; color: #fff; }
.phone .res { padding: 14cqw 6cqw 20cqw; gap: 3cqw; }
.phone .res .site-bar { display: flex; align-items: center; gap: 2cqw; width: 100%; padding-bottom: 2.6cqw; border-bottom: 1px solid #ececf0; }
.phone .res .site-bar svg { width: 6.5cqw; height: auto; }
.phone .res .site-bar b { font-size: 3.6cqw; font-weight: 600; letter-spacing: -.02em; }
.phone .res .site-bar i { margin-left: auto; width: 4.4cqw; height: 2.2cqw; border-top: 1.5px solid #0b0b0e; border-bottom: 1.5px solid #0b0b0e; }
.phone .res .media { position: relative; width: 100%; aspect-ratio: 16 / 10; border-radius: 3cqw; overflow: hidden; background: #f1f1f4; }
.phone .res .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phone .res .media .play { position: absolute; left: 50%; top: 50%; width: 13cqw; height: 13cqw; translate: -50% -50%; border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.phone .res .media .play::after { content: ""; position: absolute; left: 41%; top: 31%; border-left: 4.4cqw solid #0b0b0e; border-top: 2.6cqw solid transparent; border-bottom: 2.6cqw solid transparent; }
.phone .res .media .dur { position: absolute; right: 2cqw; bottom: 2cqw; font-size: 2.6cqw; font-weight: 500; color: #fff; background: rgba(0,0,0,.55); padding: .6cqw 1.6cqw; border-radius: 1.5cqw; }
.phone .res .media .m-offer { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 1cqw; color: #fff; background: radial-gradient(120% 90% at 20% 0%, #d8262d, #a3161c 55%, #6a0e12); }
.phone .res .media .m-offer small { font-size: 2.4cqw; letter-spacing: .22em; text-transform: uppercase; opacity: .8; }
.phone .res .media .m-offer b { font-size: 11cqw; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.phone .res .media .m-offer span { font-size: 2.8cqw; letter-spacing: .12em; border: 1px dashed rgba(255,255,255,.6); padding: .8cqw 2cqw; border-radius: 1.5cqw; }
.phone .res .media .m-rec { position: absolute; inset: 0; display: grid; align-content: center; gap: 1.6cqw; padding: 3cqw 4cqw; text-align: left; background: #f6f7f9; }
.phone .res .media .m-rec span { display: flex; justify-content: space-between; gap: 2cqw; font-size: 2.7cqw; font-weight: 500; border-bottom: 1px solid #e6e8ec; padding-bottom: 1.2cqw; }
.phone .res .media .m-rec small { color: #8a8a94; font-weight: 400; }
.phone .res .media .m-rec .ok { border: 0; justify-content: center; color: #1f9d55; font-weight: 600; }
.phone .res .badge { width: 14cqw; margin-top: -9cqw; position: relative; z-index: 1; box-shadow: 0 0 0 1.2cqw #fff; }
.phone .res h5 { font-size: 5.8cqw; }
.phone .res p { font-size: 3.6cqw; }
.nfc-ctrl { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.nfc-ctrl .status { font-family: var(--sans); font-weight: 300; font-size: .74rem; color: var(--muted); }
.nfc-ctrl .status b { color: var(--blue); font-weight: 500; }



/* Security */
.sec-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }
.cert-ctrl { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.seg button { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; cursor: pointer; font-size: .88rem; color: var(--muted); transition: background .3s, color .3s; }
.seg button[aria-pressed="true"] { background: var(--btn); color: var(--btn-text); }
.seg button.uv[aria-pressed="true"] { background: #7b5cff; color: #fff; }
/* Certificate: an international-style diploma. Sized in container units so it scales as one printed sheet. */
:root { --paper-grain: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27180%27 height=%27180%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%27.85%27 numOctaves=%273%27 stitchTiles=%27stitch%27/%3E%3CfeColorMatrix values=%270 0 0 0 .42 0 0 0 0 .36 0 0 0 0 .24 0 0 0 .07 0%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23n)%27/%3E%3C/svg%3E"); }
.cert { position: relative; aspect-ratio: 1.414 / 1; container-type: inline-size; color: #1d2433; overflow: hidden; border-radius: 4px; --gx: 50%; --gy: 50%;
  background-color: #FBF7EC; background-image: var(--paper-grain), radial-gradient(120% 95% at 50% 40%, #fffdf6 0%, #f9f2e1 62%, #eee2c4 100%);
  box-shadow: inset 0 0 0 1px rgba(120,96,40,.18), 0 60px 90px -45px rgba(24,18,6,.6), 0 18px 30px -18px rgba(24,18,6,.35); transition: background-color .6s ease, color .6s ease; }
.cert-body { position: absolute; inset: 11.5% 12% 9.6%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cert .crest { width: 7.4cqw; height: 7.4cqw; flex: none; filter: drop-shadow(0 .15cqw .2cqw rgba(60,40,0,.25)); transition: filter .6s ease, opacity .6s ease; }
.cert .inst { font-weight: 500; font-size: 1.3cqw; letter-spacing: .36em; text-transform: uppercase; color: #1f3a5f; margin-top: .7cqw; }
.cert .place { font-weight: 300; font-size: .86cqw; letter-spacing: .32em; text-transform: uppercase; color: #8a7a52; margin-top: .45cqw; }
.cert .ctitle { font-family: var(--serif); font-size: 4.6cqw; line-height: 1; color: #14243b; margin-top: 1.5cqw; }
.cert .cto { font-family: var(--serif); font-style: italic; font-size: 1.5cqw; color: #6b6450; margin-top: 1.1cqw; }
.cert .cname { font-family: var(--serif); font-style: italic; font-size: 4.2cqw; line-height: 1.08; color: #1a2c47; margin-top: .3cqw; padding: 0 5cqw .45cqw; background: linear-gradient(90deg, transparent, #b8913f 18%, #b8913f 82%, transparent) bottom / 100% 1px no-repeat; }
.cert .caw { font-family: var(--serif); font-size: 1.32cqw; line-height: 1.35; color: #3d3b35; margin-top: .9cqw; }
.cert .deg { font-family: var(--serif); font-size: 2.3cqw; line-height: 1.1; color: #14243b; margin-top: .5cqw; }
.cert .given { font-family: var(--serif); font-style: italic; font-size: 1.08cqw; color: #6b6450; margin-top: .9cqw; }
.cert .cfoot { margin-top: auto; width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 4cqw; padding: 0 6cqw; }
.cert .sig { display: grid; justify-items: center; }
.cert .sign { width: 14cqw; height: 3.9cqw; margin-bottom: -.2cqw; transition: opacity .6s ease; }
.cert .sigl { width: 100%; border-top: 1px solid #8b836b; padding-top: .5cqw; font-weight: 400; font-size: .86cqw; letter-spacing: .22em; text-transform: uppercase; color: #5d5a50; }
.cert .serial { position: absolute; right: 10%; top: 12.6%; font-weight: 500; font-size: 1.05cqw; letter-spacing: .14em; color: #c3161e; font-variant-numeric: tabular-nums; }
.cert .qr-box { position: absolute; right: 9.6%; bottom: 12.2%; display: grid; justify-items: center; gap: .45cqw; }
.cert .qr { width: 5.6cqw; height: auto; fill: #1d2433; display: block; background: #fffdf6; padding: .3cqw; border-radius: .2cqw; }
.cert .qr-box small { font-size: .7cqw; letter-spacing: .16em; text-transform: uppercase; color: #6b6450; font-weight: 400; }
.cert .wmark { position: absolute; left: 50%; top: 52%; width: 30cqw; height: 30cqw; translate: -50% -50%; fill: rgba(31,58,95,.045); pointer-events: none; transition: opacity .6s ease; }
.cert .micro { position: absolute; left: 7%; right: 7%; top: 9.2%; font-family: var(--sans); font-weight: 400; font-size: 3px; line-height: 1; white-space: nowrap; overflow: hidden; color: #6b5a2a; }
.cert .micro.b { top: auto; bottom: 9.2%; }
/* Gold foil seal with ribbons; a holographic sheen moves with the pointer (optically variable). */
.foil { position: relative; display: block; width: 9.4cqw; aspect-ratio: 200 / 262; filter: drop-shadow(0 .3cqw .4cqw rgba(60,40,0,.35)); transition: filter .6s ease; }
.foil svg { width: 100%; height: 100%; display: block; }
.foil::after { content: ""; position: absolute; left: 1%; top: .8%; width: 98%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; mix-blend-mode: color-dodge; opacity: .55;
  background: radial-gradient(circle at var(--gx) var(--gy), rgba(255,255,255,.85), transparent 42%), conic-gradient(from var(--fa, 0deg), rgba(255,110,199,.45), rgba(255,211,110,.35), rgba(124,255,155,.4), rgba(110,215,255,.45), rgba(157,123,255,.4), rgba(255,110,199,.45)); }
.specimen { position: absolute; left: 50%; top: 52%; translate: -50% -50%; rotate: -18deg; font-weight: 700; font-size: 9cqw; color: rgba(195,22,30,.06); letter-spacing: .14em; pointer-events: none; }
.cert.uv .cto, .cert.uv .caw, .cert.uv .sigl, .cert.uv .given, .cert.uv .place { color: #433d63; }
.cert.uv .inst, .cert.uv .ctitle, .cert.uv .deg, .cert.uv .cname { color: #5b5480; }
.cert.uv .cname { background-image: linear-gradient(90deg, transparent, #2f2950 18%, #2f2950 82%, transparent); }
.cert.uv .crest, .cert.uv .foil { filter: brightness(.28) saturate(.4); }
.cert.uv .sign { opacity: .25; }
.cert.uv .wmark { opacity: 0; }
.cert.uv .qr { fill: #2f2950; background: transparent; }
.cert canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cert .uvl { opacity: 0; transition: opacity .8s ease; mix-blend-mode: screen; }
.cert .gc { transition: opacity .6s ease, filter .6s ease; }
.uv-hidden { position: absolute; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.uv-emblem { left: 50%; top: 47%; translate: -50% -50%; width: 30%; aspect-ratio: 1; fill: #d7ff3a; filter: drop-shadow(0 0 10px rgba(215,255,58,.8)); transition: opacity .8s ease, fill .6s ease, filter .6s ease; }
.uv-text { right: 8%; top: 50%; translate: 0 -50%; writing-mode: vertical-rl; font-weight: 700; letter-spacing: .5em; font-size: clamp(.6rem, 1.4vw, 1.2rem); color: #7dff9a; text-shadow: 0 0 10px rgba(125,255,154,.9); }
.uv-lamp { inset: 0; background: radial-gradient(80% 70% at 50% -10%, rgba(140, 92, 255, .26), transparent 70%); }
/* UV views follow ICAO Doc 9303-2 Appendix A: UV-dull substrate, invisible fluorescent fibres,
   fluorescent emblem and numbering, and dual-fluorescent ink that changes colour between 365 nm and 254 nm. */
.cert.uv { background: #0e0b1d; color: #4f4870; }
.cert.uv-c { background: #07060d; }
.cert.uv .gc { opacity: .14; filter: saturate(0); }
.cert.uv-a .uvl-a, .cert.uv-c .uvl-c { opacity: 1; }
.cert.uv .uv-emblem { opacity: .95; }
.cert.uv-c .uv-emblem { fill: #ff6b3d; filter: drop-shadow(0 0 10px rgba(255,107,61,.85)); }
.cert.uv-c .uv-text { opacity: 1; }
.cert.uv-a .uv-lamp { opacity: 1; }
.cert .serial { transition: color .6s ease, text-shadow .6s ease; }
.cert.uv .serial { color: #ff5a36; text-shadow: 0 0 6px rgba(255,90,54,.95), 0 0 16px rgba(255,90,54,.55); }
.cert.uv .specimen { color: rgba(255,255,255,.035); }
.cert.uv .micro { color: #2f2950; }
.std-lead { display: block; margin-top: 4px; }
.std-list { display: grid; gap: 5px; margin: 10px 0; }
.std-list > span { position: relative; padding-left: 16px; }
.std-list > span::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #7b5cff; box-shadow: 0 0 0 3px rgba(123,92,255,.18); }
.std-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.std-chips > span { font-family: var(--sans); font-weight: 300; font-size: .64rem; letter-spacing: .05em; padding: 4px 9px; border-radius: 99px; border: 1px solid rgba(123,92,255,.45); color: #7b5cff; white-space: nowrap; }
@media (max-width: 520px) { .seg button { padding: 8px 11px; font-size: .8rem; } }
.hot { position: absolute; z-index: 6; width: 26px; height: 26px; translate: -50% -50%; border-radius: 50%; border: 2px solid var(--yellow); opacity: 0; transform: scale(.4); transition: opacity .3s, transform .5s var(--ease); pointer-events: none; }
.hot::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid var(--yellow); animation: hotp 1.4s ease-out infinite; }
.hot.on { opacity: 1; transform: scale(1); }
@keyframes hotp { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.zoom { position: absolute; z-index: 7; right: 3%; top: 3%; width: 40%; padding: 12px 14px; background: #0b0b0e; color: #fff; border-radius: 12px; opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .5s var(--ease); pointer-events: none; }
.zoom.on { opacity: 1; transform: none; }
.zoom .k { font-family: var(--sans); font-weight: 300; font-size: .6rem; letter-spacing: .1em; color: var(--yellow); text-transform: uppercase; }
.zoom .zm { font-family: var(--sans); font-weight: 300; font-size: .78rem; white-space: nowrap; overflow: hidden; color: #e9d9a8; margin-top: 6px; }
.verify-toast { position: absolute; z-index: 8; left: 50%; bottom: 6%; translate: -50% 0; display: flex; gap: 12px; align-items: center; background: #fff; color: #0b0b0e; padding: 10px 16px 10px 10px; border-radius: 999px; box-shadow: 0 20px 40px rgba(0,0,0,.35); opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .6s var(--ease); pointer-events: none; white-space: nowrap; }
.verify-toast.on { opacity: 1; transform: none; }
.verify-toast i { width: 30px; height: 30px; border-radius: 50%; background: #1f9d55; display: grid; place-items: center; color: #fff; }
.verify-toast i svg { width: 16px; }
.verify-toast b { display: block; font-size: .88rem; }
.verify-toast small { color: #6b6b76; font-size: .74rem; }
.cert .vscan { position: absolute; left: 0; right: 0; height: 22%; top: -25%; background: linear-gradient(to bottom, transparent, rgba(41,171,226,.35), transparent); z-index: 5; pointer-events: none; }
.cert.scanning .vscan { animation: vscan 1.3s var(--ease-io); }
@keyframes vscan { from { top: -25%; } to { top: 105%; } }
.feat { display: grid; gap: 8px; }
.feat button { width: 100%; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 16px; padding: 14px 16px; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; transition: border-color .3s; }
.feat button b { font-weight: 500; }
.feat button .tg { font-family: var(--sans); font-weight: 300; font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--muted); align-self: start; }
.feat button .tg.ov { color: #c77d00; border-color: rgba(251,176,64,.6); }
.feat button .tg.cv { color: #7b5cff; border-color: rgba(123,92,255,.5); }
.feat button .tg.dg { color: var(--blue); border-color: rgba(41,171,226,.5); }
.feat button .fd { grid-column: 1 / -1; color: var(--muted); font-size: .92rem; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.feat button .fd > span { overflow: hidden; }
.feat button[aria-expanded="true"] { border-color: var(--yellow); }
.feat button[aria-expanded="true"] .fd { grid-template-rows: 1fr; }

/* ============ GLOBE ============ */
.globe-sec { position: relative; overflow: hidden; text-align: center; padding-bottom: 0; }
.globe-sec .sec-title { margin-bottom: 0; position: relative; z-index: 2; }
.globe-box { position: relative; height: clamp(300px, 36vw, 480px); margin-top: 30px; }
.globe-box canvas { position: absolute; left: 50%; top: 0; translate: -50% 0; width: min(1000px, 120vw); height: min(1000px, 120vw); }
.globe-box::before { content: ""; position: absolute; left: 50%; top: 2%; translate: -50% 0; width: min(1150px, 135vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, transparent 80%, var(--glow) 88%, transparent 100%); filter: blur(10px); }
.harare-pin { position: absolute; z-index: 3; left: 0; top: 0; width: 0; height: 0; pointer-events: none; transition: opacity .4s ease; will-change: transform; }
.harare-pin b { position: absolute; left: 14px; top: 0; translate: 0 -50%; white-space: nowrap; font-weight: 400; font-size: .76rem; letter-spacing: .02em; color: var(--text); background: var(--chip-bg); border: 1px solid var(--line-2); padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 8px 20px -8px rgba(0,0,0,.25); }
.harare-pin b::before { content: ""; position: absolute; right: 100%; top: 50%; width: 9px; height: 1px; background: var(--red); }
@keyframes pin { to { box-shadow: 0 0 0 14px rgba(210,35,42,0); } }

/* ============ CLIENTS ============ */
.clients-box { border-radius: 36px; background: var(--surface); border: 1px solid var(--line); padding: clamp(36px, 5vw, 64px); }
.cs { --per: 5; --gap: 14px; margin-top: 36px; }
.cs-view { overflow: hidden; padding: 6px; margin: -6px; }
.cs-track { display: flex; gap: var(--gap); list-style: none; margin: 0; padding: 0; will-change: transform; }
.cs-track.anim { transition: transform .9s var(--ease); }
.cs-slide { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); display: grid; gap: 12px; transition: opacity .3s ease; }
.cs-track.fade .cs-slide { opacity: 0; }
.cs-name { text-align: center; font-size: .82rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-inline: 4px; }
.cs-ctrl { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; }
.cs-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background .3s, transform .3s var(--ease); }
.cs-btn:hover { background: var(--surface-2); transform: translateY(-2px); }
.cs-btn svg { width: 17px; height: 17px; }
.cs-pause .i-play { display: none; } .cs-pause[aria-pressed="true"] .i-play { display: block; } .cs-pause[aria-pressed="true"] .i-pause { display: none; }
.cs-dots { display: flex; gap: 6px; align-items: center; }
.cs-dots button { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--line-2); cursor: pointer; overflow: hidden; transition: width .5s var(--ease); }
.cs-dots button::before { content: ""; position: absolute; inset: -8px; }
.cs-dots button.on { width: 30px; }
.cs-dots button.on::after { content: ""; position: absolute; inset: 0; background: var(--red); transform-origin: left; animation: csFill var(--cs-dur, 2.6s) linear both; }
.cs.paused .cs-dots button.on::after { animation: none; transform: none; }
@keyframes csFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.client { aspect-ratio: 3 / 2; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 16px; }
.client img { max-height: 70px; max-width: 100%; width: auto; object-fit: contain; filter: none; opacity: 1; transition: transform .5s var(--ease); }
.client:hover img { transform: scale(1.05); }

/* ============ FAQ ============ */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 0 22px; transition: border-color .3s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-weight: 500; font-size: 1.06rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: transform .4s var(--ease), background .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; background: currentColor; translate: -50% -50%; }
.faq summary i::after { rotate: 90deg; transition: rotate .4s var(--ease); }
.faq details[open] summary i { background: var(--red); border-color: var(--red); color: #fff; }
.faq details[open] summary i::after { rotate: 0deg; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 64ch; }

/* ============ CTA / CONTACT ============ */
.contact-card { position: relative; border-radius: 36px; overflow: hidden; min-height: clamp(560px, 48vw, 700px); display: flex; align-items: center; color: #fff; isolation: isolate; }
.contact-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.contact-card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 0% 100%, rgba(210,35,42,.38), transparent 60%), linear-gradient(90deg, rgba(8,8,10,.95) 0%, rgba(8,8,10,.88) 34%, rgba(8,8,10,.4) 50%, rgba(8,8,10,.06) 64%, rgba(8,8,10,0) 100%); }
.contact-card .cc { position: relative; z-index: 2; padding: clamp(28px, 5vw, 72px); display: grid; gap: 18px; max-width: 700px; justify-items: start; }
.cc-pill { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.07); }
.cc-lines { display: grid; gap: 2px; color: rgba(255,255,255,.76); font-size: 1.08rem; font-weight: 300; }
.contact-card .kicker { color: rgba(255,255,255,.72); }
.cc-h { font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.055em; font-weight: 500; }
.cc-h .serif { color: var(--yellow); }
.contact-card .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.contact-card .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.contact-card .btn-ghost:hover { background: rgba(255,255,255,.1); }
.contact-card .btn-solid { background: #fff; color: #0b0b0e; }
.cc-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .92rem; font-weight: 300; color: rgba(255,255,255,.75); }
.cc-meta a { text-decoration: none; }
.cc-meta a:hover { color: var(--yellow); }
@media (max-width: 760px) {
  .contact-card { align-items: flex-end; min-height: 780px; }
  .contact-card img { object-position: 72% 20%; height: 56%; }
  .contact-card::after { background: linear-gradient(to top, #08080a 44%, rgba(8,8,10,.55) 58%, rgba(8,8,10,0) 72%); }
  .contact-card .acts .btn { width: 100%; justify-content: center; }
}

/* ============ FOOTER ============ */
.footer { padding: clamp(60px, 7vw, 100px) 0 140px; border-top: 1px solid var(--line); margin-top: clamp(60px, 7vw, 100px); }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; }
.foot-top .lockup { height: 56px; }
.foot-top h4 { font-family: var(--sans); font-weight: 300; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-top a { display: block; text-decoration: none; color: var(--text-2); padding: 4px 0; }
.foot-top a:hover { color: var(--red); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .86rem; }

/* ============ FLOATING NAV ============ */
.fnav { position: fixed; z-index: 90; left: 50%; top: var(--fnav-top, 96px); translate: -50% 0; pointer-events: none; width: min(760px, calc(100vw - 24px)); display: grid; justify-items: center; }
.fnav-bar { pointer-events: auto; display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(18, 18, 22, .78); color: #fff; backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); box-shadow: 0 20px 40px -10px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.1); }
:root:not([data-dm="dark"]) .fnav-bar { background: rgba(255,255,255,.82); color: #0b0b0e; box-shadow: 0 20px 40px -14px rgba(0,0,0,.25), inset 0 0 0 1px rgba(0,0,0,.08); }
.fnav-home { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; transition: background .3s; }
.fnav-home svg { width: 18px; height: 18px; }
.fnav-link { height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; text-decoration: none; font-size: .9rem; opacity: .72; transition: opacity .3s, background .3s; white-space: nowrap; }
.fnav-link:hover, .fnav-home:hover { opacity: 1; background: rgba(127,127,140,.16); }
.fnav-link.on { opacity: 1; background: rgba(127,127,140,.2); }
.fnav-more { height: 40px; display: inline-flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; cursor: pointer; font-size: .9rem; opacity: .85; }
.fnav-more:hover { background: rgba(127,127,140,.16); }
.fnav-more .burger { width: 14px; height: 9px; position: relative; }
.fnav-more .burger i { position: absolute; left: 0; right: 0; height: 1.6px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.fnav-more .burger i:nth-child(1) { top: 0; } .fnav-more .burger i:nth-child(2) { top: 7px; }
.fnav.open .fnav-more .burger i:nth-child(1) { top: 3.5px; transform: rotate(45deg); }
.fnav.open .fnav-more .burger i:nth-child(2) { top: 3.5px; transform: rotate(-45deg); }
.fnav-cta { height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: #fff; color: #0b0b0e; text-decoration: none; font-size: .9rem; font-weight: 500; margin-left: 4px; white-space: nowrap; }
:root:not([data-dm="dark"]) .fnav-cta { background: #0b0b0e; color: #fff; }
.fnav-cur { display: none; font-size: .9rem; padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
.fnav-panel { pointer-events: auto; width: 100%; order: 2; margin-top: 10px; border-radius: 26px; padding: 22px; background: rgba(18,18,22,.94); color: #fff; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 30px 60px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.1); transform-origin: 50% 0; transform: translateY(-14px) scale(.97); opacity: 0; visibility: hidden; transition: transform .5s var(--ease), opacity .3s, visibility 0s linear .5s; max-height: calc(100svh - 150px); overflow: auto; }
.fnav.open .fnav-panel { transform: none; opacity: 1; visibility: visible; transition: transform .5s var(--ease), opacity .3s, visibility 0s; }
.fnav-cols { display: grid; grid-template-columns: 1fr 1.3fr; gap: 22px; }
.fnav-cols h4 { font-family: var(--sans); font-weight: 300; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: #8e8e99; margin-bottom: 8px; }
.fnav-cols a { display: grid; grid-template-columns: 28px 1fr; align-items: baseline; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.07); text-decoration: none; font-size: 1.12rem; letter-spacing: -.02em; transition: color .25s, padding .4s var(--ease); }
.fnav-cols a .i { font-family: var(--sans); font-weight: 300; font-size: .66rem; color: #8e8e99; }
.fnav-cols .plain a { grid-template-columns: 1fr; }
.fnav-cols a:hover { color: var(--yellow); padding-left: 6px; }
.fnav-cols a.on { color: var(--red-hi); }
.fnav-foot { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; color: #c9c9d1; }
.fnav-foot a { text-decoration: none; }
.fnav-foot a:hover { color: var(--yellow); }
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.35); opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s linear .4s; }
.scrim.on { opacity: 1; visibility: visible; transition: opacity .4s; }

/* ============ CHAT ============ */
.chat-fab { position: fixed; z-index: 95; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); height: 54px; padding: 0 20px 0 16px; border-radius: 999px; border: 0; background: var(--red); color: #fff; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; box-shadow: 0 16px 34px -10px rgba(210,35,42,.75), inset 0 1px 0 rgba(255,255,255,.25); font-weight: 500; transition: transform .4s var(--ease); }
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab svg { width: 22px; height: 22px; }
.chat-fab .badge { position: absolute; top: -3px; right: -3px; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--bg); }
.chat-fab.hidden { transform: scale(0); }
.chat { position: fixed; z-index: 96; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100svh - 32px)); border-radius: 26px; background: var(--surface); color: var(--text); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -20px rgba(0,0,0,.55); display: grid; grid-template-rows: auto 1fr auto auto; overflow: hidden; transform-origin: 100% 100%; transform: scale(.6) translateY(30px); opacity: 0; visibility: hidden; transition: transform .5s var(--ease), opacity .3s, visibility 0s linear .5s; }
.chat.open { transform: none; opacity: 1; visibility: visible; transition: transform .5s var(--ease), opacity .3s, visibility 0s; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: radial-gradient(120% 140% at 0% 0%, rgba(210,35,42,.3), transparent 60%), var(--surface-2); border-bottom: 1px solid var(--line); }
.chat-head .av { width: 40px; height: 40px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.chat-head .av svg { width: 26px; }
.chat-head b { display: block; font-weight: 600; font-size: .98rem; }
.chat-head small { color: var(--muted); font-size: .8rem; display: flex; align-items: center; gap: 6px; }
.chat-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1fc15e; }
.chat-head .x { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; display: grid; place-items: center; }
.chat-head .x svg { width: 14px; }
.chat-log { overflow-y: auto; padding: 16px; display: grid; gap: 10px; align-content: start; scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: .94rem; line-height: 1.45; animation: msg .4s var(--ease) both; white-space: pre-line; }
.msg.bot { background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; justify-self: start; }
.msg.me { background: var(--red); color: #fff; border-bottom-right-radius: 6px; justify-self: end; }
.msg a { color: inherit; font-weight: 600; }
@keyframes msg { from { opacity: 0; transform: translateY(8px); } }
.typing { display: inline-flex; gap: 4px; padding: 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.quick { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 10px; scrollbar-width: none; }
.quick::-webkit-scrollbar { display: none; }
.quick button { flex: none; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); border-radius: 999px; padding: 7px 12px; font-size: .84rem; cursor: pointer; transition: background .3s, border-color .3s; }
.quick button:hover { border-color: var(--red); }
.chat-foot { border-top: 1px solid var(--line); padding: 10px; display: grid; gap: 8px; }
.chat-form { display: flex; gap: 8px; }
.chat-form input { flex: 1; min-width: 0; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); border-radius: 999px; padding: 0 16px; height: 44px; font: inherit; font-size: .95rem; }
.chat-form input:focus { outline: none; border-color: var(--red); }
.chat-form button { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--red); color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; }
.chat-form button svg { width: 18px; }
.wa-link { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border-radius: 999px; background: #1FAF55; color: #fff; text-decoration: none; font-size: .9rem; font-weight: 500; }
.wa-link svg { width: 16px; height: 16px; }
.wa-note { font-size: .74rem; color: var(--muted); text-align: center; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .split, .nfc-wrap, .sec-grid, .d-head { grid-template-columns: 1fr; }
  .about-l { position: relative; top: 0; }
  .p-card { width: 200px; }
  .mavens-panel { min-height: 700px; }
  .p-card.a, .p-card.c { top: 38%; } .p-card.b, .p-card.d { top: 68%; }
  .p-card.b { left: 4%; } .p-card.d { right: 4%; }
  .cs { --per: 4; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .fnav-link.opt { display: none; }
}
@media (max-width: 760px) {
  .top-r .meta { display: none; }
  .stage { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 44px 16px; padding-top: 0; }
  .stage svg.circuit, .spec { display: none; }
  .card3d-wrap { position: relative; left: auto; top: auto; translate: none; width: 92%; grid-column: 1 / -1; justify-self: center; margin-bottom: 20px; }
  .node { position: relative; left: auto !important; top: auto !important; transform: none; justify-self: center; width: 96px; }
  .node:hover { transform: scale(1.04); }
  .forwho-head { grid-template-columns: 1fr; text-align: center; }
  .forwho-head h2 { text-align: center; }
  .roller { text-align: center; }
  .collage { height: 300px; }
  .collage figure { width: 150px; }
  .collage figure[data-s="0"] { left: calc(50% - 46%); opacity: 0; } .collage figure[data-s="4"] { left: calc(50% + 10%); opacity: 0; }
  .collage figure[data-s="1"] { left: calc(50% - 46%); } .collage figure[data-s="2"] { left: calc(50% - 18%); } .collage figure[data-s="3"] { left: calc(50% + 10%); }
  .collage figure { transition: left .95s var(--ease), transform .95s var(--ease), opacity .6s ease, filter .95s var(--ease); }
  .collage figure.wrap { animation: none; }
  .stack-card .card-in { grid-template-columns: 1fr; }
  .step-viz { min-height: 230px; }
  .mavens-panel { min-height: auto; padding-bottom: 0; }
  .mavens-panel .portrait { position: relative; left: auto; translate: none; margin: 30px auto 0; width: 80%; }
  .p-cards { position: relative; inset: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 20px; }
  .p-card { position: relative; left: auto !important; right: auto !important; top: auto !important; width: auto; }
  .vm-grid, .steps3 { grid-template-columns: 1fr; }
  .fnav-link, .fnav-cta { display: none; }
  .fnav-cur { display: block; }
  .fnav-cols { grid-template-columns: 1fr; gap: 16px; }
  .chat-fab .lbl { display: none; }
  .chat-fab { width: 54px; padding: 0; justify-content: center; }
  .fnav { width: calc(100vw - 24px); }
  .fnav-bar { width: 100%; justify-content: space-between; }
  .foot-top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* grid children may shrink below their content width */
:where(.p-cards, .vm-grid, .steps3, .split, .nfc-wrap, .sec-grid, .d-head, .stage, .forwho-head, .foot-top, .fnav-cols, .card-in, .about-r, .about-l) > * { min-width: 0; }
.client img { width: auto; max-width: 100%; }
@media (max-width: 760px) {
  .cs { --per: 2; --gap: 10px; }
  .p-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-card { padding: 14px; }
  .p-card b { font-size: 1.2rem; }
  .p-card span { font-size: .8rem; }
}

/* refinements */
.hero-copy { padding-top: clamp(28px, 4.5vw, 64px); gap: 20px; }
.hero-copy h1 { max-width: 19ch; font-size: clamp(2.5rem, 5.3vw, 4.8rem); }
.stage { margin-top: clamp(36px, 4.5vw, 60px); }
.pill b { white-space: nowrap; }
.step-txt .tag, .tile .tag { justify-self: start; }
.mavens-panel .portrait { width: clamp(260px, 28vw, 400px); }
.fnav.open ~ .chat-fab { transform: scale(0); }
/* Wide screens: the menu floats in the header row; the header keeps only the logo and theme switch. */
@media (min-width: 961px) {
  .fnav { top: 22px; }
  .top-r .meta { display: none; }
}
/* The menu carries "Get a quote" from tablet up, so the header copy is hidden there. */
@media (min-width: 761px) { .top-r > .btn { display: none; } }
/* Narrower screens: the menu sits just under the header and docks at the top as you scroll. */
@media (max-width: 960px) {
  .hero { padding-top: 150px; }
}
@media (min-width: 761px) and (max-width: 960px) { .p-card { width: 180px; padding: 16px; } .p-card b { font-size: 1.35rem; } }
@media (max-width: 760px) {
  .hero .pill { font-size: .78rem; }
  .mavens-panel { display: flex; flex-direction: column; }
  .mavens-panel .intro { order: 0; }
  .mavens-panel .portrait { order: 1; width: 78%; }
  .mavens-panel .p-cards { order: 3; padding-top: 6px; }
}
@media (max-width: 760px) { .card3d-wrap { order: -1; } }

/* ============ Expandable cards ============ */
.xc { border: 1px solid var(--line); background: var(--surface); border-radius: 18px; transition: border-color .3s, box-shadow .4s var(--ease); }
.xc-h { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: none; border: 0; color: inherit; cursor: pointer; text-align: left; font: inherit; }
.xc-t { display: grid; gap: 4px; min-width: 0; }
.xc-t b { font-weight: 500; font-size: 1rem; letter-spacing: -.01em; }
.xc-ic { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: transform .5s var(--ease), background .3s, color .3s, border-color .3s; }
.xc-ic svg { width: 14px; height: 14px; }
.xc-b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.xc-in { overflow: hidden; }
.xc-in > * { margin-inline: 16px; }
.xc-in > :first-child { margin-top: 2px; }
.xc-in > :last-child { margin-bottom: 16px; }
.xc-in p { color: var(--text-2); font-size: .95rem; line-height: 1.6; margin-block: 0 12px; }
.xc.open { border-color: var(--line-2); box-shadow: var(--shadow); }
.xc.open .xc-b { grid-template-rows: 1fr; }
.xc.open .xc-ic { transform: rotate(45deg); background: var(--btn); color: var(--btn-text); border-color: transparent; }
.xc-story .xc-h { padding: 20px 22px; }
.xc-story .xc-t b { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 500; }
.xc-story .xc-in > * { margin-inline: 22px; }
.xc-story .xc-in > :last-child { margin-bottom: 22px; }
.xc-story .xc-lead { color: var(--text); font-size: clamp(1.02rem, 1.25vw, 1.15rem); }
.xc-story .vm-grid { margin-top: 6px; }
.xc-story .tile { background: var(--surface-2); }
/* demo side columns: small cards beside a 3/4-width live demo */
.demo-side { display: grid; gap: 10px; align-content: start; }
.demo-side .xc-h { padding: 12px 14px; }
.demo-side .xc-t b { font-size: .95rem; }
.demo-side .xc-in > * { margin-inline: 14px; }
.demo-side .xc-in > :last-child { margin-bottom: 14px; }
.demo-side .xc-in p { font-size: .9rem; }
.nfc-app { padding: 10px 12px; gap: 12px; display: grid; grid-template-columns: auto 1fr; align-items: center; }
.nfc-app .ico { width: 32px; height: 32px; border-radius: 10px; }
.nfc-app b { font-size: .92rem; line-height: 1.25; }
.nfc-app .fd { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.nfc-app .fd > small { overflow: hidden; display: block; font-size: .82rem; line-height: 1.45; }
.nfc-app[aria-pressed="true"] .fd { grid-template-rows: 1fr; }
.nfc-app[aria-pressed="true"] .fd > small { padding-top: 4px; }
.feat button { padding: 12px 14px; border-radius: 14px; }
.feat button b { font-size: .92rem; }
.feat button .fd { font-size: .86rem; }
/* Card Personalisation card under Solutions */
.cp-card { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: center; margin-top: clamp(36px, 4vw, 56px); padding: clamp(22px, 3vw, 36px); border-radius: var(--r-lg); border: 1px solid var(--line); text-decoration: none; color: inherit; background: radial-gradient(120% 140% at 100% 0%, rgba(210,35,42,.18), transparent 55%), var(--surface); transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease); }
.cp-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.cp-l { display: grid; gap: 14px; align-content: start; }
.cp-l .tag { justify-self: start; background: var(--red); color: #fff; border-color: transparent; }
.cp-l .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--red); }
.cp-l .ic svg { width: 22px; height: 22px; }
.cp-l p { color: var(--muted); max-width: 52ch; }
.cp-l .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .94rem; }
.cp-l .more svg { width: 16px; transition: transform .4s var(--ease); }
.cp-card:hover .more svg { transform: translateX(4px); }
.cp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: st; }
.cp-steps li { counter-increment: st; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-size: .96rem; }
.cp-steps li::before { content: "0" counter(st); font-size: .74rem; font-weight: 500; color: var(--red); min-width: 2ch; }
@media (max-width: 1080px) {
  .nfc-wrap, .sec-grid { grid-template-columns: 1fr; }
  .nfc-wrap .demo-side { order: 2; } .sec-grid .demo-side { order: 2; }
  .demo-side { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .demo-side > .xc, .demo-side .nfc-specs { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .cp-card { grid-template-columns: 1fr; }
  .demo-side { grid-template-columns: 1fr; }
}

/* ============ Live demo stage at three-quarter width ============ */
@media (min-width: 1081px) {
  .nfc-stage { aspect-ratio: 16 / 10.6; }
  .nfc-obj { left: 10%; top: 8.5%; width: 37.5%; }
  .phone { width: 18.6%; right: 15%; top: 12%; }
}
/* iPhone 18-style: hairline titanium frame, ultra-thin bezel, smaller Dynamic Island */
.phone { aspect-ratio: 72 / 152; border-radius: 17% / 8.1%; padding: .6%;
  background: linear-gradient(135deg, #f3f4f6 0%, #a9adb4 14%, #e6e8eb 30%, #8b9098 52%, #dadde1 74%, #9da1a8 100%);
  box-shadow: 0 40px 70px -14px rgba(0,0,0,.72), 0 12px 22px -8px rgba(0,0,0,.45), 0 0 0 .4px rgba(0,0,0,.6), inset 0 0 0 .4px rgba(255,255,255,.55); }
.phone .bez { border-radius: 16.4% / 7.8%; padding: 1.55%; box-shadow: inset 0 0 0 .5px rgba(255,255,255,.08); }
.phone .scr { border-radius: 15.3% / 7.25%; }
.phone .island { top: 2.3cqw; width: 26.5cqw; height: 7.6cqw; }
.phone .island .lens { width: 4.4cqw; height: 4.4cqw; }
.phone .hw { width: .95cqw; border-radius: .6cqw; background: linear-gradient(90deg, #8a8e95, #e2e4e7 55%, #a3a7ad); }
.phone .act, .phone .vup, .phone .vdn { left: -.62cqw; }
.phone .pwr { right: -.62cqw; }
.phone .cam { right: -.5cqw; top: 54%; height: 7.5%; width: .8cqw; background: linear-gradient(90deg, #6f737a, #c9ccd0 50%, #6f737a); }
.phone .ant { width: 1.1%; height: .35%; }
.phone .home { bottom: 1.8cqw; width: 33cqw; height: 1.2cqw; }
/* thin frame: padding in px so it stays hairline whatever the stage size */
.phone { padding: max(1.6px, .2%); }
/* calendar detail: Easter holidays and event dots */
.cal .grid .hol { color: #c3161e; }
.cal .grid .hol::after { content: attr(data-n); position: absolute; left: 0; right: 0; bottom: .35cqw; font-size: 1.15cqw; line-height: 1; letter-spacing: .02em; color: #c3161e; font-weight: 500; white-space: nowrap; }
.cal .grid .dot::after { content: ""; position: absolute; left: 50%; bottom: .9cqw; width: .9cqw; height: .9cqw; translate: -50% 0; border-radius: 50%; background: #29ABE2; }
/* promo detail: holographic strip, perforated stub, serial */
.promo .holo { position: absolute; right: 6cqw; top: 21cqw; width: 8.5cqw; height: 30cqw; border-radius: 1cqw; opacity: .9; mix-blend-mode: screen;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.35) 0 .22cqw, transparent .22cqw .66cqw), linear-gradient(165deg, #9fe6ff, #f5b8ff 22%, #fff1b0 42%, #a8ffd8 62%, #c4ccff 82%, #ffb8d9);
  background-size: 100% 100%, 100% 260%; animation: holoShift 6s ease-in-out infinite alternate; box-shadow: inset 0 0 0 .25cqw rgba(255,255,255,.45); }
@keyframes holoShift { to { background-position: 0 0, 0 100%; } }
.promo .perf { position: absolute; left: 0; right: 0; bottom: 23cqw; border-top: .35cqw dashed rgba(255,255,255,.38); }
.promo .perf::before, .promo .perf::after { content: ""; position: absolute; top: -2.4cqw; width: 4.4cqw; height: 4.4cqw; border-radius: 50%; background: #1d1c1f; }
.promo .perf::before { left: -2.2cqw; } .promo .perf::after { right: -2.2cqw; }
.promo .p-serial { position: absolute; right: 7cqw; bottom: 4cqw; font-size: 1.8cqw; letter-spacing: .18em; opacity: .72; font-variant-numeric: tabular-nums; }
/* mini certificate detail: QR and a holographic patch */
.mcert .m-qr { position: absolute; right: 9cqw; bottom: 8.5cqw; width: 10cqw; height: 10cqw; background: #fff; padding: .6cqw; border-radius: .5cqw; }
.mcert .m-qr svg { width: 100%; height: 100%; display: block; }
.mcert .m-holo { position: absolute; left: 9cqw; bottom: 9cqw; width: 9cqw; height: 9cqw; border-radius: 50%; opacity: .9;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.5) 0 4deg, transparent 4deg 12deg), linear-gradient(135deg, #b9ecff, #f3c2ff 30%, #fff0b8 55%, #b8ffdf 80%); box-shadow: 0 0 0 .3cqw rgba(184,145,63,.55); }
/* phone result extras */
.phone .res .media .scrub { position: absolute; left: 4cqw; right: 4cqw; bottom: 3cqw; height: .9cqw; border-radius: 99px; background: rgba(255,255,255,.35); }
.phone .res .media .scrub i { position: absolute; inset: 0 62% 0 0; border-radius: inherit; background: #fff; }
.phone .xd { width: 100%; display: grid; gap: 2.2cqw; margin-top: 1cqw; text-align: left; }
.phone .xd-ev { display: grid; grid-template-columns: auto 1fr auto; gap: 3cqw; align-items: center; padding: 2.6cqw; border-radius: 4cqw; background: #f3f4f6; }
.phone .xd-ev .d { width: 10cqw; border-radius: 2.4cqw; background: #fff; display: grid; text-align: center; box-shadow: 0 .3cqw 1cqw rgba(0,0,0,.08); overflow: hidden; }
.phone .xd-ev .d b { font-size: 4.6cqw; line-height: 1.1; padding-top: .6cqw; }
.phone .xd-ev .d small { font-size: 2.2cqw; text-transform: uppercase; color: #fff; background: #D2232A; letter-spacing: .1em; }
.phone .xd-ev .t { display: grid; line-height: 1.25; } .phone .xd-ev .t b { font-size: 3.5cqw; } .phone .xd-ev .t small { font-size: 2.9cqw; color: #6b6b70; }
.phone .xd-ev .add { font-size: 2.9cqw; font-weight: 600; color: #0a6cff; }
.phone .xd-row { display: flex; justify-content: space-between; font-size: 3cqw; padding: 0 1cqw; color: #6b6b70; } .phone .xd-row b { color: #111; font-weight: 600; }
.phone .xd-bar { display: flex; gap: .55cqw; height: 9cqw; padding: 1.8cqw 3cqw; background: #fff; border-radius: 2cqw; border: 1px solid #e6e6ea; }
.phone .xd-bar i { display: block; background: #111; height: 100%; }
.phone .xd-checks { list-style: none; margin: 0; padding: 2.4cqw 3cqw; display: grid; gap: 1.6cqw; background: #f1faf4; border-radius: 3.4cqw; }
.phone .xd-checks li { position: relative; padding-left: 5cqw; font-size: 3cqw; color: #145c34; }
.phone .xd-checks li::before { content: ""; position: absolute; left: 0; top: 50%; width: 3.2cqw; height: 3.2cqw; translate: 0 -50%; border-radius: 50%; background: #1f9d55 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3'/%3E%3C/svg%3E") center / 80% no-repeat; }
.phone .xd-row { align-items: baseline; } .phone .xd-row > * { display: inline; margin: 0; line-height: 1.3; }
.mcert .m-holo { left: 8.5cqw; top: 8.5cqw; bottom: auto; width: 8cqw; height: 8cqw; }
/* ============ Certificate colourways, colour-shifting ink, blind emboss ============ */
@property --tx { syntax: '<number>'; inherits: true; initial-value: .5; }
.cert { --ink: #1f3a5f; --ink-d: #14243b; --acc: #b8913f; --acc-d: #8a7a52; --paper: #FBF7EC; --paper-2: #f9f2e1; --paper-3: #eee2c4;
  background-color: var(--paper); background-image: var(--paper-grain), radial-gradient(120% 95% at 50% 40%, #fffdf8 0%, var(--paper-2) 62%, var(--paper-3) 100%); }
.cert[data-theme="burgundy"] { --ink: #6b1b2a; --ink-d: #4a0f1b; --acc: #b48a3c; --acc-d: #8b6a3a; --paper: #fbf6ef; --paper-2: #f6eadb; --paper-3: #e9d6bd; }
.cert[data-theme="emerald"] { --ink: #165a43; --ink-d: #0c3a2b; --acc: #b0903f; --acc-d: #7c7148; --paper: #f8f8ef; --paper-2: #eef0df; --paper-3: #dde3c8; }
.cert[data-theme="royal"] { --ink: #1f4a9c; --ink-d: #122f66; --acc: #8f99a8; --acc-d: #6d7684; --paper: #f7f9fc; --paper-2: #eaf0f7; --paper-3: #d7e0ec; }
.cert[data-theme="onyx"] { --ink: #26262b; --ink-d: #0f0f12; --acc: #b06a3b; --acc-d: #8a5a3a; --paper: #faf7f2; --paper-2: #f1ebe2; --paper-3: #e2d8ca; }
.cert .inst { color: var(--ink); } .cert .place { color: var(--acc-d); }
.cert .ctitle, .cert .deg { color: var(--ink-d); text-shadow: 0 .04cqw 0 rgba(255,255,255,.7), 0 -.03cqw 0 rgba(0,0,0,.18); }
.cert .cname { color: var(--ink-d); background: linear-gradient(90deg, transparent, var(--acc) 18%, var(--acc) 82%, transparent) bottom / 100% 1px no-repeat; }
.cert.retint .gc { animation: retint .7s var(--ease); }
@keyframes retint { from { opacity: .2; } to { opacity: 1; } }
.cert.uv .ctitle, .cert.uv .deg { text-shadow: none; }
.ovi { position: absolute; left: 12.2%; top: 11.6%; width: 5.4cqw; display: grid; justify-items: center; gap: .2cqw; z-index: 2;
  color: hsl(calc(150 + var(--tx) * 150) 62% 36%); animation: oviIdle 5s ease-in-out infinite alternate; transition: color .25s linear; }
.ovi svg { width: 5.4cqw; height: 5.4cqw; filter: drop-shadow(0 .05cqw .05cqw rgba(0,0,0,.25)); }
.ovi small { font-size: .62cqw; letter-spacing: .3em; color: var(--acc-d); font-weight: 500; }
.cert.tilting .ovi { animation: none; }
@keyframes oviIdle { from { --tx: .05; } to { --tx: .95; } }
.cert.uv .ovi { opacity: .25; filter: grayscale(1); }
.blind { position: absolute; left: 17%; bottom: 15.5%; width: 9cqw; height: 9cqw; border-radius: 50%; z-index: 1;
  box-shadow: inset .18cqw .18cqw .3cqw rgba(255,255,255,.95), inset -.18cqw -.18cqw .3cqw rgba(110,90,40,.28), .1cqw .1cqw .2cqw rgba(110,90,40,.12);
  background: radial-gradient(circle, transparent 52%, rgba(110,90,40,.05) 53%, transparent 56%); }
.blind span { position: absolute; inset: 0; display: grid; place-items: center; font-size: .5cqw; letter-spacing: .12em; color: rgba(110,90,40,.25); text-align: center; padding: 1.4cqw; line-height: 1.3; }
.cert.uv .blind { opacity: .15; }
.swatches { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.swatches button { width: 26px; height: 26px; border-radius: 50%; border: 0; cursor: pointer; background: conic-gradient(var(--s1) 0 62%, var(--s2) 62% 100%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); transition: transform .3s var(--ease), box-shadow .3s; }
.swatches button:hover { transform: scale(1.1); }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--text); }
/* seamless collage: positions are driven per frame by JS */
.collage.live figure { left: calc(50% - clamp(170px, 21vw, 300px) / 2); top: 6%; transition: none; will-change: transform, opacity; animation: none; }
@media (max-width: 760px) { .collage.live figure { left: calc(50% - 75px); } }
.collage.live figure figcaption { opacity: 1; }
/* seamless client stream */
.cs-track { transition: none !important; }
.cs-view { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
/* ============ Red panel value cards: entrance, float, parallax, icon motion ============ */
.p-card { --px: 0; --py: 0; transform: translate3d(calc(var(--px) * var(--dp, 10px)), calc(var(--py) * var(--dp, 10px)), 0); transition: transform .7s var(--ease), opacity .9s ease, filter .9s ease, border-color .4s, background .4s; animation: pFloat 7s ease-in-out infinite; }
.p-card.a { --dp: 14px; animation-delay: -1s; } .p-card.b { --dp: 9px; animation-delay: -3.4s; animation-duration: 8s; }
.p-card.c { --dp: 12px; animation-delay: -2.2s; animation-duration: 7.6s; } .p-card.d { --dp: 8px; animation-delay: -5s; animation-duration: 8.4s; }
@keyframes pFloat { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -8px; rotate: .5deg; } }
.p-card:hover { border-color: rgba(255,255,255,.28); background: rgba(10,10,12,.82); }
.p-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.08) 48%, transparent 60%) -200% 0 / 250% 100% no-repeat; animation: pSheen 6.5s ease-in-out infinite; }
.p-card.b::after { animation-delay: 1.6s; } .p-card.c::after { animation-delay: 3.2s; } .p-card.d::after { animation-delay: 4.8s; }
@keyframes pSheen { 0%, 55% { background-position: -200% 0; } 85%, 100% { background-position: 200% 0; } }
.js .mavens-panel:not(.in) .p-card { opacity: 0; filter: blur(6px); }
.js .mavens-panel:not(.in) .p-card.a, .js .mavens-panel:not(.in) .p-card.b { transform: translate3d(-70px, 24px, 0); }
.js .mavens-panel:not(.in) .p-card.c, .js .mavens-panel:not(.in) .p-card.d { transform: translate3d(70px, 24px, 0); }
.mavens-panel.in .p-card.a { transition-delay: .1s; } .mavens-panel.in .p-card.c { transition-delay: .25s; } .mavens-panel.in .p-card.b { transition-delay: .4s; } .mavens-panel.in .p-card.d { transition-delay: .55s; }
.mavens-panel.in.settled .p-card { transition-delay: 0s; transition-duration: .7s; }
.p-card svg * { transform-box: view-box; transform-origin: 12px 12px; }
.p-card .hand-m { animation: handM 6s linear infinite; } .p-card .hand-h { animation: handM 36s linear infinite; }
@keyframes handM { to { rotate: 360deg; } }
.p-card .star { transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out infinite; }
.p-card .spark { opacity: 0; animation: spark 3.2s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { scale: 1; rotate: 0deg; } 45% { scale: 1.16; rotate: 14deg; } }
@keyframes spark { 0%, 30%, 70%, 100% { opacity: 0; } 45% { opacity: 1; } }
.p-card .w1, .p-card .w2, .p-card .w3 { animation: wave 2.4s ease-in-out infinite; }
.p-card .w2 { animation-delay: .25s; } .p-card .w3 { animation-delay: .5s; }
@keyframes wave { 0%, 100% { opacity: .25; } 30% { opacity: 1; } }
.p-card .tick { stroke-dasharray: 22; stroke-dashoffset: 22; animation: tick 3.6s var(--ease) infinite; }
@keyframes tick { 0% { stroke-dashoffset: 22; } 35%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -22; } }
@media (prefers-reduced-motion: reduce) {
  .p-card, .p-card::after, .p-card svg * { animation: none !important; }
  .js .mavens-panel:not(.in) .p-card { opacity: 1; filter: none; transform: none; }
  .p-card .tick { stroke-dashoffset: 0; } .p-card .w1, .p-card .w2, .p-card .w3 { opacity: 1; }
}

.viz-scene { min-height: 340px; }
.viz-scene .scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.viz-scene .num { z-index: 2; }
#for-who { overflow-x: clip; }
/* iPhone wallpaper in Design Mavens colours: brand blue, red and yellow light over the dark base */
.phone .scr { background:
  radial-gradient(58% 34% at 16% 12%, rgba(41,171,226,.95) 0%, rgba(41,171,226,0) 72%),
  radial-gradient(70% 42% at 96% 50%, rgba(210,35,42,.95) 0%, rgba(210,35,42,0) 72%),
  radial-gradient(62% 36% at 8% 94%, rgba(251,176,64,.9) 0%, rgba(251,176,64,0) 72%),
  radial-gradient(40% 24% at 60% 78%, rgba(232,52,59,.35) 0%, transparent 70%),
  linear-gradient(165deg, #0f1420 0%, #0a0a0e 55%, #150a0c 100%); }
.cert-note:empty { display: none; }
/* ============ Our story: tabs, moving image stack, counters ============ */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(70px, 8vw, 120px); }
.story-media { position: relative; height: clamp(380px, 38vw, 540px); perspective: 1200px; --rx: 0deg; --ry: 0deg; }
.story-media .sm { position: absolute; margin: 0; width: 64%; height: 76%; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform 1.1s var(--ease), filter 1.1s var(--ease), z-index 0s .45s; }
.story-media .sm img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.story-media .a { left: 0; top: 4%; } .story-media .b { right: 0; bottom: 2%; }
.story-media[data-tab="0"] .a { z-index: 2; transform: rotateX(var(--rx)) rotateY(var(--ry)) rotate(-2.5deg); }
.story-media[data-tab="0"] .b { z-index: 1; transform: translate(-4%, -2%) rotate(4deg) scale(.9); filter: brightness(.86) saturate(.9); }
.story-media[data-tab="1"] .b { z-index: 2; transform: rotateX(var(--rx)) rotateY(var(--ry)) rotate(2deg) scale(1.04); }
.story-media[data-tab="1"] .a { z-index: 1; transform: translate(6%, 4%) rotate(-6deg) scale(.88); filter: brightness(.86) saturate(.9); }
.story-media[data-tab="2"] .a { z-index: 1; transform: translate(-3%, 8%) rotate(-7deg) scale(.92); }
.story-media[data-tab="2"] .b { z-index: 2; transform: rotateX(var(--rx)) rotateY(var(--ry)) translate(2%, -6%) rotate(6deg) scale(.96); }
.story-media .sm:hover img { transform: scale(1.1); }
.sm-pin { position: absolute; left: 4%; bottom: 0; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .82rem; font-weight: 500; animation: pinBob 5s ease-in-out infinite; }
.sm-pin i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(232,52,59,.6); animation: pinPulse 2s ease-out infinite; }
@keyframes pinPulse { to { box-shadow: 0 0 0 10px rgba(232,52,59,0); } }
@keyframes pinBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
.story-main { display: grid; gap: 22px; align-content: start; }
.story-tabs { display: inline-flex; gap: 6px; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); justify-self: start; }
.story-tabs button { position: relative; overflow: hidden; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: .95rem; font-weight: 500; padding: 10px 20px; border-radius: 999px; cursor: pointer; transition: color .3s, background .4s var(--ease); }
.story-tabs button[aria-selected="true"] { background: var(--btn); color: var(--btn-text); }
.story-tabs .bar { position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; }
.story-tabs button[aria-selected="true"] .bar { animation: storyBar var(--story-dur, 6.5s) linear forwards; }
.story.paused .story-tabs .bar { animation-play-state: paused; }
@keyframes storyBar { to { transform: scaleX(1); } }
.story-panels { display: grid; min-height: 9.5em; }
.story-panels .sp { grid-area: 1 / 1; }
.story-panels .sp[hidden] { display: none; }
.sp-big { font-size: clamp(1.3rem, 2.1vw, 1.85rem); line-height: 1.3; letter-spacing: -.02em; color: var(--text); font-weight: 400; margin: 0 0 12px; }
.sp-small { color: var(--muted); margin: 0; }
.sp .w { display: inline-block; opacity: 0; transform: translateY(.45em); filter: blur(4px); transition: opacity .6s var(--ease), transform .7s var(--ease), filter .6s var(--ease); transition-delay: calc(var(--i) * 28ms); }
.sp.show .w { opacity: 1; transform: none; filter: none; }
.sp-small { opacity: 0; transition: opacity .8s ease .5s; } .sp.show .sp-small { opacity: 1; }
.story-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.story-facts div { padding: 16px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 2px; }
.story-facts b { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.story-facts span { color: var(--muted); font-size: .86rem; }
.story-quote { margin: 0; padding: 18px 20px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); display: grid; gap: 12px; }
.story-quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.3; }
.story-quote figcaption { display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.story-quote .av { width: 36px; height: 36px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; }
.story-quote .av svg { width: 22px; }
.story-quote figcaption b { display: block; font-weight: 600; } .story-quote figcaption small { color: var(--muted); }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; }
  .story-media { height: clamp(300px, 80vw, 440px); }
}
@media (max-width: 760px) {
  .story-tabs button { padding: 9px 16px; }
  .story-facts div { padding: 12px; }
  .story-facts span { font-size: .78rem; }
}
@media (prefers-reduced-motion: reduce) {
  .sp .w { opacity: 1; transform: none; filter: none; transition: none; } .sp-small { opacity: 1; }
  .sm-pin, .sm-pin i { animation: none; } .story-tabs .bar { display: none; }
}

/* ============ v17: restructure from the client's suggestions ============ */
/* Home: the red panel opens the page */
.home-sec { padding-top: clamp(6px, 1.5vw, 18px); padding-bottom: clamp(30px, 4vw, 56px); }
@media (max-width: 960px) { .home-sec { padding-top: 70px; } }
.globe-sec { padding-top: clamp(40px, 5vw, 70px); }
/* the four core solutions on the red panel keep every effect; they are now links */
a.p-card { color: #fff; text-decoration: none; cursor: pointer; }
.p-card b { font-size: clamp(1.12rem, 1.45vw, 1.34rem); line-height: 1.15; }
a.p-card:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.p-card .chipb { animation: chipBlink 2.6s ease-in-out infinite; }
@keyframes chipBlink { 0%, 100% { opacity: .35; } 40%, 60% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .p-card .chipb { animation: none; opacity: 1; } }
/* Card Personalisation now lives under Solutions */
.cp-hero { margin-top: 0; padding-top: clamp(30px, 4vw, 56px); }
@media (max-width: 960px) { .hero.cp-hero { padding-top: 30px; } }
.cp-hero .hero-copy { padding-top: 0; }
.cp-hero .d-num { justify-content: center; }
.sol-index { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.sol-index a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--text); font-size: .9rem; transition: border-color .3s, transform .4s var(--ease); }
.sol-index a:hover { border-color: var(--red); transform: translateY(-2px); }
.sol-index i { font-style: normal; font-size: .72rem; color: var(--red); font-weight: 600; }
.sol-intro { padding-bottom: 0; }
/* 04 Creative & Communication: service cards without demos */
.cc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cc-card { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.cc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cc-card figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.cc-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.cc-card:hover img { transform: scale(1.05); }
.cc-txt { padding: 20px 22px 24px; display: grid; gap: 8px; align-content: start; }
.cc-txt .tag { justify-self: start; }
.cc-txt h3 { font-size: 1.22rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.cc-txt p { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .cc-grid { grid-template-columns: 1fr; } .cc-card { grid-template-columns: 40% 1fr; grid-template-rows: none; } .cc-card figure { aspect-ratio: auto; height: 100%; } }
@media (max-width: 520px) { .cc-card { grid-template-columns: 1fr; } .cc-card figure { aspect-ratio: 16 / 10; } }
/* About Us: four tabs, read-more, values */
.story-tabs { flex-wrap: wrap; }
.story-media[data-tab="3"] .a { z-index: 2; transform: rotateX(var(--rx)) rotateY(var(--ry)) translate(4%, -4%) rotate(-3deg) scale(.95); }
.story-media[data-tab="3"] .b { z-index: 1; transform: translate(-8%, 6%) rotate(5deg) scale(.88); filter: brightness(.86) saturate(.9); }
.story-panels { min-height: 0; }
.sp-label { display: block; font-size: .74rem; font-weight: 300; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.sp-small { line-height: 1.65; }
.sp-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.sp-more-in { overflow: hidden; }
.sp-more-in p { color: var(--text-2); line-height: 1.65; margin: 12px 0 0; }
.sp-more.open { grid-template-rows: 1fr; }
.sp-toggle { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); border-radius: 999px; padding: 9px 16px; font: inherit; font-size: .9rem; cursor: pointer; transition: background .3s; }
.sp-toggle:hover { background: var(--surface-2); }
.sp-toggle svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.sp-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.values li { padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 4px; opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .3s; transition-delay: calc(var(--i) * 60ms); }
.values li:first-child { grid-column: 1 / -1; }
.values li:hover { border-color: var(--red); }
.values b { font-weight: 600; font-size: .98rem; }
.values span { color: var(--muted); font-size: .88rem; line-height: 1.5; }
.sp.show .values li { opacity: 1; transform: none; }
.story-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .values li { opacity: 1; transform: none; transition: none; } }
/* Contact: four ways in, people first */
.contact-card .acts-2x2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 470px; }
.contact-card .acts-2x2 .btn { width: 100%; justify-content: center; }
.contact-card .acts-2x2 .btn svg { width: 17px; height: 17px; }
@media (max-width: 520px) { .contact-card .acts-2x2 { gap: 8px; } .contact-card .acts-2x2 .btn { white-space: normal; text-align: center; line-height: 1.2; min-height: 50px; padding: 10px 10px; font-size: .84rem; gap: 7px; } .contact-card .acts-2x2 .btn svg { width: 15px; height: 15px; flex: none; } }
/* floating nav: Home with a label on wide screens */
.fnav-home { width: auto; min-width: 40px; padding: 0 12px; border-radius: 999px; display: inline-flex; gap: 8px; align-items: center; font-size: .9rem; color: inherit; }
.fnav-home .lbl { opacity: .85; }
.fnav-home.on { background: rgba(127,127,140,.2); }
@media (max-width: 1080px) { .fnav-home { padding: 0; width: 40px; justify-content: center; } .fnav-home .lbl { display: none; } }
/* footer statement on two lines */
.foot-statement { max-width: none; line-height: 1.55; }
/* content protection (deterrent): no text selection, image dragging or callouts; inputs stay usable */
body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, [contenteditable="true"] { -webkit-user-select: text; user-select: text; }
img, svg, canvas, video, picture { -webkit-user-drag: none; user-drag: none; }
@media print { body * { visibility: hidden !important; } body::after { content: "Printing is disabled for designmavens.studio."; visibility: visible; position: fixed; inset: 40% 0 auto; text-align: center; font: 16px/1.4 sans-serif; color: #000; } }
.chat-links { display: grid; gap: 6px; }
.chat-links .mail-link { text-align: center; font-size: .82rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 2px 0; }
.chat-links .mail-link:hover { color: var(--text); }
/* colour-shifting ink mark beside the registrar's signature; hovering it tilts the paper */
.sec-grid > div:first-child { perspective: 1600px; }
.cert { transform: rotateX(var(--tiltX, 0deg)) rotateY(var(--tiltY, 0deg)); transform-style: preserve-3d; transition: transform .7s var(--ease), background-color .6s ease, color .6s ease; }
.cert.ovi-tilt { transition: transform .12s linear, background-color .6s ease, color .6s ease; box-shadow: inset 0 0 0 1px rgba(120,96,40,.18), 0 70px 110px -40px rgba(24,18,6,.65), 0 24px 40px -18px rgba(24,18,6,.4); }
.ovi { left: 36.6%; top: auto; bottom: 13.2%; width: 6cqw; cursor: grab; pointer-events: auto; z-index: 6; }
.ovi svg { width: 6cqw; height: 6cqw; position: relative; }
.ovi-hit { position: absolute; left: 50%; top: 42%; width: 15cqw; height: 15cqw; translate: -50% -50%; border-radius: 50%; }
.ovi::before { content: ""; position: absolute; left: 50%; top: 42%; width: 8cqw; height: 8cqw; translate: -50% -50%; border-radius: 50%; border: .12cqw solid hsl(calc(150 + var(--tx) * 150) 62% 40% / .5); animation: oviHint 2.6s ease-out infinite; pointer-events: none; }
@keyframes oviHint { 0% { scale: .7; opacity: .9; } 100% { scale: 1.5; opacity: 0; } }
.cert.ovi-tilt .ovi::before { animation: none; opacity: 0; }
@media (prefers-reduced-motion: reduce) { .ovi::before { animation: none; } }

/* ===== v18: one spacing scale for every section ===== */
:root {
  --sec-gap: clamp(128px, calc(6.86vw + 101px), 208px); /* visual gap between any two sections */
  --sec-pad: calc(var(--sec-gap) / 2);
  --head-gap: clamp(36px, 4vw, 60px);                    /* heading block to its content */
}
main > .sec, main > .hero, main > .hero.cp-hero { padding-top: var(--sec-pad); padding-bottom: var(--sec-pad); margin-top: 0; margin-bottom: 0; }
main > .sec.home-sec { padding-top: clamp(36px, 4vw, 58px); }
@media (max-width: 960px) { main > .sec.home-sec { padding-top: 86px; } }
main > .sec.globe-sec { padding-bottom: 0; }
main > .sec.sol-intro { padding-bottom: 0; }
main > .hero.cp-hero { padding-top: var(--sec-gap); }
.story { margin-top: 0; }
.footer { margin-top: 0; padding-top: clamp(56px, 6vw, 88px); }

/* story tabs: brand red highlight */
.story-tabs button[aria-selected="true"] { background: var(--red); color: #fff; box-shadow: 0 6px 16px -8px rgba(210,35,42,.7); }
.story-tabs button:not([aria-selected="true"]):hover { color: var(--text); background: rgba(210,35,42,.08); }
.story-tabs .bar { display: none; }
/* globe keeps its original crop; the next section carries the full gap */
main > .sec.globe-sec { padding-bottom: 0; }
main > .sec.globe-sec + .sec { padding-top: var(--sec-gap); }
/* card personalisation: glow fades in instead of starting on a hard line */
.cp-hero .hero-glow:not(.b) { top: -26vw; -webkit-mask-image: linear-gradient(to bottom, transparent 26vw, #000 calc(26vw + 200px)); mask-image: linear-gradient(to bottom, transparent 26vw, #000 calc(26vw + 200px)); }
@media (max-width: 760px) { .cp-hero .stage { padding-bottom: 28px; } }
/* About: images line up with the text and stay in view while reading (wide screens) */
@media (min-width: 901px) {
  .story { align-items: start; }
  .story-media { position: sticky; top: clamp(90px, 12vh, 140px); }
}

/* ===== v18: device tuning ===== */
/* touch screens: comfortable tap targets */
@media (pointer: coarse) {
  .swatches { gap: 8px; padding: 6px; }
  .swatches button { width: 32px; height: 32px; }
  .fnav-foot a { display: inline-block; padding: 10px 2px; }
  .chat-links .mail-link { padding: 10px 0; }
  .chat-links .wa-link { min-height: 44px; }
}


/* keep the card section glow in proportion on wide screens */
.cp-hero .hero-glow:not(.b) { --gt: min(26vw, 460px); top: calc(var(--gt) * -1); width: min(140vw, 2400px); height: min(80vw, 1380px); -webkit-mask-image: linear-gradient(to bottom, transparent var(--gt), #000 calc(var(--gt) + 200px)); mask-image: linear-gradient(to bottom, transparent var(--gt), #000 calc(var(--gt) + 200px)); }
/* short landscape screens (phones turned sideways): compact chat button */
@media (max-height: 500px) and (orientation: landscape) {
  .chat-fab .lbl { display: none; }
  .chat-fab { width: 50px; height: 50px; padding: 0; justify-content: center; }
}

/* ===== v18: flowing background lines =====
   Still layer (CSS): the client's line pattern with the reading-column fade, exactly as the original background.
   Live layer (canvas, tablets and desktops): the same lines redrawn crisp every frame from vector copies while
   they swell and drift and the brand light flows along them (see main.js). Phones, reduced motion and slow
   displays keep the still layer. */
body::before { display: none; }
.bg-flow { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; contain: strict;
  -webkit-mask-image: var(--waves-fade); mask-image: var(--waves-fade); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.bg-flow-lines { position: absolute; inset: 0; }
.bg-flow-lines b { position: absolute; inset: 0; display: block; background: var(--waves-ink); opacity: var(--waves-strength); transition: opacity .6s ease;
  -webkit-mask-image: url("../img/bg-lines.webp"); mask-image: url("../img/bg-lines.webp");
  -webkit-mask-size: cover; mask-size: cover; -webkit-mask-position: center top; mask-position: center top; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
@media (max-width: 760px) { .bg-flow-lines b { -webkit-mask-size: 230% auto; mask-size: 230% auto; } }
.bg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.bg-flow.live .bg-canvas { display: block; }
.bg-flow.live .bg-flow-lines { display: none; }
@media (prefers-contrast: more), (forced-colors: active), print { .bg-flow { display: none; } }

/* ===== v18: small phones ===== */
@media (max-width: 560px) {
  .story-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; gap: 4px; }
  .story-tabs button { padding: 10px 4px; font-size: .9rem; text-align: center; }
}
/* only the smallest phones, where the card text used to spill out; 360 px and up keep the original layout */
@media (max-width: 359px) {
  .mavens-panel .p-cards { gap: 8px; padding-inline: 12px; }
  .p-card { padding: 12px; }
  .p-card b { font-size: clamp(.82rem, 3.9vw, 1.12rem); hyphens: manual; }
  .p-card span { font-size: .76rem; }
}
@media (max-width: 359px) {
  .contact-card .acts-2x2 { grid-template-columns: 1fr; }
  .contact-card .acts-2x2 .btn { min-height: 46px; font-size: .9rem; }
  .pill { font-size: .78rem; }
}
.p-card b .nw { font: inherit; color: inherit; }
.p-card b { hyphens: none; -webkit-hyphens: none; }
@media (max-width: 359px) { .p-card b .nw { display: inline-block; max-width: 100%; } .p-card b { hyphens: manual; -webkit-hyphens: manual; } }
/* tablets: demo side lists use the full width under the live demo */
@media (min-width: 761px) and (max-width: 1080px) {
  .demo-side > * { grid-column: 1 / -1; }
  /* two columns, each the same width as before, so the card text wraps exactly as it did */
  .demo-side .feat, .nfc-l [role="group"] { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; align-items: start; }
}

/* certificate lighting tabs (Daylight, UV-A, UV-C): brand red highlight, as on the story tabs */
.seg button[aria-pressed="true"], .seg button.uv[aria-pressed="true"] { background: var(--red); color: #fff; box-shadow: 0 6px 16px -8px rgba(210,35,42,.7); }
.seg button:not([aria-pressed="true"]):hover { color: var(--text); background: rgba(210,35,42,.08); }
/* hero heading: two lines, "We help brands grow" / "and protect their identity." (phones keep their three-line wrap) */
.mavens-panel h1 .h1-br { display: none; }
@media (min-width: 430px) { .mavens-panel h1 .h1-br { display: inline; } }
/* card personalisation process: plain background behind all five step scenes (no grid lines) */
.step-viz::before { display: none; }
/* certificate guide: what each control does (under the certificate) */
.cert-guide { margin-top: 14px; padding: clamp(14px, 1.6vw, 20px); border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.cg-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 12px; }
.cg-sub { font-size: .8rem; color: var(--muted); }
.cg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cg-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .3s, background-color .3s, transform .3s var(--ease); }
.cg-item:hover { border-color: rgba(210,35,42,.4); background: rgba(210,35,42,.05); }
.cg-item:active { transform: scale(.98); }
.cg-item:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.cg-item.on { border-color: var(--red); background: rgba(210,35,42,.07); }
.cg-ic { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--text); transition: background-color .3s, color .3s, border-color .3s; }
.cg-ic svg { width: 18px; height: 18px; }
.cg-item.on .cg-ic { background: var(--red); border-color: transparent; color: #fff; }
.cg-dots { display: flex; gap: 0; align-items: center; justify-content: center; padding: 0 3px; }
.cg-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); margin-left: -3px; box-shadow: 0 0 0 1.5px var(--surface-2); }
.cg-dots i:first-child { margin-left: 0; }
.cg-t { display: grid; gap: 3px; min-width: 0; }
.cg-t b { font-weight: 500; font-size: .92rem; }
.cg-t > span { font-size: .82rem; line-height: 1.45; color: var(--muted); }
.cg-tip { margin: 10px 2px 0; font-size: .8rem; color: var(--muted); }
/* point at the matching control while an item is hovered or focused */
.cg-hint { position: relative; z-index: 2; animation: cgHint 1.1s ease-in-out infinite; }
.swatches.cg-hint, .seg button.cg-hint, #verifyBtn.cg-hint { border-radius: 999px; }
.ovi.cg-hint { border-radius: 50%; }
@keyframes cgHint { 0%, 100% { box-shadow: 0 0 0 2px rgba(210,35,42,.55), 0 0 0 6px rgba(210,35,42,.12); } 50% { box-shadow: 0 0 0 2px rgba(210,35,42,.9), 0 0 0 9px rgba(210,35,42,.06); } }
@media (prefers-reduced-motion: reduce) { .cg-hint { animation: none; box-shadow: 0 0 0 2px rgba(210,35,42,.8); } }
@media (max-width: 760px) { .cg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .cg-grid { grid-template-columns: 1fr; } }
/* floating menu: current section highlighted in brand red, as on the story and lighting tabs */
.fnav-link.on, .fnav-home.on, .fnav.open .fnav-more { opacity: 1; background: var(--red); color: #fff; box-shadow: 0 6px 16px -8px rgba(210,35,42,.75); }
.fnav-home.on .lbl { opacity: 1; }
.fnav-link:not(.on):hover, .fnav-home:not(.on):hover, .fnav:not(.open) .fnav-more:hover { background: rgba(210,35,42,.12); }
/* footer: Studio column moved a little to the right (four-column layout only) */
@media (min-width: 1081px) { .foot-top > div:nth-child(3) { padding-left: clamp(48px, 5.2vw, 88px); } }

/* ===== footer: privacy link between the copyright line and the domain ===== */
.foot-base a { color: inherit; text-decoration: none; transition: color .25s; }
.foot-base a:hover, .foot-base a[aria-current="page"] { color: var(--red); }

/* ===== chat: spam guards (honeypot field never shown; bot check box only appears if Cloudflare needs a click) ===== */
.chat .hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chat-ts:empty { display: none; }
.chat-ts { display: flex; justify-content: center; margin-bottom: 8px; }

/* ===== privacy policy and error pages (same background, type and footer as the home page) ===== */
body.legal { -webkit-user-select: text; user-select: text; -webkit-touch-callout: default; }
.legal .top .wrap { padding-block: 22px; }
.legal-hero { padding: clamp(28px, 5vw, 72px) 0 clamp(36px, 5vw, 64px); }
.legal-hero .wrap { display: grid; gap: 20px; justify-items: start; }
.legal-hero h1 { margin-top: 4px; }
.legal-hero .serif { color: var(--red-hi); }
.legal-dates { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--muted); }
.legal-dates span { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.legal-glance { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(12px, 2vw, 24px); }
.lg-card { display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 14px 30px -26px rgba(0,0,0,.45); }
.lg-card b { font-weight: 500; font-size: 1rem; letter-spacing: -.01em; }
.lg-card > span:not(.lg-ic) { font-size: .88rem; line-height: 1.45; color: var(--muted); }
.lg-card a { color: var(--red); text-decoration: none; word-break: break-word; }
.lg-ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: rgba(210,35,42,.1); color: var(--red); margin-bottom: 6px; }
.lg-ic svg { width: 19px; height: 19px; }
.legal-body { padding-bottom: var(--sec-pad); }
.legal-layout > * { min-width: 0; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 3.5vw, 56px); align-items: start; }
.legal-toc { position: sticky; top: 28px; display: grid; gap: 12px; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.legal-toc li { counter-increment: toc; }
.legal-toc a { display: grid; grid-template-columns: 26px 1fr; gap: 4px; padding: 7px 10px; border-radius: 10px; text-decoration: none; color: var(--muted); font-size: .88rem; line-height: 1.3; transition: background-color .25s, color .25s; }
.legal-toc a::before { content: counter(toc, decimal-leading-zero); font-size: .72rem; color: var(--red); padding-top: 2px; }
.legal-toc a:hover { color: var(--text); background: rgba(210,35,42,.06); }
.legal-toc a.on { color: #fff; background: var(--red); }
.legal-toc a.on::before { color: rgba(255,255,255,.85); }
.legal-doc { padding: clamp(24px, 4vw, 56px); border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(0,0,0,.35); }
.legal-doc section { scroll-margin-top: 24px; padding-block: clamp(22px, 2.6vw, 34px); border-top: 1px solid var(--line); }
.legal-doc section:first-child { border-top: 0; padding-top: 0; }
.legal-doc section:last-child { padding-bottom: 0; }
.legal-doc h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(1.45rem, 2.2vw, 1.9rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 14px; }
.legal-n { flex: none; font-size: .78rem; font-weight: 500; letter-spacing: .02em; color: #fff; background: var(--red); padding: 4px 9px; border-radius: 999px; transform: translateY(-3px); }
.legal-doc h3 { font-size: 1.02rem; font-weight: 500; margin: 18px 0 8px; }
.legal-doc p, .legal-doc li { font-size: 1rem; line-height: 1.65; color: var(--text-2); max-width: 74ch; }
.legal-doc p + p { margin-top: 12px; }
.legal-doc ul { margin: 6px 0 12px; padding-left: 1.2em; display: grid; gap: 8px; }
.legal-doc li::marker { color: var(--red); }
.legal-doc b { color: var(--text); font-weight: 500; }
.legal-doc a { color: var(--red); text-underline-offset: 3px; }
.legal-doc code { font-size: .9em; padding: 1px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); }
.legal-callout { margin: 16px 0; padding: 18px 20px; border-radius: 18px; background: linear-gradient(135deg, rgba(210,35,42,.1), rgba(210,35,42,.03)); border: 1px solid rgba(210,35,42,.25); display: grid; gap: 4px; }
.legal-callout .lc-mail { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 500; letter-spacing: -.01em; }
.legal-callout .lc-mail a { text-decoration: none; word-break: break-word; }
.legal-table { overflow-x: auto; margin: 14px 0; border-radius: 16px; border: 1px solid var(--line); }
.legal-table table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .92rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 14px; line-height: 1.45; border-bottom: 1px solid var(--line); }
.legal-table th { font-weight: 500; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table td:first-child { color: var(--text); font-weight: 500; }
.legal-table td { color: var(--text-2); }
.legal-rights { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
.nf .nf-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.nf { min-height: 52vh; display: grid; align-content: center; }
@media (max-width: 1080px) { .legal-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; padding: 14px 0 14px 14px; gap: 10px; }
  .legal-toc ol { display: flex; gap: 6px; overflow-x: auto; padding: 0 14px 4px 0; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .legal-toc ol::-webkit-scrollbar { display: none; }
  .legal-toc a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; grid-template-columns: auto auto; gap: 6px; }
}
@media (max-width: 600px) {
  .legal-glance { grid-template-columns: 1fr; gap: 8px; }
  .lg-card { grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; row-gap: 2px; padding: 14px; }
  .lg-card .lg-ic { grid-row: span 2; margin: 0; }
  .legal-rights { grid-template-columns: 1fr; }
  .legal-doc { border-radius: 22px; }
}
@media print {
  body.legal * { visibility: visible !important; }
  body.legal::after { content: none !important; }
  body.legal .bg-flow, body.legal .top, body.legal .legal-toc, body.legal .footer, body.legal .skip { display: none !important; }
  body.legal .legal-layout { grid-template-columns: 1fr; }
  body.legal .legal-doc { box-shadow: none; border: 0; padding: 0; }
}
.legal .top-r > .btn { display: inline-flex; }
