/* ============================================================================
   PDPeptides v4 — homepage scenes.
   Motion start-states live under html.m, which motion.js removes if it
   cannot run: nothing in here can hide content on its own.
   ============================================================================ */

/* held scenes: motion.js wraps each in a .pin block and makes it sticky */
.pin { position: relative; }
.pin > .is-stuck { position: sticky; top: 0; height: 100svh; min-height: 0; }

/* the lab's ground: a faint dot grid, used under the technical sections */
.dots { background-image: radial-gradient(circle at 1px 1px, rgba(205,182,255,.07) 1px, transparent 1.3px); background-size: 28px 28px; }
.ln { display: block; overflow: hidden; padding: .14em 0 .05em; margin: -.14em 0 -.05em; }
.ln > span { display: block; }

/* ── 1 · HERO ───────────────────────────────────────────────────────────── */
.hero {
  position: relative; height: 100svh; min-height: 620px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(52% 62% at 70% 40%, rgba(98,3,160,.5), transparent 70%),
    radial-gradient(30% 40% at 92% 2%, rgba(161,106,255,.4), transparent 70%),
    radial-gradient(50% 44% at 0% 100%, rgba(74,2,121,.42), transparent 70%),
    var(--bg);
}
.hero__stage { position: absolute; inset: 0; z-index: 1; }
.hero__stage .world-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__zone { position: absolute; z-index: -1; pointer-events: none; right: 9%; top: 14%; width: 47%; height: 72%; }
.hero__poster {
  position: absolute; right: 9%; top: 50%; transform: translateY(-46%); width: 46%; max-width: 780px;
  border-radius: var(--r-window); box-shadow: 0 50px 80px -40px rgba(0,0,0,.9), 0 0 120px -20px rgba(139,69,255,.45);
  transition: opacity 1s var(--e);
}
/* with motion on, the photograph is the fallback only (no WebGL, or the
   world failed); while the world loads, a measuring ring holds its place —
   the same ring the 3D scene draws first */
.m .hero__poster { opacity: 0; }
.m.no-world .hero__poster { opacity: 1; }
.m .hero__zone::after {
  content: ""; position: absolute; left: 50%; top: 58%; width: min(62%, 460px); aspect-ratio: 1; transform: translate(-50%, -50%) rotateX(68deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='96' fill='none' stroke='%23a16aff' stroke-opacity='.5'/%3E%3Ccircle cx='100' cy='100' r='88' fill='none' stroke='%23a16aff' stroke-opacity='.35' stroke-dasharray='1 5'/%3E%3C/svg%3E") center/contain no-repeat;
  animation: zone-in 1.2s var(--e-out) .3s both; transition: opacity .8s var(--e);
}
.m.has-world .hero__zone::after, .m.no-world .hero__zone::after { opacity: 0; }
@keyframes zone-in { from { opacity: 0; transform: translate(-50%, -50%) rotateX(68deg) scale(.8); } }
.hero__shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,6,11,.88) 0%, rgba(7,6,11,.62) 28%, rgba(7,6,11,0) 50%),
              linear-gradient(270deg, rgba(7,6,11,.72) 0%, rgba(7,6,11,0) 13%),
              linear-gradient(0deg, rgba(7,6,11,.7) 0%, rgba(7,6,11,0) 22%);
}
/* 01 · headline */
.hero__in { position: absolute; left: 0; right: 0; top: var(--hd-h); bottom: 112px; z-index: 3; display: grid; align-content: center; justify-items: start; gap: 26px; pointer-events: none; }
.hero__in > * { max-width: 640px; pointer-events: auto; }
.hero__h { font-size: min(var(--d-hero), 17.5vh); }
.hero__lede { max-width: 42ch; }
.hero__cta { gap: 14px; }

