/* SBH Advantage — page sections */

.section { position: relative; padding-block: clamp(96px, 13vw, 176px); }

/* ---- Hero ---------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding-top: var(--nav-h);
  overflow: hidden;
  isolation: isolate;
}
.hero__flow {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(62% 56% at 16% 44%, rgba(6, 9, 20, 0.82), rgba(6, 9, 20, 0.3) 55%, transparent 78%),
    linear-gradient(180deg, rgba(6, 9, 20, 0.55), transparent 18%, transparent 72%, var(--bg));
}
.hero__content {
  align-self: center;
  display: grid;
  justify-items: start;
  gap: 28px;
  padding-block: 7vh 5vh;
}
.hero__title {
  font-family: var(--f-display);
  font-size: clamp(3rem, 8.6vw, 8.8rem);
  font-weight: 800;
  font-stretch: 110%;
  line-height: 0.9;
  letter-spacing: -0.045em;
}
.line { display: block; overflow: hidden; padding: 0.02em 0.06em 0.1em 0; margin-bottom: -0.08em; }
.line__in { display: inline-block; animation: rise 1.3s var(--ease) both; }
.line:nth-child(2) .line__in { animation-delay: 0.14s; }
@keyframes rise {
  from { transform: translate3d(0, 110%, 0) skewY(4deg); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.hero__accent {
  background: linear-gradient(100deg, var(--accent) 0%, #9fe6ff 22%, var(--accent) 44%, #4f7bff 78%, var(--accent) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 1.3s var(--ease) 0.14s both, sheen 7s linear 1.4s infinite;
}
@keyframes sheen { to { background-position: -220% 0; } }

.hero__lede {
  max-width: 47ch;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.35vw, 1.24rem);
  animation: fade-up 1.2s var(--ease) 0.35s both;
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fade-up 1.2s var(--ease) 0.5s both;
}
.hero .eyebrow { animation: fade-up 1s var(--ease) both; }
@keyframes fade-up {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: none; }
}

.status {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-bottom: 26px;
  animation: fade-up 1.2s var(--ease) 0.7s both;
}
.status li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  padding: 20px 20px 4px 0;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.status li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.status__dot {
  grid-row: span 2;
  width: 7px;
  height: 7px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(19, 189, 249, 0.6);
  animation: ping 2.4s var(--ease) infinite;
}
.status li:nth-child(2) .status__dot { animation-delay: 0.8s; }
.status li:nth-child(3) .status__dot { animation-delay: 1.6s; }
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(19, 189, 249, 0.6); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(19, 189, 249, 0); }
}
.status__k { color: var(--subtle); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.7rem; }
.status__v { color: var(--text); }

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 96px;
  width: 26px;
  height: 42px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 9px;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--accent);
  animation: cue 1.8s var(--ease-in-out) infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(16px); opacity: 0; }
}

@media (max-width: 720px) {
  .hero__content { align-self: start; padding-top: 10vh; }
  .status { grid-template-columns: 1fr; border-top: 0; }
  .status li { padding: 10px 0; border-top: 1px solid var(--line); }
  .status li + li { padding-left: 0; border-left: 0; }
  .scroll-cue { display: none; }
  .hero__vignette {
    background:
      linear-gradient(180deg, rgba(6, 9, 20, 0.9) 0%, rgba(6, 9, 20, 0.7) 38%, rgba(6, 9, 20, 0.15) 62%, rgba(6, 9, 20, 0.8) 88%, var(--bg));
  }
}

/* ---- Ticker -------------------------------------------------------- */

