/* v7: structure and motion modelled on a scroll-story portfolio, in Nikhila's own palette
   (sky blue, periwinkle and balloon pink on navy and soft white). */
:root {
  --light: #f3f4fb;
  --dark: #161a33;
  --ink: #1d2140;
  --soft: #eef1ff;
  --sky: #8fbfff;
  --peri: #7a88ff;
  --pink: #ff8fc4;
  --navy-2: #262b52;
  --cab: "Cabinet Grotesk", "Arial", sans-serif;
  --sat: "Satoshi", "Arial", sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
  --inset: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--light); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { background: var(--light); color: var(--ink); font-family: var(--sat); font-size: 18px; line-height: 1.45; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--peri); outline-offset: 3px; }
.grain { position: absolute; width: 0; height: 0; }

/* ---------- fixed chrome ---------- */
.top { position: fixed; inset: calc(var(--inset) + 18px) calc(var(--inset) + 22px) auto; z-index: 50; display: flex; align-items: center; justify-content: center; pointer-events: none; color: #fff; transition: color .4s; }
.top__logo { position: absolute; left: 0; font-family: var(--cab); font-weight: 800; font-size: 24px; letter-spacing: -.02em; pointer-events: auto; }
.top__nav { display: flex; gap: clamp(18px, 3vw, 46px); padding: 18px clamp(24px, 3vw, 44px); border-radius: 999px; pointer-events: auto;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 17px; font-weight: 500; transition: background .4s, border-color .4s, transform .6s cubic-bezier(.2, .8, .2, 1); }
.top__nav a { opacity: .92; transition: opacity .2s; }
.top__nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
body.on-light .top { color: var(--ink); }
body.on-light .top__nav { background: rgba(255, 255, 255, .6); border-color: rgba(29, 33, 64, .1); }
body.on-dark .top__nav { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .12); }
body.nav-up .top__nav { transform: translateY(-140%); }

