/* Chandra Shekar — portfolio */
:root {
  --paper: #f3f2f0;
  --white: #ffffff;
  --cream: #f4f0e8;
  --ink: #111111;
  --ink-2: #4a4a4a;
  --line: #d9d6d0;
  --accent: #f73326;
  --accent-deep: #c4231a;
  --accent-ink: #ffffff;
  --night: #151515;
  --night-2: #2a2a2a;
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --display: 'Inter Tight', 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --script: 'Mrs Saint Delafield', cursive;
  --gut: clamp(18px, 3.75vw, 80px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--paper); padding: 8px 14px; border-radius: 99px; }
.skip:focus { left: 16px; }

/* type */
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.eyebrow::after { content: ''; display: block; width: 7px; height: 7px; margin: 6px auto 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.giant { font-family: var(--display); font-weight: 800; font-size: clamp(64px, 12.6vw, 220px); line-height: .9; letter-spacing: -.05em; text-align: center; white-space: nowrap; }
.giant sup { display: inline-grid; place-items: center; min-width: 1.7em; height: 1.7em; padding: 0 .35em; margin-left: .15em; border-radius: 99px; background: var(--ink); color: var(--paper); font-size: .17em; line-height: 1; letter-spacing: -.02em; vertical-align: top; position: relative; top: .55em; }

/* pills */
.pill { display: inline-flex; align-items: center; gap: 4px; padding: .32em .9em .36em; border: 1.5px solid currentColor; border-radius: 99px; font-size: 15px; font-weight: 500; line-height: 1.1; white-space: nowrap; }
.pill sup { font-size: 10px; font-weight: 600; margin-left: 2px; position: relative; top: -.5em; }
.pill--xs { font-size: 9.5px; padding: .25em .7em .3em; border-width: 1px; }
.pill--light { border-color: currentColor; }
button.pill { transition: background .2s, color .2s; }
button.pill:hover { background: color-mix(in srgb, currentColor 14%, transparent); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 22px; border: 1.5px solid currentColor; border-radius: 99px; font-weight: 500; font-size: 15px; text-decoration: none; transition: background .25s var(--ease), color .25s var(--ease); }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--light:hover { background: var(--paper); color: var(--ink); }
.btn--small { min-height: 32px; font-size: 13px; padding: 0 16px; }

/* top bar + menu */
.topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; padding: clamp(20px, 2.6vw, 38px) var(--gut); font-family: var(--display); font-size: clamp(14px, 1.15vw, 17px); letter-spacing: -.005em; }
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 4px; }
.topbar a:nth-child(3) { justify-self: end; }
.menu-btn { position: fixed; top: 16px; right: var(--gut); z-index: 60; width: 40px; height: 40px; display: grid; place-content: center; gap: 5px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 1px var(--line); opacity: 0; pointer-events: none; transition: opacity .3s; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease); }
body.scrolled .menu-btn, body.menu-open .menu-btn { opacity: 1; pointer-events: auto; }
body.menu-open .menu-btn span:first-child { transform: translateY(3.25px) rotate(45deg); }
body.menu-open .menu-btn span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 55; background: var(--accent); color: var(--accent-ink); display: grid; place-content: center; text-align: center; gap: 0; }
.menu[hidden] { display: none; }
.menu a { text-decoration: none; font-family: var(--display); font-weight: 600; font-size: clamp(56px, 11vw, 160px); line-height: 1; letter-spacing: -.045em; }
.menu a:hover { font-style: italic; }
body.menu-open { overflow: hidden; }

/* the handwritten name */
.script { position: absolute; pointer-events: none; user-select: none; font-family: var(--script); font-weight: 400; line-height: 1; white-space: nowrap; z-index: 0; }
.script--talk { left: -4vw; top: 50%; transform: translateY(-55%) rotate(-6deg); font-size: clamp(220px, 34vw, 560px); color: #232323; }
.script--foot { left: 50%; top: 50%; transform: translate(-50%, -54%) rotate(-6deg); font-size: clamp(200px, 32vw, 560px); color: #1c1c1c; }

/* hero */
.hero { position: relative; min-height: calc(100svh - 18px); padding: clamp(96px, 14vh, 175px) var(--gut) clamp(48px, 8vh, 100px); display: flex; flex-direction: column; overflow: hidden; background: var(--paper); }
.hero > :not(.script) { position: relative; z-index: 1; }
.hero__hi { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.25vw, 44px); line-height: 1; letter-spacing: -.035em; }
.hero__title { margin-top: clamp(40px, 6.5vh, 80px); font-family: var(--display); font-weight: 800; font-size: clamp(64px, 11.2vw, 224px); line-height: .84; letter-spacing: -.052em; margin-left: -.035em; color: #121317; }
.hero__title .plus { font-weight: 500; }
.hero__cols { display: grid; grid-template-columns: 31.7fr 37.6fr 30.7fr; gap: 0; margin-top: clamp(56px, 11vh, 140px); font-family: var(--display); font-size: clamp(14px, 1.1vw, 20px); line-height: 1.62; letter-spacing: -.02em; color: #1d1e22; }
.hero__cols p { max-width: 23.5em; padding-right: 24px; }
.hero__cols a { text-decoration: none; }
.hero__cols a:hover { text-decoration: underline; }
@media (max-width: 760px) { .hero__cols { grid-template-columns: 1fr; gap: 14px; } .hero__title { margin-top: 14vh; font-size: clamp(56px, 16vw, 90px); line-height: .88; } }

/* explore band */
.explore { background: var(--accent); color: var(--accent-ink); padding: clamp(28px, 3vw, 44px) var(--gut) 0; overflow: hidden; }
.explore .giant { margin-top: clamp(70px, 9vw, 150px); transform: translateY(.07em); transition: margin .7s var(--e-in); }
.explore .giant sup { background: var(--accent-deep); color: #fff; }

/* works list */
.works { background: var(--white); padding: 0 var(--gut) 40px; }
.works__list { list-style: none; border-top: 1px solid var(--line); }
.work[hidden] { display: none; }
.work > a, a.work { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: 10px; padding: clamp(26px, 3.4vw, 46px) 0; border-bottom: 1px solid var(--line); text-decoration: none; overflow: hidden; isolation: isolate; }
.work__name { position: relative; z-index: 2; font-family: var(--display); font-weight: 500; font-size: clamp(40px, 6.4vw, 108px); line-height: 1; letter-spacing: -.04em; transition: color .35s var(--ease); }
.work__tags { position: relative; z-index: 2; display: grid; gap: 3px; justify-items: start; padding-top: .4em; transition: color .35s var(--ease); }
.work__media { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .45s var(--ease); background: var(--night); }
.work__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.work__media::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .28); }
.work__media--strip { display: flex; justify-content: center; gap: 2%; padding: 0 4%; }
.work__media--strip img, .work__media--strip img.is-ui { width: 22%; height: 140%; object-fit: cover; object-position: top; border-radius: 8px; margin-top: 3%; }
.works__empty { text-align: center; padding: 60px 0; font-size: 18px; }
@media (max-width: 700px) { .work__tags { display: none; } }

/* let's talk */
.talk { position: relative; overflow: hidden; background: var(--night); color: #fff; padding: clamp(90px, 14vw, 180px) var(--gut); text-align: center; }
.talk > :not(.script) { position: relative; z-index: 1; }
.talk .giant { margin-top: 18px; }
.talk__line { margin: 22px auto 26px; font-size: clamp(16px, 1.4vw, 19px); }

/* experience */
.xp { background: var(--cream); padding: 64px var(--gut) clamp(60px, 8vw, 110px); }
.xp__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) var(--gut); max-width: 1180px; margin: 56px auto 0; }
.xp__meta { font-size: 11px; color: var(--ink-2); }
.xp__item h3 { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3vw, 44px); line-height: 1.1; letter-spacing: -.03em; margin: 8px 0 10px; }
.xp__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.xp__note { margin-top: 12px; font-size: 14px; max-width: 42ch; }
@media (max-width: 700px) { .xp__grid { grid-template-columns: 1fr; } }

