/* =========================================================
   ERIKA JULIAN — Portfolio
   Fonts: Unbounded (display) · Montserrat (text) · Indie Flower (hand)
   ========================================================= */

@font-face { font-family: "Unbounded"; src: url("assets/fonts/Unbounded-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("assets/fonts/Unbounded-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("assets/fonts/Unbounded-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Unbounded"; src: url("assets/fonts/Unbounded-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("assets/fonts/Montserrat-ExtraLight.ttf") format("truetype"); font-weight: 200; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("assets/fonts/Montserrat-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("assets/fonts/Montserrat-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("assets/fonts/Montserrat-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Indie Flower"; src: url("assets/fonts/IndieFlower-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --paper: #FAFAF8;
  --paper-2: #ECE9E3;
  --ink: #161616;
  --ink-soft: #4A4A4A;
  --mute: #A9A6A0;
  --line: rgba(22, 22, 22, .12);
  --cobalt: #1010E0;
  --cobalt-deep: #0A0AB0;
  --white: #FFFFFF;

  --f-display: "Unbounded", "Arial Black", sans-serif;
  --f-text: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --f-hand: "Indie Flower", "Comic Sans MS", cursive;

  --side: clamp(20px, 6vw, 112px);
  --gutter: clamp(16px, 2vw, 32px);
  --section: clamp(88px, 10vw, 160px);
  --header-h: 76px;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::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; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-weight: 300;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
svg { fill: currentColor; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
em { font-style: italic; }
::selection { background: var(--cobalt); color: var(--white); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 4px; border-radius: 2px; }

main { position: relative; }
section, .divider, footer { position: relative; overflow-x: clip; }

/* ---------- Shared bits ---------- */
.label {
  font-family: var(--f-text);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); display: inline-block; }
.dot--white { background: var(--white); }
.hand { font-family: var(--f-hand); color: var(--cobalt); line-height: 1.15; font-weight: 400; }
.blue { color: var(--cobalt); }
.line { display: block; }

.u-label {
  font-family: var(--f-display); font-weight: 600; font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  position: relative; padding-bottom: 3px; margin-right: 8px;
}
.u-label::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--cobalt); }

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

/* draw-on svg strokes */
[data-draw] { fill: none; stroke: var(--cobalt); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* pills */
.pill {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--cobalt); color: var(--white);
  font-family: var(--f-display); font-weight: 500; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  padding: 18px 30px; border-radius: 999px;
  transition: background .3s var(--ease), color .3s var(--ease);
  will-change: transform;
}
.pill svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.pill:hover { background: var(--cobalt-deep); }
.pill:hover svg { transform: translateX(4px); }
.pill--sm { padding: 12px 20px; font-size: 11px; }
.pill--sm svg { width: 14px; height: 14px; }
.pill--big { padding: 18px 34px; font-size: 14px; }
.pill--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.pill--ghost:hover { background: var(--ink); color: var(--white); }

.link-line { display: inline-flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 400; }
.link-line__rule { width: 44px; height: 1px; background: currentColor; transition: width .5s var(--ease); }
.link-line:hover .link-line__rule { width: 72px; }
.link-line svg { width: 16px; height: 16px; }
.link-btn { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Progress / cursor ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 101; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--cobalt); transform-origin: 0 50%; transform: scaleX(0); }

.cursor { position: fixed; inset: 0; z-index: 160; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor:not(.is-live) { opacity: 0; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--cobalt); }
.cursor__ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid var(--cobalt);
  display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), opacity .3s;
}
.cursor__label { font-family: var(--f-display); font-weight: 500; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--white); opacity: 0; transition: opacity .25s; }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(16, 16, 224, .12); }
.cursor.is-view .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--cobalt); border-color: var(--cobalt); }
.cursor.is-view .cursor__label { opacity: 1; }
.cursor.is-view .cursor__dot, .cursor.is-hidden .cursor__dot { opacity: 0; }
.cursor.is-hidden .cursor__ring { opacity: 0; }
.cursor.on-dark .cursor__dot, .cursor.on-box .cursor__dot { background: var(--white); }
.cursor.on-dark .cursor__ring, .cursor.on-box .cursor__ring { border-color: var(--white); }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }

