@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/Archivo.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%;
  font-display: swap;
}
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/InstrumentSerif.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/InstrumentSans.woff2") format("woff2");
  font-weight: 400 600;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --ink: #1c1c1a;
  --ink-2: #6b6a65;
  --line: #e9e7e2;
  --blue: #2a6fd8;
  --yellow: #eab23c;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.3, .7, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.1875rem/1.5 "Instrument Sans", system-ui, sans-serif;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2 { font-weight: 500; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: #fbe7b6; }

/* The artwork lives on a fixed canvas behind everything; the white centre keeps it off the words. */
.field { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.bar, main, .foot { position: relative; z-index: 1; }

.bar { position: absolute; inset: 0 0 auto; display: flex; justify-content: center; padding: 28px var(--gutter); }
/* The lockup: chrome clip P + "holio" in Instrument Sans 600. "holio" sits at the old 1.375rem text size. */
.mark { display: block; line-height: 0; text-decoration: none; padding: 11px 8px; margin: -11px -8px; }
.mark img { display: block; width: auto; height: 1.75rem; }

/* ---------- one action ---------- */

.cta {
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 28px;
  border: 0; border-radius: 999px;
  background: var(--ink); color: #fff;
  font: 500 1.0625rem/1 "Instrument Sans", system-ui, sans-serif;
  letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
/* The artwork's soft coloured rim, borrowed for one moment. */
.cta:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1.5px rgba(42, 111, 216, .9), inset 0 0 18px rgba(42, 111, 216, .55), 0 10px 28px -14px rgba(42, 111, 216, .7);
}
.cta:active { transform: none; }

/* ---------- arrive ---------- */

.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px var(--gutter) 96px;
}
.hero h1 {
  font-size: clamp(3rem, 7.3vw, 7.25rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  max-width: 7.6em;
}
.lede { margin-top: 28px; color: var(--ink-2); font-size: clamp(1.1875rem, 1.5vw, 1.375rem); }
.hero .cta { margin-top: 40px; }

/* The headline settles in as the artwork arrives. */
.js .rise { opacity: 0; transform: translateY(14px); }
.js .arrived .rise { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.4s var(--ease); }
.js .arrived .rise:nth-child(2) { transition-delay: .12s; }
.js .arrived .rise:nth-child(3) { transition-delay: .24s; }

/* ---------- make room ---------- */

/* Art pieces in flight, between the artwork and Noor's cover. */
.flight { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }

.room { position: relative; height: 680svh; }
.room-stage {
  position: sticky; top: 0;
  height: 100svh;
  display: grid; place-items: center;
  overflow: hidden;
}

/* Whose page this is: one line at a time, the next rising as the last one leaves. */
.room-copy {
  position: absolute; left: var(--gutter); bottom: clamp(56px, 12vh, 120px);
  display: grid; width: min(15em, 30vw);
}
.who { grid-area: 1 / 1; }
.who h2 { font-size: clamp(2.4rem, 4.4vw, 4.25rem); line-height: 1; letter-spacing: -0.04em; }
.who p { margin-top: 18px; color: var(--ink-2); max-width: 17em; }
.js .who > * { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.js .who.gone > * { transform: translateY(-16px); }
.js .who.on > * { opacity: 1; transform: none; transition-delay: .18s; }
.js .who.on > p { transition-delay: .3s; }

/* A phone, holding real Pholio pages: your scroll scrolls their page. */
.phone {
  --rise: 1;
  position: relative;
  height: min(calc(100svh - 72px), 800px);
  aspect-ratio: 410 / 864;
  padding: 10px;
  border-radius: 54px;
  background: #121211;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 60px 100px -60px rgba(28, 28, 26, .55);
}
.room .phone { transform: translateY(calc(var(--rise) * 75svh)); will-change: transform; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: #f3f1ec; }
/* Example pages, drawn the way Pholio's templates draw a creator: a 390px phone page,
   scaled to the screen, and moved by the room's scroll. */
.fpage {
  --g: #111; --p: #f3f1ec; --d: #9a978f; --a: #f3f1ec; --on: #111;
  position: absolute; left: 0; top: 0; width: 390px;
  transform-origin: 0 0; transform: scale(var(--s, 1)) translateY(var(--ty, 0px));
  background: var(--g); color: var(--p);
  font: 400 15px/1.35 "Instrument Sans", system-ui, sans-serif;
  padding-bottom: 40px;
  opacity: 0; transition: opacity .55s var(--ease);
}
.fpage.on { opacity: 1; }
.fpage.landing { opacity: var(--arrive, 0); transition: none; }
.fpage.landing .fp-photo .fp-art { opacity: 0; }
.fp-photo { position: relative; height: 422px; overflow: hidden; }
.fp-photo .fp-art { position: absolute; inset: 0; width: 100%; height: 100%; background: color-mix(in srgb, var(--p) 6%, var(--g)); }
.fp-photo::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--g) 70%, transparent) 55%, var(--g)); }
.fp-name { position: relative; z-index: 1; }
.fp-handle { padding: 0 20px; margin-top: 8px; color: var(--d); }
.fp-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 20px 0; }
.fp-buttons.one { grid-template-columns: auto; justify-content: start; }
.fb {
  display: grid; place-items: center; height: 46px; padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--p) 40%, transparent);
  font-weight: 500; font-size: 14px; white-space: nowrap;
}
.fb.fill { background: var(--a); color: var(--on); border-color: var(--a); }
.fb.wide { margin: 16px 20px 0; }
.fp-socials { display: flex; gap: 18px; margin: 12px 20px 0; }
.fp-socials svg { width: 22px; height: 22px; }
.fp-sec { margin: 26px 20px 12px; font-size: 17px; font-weight: 600; }
.fp-strip { overflow: hidden; }
.fp-shop { display: flex; gap: 10px; padding-left: 20px; width: max-content; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translateX(-150px); } }
.fp-shop li { width: 132px; }
.fp-shop .fp-art { display: block; width: 132px; height: 176px; background: color-mix(in srgb, var(--p) 8%, var(--g)); }
.fp-shop b { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; }
.fp-shop i { display: block; font-style: normal; font-size: 12px; color: var(--d); }
.fp-work { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 6px; }
.fp-work .fp-art { width: 100%; height: 150px; background: color-mix(in srgb, var(--p) 8%, var(--g)); }
.fp-mission { margin: 18px 20px 0; font: 700 26px/1.06 "Archivo", sans-serif; letter-spacing: -0.02em; }
.fp-brands { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 0 20px; font: 800 15px "Archivo", sans-serif; letter-spacing: .02em; color: color-mix(in srgb, var(--p) 75%, transparent); }
.fp-brands li:nth-child(2n) { font-family: "Instrument Serif", serif; font-weight: 400; font-size: 18px; letter-spacing: 0; }
.fp-brands li:nth-child(3n) { font-stretch: 70%; font-weight: 900; }
.fp-more { margin: 10px 20px 0; font-size: 13px; color: var(--d); }

