/* ---------- tokens ---------- */
/* The whole site is black and white. Three things are in colour: Khushi herself, the red "Hello" with its
   hearts, and any logo or cover while it is hovered. */
:root {
  --display: "Bodoni Moda", Didot, "Bodoni MT", "Times New Roman", serif;
  --text: Archivo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --red: #ff1f1f;

  --gutter: clamp(20px, 5vw, 84px);
  --top: clamp(76px, 13svh, 132px); /* clears the floating nav */
  --foot: clamp(28px, 7svh, 72px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.3, 1.4, .5, 1);

  --fig: .3126;                 /* her standing picture: width divided by height */
  --H: min(88svh, 62vw);        /* how tall she stands on the first two slides */
  --desk: clamp(190px, 23vw, 380px); /* width kept for her picture on the slides where she sits to one side */
}
/* Slides and brand pages alternate between these two. */
[data-tone="dark"] { --bg: #000; --fg: #fff; }
[data-tone="light"] { --bg: #fff; --fg: #000; }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  overflow: hidden;
  background: #000;
  color: #fff;
  font-family: var(--text);
  font-size: clamp(15px, .45vw + 11px, 18px);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: #000; color: #fff; }
[data-tone="dark"] ::selection { background: #fff; color: #000; }

.skip {
  position: fixed; left: 12px; top: 12px; z-index: 50;
  padding: .6em 1em; background: #fff; color: #000; border: 2px solid #000; font-weight: 700;
  translate: 0 -300%;
}
.skip:focus { translate: 0 0; }
.noscript { position: fixed; inset: auto 0 0 0; padding: 1em; background: #fff; color: #000; text-align: center; }

/* ---------- the sideways track ---------- */
.track {
  display: flex;
  height: 100vh; height: 100dvh;
  overflow-x: auto; overflow-y: hidden;
  overscroll-behavior: none;
  scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.panel {
  position: relative; flex: 0 0 auto;
  width: 100vw; height: 100%;
  overflow: hidden auto;
  scrollbar-width: thin;
  background: var(--bg); color: var(--fg);
}
@media (pointer: coarse) {
  .track { scroll-snap-type: x proximity; }
  .panel { scroll-snap-align: start; }
}
.panel h2 {
  font-weight: 800; font-stretch: 120%;
  font-size: clamp(2.1rem, 5.4vw, 4.8rem);
  line-height: .9; letter-spacing: -.015em; text-transform: uppercase;
}
/* the heading and one line of help at the top of the social and decks slides */
.head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
  padding: var(--top) var(--gutter) 0;
}
.head p { max-width: 18ch; text-align: right; font-weight: 600; line-height: 1.25; }

/* ---------- floating nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 20;
  display: flex; align-items: center; gap: 2px;
  padding: 5px; border-radius: 999px;
  background: #000; border: 1px solid rgba(255, 255, 255, .4);
  translate: -50% 0;
  transition: translate .5s var(--ease), opacity .3s, visibility 0s;
}
body[data-at="hello"] .nav {
  translate: -50% -180%; opacity: 0; visibility: hidden;
  transition: translate .5s var(--ease), opacity .3s, visibility 0s .5s;
}
.nav a {
  padding: .62em .95em; border-radius: 999px;
  color: #fff; text-decoration: none; white-space: nowrap;
  font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
}
.nav a:hover { background: rgba(255, 255, 255, .2); }
.nav a[aria-current="true"] { background: #fff; color: #000; }
.nav .nav__home { padding: 0; margin-right: 4px; }
.nav .nav__home:hover { background: none; }
.nav__home span { /* her face, cropped from the standing picture */
  display: block; width: 30px; height: 30px; border-radius: 50%;
  background: #fff var(--face) var(--fx) var(--fy) / var(--fz) auto no-repeat;
}

/* ---------- Khushi ---------- */
/* A .slot keeps her place on a slide. On a wide screen the picture inside it is hidden and .cast, one
   copy of her above all the slides, moves from slot to slot as the site scrolls. */
.slot { position: relative; }
.frames { position: absolute; inset: 0; container-type: size; } /* a pose: one picture, or two that swap in place */
.frames[hidden] { display: none; }
.fig { /* a box of exactly the picture's shape, fitted inside the pose's space; she always stands on its bottom edge */
  position: absolute; left: 50%; bottom: 0; translate: -50% 0;
  height: min(100cqh, calc(100cqw / var(--ar, .5))); aspect-ratio: var(--ar, .5);
  opacity: 0;
}
.fig img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: 50% 100%;
  user-select: none; -webkit-user-select: none;
}
.frames[data-frame="0"] .fig:nth-child(1), .frames[data-frame="1"] .fig:nth-child(2) { opacity: 1; }
.pose--gap { /* a picture that has not been sent yet */
  position: absolute; inset: 0;
  display: grid; place-content: center; gap: .35em; padding: 1em;
  border: 1.5px dashed currentColor; border-radius: 14px;
  text-align: center; font-size: .8rem; line-height: 1.3; opacity: .65;
}
.pose--gap b { display: block; font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.has-cast .slot > .frames, .has-cast .slot > .pose--gap { visibility: hidden; }

.cast {
  position: fixed; left: 0; top: 0; z-index: 10; width: 0; height: 0;
  pointer-events: none; will-change: transform;
}
body:not(.has-cast) .cast { display: none; }
.cast__pop, .cast__in { position: absolute; inset: 0; }
.cast__pose { position: absolute; inset: 0; opacity: 0; color: #8d8d8d; }
/* When the page opens she pops up from below the bottom edge. */
.cast__pop, .hello .slot > .frames { transform: translateY(104%); transition: transform 1.050s var(--spring) .75s; }
.is-ready .cast__pop, .is-ready .hello .slot > .frames { transform: none; }

.slot--pop { /* slide 1: she comes up from the bottom edge, large, under the word */
  position: absolute; left: 50%; top: var(--pop); translate: -50% 0;
  height: var(--tall); width: calc(var(--tall) * var(--fig));
}
.slot--centre { /* slide 2: standing in the middle, head to toe */
  position: absolute; left: 50%; bottom: 0; translate: -50% 0;
  height: var(--H); width: calc(var(--H) * var(--fig));
}
.slot--desk { /* experience: sitting at the left with her laptop */
  position: absolute; left: var(--gutter); bottom: 0;
  width: var(--desk); height: min(58svh, 38vw);
}
.slot--kiss { /* brands: standing at the left, blowing a kiss towards the wall */
  position: absolute; left: calc(var(--gutter) + 2vw); bottom: 0;
  height: min(63svh, 42vw); aspect-ratio: .5109;
}
.slot--serious { /* "serious work": arms crossed, at the right */
  position: absolute; right: calc(var(--gutter) + 1vw); bottom: 0;
  height: min(84svh, 58vw); aspect-ratio: .3029;
}
.slot--side { /* wins: standing at the left with the trophy */
  position: absolute; left: calc(var(--gutter) + 1.5vw); bottom: 0;
  width: var(--desk); height: min(82svh, 56vw);
}
.slot--bye { /* the last slide: standing at the right */
  --h: min(70svh, 50vw);
  align-self: end; height: var(--h); width: calc(var(--h) * var(--fig));
}

/* ---------- hello ---------- */
.hello {
  overflow: hidden;
  --word: min(25vw, 37svh);                       /* the size of the word */
  --pop: calc(8svh + var(--word) * .845);        /* where the top of her head comes to, just under the word */
  --tall: 120svh;                                 /* her full height here; the bottom edge of the screen cuts her off */
}
.sky { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.8s linear; }
.hello__mark, .hello__hint {
  position: absolute; top: clamp(18px, 4svh, 34px);
  opacity: 0; transition: opacity .8s linear 1.3s;
}
.hello__mark { left: var(--gutter); }
.hello__mark h1 { font-size: .78rem; font-weight: 800; font-stretch: 112%; letter-spacing: .1em; text-transform: uppercase; }
.hello__mark p { font-size: .78rem; opacity: .8; }
.hello__hint {
  right: var(--gutter); display: flex; align-items: center; gap: .9em;
  font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.hello__hint i {
  display: block; width: clamp(34px, 5vw, 70px); height: 1px; background: currentColor;
  transform-origin: left; animation: hint 2.6s var(--ease) infinite;
}
@keyframes hint {
  0% { transform: scaleX(0); opacity: 1; }
  55% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}
/* The word sits a little up the slide, and she pops up beneath it. */
.hello__word {
  position: absolute; left: 0; right: 0; top: 8svh;
  translate: calc(var(--mx, 0) * -12px) calc(var(--my, 0) * -7px);
  text-align: center;
  font-family: var(--display); font-weight: 700;
  font-variation-settings: "opsz" 18; /* the sturdier cut of the typeface, so the thin strokes hold up at this size */
  font-size: var(--word); line-height: .8; letter-spacing: -.035em;
  color: var(--red); white-space: nowrap;
}
.hello__word .ch { /* the letters rise in one after another */
  display: inline-block; opacity: 0; translate: 0 .3em;
  transition: opacity .5s linear, translate 1s var(--spring);
  transition-delay: calc(.3s + var(--n) * .08s);
}
.hello__links {
  position: absolute; left: var(--gutter); bottom: clamp(22px, 5svh, 50px);
  display: flex; gap: 10px;
  opacity: 0; transition: opacity .8s linear 1.3s;
}
.hello__links a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .55); background: #000;
  transition: background .2s, color .2s;
}
.hello__links a:hover { background: #fff; color: #000; }
.hello__links svg { width: 20px; height: 20px; }

.is-ready .sky { opacity: 1; }
.is-ready .hello__word .ch { opacity: 1; translate: 0 0; }
.is-ready .hello__mark, .is-ready .hello__links { opacity: 1; }
.is-ready .hello__hint { opacity: .85; }

/* ---------- about and fun facts ---------- */
.about {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) calc(var(--H) * var(--fig)) minmax(0, 1fr);
  column-gap: clamp(18px, 3.2vw, 56px);
  padding: var(--top) var(--gutter) var(--foot);
  font-size: clamp(13px, 1.95svh, 17px);
}
.about__bio { grid-column: 1; justify-self: end; width: 100%; max-width: 31em; }
.about__facts { grid-column: 3; width: 100%; max-width: 31em; }
.about h2 { /* carries on the sentence that "Hello" started, in the same typeface */
  margin-bottom: .45em;
  font-family: var(--display); font-weight: 500; font-stretch: normal;
  font-size: clamp(2.3rem, min(4.8vw, 9svh), 4.6rem);
  line-height: .98; letter-spacing: -.02em; text-transform: none;
}
.about__text p + p { margin-top: .9em; }
.about__text p:first-child { font-family: var(--display); font-size: 1.32em; line-height: 1.28; }
.about__facts h3 { margin-bottom: .7em; font-size: .8em; font-weight: 800; font-stretch: 116%; letter-spacing: .08em; text-transform: uppercase; }
.about__facts li { padding: .55em 0 .62em; border-top: 1px solid var(--fg); }
.about__facts strong { display: block; font-weight: 800; }
.about__facts span { display: block; opacity: .8; }

/* ---------- experience, education, skills ---------- */
.journey {
  display: flex; align-items: safe center;
  padding: clamp(70px, 10.5svh, 120px) var(--gutter) clamp(20px, 4.5svh, 56px);
  font-size: clamp(12px, 1.6svh, 16px);
}
.journey__cols {
  width: 100%; margin-left: calc(var(--desk) + clamp(20px, 3.4vw, 60px));
  display: grid; grid-template-columns: 1.15fr .95fr 1.1fr; gap: clamp(18px, 2.6vw, 48px); align-items: start;
}
.journey h2 { margin-bottom: .7em; font-size: clamp(1.1rem, min(1.8vw, 3.200svh), 1.75rem); }
.journey__col > h3 { margin: 1.5em 0 .35em; font-size: .78em; font-weight: 800; font-stretch: 116%; letter-spacing: .08em; text-transform: uppercase; }
.journey__list li, .journey__skills li { padding: .55em 0 .62em; border-top: 1px solid color-mix(in srgb, var(--fg) 45%, transparent); }
.journey__list h3 { font-family: var(--display); font-weight: 500; font-size: 1.5em; line-height: 1.1; }
.journey .when { font-size: .82em; font-weight: 600; opacity: .7; }
.journey .role { font-weight: 700; }
.journey .note { margin-top: .3em; opacity: .8; }
.journey__skills strong { display: block; font-weight: 800; }
.journey__skills span { display: block; opacity: .78; font-size: .92em; line-height: 1.38; }

/* ---------- brands: the wall of logos ---------- */
.brands { overflow: hidden; --side: min(31vw, 460px); }
.brands__head { position: absolute; z-index: 1; left: var(--gutter); top: var(--top); width: var(--side); }
.brands__head h2 { font-size: clamp(1.7rem, 3.5vw, 3.5rem); }
.brands__head p { margin-top: .9em; font-weight: 700; }
/* Four rows of square tiles. Odd rows drift one way, even rows the other, and the whole wall leans a little. */
.wall {
  --tile: min(21.5svh, 15vw); --gap: clamp(8px, 1.5svh, 15px);
  position: absolute; inset: 0 0 0 calc(var(--gutter) + var(--side) + 2vw); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 11%); mask-image: linear-gradient(90deg, transparent 0, #000 11%);
}
.wall__lean {
  height: 100%;
  display: flex; flex-direction: column; justify-content: center; gap: var(--gap);
  rotate: -4deg; scale: 1.13;
}
.wall__row { display: flex; gap: var(--gap); width: max-content; }
.wall__group {
  flex: 0 0 auto; display: flex; gap: var(--gap);
  animation: wall var(--t, 80s) linear infinite; animation-play-state: paused;
}
.wall__row:nth-child(even) .wall__group { animation-direction: reverse; }
.wall.is-live .wall__group { animation-play-state: running; }
.wall.is-live:hover .wall__group { animation-play-state: paused; } /* hold still while someone is reading a logo */
@keyframes wall { to { transform: translateX(calc(-100% - var(--gap))); } }
.tile {
  position: relative; flex: 0 0 auto; overflow: hidden;
  width: var(--tile); height: var(--tile);
  display: grid; place-items: center;
  background: var(--c, #fff); color: var(--k, #000);
  border: 1.5px solid #000;
  filter: grayscale(1); /* black and white until hovered */
  transition: filter .25s linear;
}
.tile:hover { filter: none; }
.tile img { width: 76%; height: 60%; object-fit: contain; pointer-events: none; }
.tile img.is-edge { width: 100%; height: 100%; }
.tile img.is-fill { width: 100%; height: 100%; object-fit: cover; }
.tile b { /* the brand's name, shown while its logo is hovered */
  position: absolute; left: 0; right: 0; bottom: 0; padding: .35em .4em;
  background: #000; color: #fff; text-align: center;
  font-size: .62rem; font-weight: 700; line-height: 1.15;
  translate: 0 101%; transition: translate .2s var(--ease);
}
.tile:hover b { translate: 0 0; }
.tile--name em { /* a brand with no logo file: its name, set in type */
  padding: 0 7%; text-align: center; text-wrap: balance;
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: calc(var(--tile) * var(--fs, .2)); line-height: 1;
}
/* small hearts flying from her open hand towards the wall, each time the kiss is sent */
.hearts { position: absolute; left: 96%; top: 15%; width: 0; height: 0; pointer-events: none; }
.hearts i { position: absolute; left: 0; top: 0; width: calc(clamp(14px, 1.6vw, 24px) * var(--s)); opacity: 0; }
.hearts svg { display: block; width: 100%; fill: var(--red); stroke: none; }
.hearts.is-off i { animation: heart 2.300s cubic-bezier(.2, .6, .3, 1) both; animation-delay: calc(var(--n) * .1s); }
@keyframes heart {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.2); }
  14% { opacity: 1; transform: translate(calc(var(--dx) * 3vw), calc(var(--dy) * -2svh)) scale(1) rotate(calc(var(--w) * -12deg)); }
  75% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(var(--dx) * 22vw), calc(var(--dy) * -30svh + 6svh)) scale(.9) rotate(calc(var(--w) * 24deg)); }
}