/* ---------- Preloader ---------- */
.preloader { display: none; }
.js .preloader {
  position: fixed; inset: 0; z-index: 200; background: transparent; color: var(--white);
  display: grid; grid-template-rows: auto 1fr auto; padding: clamp(20px, 3vw, 44px) var(--side); overflow: hidden;
}
.preloader__shutters { position: absolute; inset: 0; display: flex; z-index: 0; }
.preloader__shutters span { flex: 1; height: 100%; background: var(--cobalt); margin-right: -1px; will-change: transform; }
.preloader__top, .preloader__bottom { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 3; }
.preloader__logo { width: 58px; height: 39px; color: var(--white); fill: var(--white); }
.preloader__tag { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.preloader__stage { position: relative; z-index: 2; display: grid; place-items: center; }
.preloader__word {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 0; white-space: nowrap; pointer-events: none;
  font-family: var(--f-display); font-weight: 600; text-transform: uppercase; letter-spacing: -.045em; line-height: 1;
  font-size: min(12vw, 13rem); color: var(--white); overflow: hidden; padding: .05em 0;   /* sized so the longest word (CAMPAIGNS) always fits the screen */
}
.preloader__word span { display: inline-block; }
.preloader__frame { position: relative; z-index: 1; width: clamp(180px, 20vw, 320px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; box-shadow: 0 40px 80px -30px rgba(0, 0, 30, .6); }
.preloader__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.preloader__frame img.is-on { opacity: 1; }
.preloader__line { font-family: var(--f-hand); font-size: clamp(18px, 1.8vw, 26px); }
.preloader__count { font-family: var(--f-display); font-weight: 300; font-size: clamp(2.6rem, 6vw, 6rem); line-height: .9; letter-spacing: -.04em; }
.preloader__count small { font-size: .4em; margin-left: .1em; vertical-align: top; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h); padding: 0 var(--side);
  display: flex; align-items: center; gap: 32px;
  color: var(--ink);
  transition: color .4s var(--ease), transform .6s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.header.is-hidden { transform: translateY(-110%); }
/* Once you scroll, the header sits on a frosted paper bar so it stays readable over any section */
.header.is-scrolled {
  background: rgba(250, 250, 248, .86); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.header.is-scrolled.on-dark { color: var(--ink); }
.header.is-scrolled.on-dark .nav-link::after { background: var(--cobalt); }
.header.is-scrolled.on-dark .header__cta { background: var(--cobalt); color: var(--white); }
.menu-open .header.is-scrolled { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--white); }
.header.on-dark { color: var(--white); }
.header__logo { display: block; width: 150px; flex: none; }
.header__logo svg { width: 100%; height: auto; fill: currentColor; }
.header__nav { margin-left: auto; display: flex; gap: clamp(20px, 2.6vw, 44px); }
.nav-link {
  font-family: var(--f-display); font-weight: 500; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  position: relative; padding: 6px 0;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--cobalt);
  transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--ease);
}
.header.on-dark .nav-link::after { background: var(--white); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: 0 50%; }
.header.on-dark .header__cta { background: var(--white); color: var(--cobalt); }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99; background: var(--cobalt); color: var(--white);
  padding: calc(var(--header-h) + 24px) var(--side) var(--side);
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s linear .8s;
}
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.menu-open .header { color: var(--white); }
.menu__nav a { display: flex; align-items: baseline; gap: 14px; font-family: var(--f-display); font-weight: 500; font-size: clamp(2.2rem, 11vw, 4rem); line-height: 1.12; text-transform: uppercase; letter-spacing: -.02em; }
.menu__nav span { font-size: 12px; letter-spacing: .1em; opacity: .7; }
.menu__note { color: var(--white); font-size: 24px; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 4vh) var(--side) calc(var(--strip-h) + 5vh);
  display: grid; grid-template-columns: 1fr; align-items: center;
  overflow: hidden;
  --strip-h: clamp(48px, 5vw, 72px);
}
.hero__content { position: relative; z-index: 3; max-width: 62vw; }
.hero__hi { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.4rem, min(3.6vw, 6vh), 3.6rem); line-height: 1; margin-left: .12em; letter-spacing: -.01em; }
.hero__name { position: relative; display: inline-block; margin-top: .06em; }
.hero__name-text {
  display: block; font-family: var(--f-display); font-weight: 600;
  font-size: clamp(4.4rem, min(14.5vw, 25vh), 15rem); line-height: .86; letter-spacing: -.035em;
}
.hero__name-text .c { will-change: transform; }
.hero__name .w { padding-right: .08em; margin-right: -.08em; }
.hero__disciplines {
  margin: clamp(28px, 3.5vw, 52px) 0 0 clamp(120px, 28%, 420px);
  font-family: var(--f-display); font-weight: 500; font-size: clamp(11px, .95vw, 14px); letter-spacing: .04em; text-transform: uppercase; line-height: 1.75;
}
.hero__disciplines i { color: var(--cobalt); font-style: normal; margin: 0 .25em; }
.hero__flight { position: absolute; inset: 0; pointer-events: none; }
.flight-dash { stroke: var(--cobalt); stroke-dasharray: 11 10; }
.flight-solid { stroke: #fff; stroke-width: 9 !important; }
.hero__path { width: 100%; height: 100%; overflow: visible; }
.hero__path path { fill: none; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.base-probe { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
.hero__plane { position: absolute; left: 0; top: 0; z-index: 2; width: clamp(64px, 5.8vw, 102px); height: auto; transform-origin: 18% 73%; will-change: transform; pointer-events: none; }
.hero__statement { margin-top: clamp(130px, min(16vw, 24vh), 270px); }
.hero__statement h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.6rem, min(3.4vw, 6vh), 3.6rem); line-height: .98; letter-spacing: -.03em; text-transform: uppercase; max-width: 9.5em; }
.hero__sub { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.hand-ink { font-family: var(--f-hand); color: var(--ink); font-size: clamp(18px, 1.5vw, 24px); line-height: 1; }
.smiley { width: clamp(30px, 2.4vw, 40px); height: auto; overflow: visible; }
.smiley path { stroke-width: 2.6; }
.circled { position: relative; display: inline-block; margin-left: .18em; }
.circled__ring { position: absolute; left: -14%; top: -34%; width: 130%; max-width: none; height: 168%; overflow: visible; pointer-events: none; }
.circled__ring path { stroke-width: 3; }

.hero__media { position: absolute; inset: 0; pointer-events: none; }
.hero__portrait {
  position: absolute; right: -10vw; bottom: var(--strip-h); width: min(59vw, 1160px); max-height: 86%; aspect-ratio: 1358 / 970;
  overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 100% 100%; will-change: transform; }
.scene-video { display: none; }
.scene-video.is-ready { display: block; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video.is-ready + .hero__img, .hero__portrait:has(.hero__video.is-ready) .hero__img { opacity: 0; }
.hero__stars { position: absolute; left: 0; top: 0; width: 200px; z-index: 4; will-change: transform; }

.scroll-cue { position: absolute; z-index: 6; color: #fff; mix-blend-mode: difference; left: 50%; transform: translateX(-50%); bottom: calc(var(--strip-h) + 2.6vh); flex-direction: column; gap: 10px; display: inline-flex; align-items: center; gap: 14px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 400; }
.scroll-cue__mouse { width: 18px; height: 28px; border: 1.5px solid currentColor; border-radius: 10px; position: relative; }
.scroll-cue__mouse span { position: absolute; left: 50%; top: 5px; width: 2px; height: 6px; margin-left: -1px; background: currentColor; border-radius: 2px; animation: wheel 1.8s var(--ease) infinite; }
.hero__strip {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; height: var(--strip-h);
  display: flex; align-items: center; background: var(--cobalt); color: var(--white); overflow: hidden; white-space: nowrap;
}
.marquee__track { display: inline-flex; align-items: center; gap: clamp(18px, 2vw, 36px); padding-right: clamp(18px, 2vw, 36px); will-change: transform; }
.hero__strip .marquee__track { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; font-size: clamp(.9rem, 1.35vw, 1.45rem); letter-spacing: -.01em; }
.marquee__track svg { width: .8em; height: .8em; flex: none; }
.band { background: var(--cobalt); color: var(--white); overflow: hidden; white-space: nowrap; height: clamp(48px, 5vw, 72px); display: flex; align-items: center; }
.band .marquee__track { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; font-size: clamp(.9rem, 1.35vw, 1.45rem); letter-spacing: -.01em; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Section system ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(22px, 2.4vw, 36px);
  font-family: var(--f-text); font-weight: 400; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft);
}
.kicker--white { color: rgba(255, 255, 255, .8); }
.h-section { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: clamp(2.6rem, 6.2vw, 7rem); line-height: .92; letter-spacing: -.04em; }

/* ---------- ABOUT ---------- */
.about {
  padding: clamp(90px, 9vw, 140px) var(--side) clamp(48px, 5vw, 80px);
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(40px, 5vw, 96px); align-items: center;
}
.about__title { font-size: clamp(2rem, 3.6vw, 4rem); }
.about__title .line:last-child { position: relative; display: inline-block; }
.swoosh { position: absolute; left: 100%; bottom: .1em; width: 1.6em; height: .25em; overflow: visible; margin-left: .12em; }
.about__copy { margin-top: clamp(24px, 2.4vw, 36px); max-width: 34em; display: grid; gap: 12px; color: var(--ink-soft); font-size: clamp(14px, 1vw, 16px); }
.about__lead { font-family: var(--f-display); font-weight: 300; color: var(--ink); font-size: clamp(1.02rem, 1.3vw, 1.3rem); line-height: 1.36; letter-spacing: -.015em; }
.path { margin-top: clamp(22px, 2.2vw, 34px); max-width: 34em; border-top: 1px solid var(--line); }
.path li { display: grid; grid-template-columns: 6.4em 1fr auto; column-gap: 16px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.path__when { font-family: var(--f-display); font-weight: 500; font-size: 10.5px; letter-spacing: .06em; color: var(--cobalt); white-space: nowrap; }
.path__what { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; font-size: 11px; letter-spacing: .04em; }
.path__where { color: var(--ink-soft); text-align: right; }
.collage {
  position: relative;
  --ch: clamp(500px, 70vh, 740px);                  /* collage height */
  --pw: min(30%, calc(var(--ch) * .46 / 1.325));     /* photo width: two rows always fit inside the collage */
  height: var(--ch);
}
.pile { position: absolute; aspect-ratio: 4 / 5.3; width: var(--pw); }
.pile--1 { left: 0; top: 5%; rotate: -5deg; }
.pile--2 { left: 33%; top: 0; rotate: 3deg; z-index: 2; }
.pile--3 { right: 0; top: 7%; rotate: -3deg; }
.pile--4 { left: 9%; top: 51%; rotate: 4deg; z-index: 3; }
.pile--5 { left: 45%; top: 48%; rotate: -2deg; z-index: 2; }
.snap {
  position: absolute; inset: 0; margin: 0; background: var(--white); padding: 8px 8px 26px;
  box-shadow: 0 22px 44px -24px rgba(0, 0, 0, .4), 0 2px 6px rgba(0, 0, 0, .06);
  cursor: grab; touch-action: none; user-select: none; -webkit-user-drag: none;
  transition: box-shadow .4s var(--ease);
}
.snap:first-child { rotate: 7deg; translate: 4% 3%; }
.snap:nth-child(2):not(:last-child) { rotate: -6deg; translate: -3% 2%; }
.snap img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.snap.is-grabbed { cursor: grabbing; box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .55); }
.tape {
  position: absolute; width: 34%; height: 9%; background: rgba(236, 228, 205, .78); box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
  backdrop-filter: blur(1px); pointer-events: none;
  -webkit-mask: linear-gradient(90deg, transparent 0 2%, #000 2% 98%, transparent 98%);
}
.tape--top { left: 33%; top: -4%; rotate: -3deg; }
.tape--tl { left: -8%; top: 1%; rotate: -38deg; }
.tape--tr { right: -8%; top: 1%; rotate: 36deg; }
.word {
  position: absolute; z-index: 50; font-family: var(--f-hand); color: var(--cobalt); line-height: 1; white-space: nowrap; pointer-events: none;
  font-size: clamp(17px, 1.45vw, 24px); background: var(--paper); padding: 3px 9px 5px; border-radius: 2px;
  box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .25);
}
.word--1 { left: 20%; top: 40%; rotate: -8deg; }
.word--2 { left: 55%; top: 35%; rotate: 6deg; }
.word--4 { right: 0; top: 82%; rotate: 3deg; }
.collage__hint { position: absolute; z-index: 50; left: 2%; top: -6%; font-size: clamp(16px, 1.3vw, 20px); rotate: -4deg; pointer-events: none; }

/* Bridge: dark strap between About and What I do */
.bridge { background: #111111; color: var(--white); padding: clamp(56px, 7vw, 110px) var(--side); }
.bridge p { font-family: var(--f-display); letter-spacing: -.035em; line-height: 1.08; }
.bridge__a { font-weight: 300; font-size: clamp(1.4rem, 3.4vw, 3.8rem); color: rgba(255, 255, 255, .55); }
.bridge__b { font-weight: 600; font-size: clamp(2rem, 5.2vw, 6rem); margin-top: .18em; max-width: 14em; }
.bridge .blue { color: var(--white); background: var(--cobalt); padding: 0 .14em .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.strike { position: relative; display: inline; white-space: normal; }
.strike svg { position: absolute; left: -2%; width: 104%; top: 40%; height: .4em; overflow: visible; pointer-events: none; }
.strike path { stroke-width: 5; stroke: #5A5AFF; }
.bridge__thread { display: block; width: clamp(130px, 15vw, 260px); height: auto; aspect-ratio: 400 / 220; margin: 0 0 clamp(14px, 2vw, 30px) clamp(30px, 10vw, 200px); overflow: visible; }
.bridge__thread path { fill: none; stroke-width: 3; stroke-linecap: round; }
.thread-dash { stroke: var(--cobalt); stroke-dasharray: 10 9; }
.thread-solid { stroke: #fff; stroke-width: 8 !important; }

/* ---------- SERVICES ---------- */
.services { padding: clamp(56px, 6vw, 96px) var(--side) clamp(64px, 7vw, 110px); }
.services .kicker { display: flex; }
.services__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.services__title { position: relative; }
.services__note { position: relative; font-size: clamp(22px, 2.2vw, 34px); transform: rotate(-7deg); margin-bottom: 1em; padding-right: 40px; }
.services__note svg { position: absolute; right: -10px; bottom: -60px; width: 50px; height: 60px; overflow: visible; }

.services__body { margin-top: clamp(48px, 5vw, 80px); display: grid; grid-template-columns: 1fr clamp(220px, 20vw, 320px); gap: clamp(32px, 5vw, 96px); align-items: start; }
.services__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 3vw, 56px); }
.service {
  position: relative; display: grid; grid-template-columns: 2.2em clamp(48px, 4.4vw, 68px) 1fr; align-items: center; column-gap: clamp(10px, 1.2vw, 18px); row-gap: 4px;
  padding: clamp(14px, 1.4vw, 22px) 12px clamp(14px, 1.4vw, 22px) 0; border-top: 1px solid var(--line); cursor: default;
}
.service::before { content: ""; position: absolute; inset: 0 0 0 -12px; background: var(--cobalt); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease); z-index: -1; }
.service__num { font-family: var(--f-display); font-weight: 600; font-size: 12px; color: var(--cobalt); transition: color .4s; grid-row: span 2; }
.service__icon { grid-row: span 2; width: 100%; height: auto; transition: transform .7s var(--ease); }
.service:hover .service__icon { transform: rotate(-12deg) scale(1.12); }
.service__name { align-self: end; }
a.service__name { color: inherit; }
.service { cursor: pointer; }
.service__name { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; font-size: clamp(.86rem, 1.28vw, 1.5rem); line-height: 1; letter-spacing: -.03em; white-space: nowrap; transition: transform .6s var(--ease), color .4s; }
.service__desc { grid-column: 3; align-self: start; color: var(--ink-soft); font-size: 13px; transition: color .4s; }
.service:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.service:hover::before { transform: scaleY(1); transform-origin: 50% 0; }
.service:hover .service__name { transform: translateX(.3em); color: var(--white); }
.service:hover .service__desc { transform: translateX(.3em); }
.service__desc { transition: transform .6s var(--ease), color .4s; }
.service:hover .service__num, .service:hover .service__desc { color: var(--white); }
.service:hover { z-index: 1; }

/* Aside is exactly as tall as the list: the preview fills the top, and the
   button + tagline sit on the list's bottom line. */
.services__body { align-items: stretch; }
.services__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-height: 0; }
.peek { position: relative; width: 100%; flex: 1 1 0; min-height: 160px; display: grid; place-items: center start; }
.services__aside .label { line-height: 1; }
.badge { position: relative; width: clamp(160px, 15vw, 220px); aspect-ratio: 1; transition: opacity .4s var(--ease), transform .6s var(--ease); }
.peek__frame { position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .4s var(--ease), transform .6s var(--ease); pointer-events: none; }
.peek__frame img { max-width: 100%; max-height: 100%; min-height: 0; flex: none; width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .45); }
.peek.is-on .badge { opacity: 0; transform: scale(.85); }
.peek.is-on .peek__frame { opacity: 1; transform: none; }
.badge__ring { width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge__ring text { font-family: var(--f-display); font-weight: 500; font-size: 10.5px; letter-spacing: .04em; fill: var(--ink); }
.badge__star { position: absolute; inset: 34%; width: 32%; height: 32%; color: var(--cobalt); }
@keyframes spin { to { transform: rotate(360deg); } }
.services__flex { color: var(--ink-soft); max-width: 20em; }
.services__tag { color: var(--ink-soft); }
.services__tag svg { width: 14px; height: 14px; }


/* ---------- WORK ---------- */
.work { padding: clamp(56px, 6vw, 96px) 0 var(--section); }
.work__pin { display: flex; flex-direction: column; }
.work__head { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 96px); align-items: end; padding: 0 var(--side); }
.work__side { display: grid; gap: 18px; justify-items: end; text-align: right; }
.work__title { font-size: clamp(2.2rem, 4.4vw, 5rem); line-height: .9; }
.work__title span { display: block; white-space: nowrap; }
.work__titles .kicker { margin-bottom: 18px; }
.work__intro { max-width: 42em; color: var(--ink-soft); font-size: 14px; text-wrap: balance; }
.filters { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px clamp(18px, 2.2vw, 34px); white-space: nowrap; padding-top: clamp(14px, 1.6vw, 22px); border-top: 1px solid var(--line); }
.filter { font-family: var(--f-display); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); padding: 3px 0; position: relative; transition: color .3s; }
.filter::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--cobalt); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--ease); }
.filter:hover, .filter.is-active { color: var(--ink); }
.filter.is-active::after { transform: scaleX(1); transform-origin: 0 50%; }

