/* =========================================================
   Sub pages: projects, single project, services
   ========================================================= */
.page .hdr, .page .tabbar { opacity: 1; transform: none; }
.pg { padding-top: calc(var(--safe-t) + 96px); }
.pg-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--tx2); transition: color .3s; }
.pg-back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--spring); }
.pg-back:hover { color: var(--tx); }
.pg-back:hover svg { transform: translateX(-3px); }

/* clip reveal for photo frames: wipes up, photo settles from a zoom */
.rv { clip-path: inset(100% 0 0 0 round var(--r)); transition: clip-path 1.3s cubic-bezier(.77, 0, .18, 1); transition-delay: calc(var(--i, 0) * .08s); }
.rv.in { clip-path: inset(0 0 0 0 round var(--r)); }
.rv img { transform: translate3d(0, var(--py, 0%), 0) scale(1.28); transition: transform 1.6s cubic-bezier(.2, .7, .1, 1); transition-delay: calc(var(--i, 0) * .08s); }
.rv.in img { transform: translate3d(0, var(--py, 0%), 0) scale(1.12); }

/* cursor */
.cur { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; }
.cur span { position: absolute; left: -44px; top: -44px; width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0b0b0c; font-size: 12.5px; font-weight: 500; transform: scale(0); transition: transform .45s var(--ease); }
.cur.on span { transform: scale(1); }
@media (hover: hover) and (pointer: fine) { [data-cur], [data-cur] * { cursor: none; } }

/* page transition overlay */
.flip { position: fixed; z-index: 120; background: #111 center / cover no-repeat; border-radius: 20px; pointer-events: none; transition: left .7s cubic-bezier(.76, 0, .24, 1), top .7s cubic-bezier(.76, 0, .24, 1), width .7s cubic-bezier(.76, 0, .24, 1), height .7s cubic-bezier(.76, 0, .24, 1), border-radius .7s; }
.flip.go { left: 0 !important; top: 0 !important; width: 100vw !important; height: 100vh !important; border-radius: 0; }

/* shared page head */
.pg-head { padding-bottom: 28px; }
.ph-title { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; }
.ph-title h1 { margin: 0; font-size: clamp(44px, 12.5vw, 150px); letter-spacing: -.05em; line-height: 1; }
.ph-count { margin-top: .6em; font-size: 13px; color: var(--blue2); }
.pg-lead { margin-top: 18px; max-width: 30em; font-size: 15px; color: var(--tx2); }

/* =========================================================
   Projects list
   ========================================================= */
.ph-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; }
.pg-filters { position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; min-width: 0; }
.pg-filters::-webkit-scrollbar { display: none; }
.f-ind { position: absolute; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: #fff; transition: transform .6s var(--spring), width .6s var(--spring); }
.pg-filters button { position: relative; z-index: 1; flex: none; height: 36px; padding: 0 15px; border-radius: 999px; font-size: 13px; color: var(--tx2); transition: color .35s; white-space: nowrap; }
.pg-filters button sup { margin-left: 4px; font-family: var(--fm); font-size: 9.5px; opacity: .6; }
.pg-filters button:hover { color: var(--tx); }
.pg-filters button.on { color: #0b0b0c; }
.ph-view { flex: none; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
.ph-view button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--tx2); transition: background .3s, color .3s; }
.ph-view button svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.ph-view button.on { background: #fff; color: #0b0b0c; }

.pg-wrap[data-view="grid"] .pg-rows, .pg-wrap[data-view="list"] .pg-grid { display: none; }
.pg-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px 18px; padding-top: 8px; }
.pc, .pr { transition: opacity .32s var(--ease), transform .5s var(--ease); }
.pc.out, .pr.out { opacity: 0; transform: translateY(14px) scale(.98); }
.pc.hide, .pr.hide { display: none; }
.pc { display: block; }
.pc-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r); background: var(--s1); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc:hover .pc-img img { transform: translate3d(0, var(--py, 0%), 0) scale(1.18); }
.pc-meta { display: grid; grid-template-columns: 30px 1fr auto; align-items: baseline; gap: 10px; padding: 14px 2px 0; }
.pc-n { font-size: 11px; color: var(--blue2); }
.pc-t b { display: block; font-size: 18px; font-weight: 500; letter-spacing: -.02em; transition: color .3s; }
.pc-t em { font-style: normal; font-size: 13px; color: var(--tx2); }
.pc-meta > .mono:last-child { font-size: 11px; color: var(--tx2); white-space: nowrap; }
.pc:hover .pc-t b { color: var(--blue2); }

