/* Love, From Los Feliz. Studio home.
   Institutional and quiet: one full-bleed photograph, a warm stone ground,
   a small serif for titles, pills for actions, pictures with soft corners.
   Display: Newsreader. Text: Hanken Grotesk. Both self-hosted. */

@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/newsreader-400.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/newsreader-500.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/newsreader-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/hankengrotesk-400.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/hankengrotesk-500.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/hankengrotesk-600.woff2") format("woff2"); }

:root {
  --stone: #f2ede9;
  --stone-2: #e7e0da;
  --ink: #1d1d1d;
  --body: #3d3b39;
  --grey: #66625f;
  --line: #d9d1ca;
  --black: #000000;
  --paper: #f7f7f7;
  --on-black: #f7f7f7;
  --on-black-2: #b9b6b3;
  --hair-black: #2e2e2e;
  --popin: #220b6c;

  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --text: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --r: clamp(20px, 2.4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--stone); color: var(--ink); font-family: var(--text); font-size: 1.125rem; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, figure, dl, dd, ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -0.03em; text-wrap: balance; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--paper); color: #000; padding: 12px 20px; border-radius: 999px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.on-dark :focus-visible { outline-color: #fff; }

/* Pills */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 500 1rem/1 var(--text); text-decoration: none; white-space: nowrap; transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease; }
.btn-black { background: var(--black); color: var(--on-black); }
.btn-black:hover { background: #2b2b2b; }
.btn-light { background: var(--paper); color: #000; }
.btn-light:hover { background: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--on-black); }
.out::after { content: "\2197"; font-size: 0.9em; }
.quiet { font-size: 1rem; color: var(--grey); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; }
.quiet:hover { color: var(--ink); text-decoration-color: var(--ink); }

/* Header: mark on the left, one capsule on the right */
.logo { position: absolute; z-index: 60; top: clamp(16px, 2.2vw, 28px); left: var(--gutter); display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); transition: color 0.25s ease; }
.logo.on-photo { color: #fff; }
.logo-mark { font: 400 2.75rem/0.8 var(--display); letter-spacing: -0.09em; padding-right: 3px; }
.logo-word { font: 400 1.0625rem/1.08 var(--display); letter-spacing: -0.015em; }
.logo-word span { display: block; }
.capsule { position: fixed; z-index: 60; top: clamp(14px, 2vw, 24px); right: var(--gutter); display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background: var(--paper); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12); }
.capsule a.nav-link { padding: 11px 16px; border-radius: 999px; font-size: 1rem; color: var(--ink); text-decoration: none; }
.capsule a.nav-link:hover { background: var(--stone-2); }
.capsule .btn { min-height: 42px; padding: 0 20px; margin-left: 4px; }

/* Hero: the photograph does the work */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; justify-content: center; background: #000; color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.82) 100%), radial-gradient(30% 60% at 100% 40%, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0) 100%), radial-gradient(30% 50% at 0% 40%, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0) 100%); }
.hero-in { text-align: center; padding: 0 var(--gutter) clamp(36px, 6vh, 64px); max-width: 980px; }
.hero h1 { font-size: clamp(2.125rem, 4.3vw, 4rem); line-height: 1.04; }
.hero .btn { margin-top: clamp(22px, 3vh, 32px); }

/* Sections */
.section { padding-block: clamp(80px, 10vw, 152px); }
.section-tight { padding-top: 0; }
.head { text-align: center; max-width: 780px; margin-inline: auto; }
.head h2 { font-size: clamp(2.25rem, 3.7vw, 3.375rem); line-height: 1.06; }
.head p { margin-top: 18px; font-size: clamp(1.125rem, 1.4vw, 1.25rem); color: var(--grey); }