/* ---------- "let's see some serious work" ---------- */
.serious { display: grid; align-content: center; padding: var(--top) var(--gutter) var(--foot); overflow: hidden; }
.serious__line {
  max-width: min(9.5em, calc(100vw - var(--gutter) * 2 - min(84svh, 58vw) * .34));
  font-family: var(--display); font-weight: 500;
  font-variation-settings: "opsz" 30; /* sturdier thin strokes, to sit with the "Hello" */
  font-size: clamp(3rem, min(11.5vw, 23svh), 13rem); line-height: .92; letter-spacing: -.03em;
}
.serious__line .w { /* each word comes into focus in turn */
  display: inline-block; opacity: 0; filter: blur(16px); translate: 0 .22em;
  transition: opacity .7s linear, filter 1s var(--ease), translate 1s var(--ease);
  transition-delay: calc(.15s + var(--n) * .13s);
}
.serious.is-seen .w { opacity: 1; filter: none; translate: 0 0; }
.serious__next {
  position: absolute; left: var(--gutter); bottom: var(--foot);
  display: grid; align-items: center; width: clamp(70px, 10vw, 150px); height: 44px;
}
.serious__next i { position: relative; display: block; height: 1.5px; background: currentColor; }
.serious__next i::after {
  content: ""; position: absolute; right: 0; top: 50%; width: 11px; height: 11px;
  border: solid currentColor; border-width: 1.5px 1.5px 0 0; translate: 0 -50%; rotate: 45deg;
}
.serious__next:hover i { scale: 1.12 1; transform-origin: left; }
.serious__next i { transition: scale .3s var(--ease); transform-origin: left; }