/* Campaign: the photo is half the phone, the name set straight on it. */
.t-campaign .fp-name {
  position: absolute; left: 20px; right: 20px; bottom: 6px;
  font: 800 62px/.88 "Archivo", sans-serif; letter-spacing: -0.02em;
}
.t-campaign .fp-name span { display: block; }

/* Soft: a rounded photo, the name in an italic serif, everything in pills. */
.t-soft { --g: #f6e4e6; --p: #3a1d24; --d: #8b6b71; --a: #3a1d24; --on: #f6e4e6; padding-top: 14px; }
.t-soft .fp-photo { height: 380px; margin: 0 14px; border-radius: 28px; }
.t-soft .fp-photo::after { display: none; }
.t-soft .fp-name { margin: 18px 20px 0; font: italic 400 54px/1 "Instrument Serif", serif; letter-spacing: -0.01em; }
.t-soft .fp-handle { margin-top: 6px; }
.t-soft .fb { border-radius: 999px; }
.t-soft .fp-shop .fp-art { border-radius: 18px; }
.t-soft .fp-mission { font: italic 400 32px/1.08 "Instrument Serif", serif; }

/* Magazine: the first name as a masthead, cover lines on the photo. */
.t-magazine { --g: #121212; --p: #f3eee4; --d: #a29b8e; --a: #e83c1f; --on: #fff; }
.t-magazine .fp-photo { height: 640px; }
.t-magazine .fp-photo::after { inset: 55% 0 0; }
.fp-kicker { position: absolute; z-index: 1; top: 18px; left: 20px; font: 800 12px "Archivo", sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.fp-mast { position: absolute; z-index: 1; top: 30px; left: 14px; right: 14px; font: 900 196px/.8 "Archivo", sans-serif; font-stretch: 62%; letter-spacing: -0.02em; text-align: center; }
.fp-lines { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 26px; display: grid; gap: 14px; }
.fp-lines p { display: grid; max-width: 70%; }
.fp-lines p:nth-child(2) { justify-self: end; text-align: right; }
.fp-lines span { font: 800 11px "Archivo", sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--d); }
.fp-lines b { font: 900 24px/.95 "Archivo", sans-serif; font-stretch: 70%; text-transform: uppercase; }
.fp-lines i { font-style: normal; font-size: 12px; color: var(--d); }
.fp-shopbar { display: block; margin: 12px 20px 0; padding: 14px 18px; background: var(--a); color: var(--on); font: 900 30px/1 "Archivo", sans-serif; font-stretch: 70%; letter-spacing: .01em; text-transform: uppercase; }
.fp-quote { margin: 18px 20px 6px; font: italic 400 21px/1.2 "Instrument Serif", serif; }

/* Artist: the name centred on the photo, picks as a list. */
.t-artist { --g: #eef0e6; --p: #1f3a26; --d: #6b7a6d; --a: #1f5a31; --on: #fff; text-align: center; }
.t-artist .fp-name { position: absolute; left: 20px; right: 20px; bottom: 10px; font: 400 50px/1 "Instrument Serif", serif; }
.t-artist .fb { border-radius: 999px; }
.t-artist .fp-socials { justify-content: center; }
.fp-picks-head { display: flex; justify-content: space-between; align-items: baseline; margin: 0 20px; }
.fp-picks-head .fp-sec { margin-left: 0; margin-right: 0; }
.fp-picks-head span { font-size: 13px; color: var(--d); }
.fp-picks { margin: 0 20px; text-align: left; }
.fp-picks li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid color-mix(in srgb, var(--p) 12%, transparent); }
.fp-picks .fp-art { width: 52px; height: 52px; background: color-mix(in srgb, var(--p) 8%, var(--g)); }
.fp-picks b { display: block; font-size: 14px; font-weight: 600; }
.fp-picks i { display: block; font-style: normal; font-size: 12px; color: var(--d); }
.fp-picks em { font-style: normal; font-size: 12px; color: var(--d); }
.t-artist .fp-mission { font: 400 30px/1.08 "Instrument Serif", serif; }
.t-artist .fp-brands { justify-content: center; }

/* Notes annotate Noor's page, one per beat, like an anatomy drawing. */
.notes li {
  position: absolute; width: 15em;
  font-size: .9375rem; line-height: 1.4; color: var(--ink);
  opacity: 0; transform: translateY(8px);
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.notes li[data-side="left"] { text-align: right; }
.notes li.on { opacity: 1; transform: none; }
.leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.leaders line { stroke: var(--ink); stroke-width: 1; stroke-dasharray: var(--len) var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset .8s var(--ease); }
.leaders line.on { stroke-dashoffset: 0; }
.leaders circle { fill: var(--ink); opacity: 0; transition: opacity .4s var(--ease) .5s; }
.leaders circle.on { opacity: 1; }

/* Whose page, of four. */
.people-pips {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; gap: 8px;
  opacity: 0; transition: opacity .6s var(--ease);
}
.people-pips.on { opacity: 1; }
.people-pips li { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .4s var(--ease), width .4s var(--ease); }
.people-pips li.on { width: 22px; border-radius: 3px; background: var(--ink); }

/* ---------- yours ---------- */

.claim {
  min-height: 100svh;
  display: grid; grid-template-columns: minmax(0, 330px) auto;
  justify-content: center; align-items: center;
  gap: clamp(32px, 4vw, 64px);
  padding: 120px var(--gutter);
}
.claim-copy { min-width: 0; }
.claim h2 { font-size: clamp(3rem, 5.4vw, 5.25rem); line-height: .95; letter-spacing: -0.05em; }
.claim-copy > p:not(.claim-note) { margin-top: 20px; color: var(--ink-2); }
.claim-form {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: 32px;
}
.claim-field {
  display: flex; align-items: center; height: 56px; padding: 0 20px;
  border-radius: 999px; background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  font-size: 1.0625rem; cursor: text;
  transition: box-shadow .4s var(--ease);
}
.claim-field:focus-within { box-shadow: 0 0 0 1.5px var(--ink); }
.claim-prefix { color: var(--ink-2); }
.claim-field input {
  flex: 1; min-width: 0; width: 0; height: 100%;
  border: 0; outline: 0; padding: 0; margin: 0;
  background: transparent; color: var(--ink);
  font: 500 1.0625rem "Instrument Sans", system-ui, sans-serif;
}
.claim-field input::placeholder { color: #b4b2ab; font-weight: 400; }
.claim-form .cta { width: 100%; }
.claim-note { margin-top: 14px; min-height: 3em; font-size: .9375rem; color: var(--ink-2); }
/* Yours, as the Campaign template draws a page before anything's added. */
.phone-yours { height: min(calc(100svh - 120px), 720px); }
.yours {
  --y-ground: #f2efe9; --y-paper: #161616; --y-dim: #77736b; --y-accent: #2a6fd8; --y-on: #fff;
  display: flex; flex-direction: column;
  background: var(--y-ground); color: var(--y-paper);
  transition: background-color .6s var(--ease);
}
.y-photo { position: relative; height: 50%; flex: none; overflow: hidden; }
.y-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.y-photo::after {
  content: ''; position: absolute; inset: 40% 0 0;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--y-ground) 70%, transparent) 55%, var(--y-ground));
}
.y-photo-hint {
  position: absolute; top: 44px; left: 50%; transform: translateX(-50%); z-index: 1;
  padding: 6px 12px; border-radius: 999px;
  border: 1.5px dashed color-mix(in srgb, var(--y-paper) 35%, transparent);
  background: color-mix(in srgb, var(--y-ground) 70%, transparent);
  font-size: .75rem; color: var(--y-dim);
}
.y-name {
  position: absolute; left: 18px; right: 18px; bottom: 6px; z-index: 1;
  font-family: "Archivo", "Instrument Sans", sans-serif; font-weight: 800; font-stretch: 100%;
  font-size: clamp(2.2rem, 5.6vh, 3.1rem); line-height: .88; letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}
.y-name span { display: block; }
.y-handle { margin: 8px 18px 0; font-size: .8125rem; color: var(--y-dim); }
.y-handle b { font-weight: 500; color: var(--y-paper); }
.y-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 18px 0; }
.y-btn {
  display: grid; place-items: center; height: 40px;
  border: 1px solid color-mix(in srgb, var(--y-paper) 35%, transparent);
  font-size: .8125rem; font-weight: 500;
}
.y-fill { background: var(--y-accent); color: var(--y-on); border-color: var(--y-accent); transition: background-color .6s var(--ease); }
.y-shop-title { margin: 18px 18px 0; font-size: .9375rem; font-weight: 600; }
.y-shop { display: flex; gap: 8px; margin: 10px 0 0 18px; }
.y-shop li {
  flex: none; width: 38%; aspect-ratio: 2 / 3;
  border: 1.5px dashed color-mix(in srgb, var(--y-paper) 25%, transparent);
}