.hero__chrome { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.hero__chrome .rail { pointer-events: auto; }

/* chapter rail */
.rail { position: absolute; z-index: 4; right: var(--gut); top: 50%; transform: translateY(-50%); display: grid; gap: 26px; justify-items: end; }
.rail__note { text-align: right; line-height: 1.9; color: var(--muted); }
/* the rail sits over a moving scene: a dark halo keeps it legible over any frame */
.rail__note, .rail button { text-shadow: 0 0 6px var(--bg), 0 0 14px var(--bg), 0 0 22px var(--bg); }
.rail ol { position: relative; display: grid; gap: 30px; padding-left: 0; }
.rail ol::before { content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 1px; background: var(--line-2); }
.rail ol::after { content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px; width: 1px; background: var(--electric); box-shadow: 0 0 8px var(--electric);
  transform: scaleY(var(--rail, 0)); transform-origin: top; transition: transform .5s var(--e-out); }
.rail button { position: relative; display: grid; grid-template-columns: 24px auto; column-gap: 14px; align-items: center; text-align: left; font: 500 13px/1.2 var(--f-text); color: var(--muted); transition: color .3s; }
.rail button span { grid-column: 2; font: 500 11px/1 var(--f-mono); color: var(--muted); margin-bottom: 4px; transition: color .3s; }
.rail button i { grid-row: 1 / span 2; width: 23px; height: 23px; border-radius: 50%; display: grid; place-items: center; }
.rail button i::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); transition: background-color .3s, box-shadow .3s, transform .4s var(--e-out); }
.rail button.is-on { color: var(--text); }
.rail button.is-on span { color: var(--lav); }
.rail button.is-on i { box-shadow: inset 0 0 0 1px var(--text); background: rgba(7,6,11,.7); }
.rail button.is-on i::before { background: var(--text); box-shadow: 0 0 10px var(--electric-2); }
.rail button:hover { color: var(--text); }

.hero__cue { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; }
.hero__cue i { position: relative; width: 22px; height: 34px; border-radius: 11px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.hero__cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 2px; height: 6px; margin-left: -1px; border-radius: 1px; background: var(--lav); animation: cue 2s var(--e-io) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
.hero__cue .tl { font-size: var(--t-micro); color: var(--muted); }
.hero__caption { position: absolute; z-index: 3; right: var(--gut); bottom: 26px; max-width: 340px; text-align: right; font-size: var(--t-micro); line-height: 1.5; color: var(--muted); }

/* 02 · inside the box */
.hero__f2 { position: absolute; left: 0; right: 0; top: calc(var(--hd-h) + 5vh); z-index: 3; display: grid; gap: 20px; justify-items: start; pointer-events: none; }
.hero__f2 > * { max-width: 620px; }
.hero__f2 h2 { font-size: min(92px, 9.4vh, 6.4vw); }

/* callouts: a dot on the real part, a leader, a label. Offsets per anchor;
   the leader's length and angle are computed from them. */
.callouts { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.callout { --dx: 70px; --dy: -80px; position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .22s var(--e); will-change: transform; }
.callout[data-anchor="guide"]   { --dx: -110px; --dy: -90px; }
.callout[data-anchor="name"]    { --dx: 90px;   --dy: -76px; }
.callout[data-anchor="pen"]     { --dx: -70px;  --dy: 112px; }
.callout[data-anchor="needles"] { --dx: 90px;   --dy: 90px; }
.callout.is-on { opacity: 1; }
.callout i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(139,69,255,.45), 0 0 18px 4px rgba(139,69,255,.8); }
.callout::after {
  content: ""; position: absolute; left: 0; top: -.5px; height: 1px; background: var(--lav);
  width: hypot(var(--dx), var(--dy)); rotate: atan2(var(--dy), var(--dx)); transform-origin: 0 50%;
  transform: scaleX(0); transition: transform .45s var(--e-out);
}
.callout.is-on::after { transform: scaleX(1); }
.callout span {
  position: absolute; left: var(--dx); top: var(--dy); margin-top: -26px; min-width: 190px; padding: 10px 13px; border-radius: var(--r-cut);
  background: rgba(12,9,18,.9); box-shadow: inset 0 0 0 1px var(--line-2), inset 2px 0 0 var(--electric);
  font: 400 12.5px/1.35 var(--f-text); color: var(--text-2);
  opacity: 0; transform: translateY(6px); transition: transform .5s var(--e-out) .12s, opacity .3s var(--e) .12s;
}
/* no backdrop blur on the callouts: four blurred layers over a moving canvas,
   for a card that is dark enough to read without one */
.callout[data-anchor="guide"] span, .callout[data-anchor="pen"] span { left: auto; right: calc(var(--dx) * -1); box-shadow: inset 0 0 0 1px var(--line-2), inset -2px 0 0 var(--electric); text-align: right; }
.callout.is-on span { opacity: 1; transform: none; }
.callout span b { display: block; font: 500 19px/1.05 var(--f-display); color: var(--text); margin-bottom: 5px; }

/* the load sequence, DOM half: CSS animations on the children, from first
   paint (the scroll timeline owns the frame containers) */
.m .hero [data-in] { animation: hero-in .9s var(--e-out) calc(var(--d, 0) * 1ms) both; }
.m .hero__h .ln > span { animation: hero-line 1.15s cubic-bezier(.16, 1, .3, 1) .16s both; }
.m .hero__h .ln + .ln > span { animation-delay: .28s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(16px); } }
@keyframes hero-line { from { transform: translateY(140%); } }