.ticker {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 25, 53, 0.35), rgba(6, 9, 20, 0));
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  padding: 26px 0;
  animation: marquee 62s linear infinite;
}
.ticker span {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(230, 234, 247, 0.55);
}
.ticker span:nth-of-type(odd) { color: var(--text); -webkit-text-stroke: 0; }
.ticker i {
  width: 10px;
  height: 10px;
  flex: none;
  background: var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 0 16px var(--accent);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Pillars ------------------------------------------------------- */

.pillars .section__head { margin-bottom: clamp(48px, 6vw, 80px); }
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  perspective: 1200px;
}
.pillar {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px 22px 30px;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease), opacity 1s var(--ease);
}
.pillar:nth-child(2) { --d: 0.1s; }
.pillar:nth-child(3) { --d: 0.2s; }
.pillar p:not(.pillar__num) { color: var(--muted); }
.pillar__num {
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.pillar__viz {
  position: relative;
  height: 180px;
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(rgba(174, 182, 212, 0.06) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(174, 182, 212, 0.06) 1px, transparent 1px) 0 0 / 22px 22px,
    radial-gradient(120% 90% at 50% 100%, rgba(47, 77, 255, 0.22), transparent 70%),
    #070b19;
  box-shadow: inset 0 0 0 1px var(--line);
}

/* inbound: cartons roll in, get counted at the check-in line, rise and slide onto the rack.
   Each level fills right to left, so a carton never passes through a shelved one; top level first,
   so the oldest stock leaves from the top and the rack never looks top-heavy. */
.viz-inbound svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ib-label { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.14em; fill: var(--muted); }
.ib-fee {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 800;
  font-stretch: 108%;
  fill: var(--accent);
  filter: drop-shadow(0 0 8px rgba(19, 189, 249, 0.6));
}
.ib-rack { fill: none; stroke: rgba(174, 182, 212, 0.38); stroke-width: 2; stroke-linecap: square; }
.ib-floor { stroke: rgba(174, 182, 212, 0.25); stroke-width: 1.5; }
.ib-gate { stroke: var(--accent); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 5px var(--accent)); }
.ib-crate rect:first-child { fill: rgba(19, 189, 249, 0.08); stroke: rgba(230, 234, 247, 0.6); stroke-width: 1.3; }
.ib-crate path { fill: none; stroke: rgba(230, 234, 247, 0.45); stroke-width: 1.2; }
.ib-tag { fill: rgba(230, 234, 247, 0.35); }
.ib-plus { font-family: var(--f-mono); font-size: 10px; font-weight: 500; fill: var(--accent); text-anchor: middle; opacity: 0; }

.ib-boxes > g { opacity: 0; }
.ib-boxes > g:nth-child(1) { --i: 0; --sx: 262; --sy: 40; }
.ib-boxes > g:nth-child(2) { --i: 1; --sx: 210; --sy: 40; }
.ib-boxes > g:nth-child(3) { --i: 2; --sx: 158; --sy: 40; }
.ib-boxes > g:nth-child(4) { --i: 3; --sx: 262; --sy: 85; }
.ib-boxes > g:nth-child(5) { --i: 4; --sx: 210; --sy: 85; }
.ib-boxes > g:nth-child(6) { --i: 5; --sx: 158; --sy: 85; }
.ib-boxes > g:nth-child(7) { --i: 6; --sx: 262; --sy: 130; }
.ib-boxes > g:nth-child(8) { --i: 7; --sx: 210; --sy: 130; }
.ib-boxes > g:nth-child(9) { --i: 8; --sx: 158; --sy: 130; }

.pillar.is-in .ib-boxes > g { animation: ib-move 8.1s var(--ease-in-out) calc(var(--i) * 0.9s) infinite both; }
.pillar.is-in .ib-crate rect:first-child { animation: ib-scan 8.1s linear calc(var(--i) * 0.9s) infinite both; }
.pillar.is-in .ib-plus { animation: ib-count 8.1s var(--ease) calc(var(--i) * 0.9s) infinite both; }

