:root {
  --bg: #f7f4ee;
  --bg-2: #ffffff;
  --ink: #121212;
  --line: rgba(18,18,18,.09);
  --text: #121212;
  --muted: #6d675f;
  --soft: #3d3934;
  --a1: #ff5a36;
  --a2: #ffb020;
  --a3: #ff3d8b;
  --display: "Cabinet Grotesk", "Segoe UI", sans-serif;
  --body: "Satoshi", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
  --shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 30px 60px -30px rgba(60,40,20,.25);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--a1); color: #fff; }
/* clip, not hidden: hidden would make main a scroll container and break position: sticky */
.page { overflow-x: hidden; overflow-x: clip; width: 100%; max-width: 100%; }
.grad { background: linear-gradient(100deg, var(--a1), var(--a2) 55%, var(--a3)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* grain */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-5%,4%) } 40% { transform: translate(3%,-6%) } 60% { transform: translate(-4%,2%) } 80% { transform: translate(6%,5%) } }

/* loader: a dark curtain that opens onto the light page */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; pointer-events: none; color: #f7f4ee; }
.loader__panel { position: absolute; left: 0; width: 100%; height: 50.5%; background: var(--ink); }
.loader__panel--a { top: 0; } .loader__panel--b { bottom: 0; }
.loader__inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.loader__name { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 9vw, 7rem); letter-spacing: -.04em; line-height: 1; }
.loader__count { font-family: var(--display); color: #a9a29a; font-size: 1rem; letter-spacing: .2em; }

/* cursor */
.cursor { position: fixed; inset: 0; z-index: 150; pointer-events: none; display: none; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } body, a, button { cursor: none; } }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate(-50%,-50%); }
.cursor__dot { width: 6px; height: 6px; background: var(--ink); }
.cursor__ring { width: 38px; height: 38px; border: 1px solid rgba(18,18,18,.4); display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), background .3s, border-color .3s; }
.cursor__label { font-size: 12px; font-weight: 700; color: #fff; opacity: 0; transition: opacity .2s; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; border-color: transparent; background: rgba(255,90,54,.18); }
.cursor.is-label .cursor__ring { width: 86px; height: 86px; border-color: transparent; background: var(--ink); }
.cursor.is-label .cursor__label { opacity: 1; }

/* nav */
.nav { position: fixed; top: 18px; left: 50%; z-index: 100; transform: translateX(-50%); display: flex; align-items: center; gap: 28px;
  padding: 10px 10px 10px 22px; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; background: rgba(255,255,255,.62);
  box-shadow: 0 10px 40px -12px rgba(60,40,20,.2); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); width: max-content; max-width: calc(100% - 32px); }