.pg-rows { border-top: 1px solid var(--line); }
.pr { position: relative; display: grid; grid-template-columns: 26px 64px 1fr 28px; grid-template-areas: "n th t go" "n th ty go"; align-items: center; gap: 2px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.pr-n { grid-area: n; font-size: 11px; color: var(--tx2); }
.pr-thumb { grid-area: th; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; }
.pr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pr-t { grid-area: t; font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
.pr-type { grid-area: ty; font-size: 12.5px; color: var(--tx2); }
.pr-m { display: none; }
.pr-go { grid-area: go; }
.pr-go svg { width: 18px; height: 18px; fill: none; stroke: var(--tx2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease), stroke .3s; }
.flt { display: none; }

/* =========================================================
   Single project
   ========================================================= */
.pg[data-page="one"] { padding-top: 0; }
.pd-hero { --k: 0; position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
.pd-cover { position: absolute; inset: 0; overflow: hidden; transform: translate3d(0, calc(var(--k) * 18vh), 0) scale(calc(1 - var(--k) * .1)); border-radius: calc(var(--k) * 36px); will-change: transform; }
.pd-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.12); opacity: 0; transition: transform 2.4s cubic-bezier(.2, .7, .1, 1), opacity 1s var(--ease); }
.pd-hero.in .pd-cover img { transform: scale(1.02); opacity: 1; }
.flipped .pd-cover img { transition: transform 2.4s cubic-bezier(.2, .7, .1, 1); opacity: 1; transform: scale(1); }
.pd-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,0) 30%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.92)); pointer-events: none; }
.pd-hero-in { position: absolute; left: 0; right: 0; bottom: 0; padding-bottom: calc(var(--tabh) + var(--safe-b) + 40px); opacity: calc(1 - var(--k) * 1.6); transform: translate3d(0, calc(var(--k) * -40px), 0); }
.pd-hero-in .pg-back { color: rgba(255,255,255,.75); }
.pd-type { display: block; margin-top: 18px; font-size: 11px; color: rgba(255,255,255,.8); letter-spacing: .08em; }
.pd-hero h1 { margin-top: 8px; font-size: clamp(38px, 11vw, 140px); letter-spacing: -.05em; line-height: 1.05; }
@media (min-width: 1024px) { .pd-hero h1 { white-space: nowrap; } }
.pd-hero h1 .ch { display: inline-block; transform: translateY(110%) rotate(6deg); opacity: 0; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1), opacity .6s; transition-delay: calc(.25s + var(--ci) * 35ms); }
.pd-hero h1 { overflow: hidden; padding: .06em 0 .16em; }
.pd-hero.in h1 .ch { transform: none; opacity: 1; }
.pd-type, .pd-hero .pg-back { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease) .15s, transform 1s var(--ease) .15s; }
.pd-hero.in .pd-type, .pd-hero.in .pg-back { opacity: 1; transform: none; }
.pd-scroll { display: none; }

