/* Snap Marketing — colours sampled from the logo ribbon */
:root {
  --ink: #171d4a;
  --navy: #23306f;
  --sky: #8ecbee;
  --blue: #5c8ec6;
  --plum: #8a2054;
  --crimson: #c3233a;
  --verm: #e4492a;
  --amber: #f4bf1a;
  --lime: #9bc531;
  --green: #6fb043;
  --gray: #8f9092;
  --paper: #f5f0e6;
  --paper-2: #e9e1d0;
  --display: "Archivo", "Arial Narrow", sans-serif;
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --snap: cubic-bezier(.2, 1.4, .3, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
  --top-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--top-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.55;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 3px solid var(--verm); outline-offset: 3px; }

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--amber); padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 8px; }

/* ---------- intro curtain ---------- */
.curtain { position: fixed; inset: 0; z-index: 200; display: flex; pointer-events: none; }
.curtain i { flex: 1; animation: curtain .6s cubic-bezier(.7, 0, .2, 1) both; margin-right: -1px; will-change: transform; }
.curtain i:nth-child(1) { background: var(--sky); animation-delay: .12s; }
.curtain i:nth-child(2) { background: var(--blue); animation-delay: .16s; }
.curtain i:nth-child(3) { background: var(--navy); animation-delay: .2s; }
.curtain i:nth-child(4) { background: var(--plum); animation-delay: .24s; }
.curtain i:nth-child(5) { background: var(--verm); animation-delay: .28s; }
.curtain i:nth-child(6) { background: var(--amber); animation-delay: .32s; }
.curtain i:nth-child(7) { background: var(--lime); animation-delay: .36s; }
@keyframes curtain {
  from { transform: translateY(0); }
  to { transform: translateY(-101%); }
}

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sky); display: flex; align-items: center; gap: 10px;
}
.eyebrow--ink { color: var(--plum); }
.eyebrow--onverm { color: var(--ink); }
.eyebrow .dot { position: relative; flex: none; width: 9px; height: 9px; background: var(--lime); border-radius: 50%; }
.eyebrow .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--lime); animation: ping 2s infinite; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(3.6); opacity: 0; } }