/* One row of work; the tabs above show all of it or one category */
.work__viewport { margin-top: clamp(22px, 2.2vw, 32px); overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain; }
.work__viewport::-webkit-scrollbar { display: none; }
.work__viewport.is-dragging { cursor: grabbing; user-select: none; }
.work__viewport.is-dragging .card { pointer-events: none; }
.work__track { --h: min(42vh, 460px); display: flex; gap: clamp(12px, 1.2vw, 20px); padding: 0 var(--side); width: max-content; }
.work__controls { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 24px); padding: clamp(16px, 1.6vw, 24px) var(--side) 0; }
.work__progress { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.work__progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; background: var(--cobalt); transform-origin: 0 50%; }
.work__arrow { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.2px var(--ink); transition: background .3s, color .3s, box-shadow .3s, opacity .3s; }
.work__arrow svg { width: 20px; height: 20px; }
.work__arrow--prev svg { transform: rotate(180deg); }
.work__arrow:hover { background: var(--cobalt); color: var(--white); box-shadow: inset 0 0 0 1.2px var(--cobalt); }
.work__arrow:disabled { opacity: .3; pointer-events: none; }

.card { position: relative; display: flex; flex-direction: column; flex: none; text-align: left; }
.card.is-filtered { display: none; }
/* Each card takes its cover image's own proportions, so nothing is cropped */
.card__media { position: relative; display: block; height: var(--h); overflow: hidden; border-radius: 6px; background: var(--paper-2); }
.card__media img { display: block; height: 100%; width: auto; transition: transform 1.2s var(--ease); will-change: transform; }
.card:hover .card__media img { transform: scale(1.04); }
/* Website card: framed as a browser window so the off-white screenshot stands apart from the page */
.card--browser .card__media { box-sizing: border-box; padding-top: 24px; border: 1px solid var(--line); background: var(--paper-2); }
.card--browser .card__media::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 24px; z-index: 1; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.card--browser .card__media::before { content: ''; position: absolute; z-index: 2; top: 8px; left: 11px; width: 7px; height: 7px; border-radius: 50%; background: rgba(22, 22, 22, .2); box-shadow: 12px 0 rgba(22, 22, 22, .2), 24px 0 rgba(22, 22, 22, .2); }
.card__meta { padding-top: 12px; width: 0; min-width: 100%; }
.card__title { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: clamp(.95rem, 1.1vw, 1.15rem); line-height: 1.1; letter-spacing: -.02em; transition: color .3s; }
.card:hover .card__title { color: var(--cobalt); }
/* featured card that opens a full case study */
.card__case { position: absolute; top: 16px; left: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: var(--cobalt); color: var(--white); font-family: var(--f-display); font-weight: 500; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.card__case svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.card:hover .card__case svg { transform: translateX(3px); }


/* ---------- BRIEF ---------- */
.brief { background: var(--cobalt); color: var(--white); padding: calc(var(--header-h) + 3vh) var(--side) 5vh; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.brief__inner { width: 100%; }
.brief__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; mix-blend-mode: luminosity; }
.brief__inner { position: relative; }
.brief__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(20px, 2.4vw, 36px); }
.brief .kicker { margin-bottom: 14px; }
.brief__title { margin-top: 0; font-size: clamp(1.9rem, 3.4vw, 3.9rem); }
.contact-list { margin-top: 0; display: grid; gap: 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.contact-list a {
  position: relative; padding: 2px 6px; margin: -2px -6px; border-radius: 3px;
  background: linear-gradient(var(--cobalt), var(--cobalt)) 0 0 / 0 100% no-repeat;
  transition: background-size .45s var(--ease), color .3s var(--ease);
}
.contact-list a:hover, .contact-list a:focus-visible { background-size: 100% 100%; color: var(--white); }
.brief .contact-list a { background-image: linear-gradient(var(--white), var(--white)); }
.brief .contact-list a:hover, .brief .contact-list a:focus-visible { color: var(--cobalt); }
.brief .u-label::after { background: var(--white); }

.form { background: var(--paper); color: var(--ink); border-radius: 8px; padding: clamp(22px, 2.4vw, 38px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(16px, 1.6vw, 24px) clamp(32px, 4.5vw, 80px); box-shadow: 0 40px 100px -40px rgba(0, 0, 40, .6); position: relative; }
.form__col { display: grid; gap: clamp(14px, 1.4vw, 20px); align-content: start; }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field__label { font-family: var(--f-display); font-weight: 500; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; padding: 0; }
.field__label small { font-family: var(--f-text); font-weight: 300; letter-spacing: .04em; text-transform: none; font-size: 12px; color: var(--ink-soft); }
.field input, .field textarea {
  font: inherit; font-size: 15px; color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid var(--line);
  padding: 7px 0; border-radius: 0; outline: none; transition: border-color .3s; resize: vertical; width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: var(--mute); }
.field input:focus, .field textarea:focus { border-color: var(--cobalt); }
.field.is-error input { border-color: #D0102A; }
.field.is-error .field__label { color: #D0102A; }
.field--chips textarea { margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 12.5px; font-weight: 400; padding: 7px 13px; border-radius: 999px; box-shadow: inset 0 0 0 1.2px var(--line);
  transition: background .3s var(--ease), color .3s, box-shadow .3s, transform .4s var(--ease);
}
.chip:hover { box-shadow: inset 0 0 0 1.2px var(--ink); }
.chip[aria-pressed="true"] { background: var(--cobalt); color: var(--white); box-shadow: inset 0 0 0 1.2px var(--cobalt); }
.form__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: clamp(14px, 1.4vw, 20px); border-top: 1px solid var(--line); }
.form__status { font-size: 13px; color: #D0102A; flex: 1; text-align: right; }
.form__note { font-size: 22px; transform: rotate(-5deg); }
.form__done { grid-column: 1 / -1; display: grid; gap: 16px; justify-items: start; padding: 20px 0; }
.form__done[hidden] { display: none; }
.form__done-star { width: 54px; height: 54px; color: var(--cobalt); }
.form__done-title { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.1; letter-spacing: -.02em; }
.form__done-text { color: var(--ink-soft); }
.form__done-text a { color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; }
.form__done-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.form.is-sent > :not(.form__done) { display: none; }

/* ---------- FOOTER ---------- */
.footer { padding: clamp(80px, 10vw, 160px) var(--side) 28px; }
.footer__big { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; font-size: clamp(4.4rem, 21vw, 24rem); line-height: .8; letter-spacing: -.05em; margin-left: -.05em; }
.footer__thank, .footer__you { overflow: hidden; padding-bottom: .04em; }
.footer__thank span, .footer__you span { display: inline-block; will-change: transform; }
.footer__you { color: var(--cobalt); display: flex; align-items: center; gap: .1em; overflow: visible; }
.footer__stars { width: clamp(100px, 18vw, 300px); }
.contact-list--ink { margin-top: 0; }
.footer__grid { margin-top: clamp(56px, 7vw, 110px); display: grid; grid-template-columns: 1fr auto auto; gap: clamp(32px, 5vw, 96px); align-items: center; }
.footer__based { display: flex; align-items: center; gap: 18px; }
.footer__globe { width: 64px; height: 40px; flex: none; }
.footer__based p { font-family: var(--f-display); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.5; }
.socials { display: flex; gap: 14px; }
.socials a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.2px var(--line); transition: background .3s, color .3s, box-shadow .3s; }
.socials a:hover { background: var(--cobalt); color: var(--white); box-shadow: inset 0 0 0 1.2px var(--cobalt); }
.socials svg { width: 22px; height: 22px; }
.footer__bar { margin-top: clamp(48px, 6vw, 96px); padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 20px; justify-content: space-between; font-size: 12px; color: var(--ink-soft); }
.footer__icon { width: 46px; height: 31px; fill: var(--ink); }
.to-top { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.to-top svg { width: 22px; height: 22px; color: var(--cobalt); transition: transform .8s var(--ease); }
.to-top:hover svg { transform: rotate(180deg); }

/* ---------- LIGHTBOX ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(12, 12, 14, .96); color: var(--white); display: grid; grid-template-rows: auto 1fr auto; padding: 20px var(--side); }
.lightbox[hidden] { display: none; }
.lightbox__top, .lightbox__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.lightbox__cat { color: rgba(255, 255, 255, .6); }
.lightbox__title { font-family: var(--f-display); font-weight: 500; text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(1.2rem, 2.4vw, 2.2rem); margin-top: 4px; }
.lightbox__close { width: 52px; height: 52px; border-radius: 50%; box-shadow: inset 0 0 0 1.2px rgba(255, 255, 255, .35); display: grid; place-items: center; }
.lightbox__close svg { width: 22px; height: 22px; transform: rotate(45deg); }
.lightbox__stage { position: relative; min-height: 0; }
/* the whole image always fits on screen, whatever its shape */
.lightbox__img { position: absolute; inset: 16px 0; width: 100%; height: calc(100% - 32px); object-fit: contain; }
.lightbox__desc { max-width: 40em; color: rgba(255, 255, 255, .78); font-size: 14px; }
.lightbox__nav { display: flex; align-items: center; gap: 18px; font-family: var(--f-display); font-size: 12px; letter-spacing: .1em; flex: none; }
.lightbox__nav button { width: 48px; height: 48px; border-radius: 50%; background: var(--cobalt); display: grid; place-items: center; }
.lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__prev svg { transform: rotate(180deg); }

/* ---------- Initial states (JS only) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); }
.js.no-motion [data-reveal] { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .header__nav { display: none; }
  .header__cta { margin-left: auto; }
  .burger { display: block; margin-left: 4px; }
  .services__body { grid-template-columns: 1fr; }
  .services__aside { display: grid; grid-template-columns: auto 1fr; align-items: center; }
  .services__aside .peek { flex: none; width: auto; min-height: 0; }
  .services__aside .badge { grid-row: span 3; }
  .work__head { grid-template-columns: 1fr; align-items: start; }
  .work__side { justify-items: start; text-align: left; }
  .filters { gap: 6px 18px; }
  .about { grid-template-columns: 1fr; min-height: 0; }
  .collage { height: clamp(560px, 92vw, 820px); }
}

@media (min-width: 901px) and (max-width: 1240px) {
  .hero__portrait { width: 60vw; right: -10vw; }
  .hero__statement h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .header__logo { width: 128px; }
  .header__cta { display: none; }
  .burger { margin-left: auto; }

  .hero { padding-top: calc(var(--header-h) + 28px); padding-bottom: 0; align-items: start; display: flex; flex-direction: column; }
  .hero__content { max-width: none; width: 100%; }
  .hero__name-text { font-size: clamp(3.6rem, 23vw, 9rem); }
  .hero__statement { margin-top: clamp(110px, 30vw, 200px); }   /* room for the dashed line + cursor */
  .hero__media { position: relative; inset: auto; width: calc(100% + var(--side) * 2); margin: 24px calc(var(--side) * -1) 0; height: 92vw; max-height: 620px; }
  .hero__portrait { width: 100%; height: 100%; }
  .hero__portrait { right: 0; }
  .hero__stars { left: auto; right: 4%; top: 6%; width: 26vw; }
  .hero__content { order: 1; }
  .hero__media { order: 3; }
  .scroll-cue { display: none; }
  .hero { padding-bottom: var(--strip-h); }
  .hero__portrait { bottom: 0; }
  .hero__media { margin-bottom: 0; height: auto; aspect-ratio: 1358 / 970; margin-top: 28px; }
  .hero__portrait { width: 100%; max-height: none; bottom: 0; }
  /* One phone screen: text on top, the photo fills what's left, the blue bar sits on the bottom edge */
  .hero { height: auto; min-height: 100svh; }   /* never squeezes the text on very short phones */
  .hero__media { flex: 1 1 auto; min-height: 140px; aspect-ratio: auto; }
  .hero__img { object-position: 50% 100%; }
  .brief { min-height: 0; display: block; padding: var(--section) var(--side); }

  .collage { height: 168vw; --pw: 42%; }
  .pile--1 { left: 2%; top: 2%; }
  .pile--2 { left: 56%; top: 0; }
  .pile--3 { left: 4%; top: 36%; }
  .pile--4 { left: 54%; top: 38%; }
  .pile--5 { left: 29%; top: 70%; }
  .collage__hint { top: -4%; }
  .word { font-size: 16px; }
  .word--1 { left: 0; top: 31%; } .word--2 { left: auto; right: 0; top: 66%; } .word--4 { left: 0; right: auto; top: 95%; }
    .services__list { grid-template-columns: 1fr; }
  .service:nth-last-child(2) { border-bottom: 0; }
  .service { grid-template-columns: 2em 44px 1fr; }
  .preview { display: none; }

  .form { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; justify-items: start; }
  .footer__bar { flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .work__track { --h: 72vw; }
  .card__media { height: auto; }
  .card__media img { height: auto; max-height: var(--h); max-width: calc(100vw - var(--side) * 2); }
  .services__aside { grid-template-columns: 1fr; }
  .services__aside .badge { grid-row: auto; }
  .footer__bar p { order: 3; width: 100%; }
  .lightbox__bottom { flex-direction: column; align-items: flex-start; }

  /* ---- Phone rhythm: one consistent vertical spacing, no leftover desktop gaps ---- */
  :root { --section: 64px; }
  .kicker { margin-bottom: 16px; }

  .about { padding: var(--section) var(--side) 40px; gap: 44px; }
  .about__copy { margin-top: 20px; gap: 14px; font-size: 15px; }
  .about__lead { font-size: 1.12rem; line-height: 1.32; }
  .path { margin-top: 26px; }
  .path li { grid-template-columns: 5.2em 1fr; row-gap: 2px; padding: 11px 0; }
  .path__where { grid-column: 2; text-align: left; font-size: 12.5px; }
  .collage { height: 160vw; }

  .bridge { padding: 56px var(--side); }

  .services { padding: var(--section) var(--side); }
  .services__head { gap: 18px; }
  .services__note { font-size: 22px; margin: 0 0 6px; padding-right: 52px; }
  .services__note svg { right: 0; bottom: -40px; width: 38px; height: 46px; }
  .services__body { margin-top: 44px; }
  .services__aside { margin-top: 12px; grid-template-columns: 104px 1fr; column-gap: 20px; row-gap: 14px; align-items: center; justify-items: start; }
  .services__aside .peek { grid-row: span 1; }
  .services__aside .badge { width: 104px; grid-row: auto; }
  .services__flex { font-size: 14px; }
  .services__aside .pill, .services__tag { grid-column: 1 / -1; }

  .work { padding: var(--section) 0; }
  .work__head { gap: 18px; }
  .work__intro { font-size: 14px; }
  /* category tabs: one swipeable line instead of four wrapped rows */
  .filters { flex-wrap: nowrap; gap: 22px; overflow-x: auto; scrollbar-width: none; margin-right: calc(var(--side) * -1); padding-right: var(--side); padding-bottom: 4px; }
  .filters::-webkit-scrollbar { display: none; }
  .work__viewport { margin-top: 20px; }
  /* similar heights for wide and tall covers, so no big empty band under the wide ones */
  .work__track { --h: 50vw; gap: 12px; }
  .card--browser .card__media img { max-height: calc(var(--h) - 24px); }
  .card__title { font-size: 13px; }
  .work__controls { padding-top: 18px; }
  .work__arrow { width: 44px; height: 44px; }
  .work__arrow svg { width: 18px; height: 18px; }

  .brief { padding: var(--section) var(--side); }
  .form { padding: 28px 22px; row-gap: 30px; }
  .form__col { gap: 26px; }
  .field { gap: 8px; }
  .field--chips > .field__label { margin-bottom: 14px; }
  .field--chips .field__label small { display: block; margin-top: 6px; }
  .chips { gap: 10px 8px; }
  .form__foot { padding-top: 24px; gap: 22px; }

  .footer { padding-top: var(--section); }
  .footer__grid { margin-top: 44px; gap: 28px; }
  .footer__bar { margin-top: 40px; }

  /* ---- Phone type scale: one heading size, smaller text, so images carry the page ---- */
  body { font-size: 14px; line-height: 1.55; }
  .h-section, .about__title, .services__title, .work__title, .brief__title { font-size: 2rem; line-height: .95; }
  .hero__hi { font-size: 1.3rem; }
  .hero__name-text { font-size: 21vw; }
  .hero__statement h2 { font-size: 1.45rem; }
  .hand-ink { font-size: 17px; }
  .smiley { width: 28px; }
  .about__copy { font-size: 14px; }
  .about__lead { font-size: 1rem; line-height: 1.35; }
  .about__lead br { display: none; }
  .about__lead .lead-l { display: block; text-wrap: balance; }   /* three clean lines, no ragged breaks */
  .path li { font-size: 12px; padding: 10px 0; }
  .path__what { font-size: 10.5px; }
  .path__where { font-size: 12px; }
  .word, .collage__hint { font-size: 15px; }
  .bridge__a { font-size: 1.15rem; }
  .bridge__b { font-size: 1.75rem; }
  .services__note { font-size: 19px; }
  .service { grid-template-columns: 1.8em 38px 1fr; column-gap: 12px; padding: 13px 0; }
  .service__name { font-size: .9rem; }
  .service__desc { font-size: 12.5px; line-height: 1.45; }
  .services__flex { font-size: 13px; }
  .badge { width: 92px; } .services__aside .badge { width: 92px; } .services__aside { grid-template-columns: 92px 1fr; }
  .pill { padding: 14px 22px; font-size: 12px; gap: 10px; }
  .pill svg { width: 16px; height: 16px; }
  .work__intro { font-size: 13px; }
  .filter { font-size: 10.5px; }
  .contact-list { font-size: 12px; gap: 10px; }
  .field input, .field textarea { font-size: 14px; }
  .chip { font-size: 12px; padding: 6px 12px; }
  .footer__big { font-size: 18vw; }
  .footer__stars { width: 80px; }
  .hero { --strip-h: 46px; }
  .band { height: 46px; }
  .band .marquee__track, .hero__strip .marquee__track { font-size: .85rem; }
  /* stars ride just above-right of her head (photo is 71.4% as tall as it is wide, anchored to the bottom) */
  .hero__stars { top: auto; bottom: min(52.8vw, 72%); right: 7%; width: 20vw; }
  /* Balance the first screen: the photo keeps its natural size (shrinks only on short phones),
     and any spare height is split evenly above and below the text instead of piling up in one gap */
  .hero { height: 100svh; min-height: 560px; }
  .hero__content { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; }
  .hero__media { flex: 0 1 auto; aspect-ratio: 1358 / 970; min-height: 150px; margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