/* about */
.about { position: relative; background: var(--accent); color: var(--accent-ink); padding: 64px var(--gut) clamp(70px, 9vw, 120px); overflow: hidden; }
.about .giant { margin-top: 24px; }
.about__skills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 900px; margin: 40px auto 0; }
.about__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gut); max-width: 1000px; margin: 56px auto 0; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; }
.about__cols p + p { margin-top: 16px; }
.about__photo { width: clamp(180px, 22vw, 300px); margin: 64px auto 0; transform: rotate(-3deg); border: 8px solid #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); }
@media (max-width: 700px) { .about__cols { grid-template-columns: 1fr; } }

/* footer */
.foot { position: relative; overflow: hidden; background: var(--night); color: #fff; min-height: 80vh; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 120px var(--gut); text-align: center; }
.foot > :not(.script) { position: relative; z-index: 1; }
.foot__links { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 4.4vw, 64px); letter-spacing: -.035em; line-height: 1.1; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { font-style: italic; }
.foot__meta { font-size: 14px; }
.foot > .foot__legal { position: absolute; bottom: 20px; left: 0; right: 0; font-size: 11px; color: #8b8b8b; }

/* ───── case study ───── */
.case-hero { position: relative; padding: clamp(100px, 14vh, 150px) var(--gut) 40px; text-align: center; }
.back { position: absolute; top: 64px; left: var(--gut); font-size: 13px; text-decoration: none; }
.back:hover { text-decoration: underline; }
.case-title { margin-top: 26px; font-family: var(--display); font-weight: 600; font-size: clamp(56px, 11vw, 190px); line-height: .94; letter-spacing: -.045em; }
.case-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 26px; }
.case-lede { max-width: 30ch; margin: 30px auto 0; font-size: clamp(20px, 2.1vw, 30px); line-height: 1.3; letter-spacing: -.012em; }
.case-meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gut); max-width: 1180px; margin: 56px auto 0; padding-top: 18px; border-top: 1px solid var(--line); text-align: left; }
.case-meta dt { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.case-meta dd { margin-top: 6px; font-size: 14px; }
@media (max-width: 760px) { .case-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } .back { top: 56px; } }

.zoom { display: block; width: 100%; cursor: zoom-in; }
.case-cover { margin: 0 var(--gut); border-radius: 6px; overflow: hidden; background: var(--cream); }
.case-cover img { width: 100%; max-height: 88vh; object-fit: cover; object-position: top; }
.case-cover--ui { display: flex; justify-content: center; padding: clamp(32px, 6vw, 80px) 16px 0; }
.case-cover--ui .zoom { width: auto; }
.case-cover--ui img { width: auto; max-width: min(460px, 100%); max-height: 78vh; border-radius: 10px 10px 0 0; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .35); }

.case-body { max-width: 1180px; margin: 0 auto; padding: clamp(60px, 8vw, 120px) var(--gut) 0; }
.block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: var(--gut); padding: 28px 0 clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.block__label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding-top: 6px; }
.block__body { font-size: 18px; line-height: 1.55; max-width: 64ch; }
.block__body p + p { margin-top: 14px; }
.block__body .big { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.38; letter-spacing: -.012em; }
.list { list-style: none; display: grid; gap: 10px; }
.list li { position: relative; padding-left: 26px; }
.list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 12px; height: 1.5px; background: var(--accent); }
.list--big li { font-size: clamp(20px, 1.9vw, 26px); line-height: 1.35; letter-spacing: -.01em; padding-left: 32px; }
.list--big li::before { top: .6em; width: 16px; }
.steps { list-style: none; counter-reset: s; display: grid; gap: 22px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; }
.steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font-size: 13px; font-weight: 600; color: var(--accent); padding-top: 4px; }
.steps h3, .feat h3 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.steps p, .feat p { color: var(--ink-2); margin-top: 4px; font-size: 16px; }
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
blockquote { font-family: var(--display); font-size: clamp(24px, 2.6vw, 38px); line-height: 1.25; letter-spacing: -.02em; font-weight: 500; }
blockquote + p { margin-top: 26px; }
@media (max-width: 760px) { .block { grid-template-columns: 1fr; gap: 10px; } .feats { grid-template-columns: 1fr; } }

