/* albertreyperez.com — v5. MoMA palette: warm paper, Kelly/Mondrian primaries, one grotesk + a mono for labels,
   four colour-coded attributes: sales, brand, technology, systems. */

:root {
  --bg: #f6f2ea;
  --stage: #f6f2ea;
  --card: #fffdf8;
  --rule: #111111;
  --ink: #111111;
  --ink-2: #4f4a42;
  --ink-3: #8c867b;
  --line: #d9d2c4;
  --panel: #111111;
  --panel-2: #1c1c1c;
  --panel-line: #2e2e2e;

  --sales: #d0341c;
  --brand: #f5c81f;
  --tech: #111111;
  --sys: #1f4dac;

  --sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --max: 1320px;
  --pad: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0; color: var(--ink-3); }
.shell { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* ── floating nav ───────────────────────────────────────────────────────── */
.bar {
  position: fixed; z-index: 50; top: 14px; left: 0; right: 0;
  display: flex; justify-content: space-between; gap: 12px;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  pointer-events: none;
}
.pill {
  pointer-events: auto;
  display: flex; align-items: center; gap: 4px;
  background: rgba(255, 253, 248, .9); box-shadow: inset 0 0 0 1.5px var(--ink);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-radius: 14px; padding: 6px;
}
.mark { font-weight: 600; text-decoration: none; padding: 8px 14px 8px 12px; white-space: nowrap; letter-spacing: -0.02em; }
.pill nav { display: flex; }
.pill a.l, .pill .more {
  font-size: 14px; text-decoration: none; padding: 8px 12px; border-radius: 9px; color: var(--ink);
  transition: background .2s;
}
.pill a.l:hover, .pill .more:hover { background: rgba(0, 0, 0, .07); }
.pill a.l[aria-current="page"] { background: rgba(0, 0, 0, .07); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-size: 14px; padding: 9px 16px; border-radius: 10px;
  transition: transform .25s var(--ease), background .2s;
}
.btn:hover { transform: translateY(-1px); background: #000; }
.btn.lg { font-size: 16px; padding: 14px 22px; border-radius: 13px; }
.more { display: none; font-weight: 700; line-height: 1; }

@media (max-width: 900px) {
  .pill.main { flex: 1; justify-content: space-between; position: relative; }
  .pill nav {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; background: #fffdf8; box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: 14px; padding: 6px;
  }
  .pill.open nav { display: flex; }
  .pill nav a.l { font-size: 17px; padding: 12px; }
  .more { display: block; }
  .pill.side .l { display: none; }
}

/* ── hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 90px var(--pad);
  text-align: center;
}
.hero h1 {
  font-size: clamp(52px, 8.6vw, 138px);
  font-weight: 500; line-height: 1; letter-spacing: -0.052em;
  margin: 0;
}
/* the subheader reserves two lines (hover lines can wrap); the symbols get the
   same extra line on top so the visible group stays centred and never jumps */
.hero { --subfs: clamp(18px, 1.75vw, 26px); }
.hero .sub {
  font-size: var(--subfs); line-height: 1.3; letter-spacing: -0.025em; color: var(--ink-2);
  margin: clamp(12px, 1.6vh, 20px) 0 0; min-height: calc(var(--subfs) * 2.6); max-width: 36em;
}
.hero .sub b { font-weight: 500; color: var(--ink); }
.hero .sub .dot { display: inline-block; width: .6em; height: .6em; border-radius: 50%; margin-right: .45em; background: var(--c, transparent); }

/* the four symbols */
.symbols { display: flex; gap: clamp(12px, 2vw, 28px); margin: calc(var(--subfs, 0px) * 1.3) 0 clamp(26px, 4vh, 40px); }
.charm {
  display: flex; flex-direction: column; align-items: center;
  transition: opacity .3s;
  animation: pop .9s var(--ease) both;
  -webkit-tap-highlight-color: transparent;
}
.charm:nth-child(1) { animation-delay: .15s; }
.charm:nth-child(2) { animation-delay: .24s; }
.charm:nth-child(3) { animation-delay: .33s; }
.charm:nth-child(4) { animation-delay: .42s; }
.charm svg { display: block; width: clamp(68px, 8.4vw, 124px); height: auto; transition: transform .5s var(--ease); }
.charm .lab { color: var(--ink); font-size: 12px; transition: color .3s; }
.charm:hover svg, .charm:focus-visible svg { transform: translateY(-8px) rotate(-7deg) scale(1.08); }
.charm:focus-visible { outline: none; }
.charm:focus-visible .lab { text-decoration: underline; text-underline-offset: 4px; }
.symbols:hover .charm:not(:hover) { opacity: .35; }
@keyframes pop { from { opacity: 0; transform: translateY(26px) scale(.7) rotate(10deg); } }
@media (max-width: 480px) { .charm .lab { font-size: 11px; } }

/* cursor label */
.tip {
  position: fixed; z-index: 80; left: 0; top: 0; pointer-events: none;
  background: var(--ink); color: #fff; font-size: 14px; padding: 7px 12px; border-radius: 10px;
  opacity: 0; transform: translate(-50%, -50%) scale(.9); transition: opacity .15s, scale .2s;
  white-space: nowrap;
}
.tip.on { opacity: 1; }

/* ── tiles (inline icons) ───────────────────────────────────────────────── */
.tile {
  --c: var(--ink);
  display: inline-grid; place-items: center;
  width: 1.08em; height: 1.08em; border-radius: .3em;
  vertical-align: -0.2em; margin: 0 .08em;
  background: var(--c);
  transition: transform .45s var(--ease);
}
.tile svg { width: 58%; height: 58%; }
.tile.sales { --c: var(--sales); }
.tile.brand { --c: var(--brand); }
.tile.tech { --c: var(--tech); }
.tile.sys { --c: var(--sys); }

/* ── statement ──────────────────────────────────────────────────────────── */
.statement { padding: 20vh var(--pad) 22vh; }
.statement p {
  max-width: 1080px; margin: 0 auto; text-align: center;
  font-size: clamp(30px, 4.5vw, 64px); line-height: 1.12; letter-spacing: -0.04em;
}
.statement .w { transition: opacity .55s, filter .55s, color .55s; }
.js .statement .w { opacity: .22; filter: blur(7px); }
.js .statement .w:nth-child(3n) { color: var(--sys); }
.js .statement .w:nth-child(5n) { color: var(--sales); }
.js .statement .w.on { opacity: 1; filter: none; color: inherit; }
.statement .clause { border-radius: .28em; transition: background .3s; padding: .04em .1em; margin: 0 -.1em; cursor: default; }
.statement .clause:hover { background: color-mix(in srgb, var(--c) 22%, transparent); }
.statement .clause:hover .tile { transform: rotate(-10deg) scale(1.18); }

/* ── section heads ──────────────────────────────────────────────────────── */
.sec { padding-top: 40px; padding-bottom: 120px; scroll-margin-top: 84px; }
.h-tap { display: none; }
@media (hover: none), (max-width: 860px) { .h-hover { display: none; } .h-tap { display: inline; } }
.sec-head { margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(32px, 4vw, 54px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.02; margin: 10px 0 0; }

/* ── the four parts ─────────────────────────────────────────────────────── */
.parts { display: flex; gap: 12px; }
.part {
  --c: var(--ink);
  position: relative; flex: 1 1 0; min-width: 0; height: 600px;
  border-radius: 28px; background: var(--card); box-shadow: inset 0 0 0 2px var(--ink); overflow: hidden;
  transition: flex-grow .75s var(--ease), background .5s, color .5s;
}
.part.is-open { flex-grow: 3.6; background: var(--panel); color: #fff; box-shadow: none; }
.part[data-part=tech] .copy .label { color: var(--brand); }
.part[data-part=tech] .copy .label::before { background: var(--brand); }
.part-head {
  position: absolute; inset: 0; width: 100%;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  padding: 24px; text-align: left; transition: opacity .3s;
}
.part-head .tile { font-size: 72px; margin: 0; }
.part-head .name { font-size: 28px; letter-spacing: -0.035em; }
.part:not(.is-open):hover .tile { transform: rotate(-8deg) scale(1.08); }
.part.is-open .part-head { opacity: 0; pointer-events: none; }
.part-body { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.part.is-open .part-body { opacity: 1; visibility: visible; transition: opacity .5s .28s, visibility 0s; }
.part-inner {
  width: var(--openw, 660px); height: 100%; padding: 28px;
  display: grid; grid-template-columns: 1fr .82fr; gap: 24px;
}
.copy { display: flex; flex-direction: column; min-width: 0; }
.copy .label { color: var(--c); margin: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.copy .label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.copy h3 { font-size: clamp(28px, 2.7vw, 40px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.04; margin: 24px 0 14px; }
.copy p { margin: 0 0 18px; color: #b9b9b9; font-size: 16px; }
.facts { list-style: none; margin: 0 0 22px; padding: 0; }
.facts li { font-family: var(--mono); font-size: 12px; letter-spacing: 0; color: #d6d6d6; padding: 9px 0; border-top: 1px solid var(--panel-line); }
.facts li:last-child { border-bottom: 1px solid var(--panel-line); }
.go { font-size: 15px; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; color: #fff; }
.go span { transition: transform .3s var(--ease); }
.go:hover span { transform: translateX(4px); }

.demo {
  position: relative; border-radius: 20px; background: var(--panel-2); border: 1px solid var(--panel-line);
  overflow: hidden; min-height: 220px; display: grid; place-items: center; padding: 20px;
}
.demo .cap { position: absolute; left: 16px; top: 14px; color: #777; }

/* sales demo: the CLIMB ladder */
.climb { display: flex; gap: 6px; width: 100%; justify-content: center; }
.climb span {
  flex: 1 1 0; max-width: 46px; height: 54px; border-radius: 12px; display: grid; place-items: center;
  font-size: 22px; background: #2a2a2a; color: #777;
  transition: background .35s, color .35s, transform .45s var(--ease);
}
.climb span.on { background: var(--sales); color: #fff; transform: translateY(-10px); }
.climb-step { text-align: center; margin: 18px 0 0; color: #fff; font-size: 13px; min-height: 1.4em; }
.demo-sales .stack { display: grid; justify-items: center; width: 100%; }

/* brand demo: cascading passes */
.passes { position: relative; width: 196px; height: 150px; }
.pass {
  position: absolute; inset: 0; border-radius: 16px; padding: 30px 14px 12px;
  background: #f1f1f1; color: #111; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6);
  transform: rotate(calc(var(--i) * 2.5deg));
  transition: transform .7s var(--ease);
}
.pass::before { content: ""; position: absolute; top: 11px; left: 50%; width: 34px; height: 7px; margin-left: -17px; border-radius: 4px; background: rgba(0, 0, 0, .28); }
.pass b { font-weight: 500; font-size: 17px; line-height: 1.05; letter-spacing: -0.03em; white-space: nowrap; }
.pass i { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: 0; opacity: .7; }
.pass:nth-child(1) { --i: -3; background: var(--brand); }
.pass:nth-child(2) { --i: -1; background: #0c0c0c; color: #fff; outline: 1px solid #333; }
.pass:nth-child(2)::before { background: rgba(255, 255, 255, .25); }
.pass:nth-child(3) { --i: 1; }
.pass:nth-child(4) { --i: 3; background: var(--sys); color: #fff; }
.pass:nth-child(4)::before { background: rgba(255, 255, 255, .35); }
.pass:nth-child(3) { background: var(--sales); color: #fff; }
.pass:nth-child(3)::before { background: rgba(255, 255, 255, .35); }
.part.is-open .pass { transform: translateY(calc(var(--i) * 27px)) rotate(calc(var(--i) * -1.3deg)); }

/* tech demo: terminal */
.term { width: 100%; align-self: stretch; display: flex; flex-direction: column; }
.term .dots { display: flex; gap: 6px; margin-bottom: 18px; }
.term .dots i { width: 9px; height: 9px; border-radius: 50%; background: #3a3a3a; }
.term pre { margin: 0; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: #dcdcdc; white-space: pre-wrap; }
.term .ok { color: var(--brand); }
.term .dim { color: #777; }
.term .caret { display: inline-block; width: 7px; height: 14px; background: var(--brand); vertical-align: -2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* systems demo: flow */
.flow { width: 100%; }
.flow text { font-family: var(--mono); font-size: 11px; fill: #d6d6d6; }
.flow .n { fill: #2a2a2a; stroke: #3a3a3a; }
.flow .wire { fill: none; stroke: #3d3d3d; stroke-width: 1.5; stroke-dasharray: 3 5; }
.flow .pulse { fill: var(--brand); }

@media (max-width: 1180px) and (min-width: 861px) {
  .part { height: 680px; }
  .part-inner { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .copy .label { margin-bottom: 0; }
  .demo { min-height: 180px; }
  .part-head .name { font-size: 22px; }
  .part-head .tile { font-size: 56px; }
}
@media (max-width: 860px) {
  .parts { flex-direction: column; }
  .part { height: auto; flex: none; border-radius: 22px; }
  .part-head, .part.is-open .part-head {
    position: static; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px;
    padding: 16px 18px; opacity: 1; pointer-events: auto;
  }
  .part-head .tile { font-size: 44px; order: -1; }
  .part-head .num { order: 3; margin-left: auto; }
  .part-head .name { font-size: 24px; }
  .part-body, .part.is-open .part-body {
    position: static; opacity: 1; visibility: visible;
    display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease);
  }
  .part.is-open .part-body { grid-template-rows: 1fr; }
  .part-inner { width: auto; min-height: 0; overflow: hidden; grid-template-columns: 1fr; padding: 0 18px; }
  .part.is-open .part-inner { padding-bottom: 18px; }
  .copy .label { display: none; }
  .copy h3 { margin-top: 6px; }
  .demo { min-height: 250px; }
}

/* ── pitch dial ─────────────────────────────────────────────────────────── */
.dial {
  background: var(--panel); color: #fff; border-radius: 28px;
  padding: clamp(24px, 4vw, 56px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start;
}
.dial h2 { font-size: clamp(30px, 3.4vw, 48px); font-weight: 400; letter-spacing: -0.04em; line-height: 1.04; margin: 12px 0 28px; }
.dial .ctrl { background: var(--panel-2); border: 1px solid var(--panel-line); border-radius: 16px; padding: 16px 18px 14px; }
.dial .ctrl .row { display: flex; justify-content: space-between; color: #8a8a8a; }
.dial .ctrl .row b { color: #fff; font-weight: 400; }
.dial input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: 6px 0 2px; cursor: pointer; }
.dial input[type=range]::-webkit-slider-runnable-track { height: 2px; background: #4a4a4a; }
.dial input[type=range]::-moz-range-track { height: 2px; background: #4a4a4a; }
.dial input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; margin-top: -10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .5); transition: scale .2s; }
.dial input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; }
.dial input[type=range]:active::-webkit-slider-thumb { scale: 1.15; }
.dial .stops { display: flex; justify-content: space-between; color: #8a8a8a; }
.pitch { min-height: 9em; font-size: clamp(20px, 2.1vw, 30px); line-height: 1.22; letter-spacing: -0.03em; }
.pitch p { margin: 0 0 .7em; transition: opacity .3s, filter .3s; }
.pitch.swap p { opacity: 0; filter: blur(6px); }
.pitch[data-level="2"] { font-size: clamp(17px, 1.55vw, 21px); line-height: 1.4; letter-spacing: -0.015em; }
@media (max-width: 860px) { .dial { grid-template-columns: 1fr; gap: 28px; } .pitch { min-height: 0; } }

/* ── record ─────────────────────────────────────────────────────────────── */
.figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fig { background: var(--card); box-shadow: inset 0 0 0 2px var(--ink); border-radius: 24px; padding: 24px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }
.fig b { font-size: clamp(48px, 6.4vw, 96px); font-weight: 400; letter-spacing: -0.055em; line-height: .9; }
.fig span { color: var(--ink-2); }
.marquee { overflow: hidden; margin-top: 56px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee .track { display: flex; gap: 64px; width: max-content; animation: slide 28s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.marquee span { font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -0.035em; white-space: nowrap; color: var(--ink-2); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (max-width: 700px) { .figs { grid-template-columns: 1fr; } .fig { min-height: 150px; } }

/* ── work cards ─────────────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.card {
  --c: var(--ink);
  position: relative; background: var(--card); box-shadow: inset 0 0 0 2px var(--ink); border-radius: 24px; padding: 24px; min-height: 300px;
  display: flex; flex-direction: column; text-decoration: none; overflow: hidden;
  transition: transform .5s var(--ease), background .4s, color .4s;
}
.card .tile { font-size: 52px; margin: 0 0 auto; }
.card h3 { font-size: 28px; font-weight: 400; letter-spacing: -0.035em; margin: 40px 0 6px; }
.card p { margin: 0; color: var(--ink-2); transition: color .4s; min-height: 4.5em; }
.card .arr { position: absolute; right: 22px; top: 22px; font-size: 22px; transition: transform .4s var(--ease); }
.card:hover { transform: translateY(-6px); background: var(--panel); color: #fff; }
.card:hover p { color: #b9b9b9; }
.card:hover .arr { transform: translate(4px, -4px); }
.card:hover .tile { transform: rotate(-8deg) scale(1.08); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } .card { min-height: 220px; } }

/* ── footer ─────────────────────────────────────────────────────────────── */
.end { background: var(--bg); border-top: 2px solid var(--ink); padding: 100px 0 28px; text-align: center; }
.end .hello { display: inline-block; font-size: clamp(56px, 12vw, 190px); letter-spacing: -0.055em; line-height: .95; text-decoration: none; transition: letter-spacing .6s var(--ease); }
.end .hello:hover { letter-spacing: -0.03em; }
.end .addr { margin: 20px 0 90px; color: var(--ink-2); }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--ink-2); text-align: left; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot .links { display: flex; gap: 20px; }

/* scroll reveal */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ── article pages (CLIMB, Turgon, Partnerships, About) ─────────────────── */
.page { background: var(--bg); }
.wrap { max-width: 720px; margin: 0 auto; padding: 170px var(--pad) 40px; }
.wrap h1 { font-size: clamp(44px, 7vw, 84px); font-weight: 400; letter-spacing: -0.05em; line-height: .96; margin: 0 0 14px; }
.wrap .sub { font-family: var(--mono); font-size: 12px; letter-spacing: 0; color: var(--ink-2); margin: 0 0 64px; }
.wrap h2 { font-size: 28px; font-weight: 400; letter-spacing: -0.035em; margin: 72px 0 18px; }
.wrap p { margin: 0 0 20px; font-size: 19px; line-height: 1.5; }
.wrap .muted { color: var(--ink-2); }
.wrap .small { font-size: 14px; color: var(--ink-3); }
.wrap a { text-underline-offset: 3px; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.list li { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 18px 20px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: 16px; transition: transform .4s var(--ease); }
.list li:hover { transform: translateX(6px); }
.list .t { font-size: 19px; letter-spacing: -0.02em; }
.list .meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0; color: var(--ink-2); align-self: center; white-space: nowrap; }
.list .desc { grid-column: 1 / -1; color: var(--ink-2); font-size: 16px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 4px 18px; align-items: center; padding: 18px 20px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: 16px; transition: background .35s, color .35s; }
.steps .n { grid-row: span 2; width: 56px; height: 64px; border-radius: 14px; background: var(--brand); display: grid; place-items: center; font-size: 26px; transition: background .35s, color .35s, transform .45s var(--ease); }
.steps .k { font-size: 21px; letter-spacing: -0.03em; }
.steps p { margin: 0; font-size: 16px; color: var(--ink-2); transition: color .35s; }
.steps li:hover { background: var(--panel); color: #fff; }
.steps li:hover p { color: #b9b9b9; }
.steps li:hover .n { background: var(--sales); color: #fff; transform: rotate(-6deg) scale(1.06); }
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none; }
.figures li { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink); border-radius: 16px; padding: 18px 20px; }
.figures b { display: block; font-weight: 400; font-size: 40px; letter-spacing: -0.05em; line-height: 1.1; }
.figures span { color: var(--ink-2); font-size: 14px; }
blockquote { margin: 28px 0; padding: 28px; border-radius: 20px; background: var(--panel); color: #fff; font-size: 24px; line-height: 1.25; letter-spacing: -0.03em; }
.page .end { padding-top: 80px; background: none; }
@media (max-width: 560px) {
  .wrap { padding-top: 130px; }
  .figures { grid-template-columns: 1fr; }
  .list li { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 48px 1fr; }
  .steps .n { width: 48px; height: 56px; }
}

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

.demo-brand { min-height: 350px; }
.demo-brand .passes { margin-top: 30px; }

/* five passes: tighter cascade */
.passes.five .pass:nth-child(1) { --i: -4; background: #fffdf8; color: #111; }
.passes.five .pass:nth-child(1)::before { background: rgba(0, 0, 0, .28); }
.passes.five .pass:nth-child(2) { --i: -2; background: var(--brand); color: #111; outline: 0; }
.passes.five .pass:nth-child(2)::before { background: rgba(0, 0, 0, .28); }
.passes.five .pass:nth-child(3) { --i: 0; background: #0c0c0c; color: #fff; outline: 1px solid #333; }
.passes.five .pass:nth-child(3)::before { background: rgba(255, 255, 255, .25); }
.passes.five .pass:nth-child(4) { --i: 2; background: var(--sales); color: #fff; }
.passes.five .pass:nth-child(5) { --i: 4; background: var(--sys); color: #fff; }
.passes.five .pass:nth-child(5)::before { background: rgba(255, 255, 255, .35); }
.passes.five { height: 92px; margin-top: 0 !important; }
.passes.five .pass { padding: 24px 14px 10px; }
.passes.five .pass b { font-size: 16px; }
.passes.five .pass:not(:last-child) i { visibility: hidden; }
.part.is-open .passes.five .pass { transform: translateY(calc(var(--i) * 23px)) rotate(calc(var(--i) * -.6deg)); }

/* six passes (Sesh added 11/18) */
.passes.five .pass:nth-child(1) { --i: -5; }
.passes.five .pass:nth-child(2) { --i: -3; }
.passes.five .pass:nth-child(3) { --i: -1; }
.passes.five .pass:nth-child(4) { --i: 1; }
.passes.five .pass:nth-child(5) { --i: 3; }
.passes.five .pass:nth-child(6) { --i: 5; background: #fffdf8; color: #111; }
.passes.five .pass:nth-child(6)::before { background: rgba(0, 0, 0, .28); }
.part.is-open .passes.five .pass { transform: translateY(calc(var(--i) * 21px)) rotate(calc(var(--i) * -.5deg)); }
.figures b { font-size: clamp(28px, 2.5vw, 34px); white-space: nowrap; }

/* campaign flow (GTM Engine page) */
.pipe { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 30px; }
.pipe li {
  position: relative; font-family: var(--mono); font-size: 12px; letter-spacing: 0; white-space: nowrap;
  padding: 9px 12px; border-radius: 10px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink);
  transition: transform .35s var(--ease), background .3s, color .3s;
}
.pipe li:hover { transform: translateY(-3px); background: var(--ink); color: #fff; }
.pipe li:not(:last-child)::after {
  content: "\2192"; position: absolute; left: 100%; top: 50%; width: 30px; text-align: center;
  transform: translateY(-50%); color: var(--ink); font-family: var(--sans); pointer-events: none;
}
.pipe .gate { background: var(--brand); }
.pipe .ch { color: #fff; box-shadow: none; }
.pipe .c1 { background: var(--sales); }
.pipe .c2 { background: var(--ink); }
.pipe .c3 { background: var(--sys); }
.pipe .loop::before { content: "\21BB"; margin-right: 6px; font-family: var(--sans); }