.nav__logo { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; }
.nav__logo span { color: var(--a1); }
.nav__links { display: flex; gap: 22px; font-size: .95rem; color: var(--muted); }
.nav__links a { position: relative; transition: color .3s; }
.nav__links a:hover { color: var(--text); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1.5px; background: var(--a1); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { padding: 9px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: .92rem; transition: background .3s; }
.nav__cta:hover { background: var(--a1); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; border-radius: 999px; font-weight: 700; font-size: 1rem; transition: background .3s, color .3s, border-color .3s, box-shadow .3s; }
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -12px rgba(18,18,18,.5); }
.btn--dark:hover { background: var(--a1); box-shadow: 0 14px 30px -10px rgba(255,90,54,.6); }
.btn--ghost { border: 1.5px solid rgba(18,18,18,.18); background: rgba(255,255,255,.5); color: var(--text); }
.btn--ghost:hover { border-color: var(--ink); background: #fff; }

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 140px 24px 120px; isolation: isolate; }
.hero__mesh { position: absolute; inset: 0; z-index: -2; overflow: hidden; filter: blur(60px) saturate(1.3); }
.blob { position: absolute; border-radius: 50%; opacity: .6; }
.blob--1 { width: 46vw; height: 46vw; left: -8vw; top: 4vh; background: radial-gradient(circle, #ff8a6b, transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.blob--2 { width: 42vw; height: 42vw; right: -8vw; top: 18vh; background: radial-gradient(circle, #b8a6ff, transparent 65%); animation: drift2 22s ease-in-out infinite alternate; }
.blob--3 { width: 36vw; height: 36vw; left: 30vw; bottom: -12vh; background: radial-gradient(circle, #ffd36b, transparent 65%); animation: drift1 26s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(12vw, 8vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-14vw, -10vh) scale(.9); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(18,18,18,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(18,18,18,.06) 1px, transparent 1px); background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; z-index: -1; background: linear-gradient(transparent, var(--bg)); }
.hero__spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(420px circle at var(--mx,50%) var(--my,40%), rgba(255,255,255,.75), transparent 60%); }
.hero__content { width: 100%; max-width: 72rem; text-align: center; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 7px 16px 7px 12px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid rgba(255,255,255,.9); color: var(--soft); font-size: .92rem; box-shadow: 0 8px 24px -14px rgba(60,40,20,.35); }
.hero__kicker i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; }
.hero__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(2.8rem, 7.4vw, 7.2rem); line-height: .98; letter-spacing: -.045em; }
.line { display: block; }
.hero__pill { position: relative; display: inline-flex; vertical-align: middle; width: 1.75em; height: .82em; margin: 0 .04em; border-radius: 999px; overflow: hidden; transform: translateY(-.06em);
  background: linear-gradient(120deg, var(--a1), var(--a2)); box-shadow: 0 16px 34px -14px rgba(255,90,54,.7); }
.hero__pill img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hero__pill:hover img { transform: scale(1.12); }
.hero__sub { max-width: 40rem; margin: 30px auto 0; color: var(--soft); font-size: clamp(1.02rem, 1.4vw, 1.18rem); }
.hero__ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__scroll { position: absolute; bottom: 34px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(18,18,18,.25); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0) } 30% { opacity: 1 } 100% { opacity: 0; transform: translateY(14px) } }

/* split text */
.char { display: inline-block; will-change: transform; }
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }

/* marquee: a bold ink ribbon across the light page */
.marquee { padding: 30px 0 22px; transform: rotate(-2deg); margin: 0 -2vw; background: var(--ink); color: #f7f4ee; box-shadow: 0 30px 60px -30px rgba(18,18,18,.5); }
.marquee__row { overflow: hidden; white-space: nowrap; padding: 6px 0; }
.marquee__track { display: inline-flex; align-items: center; gap: 34px; padding-right: 34px; will-change: transform; }
.marquee__track span { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 5.5vw, 5rem); letter-spacing: -.03em; line-height: 1.05; }
.marquee__track .o { color: transparent; -webkit-text-stroke: 1.4px rgba(247,244,238,.6); }
.marquee__track i { width: 18px; height: 18px; flex: none; border-radius: 50%; background: linear-gradient(120deg, var(--a1), var(--a2)); }
.marquee__row--alt .marquee__track span { font-size: clamp(1.6rem, 3.6vw, 3.2rem); color: #a9a29a; }
.marquee__row--alt .marquee__track .o { -webkit-text-stroke-color: rgba(247,244,238,.35); }

/* about */
.about { padding: clamp(120px, 18vw, 220px) 24px; }
.about__text { max-width: 68rem; margin: 0 auto; font-family: var(--display); font-weight: 700; font-size: clamp(1.7rem, 3.6vw, 3.3rem); line-height: 1.18; letter-spacing: -.025em; }
.about__text .w { opacity: .13; }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto); grid-auto-flow: dense; gap: 16px; max-width: 80rem; margin: 0 auto; padding: 0 24px clamp(120px, 16vw, 200px); }
.card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--bg-2); box-shadow: var(--shadow); padding: 30px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 1px 0 #fff inset, 0 40px 70px -30px rgba(60,40,20,.35); }
.card h3 { margin: 6px 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 2.4vw, 2.3rem); line-height: 1.02; letter-spacing: -.03em; }
.card p { margin: 12px 0 0; color: var(--muted); font-size: .98rem; }
.card__eyebrow { color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.card--portrait { grid-column: span 2; grid-row: span 2; min-height: 540px; padding: 0; color: #fff; }
.card--portrait img { position: absolute; inset: 0; width: 100%; height: 100%; }
/* whole photo visible (contain) over a blurred copy, so the face stays small */
.card--portrait .card__bg { object-fit: cover; filter: blur(30px) saturate(1.1) brightness(.8); transform: scale(1.2); }
.card--portrait .card__photo { object-fit: contain; object-position: center top; }
.card__overlay { position: relative; padding: 30px; background: linear-gradient(transparent, rgba(0,0,0,.5)); }
.card--portrait .card__eyebrow { color: rgba(255,255,255,.8); }
.card--school { grid-column: span 2; background: radial-gradient(circle at 100% 0%, rgba(255,138,107,.35), transparent 55%), var(--bg-2); }
.card--loc, .card--now { grid-column: span 1; }
.card--loc { background: radial-gradient(circle at 100% 100%, rgba(255,211,107,.5), transparent 60%), var(--bg-2); }
.card--now { background: var(--ink); color: #f7f4ee; border-color: transparent; }
.card--now .card__eyebrow, .card--now p { color: #a9a29a; }
.card__pulse { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: .9rem; }
.card__pulse i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0) } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0) } }