@keyframes ib-move {
  0% { opacity: 0; transform: translate(-50px, 130px); }
  4% { opacity: 1; }
  11%, 17% { transform: translate(50px, 130px); }
  22% { transform: translate(104px, 130px); }
  28% { transform: translate(104px, calc(var(--sy) * 1px)); }
  35%, 84% { opacity: 1; transform: translate(calc(var(--sx) * 1px), calc(var(--sy) * 1px)); }
  90%, 100% { opacity: 0; transform: translate(calc(var(--sx) * 1px), calc(var(--sy) * 1px)); }
}
@keyframes ib-scan {
  0%, 10%, 21%, 100% { fill: rgba(19, 189, 249, 0.08); stroke: rgba(230, 234, 247, 0.6); }
  12%, 17% { fill: rgba(19, 189, 249, 0.32); stroke: #8fe1ff; }
}
@keyframes ib-count {
  0%, 11% { opacity: 0; transform: translateY(4px); }
  13% { opacity: 1; transform: translateY(0); }
  19% { opacity: 1; transform: translateY(-6px); }
  23%, 100% { opacity: 0; transform: translateY(-10px); }
}

/* quality: scan + tick */
.viz-quality svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.viz-quality .parcel path { fill: none; stroke: rgba(230, 234, 247, 0.55); stroke-width: 1.4; stroke-linejoin: round; }
.viz-quality .parcel path:first-child { fill: rgba(19, 189, 249, 0.04); }
.viz-quality .tick {
  fill: none;
  stroke: var(--accent);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  filter: drop-shadow(0 0 6px var(--accent));
}
.viz-quality .scan { fill: var(--accent); filter: drop-shadow(0 0 6px var(--accent)); opacity: 0; }
.pillar.is-in .viz-quality .scan { animation: scan 3.6s var(--ease-in-out) infinite; }
.pillar.is-in .viz-quality .tick { animation: tick 3.6s var(--ease) infinite; }
@keyframes scan {
  0% { transform: translateY(0); opacity: 0; }
  8% { opacity: 1; }
  48% { transform: translateY(88px); opacity: 1; }
  56%, 100% { transform: translateY(88px); opacity: 0; }
}
@keyframes tick {
  0%, 50% { stroke-dashoffset: 60; opacity: 1; }
  66%, 88% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

/* dispatch: streaks */
.viz-dispatch i {
  position: absolute;
  left: 0;
  height: 2px;
  width: 38%;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(19, 189, 249, 0.2) 30%, #b6ecff);
  box-shadow: 0 0 10px rgba(19, 189, 249, 0.6);
  transform: translateX(-110%);
}
.viz-dispatch i::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #e8f8ff;
  box-shadow: 0 0 12px var(--accent);
}
.viz-dispatch i:nth-child(1) { top: 16%; --t: 1.6s; --w: 34%; }
.viz-dispatch i:nth-child(2) { top: 28%; --t: 1.1s; --w: 48%; }
.viz-dispatch i:nth-child(3) { top: 40%; --t: 1.9s; --w: 28%; }
.viz-dispatch i:nth-child(4) { top: 52%; --t: 0.9s; --w: 56%; }
.viz-dispatch i:nth-child(5) { top: 64%; --t: 1.4s; --w: 40%; }
.viz-dispatch i:nth-child(6) { top: 76%; --t: 1.2s; --w: 30%; }
.viz-dispatch i:nth-child(7) { top: 88%; --t: 1.7s; --w: 44%; }
.viz-dispatch i { width: var(--w); }
.pillar.is-in .viz-dispatch i { animation: streak var(--t) cubic-bezier(0.55, 0, 0.3, 1) infinite; animation-delay: calc(var(--i, 0) * -0.37s); }
@keyframes streak {
  from { transform: translateX(-110%); }
  to { transform: translateX(330%); }
}

/* Reduced motion: hold a still frame that tells the story instead of an empty box. */
@media (prefers-reduced-motion: reduce) {
  .pillar .ib-boxes > g { animation: none !important; opacity: 1; transform: translate(calc(var(--sx) * 1px), calc(var(--sy) * 1px)); }
  .pillar .ib-boxes > g:nth-child(-n + 3) { opacity: 0; }
  .pillar .ib-crate rect:first-child, .pillar .ib-plus { animation: none !important; }
  .pillar .viz-quality .tick { animation: none !important; stroke-dashoffset: 0; }
  .pillar .viz-quality .scan { animation: none !important; opacity: 0; }
  .pillar .viz-dispatch i { animation: none !important; transform: translateX(110%); }
}

@media (max-width: 960px) {
  .pillars__grid { grid-template-columns: 1fr; max-width: 560px; }
}

/* ---- Fashion: sizes × colours, or every item one of a kind ---------- */

.fashion__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.fashion .ticks { margin-top: 6px; }

.matrix { display: grid; gap: 16px; width: 100%; max-width: 600px; padding: clamp(18px, 3vw, 32px); }
.matrix__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.seg {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: rgba(230, 234, 247, 0.03);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.seg button {
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--f-display);
  font-size: 0.84rem;
  font-weight: 650;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}
.seg button:hover { color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.matrix__fee {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
}
.matrix__fee strong {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--accent);
  text-shadow: 0 0 18px rgba(19, 189, 249, 0.55);
}
.matrix__head, .matrix__grid { display: grid; grid-template-columns: 20px repeat(6, 1fr); gap: 6px; }
.matrix__head span {
  font-family: var(--f-mono);
  font-size: 0.66rem;
  text-align: center;
  color: var(--subtle);
  transition: opacity 0.4s;
}
.matrix__grid { perspective: 900px; }
.matrix__grid .sw {
  align-self: center;
  justify-self: center;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  transition: opacity 0.4s;
}
.matrix.is-unique .matrix__head span, .matrix.is-unique .sw { opacity: 0.15; }

.tile {
  position: relative;
  aspect-ratio: 1.6;
  font-style: normal;
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease);
  transition-delay: var(--d, 0s);
}
.matrix.is-unique .tile { transform: rotateY(180deg); }
.tile b, .tile s {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 7px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-decoration: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: box-shadow 0.3s;
}
.tile b { background: #0d1430; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); }
.tile b::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}
.tile s {
  transform: rotateY(180deg);
  background: linear-gradient(155deg, var(--u), color-mix(in srgb, var(--u) 45%, #060914));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
}
.tile.is-pick b, .tile.is-pick s { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 16px rgba(19, 189, 249, 0.65); }
.tile.is-pick b { color: var(--text); }
.matrix__note { font-size: 0.85rem; color: var(--muted); }

@media (max-width: 960px) {
  .fashion__grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .matrix__head, .matrix__grid { gap: 4px; grid-template-columns: 14px repeat(6, 1fr); }
  .tile b, .tile s { font-size: 0.62rem; }
  .tile b::before { display: none; }
}

/* ---- Manifesto ----------------------------------------------------- */

.manifesto { position: relative; padding-block: clamp(80px, 12vw, 160px); overflow: hidden; isolation: isolate; }
.manifesto::after {
  content: "£1";
  position: absolute;
  right: -0.02em;
  top: 50%;
  z-index: -1;
  transform: translateY(-50%);
  font-family: var(--f-display);
  font-size: clamp(10rem, 34vw, 30rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 0.8;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(19, 189, 249, 0.2);
  pointer-events: none;
}
.manifesto__text {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4.6vw, 4.3rem);
  font-weight: 650;
  font-stretch: 104%;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 24ch;
}
.manifesto__text em { font-style: normal; color: var(--accent); }
.manifesto__text .w { opacity: 0.14; transition: opacity 0.35s linear; }
.manifesto__text .w.on { opacity: 1; }

/* ---- Classified ---------------------------------------------------- */

.classified__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.classified .h2 { font-size: clamp(3rem, 8vw, 7.4rem); }
.classified__note {
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  max-width: 38ch;
}
.classified__note strong { color: var(--text); font-weight: 600; }

.dossier {
  position: relative;
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: 18px;
  background:
    repeating-linear-gradient(180deg, transparent 0 47px, rgba(174, 182, 212, 0.05) 47px 48px),
    linear-gradient(160deg, #0f1631, #090d1f 70%);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 50px 120px -50px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.4);
  transform: rotate(-1.2deg);
}
.dossier__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line-2);
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
}
.dossier__title {
  margin: 26px 0 18px;
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.03em;
}
.dossier__lines { display: grid; gap: 16px; }
.dossier__lines li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: baseline;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
}
.dossier__lines .n { font-family: var(--f-mono); font-size: 0.75rem; color: var(--accent); }
.dossier__lines p { line-height: 2; }
.dossier__foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-2);
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
}
.dossier__foot strong {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--accent);
}