.foot { display: flex; justify-content: center; padding: 0 var(--gutter) 40px; font-size: .875rem; color: var(--ink-2); }

/* ---------- smaller screens ---------- */

@media (max-width: 1099px) {
  .notes, .leaders { display: none; }
  .room-copy { position: static; width: auto; text-align: center; margin-bottom: 24px; }
  .who p { margin-inline: auto; }
  .room-stage { display: flex; flex-direction: column; justify-content: flex-start; align-items: center; padding: 84px var(--gutter) 24px; }
  .room .phone { height: min(calc(100svh - 84px - var(--copy-h, 120px) - 40px), 640px); }
  .claim { grid-template-columns: minmax(0, 420px); justify-items: center; text-align: center; }
  .claim-copy > p:not(.claim-note) { margin-inline: auto; }
}
@media (max-width: 719px) {
  .who h2 { font-size: 2.25rem; }
  .who p { font-size: 1.0625rem; margin-top: 10px; }
  .hero, .claim { padding-inline: 40px; }
  .phone-yours { height: auto; width: calc(100vw - 84px); }
  .people-pips { bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .rise, .notes li, .js .who > * { transition: none; }
  .js .rise { opacity: 1; transform: none; }
  .room .phone { transform: none; }
  .leaders line { stroke-dashoffset: 0; transition: none; }
  .leaders circle { opacity: 1; transition: none; }
  .fpage, .cta, .people-pips li { transition: none; }
  .fp-shop { animation: none; }
}