/* section head */
.section-head { max-width: 80rem; margin: 0 auto; padding: 0 24px 60px; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.section-head p { max-width: 24rem; margin: 0; color: var(--muted); }
.big-title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(3.2rem, 9vw, 8.5rem); line-height: .92; letter-spacing: -.05em; }

/* work stack */
.work { padding-bottom: clamp(120px, 14vw, 180px); }
.stack { max-width: 80rem; margin: 0 auto; padding: 0 24px; }
.work-card { position: sticky; top: 13vh; display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; min-height: 74vh; margin-bottom: 8vh; padding: clamp(26px, 3.4vw, 48px);
  border: 1px solid var(--line); border-radius: 34px; background: #fff; box-shadow: 0 -20px 60px -40px rgba(60,40,20,.35), 0 40px 80px -40px rgba(60,40,20,.25); transform-origin: center top; overflow: hidden; will-change: transform; }
.work-card::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--c1) 16%, transparent), transparent 50%); }
.work-card > * { position: relative; z-index: 1; }
.work-card:last-child { margin-bottom: 0; }
.work-card__info { display: flex; flex-direction: column; }
.work-card__num { font-family: var(--display); font-weight: 800; font-size: 1rem; color: var(--c1); }
.work-card h3 { margin: 10px 0 8px; font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 4.6vw, 4.4rem); line-height: .95; letter-spacing: -.045em; }
.work-card__lead { margin: 0 0 18px; color: var(--soft); font-size: 1.08rem; }
.work-card ul { margin: 0 0 22px; padding: 0; list-style: none; color: var(--muted); }
.work-card li { position: relative; padding: 8px 0 8px 22px; border-top: 1px solid var(--line); font-size: .98rem; }
.work-card li::before { content: ""; position: absolute; left: 0; top: 17px; width: 8px; height: 8px; border-radius: 2px; background: linear-gradient(120deg, var(--c1), var(--c2)); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chips span { padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 500; color: var(--soft); background: color-mix(in srgb, var(--c1) 10%, #f4f1ec); }
.work-card__link { align-self: flex-start; margin-top: 18px; padding-bottom: 3px; border-bottom: 2px solid var(--c1); font-weight: 700; transition: color .3s; }
.work-card__link:hover { color: var(--c1); }
.work-card__media { position: relative; border-radius: 22px; overflow: hidden; min-height: 320px; background: linear-gradient(140deg, var(--c1), var(--c2)); }
.work-card__media--video { display: grid; place-items: center; padding: clamp(14px, 2vw, 26px); }
.work-card__media--video video { width: 100%; border-radius: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); transition: transform 1s var(--ease); }
.work-card:hover .work-card__media--video video { transform: scale(1.03); }

/* screenshots: MBCMS */
.shots { min-height: 380px; }
.shots img { position: absolute; border-radius: 12px; box-shadow: 0 30px 60px -18px rgba(0,0,0,.45); transition: transform 1s var(--ease); }
.shots__main { left: 6%; top: 9%; width: 86%; }
.shots__side { right: 5%; bottom: -14%; width: 36%; transform: rotate(5deg); }
.work-card:hover .shots__main { transform: translateY(-6px) scale(1.02); }
.work-card:hover .shots__side { transform: rotate(1deg) translateY(-26px); }

/* art: books */
.art-books { display: flex; align-items: flex-end; justify-content: center; gap: 7px; padding: 40px 30px 0; }
.art-books span { width: 34px; border-radius: 6px 6px 0 0; transition: transform .6s var(--ease); box-shadow: inset -6px 0 0 rgba(0,0,0,.15); }
.work-card:hover .art-books span:nth-child(3n+1) { transform: translateY(-16px); }
.art-books span:nth-child(5n) { transform: rotate(-8deg); transform-origin: bottom left; }

/* art: chat */
.art-chat { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 34px; color: #fff; }
.bubble { max-width: 78%; padding: 12px 16px; border-radius: 18px 18px 18px 6px; background: rgba(0,0,0,.22); font-size: .95rem; backdrop-filter: blur(6px); }
.bubble--me { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: #fff; color: #111; }
.bubble--bad { position: relative; border: 1.5px dashed rgba(255,255,255,.8); text-decoration: line-through; color: rgba(255,255,255,.75); }
.bubble--bad em { position: absolute; right: -10px; top: -14px; padding: 3px 10px; border-radius: 999px; background: #111; color: #ff8fb3; font-style: normal; font-size: .75rem; font-weight: 700; text-decoration: none; transform: rotate(4deg); }

/* process accordion */
.process { padding-bottom: clamp(120px, 16vw, 200px); }
.accordion { display: flex; gap: 12px; max-width: 80rem; height: 440px; margin: 0 auto; padding: 0 24px; }
.slice { position: relative; flex: 1; min-width: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; text-align: left; padding: 28px;
  border: 1px solid var(--line); border-radius: 28px; color: var(--text); font: inherit; background: #fff; box-shadow: var(--shadow); transition: flex 0.9s var(--ease), color .5s; }
.slice::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .7s; background: radial-gradient(circle at 20% 110%, hsl(var(--h) 85% 52%), hsl(calc(var(--h) + 18) 90% 60%) 80%); }
.slice > * { position: relative; }
.slice.is-open { flex: 3.4; color: #fff; }
.slice.is-open::before { opacity: 1; }
.slice__n { font-family: var(--display); font-weight: 800; opacity: .6; }
.slice__t { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.6rem); letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.slice__body { max-width: 26rem; opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .7s var(--ease); }
.slice.is-open .slice__body { opacity: 1; transform: none; transition-delay: .25s; }
.slice:focus-visible { outline: 2px solid var(--a1); outline-offset: 3px; }

/* contact */
.contact { position: relative; isolation: isolate; overflow: hidden; padding: clamp(120px, 16vw, 200px) 24px 40px; text-align: center; }
.hero__mesh--soft { opacity: .7; }
.contact__kicker { margin: 0 0 20px; color: var(--muted); }
.contact__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(3.4rem, 10vw, 10rem); line-height: .9; letter-spacing: -.055em; }
.contact__mail { display: inline-block; margin-top: 50px; padding: 22px 40px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.5rem); box-shadow: 0 20px 40px -16px rgba(18,18,18,.5); transition: background .3s, box-shadow .3s; }
.contact__mail:hover { background: var(--a1); box-shadow: 0 20px 40px -14px rgba(255,90,54,.6); }
.contact__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 30px; margin-top: 38px; color: var(--muted); font-weight: 500; }
.contact__links a { transition: color .3s; } .contact__links a:hover { color: var(--text); }
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; max-width: 80rem; margin: clamp(90px, 12vw, 160px) auto 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }

/* theme: the desk + work chapter turns the page dark */
body { transition: background-color .9s var(--ease), color .9s var(--ease); }
body.theme-dark { background: #0e0d0c; color: #f7f4ee; }
body.theme-dark .section-head p { color: #a9a29a; }
.work-card { color: var(--ink); }

.eyebrow { margin: 0 0 18px; color: var(--a1); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow--light { color: var(--a2); }
.script { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 700; letter-spacing: -.02em; }

/* loader photo flashes */
.loader__pics { position: relative; width: 150px; height: 190px; margin-bottom: 18px; }
.loader__pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; opacity: 0; box-shadow: 0 20px 50px rgba(0,0,0,.5); }
.loader__name span { color: var(--a1); }

/* expanding photo */
.expand { position: relative; height: 100vh; }
.expand__stage { position: relative; height: 100vh; overflow: hidden; display: grid; place-items: center; }
.expand__frame { position: absolute; inset: 0; clip-path: inset(18% 26% 18% 26% round 36px); will-change: clip-path; }
.expand__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 44% 50%; transform: scale(1.35); transform-origin: 44% 50%; }
.expand__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.45)); opacity: 0; }
.expand__text { position: relative; z-index: 2; max-width: 60rem; padding: 0 24px; text-align: center; color: #fff; }
.expand__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(3.4rem, 10vw, 9.5rem); line-height: .95; letter-spacing: -.05em; text-shadow: 0 10px 40px rgba(0,0,0,.25); }
.expand__title .script { display: inline-block; padding-right: .06em; }
.expand__text p { max-width: 34rem; margin: 22px auto 0; font-size: clamp(1.02rem, 1.5vw, 1.25rem); color: rgba(255,255,255,.92); text-shadow: 0 2px 20px rgba(0,0,0,.35); }