/* What we make: three pictures, three captions */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); margin-top: clamp(40px, 5vw, 72px); }
.card { display: block; text-decoration: none; }
.card-media { display: block; position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--stone-2); }
.card-media > img.fill { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.1, 1); }
.card:hover .card-media > img.fill { transform: scale(1.03); }
.card-popin .card-media { background: linear-gradient(150deg, #170750, var(--popin) 45%, #3a25c2); }
.card-popin img { position: absolute; left: 50%; top: 12%; width: 44%; transform: translateX(-50%); border-radius: 18px; box-shadow: 0 24px 50px rgba(8, 2, 40, 0.55); transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.1, 1); }
.card-popin:hover img { transform: translateX(-50%) translateY(-3%); }
.card-pannall .card-media { background: #e6ebf5; }
.card-pannall img { position: absolute; left: 10%; top: 13%; width: 120%; max-width: none; border-radius: 10px; box-shadow: 0 20px 50px rgba(31, 60, 140, 0.18); transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.1, 1); }
.card-pannall:hover img { transform: translate(-2%, -2%); }
.card-name { display: block; margin-top: 18px; font: 400 1.5rem/1.2 var(--display); letter-spacing: -0.02em; }
.card-line { display: block; margin-top: 4px; font-size: 1rem; color: var(--grey); }
.card:hover .card-line { color: var(--ink); }

/* One product at a time */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 104px); align-items: center; }
.feature + .feature { margin-top: clamp(80px, 10vw, 152px); }
.feature.flip .feature-copy { order: 2; }
.feature h2 { font-size: clamp(2.25rem, 3.7vw, 3.375rem); line-height: 1.06; }
.feature .lead { margin-top: 14px; font: italic 400 clamp(1.375rem, 2vw, 1.75rem)/1.25 var(--display); letter-spacing: -0.012em; }
.feature .body { margin-top: 20px; color: var(--body); max-width: 30em; }
.feature .ask { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--grey); max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.figures { display: flex; gap: clamp(28px, 4vw, 56px); margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 30em; }
.figures div { display: flex; flex-direction: column-reverse; }
.figures dd { font: 400 clamp(2rem, 3vw, 2.75rem)/1 var(--display); letter-spacing: -0.03em; }
.figures dt { margin-top: 6px; font-size: 0.9688rem; color: var(--grey); }
.plate { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 7 / 6; }
.plate > img.fill { width: 100%; height: 100%; object-fit: cover; }
.plate-popin { background: linear-gradient(150deg, #170750, var(--popin) 42%, #3a25c2); }
.plate-popin img { position: absolute; width: 30%; border-radius: clamp(14px, 1.8vw, 24px); box-shadow: 0 30px 60px rgba(8, 2, 40, 0.55); }
.plate-popin img:nth-child(1) { left: 6%; top: 19%; }
.plate-popin img:nth-child(2) { left: 35%; top: 9%; }
.plate-popin img:nth-child(3) { left: 64%; top: 19%; }
.plate-pannall { background: #e6ebf5; }
.plate-pannall img { position: absolute; max-width: none; border-radius: 12px; background: #fff; box-shadow: 0 24px 60px rgba(31, 60, 140, 0.18); }
.plate-pannall img:nth-child(1) { left: 8%; top: 10%; width: 112%; }
.plate-pannall img:nth-child(2) { left: 34%; top: 46%; width: 96%; }

/* Hire the studio: one black room */
.room { background: var(--black); color: var(--on-black); border-radius: var(--r); padding: clamp(48px, 7vw, 112px) clamp(24px, 5vw, 88px); }
.room .head p { color: var(--on-black-2); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 56px); margin-top: clamp(48px, 6vw, 88px); }
.step { border-top: 1px solid var(--hair-black); padding-top: 22px; }
.step .n { font-size: 0.9375rem; color: var(--on-black-2); }
.step h3 { margin-top: 12px; font-size: clamp(1.5rem, 2.1vw, 1.875rem); line-height: 1.12; letter-spacing: -0.02em; }
.step p { margin-top: 10px; color: var(--on-black-2); font-size: 1.0625rem; }
.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.4vw, 56px); margin-top: clamp(40px, 5vw, 64px); padding-top: clamp(28px, 3.4vw, 44px); border-top: 1px solid var(--hair-black); }
.terms div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.terms dd { font: 400 clamp(2.25rem, 3.4vw, 3.25rem)/1 var(--display); letter-spacing: -0.03em; }
.terms dt { margin-top: 10px; font-size: 1.0313rem; color: var(--on-black-2); max-width: 22em; }
.room-close { margin-top: clamp(40px, 5vw, 64px); text-align: center; }
.room-close .quiet { display: block; margin-top: 16px; color: var(--on-black-2); text-decoration-color: var(--hair-black); }
.room-close .quiet:hover { color: #fff; text-decoration-color: #fff; }

/* How we work, and the two of us */
.wide { margin-top: clamp(40px, 5vw, 72px); }
.wide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 70%; border-radius: var(--r); }
.wide figcaption { margin-top: 14px; font-size: 1rem; color: var(--grey); text-align: center; }
.us { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 104px); align-items: center; }
.us-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.us h2 { font-size: clamp(2.25rem, 3.7vw, 3.375rem); line-height: 1.06; }
.bio { margin-top: clamp(28px, 3vw, 40px); padding-top: clamp(24px, 2.6vw, 32px); border-top: 1px solid var(--line); }
.bio h3 { font-size: clamp(1.625rem, 2.2vw, 2rem); line-height: 1.1; letter-spacing: -0.022em; }
.bio .role { margin-top: 4px; color: var(--grey); font-size: 1.0313rem; }
.bio .body { margin-top: 12px; color: var(--body); max-width: 31em; }
.bio .btn { margin-top: 18px; }