/* no motion: the film becomes a page — headline, the photograph, inside */
html:not(.m) .hero { height: auto; display: flex; flex-direction: column; padding: calc(var(--hd-h) + 32px) 0 64px; gap: 40px; }
/* width 100%: .wrap's auto margins in a column flexbox would otherwise shrink it to its content and centre it */
html:not(.m) .hero__in, html:not(.m) .hero__f2 { position: static; inset: auto; width: 100%; padding-inline: var(--gut); }
html:not(.m) .hero__in { order: 1; } html:not(.m) .hero__stage { order: 2; position: relative; height: min(56vw, 620px); }
html:not(.m) .hero__f2 { order: 3; }
html:not(.m) .hero__poster { position: absolute; inset: 0; margin: auto; transform: none; width: min(92%, 980px); }
html:not(.m) .hero__shade, html:not(.m) .hero__chrome, html:not(.m) .callouts, html:not(.m) 
@media (max-width: 1199px) and (min-width: 900px) { .hero__in > * { max-width: 540px; } }
@media (max-height: 820px) and (min-width: 900px) {
  .hero__in { gap: 18px; bottom: 96px; }
  .rail ol { gap: 22px; }
  .rail__note { display: none; }
}
@media (max-height: 820px) and (min-width: 900px) {
  .callout[data-anchor="guide"] { --dx: -130px; --dy: -34px; }
}

/* phones: the copy on top, the scene below it */
@media (max-width: 899px) {
  .hero { min-height: 600px; }
  .hero__zone { left: 0; right: 0; top: auto; bottom: 7%; width: auto; height: 40%; }
  .hero__poster { left: 50%; right: auto; top: auto; bottom: 12%; transform: translateX(-50%); width: 92%; }
  .hero__shade { background: linear-gradient(180deg, rgba(7,6,11,.9) 0%, rgba(7,6,11,.78) 40%, rgba(7,6,11,0) 60%); }
  .hero__in { top: calc(var(--hd-h) + 16px); bottom: auto; align-content: start; gap: 14px; }
  .hero__h { font-size: clamp(54px, 16.5vw, 78px); }
  .hero__lede { font-size: 15.5px; }
  .hero__cta .btn { --bh: 50px; padding: 0 18px; font-size: 15px; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn--line { padding: 0 16px; }
  .rail { top: auto; bottom: 86px; right: 12px; transform: none; }
  .rail__note, .rail button { font-size: 0; }
  .rail button span { display: none; }
  .rail ol { gap: 10px; }
  .hero__cue, .hero__caption { display: none; }
  .hero__f2 { top: calc(var(--hd-h) + 14px); gap: 12px; }
  .hero__f2 h2 { font-size: clamp(44px, 13vw, 60px); }
  /* the anchors sit mid-screen on a phone: labels hang inwards and stay short */
  .callout[data-anchor] { --dx: 0px; --dy: -46px; }
  .callout[data-anchor="needles"] { --dy: 46px; }
  .callout[data-anchor="pen"] { --dx: -30px; --dy: 40px; }
  .callout[data-anchor="name"] { --dx: 26px; --dy: -50px; }
  .callout span { min-width: 0; white-space: nowrap; padding: 6px 9px; margin-top: -16px; font-size: 0; left: calc(var(--dx) - 40px) !important; right: auto !important; }
  .callout span b { font-size: 15px; margin: 0; }
}

/* ── 2 · SELECTED PRODUCTS ──────────────────────────────────────────────── */
.s-pick { position: relative; padding-block: var(--sec) calc(var(--sec) * .8); background: var(--bg); }
.s-pick::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 50% at 88% 12%, rgba(98,3,160,.2), transparent 70%); }
.s-pick > .wrap { position: relative; }
.s-pick__head { display: grid; gap: 18px 40px; align-items: end; margin-bottom: clamp(36px, 4.4vw, 64px); }
@media (min-width: 900px) { .s-pick__head { grid-template-columns: 1fr auto; } .s-pick__head .tl { grid-column: 1 / -1; } }
.s-pick__body { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 1000px) { .s-pick__body { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }
.s-pick__fig { display: grid; gap: 12px; }
/* the figure on the site's own dark theme: the transparent cut-out on the
   section's ground, lit from behind by the brand violet, as the 3D box is */
.s-pick__plate { aspect-ratio: 882 / 836; border-radius: var(--r-cut);
  background: radial-gradient(58% 52% at 50% 56%, rgba(139,69,255,.34), rgba(98,3,160,.12) 55%, transparent 75%), var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line), 0 50px 90px -50px rgba(139,69,255,.75); }