.ticks { position: fixed; left: calc(var(--inset) + 22px); bottom: calc(var(--inset) + 26px); z-index: 50; list-style: none; display: grid; gap: 9px; pointer-events: none; }
.ticks li { width: 14px; height: 2px; border-radius: 2px; background: #fff; opacity: .55; transition: width .4s, opacity .4s, background .4s; }
.ticks li.on { width: 46px; opacity: 1; }
.ticks li.near { width: 26px; opacity: .8; }
body.on-light .ticks li { background: var(--ink); }

/* ---------- 1. hero ---------- */
.hero { height: 300vh; position: relative; }
.hero__card { position: sticky; top: var(--inset); height: calc(100vh - 2 * var(--inset)); margin: var(--inset); border-radius: 28px; overflow: hidden; background: linear-gradient(120deg, #8fbfff, #7a88ff 55%, #ff8fc4); isolation: isolate; }
.hero__grad, .hero__mono { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__grad { z-index: 0; }
.hero__mono { z-index: 2; pointer-events: none; }
.hero__name { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--sat); font-weight: 400; color: var(--soft); line-height: .9; letter-spacing: -.04em; text-align: center; }
.hero__line { display: block; font-size: clamp(90px, 17vw, 300px); white-space: nowrap; }
.hero__line--sm { font-size: clamp(40px, 7vw, 124px); letter-spacing: -.03em; margin-top: .25em; opacity: .9; }
.hero__name .ch { display: inline-block; will-change: transform; }
.hero__role { position: absolute; z-index: 3; font-family: var(--sat); font-weight: 400; color: var(--soft); font-size: clamp(56px, 8.5vw, 150px); letter-spacing: -.035em; line-height: 1; opacity: 0; white-space: nowrap; }
.hero__role--a { right: 9vw; top: 14vh; }
.hero__role--b { left: 10vw; bottom: 16vh; }
.hero__hint { position: absolute; right: 30px; bottom: 26px; z-index: 3; color: rgba(255, 255, 255, .8); }
.hero__hint::after { content: ""; display: inline-block; width: 1px; height: 26px; margin-left: 10px; vertical-align: middle; background: currentColor; animation: hint 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- 2. the riding sentence ---------- */
.ride { height: 250vh; position: relative; background: var(--light); }
.ride__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.ride__text { font-family: var(--cab); font-weight: 700; font-size: clamp(80px, 12vw, 220px); letter-spacing: -.03em; line-height: 1; white-space: nowrap; color: var(--ink); will-change: transform; padding-left: 100vw; }
.ride__text .ch { display: inline-block; will-change: transform; }

/* ---------- 3. journey ---------- */
.journey { height: 900vh; position: relative; background: var(--dark); color: var(--soft); }
.journey__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.j-title, .j-step, .j-bridge, .j-outline { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; }
.j-title { font-family: var(--cab); font-weight: 700; font-size: clamp(64px, 9vw, 170px); letter-spacing: -.03em; }
.j-title .ch { display: inline-block; will-change: transform; }
.j-small { font-family: var(--cab); font-weight: 700; font-size: clamp(60px, 8vw, 150px); letter-spacing: -.03em; }
.j-big { font-family: var(--cab); font-weight: 700; font-size: clamp(56px, 7.4vw, 140px); letter-spacing: -.03em; line-height: .95; }
.j-step, .j-bridge, .j-outline { opacity: 0; }
.j-bridge { gap: 2.4vw; }
.j-pill { flex: 0 0 auto; width: 26vw; height: 15vw; border-radius: 22px; background: linear-gradient(100deg, var(--sky), var(--peri)); position: relative; overflow: hidden; }
.j-pill--l { background: linear-gradient(100deg, #b9d6ff, var(--sky) 50%, var(--peri)); }
.j-pill--r { background: linear-gradient(100deg, var(--peri), #b58cff 50%, var(--pink)); }
.j-pill::after, .foot::after, .j-flood::after { content: ""; position: absolute; inset: 0; background: url(img/grain.png); opacity: .6; pointer-events: none; }
.j-flood { position: absolute; inset: 0; clip-path: inset(50% 50% 50% 50% round 22px); background: linear-gradient(120deg, #8fbfff, #7a88ff 50%, #ff8fc4); }
.j-flood__grad { width: 100%; height: 100%; display: block; }
.j-outline { font-family: var(--cab); font-weight: 700; font-size: clamp(64px, 9vw, 180px); letter-spacing: -.03em; line-height: .95; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .95); z-index: 2; padding: 0 6vw; }

/* ---------- 4. toolkit ---------- */
.toolkit { height: 420vh; position: relative; background: var(--dark); color: var(--soft); }
.toolkit__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.toolkit__head { position: absolute; top: 14vh; left: 0; right: 0; text-align: center; }
.toolkit__head h2 { font-family: var(--cab); font-weight: 700; font-size: clamp(48px, 5vw, 92px); letter-spacing: -.02em; line-height: 1; }
.toolkit__sub { position: relative; height: 1.6em; margin-top: 12px; font-size: clamp(16px, 1.3vw, 22px); opacity: .85; }
.tk-sub { position: absolute; left: 0; right: 0; }
.tk-sub--b { opacity: 0; }
.deck { position: absolute; left: 50%; top: 60%; width: 0; height: 0; perspective: 1400px; }
.card { position: absolute; width: clamp(150px, 15vw, 250px); aspect-ratio: 5 / 7; left: 0; top: 0; transform-style: preserve-3d; will-change: transform; }
.card__f, .card__b { position: absolute; inset: 0; border-radius: 18px; padding: 10% 10%; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; text-align: center; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.card__b { transform: rotateY(180deg); }
.card b { font-family: var(--cab); font-weight: 800; font-size: clamp(30px, 2.9vw, 52px); line-height: .92; letter-spacing: -.02em; }
.card i { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, .14); }
.c1 .card__f { background: var(--sky); color: var(--ink); }
.c2 .card__f { background: #fff; color: var(--ink); }
.c3 .card__f { background: var(--navy-2); color: var(--sky); }
.c3 .card__f i { background: rgba(255, 255, 255, .12); }
.c4 .card__f { background: var(--peri); color: #fff; }
.c4 .card__f i { background: rgba(255, 255, 255, .2); }
.c5 .card__f { background: var(--pink); color: var(--ink); }
.c1 .card__b { background: var(--pink); color: var(--ink); }
.c2 .card__b { background: var(--navy-2); color: var(--pink); }
.c2 .card__b i { background: rgba(255, 255, 255, .12); }
.c3 .card__b { background: var(--sky); color: var(--ink); }
.c4 .card__b { background: #fff; color: var(--ink); }
.c5 .card__b { background: var(--peri); color: #fff; }
.c5 .card__b i { background: rgba(255, 255, 255, .2); }

/* ---------- 5. projects: the v5nc layout (label, statement, sideways card reel) in v7 type and colour ---------- */
.projects { position: relative; background: var(--light); padding: clamp(110px, 16vh, 190px) 0 clamp(60px, 8vh, 110px); --pad: clamp(20px, 3vw, 48px); }
.pgrid { display: grid; grid-template-columns: 32vw 1fr; padding: 0 var(--pad); }
.ptag { position: relative; padding: .7vw 0 0 22px; color: var(--ink); }
.ptag::before { content: ""; position: absolute; left: 0; top: calc(.7vw + .2em); width: 10px; height: 10px; border-radius: 50%; background: var(--peri); box-shadow: 0 0 0 4px rgba(122, 136, 255, .2); }
.plead { position: relative; font-family: var(--cab); font-weight: 500; font-size: clamp(30px, 3.2vw, 58px); line-height: 1.05; letter-spacing: -.02em; text-indent: 20vw; margin-bottom: 3vw; color: var(--ink); }
.plead::before { content: "→"; position: absolute; left: 0; top: 0; text-indent: 0; color: var(--peri); }
.plead .w { opacity: .2; }
.pbody { font-size: clamp(16px, 1.25vw, 20px); line-height: 1.55; color: #4a4f6b; max-width: 38em; }
.reel { margin-top: 5vw; overflow: hidden; }
.reel__track { display: flex; gap: 2.2vw; padding: 1vw var(--pad) 3vw; width: max-content; will-change: transform; }
.reel__card { position: relative; flex: 0 0 auto; width: 46vw; background: #fff; border-radius: 24px; padding: 10px; box-shadow: 0 18px 50px rgba(40, 50, 140, .1); transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s; }
.reel__card:hover { transform: translateY(-8px) rotate(-.4deg); box-shadow: 0 28px 70px rgba(40, 50, 140, .18); }
.reel__img { display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: #e6ebff; }
.reel__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.reel__card:hover .reel__img img { transform: scale(1); }
.reel__meta { display: grid; grid-template-columns: 70px 1fr auto 40px; align-items: center; gap: 16px; padding: 16px 12px 8px; }
.reel__meta .mono { color: var(--peri); }
.reel__meta b { font-family: var(--cab); font-weight: 700; font-size: clamp(22px, 1.9vw, 34px); line-height: 1; letter-spacing: -.01em; }
.reel__meta > span:nth-child(3) { color: #4a4f6b; font-size: 15px; text-align: right; }
.reel__meta i { font-style: normal; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #e9ecff; color: var(--peri); transition: background .3s, color .3s, transform .3s; }
.reel__card:hover .reel__meta i { background: linear-gradient(120deg, var(--sky), var(--peri) 55%, var(--pink)); color: #fff; transform: rotate(45deg); }
@media (max-width: 760px) {
  .pgrid { grid-template-columns: 1fr; }
  .ptag { margin-bottom: 20px; }
  .plead { text-indent: 28vw; margin-bottom: 24px; }
  .reel { overflow-x: auto; scroll-snap-type: x mandatory; }
  .reel__card { width: 84vw; scroll-snap-align: center; }
  .reel__meta { grid-template-columns: 1fr 40px; gap: 4px 12px; }
  .reel__meta .mono, .reel__meta b { grid-column: 1; }
  .reel__meta > span:nth-child(3) { grid-column: 1; text-align: left; }
  .reel__meta i { grid-column: 2; grid-row: 1 / span 3; }
}

/* ---------- 6. curve + footer ---------- */
.outro { position: relative; background: var(--dark); color: var(--soft); padding-bottom: var(--inset); }
.outro__pin { height: 280vh; position: relative; }
.arc { position: sticky; top: 0; width: 100%; height: 100vh; display: block; }
.arc__t { font-family: var(--sat); font-weight: 500; font-size: 150px; letter-spacing: -.02em; fill: var(--soft); }
/* "let's talk": the v5nc footer (big word with trailing copies, details, pill links) in the v7 gradient card */
.foot { position: relative; margin: 0 var(--inset); border-radius: 28px; overflow: hidden; min-height: calc(100vh - 2 * var(--inset));
  padding: clamp(110px, 14vw, 220px) clamp(24px, 3vw, 48px) clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(110deg, #8fbfff, #7a88ff 50%, #ff8fc4); color: #fff; isolation: isolate; }
.foot__grad { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.foot__stack { position: relative; --p: 0; }
.foot__word { display: block; font-family: var(--cab); font-weight: 800; font-size: 16vw; line-height: .9; letter-spacing: -.025em; white-space: nowrap; text-align: center; color: #fff; }
.foot__word--front { position: relative; z-index: 5; text-shadow: 0 12px 50px rgba(40, 50, 140, .22); }
.foot__word--trail { position: absolute; left: 0; right: 0; top: 0; clip-path: inset(0 0 52% 0); transform: translateY(calc(var(--p) * var(--i) * -22%)); will-change: transform; opacity: calc(.55 - var(--i) * .13); }
.foot__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4vw; align-items: start; margin-top: 5vw; }
.foot__addr { white-space: pre-line; line-height: 1.75; color: rgba(255, 255, 255, .92); }
.foot__links { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 2.4vw; font-size: clamp(16px, 1.25vw, 20px); }
.foot__links a, .foot__links button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 16px 22px; border-radius: 999px; color: #fff;
  background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .34);
  text-align: left; font-weight: 500; transition: background .3s, color .3s, transform .3s, border-color .3s; }
.foot__links a:hover, .foot__links button:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-2px); }
.foot__links span { font-size: 1.2em; line-height: .8; }
.foot__copy { margin-top: 3vw; color: rgba(255, 255, 255, .8); }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  :root { --inset: 10px; }
  .top__nav { gap: 14px; padding: 12px 18px; font-size: 14px; }
  .top__logo { display: none; }
  .hero__card { border-radius: 20px; }
  .hero__role--a { right: 6vw; top: 18vh; }
  .hero__role--b { left: 6vw; bottom: 20vh; }
  .j-bridge { flex-direction: column; }
  .j-pill { width: 60vw; height: 18vh; }
  .foot__grid { grid-template-columns: 1fr; }
  .foot__links { grid-template-columns: 1fr; }
  .foot__word { font-size: 19vw; }
  .arc__t { font-size: 190px; }
  .ticks { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__hint::after { animation: none; }
}

/* the scroll ticks step aside once the footer is in view */
.ticks { transition: opacity .4s; }
body.at-end .ticks { opacity: 0; }

/* description text in the hero font (Satoshi, regular), headings stay in Cabinet Grotesk */
.ride__text { font-family: var(--sat); font-weight: 400; letter-spacing: -.035em; }
.plead { font-family: var(--sat); font-weight: 400; letter-spacing: -.025em; line-height: 1.12; }

/* ---------- 4. process: the v5nc "five steps" on a soft sky tint (no dark background) ---------- */
.process { position: relative; --pad: clamp(20px, 3vw, 48px); --tint: #e8eeff; background: var(--tint); padding: clamp(110px, 16vh, 190px) 0 0; color: var(--ink); }
.process .grid { display: grid; grid-template-columns: 32vw 1fr; padding: 0 var(--pad); }
.process .tag { position: relative; padding: .7vw 0 0 22px; white-space: pre-line; }
.process .tag::before { content: ""; position: absolute; left: 0; top: calc(.7vw + .2em); width: 10px; height: 10px; border-radius: 50%; background: var(--peri); box-shadow: 0 0 0 4px rgba(122, 136, 255, .2); }
.process .h4 { grid-column: 2; font-family: var(--cab); font-weight: 700; font-size: clamp(44px, 5.6vw, 104px); line-height: .95; letter-spacing: -.03em; padding-bottom: 5vw; }
.steps { position: relative; }
.step { position: sticky; top: 0; background: var(--tint); border-top: 1.5px solid rgba(29, 33, 64, .12); padding: clamp(110px, 14vh, 140px) 0 0; min-height: 28vw; }
.step:nth-child(even) { background: #eef2ff; }
.step .grid { grid-template-columns: 32vw 1fr 36%; align-items: start; }
.step__body { padding: 0 3vw 7vw 0; }
.step__t { font-family: var(--cab); font-weight: 700; font-size: clamp(44px, 5vw, 92px); line-height: .92; letter-spacing: -.03em; margin-bottom: 1.6vw; }
.step .body { font-family: var(--sat); font-weight: 400; font-size: clamp(18px, 1.5vw, 26px); line-height: 1.4; color: #3d4263; max-width: 26em; }
.step__card { border-radius: 28px; background: #fff; color: var(--ink); min-height: 20vw; display: grid; place-items: center; padding: 24px; margin-bottom: 4vw;
  box-shadow: 0 24px 60px rgba(60, 70, 160, .12), inset 0 0 0 1px rgba(122, 136, 255, .1); }
.doodle { width: 100%; max-width: 440px; height: auto; overflow: visible; }
.doodle .qt, .qb text { font-family: var(--cab); font-weight: 800; text-anchor: middle; }
.doodle .hand { font-family: "Caveat", cursive; font-weight: 600; font-size: 22px; fill: #1d2140; text-anchor: middle; }
.doodle .cy-mid { font-size: 20px; fill: #4a4f6b; }
.qsvg { width: 100%; max-width: 430px; height: auto; overflow: visible; }
.qb { animation: qfloat 3.6s ease-in-out infinite; animation-delay: calc(var(--d) * -.7s); transform-box: fill-box; transform-origin: center; }
@keyframes qfloat { 50% { transform: translateY(-6px) rotate(1.5deg); } }
.cy-orbit { transform-origin: 160px 132px; animation: orbit 6s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .qb, .cy-orbit { animation: none; } }
@media (max-width: 760px) {
  .process .grid, .step .grid { grid-template-columns: 1fr; }
  .process .h4 { grid-column: 1; margin-top: 16px; }
  .step { top: 0; min-height: 0; padding-top: 100px; }
  .step__body { padding-bottom: 20px; }
  .step__card { min-height: 160px; margin-bottom: 28px; }
}

/* ---------- process: deep periwinkle shifting into dusky pink toward the bottom ---------- */
.process { --tint: #5b64e0; background: #5b64e0; color: #fff; }
.process .step { border-top-color: rgba(255, 255, 255, .22); }
.process .tag { color: #fff; }
.process .tag::before { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }
.process .h4, .process .step__t { color: #fff; }
.process .step .body { color: rgba(255, 255, 255, .88); }
.process .step__card { box-shadow: 0 30px 70px rgba(30, 20, 90, .28); }
/* the same fine grain as the hero, so the colour feels soft rather than flat */
.process > .grid, .process .step { position: sticky; }
.process > .grid { position: relative; }
.process .step::after, .process::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: url(img/grain.png); opacity: .4; }
.process .step > * { position: relative; z-index: 1; }


/* process, revised: one deep periwinkle, and every step fills the screen so the next one covers it completely */
.process .step, .process .step:nth-child(even) { background: #5b64e0; }
.process .step { min-height: 100vh; display: flex; align-items: center; padding: 110px 0 40px; box-shadow: 0 -24px 50px rgba(25, 20, 90, .22); }
.process .step:first-child { box-shadow: none; }
.process .step > .grid { width: 100%; }
.process .step__card { margin-bottom: 0; }
.process .step__body { padding-bottom: 0; }
@media (max-width: 760px) { .process .step { min-height: 100svh; padding-top: 96px; } }

/* contact: no curved-text interlude; the "let's talk" card sits straight on the light page under Projects */
.outro { background: var(--light); padding-top: clamp(20px, 4vh, 48px); }

/* grain tiles drawn at screen-pixel size, so the texture stays fine and light */
.process .step::after, .process::before, .j-pill::after, .foot::after, .j-flood::after { background-size: 80px 80px; }
.process .step::after, .process::before { opacity: .3; }

/* ---------- headline font: Big Shoulders Display, the v3 display face (uppercase for big headings, as in v3) ---------- */
:root { --cab: "Big Shoulders Display", "Arial Narrow", sans-serif; }
.ae-head, .ac-head, .process .h4, .step__t, .foot__word, .j-title, .j-small, .j-big, .j-outline, .toolkit__head h2, .top__logo, .card b {
  text-transform: uppercase; letter-spacing: -.005em; }
.ae-head, .ac-head { font-size: clamp(54px, 6.2vw, 120px); line-height: .9; font-weight: 800; }
.process .h4 { font-size: clamp(54px, 6.6vw, 124px); line-height: .9; font-weight: 800; }
.step__t { font-size: clamp(54px, 6vw, 112px); line-height: .9; font-weight: 800; }
.foot__word { font-size: 19vw; line-height: .86; font-weight: 900; letter-spacing: 0; }
.top__logo { font-size: 28px; font-weight: 800; letter-spacing: .01em; }
.reel__meta b { font-size: clamp(26px, 2.3vw, 42px); font-weight: 800; letter-spacing: 0; line-height: .95; }
.bub { font-weight: 800; font-size: clamp(20px, 1.8vw, 32px); letter-spacing: .01em; text-transform: uppercase; }

/* ---------- headline font: Archivo stretched wide, as in the v5nc "let's talk" (normal case) ---------- */
:root { --cab: "Archivo", "Arial", sans-serif; }
.ae-head, .ac-head, .process .h4, .step__t, .foot__word, .j-title, .j-small, .j-big, .j-outline, .toolkit__head h2, .top__logo, .card b,
.reel__meta b, .bub, .doodle .qt, .qb text { font-stretch: 125%; text-transform: none; }
.ae-head, .ac-head { font-size: clamp(38px, 3.9vw, 76px); line-height: 1.02; font-weight: 600; letter-spacing: -.03em; }
.process .h4 { font-size: clamp(42px, 4.8vw, 92px); line-height: 1; font-weight: 600; letter-spacing: -.035em; }
.step__t { font-size: clamp(44px, 4.6vw, 88px); line-height: 1; font-weight: 600; letter-spacing: -.035em; }
.foot__word { font-size: 15.5vw; line-height: .9; font-weight: 600; letter-spacing: -.045em; }
.top__logo { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.reel__meta b { font-size: clamp(20px, 1.6vw, 30px); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; }
.bub { font-weight: 600; font-size: clamp(16px, 1.35vw, 24px); letter-spacing: -.01em; }

/* ---------- headline font: Big Shoulders Display (the v3 face), in the current normal case ---------- */
:root { --cab: "Big Shoulders Display", "Arial Narrow", sans-serif; }
.ae-head, .ac-head, .process .h4, .step__t, .foot__word, .j-title, .j-small, .j-big, .j-outline, .toolkit__head h2, .top__logo, .card b,
.reel__meta b, .bub, .doodle .qt, .qb text { font-stretch: normal; text-transform: none; }
.ae-head, .ac-head { font-size: clamp(50px, 5.6vw, 108px); line-height: .92; font-weight: 800; letter-spacing: -.01em; }
.about-v3 .ae-head { font-size: clamp(46px, 4.6vw, 90px); line-height: .92; margin-bottom: 26px; }
.process .h4 { font-size: clamp(56px, 6.8vw, 128px); line-height: .9; font-weight: 800; letter-spacing: -.01em; }
.step__t { font-size: clamp(58px, 6.4vw, 120px); line-height: .9; font-weight: 800; letter-spacing: -.01em; }
.foot__word { font-size: 21vw; line-height: .84; font-weight: 900; letter-spacing: -.01em; }
.top__logo { font-size: 30px; font-weight: 800; letter-spacing: 0; }
.reel__meta b { font-size: clamp(26px, 2.2vw, 40px); font-weight: 800; letter-spacing: 0; line-height: .95; }
.bub { font-weight: 800; font-size: clamp(19px, 1.65vw, 30px); letter-spacing: .01em; }

/* ---------- let's talk: the gradient card on the light page, after About ---------- */
.outro { background: var(--light); padding-top: 0; padding-bottom: var(--inset); }

/* ---------- projects intro, in the same pattern as Process and About: mono label, bold heading, Satoshi text ---------- */
.pj-head { display: grid; grid-template-columns: 32vw 1fr; padding: 0 var(--pad); }
.pj-head .ptag { padding-top: .7vw; }
.pj-title { font-family: var(--cab); font-weight: 800; font-size: clamp(52px, 6vw, 116px); line-height: .92; letter-spacing: -.01em; color: var(--ink); }
.pj-title .wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.pj-title .wi { display: inline-block; will-change: transform; }
.pj-desc { margin-top: clamp(20px, 2.4vw, 34px); max-width: 34em; font-family: var(--sat); font-weight: 400; font-size: clamp(18px, 1.45vw, 25px); line-height: 1.5; color: #3d4263; }
.reel__img { will-change: clip-path; }
@media (max-width: 760px) {
  .pj-head { grid-template-columns: 1fr; }
  .pj-head .ptag { margin-bottom: 18px; }
  .pj-title { font-size: 48px; }
}

/* ---------- one typeface: Satoshi everywhere (as in the hero and the sliding sentence), heavy for headings ---------- */
:root { --cab: "Satoshi", "Arial", sans-serif; }
.ae-head, .ac-head, .process .h4, .step__t, .foot__word, .pj-title, .j-title, .j-small, .j-big, .j-outline, .toolkit__head h2,
.top__logo, .card b, .reel__meta b, .bub, .sk, .doodle .qt, .qb text { font-family: var(--cab); font-stretch: normal; text-transform: none; }
.ae-head, .ac-head { font-size: clamp(40px, 4.3vw, 82px); line-height: 1.02; font-weight: 900; letter-spacing: -.035em; }
.about-v3 .ae-head { font-size: clamp(36px, 3.5vw, 66px); line-height: 1.04; margin-bottom: 26px; font-weight: 900; letter-spacing: -.035em; }
.pj-title { font-size: clamp(44px, 5vw, 94px); line-height: 1.02; font-weight: 900; letter-spacing: -.04em; }
.process .h4 { font-size: clamp(46px, 5.4vw, 100px); line-height: 1; font-weight: 900; letter-spacing: -.04em; }
.step__t { font-size: clamp(46px, 5vw, 92px); line-height: 1; font-weight: 900; letter-spacing: -.04em; }
.foot__word { font-size: 15.5vw; line-height: .9; font-weight: 900; letter-spacing: -.055em; }
.top__logo { font-size: 24px; font-weight: 900; letter-spacing: -.03em; }
.reel__meta b { font-size: clamp(20px, 1.6vw, 30px); font-weight: 900; letter-spacing: -.025em; line-height: 1.05; }
.sk, .bub { font-weight: 700; font-size: clamp(16px, 1.35vw, 24px); letter-spacing: -.01em; }

/* ---------- two typefaces, as on guillaumezhu.com: Cabinet Grotesk for headings and big text, Satoshi for smaller text ---------- */
:root { --cab: "Cabinet Grotesk", "Arial", sans-serif; }
.ae-head, .ac-head, .process .h4, .step__t, .foot__word, .pj-title, .top__logo, .reel__meta b, .sk, .bub, .ride__text {
  font-family: var(--cab); font-stretch: normal; text-transform: none; }
.pj-title { font-weight: 700; font-size: clamp(46px, 5.4vw, 102px); line-height: .98; letter-spacing: -.025em; }
.ae-head, .ac-head { font-weight: 700; line-height: 1; letter-spacing: -.025em; }
.about-v3 .ae-head { font-size: clamp(34px, 3.3vw, 64px); line-height: 1; letter-spacing: -.025em; }
.process .h4 { font-weight: 700; font-size: clamp(48px, 5.8vw, 108px); line-height: .96; letter-spacing: -.03em; }
.step__t { font-weight: 700; font-size: clamp(48px, 5.4vw, 100px); line-height: .96; letter-spacing: -.03em; }
.foot__word { font-weight: 800; font-size: 16vw; line-height: .9; letter-spacing: -.03em; }
.ride__text { font-weight: 500; letter-spacing: -.03em; }
.top__logo { font-weight: 800; font-size: 25px; letter-spacing: -.02em; }
.reel__meta b { font-weight: 700; font-size: clamp(22px, 1.8vw, 34px); line-height: 1; letter-spacing: -.015em; }
.sk, .bub { font-weight: 700; font-size: clamp(17px, 1.45vw, 26px); letter-spacing: -.005em; }
.about-v3 .ae-head { font-weight: 700; }

/* ---------- let's talk: letters stretched horizontally (Cabinet Grotesk has no wide cut, so the whole stack is scaled) ---------- */
.foot__stack { transform: scaleX(1.2); transform-origin: 50% 50%; }

/* ---------- project reel: previous / next arrows (they move with the reel while it is pinned) ---------- */
.reel__nav { display: flex; justify-content: flex-end; gap: 12px; padding: 0 var(--pad); }
.reel__btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink);
  border: 1px solid rgba(29, 33, 64, .12); box-shadow: 0 10px 30px rgba(40, 50, 140, .1); cursor: pointer;
  transition: background .3s, color .3s, transform .3s, opacity .3s, box-shadow .3s; }
.reel__btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reel__btn:hover:not(:disabled) { background: linear-gradient(120deg, #8fbfff, #5b64e0 55%, #ff8fc4); color: #fff; border-color: transparent; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(91, 100, 224, .3); }
.reel__btn:disabled { opacity: .35; cursor: default; box-shadow: none; }
.reel__btn:focus-visible { outline: 2px solid #5b64e0; outline-offset: 3px; }
@media (max-width: 760px) { .reel__nav { position: sticky; left: 0; justify-content: center; } .reel__btn { width: 48px; height: 48px; } }
/* the reel clips its overflow, which cut the cards' and arrows' soft shadows into a hard line below the arrows:
   give the shadows room to fade out inside the reel */
.reel { padding-bottom: 80px; margin-bottom: -40px; }

/* header logo in Satoshi, the hero font */
.top__logo { font-family: var(--sat); font-weight: 700; letter-spacing: -.03em; }
/* logo centred on the same line as the menu pill (stretched to the bar height, text centred inside) */
.top__logo { top: 0; bottom: 0; display: flex; align-items: center; line-height: 1; }

/* ======================= phone fixes (only below 760px; the desktop layout is unchanged) ======================= */
@media (max-width: 760px) {
  /* header: logo left, menu right, no overlap */
  .top { inset: 18px 18px auto; justify-content: space-between; }
  .top__logo { position: static; display: flex; font-size: 21px; }
  .top__nav { gap: 14px; padding: 10px 16px; font-size: 14px; }

  /* projects: cards stacked vertically, no sideways scroll, no arrows */
  .reel { overflow: visible; padding-bottom: 0; margin-bottom: 0; }
  .reel__track { flex-direction: column; width: auto; gap: 18px; padding: 0 var(--pad) 8px; transform: none !important; }
  .reel__card { width: 100%; transform: none !important; }
  .reel__nav { display: none; }

  /* five steps: clear space between label, heading, text and illustration */
  .process .step .grid { row-gap: 0; }
  .process .step .tag { padding-top: 0; margin-bottom: 14px; }
  .process .step .tag::before { top: .2em; }
  .process .step__t { margin-bottom: 14px; }
  .process .step__body { padding-bottom: 28px; }
  .process .step__card { min-height: 0; padding: 18px; }
  .process .step__card svg { max-height: 190px; width: 100%; }
}
/* phone: the logo hides with the menu while scrolling down, so it never sits on top of the text */
@media (max-width: 760px) {
  .top__logo { transition: transform .5s cubic-bezier(.2, .8, .2, 1), opacity .3s, color .4s; }
  body.nav-up .top__logo { transform: translateY(-120px); opacity: 0 !important; }
}