/* Footer */
.foot { background: var(--black); color: var(--on-black); }
.foot-in { padding-block: clamp(80px, 10vw, 152px) 36px; }
.valediction { text-align: center; font: italic 400 clamp(2.75rem, 7.4vw, 7rem)/0.98 var(--display); letter-spacing: -0.04em; }
.signed { margin-top: clamp(16px, 2vw, 26px); text-align: center; font: 400 clamp(1.125rem, 1.6vw, 1.375rem)/1.3 var(--display); color: var(--on-black-2); }
.foot-cta { margin-top: clamp(26px, 3vw, 36px); display: flex; justify-content: center; }
.foot-cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(72px, 9vw, 128px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--hair-black); font-size: 1rem; }
.foot-cols h3 { font: 400 1rem/1.4 var(--text); letter-spacing: 0; color: var(--on-black-2); margin-bottom: 12px; }
.foot-cols li + li { margin-top: 8px; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-id .logo-mark { display: block; font-size: 3.25rem; }
.foot-id p { margin-top: 16px; color: var(--on-black-2); max-width: 18em; }
.legal { margin-top: clamp(40px, 5vw, 64px); font-size: 0.9375rem; color: var(--on-black-2); }

/* Not found */
.lost { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter); }
.lost h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.04; }
.lost p { margin: 18px auto 0; color: var(--grey); max-width: 28em; }
.lost .btn { margin-top: 28px; }