.gallery { padding: clamp(60px, 8vw, 110px) var(--gut); background: var(--cream); margin-top: clamp(30px, 4vw, 60px); }
.gallery > .eyebrow { margin-bottom: 48px; }
.shot { margin: 0 auto clamp(36px, 5vw, 72px); max-width: 1380px; }
.shot .zoom { border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 24px 50px -36px rgba(0, 0, 0, .35); }
.shot img { width: 100%; transition: transform .8s var(--ease); }
.shot .zoom:hover img { transform: scale(1.015); }
.shot figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-2); max-width: 70ch; }
.shot--ui { max-width: 460px; }
.shot--tall .zoom { max-height: 90vh; overflow-y: auto; overscroll-behavior: contain; }
.shots { display: grid; gap: clamp(16px, 2vw, 28px); max-width: 1380px; margin: 0 auto clamp(36px, 5vw, 72px); align-items: start; }
.shots--1 { grid-template-columns: minmax(0, 440px); justify-content: center; }
.shots--2 { grid-template-columns: repeat(2, minmax(0, 440px)); justify-content: center; }
.shots--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shots--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shots .shot { margin: 0; }
@media (max-width: 900px) { .shots--3, .shots--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .shots--2, .shots--3, .shots--4 { grid-template-columns: 1fr; } }

