/* webdesignagency.co.uk — paper, ink, electric blue, lime, orange. */
:root {
  --paper: #ECE9E2;
  --paper-2: #E2DED5;
  --ink: #0B0B0B;
  --ink-2: #1A1A1A;
  --blue: #1F3BFF;
  --lime: #D6F53A;
  --orange: #FF5B1F;
  --grey: #8C8A85;
  --display: 'Anton', 'Impact', sans-serif;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Archivo', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --hand: 'Caveat', cursive;
  --marker: 'Permanent Marker', 'Caveat', cursive;
  --gut: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 18px/1.45 var(--serif); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::after { /* paper grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .07; mix-blend-mode: multiply;
  background-image: 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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--lime); padding: 10px 16px; font: 600 14px var(--sans); }
.skip:focus { left: 8px; }

.cond { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .92; letter-spacing: -.005em; }
.hand { font-family: var(--hand); font-weight: 500; font-size: 26px; line-height: 1.05; }
.marker { font-family: var(--marker); text-transform: uppercase; line-height: 1.05; }
.mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; line-height: 1.6; }
.dark { background: var(--ink); color: var(--paper); }
.paper { background: var(--paper); }
.dark .hand { color: var(--paper); }

/* ---------- buttons & links ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 12px; border: 0; cursor: pointer; text-decoration: none;
  font: 700 14px/1 var(--sans); text-transform: uppercase; letter-spacing: .06em;
  padding: 17px 28px; border-radius: 99px; color: var(--ink); background: var(--lime);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  box-shadow: 0 0 0 0 var(--ink);
}
.pill:hover { transform: translate(-3px, -3px) rotate(-1.5deg); box-shadow: 5px 5px 0 0 var(--blue); }
.dark .pill:hover { box-shadow: 5px 5px 0 0 var(--paper); }
.pill .ar, .link .ar { display: inline-block; transition: transform .35s var(--ease); }
.pill:hover .ar, .link:hover .ar { transform: translateX(6px); }
.link {
  display: inline-flex; gap: 14px; align-items: center; text-decoration: none;
  font: 600 14px var(--sans); text-transform: uppercase; letter-spacing: .08em;
  padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat;
  transition: background-size .4s var(--ease);
}
.link:hover { background-size: 30% 1.5px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gut); transition: background .3s, padding .3s, box-shadow .3s;
}
.nav.solid { background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding-block: 12px; box-shadow: 0 1px 0 rgba(0,0,0,.08); }
.logo { position: relative; font: 700 21px/1 var(--sans); letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.logo-loop { position: absolute; left: 12px; top: -10px; width: 230px; height: 44px; pointer-events: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.2s .9s var(--ease) forwards; }
.links { display: flex; gap: clamp(18px, 3vw, 44px); }
.links a { font: 500 12px var(--sans); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; position: relative; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.links a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-btn { display: flex; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer; color: inherit; font: 500 12px var(--sans); text-transform: uppercase; letter-spacing: .1em; padding: 8px 0; }
.menu-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: pulse 2.4s infinite; }
.burger { display: grid; gap: 4px; width: 18px; }
.burger b { height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .3s; }
.menu-btn[aria-expanded="true"] .burger b:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .burger b:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .burger b:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--blue); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; gap: 30px; padding: 90px var(--gut) 40px;
  clip-path: circle(0 at calc(100% - 50px) 36px); transition: clip-path .6s var(--ease);
}
.menu.open { clip-path: circle(150% at calc(100% - 50px) 36px); }
.menu nav { display: grid; gap: 4px; }
.menu nav a { font: 400 clamp(48px, 11vw, 120px)/.95 var(--display); text-transform: uppercase; text-decoration: none; transition: color .2s, transform .3s var(--ease); width: fit-content; }
.menu nav a:hover { color: var(--lime); transform: translateX(14px) rotate(-1deg); }
.menu .hand { font-size: 30px; transform: rotate(-3deg); width: fit-content; }
.menu-mail { font: 600 16px var(--sans); }
body.menu-open .nav { color: var(--paper); background: none; box-shadow: none; backdrop-filter: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 24px; padding: 110px var(--gut) 40px; align-items: center; overflow: hidden;
}
.mega { position: relative; font: 400 clamp(56px, 8.2vw, 150px)/.84 var(--display); text-transform: uppercase; letter-spacing: -.02em; }
.mega .ln { display: block; overflow: hidden; padding-block: .02em; white-space: nowrap; }
.mega .w { display: inline-block; transform: translateY(105%); animation: rise .9s var(--ease) forwards; }
.mega .ln:nth-child(1) .w:nth-child(1) { animation-delay: .05s }
.mega .ln:nth-child(1) .w:nth-child(2) { animation-delay: .14s }
.mega .ln:nth-child(2) .w:nth-child(1) { animation-delay: .26s }
.mega .ln:nth-child(2) .w:nth-child(2) { animation-delay: .33s }
.mega .ln:nth-child(2) .w:nth-child(3) { animation-delay: .42s }
.swipe { position: absolute; left: 0; bottom: -.14em; width: 62%; height: .2em; overflow: visible; fill: none; stroke: var(--blue); stroke-width: 9; stroke-linecap: round; filter: url(#rough); }
.swipe path { stroke-dasharray: 420; stroke-dashoffset: 420; }
.hero .swipe path { animation: draw .9s 1s var(--ease) forwards; }
.in .swipe path, .swipe.in path { animation: draw .9s .2s var(--ease) forwards; }
.lede { font-size: clamp(20px, 1.9vw, 27px); line-height: 1.22; max-width: 18em; margin: 34px 0 30px; opacity: 0; animation: fade .8s .7s forwards; }
.hero .pill { opacity: 0; animation: fade .8s .85s forwards; }
.scrawl { margin: 30px 0 0 36px; transform: rotate(-7deg); font-size: clamp(24px, 2.2vw, 30px); opacity: 0; animation: fade 1s 1.2s forwards; }

.collage { position: relative; height: min(78svh, 680px); min-height: 480px; perspective: 1200px; }
.collage > * { position: absolute; }
.paint { fill: var(--blue); filter: url(#rough); }
.p-blue { left: 12%; top: -14%; width: 44%; height: 125%; transform-origin: top; animation: paintIn 1.1s .2s var(--ease) both; }
.card { background: var(--paper-2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); transition: transform .5s var(--ease); will-change: transform; }
.face { left: 4%; top: 2%; width: 58%; aspect-ratio: 5 / 6; background: #d9d6cf; transform: rotate(-3deg); animation: drop 1s .35s var(--ease) both; overflow: hidden; }
.face canvas { width: 100%; height: 100%; }
.face .typer { position: absolute; left: 7%; top: 70%; font-size: 11px; line-height: 1.7; color: var(--ink); min-height: 7em; white-space: pre; }
.typer::after { content: "▍"; animation: blink 1s steps(1) infinite; }
.browser { right: 0; top: 16%; width: 52%; aspect-ratio: 4 / 5; background: #111; border-radius: 12px; padding: 0 8px 8px; transform: rotate(4deg); animation: drop 1s .55s var(--ease) both; }
.bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 6px; }
.bar i { width: 8px; height: 8px; border-radius: 50%; background: #555; }
.bar i:first-child { background: var(--orange); } .bar i:nth-child(2) { background: var(--lime); }
.browser .bar span { margin-left: auto; font: 10px var(--mono); color: #777; }
.browser .page { position: relative; height: calc(100% - 30px); background: var(--paper); border-radius: 4px; padding: 11% 10%; overflow: hidden; }
.browser .big { font: 400 clamp(30px, 3.9vw, 58px)/.95 var(--display); text-transform: uppercase; letter-spacing: -.01em; transform: scaleX(.78); transform-origin: left; width: 128%; font-family: 'Anton', sans-serif; font-stretch: condensed; color: #222; }
.swap { display: inline-block; color: var(--blue); min-width: 1ch; }
.swap.out { animation: swapOut .3s forwards; } .swap.inn { animation: swapIn .35s var(--ease); }
.aster { position: absolute; font: 700 64px/1 var(--sans); right: 14%; bottom: 20%; animation: spin 9s linear infinite; }
.slab { position: absolute; right: 0; top: 20%; width: 12%; height: 22%; background: var(--ink); }
.browser .tiny { position: absolute; right: 7%; bottom: 5%; font-size: 7px; letter-spacing: .1em; text-align: right; }
.peak { left: 2%; bottom: -3%; width: 68%; height: 50%; pointer-events: none; }
.badge {
  right: 0; top: 0; width: clamp(110px, 10vw, 140px); aspect-ratio: 1; border-radius: 50%; background: var(--lime);
  display: grid; place-items: center; text-decoration: none; z-index: 5; animation: pop .8s 1.1s var(--ease) both;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.4);
}
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.badge text { font: 700 9.6px var(--sans); text-transform: uppercase; letter-spacing: .12em; fill: var(--ink); }
.badge span { font: 700 26px var(--sans); animation: bob 1.6s ease-in-out infinite; }
.note-a { right: 22%; bottom: 3%; transform: rotate(-12deg); font-size: 24px; color: var(--paper); z-index: 4; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.doodle { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.d1 { left: -2%; top: 58%; width: 90px; color: var(--ink); z-index: 3; }
.d1 path { stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw .8s 1.4s forwards; }
.plus { font: 300 34px/1 var(--sans); color: var(--ink); }
.p1 { left: -6%; top: 6%; animation: spin 12s linear infinite; } .p2 { right: 44%; top: 2%; font-size: 22px; color: var(--blue); }

/* ---------- versus ---------- */
.versus { position: relative; display: grid; grid-template-columns: minmax(230px, .7fr) minmax(0, 2.4fr) minmax(90px, .35fr); gap: clamp(20px, 3vw, 44px); align-items: center; padding: clamp(60px, 8vw, 110px) var(--gut); overflow: hidden; }
.versus-head h2 { font-size: clamp(34px, 3.2vw, 52px); }
.versus-head em { font-style: normal; color: var(--lime); display: block; }
.versus-head .hand { margin: 30px 0 0 14px; font-size: 28px; }
.versus-head .hand, .stack { transform: rotate(-6deg); }
.d2 { width: 80px; margin: 6px 0 0 70px; color: var(--paper); }
.stack { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.2; }
.stack { transform: rotate(-8deg); }

.compare { position: relative; aspect-ratio: 16 / 8.2; border-radius: 10px; user-select: none; touch-action: pan-y; }
.compare .side { position: absolute; inset: 0; }
.compare .after { clip-path: inset(0 0 0 var(--pos)); }
.compare .before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.win { position: absolute; inset: 0; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.win .bar { flex: none; height: 38px; padding: 0 16px; gap: 7px; }
.win .bar span { font: 600 12px var(--sans); margin-left: 10px; margin-right: auto; }
.win .bar em { font: 500 9px var(--sans); text-transform: uppercase; letter-spacing: .1em; font-style: normal; }
.grey { background: #d4d3d0; color: #6b6a67; filter: saturate(0); }
.grey .bar { background: #c8c7c4; }
.grey .bar i { background: #aaa !important; }
.grey .bar em { width: 34px; height: 6px; background: #b3b2af; border-radius: 3px; }
.usual { flex: 1; padding: 4% 8% 5%; display: grid; grid-template-rows: 1fr auto auto; gap: 5%; }
.stock { background: #bfbebb; border-radius: 4px; display: grid; place-items: center; }
.stock svg { width: 16%; fill: #a3a29f; }
.usual p { font: 400 clamp(14px, 1.8vw, 26px)/1.2 var(--serif); color: #555; max-width: 17em; }
.boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3%; height: 20%; }
.boxes i { background: #bfbebb; border-radius: 3px; min-height: 30px; }
.bold { background: #fff; color: var(--ink); box-shadow: 0 0 0 3px #2a2a2a; }
.bold .bar .brand { font: 700 13px var(--sans); margin-left: 0; }
.bold .bar em { margin-left: 18px; }
.bold-page { position: relative; flex: 1; background: var(--ink); overflow: hidden; margin: 0 10px 10px; }
.bold-page::before { content: ""; position: absolute; left: 0; top: 0; width: 34%; height: 100%; background: var(--blue); clip-path: polygon(0 0, 100% 0, 70% 40%, 90% 100%, 0 100%); }
.ideas { position: relative; z-index: 3; color: #fff; font-size: clamp(34px, 6.4vw, 96px); padding: 7% 0 0 6%; }
.sun { position: absolute; right: 18%; top: 14%; width: 30%; aspect-ratio: 1; border-radius: 50%; background: var(--orange); z-index: 1; }
.compare.in .sun { animation: sunUp 1.4s var(--ease) both; }
.bold-page canvas { position: absolute; right: 0; bottom: 0; width: 70%; height: 80%; z-index: 2; }
.bold-page .sm { position: absolute; left: 6%; bottom: 8%; color: #fff; font-size: 9px; z-index: 3; }
.bold-page .explore { position: absolute; right: 5%; bottom: 8%; color: #fff; font-size: 9px; z-index: 3; border-bottom: 1px solid; }
.tear { position: absolute; top: -3%; bottom: -3%; left: var(--pos); width: 26px; transform: translateX(-4px); z-index: 4; pointer-events: none; }
.tear svg { width: 100%; height: 100%; fill: var(--ink); filter: drop-shadow(2px 0 0 #fff); }
.grip { position: absolute; top: 50%; left: -12px; width: 46px; height: 46px; border-radius: 50%; background: var(--lime); color: var(--ink); display: grid; place-items: center; font: 700 20px var(--sans); transform: translateY(-50%); box-shadow: 0 6px 20px rgba(0,0,0,.4); animation: nudge 2.4s ease-in-out infinite; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 5; }
.compare input:focus-visible ~ .tear .grip { outline: 3px solid var(--paper); outline-offset: 3px; }
.same { position: absolute; left: 50%; top: 104%; transform: translateX(-50%) rotate(-4deg); font-size: 24px; text-align: center; white-space: nowrap; }

/* ---------- experiences ---------- */
.exp { position: relative; display: grid; grid-template-columns: minmax(160px, .9fr) 1.4fr 1.1fr minmax(170px, .8fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(50px, 6vw, 80px) var(--gut); overflow: hidden; }
.bust { position: relative; aspect-ratio: 1 / 1.1; }
.bust canvas { width: 100%; height: 100%; }
.blindfold { position: absolute; left: -12%; top: 40%; width: 110%; height: 18%; fill: var(--blue); filter: url(#rough); transform-origin: left; transform: scaleX(0); transition: transform .8s var(--ease); }
.crown { position: absolute; left: 2%; top: 2%; width: 30%; fill: none; stroke: var(--blue); stroke-width: 3; stroke-linejoin: round; transform: rotate(-16deg); }
.crown path { stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 1s .5s var(--ease); }
.exp.in .blindfold { transform: scaleX(1); }
.exp.in .crown path { stroke-dashoffset: 0; }
.exp > .marker { font-size: clamp(30px, 3.3vw, 50px); transform: rotate(-5deg); }
.exp > .marker span { color: var(--blue); display: block; margin-left: 1em; }
.exp-copy p { font-size: 19px; margin-bottom: 26px; max-width: 16em; }
.scrap { position: relative; background: #f4f2ee; padding: 30px 26px 40px; transform: rotate(4deg); box-shadow: 0 16px 30px -12px rgba(0,0,0,.35); clip-path: polygon(2% 3%, 30% 0, 60% 4%, 98% 1%, 100% 40%, 96% 70%, 99% 98%, 60% 96%, 30% 100%, 1% 97%, 3% 60%, 0 30%); transition: transform .5s var(--ease); }
.scrap:hover { transform: rotate(-2deg) scale(1.04); }
.scrap .marker { font-size: clamp(26px, 2.4vw, 36px); }
.scrap .aster { right: 16px; bottom: 10px; font-size: 44px; }
.tape { position: absolute; width: 70px; height: 24px; background: rgba(214, 196, 150, .75); z-index: 2; }
.t1 { left: -14px; top: 40%; transform: rotate(-38deg); } .t2 { right: -18px; top: 4px; transform: rotate(32deg); }

/* ---------- details tiles ---------- */
.details { display: grid; grid-template-columns: minmax(200px, .8fr) 4fr; gap: clamp(24px, 3vw, 48px); align-items: center; padding: clamp(40px, 5vw, 60px) var(--gut); }
.details > h2 { position: relative; font-size: clamp(36px, 3.6vw, 54px); transform: rotate(-3deg); }
.details .swipe { width: 90%; stroke: var(--paper); stroke-width: 6; bottom: -.3em; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.tile { position: relative; border-radius: 6px; padding: 14px 14px 16px; min-height: 200px; display: flex; flex-direction: column; transition: transform .4s var(--ease); transform-style: preserve-3d; }
.tile:hover { transform: translateY(-8px) rotate(-1.5deg); }
.tile h3 { font: 700 14px var(--sans); text-transform: uppercase; letter-spacing: .04em; }
.tile p { font: 500 12px/1.3 var(--sans); margin-top: auto; }
.tile .ico { flex: 1; display: grid; place-items: center; min-height: 100px; }
.t-type { background: var(--blue); color: #fff; }
.t-motion { background: var(--ink); border: 1.5px solid #444; color: #fff; }
.t-layout { background: var(--lime); color: var(--ink); }
.t-system { background: #efede8; color: var(--ink); }
.t-conv { background: var(--orange); color: var(--ink); }
.t-brand { background: var(--blue); color: #fff; }
.aa { font: 700 72px/1 var(--sans); color: var(--ink); transition: font-weight .4s, letter-spacing .4s; display: inline-block; }
.t-type .aa { animation: aa 5s ease-in-out infinite; }
.spiral { width: 72px; fill: none; stroke: #fff; stroke-width: 2; animation: spin 6s linear infinite; }
.t-motion:hover .spiral { animation-duration: 1.2s; }
.sq { position: absolute; width: 44px; height: 44px; border: 2px solid var(--ink); background: var(--lime); transition: transform .5s var(--ease); }
.t-layout .ico { position: relative; }
.sq.a { transform: translate(-8px, 8px); } .sq.b { transform: translate(10px, -10px); }
.t-layout:hover .sq.a { transform: translate(-20px, 16px) rotate(-8deg); }
.t-layout:hover .sq.b { transform: translate(20px, -18px) rotate(6deg); }
.cube { position: relative; width: 50px; height: 50px; transform-style: preserve-3d; animation: cube 8s linear infinite; }
.cube i { position: absolute; inset: 0; border: 2px solid var(--ink); background: rgba(239,237,232,.85); }
.cube .f1 { transform: translateZ(25px); } .cube .f2 { transform: rotateY(180deg) translateZ(25px); }
.cube .f3 { transform: rotateY(90deg) translateZ(25px); } .cube .f4 { transform: rotateY(-90deg) translateZ(25px); }
.cube .f5 { transform: rotateX(90deg) translateZ(25px); } .cube .f6 { transform: rotateX(-90deg) translateZ(25px); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; }
.bars i { width: 16px; background: var(--ink); height: 20%; transition: height .6s var(--ease); }
.details.in .bars i:nth-child(1) { height: 30%; transition-delay: .3s; }
.details.in .bars i:nth-child(2) { height: 60%; transition-delay: .45s; }
.details.in .bars i:nth-child(3) { height: 100%; transition-delay: .6s; }
.t-conv:hover .bars i { animation: bars .8s ease-in-out infinite alternate; }
.t-conv:hover .bars i:nth-child(2) { animation-delay: .15s; } .t-conv:hover .bars i:nth-child(3) { animation-delay: .3s; }
.venn { position: relative; width: 84px; height: 56px; }
.venn i { position: absolute; top: 0; width: 56px; height: 56px; border-radius: 50%; border: 2.5px solid #fff; transition: transform .5s var(--ease), background .5s; }
.venn i:first-child { left: 0; background: #fff; mix-blend-mode: normal; } .venn i:last-child { right: 0; }
.t-brand:hover .venn i:first-child { transform: translateX(14px); }
.t-brand:hover .venn i:last-child { transform: translateX(-14px); background: var(--lime); mix-blend-mode: difference; }

/* ---------- no safe templates ---------- */
.nosafe { position: relative; display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: clamp(20px, 3vw, 44px); align-items: center; padding: clamp(50px, 6vw, 90px) var(--gut); overflow: hidden; }
.strikes { font-size: clamp(30px, 2.5vw, 44px); transform: rotate(-3deg); }
.strikes span { white-space: nowrap; margin-bottom: .08em; }
.strikes span { position: relative; display: block; width: fit-content; }
.strikes span::after { content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: .13em; background: var(--orange); border-radius: 4px; transform: scaleX(0) rotate(-2deg); transform-origin: left; transition: transform .5s var(--ease); }
.strikes.in span::after { transform: scaleX(1) rotate(-2deg); }
.strikes.in span:nth-child(2)::after { transition-delay: .25s; }
.strikes.in span:nth-child(3)::after { transition-delay: .5s; }
.nosafe-copy p { font-size: 17px; margin-bottom: 14px; max-width: 18em; }
.nosafe-copy .link { margin-top: 10px; }
.eye2 { position: relative; aspect-ratio: 1; }
.p-orange { position: absolute; left: -8%; top: -6%; width: 76%; height: 90%; fill: var(--orange); }
.eye2 .card { position: absolute; left: 10%; top: 8%; width: 92%; aspect-ratio: 1.25; transform: rotate(6deg); overflow: hidden; background: #d9d6cf; clip-path: polygon(0 4%, 20% 0, 50% 3%, 100% 0, 97% 50%, 100% 100%, 60% 96%, 20% 100%, 2% 94%, 4% 50%); }
.eye2 canvas { width: 100%; height: 100%; }
.eye2 .hand { position: absolute; left: 4%; bottom: 0; transform: rotate(-10deg); font-size: 28px; }
.vanish .marker { font-size: clamp(22px, 2.1vw, 32px); transform: rotate(-5deg); }
.fade span { display: inline-block; transition: opacity .6s, transform .8s var(--ease), filter .6s; }
.fade.gone span { opacity: .12; filter: blur(3px); }
.remember { position: relative; margin-top: 30px; }
.remember span { display: inline; }
.remember .swipe { width: 70%; left: 10%; bottom: -.4em; stroke-width: 7; height: .35em; }

/* ---------- work ---------- */
.work { background: var(--paper-2); padding: clamp(60px, 7vw, 100px) 0; overflow: hidden; position: relative; }
.work-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding: 0 var(--gut) 40px; flex-wrap: wrap; }
.work-head h2 { font-size: clamp(56px, 8vw, 120px); }
.work-head p { max-width: 20em; font-size: 19px; }
.work-head b { font: 400 64px/1 var(--display); display: inline; }
.work-head p > span { font: 400 64px/1 var(--display); color: var(--blue); margin-right: 8px; }
.rail { overflow: hidden; cursor: grab; touch-action: pan-y; }
.rail.drag { cursor: grabbing; }
.track { display: flex; gap: 28px; width: max-content; padding: 20px var(--gut) 30px; will-change: transform; }
.shot { flex: none; width: clamp(280px, 34vw, 520px); background: #111; border-radius: 10px; padding: 0 7px 7px; text-decoration: none; color: var(--ink); position: relative; transition: transform .45s var(--ease); }
.shot:nth-child(odd) { transform: rotate(-1.5deg); } .shot:nth-child(even) { transform: rotate(1.5deg) translateY(14px); }
.shot:hover { transform: rotate(0) translateY(-10px) scale(1.02); }
.shot img { border-radius: 4px; width: 100%; height: auto; pointer-events: none; }
.shot > span { position: absolute; left: 18px; bottom: -18px; background: var(--lime); padding: 8px 14px; font: 700 14px var(--sans); text-transform: uppercase; letter-spacing: .04em; transform: rotate(-2deg); }
.shot small { display: block; font: 500 11px var(--sans); text-transform: none; letter-spacing: 0; }
.rail-note { position: absolute; right: var(--gut); bottom: 18px; transform: rotate(-6deg); }

/* ---------- steps ---------- */
.steps { padding: clamp(60px, 7vw, 100px) var(--gut); }
.steps h2 { font-size: clamp(48px, 6vw, 88px); margin-bottom: 40px; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.steps li { padding: 26px 26px 10px 0; border-right: 1px solid rgba(0,0,0,.15); margin-right: 26px; }
.steps li:last-child { border-right: 0; }
.steps b { font: 400 56px/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--ink); transition: color .3s; }
.steps li:hover b { color: var(--blue); -webkit-text-stroke-color: var(--blue); }
.steps h3 { font: 700 20px var(--sans); margin: 14px 0 8px; }
.steps p { font-size: 17px; }

/* ---------- cta ---------- */
.cta { position: relative; display: grid; grid-template-columns: .9fr 2.6fr .9fr; gap: 24px; align-items: center; min-height: 560px; padding: 70px var(--gut); overflow: hidden; }
.cta-note { position: relative; z-index: 3; transform: rotate(-8deg); font-size: clamp(24px, 2.2vw, 32px); align-self: start; }
.sunset { position: absolute; left: 0; bottom: 0; width: 46%; height: 100%; pointer-events: none; }
.bigsun { position: absolute; left: 12%; bottom: 14%; width: min(40vw, 480px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #3350ff, var(--blue) 60%, #1530e0); transform: translateY(var(--sun, 40%)); box-shadow: 0 0 120px 20px rgba(31,59,255,.35); }
.sunset canvas { position: absolute; left: 0; bottom: 0; width: 100%; height: 52%; }
.figure { position: absolute; left: 34%; bottom: 44%; width: 22px; fill: #050505; }
.cta-copy { position: relative; z-index: 3; grid-column: 2; padding-left: 22%; }
.cta-copy h2 { font-size: clamp(30px, 2.9vw, 50px); }
.cta-copy em { font-style: normal; color: var(--lime); font-size: 1.75em; display: inline-block; line-height: .95; white-space: nowrap; }
.cta-copy em .ch { display: inline-block; transition: transform .25s var(--ease); }
.cta-copy em .ch:hover { transform: translateY(-.12em) rotate(-6deg); }
.d3 { width: 80px; color: var(--paper); margin: 18px 0 0 40px; display: inline-block; vertical-align: top; }
.cta-copy .pill { margin: 34px 0 0 10px; }
.checks { position: relative; z-index: 3; list-style: none; padding: 0; margin: 0; transform: rotate(-8deg); font: 500 clamp(20px, 1.8vw, 26px)/1 var(--hand); text-transform: uppercase; }
.checks li { position: relative; padding-left: 36px; margin-bottom: 18px; }
.checks li::before { content: ""; position: absolute; left: 0; top: -2px; width: 20px; height: 20px; border: 2px solid var(--paper); border-radius: 3px; }
.checks li::after { content: ""; position: absolute; left: 5px; top: 1px; width: 8px; height: 14px; border: solid var(--lime); border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); }
.checks.in li::after { transform: rotate(45deg) scale(1); }
.checks.in li:nth-child(2)::after { transition-delay: .3s; } .checks.in li:nth-child(3)::after { transition-delay: .6s; } .checks.in li:nth-child(4)::after { transition-delay: .9s; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(30px, 5vw, 80px); padding: clamp(60px, 7vw, 110px) var(--gut); align-items: start; }
.contact h2 { font-size: clamp(64px, 9vw, 140px); }
.contact .lede { opacity: 1; animation: none; margin: 24px 0; }
.contact .mail a { font: 700 clamp(18px, 1.8vw, 24px) var(--sans); text-decoration: none; background: linear-gradient(var(--lime), var(--lime)) 0 88% / 100% 40% no-repeat; }
.contact .hand { margin-top: 40px; transform: rotate(-5deg); color: var(--blue); }
.project { background: var(--ink); color: var(--paper); padding: clamp(24px, 3vw, 44px); border-radius: 10px; box-shadow: 10px 10px 0 var(--blue); }
.project h3 { font-size: 40px; margin-bottom: 20px; color: var(--lime); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field label { font: 600 12px var(--sans); text-transform: uppercase; letter-spacing: .08em; }
.field small { font-weight: 400; text-transform: none; letter-spacing: 0; opacity: .6; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 17px var(--serif); color: var(--paper); background: #1b1b1b; border: 1.5px solid #3a3a3a; border-radius: 6px; padding: 12px 14px;
  transition: border-color .2s, background .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--lime) 50%), linear-gradient(-45deg, transparent 50%, var(--lime) 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); background: #222; }
.err { font: 500 13px var(--sans); color: var(--orange); min-height: 0; }
.trap { position: absolute; left: -9999px; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form-foot small { font: 400 13px var(--sans); opacity: .7; }
.pill:disabled { opacity: .6; cursor: wait; }
.status { margin-top: 12px; font: 500 14px var(--sans); }
.status.bad { color: var(--orange); }
.done h3 { font: 400 56px/.95 var(--display); text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 30px var(--gut) calc(30px + env(safe-area-inset-bottom)); }
.foot nav { display: flex; gap: clamp(16px, 3vw, 44px); flex-wrap: wrap; }
.foot nav a, .foot p { font: 500 11px var(--sans); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; }
.foot nav a:hover { color: var(--lime); }
.foot p span { opacity: .6; margin-left: 10px; }
.blink { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--paper); margin-left: 14px; animation: pulse 2s infinite; }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); mix-blend-mode: difference; pointer-events: none; z-index: 300; opacity: 0; transition: width .25s var(--ease), height .25s var(--ease), opacity .3s; }
.cursor.on { opacity: 1; }
.cursor.big { width: 56px; height: 56px; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(40px) rotate(var(--r, 0deg)); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: translateY(0) rotate(var(--r, 0deg)); }

/* ---------- keyframes ---------- */
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes bob { 50% { transform: translateY(5px); } }
@keyframes pop { from { transform: scale(0) rotate(-90deg); } to { transform: scale(1) rotate(0); } }
@keyframes drop { from { opacity: 0; transform: translateY(-40px) rotate(-12deg); } }
@keyframes paintIn { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes swapOut { to { transform: translateY(-40%); opacity: 0; } }
@keyframes swapIn { from { transform: translateY(40%); opacity: 0; } }
@keyframes nudge { 0%, 100% { transform: translate(0, -50%); } 50% { transform: translate(6px, -50%); } }
@keyframes sunUp { from { transform: translateY(60%); } }
@keyframes aa { 0%, 100% { font-weight: 700; letter-spacing: -.02em; transform: none; } 33% { font-weight: 500; letter-spacing: .08em; transform: skewX(-10deg); } 66% { font-weight: 700; letter-spacing: -.08em; transform: scale(1.12); } }
@keyframes cube { from { transform: rotateX(-24deg) rotateY(0); } to { transform: rotateX(-24deg) rotateY(360deg); } }
@keyframes bars { from { transform: scaleY(1); } to { transform: scaleY(.55); } }
.bars i { transform-origin: bottom; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .exp { grid-template-columns: minmax(140px, .8fr) 1.4fr 1.2fr; }
  .exp .scrap { display: none; }
  .nosafe { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr 2fr; }
  .checks { grid-column: 2; }
  .cta-copy { padding-left: 0; }
}
@media (max-width: 900px) {
  body { font-size: 17px; }
  .links { display: none; }
  .logo-loop { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 96px; min-height: 0; }
  .collage { height: 118vw; min-height: 0; max-height: 640px; }
  .scrawl { display: none; }
  .versus { grid-template-columns: 1fr; }
  .versus-head .hand, .d2 { display: none; }
  .compare { aspect-ratio: 4 / 3.4; }
  .stack { display: none; }
  .same { left: 0; top: 102%; transform: rotate(-3deg); }
  .compare { margin-bottom: 36px; }
  .p-blue { top: 0; height: 110%; }
  .collage { margin-top: 20px; }
  .cta-copy h2 { line-height: 1; }
  .details { grid-template-columns: 1fr; }
  .exp { grid-template-columns: 1fr 1.2fr; }
  .exp-copy { grid-column: 1 / -1; }
  .steps ol { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(2) { border-right: 0; }
  .cta { grid-template-columns: 1fr; min-height: 0; padding-bottom: 300px; }
  .cta-copy, .checks { grid-column: 1; }
  .sunset { width: 100%; height: 360px; top: auto; }
  .bigsun { width: 70vw; left: 8%; bottom: 20%; }
  .checks { transform: rotate(-4deg); }
  .cta-note { display: none; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .logo { font-size: 17px; }
  .face .typer { font-size: 9px; }
  .browser { width: 56%; }
  .note-a { font-size: 19px; right: 30%; }
  .badge { width: 96px; }
  .badge text { font-size: 10px; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile { min-height: 180px; }
  .exp { grid-template-columns: 1fr; }
  .bust { width: 60%; margin: 0 auto; }
  .nosafe { grid-template-columns: 1fr; }
  .strikes span { white-space: normal; }
  .cta-copy em { white-space: normal; }
  .eye2 { width: 86%; }
  .steps ol { grid-template-columns: 1fr; }
  .steps li { border-right: 0; margin-right: 0; border-bottom: 1px solid rgba(0,0,0,.15); }
  .row { grid-template-columns: 1fr; gap: 0; }
  .ideas { font-size: 42px; }
  .rail-note { display: none; }
  .foot { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