.s-pick__plate::after { content: none; }
/* padding keeps the image at or below its 882 px */
.s-pick__plate > img { padding: max(1%, calc(50% - 441px)); }
.s-pick__fig figcaption { font: 400 12.5px/1.5 var(--f-text); color: var(--muted); }
.s-pick__list { display: grid; border-top: 1px solid var(--line-2); }
.prow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 6px 24px;
  padding: clamp(18px, 2.2vw, 28px) 12px; border-bottom: 1px solid var(--line-2); transition: background-color .3s var(--e); }
.prow__id { display: grid; gap: 6px; min-width: 0; }
.prow__cat { font: 500 13px/1.3 var(--f-text); letter-spacing: 0; color: var(--lav); }
.prow__name { font: 500 clamp(28px, 2.5vw, 40px)/1 var(--f-display); transition: color .25s; letter-spacing: -.01em; }
.prow__name a::after { content: ""; position: absolute; inset: 0; }
.prow__sizes { font: 500 12.5px/1.4 var(--f-mono); color: var(--text-2); }
.prow .price { white-space: nowrap; font-size: 24px; }
.prow .btn { position: relative; z-index: 1; }
@media (hover: hover) { .prow:hover { background: var(--violet-wash); } .prow:hover .prow__name { color: var(--lav); } }
@media (max-width: 640px) {
  .prow { grid-template-columns: minmax(0, 1fr) auto; padding-inline: 4px; }
  .prow .price { grid-column: 2; grid-row: 1; align-self: start; font-size: 20px; }
  .prow .btn { grid-column: 1 / -1; justify-self: start; }
}

/* ── VERIFICATION CHAIN (quality, research) ─────────────────────────────── */
.s-chain { position: relative; overflow: hidden; padding-block: var(--sec) calc(var(--sec) * .8); background: var(--bg); }
/* the dot grid fades out by painting the background colour over its edges —
   not with a CSS mask, which cost a one-off ~300 ms raster the first time the
   section came on screen */
.s-chain::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 60%, transparent 0%, var(--bg) 100%),
              radial-gradient(circle at 1px 1px, rgba(205,182,255,.07) 1px, transparent 1.3px) 0 0 / 28px 28px; }