/* who */
.who { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; max-width: 80rem; margin: 0 auto; padding: clamp(120px, 16vw, 200px) 24px; }
.who__media { position: relative; }
.who__photo { margin: 0; overflow: hidden; border-radius: 32px; aspect-ratio: 4 / 5; box-shadow: 0 50px 90px -40px rgba(60,40,20,.5); }
.who__photo img { width: 100%; height: 115%; object-fit: cover; }
.who__copy .who__text { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 2.7vw, 2.6rem); line-height: 1.2; letter-spacing: -.02em; }
.who__text .w { opacity: .13; }
.sticker { position: absolute; padding: 10px 18px; border-radius: 999px; font-family: var(--display); font-weight: 800; font-size: 1.05rem; box-shadow: 0 16px 30px -12px rgba(60,40,20,.45); white-space: nowrap; }
.sticker--a { top: 8%; right: -6%; background: var(--a2); color: var(--ink); transform: rotate(8deg); }
.sticker--b { bottom: 18%; left: -8%; background: var(--ink); color: #fff; transform: rotate(-7deg); }
.sticker--c { bottom: -3%; right: 10%; background: #fff; color: var(--ink); transform: rotate(4deg); }

/* desk */
.desk { position: relative; min-height: 120vh; display: grid; align-items: end; padding: 0 24px 14vh; overflow: hidden; color: #f7f4ee; }
.desk__bg { position: absolute; inset: 0; }
.desk__bg img { width: 100%; height: 120%; object-fit: cover; filter: saturate(.85) contrast(1.05); }
.desk__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,13,12,.2) 0%, rgba(14,13,12,.55) 50%, #0e0d0c 100%); }
.desk__copy { position: relative; max-width: 80rem; width: 100%; margin: 0 auto; }
.desk__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 8.4vw, 8rem); line-height: .95; letter-spacing: -.05em; max-width: 14ch; }
.desk__sub { margin: 24px 0 0; font-size: 1.15rem; color: #c9c3bb; }

/* outside: horizontal gallery */
.outside { position: relative; overflow: hidden; }
.outside__track { display: flex; align-items: center; gap: clamp(24px, 4vw, 60px); height: 100vh; padding: 0 6vw; width: max-content; will-change: transform; }
.outside__intro { flex: none; width: min(36rem, 80vw); }
.outside__intro p:last-child { margin: 26px 0 0; color: var(--muted); font-size: 1.1rem; max-width: 26rem; }
.shot { flex: none; margin: 0; width: clamp(260px, 26vw, 400px); }
.shot--low { transform: translateY(9vh); }
.shot__img { overflow: hidden; border-radius: 26px; aspect-ratio: .72; box-shadow: 0 40px 70px -35px rgba(60,40,20,.55); }
.shot__img img { width: 120%; max-width: none; height: 100%; object-fit: cover; margin-left: -10%; transition: scale 1s var(--ease); }
.shot:hover .shot__img img { scale: 1.06; }
.shot figcaption { margin-top: 14px; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 1.25rem; color: var(--soft); }
.outside__end { flex: none; width: min(26rem, 70vw); }
.outside__end p { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.04em; }

/* contact floating photos */
.contact__sub { margin: 22px 0 0; color: var(--muted); font-size: 1.1rem; }
.float { position: absolute; z-index: -1; overflow: hidden; border-radius: 22px; box-shadow: 0 30px 60px -25px rgba(60,40,20,.5); }
.float img { width: 100%; height: 100%; object-fit: cover; }
.float--a { width: clamp(110px, 12vw, 180px); aspect-ratio: .78; left: 3%; top: 8%; rotate: -8deg; }
.float--b { width: clamp(100px, 10vw, 150px); aspect-ratio: .78; right: 3%; top: 6%; rotate: 7deg; }
.float--c { width: clamp(90px, 9vw, 130px); aspect-ratio: .8; right: 9%; bottom: 26%; rotate: -4deg; }

/* gen z layer: scribble, badge, highlighter, photo dump, giant footer */
:root { --lime: #c6f432; }
.scribble-wrap { position: relative; display: inline-block; }
.scribble { position: absolute; left: -2%; bottom: -.2em; width: 104%; height: .34em; overflow: visible; pointer-events: none; }
.scribble path { fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; }
.scribble path + path { stroke: var(--a3); stroke-width: 2.4; }

.badge { position: absolute; right: 6vw; bottom: 9vh; width: 132px; height: 132px; display: grid; place-items: center; }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.badge text { font-family: var(--display); font-weight: 800; font-size: 11.6px; letter-spacing: .18em; fill: var(--ink); }
.badge__core { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 1.6rem; font-weight: 800; box-shadow: 0 10px 24px -10px rgba(120,150,0,.8); transition: transform .5s var(--ease), background .3s; }
.badge:hover .badge__core { transform: rotate(45deg) scale(1.1); background: var(--ink); color: var(--lime); }
@keyframes spin { to { transform: rotate(360deg); } }

.w.hl { background-image: linear-gradient(transparent 56%, var(--lime) 56%, var(--lime) 90%, transparent 90%); background-repeat: no-repeat; background-size: var(--hl, 0%) 100%; }
.sticker--a { background: var(--lime); }

.dump { padding: clamp(100px, 14vw, 180px) 24px clamp(60px, 8vw, 100px); }
.dump__head { max-width: 80rem; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.hand { margin: 0; font-family: "Caveat", cursive; font-weight: 700; font-size: clamp(1.5rem, 2.4vw, 2.1rem); color: var(--a1); rotate: -4deg; }
.dump__board { position: relative; max-width: 80rem; height: 900px; margin: 40px auto 0; }
.polaroid { position: absolute; left: var(--x); top: var(--y); width: clamp(180px, 17vw, 240px); margin: 0; padding: 12px 12px 0; background: #fff; border-radius: 6px; rotate: var(--r);
  box-shadow: 0 2px 4px rgba(0,0,0,.06), 0 24px 50px -22px rgba(60,40,20,.45); cursor: grab; user-select: none; -webkit-user-select: none; }
.polaroid:active { cursor: grabbing; }
.polaroid img { width: 100%; aspect-ratio: .86; object-fit: cover; border-radius: 3px; pointer-events: none; }
.polaroid figcaption { padding: 8px 0 12px; text-align: center; font-family: "Caveat", cursive; font-weight: 700; font-size: 1.45rem; color: var(--ink); }

.giant { margin: 30px -24px -5.4vw; text-align: center; font-family: var(--display); font-weight: 800; font-size: 31vw; line-height: .8; letter-spacing: -.07em; white-space: nowrap; pointer-events: none; }


/* photo grade: warmer, punchier, a little filmic */
.who__photo img, .shot__img img, .polaroid img, .card--portrait .card__photo, .float img, .loader__pics img, .expand__frame img {
  filter: contrast(1.1) saturate(1.28) brightness(1.03); }
.who__photo, .shot__img { position: relative; }
.who__photo::after, .shot__img::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(160deg, rgba(255,140,90,.35), transparent 45%, rgba(124,92,255,.3)); }

/* who: smaller photo with a spinning aura and twinkling stars */
.who__media { width: 100%; max-width: 430px; justify-self: center; isolation: isolate; }
.who__aura { position: absolute; inset: -12%; z-index: -1; border-radius: 42%; opacity: .6; filter: blur(44px);
  background: conic-gradient(from 0deg, var(--a1), var(--a2), var(--lime), #7c5cff, var(--a3), var(--a1)); animation: spin 10s linear infinite; }
.spark { position: absolute; z-index: 2; width: 34px; height: 34px; fill: var(--ink); animation: twinkle 2.6s ease-in-out infinite; }
.spark--1 { top: -5%; left: 8%; fill: var(--a2); }
.spark--2 { top: 42%; right: -9%; width: 26px; height: 26px; animation-delay: .8s; }
.spark--3 { bottom: 6%; left: -7%; width: 22px; height: 22px; fill: var(--a3); animation-delay: 1.5s; }
@keyframes twinkle { 0%, 100% { transform: scale(.6) rotate(0deg); opacity: .5; } 50% { transform: scale(1.15) rotate(45deg); opacity: 1; } }


/* mascots: QA cat peeking over edges, ladybug crawling round the photo */
.bento { position: relative; }
.peek { position: absolute; z-index: 50; width: 128px; cursor: pointer; }
.peek svg { display: block; width: 100%; overflow: visible; transform-origin: 50% 100%; transition: transform .45s var(--ease); }
.peek:hover svg { transform: translateY(-10px) rotate(-4deg); }
.peek__bubble { position: absolute; bottom: 100%; left: 50%; padding: 6px 14px; border-radius: 16px 16px 16px 4px; background: #fff; color: var(--ink); white-space: nowrap;
  font-family: "Caveat", cursive; font-weight: 700; font-size: 1.3rem; box-shadow: 0 12px 30px -12px rgba(60,40,20,.45); opacity: 0; transform: translate(-20%, 10px) scale(.8); transition: opacity .3s, transform .45s var(--ease); pointer-events: none; }
.peek:hover .peek__bubble { opacity: 1; transform: translate(-20%, -6px) scale(1); }
.peek--bento { left: calc(24px + 6%); top: -82px; }
.peek--dump { left: 46%; top: -84px; }
.crawl { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.bug { position: absolute; left: 0; top: 0; width: 34px; height: 34px; padding: 0; border: 0; background: none; pointer-events: auto; cursor: pointer; }
.bug svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 3px 4px rgba(0,0,0,.3)); }
.bug svg circle:not([fill]) { fill: #121212; }
.bug__legs path, .bug__ant { stroke: #121212; stroke-width: 1.6; stroke-linecap: round; fill: none; }
.bug__legs { transform-origin: 15px 16px; animation: legs .18s ease-in-out infinite alternate; }
@keyframes legs { from { transform: skewX(-12deg); } to { transform: skewX(12deg); } }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 160; padding: 12px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.5); transform: translate(-50%, 140%); opacity: 0; pointer-events: none; }
.toast b { color: var(--lime); }


/* hero image trail */
.trail { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.trail img { position: absolute; left: 0; top: 0; width: 150px; aspect-ratio: .78; object-fit: cover; border-radius: 16px; opacity: 0;
  box-shadow: 0 24px 50px -20px rgba(60,40,20,.55); filter: contrast(1.08) saturate(1.25); }

/* desk terminal */
.desk__copy { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 5vw, 70px); align-items: end; }
.term { border-radius: 18px; overflow: hidden; background: rgba(14,13,12,.72); border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.term__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.term__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.term__bar i:nth-child(2) { background: #febc2e; } .term__bar i:nth-child(3) { background: #28c840; }
.term__bar span { margin-left: 10px; color: #8d877f; font: 500 .8rem "JetBrains Mono", ui-monospace, monospace; }
.term__body { margin: 0; padding: 18px 20px 22px; font: 400 clamp(.78rem, 1vw, .9rem)/1.85 "JetBrains Mono", ui-monospace, monospace; color: #e9e4dc; white-space: normal; }
.term__cmd { display: block; }
.term__cmd b { color: var(--lime); }
.term__line { display: block; }
.term__line em { font-style: normal; color: var(--a2); margin-right: 8px; }
.term__line u { text-decoration: none; color: var(--lime); }
.term__head em { color: #ff8fb3; }
.term__caret { display: inline-block; width: .6em; height: 1.1em; margin-left: 4px; vertical-align: -.2em; background: var(--lime); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* responsive */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav { gap: 18px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card--portrait { grid-column: span 2; grid-row: span 1; min-height: 420px; }
  .card--school { grid-column: span 2; }
  .work-card { position: relative; top: 0; grid-template-columns: 1fr; min-height: auto; gap: 24px; margin-bottom: 20px; }
  .work-card__media { min-height: 240px; order: -1; }
  .accordion { flex-direction: column; height: auto; }
  .slice { flex: none; padding: 22px; }
  .slice__body { opacity: 1; transform: none; margin-top: 14px; }
  .slice.is-open { flex: none; }
  .who { grid-template-columns: 1fr; }
  .who__media { max-width: 460px; margin: 0 auto; width: 100%; }
  .sticker--a { right: 0; } .sticker--b { left: 0; }
  .desk { min-height: 90vh; }
  .outside__track { height: auto; width: auto; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; padding: 100px 16px; -webkit-overflow-scrolling: touch; }
  .outside__intro { width: 82vw; }
  .shot { width: 72vw; scroll-snap-align: center; }
  .shot--low { transform: none; }
  .float { display: none; }
  .desk__copy { grid-template-columns: 1fr; }
  .desk { min-height: auto; padding-top: 40vh; }
  .peek { width: 86px; }
  .peek--bento { left: 12%; top: -54px; }
  .peek--dump { left: auto; right: 4%; top: -58px; }
  .badge { width: 92px; height: 92px; right: 16px; bottom: 22px; }
  .badge text { font-size: 12.5px; }
  .badge__core { width: 40px; height: 40px; font-size: 1.15rem; }
  .dump__board { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 16px; height: auto; }
  .polaroid { position: relative; left: auto; top: auto; width: auto; padding: 8px 8px 0; }
  .polaroid figcaption { font-size: 1.15rem; padding: 6px 0 8px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .bento { grid-template-columns: 1fr; padding-inline: 16px; }
  .card--portrait, .card--school { grid-column: span 1; }
  .hero { padding-inline: 16px; }
  .hero__kicker { font-size: .74rem; white-space: nowrap; }
  .stack, .section-head, .accordion { padding-inline: 16px; }
  .work-card { border-radius: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .loader { display: none; }
  .about__text .w { opacity: 1; }
}