.redact {
  position: relative;
  display: inline-block;
  height: 1.05em;
  vertical-align: -0.16em;
  border-radius: 2px;
  background:
    repeating-linear-gradient(115deg, rgba(6, 9, 20, 0.07) 0 5px, transparent 5px 10px),
    linear-gradient(180deg, #e3e8f6, #c3cbe2);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
  cursor: help;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.redact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(19, 189, 249, 0.35) 50%, transparent 80%);
  transform: translateX(-120%);
}
.redact:hover, .redact:focus-visible { transform: translateY(-1px); background: var(--accent); box-shadow: 0 0 18px rgba(19, 189, 249, 0.55); outline: none; }
.redact:hover::after, .redact:focus-visible::after { animation: glint 0.8s var(--ease); }
@keyframes glint { to { transform: translateX(120%); } }
.r2 { width: 2.2em; } .r3 { width: 3.2em; } .r4 { width: 4.4em; } .r5 { width: 5.4em; }
.r6 { width: 6.6em; } .r7 { width: 7.6em; } .r8 { width: 9em; }

.dossier__tip {
  position: absolute;
  left: var(--tx, 50%);
  top: var(--ty, 0);
  z-index: 3;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 10px)) scale(0.9);
  transition: opacity 0.2s, transform 0.25s var(--ease);
}
.dossier__tip.is-on { opacity: 1; transform: translate(-50%, calc(-100% - 14px)) scale(1); }
.dossier__tip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  background: inherit;
  transform: rotate(45deg);
}