.pd-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 40px; }
.pd-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.pd-facts div { padding: 14px 0; border-top: 1px solid var(--line); }
.pd-facts dt { font-size: 12px; color: var(--tx2); }
.pd-facts dd { margin-top: 4px; font-size: 20px; font-weight: 400; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pd-facts dd i { font-style: normal; }
.pd-lead { font-size: clamp(24px, 6.6vw, 46px); line-height: 1.3; letter-spacing: -.03em; font-weight: 500; }
.pd-lead .lw { color: #2c2c31; transition: color .5s var(--ease); }
.pd-lead .lw.lit { color: var(--tx); }
.pd-p { margin-top: 24px; font-size: 15px; line-height: 1.8; color: var(--tx2); max-width: 36em; }
.pd-scope { list-style: none; margin-top: 30px; border-top: 1px solid var(--line); }
.pd-scope li { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pd-scope li .mono { font-size: 11px; color: var(--blue2); }
.pd-cta { margin-top: 34px; }

.pd-media { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 80px; }
.pd-plan { padding: 22px; border-radius: var(--r); background: var(--s1); border: 1px solid var(--line); }
.pd-plan > .mono { font-size: 11px; color: var(--tx2); }
.pd-plan .pj-plan { padding: 6% 4% 0; }
.pd-gal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.pd-gal figure { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r); }
.pd-gal img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pd-next { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; margin-top: 100px; min-height: 62svh; padding: 28px 24px; border-radius: 28px; overflow: hidden; isolation: isolate; }
.pd-next-img { position: absolute; inset: 0; z-index: -1; }
.pd-next-img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.42); transform: scale(1.06); transition: transform 1.4s var(--ease), filter .7s; }
.pd-next:hover .pd-next-img img { transform: scale(1); filter: brightness(.6); }
.pd-next .mono { font-size: 11px; color: rgba(255,255,255,.7); letter-spacing: .08em; }
.pd-next b { font-size: clamp(36px, 10vw, 110px); font-weight: 500; letter-spacing: -.05em; line-height: 1; }
.pd-next-m { margin-top: 6px; }
.pd-next-go { position: absolute; top: 22px; right: 22px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .35s, transform .5s var(--ease); }
.pd-next-go svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pd-next:hover .pd-next-go { background: #fff; transform: rotate(45deg); }
.pd-next:hover .pd-next-go svg { stroke: #0b0b0c; }

/* =========================================================
   Services
   ========================================================= */
.sv-jump { display: flex; gap: 6px; margin-top: 28px; overflow-x: auto; scrollbar-width: none; margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut)); padding: 0 var(--gut); }
.sv-jump::-webkit-scrollbar { display: none; }
.sv-jump a { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; font-size: 13px; border: 1px solid var(--line2); color: var(--tx2); transition: background .35s, color .35s, border-color .35s; }
.sv-jump a .mono { font-size: 10px; color: var(--blue2); transition: color .35s; }
.sv-jump a:hover { color: var(--tx); border-color: rgba(255,255,255,.3); }
.sv-jump a.on { background: #fff; border-color: #fff; color: #0b0b0c; }
.sv-jump a.on .mono { color: var(--blue); }

.sv-sticky { display: none; }
.sv-list { display: flex; flex-direction: column; gap: 76px; padding-top: 20px; }
.sv { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; scroll-margin-top: 90px; }
.sv-img { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r); }
.sv-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sv-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55)); }
.sv-n { position: absolute; left: 18px; bottom: 14px; z-index: 1; font-size: 12px; color: #fff; }
.sv-from { display: inline-block; font-size: 11px; color: var(--blue2); letter-spacing: .06em; }
.sv-txt h2 { margin: 10px 0 0; font-size: clamp(32px, 9vw, 64px); letter-spacing: -.04em; }
.sv-txt p { margin-top: 14px; font-size: 15px; line-height: 1.75; color: var(--tx2); max-width: 32em; }
.sv-txt ul { list-style: none; margin-top: 22px; border-top: 1px solid var(--line); }
.sv-txt li { display: flex; align-items: center; gap: 12px; padding: 13px 0; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.sv-txt li svg { flex: none; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(47,107,255,.16); fill: none; stroke: var(--blue2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sv-go { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; font-size: 14px; font-weight: 500; }
.sv-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--spring); }
.sv-go:hover { color: var(--blue2); }
.sv-go:hover svg { transform: translateX(4px); }

/* steps with a line that draws as you scroll */
.sv-steps { --sp: 0; position: relative; padding-top: 110px; }
.sv-steps h2 { margin-bottom: 36px; }
.st-line { position: absolute; left: calc(var(--gut) + 7px); top: 210px; bottom: 30px; width: 1px; background: var(--line); }
.st-line i { display: block; width: 100%; height: 100%; background: linear-gradient(var(--blue2), var(--blue)); transform-origin: 0 0; transform: scaleY(var(--sp)); }
.st-list { list-style: none; display: flex; flex-direction: column; gap: 34px; padding-left: 36px; }
.st-list li { position: relative; transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.st-list li::before { content: ""; position: absolute; left: -34px; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: #000; border: 1.5px solid var(--blue2); }
.st-list .mono { font-size: 11px; color: var(--blue2); }
.st-list b { display: block; margin-top: 4px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.st-list p { margin-top: 6px; font-size: 14px; color: var(--tx2); max-width: 26em; }

.sv-promise { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 100px; }
.sp { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--i) * .08s); }
.sp:last-child { border-bottom: 1px solid var(--line); }
.sp-n { font-size: clamp(52px, 15vw, 120px); font-weight: 200; letter-spacing: -.06em; line-height: 1; font-variant-numeric: tabular-nums; }
.sp-n i { font-style: normal; }
.sp-n small { margin-left: 6px; font-size: .3em; font-weight: 400; letter-spacing: 0; color: var(--blue2); }
.sp > span:last-child { max-width: 11em; font-size: 13px; color: var(--tx2); text-align: right; }

.sv-cta { margin-top: 100px; padding: 40px 24px; border-radius: 28px; text-align: center; background: radial-gradient(100% 120% at 50% 0%, rgba(47,107,255,.38), rgba(47,107,255,.06) 60%, transparent), var(--s1); border: 1px solid var(--line); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.sv-cta .mono { font-size: 11px; color: var(--blue2); letter-spacing: .08em; }
.sv-cta b { display: block; margin-top: 12px; font-size: clamp(30px, 9vw, 72px); font-weight: 500; letter-spacing: -.045em; line-height: 1.05; }
.sv-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }

/* =========================================================
   Tablet / desktop
   ========================================================= */
@media (min-width: 700px) {
  .pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pd-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-promise { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .sp { flex-direction: column; align-items: flex-start; border-bottom: 0; }
  .sp > span:last-child { text-align: left; }
}
@media (min-width: 1024px) {
  .pg { padding-top: 150px; }
  .pg-head { padding-bottom: 56px; }
  .ph-count { font-size: 15px; }
  .ph-bar { margin-top: 44px; }

  .pg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 70px 26px; padding-bottom: 100px; }
  .pg-grid .pc:nth-child(3n + 2) { margin-top: 110px; }
  .pg-grid .pc:nth-child(3n + 3) { margin-top: 40px; }
  .pc-t b { font-size: 21px; }

  .pr { grid-template-columns: 60px minmax(0, 1fr) 260px 160px 44px; grid-template-areas: "n t ty m go"; padding: 30px 0; gap: 20px; cursor: none; }
  .pr-thumb { display: none; }
  .pr-t { font-size: clamp(36px, 3.6vw, 64px); font-weight: 400; letter-spacing: -.045em; line-height: 1.05; transition: transform .6s var(--ease), color .4s; }
  .pr-type { font-size: 13px; }
  .pr-m { display: block; font-size: 11px; color: var(--tx2); text-align: right; }
  .pr-go { justify-self: end; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line2); transition: background .35s, border-color .35s, transform .5s var(--ease); }
  .pg-rows:hover .pr { opacity: .3; }
  .pg-rows .pr:hover { opacity: 1; }
  .pr:hover .pr-t { transform: translateX(16px); }
  .pr:hover .pr-go { background: #fff; border-color: #fff; transform: rotate(45deg); }
  .pr:hover .pr-go svg { stroke: #0b0b0c; }
  .flt { display: block; position: fixed; left: 0; top: 0; z-index: 40; width: 300px; height: 200px; margin: -100px 0 0 -150px; border-radius: 18px; pointer-events: none; background: #111 center / cover no-repeat; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); opacity: 0; scale: .6; transition: opacity .35s var(--ease), scale .5s var(--ease), background-image .25s; }
  .flt.on { opacity: 1; scale: 1; }

  .pd-hero-in { padding-bottom: 72px; }
  .pd-scroll { display: flex; flex-direction: column; align-items: center; gap: 10px; position: absolute; right: var(--gut); bottom: 72px; font-size: 10.5px; color: rgba(255,255,255,.6); letter-spacing: .14em; writing-mode: vertical-rl; opacity: calc(1 - var(--k) * 3); }
  .pd-scroll i { position: relative; width: 1px; height: 50px; background: rgba(255,255,255,.2); overflow: hidden; }
  .pd-scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 16px; background: #fff; animation: drip 2.2s var(--ease-io) infinite; }
  .pd-body { grid-template-columns: minmax(0, .7fr) minmax(0, 1.5fr); gap: 8vw; padding-top: 110px; }
  .pd-facts { grid-template-columns: minmax(0, 1fr); align-self: start; position: sticky; top: 120px; }
  .pd-facts dd { font-size: 26px; }
  .pd-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); align-items: start; gap: 26px; padding-top: 140px; }
  .pd-plan { position: sticky; top: 120px; }
  .pd-gal { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .pd-gal figure { aspect-ratio: 16 / 10; }
  .pd-gal figure:nth-child(2) { width: 78%; justify-self: end; aspect-ratio: 4 / 3; }
  .pd-next { margin-top: 170px; min-height: 80vh; padding: 60px; border-radius: 40px; cursor: none; }
  .pd-next-go { top: 40px; right: 40px; width: 64px; height: 64px; }

  /* services: sticky photo stage on the left, text scrolls on the right */
  .sv-stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 7vw; }
  .sv-sticky { display: block; position: sticky; top: 0; height: 100vh; padding: 110px 0 40px; }
  .sv-frame { position: relative; height: 100%; border-radius: 30px; overflow: hidden; background: var(--s1); }
  .sv-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.18); transition: clip-path 1.1s cubic-bezier(.77, 0, .18, 1), transform 1.6s cubic-bezier(.2, .7, .1, 1); }
  .sv-frame img.up { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 0; }
  .sv-frame img.on { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 1; }
  .sv-frame::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(0,0,0,.25), transparent 30%, transparent 60%, rgba(0,0,0,.6)); pointer-events: none; }
  .sv-hud { position: absolute; left: 30px; right: 30px; bottom: 26px; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; color: #fff; }
  .sv-hud .mono { font-size: 12px; color: rgba(255,255,255,.75); }
  .sv-hud .mono b { font-weight: 400; color: #fff; font-size: 30px; letter-spacing: -.02em; margin-right: 4px; }
  .sv-title { font-size: 15px; font-weight: 500; overflow: hidden; }
  .sv-title.swap { animation: svSwap .7s var(--ease); }
  @keyframes svSwap { from { transform: translateY(calc(var(--dir, 1) * 100%)); opacity: 0; } to { transform: none; opacity: 1; } }
  .sv-prog { position: absolute; left: -26px; top: 110px; bottom: 40px; width: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
  .sv-prog i { display: block; width: 100%; height: 100%; background: var(--blue2); transform-origin: 0 0; transform: scaleY(0); }
  .sv-list { gap: 0; padding-top: 0; }
  .sv { min-height: 100vh; align-content: center; padding: 60px 0; }
  .sv-img { display: none; }
  .sv-txt h2 { font-size: clamp(44px, 4.4vw, 76px); }
  .pg-head .sv-jump { margin: 40px 0 0; padding: 0; }

  .sv-steps { padding-top: 160px; }
  .sv-steps h2 { margin-bottom: 70px; }
  .st-line { position: relative; left: auto; top: auto; bottom: auto; width: 100%; height: 1px; margin-top: 5px; }
  .st-line i { transform-origin: 0 50%; transform: scaleX(var(--sp)); }
  .st-list { flex-direction: row; gap: 32px; padding-left: 0; margin-top: -6px; }
  .st-list li { flex: 1; padding-top: 34px; }
  .st-list li::before { left: 0; top: 0; }
  .sv-promise { padding-top: 150px; gap: 40px; }
  .sp-n { font-size: clamp(90px, 9vw, 160px); }
  .sv-cta { margin-top: 160px; padding: 100px 40px; border-radius: 40px; }
}

/* =========================================================
   404
   ========================================================= */
.pg.nf { padding-top: 0; }
.nf-hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.nf-img { position: absolute; inset: 0; }
.nf-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; display: block; transform: scale(1.08); animation: nfZoom 2.6s cubic-bezier(.2, .7, .1, 1) forwards; }
@keyframes nfZoom { to { transform: scale(1); } }
.nf-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,0) 35%, rgba(0,0,0,.75) 70%, #000); }
.nf-in { position: relative; padding-bottom: calc(var(--tabh) + var(--safe-b) + 40px); }
.nf-code { font-size: 11px; color: #ffb547; letter-spacing: .14em; }
.nf-big { display: flex; margin-top: 6px; font-size: clamp(110px, 34vw, 300px); font-weight: 600; line-height: .9; letter-spacing: -.06em; }
.nf-big span { display: inline-block; transform: translateY(-120%); opacity: 0; animation: nfDrop 1.2s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.nf-big span:nth-child(2) { animation-delay: .12s; color: transparent; -webkit-text-stroke: 2px #fff; }
.nf-big span:nth-child(3) { animation-delay: .24s; }
@keyframes nfDrop { to { transform: none; opacity: 1; } }
.nf-t { margin-top: 14px; font-size: clamp(24px, 6.4vw, 40px); font-weight: 500; letter-spacing: -.03em; }
.nf-s { margin-top: 10px; max-width: 28em; font-size: 14.5px; color: var(--tx2); }
.nf-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.nf .nf-in > * { opacity: 0; animation: fadeUp 1s var(--ease) forwards; }
.nf .nf-in > .nf-code { animation-delay: .1s; } .nf .nf-in > .nf-big { opacity: 1; animation: none; }
.nf .nf-in > .nf-t { animation-delay: .5s; } .nf .nf-in > .nf-s { animation-delay: .6s; } .nf .nf-in > .nf-btns { animation-delay: .7s; }
@media (min-width: 1024px) {
  /* the whole crane (with the VAGO sign and the hook) fits the width; its dark edges melt into the page */
  .nf-hero { align-items: flex-end; background: #000; }
  .nf-img img { object-fit: contain; object-position: 50% 0%; -webkit-mask-image: linear-gradient(#000 0, #000 calc(100vw * .375 * .55), transparent calc(100vw * .375)); mask-image: linear-gradient(#000 0, #000 calc(100vw * .375 * .55), transparent calc(100vw * .375)); }
  .nf-shade { background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.7) 75%, #000), linear-gradient(90deg, rgba(0,0,0,.55), transparent 40%); }
  .nf-in { padding-bottom: 70px; }
  .nf-big { font-size: clamp(160px, 15vw, 280px); }
}