.next { padding: clamp(60px, 8vw, 110px) var(--gut) clamp(30px, 4vw, 60px); }
.next .eyebrow { margin-bottom: 24px; }
.next .work { border-top: 1px solid var(--line); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 16px 24px; background: rgba(12, 12, 12, .94); overflow: auto; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1600px, 100%); max-height: calc(100vh - 140px); width: auto; border-radius: 6px; }
.lightbox.is-tall { justify-content: flex-start; }
.lightbox.is-tall img { max-height: none; }
.lb-cap { color: #cfcfcf; font-size: 14px; margin-top: 14px; max-width: 80ch; text-align: center; }
.lb-close { position: fixed; top: 14px; right: 16px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 18px; }
body.lb-open { overflow: hidden; }
@media (max-width: 600px) {
  .giant { white-space: normal; font-size: clamp(56px, 19vw, 120px); line-height: .86; }
  .explore .giant { transform: none; padding-bottom: 6px; }
}

/* ═════════════════════ motion ═════════════════════ */
:root { --e-in: cubic-bezier(.16, 1, .3, 1); --e-out: cubic-bezier(.7, 0, .84, 0); --e-io: cubic-bezier(.76, 0, .24, 1); }

/* the hand-drawn signature */
.sig { display: block; width: 100%; height: auto; overflow: visible; }
.sig__stroke { fill: none; stroke: currentColor; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sig__dot { fill: currentColor; transform-box: fill-box; transform-origin: center; transform: scale(0); }
.is-drawn .sig__stroke { stroke-dashoffset: 0; transition: stroke-dashoffset 1.15s cubic-bezier(.65, 0, .35, 1) var(--sig-delay, 0s); }
.is-drawn .sig__stroke { transition-duration: .85s; }
.is-drawn .sig__stroke--2 { transition: stroke-dashoffset .8s cubic-bezier(.65, 0, .35, 1) calc(var(--sig-delay, 0s) + .8s); }
.is-drawn .sig__dot { transform: scale(1); transition: transform .4s var(--e-in) calc(var(--sig-delay, 0s) + 1.6s); }
html:not(.js) .sig__stroke, .reduce .sig__stroke { stroke-dashoffset: 0; }
html:not(.js) .sig__dot, .reduce .sig__dot { transform: none; }

/* hero watermark: the big signature, drawn on as the page arrives */
.hero > .hero__mark { position: absolute; z-index: 0; left: 40vw; top: 18vh; width: 46vw; color: #dcdbd9; pointer-events: none; --sig-delay: .1s; }
.hero__mark .sig__stroke { stroke-width: 21; }
.hero__mark.is-drawn .sig__stroke { transition-duration: 1.2s; }
.hero__mark.is-drawn .sig__stroke--2 { transition-duration: 1.1s; transition-delay: calc(var(--sig-delay, 0s) + 1.05s); }
.hero__mark.is-drawn .sig__dot { transition-delay: calc(var(--sig-delay, 0s) + 1.2s); }
.hero__mark .sig__dot { r: 16; }
@media (max-width: 760px) { .hero > .hero__mark { width: 92vw; left: 30vw; top: 22vh; } }

/* the intro: signature on paper, then "Hi, I'm Chandra." on night, then the curtain lifts */
.intro { display: none; }
.intro-on .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 200; background: var(--paper); color: var(--ink); }
.intro-on body { overflow: hidden; }
.intro__sig { width: clamp(120px, 12vw, 190px); }
.intro__hi { position: absolute; padding: 0 var(--gut); text-align: center; color: #fff; font-family: var(--display); font-weight: 600; font-size: clamp(44px, 7.4vw, 128px); line-height: 1.05; letter-spacing: -.04em; visibility: hidden; }
.intro__skip { position: absolute; right: var(--gut); bottom: 20px; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: currentColor; opacity: .7; }
.intro__skip:hover { opacity: 1; }
.intro.is-dark { background: var(--night); color: #fff; }
.intro.is-dark .intro__sig { opacity: 0; }
.intro.is-dark .intro__hi { visibility: visible; }
.intro.is-leaving { transform: translateY(-100%); transition: transform .95s var(--e-io); }
.intro.is-gone { display: none !important; }

/* letters rising out of their masks */
.split-mask { display: inline-block; overflow: hidden; vertical-align: top; padding: .02em .04em .26em; margin: -.02em -.04em -.26em; }
/* once the letters have landed the masks open, so nothing (a g, a y) is ever cut */
.is-done .split-mask, .is-done > .split-word .split-mask { overflow: visible; }
.split-char { display: inline-block; transform: translateY(165%); will-change: transform; }
.is-in > .split-word .split-char, [data-split].is-in .split-char { transform: none; transition: transform 1s var(--e-in) calc(var(--d, 0ms) + min(var(--i) * 26ms, 650ms)); }
.split-word { display: inline-block; white-space: nowrap; }
[data-split] sup { opacity: 0; transform: scale(.4); transition: opacity .5s, transform .6s var(--e-in); transition-delay: .5s; }
[data-split].is-in sup { opacity: 1; transform: none; }
html:not(.js) .split-char, .reduce .split-char, .reduce [data-split] sup { transform: none !important; opacity: 1 !important; transition: none !important; }

/* the headline: three titles in one place, cycling */
.hero__title { display: grid; }
.title-variant { grid-area: 1 / 1; visibility: hidden; }
.title-variant.is-current, .title-variant.is-out { visibility: visible; }
.title-variant.is-out .split-char { transform: translateY(-165%); transition: transform .45s var(--e-out) min(calc(var(--i) * 9ms), 200ms); }
html:not(.js) .title-variant:first-child { visibility: visible; }

/* the page arriving (hero) */
.js .topbar a { opacity: 0; transform: translateY(-8px); }
.js .hero__hi > span { display: block; opacity: 0; transform: translateY(14px); }
.js .hero__cols > * { opacity: 0; transform: translateY(18px); }
.page-in .topbar a, .page-in .hero__hi > span, .page-in .hero__cols > * { opacity: 1; transform: none; transition: opacity .7s var(--e-in), transform .9s var(--e-in); }
.page-in .topbar a:nth-child(1) { transition-delay: .05s; } .page-in .topbar a:nth-child(2) { transition-delay: .12s; } .page-in .topbar a:nth-child(3) { transition-delay: .19s; }
.page-in .hero__hi > span:nth-child(1) { transition-delay: .2s; } .page-in .hero__hi > span:nth-child(2) { transition-delay: .3s; }
.page-in .hero__cols > :nth-child(1) { transition-delay: .9s; } .page-in .hero__cols > :nth-child(2) { transition-delay: 1s; } .page-in .hero__cols > :nth-child(3) { transition-delay: 1.1s; }
.hero__hi > span { display: block; }
.reduce .topbar a, .reduce .hero__hi > span, .reduce .hero__cols > * { opacity: 1 !important; transform: none !important; }

/* hover-parallax layers: the script sets --px and --py */
[data-depth] { transform: translate3d(calc(var(--px, 0) * 1px), calc(var(--py, 0) * 1px), 0); transition: transform 1.1s var(--e-in); }
.hero__title[data-depth] { transition-duration: 1.4s; }

/* reveals on scroll */
.js [data-reveal] { opacity: 0; translate: 0 44px; }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; transition: opacity 1s var(--e-in) var(--rd, 0s), translate 1.1s var(--e-in) var(--rd, 0s); }
.js [data-reveal-group] > * { opacity: 0; translate: 0 18px; }
.js [data-reveal-group].is-in > * { opacity: 1; translate: 0 0; transition: opacity .7s var(--e-in), translate .8s var(--e-in); transition-delay: calc(var(--k, 0) * 45ms); }
.reduce [data-reveal], .reduce [data-reveal-group] > * { opacity: 1 !important; translate: none !important; }

/* the cover image drifts as the page scrolls */
[data-parallax] img { scale: 1.08; translate: 0 calc(var(--pp, 0) * 1%); transition: translate .2s linear; }
.reduce [data-parallax] img { scale: 1; translate: none; }


/* works rows: the row grows, its picture fades in under a dark tint, the title follows the cursor */
.work > a, a.work { transition: padding .8s var(--e-io); }
.work__inner { position: relative; z-index: 2; display: flex; align-items: flex-start; gap: 10px; transform: translate3d(calc(var(--mx, 0) * 1px), calc(var(--my, 0) * 1px), 0); transition: transform .7s var(--e-in); }
.work__name, .work__tags { z-index: auto; }
@media (hover: hover) {
  .work > a:hover, a.work:hover { padding-block: clamp(120px, 15vw, 230px); }
  .work > a:hover .work__media, a.work:hover .work__media { opacity: 1; }
  .work > a:hover .work__media img, a.work:hover .work__media img { transform: scale(1); }
  .work > a:hover :is(.work__name, .work__tags), a.work:hover :is(.work__name, .work__tags) { color: #fff; }
}
@media (hover: none) {
  .work.is-active > a, a.work.is-active { padding-block: clamp(70px, 22vw, 110px); }
  .work.is-active .work__media { opacity: 1; }
  .work.is-active .work__media img { transform: scale(1); }
  .work.is-active :is(.work__name, .work__tags) { color: #fff; }
}

/* the floating filter while the list is on screen */
.float-filter { position: fixed; left: 50%; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 10px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 14px; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .45); transform: translate(-50%, 160%); transition: transform .7s var(--e-in); }
.float-filter.is-on { transform: translate(-50%, 0); }
.pill--inv { border-color: #fff; color: #fff; font-size: 13px; padding: .25em .8em .3em; }
.float-filter__n { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 99px; background: #fff; color: var(--accent); font-size: 12px; font-weight: 600; }

/* text that rolls up on hover */
.roll { display: inline-grid; overflow: hidden; vertical-align: top; line-height: 1.25; }
.roll > span { grid-area: 1 / 1; transition: transform .5s var(--e-in); }
.roll > span + span { transform: translateY(105%); }
:is(a, button):hover > .roll > span:first-child { transform: translateY(-105%); }
:is(a, button):hover > .roll > span + span { transform: none; }
.topbar a.link-roll:hover { text-decoration: none; }

/* underlines that draw */
.u, .back, .foot__links a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .55s var(--e-in); }
.u:hover, .back:hover, .foot__links a:hover { background-size: 100% 1px; text-decoration: none; }
.foot__links a { background-size: 0 3px; }
.foot__links a:hover { background-size: 100% 3px; font-style: normal; }

/* the page curtain between pages */
.curtain { position: fixed; inset: 0; z-index: 150; background: var(--night); transform: translateY(100%); pointer-events: none; }
.curtain.is-cover { transform: none; transition: transform .6s var(--e-io); }
.arrive .curtain { transform: none; }
.curtain.is-lift { transform: translateY(-100%); transition: transform .8s var(--e-io); }
.reduce .curtain { display: none; }

/* the scroll hint at the foot of the hero */
.hero > .hero__explore { position: absolute; left: 50%; bottom: clamp(16px, 2.4vh, 28px); transform: translateX(-50%); z-index: 2; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: clamp(11px, .95vw, 14px); letter-spacing: -.01em; }
.hero > .hero__explore::after { transition: transform .5s var(--e-in); }
.hero > .hero__explore:hover::after { transform: translateY(4px) rotate(45deg); }
.js .hero > .hero__explore { opacity: 0; }
.page-in .hero > .hero__explore { opacity: 1; transition: opacity .8s var(--e-in) 1.3s; }
.reduce .hero > .hero__explore { opacity: 1 !important; }
@media (max-width: 760px) { .hero__cols p { max-width: none; padding-right: 0; } }

/* ═════════ the filter sentence (explore band) ═════════ */
.fz { display: flex; justify-content: center; align-items: flex-start; gap: 0 clamp(10px, 1vw, 16px); flex-wrap: wrap; margin-top: clamp(26px, 3vw, 44px); font-family: var(--display); font-size: clamp(17px, 1.55vw, 24px); letter-spacing: -.01em; line-height: 1.2; }
.fz__text { padding-top: .32em; white-space: nowrap; cursor: default; }
.fz__col { display: flex; flex-direction: column; align-items: flex-start; }
.fz__col[data-group="does"] { min-width: 11.4em; margin-right: clamp(24px, 4vw, 70px); }
.fz__col[data-group="for"] { min-width: 7.6em; }
.fz .pill { font-size: 1em; border-width: 1.5px; padding: .26em .62em .3em; line-height: 1.15; color: inherit; }
/* the slot: one pill whose word cycles like a reel */
.slot { position: relative; display: inline-grid; grid-template-columns: minmax(0, 1fr); align-items: center; justify-items: start; overflow: hidden; height: calc(1.71em + 3px); padding-block: 0 !important; transition: width .7s var(--e-io), background .3s, color .3s; cursor: pointer; }
.slot > span { grid-area: 1 / 1; width: max-content; white-space: nowrap; line-height: 1.15; transition: transform .7s var(--e-io); }
.slot > span.is-enter { transform: translateY(115%); transition: none; }
.slot > span.is-out { transform: translateY(-115%); }
.fz.is-open .slot, .fz.is-open button.slot:hover { background: #fff; color: var(--accent); border-color: #fff; }
/* the lists open under each slot and the band grows */
.fz__list { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--e-in); }
.fz__inner { min-height: 0; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: .42em; padding-top: 0; }
.fz.is-open .fz__list { grid-template-rows: 1fr; }
.fz.is-open .fz__inner { padding-top: .5em; overflow: visible; }
.fz__inner > * { opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .5s var(--e-in); }
.fz.is-open .fz__inner > * { opacity: 1; transform: none; transition-delay: calc(var(--i) * 45ms + 80ms); }
.chip { position: relative; }
.chip .badge { position: absolute; top: -.55em; right: -.5em; display: grid; place-items: center; min-width: 1.35em; height: 1.35em; padding: 0 .3em; border-radius: 99px; background: var(--accent-deep); color: #fff; font-size: .52em; font-weight: 600; letter-spacing: 0; line-height: 1; }
.fz button.chip:hover { background: rgba(255, 255, 255, .14); }
.fz button.chip.is-on, .fz button.chip.is-on:hover { background: #fff; color: var(--accent); border-color: #fff; }
.chip.is-off { opacity: .42; }
.chip.is-off:hover { opacity: .8; }
.fz__all { font-size: .62em; padding: .2em .1em; margin-left: .8em; color: inherit; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--e-in), opacity .3s; }
.fz__all:hover, .fz__all[aria-pressed="true"] { background-size: 100% 1px; }
.reduce .fz__inner > * { transform: none; }
@media (max-width: 760px) {
  .fz { flex-direction: column; align-items: center; gap: 8px; }
  .fz__col, .fz__col[data-group] { align-items: center; min-width: 0; margin: 0; }
  .fz__inner { align-items: center; }
}

/* the hero C: your filled shape, revealed by a wide stroke along its spine */
.sig--shape .sig__fill { fill: currentColor; }
.sig--shape .sig__mask { stroke: #fff; stroke-width: 250; }
.hero__mark.is-drawn .sig--shape .sig__mask { transition: stroke-dashoffset 2.1s cubic-bezier(.65, 0, .35, 1) var(--sig-delay, 0s); }
.hero > .hero__mark:has(.sig--shape) { left: 43vw; top: 13vh; width: 37vw; }
@media (max-width: 760px) { .hero > .hero__mark:has(.sig--shape) { left: 38vw; top: 20vh; width: 72vw; } }

/* domains row in About */
.about__domains { max-width: 1000px; margin: 56px auto 0; text-align: center; }
.eyebrow--plain::after { display: none; }
.about__domain-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; margin-top: 16px; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 40px); letter-spacing: -.035em; line-height: 1.15; }
.about__domain-list span::after { content: '·'; margin: 0 .35em; opacity: .6; }
.about__domain-list span:last-child::after { content: none; }

/* ═════════════════════ case study (reference layout) ═════════════════════ */
.case { background: var(--white); }
.cs-back { position: fixed; z-index: 60; top: 22px; left: var(--gut); width: 44px; height: 44px; display: grid; place-items: center; color: #fff; mix-blend-mode: difference; }
.cs-back svg { width: 28px; }
.cs-back:hover svg { transform: translateX(-4px); transition: transform .4s var(--e-in); }
.menu-btn.is-always { opacity: 1; pointer-events: auto; }

.cs-hero { position: relative; overflow: hidden; background: var(--pc); color: #fff; padding: clamp(110px, 17vh, 180px) var(--gut) calc(var(--sfs) * 1.72 + clamp(40px, 6vh, 80px)); --sfs: clamp(64px, 11vw, 200px); }
.case { --sfs: clamp(64px, 11vw, 200px); }
.cs-hero__mark { position: absolute; left: 6vw; top: -10vh; width: 44vw; color: color-mix(in srgb, var(--pc) 70%, #000); pointer-events: none; --sig-delay: .2s; }
.cs-hero__mark .sig__mask { stroke: #fff; stroke-width: 250; }
.cs-hero__mark.is-drawn .sig__mask { transition: stroke-dashoffset 2s cubic-bezier(.65, 0, .35, 1) .2s; }
.cs-hero__top { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); max-width: 1180px; margin: 0 auto; }
.cs-hero__name { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3vw, 48px); letter-spacing: -.045em; line-height: 1; }
.cs-hero__tags { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 14px; }
.cs-hero__tags .pill { border-color: rgba(255, 255, 255, .8); }
.cs-hero__intro { font-family: var(--display); font-size: clamp(18px, 1.55vw, 24px); line-height: 1.32; letter-spacing: -.015em; max-width: 30em; }
.cs-slogan { position: relative; z-index: 3; margin: calc(var(--sfs) * -1.72) auto calc(var(--sfs) * -.86); text-align: center; color: #fff; font-family: var(--display); font-weight: 800; font-size: var(--sfs); line-height: .86; letter-spacing: -.055em; pointer-events: none; }
.cs-cover { position: relative; z-index: 1; margin: 0; overflow: hidden; background: var(--pc); }
.cs-cover img { width: 100%; height: min(92vh, 56.25vw); object-fit: cover; }
@media (max-width: 760px) { .cs-hero__top { grid-template-columns: 1fr; } .cs-hero { min-height: 0; } .cs-hero__mark { width: 90vw; left: 20vw; } }

.cs-text { max-width: 760px; margin: 0 auto; padding: clamp(70px, 9vw, 130px) var(--gut) 0; }
.cs-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pc); margin-bottom: 18px; }
.cs-copy { font-family: var(--display); font-size: clamp(18px, 1.45vw, 22px); line-height: 1.5; letter-spacing: -.012em; }
.cs-copy p + p { margin-top: 16px; }
.cs-lead { font-size: clamp(22px, 2.1vw, 32px); line-height: 1.3; letter-spacing: -.02em; }
.cs-copy .steps h3, .cs-copy .feat h3 { font-family: var(--display); font-size: clamp(18px, 1.5vw, 22px); }
.cs-copy .steps p, .cs-copy .feat p { font-family: var(--sans); font-size: 16px; line-height: 1.55; }
.cs-copy .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cs-copy .list li::before { background: var(--pc); }
.cs-copy .steps li::before { color: var(--pc); }

/* screenshots, big */
.cs-shot { margin: clamp(60px, 8vw, 120px) auto 0; padding: 0 var(--gut); max-width: calc(1320px + 2 * var(--gut)); }
.cs-shot .zoom { position: relative; display: block; width: 100%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .06); cursor: zoom-in; }
.cs-shot img { width: 100%; transition: transform 1.2s var(--e-in); }
.cs-shot .zoom:hover img { transform: scale(1.015); }
.cs-bar { display: flex; gap: 8px; align-items: center; height: 34px; padding: 0 16px; background: #eceef1; }
.cs-bar i { width: 11px; height: 11px; border-radius: 50%; background: #c9ccd2; }
.cs-shot figcaption { margin: 14px auto 0; max-width: 760px; font-size: 14px; color: var(--ink-2); text-align: center; }
.cs-board { margin: clamp(70px, 9vw, 130px) 0 0; }
.cs-board img { width: 100%; }

/* plugin windows on a tint of the project colour */
.cs-panels { display: grid; gap: clamp(18px, 2.4vw, 40px); align-items: start; margin: clamp(70px, 9vw, 130px) 0 0; padding: clamp(50px, 7vw, 110px) var(--gut); background: color-mix(in srgb, var(--pc) 12%, #f3f2f0); }
.cs-panels--1 { grid-template-columns: minmax(0, 440px); justify-content: center; }
.cs-panels--2 { grid-template-columns: repeat(2, minmax(0, 440px)); justify-content: center; }
.cs-panels--3 { grid-template-columns: repeat(3, minmax(0, 420px)); justify-content: center; }
.cs-panels--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cs-panels .cs-shot { margin: 0; padding: 0; max-width: none; }
.cs-panels .cs-shot:nth-child(even) { margin-top: clamp(30px, 5vw, 80px); }
.cs-panels figcaption { text-align: left; }
@media (max-width: 900px) { .cs-panels--3, .cs-panels--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cs-panels[class] { grid-template-columns: 1fr; } .cs-panels .cs-shot:nth-child(even) { margin-top: 0; } }

/* credits band + more works */
.cs-credits { margin-top: clamp(80px, 10vw, 150px); background: var(--pc); color: #fff; padding: clamp(50px, 6vw, 90px) var(--gut); }
.cs-credits dl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gut); max-width: 1180px; margin: 36px auto 0; }
.cs-credits dt { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; opacity: .75; }
.cs-credits dd { margin-top: 8px; font-family: var(--display); font-size: 16px; line-height: 1.4; }
@media (max-width: 900px) { .cs-credits dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cs-more { background: var(--white); padding: clamp(50px, 6vw, 90px) var(--gut) clamp(30px, 4vw, 60px); }
.cs-more .eyebrow { margin-bottom: 28px; }

.cs-cover--photo::before { content: ''; position: absolute; inset: 0 0 auto; height: 45%; z-index: 1; background: linear-gradient(rgba(0, 0, 0, .5), transparent); pointer-events: none; }

/* ═════════ inner-page arrival (reference sequence) ═════════ */
/* 1. the cover fills the screen, 2. the project colour sweeps down over it, 3. the page takes over */
.cs-veil { display: none; }
.js .case .cs-veil { display: block; position: fixed; inset: 0; z-index: 140; pointer-events: none; background: var(--pc); }
.cs-veil img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.cs-veil__band { position: absolute; inset: 0; background: var(--pc); transform: scaleY(0); transform-origin: top; transition: transform .7s var(--e-io); }
.cs-veil.is-band .cs-veil__band { transform: scaleY(var(--band, .62)); }
.cs-veil.is-out { opacity: 0; transition: opacity .35s linear; }
.cs-veil.is-gone, .reduce .cs-veil { display: none !important; }
/* 4. slogan letters rise, 5. the C draws, 6. name, tags and intro arrive */
.js .case .cs-hero__top > *, .js .case .cs-back, .js .case .menu-btn.is-always { opacity: 0; transform: translateY(14px); }
.case.cs-in .cs-hero__top > *, .case.cs-in .cs-back, .case.cs-in .menu-btn.is-always { opacity: 1; transform: none; transition: opacity .8s var(--e-in), transform .9s var(--e-in); }
.case.cs-in .cs-hero__top > :nth-child(2) { transition-delay: .12s; }
.case.cs-in .cs-back, .case.cs-in .menu-btn.is-always { transition-delay: .2s; }
.cs-slogan .split-char { transition-duration: .9s !important; }
.reduce .case .cs-hero__top > *, .reduce .case .cs-back, .reduce .case .menu-btn.is-always { opacity: 1 !important; transform: none !important; }

/* the row image grows to fill the screen when you open a project */
.work__media.fly { position: fixed; z-index: 160; opacity: 1 !important; margin: 0; transition: left .7s var(--e-io), top .7s var(--e-io), width .7s var(--e-io), height .7s var(--e-io), border-radius .7s var(--e-io); }
.work__media.fly::after { opacity: 0; transition: opacity .5s; }
.work__media.fly img { transform: none !important; object-position: center 45%; }

/* ═════════ inner-page bottom: More works + let's talk in the project colour ═════════ */
.cs-more { background: var(--cream); padding: 0 0 clamp(40px, 5vw, 70px); }
.cs-more .cs-more__head { margin: 0; padding: clamp(26px, 3vw, 40px) 0 clamp(20px, 2.4vw, 32px); background: color-mix(in srgb, var(--pc) 80%, #000); color: #fff; }
.cs-more__sheet { background: #fff; margin: 0 var(--gut); padding: 0 clamp(16px, 3vw, 48px); border-top: 0; }
.cs-more__sheet .work:last-child > a { border-bottom: 0; }
.talk--project { background: var(--pc); }
.talk > .talk__mark { position: absolute; z-index: 0; left: 6vw; top: 50%; width: min(34vw, 520px); transform: translateY(-50%); color: color-mix(in srgb, var(--pc) 72%, #000); pointer-events: none; }
.talk__mark .sig__mask { stroke: #fff; stroke-width: 250; }
.talk__mark.is-drawn .sig__mask { transition: stroke-dashoffset 2s cubic-bezier(.65, 0, .35, 1) .15s; }
.talk--project .talk__line { color: rgba(255, 255, 255, .9); }

/* footer: Say hello */
.foot__title { font-family: var(--display); font-weight: 800; font-size: clamp(56px, 8vw, 132px); line-height: .95; letter-spacing: -.05em; }
.foot .eyebrow { margin-bottom: 6px; }
.foot__meta { font-size: 15px; color: #cfcfcf; }
.foot__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.foot__actions .btn { min-height: 48px; padding: 0 26px; font-size: 16px; }
.btn--fill { position: relative; background: #fff; color: var(--night); border-color: #fff; }
.btn--fill:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.foot__copied { position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; background: var(--accent); color: #fff; font-weight: 600; opacity: 0; transform: scale(.94); transition: opacity .3s, transform .4s var(--e-in); pointer-events: none; }
.btn--fill.is-copied .foot__copied { opacity: 1; transform: none; }
.foot__email { margin-top: 6px; font-size: 14px; color: #9a9a9a; user-select: all; }
@media (max-width: 520px) { .foot__actions { flex-direction: column; width: 100%; max-width: 320px; } .foot__actions .btn { justify-content: center; } }

/* prototype video on case pages */
.cs-video { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .06); }
.cs-video video { display: block; width: 100%; height: auto; background: #f3f4f2; }
.cs-shot--phone { max-width: none; background: #000; padding: clamp(48px, 6vw, 96px) var(--gut) clamp(36px, 4vw, 64px); }
.cs-shot--phone .cs-video { max-width: 420px; margin: 0 auto; border-radius: 0; background: #000; box-shadow: none; }
.cs-shot--phone video { background: #000; }
.cs-shot--phone figcaption { color: rgba(255, 255, 255, .62); }

/* ── works section tuned to the reference: tall light rows, dotted rules, full-bleed hover ── */
:root { --e-ref: cubic-bezier(.22, .61, .36, 1); --rule-in: clamp(16px, 2.36vw, 34px); }
.explore { padding-top: 20px; }
.explore .giant { margin-top: clamp(56px, 7vw, 100px); padding-bottom: clamp(22px, 3.54vw, 51px); transform: none; font-weight: 700; font-size: clamp(56px, 11.8vw, 230px); letter-spacing: -.035em; line-height: .74; }
.explore .giant sup { min-width: 1.55em; height: 1.55em; padding: 0 .3em; font-size: .247em; font-weight: 700; background: #d12525; top: -.3em; margin-left: -.1em; }
.fz { letter-spacing: .01em; font-weight: 400; }
.fz .pill { border-width: 2px; padding: 4px 10px; font-weight: 400; border-radius: 30px; }
.works { background: var(--cream); padding: 0 0 clamp(24px, 3vw, 44px); }
.works__list { border-top: 0; background: #fff; }
.work > a, a.work { align-items: center; height: clamp(132px, 15.7vw, 226px); padding: 0; border-bottom: 0; background: #fff; transition: height .72s var(--e-ref); }
.work > a::after, a.work::after, .work:first-child > a::before { content: ''; position: absolute; left: var(--rule-in); right: var(--rule-in); bottom: 0; border-bottom: 1px dotted var(--ink); z-index: 0; pointer-events: none; }
.work:first-child > a::before { bottom: auto; top: 0; }
.work__inner { align-items: center; gap: 10px; }
.work__name { font-weight: 400; font-size: clamp(44px, 9.86vw, 101px); line-height: 1.33; letter-spacing: -.025em; transition: color .38s var(--e-ref); }
.work__tags { gap: 4px; padding-top: 0; transform: translateY(-14px); transition: color .38s var(--e-ref); }
.work__tags .pill--xs { font-size: 11px; font-weight: 400; line-height: 1.6; padding: 0 6px; border-width: 1px; border-radius: 30px; transition: color .38s var(--e-ref), border-color .38s var(--e-ref); }
.work__media { transition: opacity .38s var(--e-ref); }
.work__media img { transition: transform .6s var(--e-ref); }
@media (hover: hover) {
  .work > a:hover, a.work:hover { padding-block: 0; height: clamp(240px, 28.3vw, 407px); }
}
@media (hover: none) {
  .work.is-active > a, a.work.is-active { padding-block: 0; height: clamp(200px, 56vw, 300px); }
}
@media (max-width: 700px) { .work__name { line-height: 1.1; } }
.cs-more__sheet { padding: 0; }
.cs-more__sheet .work:last-child > a::after { display: none; }
.explore .giant { padding-bottom: clamp(34px, 5vw, 72px); }
.slot > span.is-enter { transform: translateY(190%); }
.slot > span.is-out { transform: translateY(-190%); }
.work__media::after { background: rgba(0, 0, 0, .42); }

/* ── inner pages tuned to the reference ── */
.giant { font-weight: 700; letter-spacing: -.035em; }
.case { --sfs: clamp(64px, 11.8vw, 230px); }
.cs-hero { --sfs: clamp(64px, 11.8vw, 230px); }
.cs-hero__name { font-weight: 700; font-size: clamp(30px, 2.92vw, 48px); letter-spacing: -.03em; text-transform: lowercase; }
.cs-slogan { font-weight: 700; letter-spacing: -.035em; line-height: .8; }
/* section labels sit between the bands, as on the reference */
.cs-label-band { margin: 0; background: #fff; color: var(--ink); padding: clamp(60px, 7vw, 100px) 0 clamp(18px, 2vw, 28px); font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: none; }
.cs-credits { margin-top: 0; padding: clamp(40px, 4.1vw, 59px) var(--gut); }
.cs-credits dl { margin-top: 0; }
.cs-more .cs-more__head { padding: clamp(70px, 9.5vw, 137px) 0 clamp(56px, 7.5vw, 108px); font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: none; }
.cs-more__sheet { margin: 0 clamp(8px, .9vw, 13px); }
.cs-label-band--got { background: var(--cream); padding: clamp(70px, 8.4vw, 121px) 0 clamp(50px, 6vw, 86px); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cs-more { padding-bottom: 0; }

/* loader: the handwritten name, drawn by a pen line that masks the text (see writeName in main.js) */
.intro__sig { width: auto; }
.intro__script { visibility: hidden; font-family: var(--script); font-size: 100px; white-space: nowrap; }
.intro__write { display: block; width: clamp(320px, 52vw, 900px); height: auto; overflow: visible; font-family: var(--script); transform: rotate(-6deg); }
.intro__pen { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.intro__sig.is-drawn .intro__pen { stroke-dashoffset: 0; transition: stroke-dashoffset 2.7s cubic-bezier(.45, .05, .35, 1); }

/* "Chandra" centred behind let's talk */
.script--talk { left: 50%; transform: translate(-50%, -55%) rotate(-6deg); }

/* experience cards: a white card slides in on hover, as on the reference */
.xp__item { position: relative; isolation: isolate; }
.xp__item::before { content: ''; position: absolute; z-index: -1; inset: clamp(-36px, -2.6vw, -20px); background: #fff; opacity: 0; transform: scale(.97); transition: opacity .38s var(--e-ref), transform .6s var(--e-ref); }
.xp__item > * { transition: transform .6s var(--e-ref); }
@media (hover: hover) {
  .xp__item:hover::before { opacity: 1; transform: none; }
  .xp__item:hover > * { transform: translateX(6px); }
}