.stamp {
  position: absolute;
  right: clamp(14px, 4vw, 44px);
  bottom: clamp(84px, 9vw, 104px);
  padding: 6px 16px 8px;
  border: 3px solid var(--reject);
  border-radius: 8px;
  color: var(--reject);
  font-family: var(--f-display);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: rotate(-14deg);
  opacity: 0;
  mix-blend-mode: screen;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -2.2 2.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 -2.2 2.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.dossier.is-in .stamp { animation: stamp 0.55s cubic-bezier(0.3, 1.6, 0.5, 1) 0.7s both; }
.dossier.is-in { animation: thud 0.4s ease-out 0.95s; }
@keyframes stamp {
  from { opacity: 0; transform: rotate(-24deg) scale(2.6); }
  to { opacity: 0.92; transform: rotate(-14deg) scale(1); }
}
@keyframes thud {
  0%, 100% { translate: 0 0; }
  30% { translate: 0 3px; }
  60% { translate: 0 -1px; }
}

@media (max-width: 960px) {
  .classified__grid { grid-template-columns: 1fr; }
  .dossier { transform: none; }
}

/* ---- Visibility ---------------------------------------------------- */

.visibility__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.vis__list { margin-top: 6px; border-top: 1px solid var(--line); }
.vis__list li {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid var(--line);
}
.vis__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--accent), inset 0 0 0 4px var(--bg), inset 0 0 0 7px var(--accent), 0 0 12px rgba(19, 189, 249, 0.45);
}
.vis__list strong { font-family: var(--f-display); font-size: 1.05rem; font-weight: 650; font-stretch: 104%; }
.vis__list span { color: var(--muted); font-size: 0.95rem; }