.display {
  font-weight: 800; font-stretch: 112%;
  font-size: clamp(40px, 5.6vw, 84px); line-height: .98; letter-spacing: -.025em;
  margin-top: 18px; text-wrap: balance;
}
.display em { font-family: var(--serif); font-style: italic; font-weight: 600; letter-spacing: -.01em; color: var(--verm); font-stretch: 100%; }
.display--light { color: #fff; }
.display--light em { color: var(--amber); }
.lede { font-size: clamp(18px, 1.5vw, 22px); max-width: 58ch; margin-top: 26px; color: #2b3160; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--verm); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 24px; background: var(--bg); color: var(--fg);
  font: 700 16px/1 var(--display); font-stretch: 108%; letter-spacing: .01em; text-decoration: none;
  border: 0; cursor: pointer; overflow: hidden; isolation: isolate;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transition: transform .25s var(--snap);
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateX(-101%) skewX(-18deg); transform-origin: left; transition: transform .45s var(--out); z-index: -1; }
.btn:hover::before { transform: translateX(0) skewX(0); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform .3s var(--snap); }
.btn:hover svg { transform: translateX(5px); }
.btn--small { padding: 12px 18px; font-size: 14.5px; }
.btn--big { padding: 21px 30px; font-size: 18px; }
.btn--amber { --bg: var(--amber); --fg: var(--ink); }
.btn--amber::before { background: #fff; }
.btn--ink { --bg: var(--ink); }
.btn--ink::before { background: var(--plum); }
.link-arrow { font-weight: 600; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--sky); color: #fff; transition: text-decoration-color .2s, text-underline-offset .2s; }
.link-arrow:hover { text-decoration-color: var(--amber); text-underline-offset: 9px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 90; height: var(--top-h);
  display: flex; align-items: center; gap: 28px; padding: 0 clamp(18px, 3vw, 44px);
  background: var(--paper); border-bottom: 2px solid var(--ink);
  transition: box-shadow .3s;
}
.top.is-stuck { box-shadow: 0 10px 30px -18px rgba(23, 29, 74, .6); }
.top__logo img { height: 46px; width: auto; }
.top__nav { display: flex; gap: 28px; margin-left: auto; }
.top__nav a { font-weight: 600; font-size: 15.5px; text-decoration: none; position: relative; padding: 6px 0; }
.top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--verm); transform: scaleX(0); transform-origin: right; transition: transform .3s var(--out); }
.top__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.top__burger { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: max(calc(100svh - var(--top-h) - 58px), 640px);
  background: var(--ink); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 70px); align-items: center;
  padding: clamp(32px, 5vh, 70px) clamp(22px, 5.5vw, 90px) clamp(60px, 11vh, 120px);
}
.hero::before { /* paper grain */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__ribbon { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.rb { transform-box: fill-box; transform-origin: left center; transform: scaleX(0); animation: unfurl .26s cubic-bezier(.3, .9, .4, 1) forwards; animation-delay: calc(.55s + var(--i) * .12s); }
@keyframes unfurl { to { transform: scaleX(1); } }

.crop { position: absolute; width: 26px; height: 26px; opacity: .45; pointer-events: none; }
.crop--tl { top: 18px; left: 18px; border-top: 1px solid #fff; border-left: 1px solid #fff; }
.crop--br { bottom: 18px; right: 18px; border-bottom: 1px solid #fff; border-right: 1px solid #fff; }

.hero__eyebrow { animation: lift .6s var(--out) .45s backwards; }
.hero__h1 {
  margin: 22px 0 0; font-weight: 800; font-stretch: 112%;
  font-size: clamp(46px, min(7.1vw, 13.2vh), 124px); line-height: .93; letter-spacing: -.035em;
}
.line { position: relative; display: block; width: fit-content; white-space: nowrap; padding-bottom: .04em; }
.line > span { display: inline-block; opacity: 0; transform-origin: left bottom; animation: snapIn .7s linear forwards; will-change: transform, opacity; }
.line::after { content: ""; position: absolute; inset: 4% -2% 0; transform: scaleX(0); animation: block .7s cubic-bezier(.7, 0, .2, 1) forwards; }
.line--1 > span, .line--1::after { animation-delay: .5s; }
.line--2 > span, .line--2::after { animation-delay: .85s; }
.line--3 > span, .line--3::after { animation-delay: 1.3s; }
.line--1::after { background: var(--sky); }
.line--2::after { background: var(--verm); }
.line--3::after { background: var(--amber); }
.line--2 > span { animation-name: snapIn, ghost; animation-duration: .7s, .9s; animation-delay: .85s, 2.3s; animation-timing-function: linear, ease; animation-fill-mode: forwards, forwards; }
.line--3 { margin-top: .06em; }
.line--3 > span { font-family: var(--serif); font-style: italic; font-weight: 600; letter-spacing: -.02em; color: var(--amber); font-stretch: 100%; padding-right: .08em; }
@keyframes snapIn {
  0%, 49% { opacity: 0; transform: translateX(-.2em) scaleX(.55); }
  50% { opacity: 1; transform: translateX(-.2em) scaleX(.55); animation-timing-function: cubic-bezier(.2, .9, .3, 1); }
  80% { opacity: 1; transform: scaleX(1.09); animation-timing-function: ease-out; }
  100% { opacity: 1; transform: none; }
}
@keyframes block {
  0% { transform: scaleX(0); transform-origin: left; }
  49% { transform: scaleX(1); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}
@keyframes ghost {
  to { color: transparent; -webkit-text-stroke: 1.5px rgba(142, 203, 238, .75); transform: translateX(.16em) skewX(-6deg); }
}
.scribble { position: absolute; left: 0; bottom: -.12em; width: 100%; height: .22em; overflow: visible; }
.scribble path { fill: none; stroke: var(--verm); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 640; stroke-dashoffset: 640; animation: draw .7s var(--out) 2.05s forwards; vector-effect: non-scaling-stroke; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__sub { max-width: 46ch; margin-top: clamp(22px, 3.4vh, 38px); font-size: clamp(17px, 1.35vw, 20.5px); color: #d8dcf3; animation: lift .8s var(--out) .5s backwards; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: clamp(22px, 3.4vh, 36px); animation: lift .8s var(--out) .6s backwards; }
.hero__cta .btn::after { /* one shine pass once the story has played */
  content: ""; position: absolute; top: 0; bottom: 0; width: 46px; left: -80px; background: rgba(255, 255, 255, .5); transform: skewX(-22deg); animation: shine 1.1s ease-in-out 8.5s 1 both;
}
@keyframes shine { to { left: 120%; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes lift { from { transform: translateY(26px); } to { transform: none; } }

/* visitor feed */
.feed {
  position: relative; justify-self: end; width: min(100%, 440px);
  background: var(--paper); color: var(--ink);
  padding: 18px 18px 14px; transform: rotate(-2.2deg);
  box-shadow: 14px 14px 0 rgba(0, 0, 0, .28);
  clip-path: none;
  opacity: 0; animation: feedIn .9s var(--snap) 1.5s forwards;
}
.feed::before { /* folded corner */
  content: ""; position: absolute; top: 0; right: 0; width: 34px; height: 34px;
  background: linear-gradient(225deg, var(--ink) 50%, var(--paper-2) 50%);
}
@keyframes feedIn { from { opacity: 0; transform: translate(60px, 40px) rotate(6deg); } to { opacity: 1; transform: rotate(-2.2deg); } }
.feed__head { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; padding: 0 30px 12px 2px; border-bottom: 2px solid var(--ink); }
.feed__live { display: flex; align-items: center; gap: 8px; }
.feed__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--crimson); animation: blink 1.2s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.feed__count b { font-family: var(--display); font-weight: 800; font-size: 20px; font-stretch: 112%; display: inline-block; min-width: 1.2ch; text-align: right; vertical-align: -2px; }
.feed__rows { position: relative; height: calc(4 * 78px); margin-top: 12px; overflow: hidden; }
.feed__note { font-family: var(--mono); font-size: 10.5px; color: #6c6f86; margin-top: 8px; letter-spacing: .02em; }

.row {
  --c: var(--sky);
  position: absolute; left: 0; right: 0; top: 0; height: 68px;
  display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; padding: 0 12px;
  background: #fff; border: 1.5px dashed #b9bccb; overflow: hidden;
  transform: translateY(calc(var(--y) * 78px));
  transition: transform .6s var(--out), opacity .4s, border-color .2s;
}
.row.is-new { opacity: 0; transform: translateY(calc(var(--y) * 78px + 40px)); }
.row.is-out { opacity: 0; transform: translateY(-78px); }
.row__av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #e3e4ea; color: #9a9db0; font-weight: 800; font-size: 16px; transition: background .25s .22s, color .25s .22s; }
.row__txt { min-width: 0; line-height: 1.25; }
.row__name { display: block; font-weight: 700; font-size: 15.5px; color: #8b8ea3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__meta { display: block; font-family: var(--mono); font-size: 11px; color: #9a9db0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__tags { display: flex; gap: 5px; margin-top: 4px; height: 0; opacity: 0; overflow: hidden; }
.row__tags i { font: 500 9.5px/1 var(--mono); font-style: normal; letter-spacing: .04em; text-transform: uppercase; padding: 4px 6px; background: var(--ink); color: #fff; transform: scale(0); }
.row__wipe { position: absolute; inset: 0; background: var(--c); transform: translateX(-101%); pointer-events: none; }
.row.is-known { border: 1.5px solid var(--ink); border-left: 8px solid var(--c); animation: thunk .45s var(--snap); }
.row.is-known .row__wipe { animation: wipe .55s cubic-bezier(.7, 0, .2, 1) forwards; }
.row.is-known .row__av { background: var(--c); color: var(--ink); }
.row.is-known .row__name { color: var(--ink); }
.row.is-known .row__meta { color: #4d5178; }
.row.is-known .row__tags { height: auto; opacity: 1; }
.row.is-known .row__tags i { animation: pop .35s var(--snap) forwards; }
.row.is-known .row__tags i:nth-child(1) { animation-delay: .4s; }
.row.is-known .row__tags i:nth-child(2) { animation-delay: .52s; }
.row.is-known .row__tags i:nth-child(3) { animation-delay: .64s; }
@keyframes wipe { 0% { transform: translateX(-101%); } 45%, 55% { transform: translateX(0); } 100% { transform: translateX(101%); } }
@keyframes thunk { 0% { scale: 1; } 40% { scale: 1.045; } 100% { scale: 1; } }
@keyframes pop { to { transform: scale(1); } }

/* ---------- marquee ---------- */
.marquee { background: var(--amber); color: var(--ink); border-block: 2px solid var(--ink); overflow: hidden; height: 58px; display: flex; align-items: center; }
.marquee__track { display: flex; flex: none; animation: slide 36s linear infinite; }
.marquee span { flex: none; font-weight: 800; font-stretch: 122%; text-transform: uppercase; font-size: 17px; letter-spacing: .03em; padding-right: 26px; display: flex; align-items: center; gap: 26px; white-space: nowrap; }
.marquee span::after { content: ""; width: 26px; height: 12px; background: var(--verm); transform: skewX(-28deg); }
.marquee span:nth-child(3n)::after { background: var(--plum); }
.marquee span:nth-child(3n+1)::after { background: var(--navy); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- scroll reveal ---------- */
.js [data-rise] { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--out), transform .8s var(--out); transition-delay: var(--d, 0s); }
.js [data-rise].in { opacity: 1; transform: none; }

/* ---------- the problem ---------- */
.leak { padding: clamp(80px, 11vw, 160px) 0 clamp(70px, 9vw, 130px); position: relative; }
.leak__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(44px, 6vw, 80px); }
.slip {
  --c: var(--sky);
  position: relative; background: #fff; padding: 34px 30px 36px; border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--c); transition: transform .35s var(--snap), box-shadow .35s var(--snap);
}
.slip:nth-child(2) { margin-top: 36px; }
.slip:nth-child(3) { margin-top: 72px; }
.slip:hover { transform: translate(-4px, -4px) rotate(-.6deg); box-shadow: 14px 14px 0 var(--c); }
.slip--verm { --c: var(--verm); }
.slip--amber { --c: var(--amber); }
.slip__no { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--plum); }
.slip h3 { font-size: 27px; line-height: 1.08; font-weight: 800; font-stretch: 108%; letter-spacing: -.015em; margin: 14px 0 12px; }
.slip p { font-size: 16.5px; color: #353b68; }

/* ---------- calculator ---------- */
.calc { background: var(--ink); color: #fff; padding: clamp(80px, 10vw, 150px) 0; position: relative; clip-path: polygon(0 0, 62% 46px, 100% 0, 100% 100%, 38% calc(100% - 46px), 0 100%); margin-block: -2px; }
.calc__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.field { margin-top: 34px; }
.field label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-weight: 600; font-size: 16.5px; color: #d8dcf3; }
.field output { font-weight: 800; font-stretch: 115%; font-size: 26px; color: #fff; font-variant-numeric: tabular-nums; }
.field small { display: block; margin-top: 10px; font-family: var(--mono); font-size: 11.5px; color: #9aa1cf; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin-top: 8px; cursor: pointer; --p: 50%; }
input[type=range]::-webkit-slider-runnable-track { height: 8px; background: linear-gradient(90deg, var(--sky) var(--p), #39407a var(--p)); }
input[type=range]::-moz-range-track { height: 8px; background: linear-gradient(90deg, var(--sky) var(--p), #39407a var(--p)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 30px; margin-top: -11px; background: var(--amber); border: 2px solid var(--ink); transform: skewX(-14deg); transition: scale .2s var(--snap); }
input[type=range]::-moz-range-thumb { width: 20px; height: 28px; border-radius: 0; background: var(--amber); border: 2px solid var(--ink); }
input[type=range]:active::-webkit-slider-thumb { scale: 1.2; }
#rRate { --sky: var(--lime); }
#rMatch { --sky: var(--amber); }
.calc__right { background: #1f2760; border: 2px solid #39407a; padding: clamp(22px, 3vw, 40px); }
.dots { display: grid; grid-template-columns: repeat(20, 1fr); gap: 6px; }
.dots i { aspect-ratio: 1; background: #3a4180; transition: background .35s, transform .35s var(--snap); transition-delay: calc(var(--n) * 4ms); }
.dots i.lead { background: var(--lime); transform: scale(1.1); }
.dots i.match { background: var(--amber); transform: rotate(45deg) scale(.86); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: #c3c8ee; }
.legend li { display: flex; align-items: center; gap: 8px; }
.k { width: 11px; height: 11px; background: #3a4180; }
.k--lead { background: var(--lime); }
.k--match { background: var(--amber); transform: rotate(45deg) scale(.86); }
.calc__result { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 30px 0 30px; padding-top: 26px; border-top: 2px solid #39407a; }
.calc__big { display: block; font-weight: 800; font-stretch: 118%; font-size: clamp(40px, 4.6vw, 68px); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.calc__big--amber { color: var(--amber); }
.calc__cap { display: block; margin-top: 8px; font-size: 15px; color: #c3c8ee; line-height: 1.35; }

/* ---------- method ---------- */
.method { padding: clamp(90px, 11vw, 170px) 0; }
.method__wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.method__intro { position: sticky; top: calc(var(--top-h) + 40px); }
.method__intro .btn { margin-top: 34px; }
.step { display: grid; grid-template-columns: 96px 1fr; gap: 26px; min-height: 250px; }
.step__fold { position: relative; clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--out); }
.step.in .step__fold { clip-path: inset(0 0 0 0); }
.step__fold i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--c), var(--c2)); clip-path: polygon(0 0, 58% 0, 100% 100%, 42% 100%); }
.step:nth-child(even) .step__fold i { clip-path: polygon(42% 0, 100% 0, 58% 100%, 0 100%); filter: brightness(.86); }
.step > div { padding: 6px 0 56px; }
.step__no { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--plum); }
.step h3 { font-size: clamp(30px, 3.2vw, 46px); font-weight: 800; font-stretch: 112%; line-height: 1; letter-spacing: -.025em; margin: 10px 0 14px; }
.step p { max-width: 46ch; color: #353b68; }
.js .step > div { opacity: 0; transform: translateX(30px); transition: opacity .7s var(--out) .15s, transform .7s var(--out) .15s; }
.js .step.in > div { opacity: 1; transform: none; }

/* ---------- services ---------- */
.services { background: var(--ink); color: #fff; padding: clamp(90px, 10vw, 150px) 0 clamp(100px, 11vw, 170px); }
.services__head { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: end; }
.services__aside { color: #c3c8ee; max-width: 38ch; justify-self: end; }
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 70px); }
.card {
  position: relative; overflow: hidden; isolation: isolate; text-decoration: none; color: #fff;
  display: flex; flex-direction: column; min-height: 300px; padding: 30px 30px 28px;
  background: #1f2760; border: 2px solid #39407a;
  transition: color .35s, border-color .35s, opacity .8s var(--out), transform .8s var(--out);
}
.card--wide { grid-column: span 2; }
.card::before { /* colour floods in from the folded corner */
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c);
  clip-path: polygon(calc(100% - 54px) 0, 100% 0, 100% 54px);
  transition: clip-path .55s var(--out);
}
.card:hover::before, .card:focus-visible::before { clip-path: polygon(-120% 0, 100% 0, 100% 220%); }
.card:hover, .card:focus-visible { color: var(--ink); border-color: var(--c); }
.card__tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.card h3 { font-size: clamp(26px, 2.5vw, 36px); font-weight: 800; font-stretch: 112%; line-height: 1.02; letter-spacing: -.02em; margin: 14px 0 14px; max-width: 16ch; }
.card p { font-size: 16.5px; max-width: 48ch; opacity: .86; }
.card__go { margin-top: auto; padding-top: 26px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 10px; }
.card__go::after { content: ""; width: 26px; height: 2px; background: currentColor; transition: width .35s var(--out); }
.card:hover .card__go::after { width: 54px; }

/* ---------- why ---------- */
.why { padding: clamp(90px, 11vw, 170px) 0; background: var(--paper); }
.why__wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.why__num { position: sticky; top: calc(var(--top-h) + 40px); background: var(--verm); color: #fff; padding: 36px 34px 34px; rotate: -3deg; box-shadow: 12px 12px 0 var(--ink); }
.why__ten { display: block; font-weight: 900; font-stretch: 125%; font-size: clamp(110px, 15vw, 230px); line-height: .8; letter-spacing: -.06em; }
.why__ten sup { font-size: .45em; color: var(--amber); vertical-align: top; position: relative; top: .1em; }
.why__cap { display: block; margin-top: 24px; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; }
.why__list { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.why__list li { padding: 26px 0; border-top: 2px solid var(--ink); }
.why__list h3 { font-size: 22px; font-weight: 800; font-stretch: 108%; line-height: 1.12; letter-spacing: -.01em; }
.why__list p { font-size: 16.5px; margin-top: 10px; color: #353b68; }

/* ---------- faq ---------- */
.faq { padding: 0 0 clamp(120px, 14vw, 220px); }
.faq__wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); }
.faq details { border-top: 2px solid var(--ink); }
.faq details:last-child { border-bottom: 2px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 700; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; background: var(--ink); clip-path: polygon(42% 0, 58% 0, 58% 42%, 100% 42%, 100% 58%, 58% 58%, 58% 100%, 42% 100%, 42% 58%, 0 58%, 0 42%, 42% 42%); transition: rotate .35s var(--snap), background .2s; scale: .6; }
.faq details[open] summary::after { rotate: 45deg; background: var(--verm); }
.faq summary:hover { color: var(--plum); }
.faq details p { padding: 0 60px 26px 0; color: #353b68; max-width: 62ch; }

/* ---------- contact ---------- */
.contact { position: relative; background: var(--verm); color: #fff; padding: clamp(70px, 8vw, 120px) 0 clamp(80px, 9vw, 130px); }
.contact__fold { position: absolute; left: 0; right: 0; bottom: 100%; width: 100%; height: clamp(50px, 8vw, 120px); margin-bottom: -1px; }
.contact__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.contact__pitch .display em { color: var(--ink); }
.contact__pitch > p { font-size: 20px; margin-top: 24px; max-width: 40ch; }
.ticks { margin-top: 30px; display: grid; gap: 12px; font-weight: 600; }
.ticks li { display: flex; gap: 14px; align-items: center; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 12px; border-left: 4px solid var(--ink); border-bottom: 4px solid var(--ink); rotate: -45deg; translate: 0 -4px; }
.form { background: var(--paper); color: var(--ink); padding: clamp(24px, 3.4vw, 44px); box-shadow: 14px 14px 0 var(--ink); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label, .form legend { font-weight: 700; font-size: 14.5px; display: block; }
.form label i { font-weight: 400; font-style: normal; color: #6c6f86; }
.form input[type=text], .form input[type=email], .form textarea {
  display: block; width: 100%; margin-top: 7px; padding: 14px 14px; font: 500 17px/1.3 var(--display); color: var(--ink);
  background: #fff; border: 2px solid var(--ink); border-radius: 0; transition: box-shadow .2s var(--snap), translate .2s var(--snap);
}
.form input:focus, .form textarea:focus { outline: 0; box-shadow: 5px 5px 0 var(--amber); translate: -2px -2px; }
.form .bad { border-color: var(--crimson); box-shadow: 5px 5px 0 var(--crimson); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: block; padding: 10px 14px; border: 2px solid var(--ink); background: #fff; font-weight: 600; font-size: 14.5px; cursor: pointer; transition: background .2s, color .2s, transform .25s var(--snap); }
.chips span:hover { transform: translateY(-2px); }
.chips input:checked + span { background: var(--ink); color: #fff; transform: rotate(-1.5deg); }
.chips input:focus-visible + span { outline: 3px solid var(--verm); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn { justify-self: start; margin-top: 4px; }
.form__status { font-weight: 600; min-height: 1.4em; font-size: 15.5px; }
.form__status.ok { color: #2f6b1c; }
.form__status.err { color: var(--crimson); }
.form.is-sent > *:not(.form__status) { display: none; }
.form.is-sent .form__status { font-size: 24px; font-weight: 800; line-height: 1.2; padding: 40px 0; color: var(--ink); }

/* ---------- footer ---------- */
.foot { background: var(--paper); border-top: 2px solid var(--ink); padding: 50px 0 90px; font-size: 15px; }
.foot__wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px 60px; align-items: start; }
.foot__logo { height: 52px; width: auto; margin-bottom: 16px; }
.foot p { max-width: 44ch; color: #353b68; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: flex-end; font-weight: 600; }
.foot nav a { text-underline-offset: 5px; text-decoration-color: var(--verm); }
.foot__legal { grid-column: 1 / -1; font-family: var(--mono); font-size: 12px; color: #6c6f86; padding-top: 22px; border-top: 1px solid #cfc6b1; max-width: none !important; }

.sticky-cta { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .top__nav { position: fixed; inset: var(--top-h) 0 auto 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 2px solid var(--ink); padding: 8px 24px 20px; translate: 0 -130%; transition: translate .45s var(--out); z-index: -1; }
  .top__nav.open { translate: 0 0; }
  .top__nav a { padding: 16px 0; font-size: 22px; font-weight: 800; border-bottom: 1px solid #cfc6b1; }
  .top > .btn { margin-left: auto; }
  .top__burger { display: grid; gap: 7px; width: 44px; height: 44px; place-content: center; background: none; border: 2px solid var(--ink); cursor: pointer; padding: 0; }
  .top__burger span { width: 20px; height: 2.5px; background: var(--ink); transition: transform .3s var(--snap); }
  .top__burger[aria-expanded=true] span:first-child { transform: translateY(4.75px) rotate(45deg); }
  .top__burger[aria-expanded=true] span:last-child { transform: translateY(-4.75px) rotate(-45deg); }

  .hero { grid-template-columns: 1fr; padding-bottom: 150px; }
  .hero__h1 { font-size: clamp(44px, 11.6vw, 104px); }
  .feed { justify-self: start; margin-top: 10px; }
  .calc__wrap, .method__wrap, .why__wrap, .faq__wrap, .contact__wrap, .services__head { grid-template-columns: 1fr; }
  .method__intro, .why__num { position: static; }
  .why__num { max-width: 420px; }
  .services__aside { justify-self: start; }
  .svc { grid-template-columns: 1fr 1fr; }
  .leak__grid { grid-template-columns: 1fr; }
  .slip:nth-child(n) { margin-top: 0; }
}
@media (max-width: 640px) {
  :root { --top-h: 64px; }
  body { font-size: 17px; }
  .wrap { width: calc(100% - 36px); }
  .top { gap: 12px; }
  .top__logo img { height: 36px; }
  .top > .btn { display: none; }
  .top__burger { margin-left: auto; }
  .hero { padding: 30px 18px 120px; min-height: 0; }
  .hero__ribbon { height: 46%; top: auto; bottom: 0; }
  .crop { display: none; }
  .hero__eyebrow { font-size: 10.5px; letter-spacing: .08em; white-space: nowrap; }
  .feed__head { font-size: 10.5px; letter-spacing: .04em; white-space: nowrap; }
  .form .btn { width: 100%; justify-content: space-between; }
  .feed { transform: rotate(-1.2deg); padding: 14px 14px 12px; box-shadow: 8px 8px 0 rgba(0, 0, 0, .28); }
  @keyframes feedIn { from { opacity: 0; transform: translate(30px, 30px) rotate(4deg); } to { opacity: 1; transform: rotate(-1.2deg); } }
  .feed__rows { height: calc(3 * 78px); }
  .hero__cta .btn { width: 100%; justify-content: space-between; }
  .svc, .why__list, .form__row, .calc__result, .foot__wrap { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .card { min-height: 240px; }
  .step { grid-template-columns: 54px 1fr; gap: 18px; }
  .calc { clip-path: polygon(0 0, 62% 22px, 100% 0, 100% 100%, 38% calc(100% - 22px), 0 100%); }
  .dots { gap: 4px; }
  .faq details p { padding-right: 0; }
  .foot nav { justify-content: flex-start; }
  .form { box-shadow: 8px 8px 0 var(--ink); }
  .sticky-cta {
    display: block; position: fixed; left: 12px; right: 96px; bottom: 16px; /* right gap leaves room for the chat bubble */ z-index: 80; text-align: center; text-decoration: none;
    background: var(--verm); color: #fff; font-weight: 800; font-stretch: 108%; padding: 16px; border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
    translate: 0 140%; transition: translate .5s var(--snap);
  }
  .sticky-cta.show { translate: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .curtain { display: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
  .js [data-rise], .js .step > div { opacity: 1; transform: none; }
  .step__fold { clip-path: none; }
}
