/* Layout: a cinematic editorial scroll. Full-bleed scenes whose colour changes with the work
   (ink, paper, a brand's own palette, the red of a shoot, the dark of a grade), the printed
   portfolio's tight bold headlines, and the PDF's burgundy pencil notes in the margins. */

@property --bg     { syntax: "<color>"; inherits: true; initial-value: #0e0d0d; }
@property --fg     { syntax: "<color>"; inherits: true; initial-value: #f2efeb; }
@property --mute   { syntax: "<color>"; inherits: true; initial-value: #9b958f; }
@property --line   { syntax: "<color>"; inherits: true; initial-value: rgba(242, 239, 235, .16); }
@property --note   { syntax: "<color>"; inherits: true; initial-value: #e3aab5; }
@property --accent { syntax: "<color>"; inherits: true; initial-value: #e3aab5; }

:root {
  /* one letter spacing for every heading in the display face; body text stays at the font's own spacing */
  --track: -.02em;
  /* fixed palette */
  --ink: #0e0d0d;
  --paper: #ffffff;
  --soft: #f2f0ec;
  --pen: #7e3242;
  --pen-light: #e3aab5;
  --pencil: #5b202a; /* the handwriting colour in the PDF */
  --forest: #0b1016;

  /* scene tokens (rewritten per tone below; default is ink) */
  --bg: #0e0d0d;
  --fg: #f2efeb;
  --mute: #9b958f;
  --line: rgba(242, 239, 235, .16);
  --note: #e3aab5;
  --accent: #e3aab5;

  --f-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-hand: "Kalam", "Segoe Print", "Bradley Hand", cursive;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --tone-t: .9s;
  color-scheme: light;
  transition: --bg var(--tone-t) var(--ease), --fg var(--tone-t) var(--ease), --mute var(--tone-t) var(--ease),
    --line var(--tone-t) var(--ease), --note var(--tone-t) var(--ease), --accent var(--tone-t) var(--ease);
}
:root[data-tone="paper"]  { --bg: #ffffff; --fg: #121111; --mute: #6b6662; --line: #e6e2dd; --note: #5b202a; --accent: #7e3242; }
:root[data-tone="soft"]   { --bg: #f2f0ec; --fg: #121111; --mute: #66615c; --line: #dbd6cf; --note: #5b202a; --accent: #7e3242; }
:root[data-tone="red"]    { --bg: #57050c; --fg: #fff1ee; --mute: #e5aeab; --line: rgba(255, 241, 238, .22); --note: #ffc2c9; --accent: #ffc2c9; }
:root[data-tone="forest"] { --bg: #0b1016; --fg: #eef2f5; --mute: #93a0aa; --line: rgba(238, 242, 245, .16); --note: #e3aab5; --accent: #e3aab5; }
:root[data-tone="uskodx"] { --bg: #101211; --fg: #f5f6f1; --mute: #a9aeaa; --line: rgba(245, 246, 241, .15); --note: #b6c94a; --accent: #b6c94a; }
:root[data-tone="ripple"] { --bg: #f4efe9; --fg: #220d16; --mute: #75655d; --line: #d7cfc2; --note: #8a6a48; --accent: #a88661; }
:root[data-tone="thera"]  { --bg: #0c3c52; --fg: #ffffff; --mute: #b9cfd9; --line: rgba(255, 255, 255, .22); --note: #d6e7ef; --accent: #ffffff; }
:root[data-tone="queen"]  { --bg: #4b1124; --fg: #f4ebdd; --mute: #d6bcab; --line: rgba(244, 235, 221, .2); --note: #c7a158; --accent: #c7a158; }

*, *::before, *::after { box-sizing: border-box; }
/* manipulation: pinch zoom still works, but a double tap no longer zooms the page onto a single word */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); touch-action: manipulation; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--fg); color: var(--bg); }
[hidden] { display: none !important; }
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input, .has-cursor textarea { cursor: text !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(88px, 12vw, 180px); }

/* ---------- type ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 650;
  letter-spacing: var(--track);
  line-height: .94;
  margin: 0;
  text-wrap: balance;
}
.h-xl { font-size: clamp(3.4rem, 10.5vw, 10rem); line-height: .88; }
.h-l  { font-size: clamp(2.6rem, 6.6vw, 6rem); }
.h-m  { font-size: clamp(2rem, 4.4vw, 3.8rem); }
.h-s  { font-size: clamp(1.45rem, 2.3vw, 2rem); letter-spacing: var(--track); line-height: 1.04; }
.label {
  font-family: var(--f-body);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1.4;
}
.label .n { color: var(--note); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.5; max-width: 40ch; }
.copy { max-width: 60ch; }
.copy p { margin: 0 0 1em; }
.muted { color: var(--mute); }
/* handwritten notes: thin pencil lettering like the PDF, with a slightly uneven line and a fine graphite grain */
.hand {
  font-family: var(--f-hand);
  color: var(--note);
  font-size: clamp(1.3rem, 1.85vw, 1.65rem);
  line-height: 1.25;
  font-weight: 300;
  letter-spacing: .005em;
  filter: url(#pencil);
}
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
@media (max-resolution: 1.4dppx) { .hand, .between svg { filter: url(#pencil-lo); } }
.arrow-link { display: inline-flex; align-items: center; gap: .5em; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.arrow-link span { transition: transform .4s var(--ease); display: inline-block; }
.arrow-link:hover span { transform: translate(3px, -3px); }
.runhead {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-bottom: clamp(36px, 6vw, 72px);
}
.hint-touch { display: none; }
@media (hover: none), (pointer: coarse) { .hint-fine { display: none; } .hint-touch { display: inline; } .peek { display: none; } }

/* ---------- intro curtain (pure CSS, so it always finishes) ---------- */
@property --n { syntax: "<integer>"; inherits: false; initial-value: 0; }
.intro {
  position: fixed; inset: 0; z-index: 300; background: var(--ink); color: #f2efeb;
  display: grid; place-items: center; pointer-events: none;
  clip-path: inset(0 0 0 0);
  animation: introOut 1s var(--ease-io) 1.15s forwards;
}
.intro-inner { display: flex; align-items: baseline; gap: 18px; }
.intro-mark { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 8vw, 6rem); letter-spacing: -.09em; line-height: 1; }
.intro-n { font-family: var(--f-body); font-size: .8rem; letter-spacing: .16em; font-variant-numeric: tabular-nums; color: #9b958f; min-width: 3ch; }
.intro-n::after { counter-reset: n var(--n); content: counter(n); animation: count 1.05s cubic-bezier(.6, 0, .3, 1) forwards; }
.intro-note { position: absolute; bottom: 14vh; left: 50%; transform: translateX(-50%) rotate(-3deg); color: var(--pen-light); white-space: nowrap; opacity: 0; animation: fadeIn .6s ease .25s forwards; }
@keyframes count { from { --n: 0; } to { --n: 100; } }
@keyframes introOut { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }
@keyframes fadeIn { to { opacity: 1; } }
.no-intro .intro { display: none; }

/* ---------- progress, cursor ---------- */
.progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 110;
  transform-origin: 0 50%; transform: scaleX(0); background: var(--accent);
}
/* display: contents, so the dot's difference blend reaches the page instead of an isolated layer */
.cursor { pointer-events: none; display: none; }
.has-cursor .cursor { display: contents; }
.cursor-dot, .cursor-ring { z-index: 400; pointer-events: none; }
.cursor-dot {
  position: fixed; top: 0; left: 0; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference; transition: opacity .3s, transform .3s var(--ease);
}
/* the label is a small tag beside the pointer, so it never sits on top of an image */
.cursor-ring {
  position: fixed; top: 0; left: 0; padding: 7px 12px; border-radius: 999px; white-space: nowrap;
  background: var(--accent); color: var(--bg);
  transform: translate(18px, 18px) scale(0); transform-origin: 0 0; transition: transform .35s var(--ease), background .4s;
}
.cursor-label { font-family: var(--f-body); font-size: .62rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.cursor.big .cursor-ring { transform: translate(18px, 18px) scale(1); }
.cursor.hidden .cursor-dot, .cursor.hidden .cursor-ring { opacity: 0; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding: env(safe-area-inset-top, 0px) var(--gutter) 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  color: var(--fg); transition: transform .5s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border-color: var(--line); }
.nav.hide { transform: translateY(-100%); }
.mono { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -.09em; text-decoration: none; line-height: 1; justify-self: start; }
.nav-now { overflow: hidden; height: 1.4em; text-align: center; }
.nav-now-in { display: block; transition: transform .5s var(--ease), opacity .5s; }
.nav-now-in.out { transform: translateY(-110%); opacity: 0; }
.nav-now-in.pre { transform: translateY(110%); opacity: 0; transition: none; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.nav-cta { text-decoration: none; display: inline-flex; gap: .5em; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; transition: background .3s, color .3s, border-color .3s; }
.nav-cta:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.menu-btn { background: none; border: 0; padding: 10px 0; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; }
.menu-btn i { width: 22px; height: 8px; position: relative; display: inline-block; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-btn i::before { top: 0; } .menu-btn i::after { bottom: 0; }
.menu-btn:hover i::before { transform: translateX(4px); } .menu-btn:hover i::after { transform: translateX(-4px); }

.menu {
  position: fixed; inset: 0; z-index: 150; background: var(--ink); color: #f2efeb;
  display: grid; grid-template-rows: auto 1fr auto; gap: 24px;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 24px);
  clip-path: circle(0% at calc(100% - 60px) 34px); transition: clip-path .9s var(--ease-io);
}
.menu.open { clip-path: circle(150% at calc(100% - 60px) 34px); }
.menu-top { display: flex; justify-content: space-between; align-items: center; }
.menu-close { background: none; border: 0; cursor: pointer; padding: 10px 0; }
.menu-body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: center; min-height: 0; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { border-top: 1px solid rgba(242, 239, 235, .14); overflow: hidden; }
.menu-list li:last-child { border-bottom: 1px solid rgba(242, 239, 235, .14); }
.menu-list a {
  display: flex; align-items: baseline; gap: 18px; padding: 10px 0; text-decoration: none;
  font-family: var(--f-display); font-weight: 650; letter-spacing: var(--track); font-size: clamp(2.2rem, 6.4vh, 4.6rem); line-height: 1;
  transform: translateY(105%); transition: transform .8s var(--ease), color .3s;
}
.menu.open .menu-list a { transform: none; }
.menu-list li:nth-child(2) a { transition-delay: .04s; } .menu-list li:nth-child(3) a { transition-delay: .08s; }
.menu-list li:nth-child(4) a { transition-delay: .12s; } .menu-list li:nth-child(5) a { transition-delay: .16s; }
.menu-list li:nth-child(6) a { transition-delay: .2s; }
.menu-list small { font-family: var(--f-body); font-size: .7rem; letter-spacing: .16em; font-weight: 600; color: #9b958f; min-width: 2.4em; }
.menu-list a span { transition: transform .5s var(--ease); display: inline-block; }
.menu-list a:hover span, .menu-list a:focus-visible span { transform: translateX(14px); color: var(--pen-light); }
.menu-peek { aspect-ratio: 4 / 5; max-height: 62vh; overflow: hidden; background: #1a1918; justify-self: end; width: 100%; max-width: 380px; }
.menu-peek img { width: 100%; height: 100%; object-fit: cover; transition: opacity .4s, transform 1.2s var(--ease); }
.menu-peek img.contain { object-fit: contain; background: #fff; padding: 12%; }
.menu-peek img.swap { opacity: 0; transform: scale(1.06); }
.menu-foot { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.menu-foot .hand { color: var(--pen-light); }
.menu-foot .muted { color: #9b958f; }

/* ---------- split text reveal ---------- */
/* the clip box is padded on every side (and pulled back with equal negative margins, so the layout is unchanged):
   the display face is set tight, so the last letter of a word reaches past its box and was being cut */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em .14em .22em; margin: -.12em -.14em -.22em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.js [data-split].in .w > span, .no-motion [data-split] .w > span { transform: none; }
.js .rv { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .rv.in, .no-motion .rv { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + clamp(28px, 5vh, 64px));
  padding-bottom: clamp(18px, 3vh, 32px);
  color: #f2efeb; background: var(--ink);
  /* sideways swipes wipe the image in, up and down still scrolls the page */
  touch-action: pan-y; touch-action: pan-y pinch-zoom;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; touch-action: pan-y; }
.hero-inner { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); grid-template-rows: 1fr auto; column-gap: 32px; }
.hero-title {
  /* flex column: the lines' negative margins add up instead of collapsing, so the line spacing stays as designed */
  display: flex; flex-direction: column;
  grid-column: 1; align-self: center; color: #fff; text-shadow: 0 2px 30px rgba(14, 13, 13, .35);
  font-size: clamp(3.5rem, min(12.6vw, 21svh), 12.6rem); line-height: .86; letter-spacing: var(--track); font-weight: 650;
  pointer-events: none;
}
/* padded on every side and pulled back with equal negative margins: the tops of tall letters and the i dots stay whole */
.hero-title .ln { display: block; overflow: hidden; padding: .16em .12em .22em; margin: -.16em -.12em -.22em; }
.hero-title .ln > span { display: inline-block; animation: rise 1.25s var(--ease) both; animation-delay: calc(var(--d0, 1.25s) + var(--k, 0) * 90ms); }
.hero-title .ln:nth-child(2) > span { --k: 1; } .hero-title .ln:nth-child(3) > span { --k: 2; }
.no-intro .hero-title .ln > span { --d0: .1s; }
@keyframes rise { from { transform: translateY(108%) rotate(4deg); transform-origin: 0 100%; } to { transform: none; } }
.idea { position: relative; display: inline-block; }
.idea svg { position: absolute; left: -2%; bottom: -.02em; width: 104%; height: .18em; overflow: visible; color: #fff; }
.draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) forwards; }
.draw.d1 path { animation-delay: 2s; }
.draw.d2 path { animation-delay: 2.3s; }
.no-intro .draw.d1 path { animation-delay: .9s; }
.no-intro .draw.d2 path { animation-delay: 1.2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-notes { grid-column: 2; display: flex; flex-direction: column; gap: 90px; padding-top: 4vh; color: var(--pen-light); }
.hero-notes .hand { color: var(--pen-light); }
.hero-notes .n1 { transform: rotate(-4deg); }
.hero-notes .n2 { transform: rotate(-3deg); align-self: flex-end; text-align: right; }
.hero-notes svg { width: 160px; height: 70px; margin: 6px 0 0 -70px; }
.hero-notes > * { opacity: 0; animation: fadeIn .8s ease forwards; animation-delay: 1.9s; }
.hero-notes > .n2 { animation-delay: 2.3s; }
.no-intro .hero-notes > * { animation-delay: .7s; }
.no-intro .hero-notes > .n2 { animation-delay: 1s; }
.hero-bottom {
  grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px 40px; align-items: end;
  border-top: 1px solid rgba(242, 239, 235, .18); margin-top: clamp(24px, 4vh, 48px); padding-top: 18px;
}
.hero-bottom .lede { margin: 0; color: #f2efeb; }
.hero-bottom .muted { color: #a29c96; }
.hero-hint { margin: 0; display: flex; align-items: center; justify-content: center; gap: 10px; color: #f2efeb; text-align: center; }
.hero-hint .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pen-light); flex: none; }
.hero-meta { text-align: right; display: grid; gap: 4px; justify-self: end; }
.hero-meta .muted { color: #a29c96; }
/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.about-text .h-l { max-width: 13ch; }
.about-lead { margin: 34px 0 0; font-size: clamp(1.2rem, 1.9vw, 1.6rem); line-height: 1.45; max-width: 30ch; }
.about-text .copy { margin-top: 20px; max-width: 46ch; }
.about-text .copy p { margin: 0 0 .7em; }
.about-text > .hand { display: block; margin: 26px 0 0; transform: rotate(-2deg); transform-origin: left; }
.disciplines { margin-top: 18px; border-bottom: 1px solid var(--line); max-width: 640px; display: grid; }
.disc {
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: baseline; gap: 2px 12px; padding: 16px 0 15px;
  border-top: 1px solid var(--line); color: inherit; text-decoration: none;
}
.disc-n { color: var(--note); transition: color .3s; }
.disc-t { font-family: var(--f-display); font-weight: 650; font-size: clamp(1.45rem, 2.4vw, 2.1rem); letter-spacing: var(--track); line-height: 1.1; transition: transform .5s var(--ease), color .3s; }
.disc-d { grid-column: 2; color: var(--mute); font-size: .95rem; line-height: 1.4; transition: transform .5s var(--ease); }
.disc i { grid-column: 3; grid-row: 1; font-style: normal; font-size: 1.2rem; color: var(--mute); transition: transform .45s var(--ease), color .3s; }
.disc:hover .disc-t, .disc:focus-visible .disc-t { transform: translateX(10px); color: var(--accent); }
.disc:hover .disc-d, .disc:focus-visible .disc-d { transform: translateX(10px); }
.disc:hover i, .disc:focus-visible i { transform: translateY(4px); color: var(--accent); }
.portrait { position: sticky; top: calc(var(--nav-h) + 28px); margin: 0; }
/* the portrait sits in a lens: an aperture ring around it, and an iris that opens once when it comes into view */
.aperture { position: relative; width: 100%; aspect-ratio: 1; }
.portrait .frame { position: absolute; inset: 7.6%; overflow: hidden; border-radius: 50%; background: var(--line); }
.ap-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ap-ring .ap-c { fill: none; stroke: var(--fg); stroke-opacity: .5; stroke-width: .32; }
.ap-ring .ap-c2 { fill: none; stroke: var(--fg); stroke-opacity: .14; stroke-width: .3; }
.ap-ring .ap-tick { stroke: var(--fg); stroke-opacity: .55; stroke-width: .32; }
.ap-ring .ap-minor { stroke-opacity: .3; }
.ap-ring text { font-family: var(--f-body); font-size: 4.3px; font-weight: 600; letter-spacing: .04em; fill: var(--mute); }
.ap-ring .ap-eng { font-size: 3.5px; letter-spacing: .3em; text-transform: uppercase; }
.ap-ring .ap-mark { fill: var(--accent); }
.ap-iris { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.disc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s var(--ease); }
.disc-img[data-disc="me"] { object-position: 50% 50%; }
.disc-img.contain { object-fit: contain; padding: 14%; box-sizing: border-box; background: #fff; }
.disc-img[data-disc="retouch"] { object-position: 50% 30%; }
.disc-img.on { opacity: 1; }
.portrait figcaption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; }

/* ---------- philosophy: one band under the introduction ---------- */
.phil-band { margin-top: clamp(88px, 11vw, 150px); }
.phil-line { font-size: clamp(2.2rem, 5.6vw, 5rem); letter-spacing: var(--track); line-height: .98; max-width: 16ch; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(32px, 5vw, 56px); border-top: 1px solid var(--line); padding-top: 22px; }
.pillar p { font-size: clamp(1.1rem, 1.6vw, 1.35rem); margin: 10px 0 0; font-weight: 500; }

/* ---------- the four directions: the same header, tabs and one panel at a time in each ---------- */
.dir-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.dir-name { font-size: clamp(3rem, 7.4vw, 7.6rem); line-height: .9; }
.dir-lede { font-size: clamp(1.5rem, 2.6vw, 2.3rem); letter-spacing: var(--track); line-height: 1.05; margin: 0 0 14px; }
.dir-intro p.muted { margin: 0; max-width: 46ch; }
.dir-note { display: inline-block; margin-top: 18px; transform: rotate(-3deg); transform-origin: left; }
.tabs {
  position: relative; display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: clamp(40px, 6vw, 72px);
}
.tab {
  position: relative; z-index: 1; background: none; border: 0; cursor: pointer; text-align: left;
  padding: 20px 16px 20px 0; font-family: var(--f-display); font-weight: 650; letter-spacing: var(--track);
  font-size: clamp(1rem, 1.8vw, 1.5rem); line-height: 1.1; color: var(--mute); transition: color .4s;
  display: flex; flex-direction: column; gap: 8px;
}
.tab small { font-family: var(--f-body); font-size: .68rem; letter-spacing: .16em; font-weight: 600; }
.tab:hover, .tab[aria-selected="true"] { color: var(--fg); }
.tab[aria-selected="true"] small { color: var(--accent); }
.tab-ink { position: absolute; bottom: -1px; height: 3px; left: 0; width: 25%; background: var(--accent); transition: transform .7s var(--ease), width .7s var(--ease); }
.panel:focus-visible { outline-offset: 12px; }
.story-in { animation: storyIn .9s var(--ease) both; }
@keyframes storyIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.bri { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 30px; }
.bri p { margin: 8px 0 0; }
.story[data-brand="uskodx"] { --card: #f5f6f1; }
.story[data-brand="ripple"] { --card: #ffffff; }
.story[data-brand="thera"]  { --card: #ffffff; }
.story[data-brand="queen"]  { --card: #f4ebdd; }

/* brand panel: the story beside its logo, which builds itself from the first sketch when it comes into view */
.bp { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.bp-text .story-q { margin-top: 14px; }
.bp-text > .hand { display: inline-block; margin-top: 16px; transform: rotate(-3deg); transform-origin: left; }
.build { min-width: 0; }
.build-stage {
  position: relative; margin: 0 auto; overflow: hidden; background: var(--card);
  width: min(100%, calc((100svh - var(--nav-h) - 200px) * 1.25)); aspect-ratio: 5 / 4;
  --sk-ink: #34322f; --sk-soft: #77736c;
}
.bs-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bs-svg path { fill: none; stroke: var(--sk-ink); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; visibility: hidden; }
.bs-svg path.l { stroke: var(--sk-soft); opacity: .6; }
.bs-svg path.w { stroke: var(--card); }
.bs-lock { position: absolute; left: 50%; top: 47.5%; transform: translate(-50%, -50%); }
.bs-h { width: 80%; }
.bs-v { height: 80%; }
.bs-lock img { position: absolute; height: auto; max-width: none; }
.bs-mark { opacity: 0; transform-origin: 50% 50%; will-change: transform, opacity; }
.bs-word { opacity: 0; --w: 0; }
.bs-h .bs-word { clip-path: inset(-8% calc((1 - var(--w)) * 100%) -8% 0); }
.bs-v .bs-word { clip-path: inset(0 0 calc((1 - var(--w)) * 100%) 0); }
.bs-bar { position: absolute; left: 18px; right: 18px; bottom: 16px; height: 2px; background: color-mix(in srgb, var(--sk-ink) 12%, transparent); }
.bs-bar b { display: block; height: 100%; width: calc(var(--p, 0) * 100%); background: var(--sk-ink); }
.build-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; align-items: start; margin-top: 16px; }
.build-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.bstep { position: relative; border-top: 1px solid var(--line); padding-top: 10px; --f: 0; }
.bstep::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: calc(var(--f) * 100%); background: var(--accent); }
.bstep .label { display: block; color: var(--mute); transition: color .35s; }
.bstep .hand { display: block; margin-top: 4px; font-size: 1.05rem; line-height: 1.2; opacity: .35; transition: opacity .4s; }
.bstep.on .label { color: var(--fg); }
.bstep.on .hand { opacity: 1; }
.build.done .bstep .label { color: var(--fg); }
.build.done .bstep .hand { opacity: .85; }
.build-replay {
  background: none; border: 1px solid var(--line); color: var(--fg); padding: 9px 14px; border-radius: 999px; cursor: pointer; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .5s, border-color .3s;
}
.build.done .build-replay { opacity: 1; pointer-events: auto; }
.build.static .build-replay { display: none; }
.build-replay:hover { border-color: var(--fg); }
.swatches { display: flex; gap: 8px; margin-top: clamp(40px, 6vw, 64px); height: clamp(130px, 13vw, 170px); }
.swatch {
  flex: 1 1 0; min-width: 0; position: relative; border: 0; cursor: copy; text-align: left; overflow: hidden;
  background: var(--c); color: var(--cf); padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  box-shadow: inset 0 0 0 1px rgba(127, 127, 127, .18); transition: flex-grow .8s var(--ease);
}
.swatch:hover, .swatch:focus-visible { flex-grow: 2.4; }
.swatch .label { overflow-wrap: break-word; }
.swatch .hex { font-family: var(--f-display); font-weight: 650; font-size: clamp(1.3rem, 2.2vw, 2rem); letter-spacing: var(--track); font-variant-numeric: tabular-nums; }
/* the role line takes no room until the swatch opens, so a long colour name can wrap without being pushed out of the top */
.swatch .role { font-size: .9rem; line-height: 1.35; max-width: 24ch; max-height: 0; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease), max-height .6s var(--ease); }
.swatch:hover .role, .swatch:focus-visible .role { max-height: 8em; opacity: 1; transform: none; }
.swatch::after { content: "Click to copy"; position: absolute; top: 16px; left: 18px; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; opacity: 0; transition: opacity .3s; }
.swatch:hover::after { opacity: .7; }
.result { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--mute); }
.next-panel {
  margin-top: clamp(48px, 7vw, 80px); width: 100%; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px;
  padding: 22px 0 0; border: 0; border-top: 1px solid var(--line); background: none; color: inherit; text-align: left;
  cursor: pointer; text-decoration: none; font: inherit;
}
.next-panel .np-t { font-family: var(--f-display); font-weight: 650; font-size: clamp(1.5rem, 2.8vw, 2.4rem); letter-spacing: var(--track); line-height: 1.05; }
.next-panel i { font-style: normal; color: var(--accent); font-size: clamp(1.3rem, 2.4vw, 2rem); line-height: 1; transition: transform .5s var(--ease); }
.next-panel:hover i { transform: translateX(.25em); }
.next-dir:hover i { transform: translateY(.2em); }
.panel-head { display: flex; justify-content: space-between; align-items: end; gap: 16px 48px; flex-wrap: wrap; }
.panel-head .h-l { margin-top: 14px; }
.foot-rule { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; margin-top: clamp(48px, 7vw, 96px); }

/* ---------- media frames ---------- */
.ph { margin: 0; overflow: hidden; background: color-mix(in srgb, var(--fg) 8%, transparent); cursor: zoom-in; position: relative; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.shot { margin: 0; min-width: 0; }
.shot-cap { margin: 12px 0 0; color: var(--mute); }
.shot > .hand { display: block; margin-bottom: 10px; transform: rotate(-2deg); transform-origin: left; }
.tall { aspect-ratio: 2 / 3; }
.ph .tag { position: absolute; top: 12px; left: 12px; padding: 5px 9px; background: rgba(14, 13, 13, .72); color: #fff; z-index: 2; }
.ph .tag.r { left: auto; right: 12px; background: var(--pen); }
.side-note { display: inline-block; transform: rotate(-4deg); margin: 8px 0 22px; }
.pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(16px, 3vw, 44px); align-items: center; }
.between { display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center; max-width: 150px; color: var(--note); }
.between svg { width: 90px; height: 50px; filter: url(#pencil); }
.caption-line { margin-top: 26px; max-width: 80ch; }

/* ---------- photography ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.pov { font-size: clamp(3.4rem, 8.4vw, 8rem); }
.ed { display: grid; gap: clamp(24px, 4vw, 56px); }
.ed .h-l { margin-top: 14px; font-size: clamp(2.4rem, 4.6vw, 4.6rem); }
.ed .copy { margin-top: 22px; }
.ed .copy p:last-child { margin-bottom: 0; }
.ed-text > .hand { display: inline-block; margin-top: 18px; transform: rotate(-2deg); }
.ed-angle { grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr) minmax(0, .7fr); align-items: end; }
.ed-angle .ed-text { align-self: start; }
.ed-side > .hand:last-child { display: block; margin-top: 12px; transform: rotate(-3deg); }
.ed-line { grid-column: 2 / -1; margin: 0; font-size: clamp(1.3rem, 2vw, 1.7rem); letter-spacing: var(--track); }
.ed-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.ed-head .hand { transform: rotate(-3deg); }
.ed-trio { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 220px) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.ed-mid p { margin: 0 0 1em; }
.ed-mid .hand { display: block; transform: rotate(-3deg); }
.ed-world { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
.ed-small { margin-top: 28px; max-width: 300px; }
.ed-foot { grid-column: 1 / -1; margin: 0; transform: rotate(-1.5deg); }
.presence { margin-top: clamp(96px, 12vw, 170px); }
.beauty > .h-l, .presence .h-l { margin: 14px 0 clamp(28px, 4vw, 48px); }
.presence-pair { align-items: end; }
.presence-mid { max-width: 220px; text-align: left; align-items: flex-start; color: inherit; }
.presence-mid p { margin: 0; }
.presence-mid .hand { color: var(--note); }
.contact-sec { padding-bottom: clamp(32px, 4vw, 56px); }
/* the creative process: three steps in one row */
.process { margin-top: clamp(88px, 11vw, 150px); padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 28px clamp(28px, 5vw, 80px); }
.process-head .h-s { margin: 12px 0 12px; }
.process-head p { margin: 0; max-width: 36ch; }
.steps3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); }
.steps3 li { display: grid; gap: 8px; align-content: start; }
.steps3 .label { color: var(--note); }
.steps3 h4 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); }
.steps3 p { margin: 0; color: var(--mute); font-size: .98rem; }
.steps3 .hand { transform: rotate(-2deg); transform-origin: left; }

/* ---------- retouching ---------- */
.loupe-hint { margin: 0; }
.loupe-pair { margin-top: clamp(32px, 5vw, 56px); }
.loupe { cursor: zoom-in; }
.lens {
  position: absolute; z-index: 3; top: 0; left: 0; width: clamp(150px, 16vw, 230px); aspect-ratio: 1; border-radius: 50%;
  pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.6);
  transition: opacity .3s, transform .45s var(--ease);
  background-repeat: no-repeat; box-shadow: 0 0 0 2px #fff, 0 18px 50px rgba(0, 0, 0, .35);
}
.loupe.zoom .lens { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ba-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.ba-wrap.rev { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
.ba {
  position: relative; overflow: hidden; aspect-ratio: 2 / 3; max-height: 84vh; width: 100%; margin-inline: auto;
  background: var(--line); user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; --pos: 50%;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .after { clip-path: inset(0 0 0 var(--pos)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); box-shadow: 0 0 14px rgba(0, 0, 0, .3); }
.ba .knob {
  position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; border-radius: 50%; transform: translate(-50%, -50%);
  background: #fff; color: #121111; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 1.3rem; font-style: normal;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .28); transition: transform .4s var(--ease);
}
.ba .knob i { font-style: normal; line-height: 1; }
.ba:hover .knob, .ba.drag .knob { transform: translate(-50%, -50%) scale(.82); }
.ba .tag { position: absolute; top: 12px; padding: 5px 9px; background: rgba(14, 13, 13, .72); color: #fff; z-index: 2; }
.ba .tag.l { left: 12px; } .ba .tag.r { right: 12px; background: var(--pen); }
.ba-range { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ba:has(.ba-range:focus-visible) { outline: 2px solid var(--accent); outline-offset: 4px; }
.ba-notes { display: grid; gap: 22px; }
.ba-notes .copy { margin: 0; }
.ba-notes .hand { display: block; }
.ba-hint { color: var(--mute); }

.mood { position: relative; --m: 0; }
.mood-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.mood-text .h-l { margin: 16px 0 24px; }
.mood-stage { position: relative; aspect-ratio: 2 / 3; width: min(100%, calc(80svh * 2 / 3)); margin-inline: auto; overflow: hidden; cursor: zoom-in; background: #1a1d20; }
.mood-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mood-stage .after { opacity: var(--m); }
.mood-stage .tag { position: absolute; left: 12px; top: 12px; padding: 5px 9px; background: rgba(14, 13, 13, .72); color: #fff; z-index: 2; }
.mood-note { display: block; margin: -10px 0 20px; transform: rotate(-3deg); transform-origin: left; }
.mood-note.b { margin: 4px 0 18px; }
.toggle { display: inline-grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--fg); margin-top: 12px; position: relative; }
.toggle button { background: none; border: 0; padding: 13px 22px; cursor: pointer; position: relative; z-index: 1; transition: color .4s; }
.toggle .pill { position: absolute; top: 0; bottom: 0; width: 50%; background: var(--fg); transition: transform .5s var(--ease); }
.toggle[data-state="after"] .pill { transform: translateX(100%); }
.toggle button[aria-pressed="true"] { color: var(--bg); }

/* ---------- artistic ---------- */
.art-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.art-block { margin-top: clamp(96px, 12vw, 170px); position: relative; }
.art-block .h-l { margin-bottom: clamp(28px, 4vw, 52px); }
/* ---------- services ---------- */
.services .lede { margin-top: 22px; }
.services .lede + .hand { display: inline-block; margin-top: 10px; transform: rotate(-2deg); }
.svc-grid { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); border-top: 1px solid var(--fg); padding-top: 26px; }
.svc { display: grid; gap: 14px; align-content: start; }
.svc .n { color: var(--note); }
.svc ul { list-style: none; margin: 0; padding: 0; }
.svc li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 1.02rem; }
.svc-go { justify-self: start; margin-top: 6px; background: var(--fg); color: var(--bg); border: 0; padding: 12px 18px; cursor: pointer; white-space: nowrap; transition: background .3s; }
.svc-go:hover { background: var(--note); }
.journey { margin-top: 48px; color: var(--note); }
.journey svg { width: 100%; height: 60px; }
.journey .hand { text-align: center; display: block; }
.js .journey path { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--jp, 0)); }

/* ---------- closing / contact ---------- */
.contact-sec .h-xl { font-size: clamp(3.2rem, 9vw, 8.6rem); }
.close-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: clamp(48px, 7vw, 88px); }
.box-zone { position: relative; }
.box {
  border: 1px solid var(--fg); padding: 26px 28px; max-width: 360px; position: relative; cursor: grab; touch-action: none;
  transition: transform .9s cubic-bezier(.34, 1.56, .64, 1); background: var(--bg);
}
.box.drag { transition: none; cursor: grabbing; }
.box .hand { color: var(--fg); font-size: 1.7rem; display: block; margin-top: 10px; }
.box-arrow { position: absolute; width: 120px; height: 60px; left: min(360px, 70%); top: 40%; color: var(--fg); }
.box-note { margin-top: 30px; transform: rotate(-3deg); display: block; }
.outside { font-size: clamp(3rem, 7vw, 6.4rem); }
.js .draw-on path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.js .draw-on.in path { stroke-dashoffset: 0; }
.contact { margin-top: clamp(72px, 10vw, 140px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); border-top: 1px solid var(--line); padding-top: clamp(36px, 5vw, 56px); }
.contact-sub { max-width: 34ch; }
.form { display: grid; gap: 22px; }
.field label, .field-label { display: block; margin-bottom: 8px; color: var(--mute); }
.field-label { margin-bottom: 12px; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--fg);
  font: inherit; font-size: 1.15rem; padding: 10px 0; border-radius: 0; transition: border-color .3s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--fg); }
.field textarea::placeholder { color: var(--mute); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { border: 1px solid var(--line); background: none; border-radius: 999px; padding: 10px 16px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.chip-btn:hover { border-color: var(--fg); }
.chip-btn[aria-pressed="true"] { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.chip-btn.flash { animation: flash .9s var(--ease); }
@keyframes flash { 30% { transform: scale(1.08); } }
.send {
  /* the burgundy of the handwritten notes */
  justify-self: start; display: inline-flex; gap: 14px; align-items: center; background: #5b202a; color: #fbf3f1;
  border: 0; border-radius: 999px; padding: 18px 30px; cursor: pointer; font-weight: 600; font-size: 1.05rem; transition: background .3s, color .3s;
}
.send i { font-style: normal; transition: transform .4s var(--ease); display: inline-block; }
.send:hover { background: var(--pen); color: #fff; }
.send:hover i { transform: translate(3px, -3px) rotate(45deg); }
.form-error { color: #f19aa8; min-height: 1.2em; margin: 0; font-size: .92rem; }
.brief-out { border: 1px solid var(--line); padding: 22px; }
.brief-out pre { white-space: pre-wrap; font-family: var(--f-body); margin: 12px 0 18px; }
.brief-out .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.ghost { background: none; border: 1px solid var(--line); padding: 10px 16px; cursor: pointer; }
.ghost:hover { border-color: var(--fg); }
.sign {
  margin-top: calc(clamp(72px, 10vw, 140px) - .14em); font-family: var(--f-display); font-weight: 300; letter-spacing: var(--track); line-height: .82;
  font-size: clamp(3.2rem, 15vw, 14rem); white-space: nowrap; overflow: hidden; text-align: center; padding: .14em 0 .24em; margin-bottom: -.18em;
}
.sign .ch { display: inline-block; font-weight: var(--w, 300); }
.end { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }

/* ---------- lightbox ---------- */
.lb {
  position: fixed; inset: 0; z-index: 250; background: rgba(10, 10, 10, .96); color: #fff;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; gap: 8px;
  padding: calc(env(safe-area-inset-top, 0px) + 14px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 14px);
  opacity: 0; transition: opacity .45s;
}
.lb.open { opacity: 1; }
.lb-top, .lb-bot { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; }
.lb-stage img { max-height: 100%; max-width: 100%; min-width: 0; min-height: 0; width: auto; height: auto; object-fit: contain; transform-origin: 0 0; }
.lb-cap { margin: 0; text-align: center; color: #b9b3ad; font-size: .92rem; min-height: 1.4em; }
.lb button { background: none; border: 1px solid rgba(255, 255, 255, .28); color: #fff; padding: 9px 15px; cursor: pointer; }
.lb button:hover { border-color: #fff; }
.lb-count { font-variant-numeric: tabular-nums; }
.lb-thumbs { display: flex; gap: 6px; overflow-x: auto; max-width: 60vw; scrollbar-width: none; }
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb .lb-thumbs button { padding: 0; border: 0; width: 42px; height: 56px; flex: none; opacity: .4; transition: opacity .3s; }
.lb .lb-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 1px #fff; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); transform: translate(-50%, 20px);
  background: var(--fg); color: var(--bg); padding: 12px 20px; border-radius: 999px; z-index: 260; opacity: 0;
  transition: opacity .3s, transform .45s var(--ease); pointer-events: none; display: flex; gap: 10px; align-items: center;
}
.toast i { width: 14px; height: 14px; border-radius: 50%; display: inline-block; background: var(--tc, transparent); box-shadow: 0 0 0 1px rgba(127, 127, 127, .4); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-cta { display: none; }
}
@media (max-width: 960px) {
  .about-grid, .dir-head, .bp, .process, .ed-angle, .ed-world, .art-hero, .close-grid, .contact, .ba-wrap, .ba-wrap.rev, .mood-grid, .menu-body { grid-template-columns: minmax(0, 1fr); }
  .bri { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .build-stage { width: 100%; }
  .ba-wrap.rev > :first-child { order: 2; }
  .portrait { position: relative; top: auto; margin-top: 0; max-width: 520px; }
  .menu-peek { display: none; }
  .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab-ink { display: none; }
  .tab[aria-selected="true"] { box-shadow: inset 0 -3px 0 var(--accent); }
  .phil-lines .line small { position: static; display: block; margin-bottom: 4px; }
  .box-arrow { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-notes { grid-column: 1; flex-direction: row; justify-content: space-between; gap: 24px; padding-top: 18px; }
  .hero-notes svg { display: none; }
  .ed-line, .ed-foot { grid-column: 1; }
  .ed-side { max-width: 420px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-now { text-align: left; font-size: .62rem; }
  .bri, .pillars, .steps3, .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .build-foot { grid-template-columns: minmax(0, 1fr); }
  .bstep .label { font-size: .6rem; }
  .bstep .hand { display: none; }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .between { flex-direction: row; max-width: none; justify-content: center; }
  .between svg { transform: rotate(90deg); width: 50px; }
  .hero-title { font-size: min(18vw, 13svh); }
  .hero-bottom { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hero-meta { text-align: left; justify-self: start; }
  .hero-hint { justify-content: flex-start; text-align: left; }
  .swatches { flex-direction: column; height: auto; }
  .swatch { flex: none; padding: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; min-height: 92px; }
  .swatch .hex { grid-column: 2; grid-row: 1 / span 2; }
  .swatch .role { max-height: none; opacity: 1; transform: none; grid-column: 1; }
  .swatch::after { display: none; }
  .ed-trio { grid-template-columns: minmax(0, 1fr); }
  .presence-mid { max-width: none; }
  .lb-thumbs { display: none; }
  .mood-stage { width: min(100%, calc(76svh * 2 / 3)); }
  .menu-list a { font-size: clamp(2rem, 9vw, 3rem); }
}
@media (prefers-reduced-motion: reduce) {
  :root { --tone-t: 0s; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .intro { display: none; }
  .draw path { stroke-dashoffset: 0; }
}

/* ---------- v7: one calm pattern everywhere. A short title, one sentence, then the work ---------- */
.dir-head { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: end; }
.dir, .services { padding-block: clamp(72px, 9vw, 132px); }
.dir-n { display: block; color: var(--note); margin-bottom: 12px; }
.dir-intro .dir-lede { margin: 0; }
.tab { padding-block: 18px; }
.ph-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 48px; flex-wrap: wrap; margin-bottom: clamp(24px, 3.5vw, 40px); }
.ph-head .h-m { margin: 0; max-width: 18ch; }
.ph-head p { margin: 0; max-width: 40ch; color: var(--mute); font-size: 1.05rem; }
/* photos in one row at the same height, never taller than the screen */
.gal { --h: min(74svh, 760px); display: flex; gap: 14px; align-items: flex-start; max-width: calc(var(--h) * var(--ar) + var(--gaps, 0px)); margin-inline: auto; }
.gal > .ph { flex: var(--a) 1 0; min-width: 0; }
.gal-hint { margin: 14px 0 0; text-align: center; color: var(--mute); }
.ba-solo { width: min(100%, calc(74svh * 2 / 3)); max-height: none; }
.mood-solo .mood-stage { width: min(100%, calc(74svh * 2 / 3)); }
.mood-solo .toggle { display: grid; width: fit-content; margin: 18px auto 0; }
.bp-p { margin: 18px 0 0; max-width: 42ch; font-size: 1.08rem; line-height: 1.5; }
.palette { display: flex; gap: 8px; margin-top: 28px; }
.palette i { width: 38px; height: 38px; background: var(--c); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg) 18%, transparent); }
/* credits sit under the work, never on it */
.credit { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; margin: clamp(22px, 3vw, 30px) 0 0; text-align: center; color: var(--fg); }
.credit .cr { max-width: 100%; }
.credit .muted { margin-right: .8em; }
.build-replay { display: block; margin: 14px 0 0 auto; }
.next-panel { margin-top: clamp(36px, 5vw, 60px); padding-top: 18px; }
.next-panel .np-t { font-size: clamp(1.2rem, 2vw, 1.6rem); }
.next-panel i { font-size: clamp(1.1rem, 1.8vw, 1.5rem); }
@media (max-width: 960px) {
  .dir-head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .gal { flex-wrap: wrap; max-width: none; gap: 10px; }
  .gal > .ph { flex: 1 1 100%; }
  .gal.g4 > .ph { flex: 1 1 calc(50% - 5px); }
  /* before and after stay side by side, so they can be compared */
  .gal.keep { flex-wrap: nowrap; }
  .gal.keep > .ph { flex: var(--a) 1 0; }
  .ba-solo, .mood-solo .mood-stage { width: 100%; }
}

/* ---------- v8: each brand is a graphic design case study. 01 brief, 02 solution, 03 building the brand, 04 brand system ---------- */
.cs { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.cs-text .story-q { margin: 14px 0 0; }
.cs-block { margin-top: clamp(22px, 3vw, 34px); padding-top: 14px; border-top: 1px solid var(--line); }
.cs-block p { margin: 10px 0 0; max-width: 46ch; }
.cs-lab { display: block; margin-bottom: 14px; }
.cs-system { margin-top: clamp(48px, 7vw, 88px); padding-top: 22px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px clamp(28px, 5vw, 80px); align-items: start; }
.cs-sys-text p { margin: 12px 0 0; max-width: 46ch; }
.cs-sys-text .cs-type { display: grid; gap: 4px; margin-top: 18px; font-weight: 500; }
.cs-system .swatches { margin-top: 0; height: clamp(150px, 15vw, 190px); }
@media (max-width: 960px) {
  .cs, .cs-system { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .build-steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .bstep .label { font-size: .66rem; }
  .bstep .hand { display: block; }
  .cs-system .swatches { height: auto; }
}

/* ---------- v9: every photo in a row is the same size; the whole photo opens in the lightbox ---------- */
.gal > .ph { flex: 1 1 0; aspect-ratio: var(--cell); }
.gal > .ph img { object-fit: cover; object-position: 50% 50%; }
@media (max-width: 760px) {
  .gal > .ph { flex: 1 1 100%; }
  .gal.g4 > .ph { flex: 1 1 calc(50% - 5px); }
  .gal.keep > .ph { flex: 1 1 0; }
}

/* ---------- v10: drawn arrows, four services, the magnifier on touch ---------- */
.ic-wrap { display: inline-block; transition: transform .4s var(--ease); }
.ic { width: .78em; height: .78em; vertical-align: -.04em; overflow: visible; }
.send i .ic { width: .9em; height: .9em; }
.svc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.loupe, .loupe img { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
/* while a finger holds the lens it floats above the finger, so it may leave the photo frame */
.loupe.touching { overflow: visible; z-index: 4; }
.loupe.touching .lens { width: clamp(136px, 22vw, 210px); }
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- v11: the retouching course, a quiet band at the end of the chapter ---------- */
.course {
  margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(26px, 3.4vw, 40px); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: clamp(112px, 13vw, 168px) minmax(0, 1fr); gap: clamp(20px, 3.6vw, 52px); align-items: center;
}
.course-text { display: grid; gap: 12px; justify-items: start; min-width: 0; }
.course-text p { color: var(--mute); max-width: 54ch; }
.course-go {
  margin-top: 6px; display: inline-flex; align-items: center; gap: .55em; padding: 12px 18px; border-radius: 999px;
  text-decoration: none; background: var(--fg); color: var(--bg); transition: background .3s, color .3s;
}
.course-go:hover, .course-go:focus-visible { background: var(--accent); }
.course-go:hover .ic-wrap, .course-go:focus-visible .ic-wrap { transform: translate(2px, -2px); }
@media (max-width: 560px) {
  .course { grid-template-columns: 92px minmax(0, 1fr); align-items: start; }
}

/* ---------- v12: the brand in use, kind words, the contact email ---------- */
.cs-use { margin-top: clamp(44px, 6vw, 84px); padding-top: clamp(20px, 2.4vw, 28px); border-top: 1px solid var(--line); }
.use-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; margin-top: clamp(18px, 2.4vw, 28px); }
.use-item { min-width: 0; }
.use-item:first-child { grid-column: 1 / -1; }
.use-grid .ph { aspect-ratio: 3 / 2; max-width: 100%; }
.use-grid .ph img { display: block; transition: transform 1.4s var(--ease); }
.use-grid .ph:hover img { transform: scale(1.015); }
.use-cap { margin: 10px 0 0; }
.reviews { padding-block: clamp(72px, 9vw, 132px); }
.kw-draft-note { display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 0; padding: 8px 14px; border: 1px dashed var(--line); border-radius: 999px; color: var(--mute); }
.kw-draft-note i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.kw-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: clamp(32px, 5vw, 56px); }
.kw { margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; padding-top: 22px; border-top: 1px solid var(--fg); }
.kw-mark { height: 38px; width: auto; align-self: flex-start; }
.kw-q { margin: 0; font-family: var(--f-display); font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.3; letter-spacing: var(--track); flex: 1; }
.kw figcaption { display: grid; gap: 6px; }
.kw-who { font-weight: 600; }
.kw.is-draft { border-top-style: dashed; border-top-color: var(--line); }
.kw.is-draft .kw-q, .kw.is-draft .kw-who { color: var(--mute); }
.kw.is-draft .kw-mark { opacity: .55; filter: grayscale(1); }
.brief-note { margin: 12px 0 0; font-size: .95rem; }
@media (max-width: 1080px) { .kw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .use-grid { grid-template-columns: minmax(0, 1fr); }
  .kw-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
}

/* profiles in the contact block and the menu */
.social { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 14px; }
.social li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.social .muted { min-width: 0; }
@media (max-width: 520px) { .social li { flex-direction: column; align-items: flex-start; gap: 6px; } }
.social .arrow-link { color: var(--fg); }
.social .arrow-link:hover .ic-wrap, .social .arrow-link:focus-visible .ic-wrap { transform: translate(2px, -2px); }
.menu-social { display: flex; gap: 18px; }
.menu-social a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.lb-cap .lb-credit { display: block; margin-top: 4px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: #8d8781; }

/* ---------- v28: four photos per series (two by two on phones), three in Imagination ---------- */
@media (max-width: 760px) {
  .gal.g3 > .ph { flex: 1 1 calc(50% - 5px); }
  .gal.g3 > .ph:first-child { flex-basis: 100%; }
}

/* ---------- v30: selected work, one piece from each direction, right after the introduction ---------- */
.sec.about { padding-bottom: clamp(56px, 8vw, 110px); }
.sec.picks { padding-top: 0; }
.picks .runhead { padding-top: 18px; padding-bottom: clamp(20px, 3vw, 32px); border-top: 1px solid var(--line); }
.picks-h { margin: 0; font: inherit; letter-spacing: inherit; text-transform: inherit; }
.picks-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.pick { display: grid; gap: 14px; color: inherit; text-decoration: none; }
.pick-img { display: block; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; background: color-mix(in srgb, var(--fg) 8%, transparent); }
.pick-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pick-cap { display: grid; gap: 6px; min-width: 0; }
.pick-n { color: var(--mute); }
.pick-n .n { color: var(--note); margin-right: .9em; }
.pick-t { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--f-display); font-weight: 650; letter-spacing: var(--track); font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.1; transition: color .3s; }
.pick-t i { font-style: normal; font-size: .9em; color: var(--mute); transition: transform .45s var(--ease), color .3s; }
.pick:hover .pick-t, .pick:focus-visible .pick-t { color: var(--accent); }
.pick:hover .pick-t i, .pick:focus-visible .pick-t i { transform: translateY(4px); color: var(--accent); }
.pick:focus-visible { outline: 2px solid var(--fg); outline-offset: 6px; }
@media (max-width: 760px) {
  .picks-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 10px; }
  .pick { gap: 10px; }
  .pick-t { font-size: 1.05rem; }
}