.portal {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, #0f1631, #0a0f24);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 50px 120px -50px rgba(0, 0, 0, 0.9), 0 0 90px -30px rgba(19, 189, 249, 0.28);
  font-size: 0.9rem;
}
.portal__bar { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.portal__dots { display: flex; gap: 6px; }
.portal__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(174, 182, 212, 0.22); }
.portal__title { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.portal__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.portal__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: ping 2.4s var(--ease) infinite; }
.portal__tabs {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--subtle);
}
.portal__tabs span { padding: 12px 0; }
.portal__tabs .is-on { color: var(--text); box-shadow: inset 0 -2px 0 var(--accent); }
.portal__tabs .portal__tag {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.portal__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.portal__kpis div { display: grid; gap: 4px; padding: 16px 18px; background: #0c1229; }
.portal__kpis span { font-family: var(--f-mono); font-size: 0.64rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); }
.portal__kpis strong {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 800;
  font-stretch: 108%;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.portal__rows { padding: 4px 18px 10px; }
.po {
  display: grid;
  grid-template-columns: 72px 1fr 88px 90px;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.po:last-child { border-bottom: 0; }
.po__id { font-family: var(--f-mono); font-size: 0.78rem; color: var(--text); }
.po__what { overflow: hidden; color: var(--muted); font-size: 0.85rem; white-space: nowrap; text-overflow: ellipsis; }
.po__bar { height: 4px; overflow: hidden; border-radius: 4px; background: rgba(174, 182, 212, 0.14); }
.po__bar i {
  display: block;
  width: var(--w, 6%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 10px rgba(19, 189, 249, 0.6);
}
.po__pill {
  justify-self: end;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-family: var(--f-mono);
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
}
.po--done { --w: 100%; }
.po--done .po__pill { background: var(--accent); box-shadow: none; color: var(--accent-ink); }
.po--live { --w: 40%; }
.po--live .po__pill { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent); animation: blink 1.6s ease-in-out infinite; }
.po--arrived { --w: 22%; }
.po--arrived .po__pill { box-shadow: inset 0 0 0 1px rgba(79, 123, 255, 0.75); color: var(--text); }
.portal.is-in .po--live .po__bar i { animation: count-up 6s var(--ease-in-out) infinite; }
@keyframes count-up {
  0% { width: 40%; }
  85%, 100% { width: 97%; }
}
@keyframes blink { 50% { opacity: 0.5; } }

@media (max-width: 960px) {
  .visibility__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .po { grid-template-columns: 64px 1fr auto; }
  .po__bar { display: none; }
  .portal__kpis strong { font-size: 1.15rem; }
  .portal__kpis div { padding: 12px; }
}

/* ---- Pricing ------------------------------------------------------- */

.pricing::before {
  content: "";
  position: absolute;
  inset: 10% 0 auto 0;
  height: 70%;
  z-index: -1;
  background: radial-gradient(50% 60% at 20% 50%, rgba(47, 77, 255, 0.18), transparent 70%);
  pointer-events: none;
}
.pricing__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.pricing__offer { display: grid; gap: 22px; justify-items: start; }

.flap {
  display: flex;
  gap: clamp(4px, 0.6vw, 8px);
  margin: 6px 0 -4px;
  font-family: var(--f-display);
  font-size: clamp(4.6rem, 11vw, 9.6rem);
  font-weight: 800;
  font-stretch: 100%;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.flap__cell {
  position: relative;
  display: grid;
  place-items: center;
  width: 0.74em;
  height: 1.12em;
  border-radius: 0.1em;
  background: linear-gradient(180deg, #16204a 0 50%, #0f1736 50% 100%);
  box-shadow: inset 0 0 0 1px rgba(174, 182, 212, 0.14), 0 20px 40px -20px rgba(0, 0, 0, 0.9);
  color: var(--text);
  overflow: hidden;
}
.flap__cell::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: rgba(3, 5, 12, 0.85);
}
.flap__cell--dot { width: 0.34em; }
.flap__cell span { display: block; transform-origin: 50% 50%; }
.flap__cell.is-flip span { animation: flip 0.07s linear; }
@keyframes flip {
  from { transform: scaleY(0.1); filter: brightness(1.8); }
  to { transform: scaleY(1); }
}
.flap__cell.is-set { color: var(--accent); text-shadow: 0 0 28px rgba(19, 189, 249, 0.6); }

.pricing__per { font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: var(--muted); }
.pricing__per span { color: var(--text); }

.ticks { display: grid; gap: 12px; margin-top: 4px; }
.ticks li { display: flex; align-items: center; gap: 12px; }
.ticks li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.6' fill='none' stroke='%2302121c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat,
    var(--accent);
  box-shadow: 0 0 14px rgba(19, 189, 249, 0.45);
}
.extras__label {
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--subtle);
}
.extras {
  width: 100%;
  max-width: 520px;
  margin: -8px 0 0;
  border-top: 1px solid var(--line);
}
.extras > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.extras dt {
  padding-top: 3px;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.extras dd { margin: 0; color: var(--muted); font-size: 0.95rem; }

.calc { display: grid; gap: 24px; padding: clamp(24px, 3vw, 40px); }
.calc__intro { color: var(--muted); margin-top: -12px; }
.calc output {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.calc__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.money { position: relative; }
.money span {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--subtle);
  pointer-events: none;
}
.money input { padding-left: 32px !important; font-variant-numeric: tabular-nums; }
.money input::-webkit-inner-spin-button { opacity: 0.4; }

.calc__out {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--line);
  box-shadow: inset 0 0 0 1px var(--line);
}
.calc__out > div { padding: 16px 18px; background: #0a1024; }
.calc__out dt { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); }
.calc__out dd {
  margin: 6px 0 0;
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 800;
  font-stretch: 108%;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.calc__save { grid-column: 1 / -1; background: linear-gradient(90deg, rgba(19, 189, 249, 0.16), rgba(47, 77, 255, 0.12)) !important; }
.calc__save dt { color: var(--accent); }
.calc__save dd { font-size: clamp(2rem, 3.6vw, 3rem); color: var(--text); text-shadow: 0 0 30px rgba(19, 189, 249, 0.35); }
.calc__note { font-size: 0.82rem; color: var(--subtle); }

@media (max-width: 960px) {
  .pricing__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .calc__pair { grid-template-columns: 1fr; }
}

/* ---- FAQ ----------------------------------------------------------- */

:root { interpolate-size: allow-keywords; }
.faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  font-family: var(--f-display);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 650;
  font-stretch: 104%;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background:
    linear-gradient(var(--text), var(--text)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--text), var(--text)) center / 1.5px 12px no-repeat;
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: transform 0.4s var(--ease), background-color 0.3s;
}
.faq summary:hover { color: var(--accent); }
.faq details[open] summary::after { transform: rotate(135deg); background-color: rgba(19, 189, 249, 0.14); }
.faq details::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size 0.5s var(--ease), content-visibility 0.5s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }
.faq__a { padding: 0 56px 28px 0; color: var(--muted); max-width: 60ch; }

