/* =====================================================================
   style.css
   Colours and sizes you might want to tune are the variables just below.
   Fonts live in fonts.css.
   ===================================================================== */

:root {
  --yellow: #FFF56F;   /* the yellow of the PDF slides */
  --ink:    #1F1E1C;   /* the warm black of the PDF cover */
  --cream:  #F4EEE4;   /* photo pages */
  --paper:  #E5E6E0;   /* design pages */
  --red:    #C8102E;

  --pad: clamp(14px, 1.7vw, 24px);     /* page side padding */
  --gap: clamp(8px, 1vw, 14px);        /* space between images */
  --radius: 6px;
  --label: 500 10.5px/1.2 var(--font-sans);
}

/* page themes: set on <body data-theme="..."> by app.js */
body[data-theme="dark"]   { --bg: var(--ink);    --fg: var(--cream); --muted: rgba(244,238,228,.58); --line: rgba(244,238,228,.2); }
body[data-theme="cream"]  { --bg: var(--cream);  --fg: var(--ink);   --muted: rgba(31,30,28,.58);    --line: rgba(31,30,28,.22); }
body[data-theme="paper"]  { --bg: var(--paper);  --fg: var(--ink);   --muted: rgba(31,30,28,.58);    --line: rgba(31,30,28,.22); }
body[data-theme="yellow"] { --bg: var(--yellow); --fg: var(--ink);   --muted: rgba(31,30,28,.62);    --line: rgba(31,30,28,.9); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.no-scroll { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg); color: var(--fg);
  font: 400 16px/1.45 var(--font-sans);
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
h1, h2, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
main:focus { outline: none; }
main { overflow-x: clip; }
::selection { background: var(--yellow); color: var(--ink); }

.hand { font-family: var(--font-hand); font-weight: 400; font-style: italic; letter-spacing: 0; text-transform: uppercase; }
.skip { position: fixed; left: 8px; top: -60px; z-index: 200; background: var(--ink); color: var(--yellow); padding: 10px 14px; border-radius: var(--radius); font: var(--label); text-transform: uppercase; }
.skip:focus { top: 8px; }

main.is-in { animation: page-in .4s ease both; }
@keyframes page-in { from { opacity: 0; } }

/* ---------------------------------------------------------------------
   Header: boxed tabs (fixed) + roles line (scrolls away)
   --------------------------------------------------------------------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 60; color: var(--ink); --under: 236,236,231;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), color .35s ease, background-color .35s ease; }
.top.on-dark { color: var(--cream); }
.top.is-solid { background: rgba(var(--under), .9); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.top.is-hidden { transform: translateY(-100%); }
.top__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 56px; padding: 0 var(--pad); }
.top__name { justify-self: start; font-weight: 700; font-size: 15px; letter-spacing: -.035em; white-space: nowrap; }
.top__name sup { font-weight: 400; font-size: .55em; margin-left: .1em; }
.top__links { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.top__links a, .top__cv, .top__menu { position: relative; font-size: 14px; font-weight: 500; letter-spacing: -.02em; opacity: .5; transition: opacity .2s ease; }
.top__links a:hover, .top__links a.is-active, .top__cv:hover, .top__menu:hover { opacity: 1; }
.top__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.top__links a.is-active::after { transform: scaleX(1); }
.top__end { justify-self: end; display: flex; align-items: center; gap: 24px; }
.top__roles { font-size: 12px; opacity: .5; white-space: nowrap; }
.top__menu { display: none; opacity: 1; }

/* phone menu */
.menu { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: space-between; padding: 96px var(--pad) 28px; background: var(--yellow); color: var(--ink); animation: page-in .25s ease both; }
.menu[hidden] { display: none; }
.menu__links a { display: block; padding: 4px 0; font-weight: 700; font-size: clamp(46px, 15vw, 72px); line-height: 1; letter-spacing: -.06em; }
.menu__links a.is-active { font-family: var(--font-hand); font-weight: 400; font-style: italic; letter-spacing: 0; text-transform: uppercase; transform: rotate(-3deg); transform-origin: left; }
.menu__foot { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
html.menu-open .top { color: var(--ink); background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }

/* custom cursor (mouse only) */
html.has-cursor, html.has-cursor * { cursor: none !important; }
.cursor { position: fixed; left: 0; top: 0; z-index: 300; width: 0; height: 0; pointer-events: none; color: var(--cream); opacity: 0; transition: opacity .2s ease, color .25s ease; filter: drop-shadow(0 0 1px rgba(0,0,0,.25)); }
.cursor.on-light { color: var(--ink); filter: none; }
.cursor.is-on { opacity: 1; }
.cursor svg { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; animation: cursor-spin 9s linear infinite; transition: width .3s cubic-bezier(.2,.7,.2,1), height .3s cubic-bezier(.2,.7,.2,1), left .3s cubic-bezier(.2,.7,.2,1), top .3s cubic-bezier(.2,.7,.2,1); }
.cursor.is-hover svg { left: -17px; top: -17px; width: 34px; height: 34px; opacity: .75; animation-duration: 3s; }
.cursor.is-down svg { left: -8px; top: -8px; width: 16px; height: 16px; }
@keyframes cursor-spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px var(--pad) 20px; font-size: 11px; color: var(--muted); background: var(--bg); }
.foot a:hover { color: var(--fg); }
body[data-page="work"] .foot { padding-bottom: 64px; }   /* room for the Overview / Index switch */

/* ---------------------------------------------------------------------
   Buttons
   --------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: .3em; padding: 13px 18px 12px; border-radius: 999px; background: var(--ink); color: var(--yellow); border: 1.5px solid var(--ink); font: var(--label); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.btn:hover { background: transparent; color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--yellow); }
.btn[hidden] { display: none; }

/* ---------------------------------------------------------------------
   WORK: slideshow
   --------------------------------------------------------------------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 420px; overflow: hidden; background: #000; color: var(--cream); }
.hero__slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s 1.1s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.1s ease; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.28) 30%, rgba(0,0,0,0) 55%), linear-gradient(to bottom, rgba(0,0,0,.3), rgba(0,0,0,0) 22%); }
.hero.is-playing .slide.is-active img { animation: drift var(--slide-time, 6s) linear both; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.05); } }

.hero__caption { position: absolute; z-index: 2; right: var(--pad); bottom: 70px; text-align: right; text-transform: uppercase; font-size: clamp(20px, 2.7vw, 40px); line-height: 1.05; letter-spacing: -.03em; }
.hero__caption strong, .hero__caption span { display: block; }
.hero__caption strong { font-weight: 700; }
.hero__caption:hover span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .12em; }
.hero__caption[hidden] { display: none; }

.hero__controls { position: absolute; z-index: 2; left: var(--pad); bottom: 14px; display: flex; align-items: baseline; }
.hero__nums { display: flex; }
.hero__num { min-width: clamp(44px, 5.2vw, 78px); padding: 10px 0; text-align: left; font-weight: 700; font-size: clamp(22px, 2.4vw, 35px); color: rgba(244,238,228,.42); }
.hero__num:hover, .hero__num.is-active { color: var(--cream); }
.hero__pause { font: var(--label); letter-spacing: .04em; text-transform: uppercase; color: rgba(244,238,228,.6); padding: 12px 8px; }
.hero__pause:hover { color: var(--cream); }

.hero__bar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(244,238,228,.16); }
.hero__bar i { display: block; height: 100%; width: 0; background: var(--yellow); }
.hero.is-playing .hero__bar i { animation: fill var(--slide-time, 6s) linear both; }
@keyframes fill { to { width: 100%; } }

/* Overview / Index switch */
.viewtoggle { position: fixed; z-index: 55; right: var(--pad); bottom: 12px; display: flex; gap: 16px; padding: 2px 16px; border-radius: 999px; color: var(--ink); --under: 236,236,231; background: rgba(var(--under), .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: color .35s ease, background-color .35s ease; }
.viewtoggle.on-dark { color: var(--cream); }
.viewtoggle button { position: relative; padding: 8px 0; font-size: 14px; font-weight: 500; letter-spacing: -.02em; opacity: .5; transition: opacity .2s ease; }
.viewtoggle button:hover, .viewtoggle button.is-active { opacity: 1; }
.viewtoggle button.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1.5px; background: currentColor; }

/* ---------------------------------------------------------------------
   WORK: index list
   --------------------------------------------------------------------- */
.index { padding: clamp(64px, 9vw, 130px) 0 clamp(40px, 6vw, 90px); }
.index--solo { padding-top: 110px; }
.index__title { font: var(--label); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 0 var(--pad) 14px; }
.index__list { border-bottom: 1px solid var(--line); }
.irow { display: grid; grid-template-columns: clamp(44px, 5vw, 80px) minmax(0, 2.6fr) minmax(0, 1fr) minmax(0, 1.5fr) 48px; column-gap: 16px; align-items: baseline; padding: clamp(12px, 1.5vw, 22px) var(--pad); border-top: 1px solid var(--line); font-size: 13px; }
.irow__n { font-size: clamp(26px, 3vw, 46px); line-height: 1; color: var(--muted); transform: rotate(-4deg); transform-origin: left bottom; }
.irow__title { font-weight: 700; font-size: clamp(30px, 5vw, 76px); line-height: .98; letter-spacing: -.05em; }
.irow__year { text-align: right; font-variant-numeric: tabular-nums; }
.irow__thumb { display: none; }
.irow:hover, .irow:focus-visible { background: var(--yellow); color: var(--ink); outline: none; }
.irow:hover .irow__n, .irow:focus-visible .irow__n { color: var(--ink); }

.peek { position: fixed; z-index: 50; left: 0; top: 0; width: min(25vw, 380px); aspect-ratio: 4 / 5; margin: -18vh 0 0 28px; border-radius: var(--radius); overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .18s ease; background: var(--ink); }
.peek.is-on { opacity: 1; }
.peek img { width: 100%; height: 100%; object-fit: cover; }

.nocover { display: grid; place-items: center; width: 100%; height: 100%; padding: 8%; background: var(--yellow); color: var(--ink); text-align: center; }
.nocover .hand { font-size: clamp(30px, 4.6vw, 76px); line-height: .9; transform: rotate(-4deg); }

/* ---------------------------------------------------------------------
   PROJECT: yellow header panel (the PDF title slide)
   --------------------------------------------------------------------- */
.phead { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding-top: 58px; background: var(--yellow); color: var(--ink); }
.meta__row { display: grid; grid-template-columns: 1fr 1fr; align-items: baseline; padding: 9px var(--pad) 8px; border-bottom: 1.5px solid var(--ink); }
.meta dt { font-weight: 500; font-size: clamp(15px, 1.55vw, 23px); letter-spacing: -.03em; text-transform: uppercase; }
.meta dd { font-size: clamp(13px, 1vw, 15px); }
.phead__body { margin-top: auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; align-items: end; padding: 14vh var(--pad) clamp(22px, 2.4vw, 36px); }
.phead__title { grid-column: 1 / -1; font-weight: 700; font-size: clamp(42px, 6.4vw, 108px); line-height: .95; letter-spacing: -.055em; margin-bottom: clamp(16px, 1.6vw, 26px); }
.phead__desc { max-width: 64ch; font-size: clamp(14px, 1.05vw, 16px); line-height: 1.42; }
.phead__desc p + p { margin-top: .7em; }
.phead__desc .btn { margin-top: 22px; }
.phead__num { font-size: clamp(76px, 9vw, 150px); line-height: .7; transform: rotate(-5deg); }

/* ---------------------------------------------------------------------
   PROJECT: blocks
   --------------------------------------------------------------------- */
.blocks { display: flex; flex-direction: column; gap: var(--gap); padding: var(--gap); background: var(--bg); color: var(--fg); }
.fig { min-width: 0; }
.zoom { display: block; width: 100%; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; background: color-mix(in srgb, var(--fg) 7%, transparent); }
.zoom img { width: 100%; height: auto; opacity: 0; transition: opacity .5s ease; }
.zoom img.is-loaded { opacity: 1; }
figcaption, .videocap { margin-top: 8px; padding: 0 2px; font-size: 12px; color: var(--muted); }

.block--image.is-narrow, .block--row.is-narrow { width: min(100%, 980px); margin-inline: auto; }
.block--row { display: flex; gap: var(--gap); align-items: flex-start; }
.block--row > .fig { flex: var(--r, 1) 1 0%; }

.slot { display: grid; place-items: center; border: 1px dashed var(--line); border-radius: var(--radius); }
.slot span { font-family: var(--font-hand); font-style: italic; text-transform: uppercase; font-size: clamp(26px, 3vw, 44px); color: var(--muted); transform: rotate(-4deg); }

.block--text { width: min(100%, 68ch); margin: clamp(20px, 3vw, 48px) auto; padding: 0 6px; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.5; }
.block--text p + p { margin-top: .8em; }
.block--heading { margin: clamp(28px, 4vw, 64px) 4px 0; }
.block--heading.hand { font-size: clamp(68px, 10vw, 170px); line-height: .85; transform: rotate(-3deg); transform-origin: left bottom; }
/* chapter title inside a project: same voice as the Client / Year rows */
.block--heading.is-section { width: min(100%, 68ch); margin: clamp(26px, 3.4vw, 54px) auto 4px; padding: 10px 6px 0; border-top: 1.5px solid currentColor; font-weight: 500; font-size: clamp(15px, 1.55vw, 23px); line-height: 1.2; letter-spacing: -.03em; text-transform: uppercase; }
.block--heading.is-section + .block--text { margin-top: 6px; }
.block--heading.is-block { font-weight: 700; font-size: clamp(46px, 9.4vw, 160px); line-height: .84; letter-spacing: -.055em; text-transform: uppercase; }
.block--quote { width: min(100%, 22em); margin: clamp(40px, 7vw, 120px) auto; padding: 0 6px; text-align: center; font-weight: 700; font-size: clamp(24px, 3.3vw, 50px); line-height: 1.06; letter-spacing: -.045em; }
.fig--video { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; }
.fig--video video, .fig--video iframe { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.fig--video figcaption { position: absolute; left: 10px; bottom: 8px; margin: 0; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
.vwrap { position: relative; width: 100%; height: 100%; }
.vbtn { position: absolute; right: 10px; top: 10px; padding: 7px 12px 6px; border-radius: 999px; background: rgba(20,20,18,.55); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: var(--label); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; opacity: 0; transition: opacity .2s ease, background-color .2s ease; }
.vwrap:hover .vbtn, .vbtn:focus-visible, .vbtn--enlarge { opacity: 1; }
.vbtn--sound { top: auto; bottom: 10px; opacity: 1; }
@media (hover: none) { .vbtn { opacity: 1; } }
.vbtn:hover { background: rgba(20,20,18,.85); }
.vwrap video[loop] { cursor: zoom-in; }
/* big video viewer: the video keeps its own shape */
.lb--video { background: #121210; }
.lb--video .lb__stage { grid-column: 1 / -1; padding: 0 var(--pad) var(--pad); }
.lb--video .vbig { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto; background: #000; border-radius: var(--radius); }
video:fullscreen { object-fit: contain; background: #000; }
video:-webkit-full-screen { object-fit: contain; background: #000; }
.block--image.is-logo { width: min(70%, 520px); margin: clamp(24px, 5vw, 80px) auto; }
.fig--logo img { display: block; width: 100%; height: auto; }
.block--image.is-logo img { max-height: 46vh; width: auto; max-width: 100%; margin: 0 auto; }
.block--row > .fig--logo { align-self: center; padding: 0 clamp(8px, 2vw, 32px); }

/* next project */
.next { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 76vh; min-height: 76svh; padding: var(--pad); overflow: hidden; background: var(--ink); color: var(--cream); }
.next__bg { position: absolute; inset: 0; opacity: .5; transition: opacity .5s ease, transform 1.2s cubic-bezier(.2,.6,.2,1); }
.next__bg img { width: 100%; height: 100%; object-fit: cover; }
.next__bg .nocover { display: none; }
.next:hover .next__bg, .next:focus-visible .next__bg { opacity: .82; transform: scale(1.035); }
.next__label, .next__title, .next__meta { position: relative; }
.next__label { font: var(--label); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.next__title { font-weight: 700; font-size: clamp(46px, 9vw, 150px); line-height: .92; letter-spacing: -.06em; margin: 10px 0 12px; }
.next__meta { font-size: 13px; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 100; display: grid; grid-template: auto minmax(0, 1fr) auto / 56px minmax(0, 1fr) 56px; background: rgba(24, 23, 21, .97); color: var(--cream); animation: page-in .2s ease both; }
.lb__close { grid-column: 1 / -1; justify-self: end; padding: 18px var(--pad); font: var(--label); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.lb__stage { grid-column: 2; grid-row: 2; position: relative; min-height: 0; cursor: zoom-out; }
.lb__stage img { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto; cursor: default; }
.lb__nav { grid-row: 2; font-size: 22px; }
.lb__prev { grid-column: 1; } .lb__next { grid-column: 3; }
.lb__cap { grid-column: 1 / -1; padding: 14px var(--pad) 18px; text-align: center; font-size: 12px; color: rgba(244,238,228,.7); white-space: pre-wrap; }

/* ---------------------------------------------------------------------
   ARCHIVE
   --------------------------------------------------------------------- */
.page { padding: clamp(110px, 13vw, 190px) var(--pad) clamp(40px, 6vw, 90px); }
.page__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 48px); }
.page__title { font-weight: 700; font-size: clamp(56px, 11vw, 190px); line-height: .85; letter-spacing: -.065em; }
.page__intro { font-size: 14px; color: var(--muted); max-width: 32ch; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 56px) var(--gap); }
.card { display: block; }
.card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: color-mix(in srgb, var(--fg) 7%, transparent); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.6,.2,1); }
.card:hover .card__img img, .card:focus-visible .card__img img { transform: scale(1.04); }
.card__title { display: block; margin-top: 12px; font-weight: 700; font-size: clamp(22px, 2.5vw, 38px); line-height: 1; letter-spacing: -.045em; }
.card__meta { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }

/* Photography strip on the Archive page */
.photo { padding: clamp(30px, 5vw, 80px) 0 clamp(50px, 7vw, 110px); overflow: hidden; }
.photo__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 14px var(--pad) 0; margin: 0 var(--pad) clamp(20px, 2.6vw, 40px); border-top: 1.5px solid var(--ink); padding-left: 0; padding-right: 0; }
.photo__title { font-weight: 700; font-size: clamp(34px, 5vw, 84px); line-height: .9; letter-spacing: -.06em; }
.photo__row { overflow: hidden; }
.photo__row + .photo__row { margin-top: var(--gap); }
.photo__track { display: flex; width: max-content; animation: photo-drift var(--dur, 60s) linear infinite; }
.photo__track.is-reverse { animation-direction: reverse; }
.photo__row:hover .photo__track { animation-play-state: paused; }
.photo__set { display: flex; gap: var(--gap); padding-right: var(--gap); }
.photo__set li { position: relative; height: clamp(200px, 30vh, 340px); width: calc(clamp(200px, 30vh, 340px) * var(--r, 1)); }
.photo__set button { display: block; width: 100%; height: 100%; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; background: color-mix(in srgb, var(--fg) 7%, transparent); }
.photo__set img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.photo__set button:hover img { transform: scale(1.04); }
.photo__cap { position: absolute; left: 8px; bottom: 7px; color: #fff; font-size: 11px; text-shadow: 0 1px 6px rgba(0,0,0,.5); pointer-events: none; }
@keyframes photo-drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .photo__row { overflow-x: auto; }
  .photo__set[aria-hidden] { display: none; }
}

/* ---------------------------------------------------------------------
   ABOUT
   --------------------------------------------------------------------- */
.about__who, .about__approach { display: grid; align-items: center; gap: clamp(24px, 6vw, 110px); padding: clamp(40px, 6vw, 100px) var(--pad); }
.about__who { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); padding-top: clamp(110px, 12vw, 170px); }
.about__approach { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.about__h { font-size: clamp(84px, 11vw, 190px); line-height: .82; transform: rotate(-4deg); transform-origin: left bottom; margin-bottom: clamp(20px, 2.4vw, 40px); }
.about__text p { max-width: 46ch; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.42; }
.about__text p + p { margin-top: .8em; }
.about__text .btn { margin-top: 28px; }
.about__img img { width: 100%; height: auto; }
.about__who .about__img img { aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 38%; }

.process { padding: clamp(40px, 6vw, 100px) var(--pad) clamp(60px, 8vw, 130px); }
.process__h { margin-bottom: clamp(28px, 3.4vw, 56px); }
.process__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.process__list li { padding: 30px 18px 12px; }
.process__list li + li { padding-left: 18px; border-left: 1.5px solid var(--ink); }
.process__n { display: block; font-size: clamp(54px, 6vw, 96px); line-height: .8; margin-bottom: 18px; transform: rotate(-4deg); transform-origin: left bottom; }
.process__list h3 { margin: 0 0 6px; font-weight: 700; font-size: clamp(17px, 1.5vw, 22px); letter-spacing: -.035em; }
.process__list p { font-size: 14px; line-height: 1.4; max-width: 24ch; }
.process__list li { transition: opacity .3s ease, background-color .3s ease, color .3s ease; }
.process__n, .process__list h3 { transition: transform .45s cubic-bezier(.2,.7,.2,1); transform-origin: left bottom; }
@media (hover: hover) {
  .process__list:hover li { opacity: .35; }
  .process__list li:hover { opacity: 1; background: var(--ink); color: var(--yellow); }
  .process__list li:hover .process__n { transform: rotate(-4deg) scale(1.2); }
  .process__list li:hover h3 { transform: scale(1.12); }
  .what__list li { transition: opacity .3s ease, transform .45s cubic-bezier(.2,.7,.2,1), color .3s ease; transform-origin: left center; }
  .what__list:hover li { opacity: .3; }
  .what__list li:hover { opacity: 1; color: #fff; transform: scale(1.12); }
}

.what { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); align-items: center; gap: 4vw; min-height: 92vh; min-height: 92svh; padding: 12vh clamp(20px, 7vw, 130px); overflow: hidden; background: var(--ink); color: var(--yellow); }
.what__bg { position: absolute; inset: 0; opacity: .55; }
.what__bg img { width: 100%; height: 100%; object-fit: cover; }
.what__h, .what__list { position: relative; }
.what__h { align-self: end; font-size: clamp(84px, 11vw, 190px); line-height: .8; transform: rotate(-6deg); white-space: nowrap; }
.what__list li { display: flex; align-items: center; gap: clamp(8px, 1.2vw, 18px); font-size: clamp(30px, 5.2vw, 88px); line-height: 1.12; letter-spacing: -.05em; text-transform: uppercase; }
.what__list li::before, .what__list li::after { content: ""; height: 2px; background: currentColor; flex: var(--a, 0) 1 0%; }
.what__list li::after { flex-grow: var(--b, 1); }
.what__list li:nth-child(5n+2) { --a: .28; --b: 0; }
.what__list li:nth-child(5n+3) { --a: .12; --b: .6; }
.what__list li:nth-child(5n+4) { --a: .22; --b: .3; }
.what__list li:nth-child(5n+5) { --a: 0; --b: .55; }

/* ---------------------------------------------------------------------
   CONTACT
   --------------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-areas: "dial lines" "title lines"; align-items: center; gap: 0 clamp(24px, 5vw, 90px); min-height: 100vh; min-height: 100svh; padding: 84px var(--pad) 18px; }
.contact__title { grid-area: title; align-self: end; font-weight: 700; font-size: clamp(60px, 10.5vw, 180px); line-height: .8; letter-spacing: -.055em; text-transform: uppercase; }
.dial { grid-area: dial; display: flex; flex-direction: column; align-items: center; }
.dial__face { position: relative; width: min(100%, 560px, 60vh); aspect-ratio: 1; }
.dial__wheel { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 16px 22px rgba(31,30,28,.28)); will-change: transform; user-select: none; -webkit-user-drag: none; }
.dial__hole { position: absolute; width: 14%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; }
.dial__hole:hover { box-shadow: inset 0 0 0 3px var(--ink); }
.dial__face.is-busy .dial__hole:hover { box-shadow: none; }
.dial__centre { position: absolute; left: 49.5%; top: 50.5%; width: 35%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; color: var(--ink); }
.dial__title { font-weight: 700; font-size: clamp(12px, 1.7vw, 21px); letter-spacing: -.04em; text-transform: uppercase; }
.dial__readout { min-height: 1.4em; margin-top: 4px; font-size: clamp(9.5px, 1.15vw, 14px); font-variant-numeric: tabular-nums; letter-spacing: 0; white-space: nowrap; }
.dial__status { margin: 14px 0 12px; font-size: 13px; text-align: center; }
.dial__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.clines { grid-area: lines; border-bottom: 1.5px solid var(--ink); }
.cline { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: baseline; padding: 13px 0 12px; border-top: 1.5px solid var(--ink); }
.cline dt { font: var(--label); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.cline dd { font-weight: 500; font-size: clamp(17px, 1.9vw, 28px); letter-spacing: -.04em; overflow-wrap: anywhere; }
.cline a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .14em; }

@media (max-width: 1100px) { .top__roles { display: none; } }

/* ---------------------------------------------------------------------
   Small screens
   --------------------------------------------------------------------- */
@media (max-width: 760px) {
  .top__bar { grid-template-columns: 1fr auto; height: 52px; }
  .top__nav, .top__roles, .top__cv { display: none; }
  .top__menu { display: block; }

  .hero__caption { left: var(--pad); right: var(--pad); bottom: 130px; text-align: left; font-size: 26px; }
  .hero__num { min-width: 0; padding-right: 13px; font-size: 21px; }
  .hero__nums { flex-wrap: wrap; max-width: calc(100vw - 2 * var(--pad)); }
  .hero__controls { flex-direction: column; align-items: flex-start; bottom: 54px; }
  .hero__pause { padding: 2px 0 0; }

  .irow { grid-template-columns: 34px minmax(0, 1fr) 68px; grid-template-areas: "n title thumb" ". client thumb" ". cats thumb"; row-gap: 3px; column-gap: 10px; font-size: 12px; }
  .irow__n { grid-area: n; font-size: 27px; }
  .irow__title { grid-area: title; font-size: 31px; margin-bottom: 4px; }
  .irow__client { grid-area: client; }
  .irow__cats { grid-area: cats; color: var(--muted); }
  .irow__year { display: none; }
  .irow__thumb { grid-area: thumb; display: block; align-self: center; width: 68px; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; }
  .irow__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .irow__thumb .nocover .hand { font-size: 17px; }
  .irow:hover .irow__cats { color: inherit; }

  .phead__body { grid-template-columns: minmax(0, 1fr); padding-top: 9vh; }
  .phead__num { justify-self: end; margin-top: 22px; }

  /* rows of 3+ images become a strip you swipe sideways */
  .block--row:has(> .fig:nth-child(3)) { overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gap) * -1); padding-inline: var(--gap); scrollbar-width: none; }
  .block--row:has(> .fig:nth-child(3))::-webkit-scrollbar { display: none; }
  .block--row:has(> .fig:nth-child(3)) > .fig { flex: 0 0 76%; scroll-snap-align: center; }

  .lb { grid-template-columns: 40px minmax(0, 1fr) 40px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .about__who, .about__approach { grid-template-columns: minmax(0, 1fr); }
  .about__approach .about__img { order: 2; }
  .process__list { grid-template-columns: minmax(0, 1fr); }
  .process__list li, .process__list li + li { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 8px; padding: 14px 0 12px; border-left: 0; border-bottom: 1.5px solid var(--ink); }
  .process__n { grid-row: span 2; font-size: 46px; margin: 0; }
  .process__list h3 { margin-bottom: 2px; }
  .what { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 40px; min-height: 80svh; }
  .what__h { align-self: auto; }
  .contact { grid-template-columns: minmax(0, 1fr); grid-template-areas: "title" "dial" "lines"; gap: 28px; align-items: start; padding-top: 76px; padding-bottom: 28px; }
  .dial__face { width: min(100%, 420px); }
}

/* ---------------------------------------------------------------------
   Reduced motion: no slideshow drift, no handwriting wipe, no fades
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .zoom img { opacity: 1; }
}