/* ---------- social: three cards ---------- */
.social, .decks { display: flex; flex-direction: column; }
.social__list {
  flex: 1 1 auto; min-height: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(10px, 3svh, 30px) var(--gutter) clamp(18px, 5svh, 48px);
}
.social__list li { min-height: 0; border-left: 1px solid var(--fg); }
.social__list li:first-child { border-left: 0; }
.feature {
  appearance: none; width: 100%; height: 100%; padding: 0 clamp(14px, 2.2vw, 36px);
  border: 0; background: none; cursor: pointer; text-align: left;
  display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: clamp(8px, 2svh, 22px);
}
.social__list li:first-child .feature { padding-left: 0; }
.social__list li:last-child .feature { padding-right: 0; }
.feature:focus-visible { outline-offset: 6px; }
/* three stills from the brand, fanned like cards in a hand */
.feature__fan { position: relative; min-height: 120px; }
.feature__fan img {
  position: absolute; left: 50%; top: 52%; height: 88%; aspect-ratio: 9 / 16; object-fit: cover;
  border: 1.5px solid var(--fg); border-radius: clamp(8px, 1.300svh, 14px); background: var(--fg);
  filter: grayscale(1);
  --o: calc(var(--n) - 1); /* -1, 0, 1 across the fan */
  transform: translate(-50%, -50%) translate(calc(var(--o) * 46%), calc(var(--o) * var(--o) * 5%)) rotate(calc(var(--o) * 7deg));
  transition: transform .55s var(--spring), filter .3s linear;
}
.feature__fan img:nth-child(2) { z-index: 1; }
.feature:hover .feature__fan img, .feature:focus-visible .feature__fan img {
  filter: none;
  transform: translate(-50%, -50%) translate(calc(var(--o) * 60%), calc(var(--o) * var(--o) * 7% - 3%)) rotate(calc(var(--o) * 11deg));
}
.feature__text { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1em; align-items: center; }
.feature__logo { --r: clamp(24px, 2.5vw, 36px); position: relative; grid-row: span 2; width: calc(var(--r) * 2); height: calc(var(--r) * 2); }
.feature__logo .badge__face { box-shadow: none; }
.feature:hover .badge__face, .feature:focus-visible .badge__face { filter: none; }
.feature__name { font-family: var(--display); font-style: italic; font-size: clamp(1.5rem, 2.5vw, 2.4rem); line-height: 1; }
.feature__role { margin-top: .35em; font-size: .82rem; font-weight: 600; line-height: 1.3; opacity: .8; }
.feature__facts {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em 1.300em;
  margin-top: .8em; padding-top: .6em; border-top: 1px solid var(--fg); font-size: .82rem; font-weight: 600;
}
.feature__facts b { margin-right: .15em; font-family: var(--display); font-size: 1.55em; font-weight: 500; }
.feature__go { margin-left: auto; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: underline; text-underline-offset: .25em; }