@media (max-width: 960px) {
  .faq__grid { grid-template-columns: 1fr; }
}

/* ---- Access -------------------------------------------------------- */

.access { overflow: hidden; }
.access__glow {
  position: absolute;
  left: 50%;
  bottom: -30%;
  width: min(1400px, 140vw);
  aspect-ratio: 2;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(19, 189, 249, 0.22), rgba(47, 77, 255, 0.14) 40%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
}
.access__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.access__title span {
  background: linear-gradient(100deg, var(--accent), #9fe6ff 40%, #4f7bff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.access__mail { color: var(--subtle); font-size: 0.95rem; }
.access__mail a { color: var(--text); border-bottom: 1px solid var(--line-2); transition: border-color 0.2s, color 0.2s; }
.access__mail a:hover { color: var(--accent); border-color: var(--accent); }

.enquiry { padding: clamp(24px, 3vw, 40px); }
.enquiry__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field--full { grid-column: 1 / -1; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.enquiry__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
}
.enquiry__legal { font-size: 0.82rem; color: var(--subtle); max-width: 32ch; }
.enquiry__legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.enquiry__status { min-height: 1.4em; margin-top: 14px; font-size: 0.9rem; color: var(--muted); }
.enquiry__status.is-error { color: var(--reject); }
.enquiry__status a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.enquiry.is-busy button[type="submit"] { opacity: 0.7; pointer-events: none; }
.enquiry.is-busy button[type="submit"] svg { animation: nudge 0.8s var(--ease-in-out) infinite; }
@keyframes nudge { 50% { transform: translateX(5px); } }

.enquiry__done {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  padding: 32px;
  border-radius: inherit;
  background: radial-gradient(80% 80% at 50% 40%, rgba(19, 189, 249, 0.14), transparent 70%), #0a1026;
  text-align: center;
  animation: fade-up 0.6s var(--ease) both;
}
.enquiry__done[hidden] { display: none; }
.enquiry__done svg { width: 76px; height: 76px; fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 12px var(--accent)); }
.enquiry__done circle { stroke-dasharray: 183; stroke-dashoffset: 183; animation: draw 0.9s var(--ease) 0.1s forwards; }
.enquiry__done path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.5s var(--ease) 0.75s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.enquiry__done p { color: var(--muted); }
.enquiry__done strong { color: var(--text); font-family: var(--f-mono); font-weight: 500; }

@media (max-width: 960px) {
  .access__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .enquiry__fields { grid-template-columns: 1fr; }
  .enquiry__foot { flex-direction: column-reverse; align-items: stretch; }
  .enquiry__foot .btn { width: 100%; }
  .enquiry__legal { max-width: none; }
}

/* ---- Footer -------------------------------------------------------- */

.footer {
  position: relative;
  padding-top: clamp(72px, 9vw, 120px);
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.footer__logo { height: 52px; width: auto; }
.footer__nav { display: flex; gap: clamp(40px, 8vw, 120px); }
.footer__nav div { display: grid; gap: 10px; align-content: start; }
.footer__nav p {
  margin-bottom: 4px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--subtle);
}
.footer__nav a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.footer__nav a:hover { color: var(--accent); }
.footer__mark {
  margin: clamp(40px, 6vw, 80px) 0 -0.2em;
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 11.4vw, 10.9rem);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 0.8;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(180deg, rgba(230, 234, 247, 0.14), rgba(230, 234, 247, 0.02) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}
.footer__base {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 0 28px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--subtle);
}
.footer__sys { display: inline-flex; align-items: center; gap: 10px; }
.footer__sys i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  animation: ping 2.4s var(--ease) infinite;
}

/* ---- Simple pages (privacy, 404, thanks) ---------------------------- */

.page {
  min-height: 100svh;
  padding: calc(var(--nav-h) + clamp(48px, 8vw, 96px)) 0 96px;
}
.page .h2 { margin: 18px 0 28px; max-width: 18ch; }
.page__cta { margin-top: 40px; }
.page__ref { color: var(--text); font-family: var(--f-mono); font-weight: 500; }
.prose { max-width: 70ch; color: var(--muted); }
.prose h3 { margin: 40px 0 12px; color: var(--text); font-family: var(--f-display); font-size: 1.25rem; font-weight: 700; font-stretch: 106%; }
.prose p, .prose ul { margin: 0 0 14px; }
.prose ul { padding-left: 20px; list-style: disc; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