.s-chain > .wrap { position: relative; }
.s-chain__top { display: grid; gap: var(--s5) var(--s8); align-items: end; margin-bottom: clamp(44px, 6vw, 92px); }
@media (min-width: 1000px) { .s-chain__top { grid-template-columns: 1.1fr 1fr; } }
.s-chain__head, .s-chain__aside { display: grid; gap: 18px; align-content: start; }
.s-chain__row { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.s-chain__line { position: absolute; left: 0; right: 0; top: 19px; height: 1px; }
.s-chain__line::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(205,182,255,.3) 0 3px, transparent 3px 9px); }
.s-chain__line i { position: absolute; inset: -.5px 0; background: var(--electric-2); box-shadow: 0 0 10px var(--electric); transform-origin: left; transform: scaleX(var(--draw, 1)); }
.m .s-chain__line i { --draw: 0; }
.node { position: relative; display: grid; gap: 20px; align-content: start; }
.node__hex {
  position: relative; width: 34px; height: 38px; background: #3a3148;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 38'%3E%3Cpath d='M17 1 33 10v18L17 37 1 28V10z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 38'%3E%3Cpath d='M17 1 33 10v18L17 37 1 28V10z'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: background-color .5s var(--e), transform .6s var(--e-out);
}
.node.is-on .node__hex { background: var(--electric-2); transform: scale(1.12); }
.node--empty .node__hex { -webkit-mask: none; mask: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 38'%3E%3Cpath d='M17 2 32 10.5v17L17 36 2 27.5v-17z' fill='%2307060b' stroke='%23a16aff' stroke-width='1.4' stroke-dasharray='3 3'/%3E%3C/svg%3E") center/contain no-repeat; }
.node--empty.is-on .node__hex { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 38'%3E%3Cpath d='M17 2 32 10.5v17L17 36 2 27.5v-17z' fill='%2307060b' stroke='%23a16aff' stroke-width='1.4' stroke-dasharray='3 3'/%3E%3C/svg%3E") center/contain no-repeat; transform: scale(1.12); }
.node__card { padding: 18px 18px 20px; border-radius: var(--r-cut); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-2); font-size: 14.5px; line-height: 1.5; transition: box-shadow .5s; }
.node.is-on .node__card { box-shadow: inset 0 1px 0 var(--electric-2), inset 0 0 0 1px var(--line-2); }
.node--empty .node__card { background: transparent; box-shadow: inset 0 0 0 1px var(--line); }
.node__card b { display: block; font: 500 24px/1.05 var(--f-display); color: var(--text); margin-bottom: 10px; }
.node__card strong { color: var(--text); font-weight: 600; }
.node__state { display: inline-block; margin-top: 14px; font: 500 12.5px var(--f-text); letter-spacing: .01em; color: var(--lav); }
.node--empty .node__state { color: var(--muted); }
.codecheck { display: grid; grid-template-columns: 1fr auto; gap: 10px; max-width: 560px; }
.codecheck .input { font-family: var(--f-mono); letter-spacing: .08em; height: 56px; }
.codecheck__out { grid-column: 1 / -1; color: var(--text-2); min-height: 1.4em; }
.codecheck__out b { color: var(--text); }
@media (max-width: 999px) {
  .s-chain__row { grid-template-columns: 1fr; gap: 14px; padding-left: 50px; }
  .s-chain__line { left: 16px; right: auto; top: 10px; bottom: 10px; width: 1px; height: auto; }
  .s-chain__line::before { background: repeating-linear-gradient(180deg, rgba(205,182,255,.3) 0 3px, transparent 3px 9px); }
  .s-chain__line i { inset: 0 -.5px; transform-origin: top; transform: scaleY(var(--draw, 1)); }
  .node__hex { position: absolute; left: -51px; top: 12px; width: 30px; height: 34px; }
}
@media (max-width: 560px) { .codecheck { grid-template-columns: 1fr; } }

/* ── 3 · STATEMENT — the label (typographic moment) ─────────────────────── */
.s-label { position: relative; overflow: hidden; background: var(--bg); }
.s-label::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 55%, rgba(98,3,160,.32), transparent 70%); }
.s-label__stage { position: relative; min-height: 100svh; display: grid; place-content: center; justify-items: start; gap: clamp(18px, 2.6vh, 30px); padding: calc(var(--hd-h) + 16px) var(--gut) 40px; }
.s-label__say { display: grid; gap: 14px; }
.s-label__say h2 { font-size: min(var(--d-1), 10vh); }
.s-label__block {
  width: min(88vw, 1320px); background: var(--violet); color: #fff; border-radius: clamp(10px, 1.2vw, 18px);
  padding: clamp(14px, 1.6vw, 26px) clamp(20px, 2.6vw, 42px) clamp(14px, 1.6vw, 24px); overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 40px 120px -40px rgba(139,69,255,.9);
}
.s-label__names { height: var(--nh); overflow: hidden; --nh: clamp(78px, 13.5vw, 224px); }
.s-label__names ol { display: grid; }
.s-label__names li {
  height: var(--nh); display: flex; align-items: center; white-space: nowrap; overflow: visible;
  font: 800 calc(var(--nh) * .96)/1 var(--f-label); text-transform: uppercase; letter-spacing: .005em; font-feature-settings: normal;
}
.s-label__sub { margin-top: clamp(4px, .6vw, 10px); font: 800 clamp(14px, 1.7vw, 30px)/1 var(--f-label); letter-spacing: .08em; text-transform: uppercase; opacity: .9; font-feature-settings: normal; }
.s-label__foot { width: min(88vw, 1320px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 14px 40px; }
.s-label__foot > p:first-child { display: flex; align-items: baseline; gap: 14px; font: 500 13px var(--f-mono); color: var(--muted); }
.s-label__foot > p:first-child > span:first-child { font: 600 30px/1 var(--f-display); color: var(--text); font-variant-numeric: tabular-nums; }
.s-label__ro { margin-left: 18px; font: 500 11px/1 var(--f-text); letter-spacing: var(--track); text-transform: uppercase; color: var(--lav); }
.s-label__more { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 22px; max-width: 60ch; color: var(--text-2); }
@media (max-width: 560px) { .s-label__ro { display: none; } }

/* ── 4 · TRUST ──────────────────────────────────────────────────────────── */
.s-trust { background: var(--bg-2); box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); padding-block: clamp(56px, 7vw, 104px); }
.s-trust__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.s-trust__row li { position: relative; display: grid; gap: 12px; align-content: start; padding: 4px clamp(18px, 2.6vw, 44px) 4px 0; }
.s-trust__row li + li { padding-left: clamp(18px, 2.6vw, 44px); box-shadow: inset 1px 0 0 var(--line); }
.s-trust__row i { width: 21px; height: 24px; background: var(--electric-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 24'%3E%3Cpath d='M11 1 21 6.8v10.4L11 23 1 17.2V6.8z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 24'%3E%3Cpath d='M11 1 21 6.8v10.4L11 23 1 17.2V6.8z'/%3E%3C/svg%3E") center/contain no-repeat; }
.s-trust__row b { font: 500 clamp(22px, 2vw, 30px)/1.05 var(--f-display); letter-spacing: -.005em; }
.s-trust__row p { max-width: 34ch; color: var(--text-2); }
.s-trust__ship { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 28px; margin-top: clamp(36px, 4vw, 56px); padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
@media (max-width: 899px) {
  .s-trust__row { grid-template-columns: 1fr; }
  .s-trust__row li { grid-template-columns: 21px 1fr; column-gap: 16px; padding: 20px 0; }
  .s-trust__row li + li { padding-left: 0; box-shadow: inset 0 1px 0 var(--line); }
  .s-trust__row i { grid-row: 1 / span 2; margin-top: 4px; }
}

/* ── 5 · THE END ────────────────────────────────────────────────────────── */
.s-end { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(50% 60% at 70% 55%, rgba(98,3,160,.42), transparent 70%),
    radial-gradient(40% 40% at 100% 100%, rgba(139,69,255,.22), transparent 70%),
    var(--bg); }
.s-end__stage { position: absolute; inset: 0; z-index: 0; }
.s-end__stage .world-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.s-end__zone { position: absolute; z-index: -1; right: 2%; top: 14%; width: 46%; height: 70%; pointer-events: none; }
.s-end__shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(7,6,11,.88) 0%, rgba(7,6,11,.55) 34%, rgba(7,6,11,0) 55%); }
.s-end__in { position: relative; z-index: 2; display: grid; gap: 26px; padding-block: var(--s9); }
.s-end__in > * { max-width: 600px; }
.s-end__h { font-size: min(var(--d-hero), 16vh); }
@media (max-width: 899px) {
  /* phones: the box on top, the words under it; not pinned (it is taller than a phone) */
  .s-end { align-items: start; min-height: 0; }
  .s-end__zone { left: 0; right: 0; top: calc(var(--hd-h) + 8px); width: auto; height: 300px; }
  /* the canvas keeps the hero's size here, so moving it between the scenes
     does not reallocate the WebGL drawing buffer */
  .s-end__stage { bottom: auto; height: 100svh; }
  .s-end__shade { background: linear-gradient(0deg, rgba(7,6,11,.95) 0%, rgba(7,6,11,.85) 52%, rgba(7,6,11,0) 64%); }
  .s-end__in { padding-block: calc(var(--hd-h) + 320px) 72px; gap: 18px; }
  .s-end__h { font-size: clamp(50px, 15vw, 76px); }
}

/* ── motion start-states (html.m only) ──────────────────────────────────────
   Every element a scrubbed timeline reveals has its start state HERE, not
   only in GSAP. ScrollTrigger reverts animations on every refresh (load, fonts,
   resize), and a staggered fromTo re-applies its start state to its first
   target only — the rest showed through the hero. CSS cannot be reverted. */
.m [data-f2] .ln > span, .m .s-end__h .ln > span { transform: translateY(140%); }   /* far enough that the dot of a Turkish İ does not show */
.m [data-f2] .tl, .m .s-end__in > .tl, .m [data-end-cta] { opacity: 0; }

/* behind the entry gate the hero's opening waits; it plays when the visitor enters */
html.gate.m .hero [data-in], html.gate.m .hero__h .ln > span { animation-play-state: paused; }