/* ---------- decks: square logo tiles ---------- */
.arena {
  position: relative; flex: 1 1 auto; min-height: 0;
  margin: clamp(10px, 3svh, 30px) var(--gutter) clamp(14px, 4svh, 40px);
}
.badge {
  position: absolute; left: 0; top: 0;
  width: calc(var(--r) * 2); height: calc(var(--r) * 2);
  padding: 0; border: 0; background: none;
  cursor: grab; user-select: none; -webkit-user-select: none;
  opacity: 0; transition: opacity .35s linear; will-change: transform;
}
.badge.is-in { opacity: 1; }
.badge.is-held { cursor: grabbing; z-index: 2; }
.badge__face {
  position: absolute; inset: 0; overflow: hidden;
  display: grid; place-items: center;
  background: var(--c, #fff); color: var(--k, #000);
  border: 2px solid var(--fg, #000);
  box-shadow: 6px 6px 0 var(--fg, #000);
  filter: grayscale(1); /* black and white until hovered */
  transition: filter .25s linear, translate .2s var(--ease), box-shadow .2s var(--ease);
}
/* on a black slide the tile keeps a black edge, so its white shadow reads as a shadow and not as part of the tile */
.panel[data-tone="dark"] .badge__face { border-color: #000; }
.badge:hover .badge__face, .badge:focus-visible .badge__face, .badge.is-held .badge__face { filter: none; }
.badge:hover .badge__face, .badge:focus-visible .badge__face { translate: -3px -3px; box-shadow: 9px 9px 0 var(--fg, #000); }
.badge.is-held .badge__face { translate: -5px -5px; box-shadow: 12px 12px 0 var(--fg, #000); }
.badge:focus-visible { outline: 3px solid var(--fg, #000); outline-offset: 10px; }
.badge__name {
  padding: 0 10%; text-align: center; text-wrap: balance;
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: calc(var(--r) * var(--fs, .36)); line-height: 1;
}
.badge__logo { width: 80%; height: 66%; object-fit: contain; pointer-events: none; }
.badge__logo--edge { width: 100%; height: 100%; } /* the tile shares the logo file's background, so it can run to the edges */
.badge__logo--fill { width: 100%; height: 100%; object-fit: cover; }

/* ---------- wins ---------- */
.wins { display: flex; align-items: center; padding: var(--top) var(--gutter) var(--foot); }
.wins__body { width: 100%; margin-left: calc(var(--desk) + clamp(28px, 6vw, 110px)); }
.wins__list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 72px);
  margin-top: clamp(20px, 5svh, 54px);
}
.wins__list li { padding: clamp(14px, 2.8svh, 28px) 0; border-top: 1px solid var(--fg); }
.wins__list h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.35rem, 2.3vw, 2.2rem); line-height: 1.08; }
.wins__list p { margin-top: .5em; max-width: 40ch; opacity: .85; }
.wins__list a { display: inline-block; margin-top: .7em; font-size: .85rem; font-weight: 800; text-underline-offset: .25em; }
.wins__list a:hover { text-decoration-thickness: 3px; }

/* ---------- the last slide ---------- */
.contact { display: flex; flex-direction: column; padding: var(--top) var(--gutter) 0; }
.contact__wrap {
  flex: 1 1 auto; min-height: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 5vw, 80px); align-items: center;
  padding-right: clamp(0px, 6vw, 110px);
}
.contact__line { margin-top: 1.1em; font-weight: 700; letter-spacing: .02em; }
.contact__email {
  display: inline-block; margin-top: .15em; overflow-wrap: anywhere;
  font-family: var(--display); font-size: clamp(1.5rem, 3.900vw, 4rem); line-height: 1.1;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em;
}
.contact__email:hover { text-decoration-thickness: 3px; }
.contact__list { display: flex; flex-wrap: wrap; gap: .5em 1.8em; margin-top: 1.6em; font-weight: 700; }
.contact__list a { text-underline-offset: .25em; }
.contact__list a:hover { text-decoration-thickness: 3px; }
.ticker {
  margin-inline: calc(var(--gutter) * -1); padding: .55em 0;
  overflow: hidden; white-space: nowrap;
  background: var(--fg); color: var(--bg);
  font-size: .95rem; font-weight: 800; font-style: italic; font-stretch: 112%;
  letter-spacing: .03em; text-transform: uppercase;
}
.ticker__run { display: inline-flex; animation: ticker 40s linear infinite; }
.ticker__run span { padding-right: 1.2em; }
@keyframes ticker { to { transform: translateX(-50%); } }
.contact__fine { padding: .9em 0; font-size: .8rem; opacity: .8; }

/* ---------- the brand room (grows out of its tile) ---------- */
.room {
  position: fixed; inset: 0; margin: 0; padding: 0; border: 0;
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  overflow: hidden;
  background: var(--bg, #fff); color: var(--fg, #000);
  clip-path: inset(var(--it, 50%) var(--ir, 50%) var(--ib, 50%) var(--il, 50%));
  transition: clip-path .6s cubic-bezier(.65, 0, .2, 1), background-color .4s, color .4s;
}
.room.is-open { clip-path: inset(0); }
.room::backdrop { background: transparent; }

.pill {
  appearance: none; cursor: pointer;
  padding: .55em 1.15em; border: 1.5px solid currentColor; border-radius: 999px; background: transparent;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.pill:hover { background: var(--fg, #000); color: var(--bg, #fff); border-color: var(--fg, #000); }
.pill--icon { display: grid; place-items: center; width: 2.9em; height: 2.9em; padding: 0; }
.pill--icon svg { width: 1.5em; height: 1.5em; stroke-width: 2; }

.room__bar {
  position: absolute; z-index: 2; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter);
}
.room__pager { display: flex; align-items: center; gap: .8em; font-size: .85rem; font-weight: 700; }
.room__body {
  position: absolute; inset: 0; padding-top: 70px;
  display: grid; grid-template-columns: minmax(290px, 33vw) minmax(0, 1fr); align-items: stretch;
  transition: opacity .18s linear;
}
.room__body.is-swapping { opacity: 0; }
/* her notes on the brand; they scroll on their own if there is more than fits */
.room__intro {
  min-height: 0; display: flex; overflow-y: auto; scrollbar-width: thin;
  scrollbar-color: var(--fg, #000) transparent;
  padding: 8px clamp(16px, 2vw, 32px) 28px var(--gutter);
}
.room__intro-in { margin-block: auto; width: 100%; }
.room__logo:empty { display: none; }
.room__logo {
  --r: clamp(30px, 3.200vw, 46px);
  position: relative; width: calc(var(--r) * 2); height: calc(var(--r) * 2); margin-bottom: 1.2rem;
}
.room__logo .badge__face { box-shadow: none; }
.room__logo:hover .badge__face { filter: none; }
.room__intro h2 {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: clamp(2.2rem, 4.400vw, 4.2rem); line-height: .98; overflow-wrap: anywhere;
}
.room__role:empty, .room__stats:empty, .room__block:empty { display: none; }
.room__role { margin-top: .9em; font-weight: 700; line-height: 1.3; }
.room__stats { display: flex; flex-wrap: wrap; gap: .4em 1.6em; margin-top: 1.1em; }
.room__stats li { display: flex; flex-direction: column; }
.room__stats b { font-family: var(--display); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1; }
.room__stats span { font-size: .78rem; font-weight: 600; }
.room__block { margin-top: 1.3em; max-width: 42ch; font-size: .95rem; }
.room__block h3 { margin-bottom: .4em; font-size: .7rem; font-weight: 800; font-stretch: 112%; letter-spacing: .09em; text-transform: uppercase; }
.room__block p + p { margin-top: .6em; }

.shelf {
  --h: clamp(230px, 52svh, 520px);
  align-self: center;
  display: flex; align-items: flex-start; gap: clamp(20px, 2.6vw, 44px);
  padding: 26px var(--gutter) 26px 12px;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: thin;
  scrollbar-color: var(--fg, #000) transparent;
}
.shelf__empty { font-weight: 600; }
.work, .shelf__label {
  opacity: 0; translate: 40px 0;
  transition: opacity .5s linear, translate .7s var(--ease);
  transition-delay: calc(.28s + min(var(--n), 12) * .05s);
}
.shelf.is-in .work, .shelf.is-in .shelf__label { opacity: 1; translate: 0 0; }
.shelf__label { /* names the row of work that follows it, written up the side */
  flex: 0 0 auto; height: var(--h);
  display: flex; align-items: flex-end;
  padding-right: clamp(8px, 1vw, 16px); border-right: 1px solid var(--fg, #000);
}
.shelf__label:not(:first-child) { margin-left: clamp(8px, 1.4vw, 26px); }
.shelf__label span {
  writing-mode: vertical-rl; rotate: 180deg; white-space: nowrap;
  font-size: .78rem; font-weight: 800; font-stretch: 114%; letter-spacing: .1em; text-transform: uppercase;
}
.work {
  --th: calc(var(--h) * var(--tall)); /* this tile's height */
  flex: 0 0 auto; width: max(calc(var(--th) * var(--ar)), 9.5rem);
  padding-top: calc(var(--h) - var(--th)); /* tiles of different heights stand on one line */
}
.shelf[data-count="1"] .work { --tall: .86; } /* a deck on its own gets a bigger tile */
.work__open {
  display: block; width: 100%; padding: 0; border: 0; background: none;
  text-align: left; text-decoration: none; cursor: pointer;
}
div.work__open { cursor: default; }
.work__tile {
  position: relative; display: grid; place-items: center; overflow: hidden;
  width: calc(var(--th) * var(--ar)); height: var(--th);
  background: var(--fg, #000); color: var(--bg, #fff);
  border: 1px solid var(--fg, #000); border-radius: 4px;
  transition: translate .3s var(--ease);
}
a.work__open:hover .work__tile { translate: 0 -8px; }
.work__tile img { /* covers are black and white until hovered, like the logos */
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1); transition: filter .3s linear;
}
.work__open:hover .work__tile img, .work__open:focus-visible .work__tile img { filter: none; }
.work__card { /* what stands behind every cover, and shows if there is none */
  position: absolute; inset: 0; padding: calc(var(--h) * .045);
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
}
.work__card small { font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.work__card em {
  display: block; overflow-wrap: anywhere; text-wrap: balance;
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: calc(var(--h) * .07); line-height: 1.04;
}
.work__card b { display: block; margin-top: .7em; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
/* The shape of a tile tells you what the piece is. */
.work--reel .work__tile { border-radius: calc(var(--h) * .05); }
.work--carousel .work__tile { /* more pages peek out behind the first */
  overflow: visible;
  box-shadow:
    9px -9px 0 -1px var(--bg, #fff), 9px -9px 0 0 color-mix(in srgb, var(--fg, #000) 60%, transparent),
    18px -18px 0 -1px var(--bg, #fff), 18px -18px 0 0 color-mix(in srgb, var(--fg, #000) 35%, transparent);
}
.work--carousel { width: max(calc(var(--th) * var(--ar) + 18px), 9.5rem); }
.work--reel .work__tile::after, .work--video .work__tile::after { /* play mark */
  content: ""; position: absolute; left: 50%; top: 50%; translate: -35% -50%;
  border-style: solid; border-color: transparent transparent transparent currentColor;
  border-width: calc(var(--h) * .035) 0 calc(var(--h) * .035) calc(var(--h) * .058);
  opacity: 0;
}
.work--reel .work__tile:has(img)::after, .work--video .work__tile:has(img)::after { opacity: 1; color: #fff; filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .6)); }
.work__views { display: block; margin-top: .6em; font-family: var(--display); font-size: 1.35rem; font-weight: 500; line-height: 1.1; }
.work__cta {
  display: inline-block; margin-top: .5em;
  font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: .25em;
}
.work__cta--none { text-decoration: none; opacity: .6; }
.work__note { margin-top: .3em; font-size: .9rem; opacity: .82; }

/* ---------- draft tab ---------- */
.draft-tab {
  position: fixed; left: 0; top: 50%; z-index: 40; translate: 0 -50%;
  writing-mode: vertical-rl; padding: .9em .35em;
  background: #000; color: #fff; border: 1px solid #fff; border-left: 0; border-radius: 0 4px 4px 0;
  font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  pointer-events: none;
}

/* ---------- small screens ---------- */
/* No travelling picture here: each slide stacks, and shows her in its own slot. */
@media (max-width: 820px) {
  :root { --desk: 0px; }
  .nav { top: 10px; padding: 4px; max-width: calc(100vw - 12px); overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: .6em .58em; font-size: .6rem; letter-spacing: .04em; font-stretch: 88%; }
  .nav__home span { width: 26px; height: 26px; }

  .slot--centre, .slot--desk, .slot--side, .slot--kiss { position: relative; left: auto; bottom: auto; translate: none; }

  .hello { --word: min(33vw, 22svh); --pop: calc(clamp(64px, 11svh, 110px) + var(--word) * .9); --tall: min(98svh, 210vw); }
  .hello__word { top: clamp(64px, 11svh, 110px); translate: 0 0; }
  .hello__links { left: auto; right: 10px; bottom: 18px; flex-direction: column; gap: 8px; }
  .hello__links a { width: 36px; height: 36px; }

  .about { display: block; }
  .about .slot { display: none; } /* she has just been seen on the first slide */
  .about__bio, .about__facts { max-width: none; }
  .about__facts { margin-top: 2.2em; }

  .journey { display: block; }
  .journey__cols { margin-left: 0; grid-template-columns: 1fr; gap: 2.2em; }
  .slot--desk, .slot--side { width: 100%; height: 32svh; margin-bottom: 1.6em; }

  .brands { display: flex; flex-direction: column; overflow: hidden auto; --side: 100%; }
  .brands__head { position: relative; left: auto; top: auto; width: auto; padding: var(--top) var(--gutter) 0; }
  .wall { position: relative; inset: auto; flex: 0 0 auto; padding: 4svh 0; --tile: min(12.5svh, 23vw); -webkit-mask-image: none; mask-image: none; }
  .wall__lean { height: auto; rotate: -3deg; scale: 1.08; }
  .slot--kiss { height: 34svh; margin: 0 auto 0 var(--gutter); }
  .slot--serious { height: 48svh; right: var(--gutter); }
  .serious { align-content: start; }
  .serious__line { max-width: none; }

  .head { flex-direction: column; align-items: flex-start; gap: .6rem; }
  .head p { max-width: none; text-align: left; }

  .social { display: block; }
  .social__list { grid-template-columns: 1fr; gap: 4svh; }
  .social__list li { border-left: 0; border-top: 1px solid var(--fg); padding-top: 3svh; }
  .social__list li:first-child { border-top: 0; padding-top: 0; }
  .feature { height: auto; padding: 0; grid-template-rows: 46svh auto; }

  .wins { display: block; }
  .wins__body { margin-left: 0; }
  .wins__list { grid-template-columns: 1fr; }

  .contact__wrap { grid-template-columns: 1fr; padding-right: 0; }
  .slot--bye { --h: 38svh; justify-self: center; order: -1; }

  .room__body { display: block; overflow-y: auto; padding-top: 74px; }
  .room__intro { display: block; overflow: visible; padding: 0 var(--gutter); }
  .room__logo { margin-bottom: 1rem; }
  .shelf { --h: clamp(190px, 38svh, 340px); padding: 26px var(--gutter) 34px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
  .room { clip-path: none; opacity: 0; }
  .room.is-open { clip-path: none; opacity: 1; }
  .serious__line .w { opacity: 1; filter: none; translate: 0 0; }
  .hearts i { opacity: 1; transform: translate(calc(var(--dx) * 9vw), calc(var(--dy) * -14svh)); }
  /* the wall stands still: every tile laid out once, in a block that scrolls down */
  .wall { overflow-y: auto; padding: var(--top) var(--gutter) var(--foot) 0; -webkit-mask-image: none; mask-image: none; }
  .wall__lean { height: auto; rotate: none; scale: none; flex-flow: row wrap; align-content: flex-start; justify-content: flex-start; }
  .wall__row, .wall__group { display: contents; }
  .wall__group[aria-hidden="true"] { display: none; }
}