/* One moment on load: the picture settles, then the line arrives. */
@media (prefers-reduced-motion: no-preference) {
  .hero-img { animation: settle 2.4s cubic-bezier(0.2, 0.7, 0.1, 1) both; }
  .hero-in { animation: arrive 1.1s ease 0.5s both; }
  @keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
  @keyframes arrive { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .logo, .card-media img { transition: none; }
}

@media (max-width: 1000px) {
  .capsule a.nav-link { display: none; }
  .capsule .btn { margin-left: 0; }
  .feature, .feature.flip, .us { grid-template-columns: 1fr; }
  .feature.flip .feature-copy { order: 0; }
  .steps, .terms { grid-template-columns: 1fr; gap: 28px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .us-photo { max-width: 520px; }
}
@media (max-width: 720px) {
  body { font-size: 1.0625rem; }
  .logo-mark { font-size: 2.375rem; }
  .logo-word { font-size: 1rem; }
  /* A landscape photograph cannot fill a tall phone without losing one of us, so it takes the top and the line sits beneath. */
  .hero { align-items: flex-end; }
  .hero-img { height: 72%; object-position: 50% 30%; }
  .hero::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 16%, rgba(0, 0, 0, 0) 46%, #000 72%); }
  .hero .btn { width: 100%; }
  .trio { grid-template-columns: 1fr; gap: 32px; }
  .actions .btn { flex: 1 1 100%; }
  .plate { aspect-ratio: 1 / 1; }
  .wide img { aspect-ratio: 4 / 3; }
  .foot-cols { grid-template-columns: 1fr; }
}

/* ---------- Second pass: show the thing while we talk about it ---------- */
@view-transition { navigation: auto; }

.btn-ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.on-dark .quiet { color: rgba(255, 255, 255, 0.78); text-decoration-color: rgba(255, 255, 255, 0.35); }
.on-dark .quiet:hover { color: #fff; text-decoration-color: #fff; }
.capsule a.nav-link[aria-current="true"] { background: var(--stone-2); }

/* Who we are: straight under the photograph */
.who { padding-block: clamp(56px, 7vw, 104px); }
.who-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.who-intro h2 { font-size: clamp(2.25rem, 3.7vw, 3.375rem); line-height: 1.06; }
.who-intro p { margin-top: 16px; font-size: clamp(1.125rem, 1.4vw, 1.25rem); color: var(--body); max-width: 30em; }
.who .bio { margin-top: 0; padding-top: 22px; }
.who .bio .quiet { display: inline-block; margin-top: 14px; color: var(--ink); }

/* Product scenes: each product fills the screen in its own colour, words and picture together */
.scene { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; min-height: 100svh; }
.scene-copy { align-self: center; padding: clamp(96px, 12vh, 140px) clamp(24px, 5vw, 88px) clamp(56px, 8vh, 96px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.scene-name { font: 400 clamp(1.375rem, 1.8vw, 1.625rem)/1.2 var(--display); letter-spacing: -0.02em; }
.scene h2 { margin-top: 14px; font-size: clamp(2.75rem, 5.2vw, 5rem); line-height: 0.98; letter-spacing: -0.035em; }
.scene-body { margin-top: 24px; max-width: 27em; font-size: clamp(1.125rem, 1.4vw, 1.25rem); }
.scene-visual { position: relative; min-height: 0; }
.scene-copy { position: relative; z-index: 2; }
.scene-popin { background: linear-gradient(150deg, #150648 0%, var(--popin) 40%, #3a25c2 100%); color: #fff; }
.scene-popin .scene-body { color: rgba(255, 255, 255, 0.82); }
.scene .phones img { position: absolute; width: 29%; border-radius: clamp(14px, 1.6vw, 24px); box-shadow: 0 40px 80px rgba(8, 2, 40, 0.6); }
.scene .phones img:nth-child(1) { left: 2%; top: 22%; }
.scene .phones img:nth-child(2) { left: 34%; top: 13%; }
.scene .phones img:nth-child(3) { left: 66%; top: 22%; }
.scene-pannall { background: #e6ebf5; color: var(--ink); }
.scene-pannall .scene-body { color: var(--body); }
.scene .screens img { position: absolute; max-width: none; border-radius: 14px; background: #fff; box-shadow: 0 30px 70px rgba(31, 60, 140, 0.2); }
.scene .screens img:nth-child(1) { left: 0; top: 13%; width: 92%; }
.scene .screens img:nth-child(2) { left: 22%; top: 47%; width: 82%; }
.scene-mml { background: #1b3bb0; color: #fff; }
.scene-mml .scene-body { color: rgba(255, 255, 255, 0.86); }
.scene-mml .figures { border-top-color: rgba(255, 255, 255, 0.28); }
.scene-mml .figures dt { color: rgba(255, 255, 255, 0.74); }
.scene .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* The picture moves a little as you pass it. Nothing else does. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .scene .phones img, .scene .screens img { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .scene .phones img:nth-child(2), .scene .screens img:nth-child(2) { animation-name: drift-far; }
    .scene .photo img { animation: breathe linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .frame img { animation: breathe linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes drift { from { transform: translateY(9%); } to { transform: translateY(-9%); } }
    @keyframes drift-far { from { transform: translateY(18%); } to { transform: translateY(-18%); } }
    @keyframes breathe { from { transform: scale(1.06); } to { transform: scale(1); } }
  }
}

/* Just the beginning */
.begin { max-width: 860px; margin-inline: auto; text-align: center; }
.begin h2 { font-size: clamp(2.5rem, 4.6vw, 4.25rem); line-height: 1.02; letter-spacing: -0.034em; }
.begin p { margin-top: 22px; font-size: clamp(1.125rem, 1.5vw, 1.3125rem); color: var(--body); }
.card-kicker { display: block; margin-top: 18px; font-size: 0.9688rem; color: var(--grey); }
.card-kicker + .card-name { margin-top: 4px; }
.lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); padding-top: clamp(24px, 3vw, 36px); }
.lanes dt { font: 400 clamp(1.5rem, 2.1vw, 1.875rem)/1.12 var(--display); letter-spacing: -0.022em; }
.lanes dd { margin-top: 6px; color: var(--grey); }
.lanes-more { margin-top: clamp(28px, 3.4vw, 44px); color: var(--grey); }
.lanes-more .quiet { color: var(--ink); }

/* The photograph that opens the studio section carries its own words */
.frame { position: relative; overflow: hidden; border-radius: var(--r) var(--r) 0 0; color: #fff; }
.frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.88) 100%); }
.frame figcaption { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(24px, 5vw, 88px); padding-bottom: clamp(24px, 4vw, 56px); }
.frame h2 { font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1.02; letter-spacing: -0.034em; }
.frame p { margin-top: 14px; max-width: 34em; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); color: rgba(255, 255, 255, 0.86); }
.frame + .room { border-radius: 0 0 var(--r) var(--r); }

/* Essays */
.progress { position: fixed; z-index: 70; left: 0; top: 0; height: 3px; width: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }
.essay-head { text-align: center; padding-top: clamp(128px, 16vw, 200px); max-width: 1000px; }
.essay-kicker { font-size: 1rem; color: var(--grey); }
.essay-kicker a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 5px; }
.essay-kicker a:hover { color: var(--ink); text-decoration-color: var(--ink); }
.essay-head h1 { margin-top: 18px; font-size: clamp(2.75rem, 6.4vw, 5.75rem); line-height: 0.98; letter-spacing: -0.038em; }
.essay-dek { margin: 24px auto 0; max-width: 28em; font: italic 400 clamp(1.375rem, 2.2vw, 1.875rem)/1.25 var(--display); letter-spacing: -0.012em; color: var(--body); }
.essay-by { margin-top: 22px; font-size: 1rem; color: var(--grey); }
.essay-figure { margin-top: clamp(40px, 5vw, 72px); }
.essay-figure .plate { aspect-ratio: 16 / 9; }
.essay-figure .plate-popin img { width: 20%; }
.essay-figure .plate-popin img:nth-child(1) { left: 18%; top: 16%; }
.essay-figure .plate-popin img:nth-child(2) { left: 40%; top: 7%; }
.essay-figure .plate-popin img:nth-child(3) { left: 62%; top: 16%; }
.essay-figure .plate-pannall img:nth-child(1) { left: 6%; top: 9%; width: 62%; }
.essay-figure .plate-pannall img:nth-child(2) { left: 40%; top: 30%; width: 56%; }
.essay-body { width: 100%; max-width: calc(41rem + 2 * var(--gutter)); margin-inline: auto; padding: clamp(40px, 5vw, 72px) var(--gutter) 0; font: 400 clamp(1.25rem, 1.6vw, 1.375rem)/1.6 var(--display); color: var(--ink); }
.essay-body p + p { margin-top: 1.05em; }
.essay-body h2 { margin: 2em 0 0.6em; font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: 1.1; letter-spacing: -0.026em; }
.essay-body h2 + p { margin-top: 0; }
.essay-body blockquote { margin: 1.6em 0; padding: 0 0 0 clamp(18px, 2.4vw, 28px); border-left: 2px solid var(--ink); }
.essay-body blockquote p { font: italic 400 clamp(1.75rem, 3vw, 2.5rem)/1.14 var(--display); letter-spacing: -0.02em; }
.essay-end { margin-top: clamp(36px, 4vw, 56px); font-family: var(--text); }
.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); margin-top: clamp(40px, 5vw, 64px); }
.more a { display: block; height: 100%; padding: 24px 0 0; border-top: 1px solid var(--ink); text-decoration: none; }
.more-kicker { display: block; font-size: 0.9688rem; color: var(--grey); }
.more-title { display: block; margin-top: 6px; font: 400 clamp(1.5rem, 2.1vw, 1.875rem)/1.12 var(--display); letter-spacing: -0.022em; }
.more a:hover .more-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

@media (max-width: 1000px) {
  .who-grid { grid-template-columns: 1fr 1fr; }
  .who-intro { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  /* On a small screen the picture comes first, then the words, inside the same colour. */
  .scene { grid-template-columns: 1fr; min-height: 0; }
  .scene-visual { order: -1; height: 58vh; height: 58svh; min-height: 380px; }
  .scene-copy { padding: clamp(28px, 6vw, 48px) var(--gutter) clamp(48px, 9vw, 72px); }
  .scene .phones img { width: 30%; }
  .scene .phones img:nth-child(1) { left: 3%; top: 20%; }
  .scene .phones img:nth-child(2) { left: 35%; top: 10%; }
  .scene .phones img:nth-child(3) { left: 67%; top: 20%; }
  .scene .screens img:nth-child(1) { left: 6%; top: 16%; width: 112%; }
  .scene .screens img:nth-child(2) { left: 30%; top: 50%; width: 96%; }
  .scene-visual { overflow: hidden; overflow: clip; }
}
@media (max-width: 720px) {
  .who-grid { grid-template-columns: 1fr; }
  .lanes, .more { grid-template-columns: 1fr; }
  .lanes div + div { border-top: 1px solid var(--line); padding-top: 18px; }
  .frame img { aspect-ratio: 3 / 4; object-position: 42% 50%; }
  .frame + .room { border-radius: 0 0 var(--r) var(--r); }
  .essay-figure .plate { aspect-ratio: 1 / 1; }
  .essay-figure .plate-popin img { width: 30%; }
  .essay-figure .plate-popin img:nth-child(1) { left: 6%; top: 19%; }
  .essay-figure .plate-popin img:nth-child(2) { left: 35%; top: 9%; }
  .essay-figure .plate-popin img:nth-child(3) { left: 64%; top: 19%; }
  .essay-figure .plate-pannall img:nth-child(1) { left: 8%; top: 10%; width: 112%; }
  .essay-figure .plate-pannall img:nth-child(2) { left: 34%; top: 46%; width: 96%; }
}

/* The mark rides at the top of the page. Once you scroll, a small one joins the capsule. */
.capsule-home { display: none; align-items: center; padding: 0 12px 2px 14px; font: 400 1.625rem/1 var(--display); letter-spacing: -0.09em; text-decoration: none; color: var(--ink); }
.scrolled .capsule-home { display: inline-flex; }

@media (min-width: 761px) and (max-width: 1100px) {
  .scene-copy { padding-right: 28px; }
  .scene h2 { font-size: clamp(2.25rem, 4.6vw, 3.25rem); }
  .scene-body { font-size: 1.0625rem; }
  .scene .actions .btn { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
}

/* Pop In moments, drawn in the page instead of pasted in as screenshots */
.moments { container-type: inline-size; }
.m-card { position: absolute; display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; color: #15123a; border-radius: clamp(22px, 5cqw, 36px); box-shadow: 0 40px 90px rgba(8, 2, 40, 0.55), 0 2px 6px rgba(8, 2, 40, 0.2); font-family: var(--text); }
.m-presence { left: 5%; top: 11%; width: 43%; padding: 7cqw 3cqw 6cqw; transform: rotate(-2.5deg); }
.m-plan { right: 3%; bottom: 9%; width: 50%; padding: 4.4cqw; align-items: stretch; text-align: left; transform: rotate(2deg); }
.m-avatar { display: inline-grid; place-items: center; flex: none; width: 8cqw; height: 8cqw; border-radius: 50%; background: #5b43e0; color: #fff; font: 600 3.4cqw/1 var(--text); }
.m-avatar.m-big { width: 18cqw; height: 18cqw; font-size: 7.4cqw; background: linear-gradient(140deg, #6a54f0, #2a1596); }
.m-avatar.m-small { width: 5.4cqw; height: 5.4cqw; font-size: 2.6cqw; }
.m-live { box-shadow: 0 0 0 0.9cqw #fff, 0 0 0 1.8cqw #2fd27a, 0 0 0 4.4cqw rgba(47, 210, 122, 0.22); }
.m-c2 { background: #e2725b; } .m-c3 { background: #2f9d8f; } .m-c4 { background: #d99a2b; } .m-c5 { background: #3d7fe0; } .m-c6 { background: #8a5fd6; }
.m-now { margin-top: 5.5cqw; font-size: 2.6cqw; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #1fae63; }
.m-title { margin-top: 1.2cqw; font: 700 4.4cqw/1.1 var(--text); letter-spacing: -0.02em; }
.m-sub { margin-top: 1.6cqw; font-size: 2.7cqw; color: #6a6884; }
.m-chip { position: absolute; display: inline-flex; align-items: center; gap: 1.4cqw; padding: 1.3cqw 2.6cqw 1.3cqw 1.3cqw; border-radius: 999px; background: #fff; font-size: 2.7cqw; font-weight: 600; box-shadow: 0 10px 26px rgba(8, 2, 40, 0.3); white-space: nowrap; }
.m-chip-a { left: -11%; top: 30%; }
.m-chip-b { left: -5%; bottom: -5%; }
.m-tags { display: flex; flex-wrap: wrap; gap: 1.4cqw; }
.m-tags span { padding: 1.3cqw 2.4cqw; border-radius: 999px; background: #ece9ff; color: #4a36c9; font-size: 2.5cqw; font-weight: 600; }
.m-plan .m-title { margin-top: 3.2cqw; }
.m-cells { display: grid; grid-template-columns: 1fr 1fr; margin-top: 3cqw; border: 1px solid #e4e2f0; border-radius: 3cqw; }
.m-cells span { padding: 2.2cqw 2.2cqw; font-size: 2.6cqw; font-weight: 700; white-space: nowrap; }
.m-cells span + span { border-left: 1px solid #e4e2f0; }
.m-cells em { display: block; margin-bottom: 0.8cqw; font-style: normal; font-weight: 500; font-size: 2.4cqw; color: #8280a0; }
.m-who { margin-top: 3.4cqw; font-size: 2.7cqw; font-weight: 700; }
.m-people { display: flex; gap: 3cqw; margin-top: 2cqw; }
.m-people > span { display: flex; flex-direction: column; align-items: center; gap: 1cqw; font-size: 2.4cqw; color: #6a6884; }
.card-popin .m-presence { left: 50%; top: 50%; width: 62%; transform: translate(-50%, -50%) rotate(-2.5deg); }
.essay-figure .plate-popin .m-presence { left: 16%; top: 12%; width: 30%; padding: 5cqw 3cqw 4cqw; }
.essay-figure .plate-popin .m-plan { right: 14%; bottom: 10%; width: 34%; padding: 3cqw; }
.essay-figure .plate-popin .m-avatar.m-big { width: 12cqw; height: 12cqw; font-size: 5cqw; }
.essay-figure .plate-popin .m-avatar { width: 4.6cqw; height: 4.6cqw; font-size: 2cqw; }
.essay-figure .plate-popin .m-avatar.m-small { width: 3.2cqw; height: 3.2cqw; font-size: 1.5cqw; }
.essay-figure .plate-popin .m-now { font-size: 1.5cqw; margin-top: 3cqw; }
.essay-figure .plate-popin .m-title { font-size: 3cqw; }
.essay-figure .plate-popin .m-sub, .essay-figure .plate-popin .m-cells span { font-size: 1.8cqw; }
.essay-figure .plate-popin .m-chip, .essay-figure .plate-popin .m-who { font-size: 1.6cqw; }
.essay-figure .plate-popin .m-tags span, .essay-figure .plate-popin .m-cells em, .essay-figure .plate-popin .m-people > span { font-size: 1.5cqw; }
@media (prefers-reduced-motion: no-preference) {
  .m-live { animation: live 2.6s ease-in-out infinite; }
  @keyframes live { 50% { box-shadow: 0 0 0 0.9cqw #fff, 0 0 0 1.8cqw #2fd27a, 0 0 0 6.6cqw rgba(47, 210, 122, 0); } }
  @supports (animation-timeline: view()) {
    .scene .m-presence { animation: m-a linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .scene .m-plan { animation: m-b linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes m-a { from { transform: translateY(10%) rotate(-2.5deg); } to { transform: translateY(-10%) rotate(-2.5deg); } }
    @keyframes m-b { from { transform: translateY(16%) rotate(2deg); } to { transform: translateY(-16%) rotate(2deg); } }
  }
}
@media (max-width: 760px) {
  .scene .m-presence { left: 6%; top: 8%; width: 44%; }
  .scene .m-plan { right: 3%; bottom: 6%; width: 51%; }
}
