/* Q4 Portrait Day: the interest list page
   Type: Archivo (expanded heavy display, rhymes with the JOE FRIEND wordmark) + Newsreader (editorial serif).
   Color: warm neutrals only, light throughout. The photographs carry the color.
   Shape: square corners everywhere. Radius is 0 by rule.
   Layers: nav 40, mobile bar 45, review notes 60. Dialogs use the browser top layer. */

:root {
  --paper: #F3F2EE;
  --paper-2: #EAE8E3;
  --paper-3: #DDDAD3;
  --ink: #161514;
  --ink-2: #45423E;
  --ink-3: #6B6761;
  --line: rgba(22, 21, 20, .14);
  --line-2: rgba(22, 21, 20, .28);

  --white: #FFFFFF;
  --alert: #9B2C1F;

  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Newsreader", ui-serif, Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(16px, 4.4vw, 64px);
  --gap: clamp(12px, 1.7vw, 28px);
  --maxw: 1520px;
  --nav-h: 64px;

  --t-h2: clamp(2.25rem, 1.3rem + 3.4vw, 4.75rem);
  --t-lead: clamp(1.18rem, 1.02rem + .55vw, 1.5rem);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  overflow-x: clip;
  scrollbar-gutter: stable;
  background: var(--paper);
}
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: var(--paper); text-decoration: none;
}
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--pad), var(--maxw)); margin-inline: auto; }
.nowrap { white-space: nowrap; }
.section { padding-block: clamp(80px, 13vh, 168px); }
.top-sentinel { position: absolute; top: 0; height: 1px; width: 1px; }

/* Tally state: the label flips once the list reaches its goal */
html[data-tally="met"] [data-tally-open], html:not([data-tally="met"]) [data-tally-met] { display: none; }

/* Type */
.h2 {
  margin: 0 0 .4em;
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--t-h2);
  line-height: 1.02;
  letter-spacing: -.02em;
}
.lede {
  margin: 0;
  max-width: 44ch;
  font-family: var(--serif);
  font-size: var(--t-lead);
  line-height: 1.45;
  color: var(--ink-2);
}
.eyebrow {
  margin: 0 0 1.25rem;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.link {
  display: inline-flex; align-items: center; gap: .45em;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: .95rem; font-weight: 600;
  text-decoration: none;
  transition: gap .35s var(--ease);
}
.link:hover { gap: .7em; }

/* Buttons */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: var(--h);
  padding: 0 1.35em;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: var(--sans); font-size: .95rem; font-weight: 600; letter-spacing: .005em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .ph { font-size: 1.1em; transition: transform .35s var(--ease); }
.btn:hover .ph-arrow-right { transform: translateX(4px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #2E2B28; }
.btn--line { border-color: var(--line-2); background: transparent; color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--lg { --h: 56px; padding: 0 1.6em; font-size: 1rem; }
.btn--sm { --h: 40px; padding: 0 1.1em; font-size: .875rem; }
.btn--block { width: 100%; }

.iconbtn {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-2);
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.iconbtn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.textbtn {
  display: inline-flex; align-items: center; gap: .45em;
  padding: 6px 0; border: 0; background: none;
  font-size: .9rem; font-weight: 600; cursor: pointer;
}

/* Brand mark: crop the transparent padding baked into the PNG without altering the logo */
.brand { display: block; flex: none; width: 124px; aspect-ratio: 1066 / 195; overflow: hidden; }
.brand img { width: 100.75%; max-width: none; margin: -12.008% 0 0 -.469%; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--nav-h); }
.nav__links { display: flex; gap: clamp(20px, 2.4vw, 36px); font-size: .9rem; font-weight: 500; }
.nav__links a { position: relative; padding: 6px 0; color: var(--ink-2); text-decoration: none; transition: color .2s ease; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Hero */
.hero {
  --hero-h: calc(100svh - var(--nav-h));
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(45%, calc(var(--hero-h) * var(--hero-ar, .8)));
  grid-template-rows: 1fr auto;
  grid-template-areas: "copy media" "meta media";
  min-height: var(--hero-h);
}
.hero__copy {
  grid-area: copy;
  container-type: inline-size;
  align-self: center;
  padding: clamp(32px, 6vh, 72px) clamp(20px, 2.8vw, 52px) 0 max(var(--pad), calc((100cqw - var(--maxw)) / 2));
}
.mast {
  margin: 0;
  font-family: var(--sans);
  font-weight: 800;
  font-stretch: 125%;
  font-size: min(15cqi, 10rem);
  line-height: .86;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.mast__row { display: block; overflow: hidden; padding-block: .03em; margin-block: -.03em; }
.mast__word { display: inline-block; }
.mast__q {
  margin-left: .12em;
  padding: .07em .13em .06em;
  background: var(--ink);
  color: var(--paper);
  vertical-align: top;
}
.mast__year {
  margin: .12em 0 0 .22em;
  vertical-align: top;
  font-size: max(.72rem, .12em);
  font-stretch: 100%;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1;
}
.hero__lede {
  margin: clamp(20px, 3.4vh, 36px) 0 0;
  max-width: 30ch;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.05rem + .7vw, 1.65rem);
  line-height: 1.38;
  color: var(--ink-2);
}
.hero__meta {
  grid-area: meta;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: clamp(28px, 5vh, 56px) clamp(20px, 2.8vw, 52px) clamp(24px, 4vh, 44px) max(var(--pad), calc((100cqw - var(--maxw)) / 2));
}
.meta { padding-top: 14px; border-top: 1px solid var(--line-2); }
.meta dt { margin-bottom: 6px; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.meta dd { margin: 0; display: grid; gap: 2px; }
.meta strong { font-weight: 600; font-size: 1rem; }
.meta span { font-size: .9rem; color: var(--ink-3); }
.hero__media { grid-area: media; position: relative; margin: 0; overflow: hidden; background: var(--paper-3); }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* Hero entrance (JS adds .is-ready; an inline timer guarantees it) */
.js:not(.is-ready) .mast__word { transform: translateY(108%); }
.js:not(.is-ready) .hero__lede,
.js:not(.is-ready) .hero__join,
.js:not(.is-ready) .hero__meta { opacity: 0; transform: translateY(16px); }
.js:not(.is-ready) .hero__media { clip-path: inset(100% 0 0 0); }
.js:not(.is-ready) .hero__media img { transform: scale(1.1); }
.mast__word { transition: transform 1.15s var(--ease) var(--d, 0ms); }
.hero__lede, .hero__join, .hero__meta { transition: opacity .9s ease, transform 1s var(--ease); }
.hero__lede { transition-delay: .32s; }
.hero__join { transition-delay: .42s; }
.hero__meta { transition-delay: .54s; }
.hero__media { transition: clip-path 1.4s var(--ease) .1s; }
.hero__media img { transition: transform 2.4s var(--ease) .1s; }

/* Credentials */
.creds { border-block: 1px solid var(--line); }
.creds__grid {
  display: grid; grid-template-columns: auto auto minmax(0, 1fr);
  gap: clamp(24px, 4vw, 72px); align-items: center;
  padding-block: clamp(24px, 4vh, 40px);
}
.creds__stat { display: flex; align-items: center; gap: 14px; margin: 0; }
.creds__num { font-weight: 800; font-stretch: 125%; font-size: clamp(1.9rem, 1.2rem + 1.8vw, 2.7rem); line-height: 1; letter-spacing: -.02em; }
.creds__label { max-width: 19ch; font-size: .84rem; line-height: 1.35; color: var(--ink-3); }
.creds__clients { margin: 0; font-family: var(--serif); font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); line-height: 1.45; color: var(--ink-2); }
.creds__clients em { color: var(--ink); }

/* Work spread */
.work__head { max-width: 820px; margin-bottom: clamp(48px, 8vh, 96px); }
.spread {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap); row-gap: calc(var(--gap) * 2);
  align-items: start;
}
.spread__item { margin: 0; }
.s1 { grid-column: 1 / 7; }
.s2 { grid-column: 7 / 10; }
.s3 { grid-column: 10 / 13; }
.s4 { grid-column: 1 / 4; }
.s5 { grid-column: 4 / 7; }
.s6 { grid-column: 7 / 13; }
.s7 { grid-column: 1 / 4; }
.s8 { grid-column: 4 / 7; }
.s9 { grid-column: 7 / 10; }
.s10 { grid-column: 10 / 13; }
/* Every frame keeps its own shape (--ar on the figure). app.js stacks each column tightly by
   giving every frame one grid row and its own top offset; without JS, the plain grid above holds. */
.spread.is-stacked .spread__item { grid-row: 1; }
.spread .frame-btn { aspect-ratio: var(--ar, 2 / 3); }

.frame-btn {
  position: relative; display: block; width: 100%; padding: 0;
  border: 0; background: var(--paper-3);
  overflow: hidden; cursor: zoom-in;
}
.frame-btn .zoomwrap { display: block; width: 100%; height: 100%; transition: transform 1.2s var(--ease); }
.frame-btn:hover .zoomwrap { transform: scale(1.035); }
.spread .frame-btn:hover .zoomwrap { transform: none; } /* the portraits spread holds still on hover; the archive strip keeps the zoom */
.frame-btn img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.frame { overflow: hidden; background: var(--paper-3); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* Who this is for */
.who { background: var(--paper-2); }
.who__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.who__media { grid-column: 1 / 6; position: sticky; top: calc(var(--nav-h) + 28px); margin: 0; }
.who__media .frame { aspect-ratio: var(--ar, 2 / 3); }
.who__copy { grid-column: 7 / 13; padding-top: clamp(8px, 4vh, 48px); }
.who__line {
  margin: 0 0 clamp(28px, 6vh, 64px);
  max-width: 21ch;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 1.1rem + 1.9vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: -.012em;
}
.who__body { margin: clamp(40px, 8vh, 88px) 0 0; max-width: 46ch; font-size: 1.1rem; color: var(--ink-2); }
.who__kicker {
  margin: clamp(28px, 5vh, 48px) 0 0;
  max-width: 15ch;
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(2.2rem, 1.2rem + 3.2vw, 4.4rem);
  line-height: 1.06; letter-spacing: -.02em;
  padding-bottom: .08em;
}

/* The approach */
.approach__head { max-width: 820px; margin-bottom: clamp(28px, 4vh, 48px); }
.approach__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
.approach__quote {
  grid-column: 1 / 9; margin: 0;
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(2.3rem, 1rem + 4.6vw, 5.6rem);
  line-height: 1.04; letter-spacing: -.025em;
}
.approach__quote p { margin: 0; text-indent: -.42em; }
.approach__quote .approach__line { text-indent: 0; }
.approach__story { grid-column: 9 / 13; margin: 0 0 .6em; max-width: 34ch; font-size: 1.1rem; line-height: 1.55; color: var(--ink-2); }
.principles { list-style: none; margin: clamp(56px, 9vh, 104px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.principle { padding-top: 18px; border-top: 1px solid var(--line-2); }
.principle__n { display: block; font-weight: 800; font-stretch: 125%; font-size: .9rem; letter-spacing: .06em; color: var(--ink-3); }
.principle__title { margin: 14px 0 10px; font-family: var(--serif); font-weight: 400; font-size: clamp(1.35rem, 1.1rem + .6vw, 1.7rem); line-height: 1.15; letter-spacing: -.01em; }
.principle p { margin: 0; max-width: 36ch; font-size: 1rem; line-height: 1.55; color: var(--ink-2); }

/* Experience */
.exp__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; }
.exp__copy { grid-column: 1 / 7; }
.exp__body { margin: 0 0 clamp(24px, 4vh, 40px); max-width: 50ch; font-size: 1.1rem; color: var(--ink-2); }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; max-width: 52ch; }
.points li { padding-left: 22px; position: relative; color: var(--ink-2); }
.points li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--ink); }
.points strong { color: var(--ink); font-weight: 600; }
.exp__media { grid-column: 8 / 13; margin: 0; }
.exp__media .frame { aspect-ratio: var(--ar, 4 / 5); }

.tl { margin: clamp(64px, 11vh, 128px) 0 0; }
.tl__cap { margin-bottom: clamp(24px, 4vh, 36px); max-width: 60ch; color: var(--ink-2); }
.tl__title { display: block; margin-bottom: 4px; font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); line-height: 1.15; color: var(--ink); }
.tl__bar { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.tl__seg { flex: var(--m) 1 0; min-width: 0; }
.tl__line { display: block; height: 8px; background: var(--ink-3); opacity: .45; transform-origin: left; }
.tl__seg--key .tl__line { background: var(--ink); opacity: 1; }
.tl__min {
  display: block; margin-top: 18px;
  font-weight: 800; font-stretch: 125%;
  font-size: clamp(2.2rem, 1.4rem + 2.6vw, 4.2rem);
  line-height: 1; letter-spacing: -.03em;
}
.tl__min small { margin-left: .28em; font-size: .26em; font-stretch: 100%; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; vertical-align: .35em; }
.tl__what { display: block; margin-top: 10px; max-width: 24ch; font-size: .95rem; line-height: 1.4; color: var(--ink-2); }

/* Testimonials */
.voices { background: var(--paper-2); }
.voices__head { max-width: 820px; margin-bottom: clamp(40px, 7vh, 80px); }
.feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; margin: 0; }
.feature__media { grid-column: 1 / 6; aspect-ratio: var(--ar, 4 / 5); }
.feature__body { grid-column: 7 / 13; }
.feature__quote { margin: 0; }
.feature__quote p {
  margin: 0; max-width: 36ch;
  font-family: var(--serif); font-size: clamp(1.45rem, 1rem + 1.25vw, 2.1rem);
  line-height: 1.3; letter-spacing: -.01em; text-indent: -.4em;
}
.feature__cite { margin-top: 1.6rem; font-size: .92rem; font-weight: 600; letter-spacing: .01em; }
.voices__list { list-style: none; margin: clamp(56px, 9vh, 104px) 0 0; padding: 0; columns: 2; column-gap: clamp(32px, 5vw, 88px); }
.voice { break-inside: avoid; padding: 24px 0 clamp(30px, 4.5vh, 48px); border-top: 1px solid var(--line-2); }
.voice figure, .voice blockquote { margin: 0; }
.voice p { margin: 0; font-family: var(--serif); font-size: clamp(1.12rem, 1rem + .35vw, 1.32rem); line-height: 1.42; text-indent: -.38em; }
.voice figcaption { display: flex; align-items: center; gap: 14px; margin-top: 18px; font-size: .9rem; font-weight: 600; }
.voice figcaption img { flex: none; width: 48px; height: 60px; object-fit: cover; background: var(--paper-3); }
.voice figcaption span { display: grid; }
.voice figcaption small { font-size: .82rem; font-weight: 400; color: var(--ink-3); }

.drawer__quote { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.drawer__quote blockquote { margin: 0; }
.drawer__quote p { margin: 0; font-family: var(--serif); font-size: 1.06rem; line-height: 1.4; text-indent: -.36em; }
.drawer__quote figcaption { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: .82rem; color: var(--ink-3); }
.drawer__quote img { flex: none; width: 32px; height: 40px; object-fit: cover; }

/* Sessions */
.sessions__head { max-width: 900px; }
.tiers {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap); align-items: stretch;
  margin-top: clamp(40px, 7vh, 80px);
}
.tier {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(24px, 2.6vw, 40px);
  background: var(--paper); border: 1px solid var(--line);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.tier:hover { transform: translateY(-4px); box-shadow: 0 34px 60px -38px rgba(22, 21, 20, .45); }
.tier--feature { background: var(--white); border: 2px solid var(--ink); }
.tier__name { margin: 0; font-weight: 800; font-stretch: 125%; font-size: 1rem; letter-spacing: .07em; text-transform: uppercase; }
.tier__for { margin: .8rem 0 0; min-height: 4.1em; font-family: var(--serif); font-size: 1.18rem; line-height: 1.36; color: var(--ink-2); }
.tier__price {
  margin: clamp(26px, 4vh, 44px) 0 clamp(20px, 3vh, 30px);
  font-weight: 800; font-stretch: 125%;
  font-size: clamp(3rem, 1.6rem + 3.3vw, 5rem);
  line-height: .9; letter-spacing: -.035em;
}
.tier__cur { margin-right: .05em; font-size: .42em; letter-spacing: 0; vertical-align: .95em; }
.tier__specs { list-style: none; display: grid; gap: .75rem; margin: 0 0 clamp(26px, 4vh, 40px); padding: 0; font-size: 1rem; }
.tier__specs li { display: flex; align-items: center; gap: .7rem; }
.tier__specs .ph { flex: none; font-size: 1.25rem; color: var(--ink-3); }
.tier .btn { margin-top: auto; }
.tiers__note { margin: clamp(18px, 3vh, 26px) 0 0; font-size: .95rem; color: var(--ink-2); }

.includes {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center;
  gap: 14px 36px;
  margin-top: clamp(20px, 3vh, 28px);
  padding: clamp(20px, 2.4vw, 28px) clamp(20px, 2.6vw, 36px);
  background: var(--paper-2);
}
.includes__title { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.includes__list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0; padding: 0; }
.includes__list li { display: flex; align-items: center; gap: .5rem; font-size: .95rem; }
.includes__more { grid-column: 1 / -1; margin: 0; font-size: .9rem; color: var(--ink-3); }

.details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(56px, 9vh, 104px); }
.detail { padding-top: 20px; border-top: 1px solid var(--ink); }
.detail__label { margin: 0 0 14px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.detail__big { margin: 0 0 10px; font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.1rem); line-height: 1.12; }
.detail p:not(.detail__big) { margin: 0 0 14px; max-width: 40ch; font-size: .98rem; color: var(--ink-2); }

/* Meet Joe */
.joe__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; }
.joe__media { grid-column: 1 / 6; margin: 0; }
.joe__media .frame { aspect-ratio: var(--ar, 4 / 5); }
.joe__copy { grid-column: 7 / 12; }
.joe__copy .lede { margin-bottom: 1.4rem; }
.joe__copy p:not(.lede):not(.joe__aside) { margin: 0 0 1rem; max-width: 50ch; color: var(--ink-2); }
.joe__aside { margin: 1.6rem 0; font-family: var(--serif); font-style: italic; font-size: 1.3rem; }

/* FAQ */
.faq { background: var(--paper-2); }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.faq__aside { grid-column: 1 / 5; align-self: start; position: sticky; top: calc(var(--nav-h) + 32px); }
.faq__aside .h2 { font-size: clamp(2.2rem, 1.3rem + 2.3vw, 3.5rem); }
.faq__help { margin: 0 0 16px; max-width: 30ch; color: var(--ink-2); }
.faq__list { grid-column: 6 / 13; }
.faq__group + .faq__group { margin-top: clamp(36px, 6vh, 56px); }
.faq__group h3 { margin: 0 0 10px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.qa { border-top: 1px solid var(--line-2); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 1.15rem 0;
  list-style: none; cursor: pointer;
  font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .45vw, 1.4rem); line-height: 1.3;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__icon {
  display: grid; place-items: center; flex: none;
  width: 30px; height: 30px;
  border: 1px solid var(--line-2);
  font-size: .95rem;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.qa__icon .ph { transition: transform .4s var(--ease); }
.qa summary:hover .qa__icon { border-color: var(--ink); }
.qa[open] .qa__icon { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.qa[open] .qa__icon .ph { transform: rotate(45deg); }
.qa__a { padding: 0 0 1.4rem; max-width: 62ch; color: var(--ink-2); }
.qa__a p { margin: 0 0 .9em; }
.qa__a p:last-child { margin-bottom: 0; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .qa::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
  .qa[open]::details-content { height: auto; }
}

/* More from the last two Portrait Days: the pinned strip, on paper */
.archive { container-type: inline-size; background: var(--paper); border-top: 1px solid var(--line); }
.pan__sticky { padding-block: clamp(80px, 13vh, 150px) clamp(48px, 7vh, 80px); }
.pan__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 48px; margin-bottom: clamp(28px, 5vh, 52px); }
.pan__head .h2 { margin: 0; max-width: 13ch; }
.pan__side { display: grid; gap: 14px; justify-items: start; max-width: 34ch; }
.pan__side p { margin: 0; color: var(--ink-2); }
.pan__track {
  list-style: none; display: flex; gap: clamp(10px, 1.2vw, 18px);
  margin: 0;
  padding: 0 max(var(--pad), calc((100cqi - var(--maxw)) / 2)) 18px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--pad), calc((100cqi - var(--maxw)) / 2));
  scrollbar-width: thin; scrollbar-color: var(--line-2) transparent;
}
.pan__item { flex: none; height: clamp(320px, 56svh, 620px); aspect-ratio: var(--ar); scroll-snap-align: start; }
.pan__item .frame-btn { height: 100%; background: var(--paper-3); }
@supports (animation-timeline: view()) {
  @media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
    .pan { height: calc(100svh + var(--travel, 160vh)); view-timeline: --pan block; view-timeline-inset: 0px; }
    .pan__sticky {
      position: sticky; top: 0;
      display: flex; flex-direction: column; justify-content: center;
      height: 100svh; overflow: hidden;
      padding-block: calc(var(--nav-h) + 24px) 40px;
    }
    .pan__track {
      width: max-content; overflow: visible; padding-bottom: 0; scroll-snap-type: none;
      animation: pan-x linear both;
      animation-timeline: --pan;
      animation-range: contain 0% contain 100%;
    }
    .pan__item { height: min(56svh, 620px); }
  }
}
@keyframes pan-x { to { transform: translateX(calc(-100% + 100cqi)); } }

/* Final call and footer */
.final { background: var(--paper-2); border-top: 1px solid var(--line); padding-block: clamp(80px, 13vh, 160px); }
.final__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: end; }
.final__intro { grid-column: 1 / 7; }
.final__join { grid-column: 8 / 13; }
.final__title { margin: 0; max-width: 11ch; font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 1rem + 6vw, 7.5rem); line-height: .96; letter-spacing: -.035em; padding-bottom: .06em; }
.final__title em { font-weight: 300; }
.final__meta { margin: clamp(28px, 5vh, 56px) 0 0; font-size: 1rem; line-height: 1.65; color: var(--ink-2); }
.final__meta strong { font-weight: 600; color: var(--ink); }
.foot { background: var(--paper); color: var(--ink-3); border-top: 1px solid var(--line); padding-block: 28px 44px; font-size: .88rem; }
.foot__grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 36px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.foot__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; }

/* Mobile booking bar */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .5s var(--ease);
}
.mbar.is-on { transform: none; }
.mbar__txt { display: grid; margin: 0; line-height: 1.25; }
.mbar__txt strong { font-size: .92rem; font-weight: 700; }
.mbar__txt span { font-size: .8rem; color: var(--ink-3); }

/* Interest list: the tally, the sign-up form, and the done state (hero, final call, and sheet) */
.join { display: grid; gap: 18px; }
.hero__join { margin-top: clamp(22px, 3.6vh, 36px); max-width: 660px; }
.tally { display: flex; align-items: center; gap: 16px; }
.tally__count {
  display: flex; align-items: baseline; gap: .35em; flex: none;
  margin: 0;
  font-weight: 800; font-stretch: 125%;
  line-height: .9; letter-spacing: -.03em;
}
.tally__num { font-size: clamp(2.6rem, 1.8rem + 2.2vw, 3.6rem); font-variant-numeric: tabular-nums; }
.tally__of { font-size: .95rem; font-stretch: 100%; font-weight: 700; letter-spacing: .02em; color: var(--ink-3); white-space: nowrap; }
.tally__side { display: grid; gap: 8px; min-width: 0; }
.tally__dots { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.tally__dots li {
  width: 18px; height: 18px;
  border: 1.5px solid var(--ink);
  transition: background-color .45s ease calc(var(--k, 0) * 70ms);
}
.tally__dots li.is-on { background: var(--ink); }
.tally__label { margin: 0; font-size: .92rem; line-height: 1.35; color: var(--ink-2); }

.signup { display: grid; gap: 12px; margin: 0; }
.signup__fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto; gap: 10px; align-items: end; }
.signup__fields--stack { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.field { display: grid; gap: 6px; min-width: 0; }
.field__label { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.field input {
  appearance: none;
  width: 100%; height: 56px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 0;
  background: var(--white); color: var(--ink);
  font: inherit; font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:hover { border-color: var(--ink-3); }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--alert); box-shadow: inset 0 0 0 1px var(--alert); }
.signup__btn[disabled] { opacity: .6; cursor: progress; }
.signup__error { margin: 0; font-size: .9rem; font-weight: 600; color: var(--alert); }
.signup__fine { margin: 0; font-size: .85rem; color: var(--ink-3); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lean { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.lean legend { margin-bottom: 8px; padding: 0; }
.lean__opt { font-weight: 500; letter-spacing: .04em; text-transform: none; }
.lean__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center;
  min-height: 40px; padding: 0 14px;
  border: 1px solid var(--line-2); background: var(--white);
  font-size: .9rem; font-weight: 600;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.done { padding: clamp(20px, 2.4vw, 28px); background: var(--white); border: 1px solid var(--ink); }
.done__title { margin: 0 0 6px; font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); line-height: 1.15; }
.done__body { margin: 0 0 18px; max-width: 46ch; color: var(--ink-2); }
.done__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }

/* Hero form wraps to two rows when the copy column is narrow */
@container (max-width: 640px) {
  .signup--inline .signup__fields { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .signup--inline .signup__btn { grid-column: 1 / -1; }
}

/* How Q4 comes together */
.how__head { max-width: 820px; }
.principles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(28px, 5vh, 56px); }
.how__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: clamp(36px, 6vh, 64px); }
.how__count { margin: 0; color: var(--ink-2); }
.how__count strong { color: var(--ink); font-weight: 700; }

/* Reminders to join, placed at natural stopping points down the page */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: clamp(32px, 5vh, 56px); }
.cta-row__count { margin: 0; color: var(--ink-2); }
.cta-row__count strong { color: var(--ink); font-weight: 700; }
.cta-row--split {
  justify-content: space-between;
  margin-top: clamp(56px, 9vh, 104px);
  padding-top: clamp(24px, 4vh, 36px);
  border-top: 1px solid var(--line-2);
}
.cta-row__line { margin: 0; font-family: var(--serif); font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.6rem); line-height: 1.1; letter-spacing: -.01em; }
.cta-row__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.faq__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }

/* Dialog base */
dialog { max-width: none; max-height: none; margin: 0; padding: 0; border: 0; color: inherit; background: transparent; }

/* Booking drawer */
.drawer {
  position: fixed; inset: 0 0 0 auto;
  width: min(540px, 100vw); height: 100dvh;
  overflow: hidden;
  background: var(--paper); color: var(--ink);
  box-shadow: -30px 0 90px rgba(22, 21, 20, .22);
  transform: translateX(104%);
  transition: transform .55s var(--ease), overlay .55s allow-discrete, display .55s allow-discrete;
}
.drawer[open] { transform: none; }
@starting-style { .drawer[open] { transform: translateX(104%); } }
.drawer::backdrop { background: rgba(22, 21, 20, 0); transition: background-color .45s ease, overlay .45s allow-discrete, display .45s allow-discrete; }
.drawer[open]::backdrop { background: rgba(22, 21, 20, .46); }
@starting-style { .drawer[open]::backdrop { background: rgba(22, 21, 20, 0); } }
.drawer__panel { display: flex; flex-direction: column; height: 100%; }
.drawer__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 28px 20px; border-bottom: 1px solid var(--line); }
.drawer__kicker { margin: 0 0 4px; font-size: .8rem; color: var(--ink-3); }
.drawer__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1.1; }
.drawer__body { flex: 1; min-height: 0; overflow: auto; padding: 24px 28px 32px; }
.drawer__body[hidden] { display: none; }
.drawer__fine { display: flex; gap: .5rem; margin: 14px 0 0; font-size: .82rem; line-height: 1.45; color: var(--ink-3); }
.drawer__fine .ph { flex: none; margin-top: .15em; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; width: 100vw; height: 100dvh;
  background: rgba(243, 242, 238, .985); color: var(--ink);
  opacity: 0;
  transition: opacity .35s ease, overlay .35s allow-discrete, display .35s allow-discrete;
}
.lightbox[open] { opacity: 1; }
@starting-style { .lightbox[open] { opacity: 0; } }
.lightbox::backdrop { background: transparent; }
.lightbox__fig { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; height: 100%; margin: 0; padding: clamp(64px, 9vh, 88px) clamp(16px, 8vw, 110px); }
.lightbox__fig img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 170px); object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lightbox__fig figcaption { font-size: .85rem; color: var(--ink-3); min-height: 1.2em; }
.lightbox .iconbtn { background: var(--paper); }
.lightbox .iconbtn:hover { background: var(--ink); color: var(--paper); }
.lightbox__close { position: absolute; top: 16px; right: 16px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

/* Review notes (prototype only: delete the .rnote asides and this block before launch) */
.rnote { display: none; }
.show-notes .rnote {
  display: block; position: relative; z-index: 5;
  max-width: 470px; margin: 22px 0 0; padding: 12px 14px 12px 44px;
  background: #FFF1A8; color: #26210D;
  border: 1px solid rgba(38, 33, 13, .2);
  box-shadow: 0 12px 30px -14px rgba(22, 21, 20, .45);
  font-family: var(--sans); font-size: .84rem; font-weight: 500; line-height: 1.45; text-align: left;
}
.show-notes .rnote::before {
  content: attr(data-n);
  position: absolute; left: 12px; top: 11px;
  display: grid; place-items: center; width: 21px; height: 21px;
  background: #26210D; color: #FFF1A8; font-size: .72rem; font-weight: 700;
}
.rnote strong { font-weight: 700; }
.notes-toggle {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: inline-flex; align-items: center; gap: .5em;
  min-height: 40px; padding: 0 14px;
  border: 1px solid rgba(38, 33, 13, .25); background: #FFF1A8; color: #26210D;
  font-size: .84rem; font-weight: 600; cursor: pointer;
  box-shadow: 0 10px 24px -12px rgba(22, 21, 20, .5);
}
.notes-toggle[aria-pressed="true"] { background: #26210D; color: #FFF1A8; }

/* Scroll reveals (JS adds .reveal-on only when observers are live) */
.reveal-on .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease calc(var(--i, 0) * 90ms), transform 1.1s var(--ease) calc(var(--i, 0) * 90ms); }
.reveal-on .reveal.is-in { opacity: 1; transform: none; }
/* The wipe runs on the frame's first child: an observer never sees a fully clipped target. */
.reveal-on .reveal-img:not(.is-in) { background: transparent; }
.reveal-on .reveal-img > :first-child { clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease) calc(var(--i, 0) * 90ms); }
.reveal-on .reveal-img.is-in > :first-child { clip-path: inset(0 0 0 0); }
.reveal-on .reveal-img img { transform: scale(1.08); transition: transform 1.3s var(--ease) calc(var(--i, 0) * 90ms); }
.reveal-on .reveal-img.is-in img { transform: none; }
.reveal-on .reveal-group .tl__line { transform: scaleX(0); transition: transform 1.1s var(--ease) calc(var(--i, 0) * 200ms + 100ms); }
.reveal-on .reveal-group.is-in .tl__line { transform: none; }

/* Scroll-driven depth, only where supported */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    @media (min-width: 768px) {
      .spread__par { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
    }
    .who__line { animation: line-focus linear both; animation-timeline: view(); animation-range: entry 5% cover 40%; }
  }
}
@keyframes drift {
  from { transform: translateY(var(--drift, 0px)); }
  to { transform: translateY(calc(var(--drift, 0px) * -1)); }
}
@keyframes line-focus {
  from { opacity: .16; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Tablet and below */
@media (max-width: 899px) {
  .nav__links { display: none; }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "copy" "media" "meta";
    min-height: 0;
  }
  .hero__copy { padding: 28px var(--pad) 28px; }
  .hero__lede { max-width: 34ch; }
  .hero__media { aspect-ratio: var(--ar, 4 / 5); }
  .hero__meta { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 8px var(--pad) 28px; }
  .meta { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 12px; padding: 14px 0; }
  .meta dt { margin: 3px 0 0; }
  .creds__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .creds__clients { grid-column: 1 / -1; }
  .who__grid, .exp__grid, .joe__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .who__media { grid-column: auto; position: static; }
  .who__copy { grid-column: auto; padding-top: 24px; }
  .exp__copy, .exp__media, .joe__media, .joe__copy, .faq__aside, .faq__list { grid-column: auto; }
  .exp__media { margin-top: 24px; }
  .joe__copy { padding-top: 12px; }
  .faq__aside { position: static; margin-bottom: 16px; }
  .approach__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .approach__quote, .approach__story { grid-column: auto; }
  .principles { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 36px; }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feature__media, .feature__body { grid-column: auto; }
  .voices__list { columns: 1; }
  .tiers { grid-template-columns: minmax(0, 1fr); }
  .principles--3 { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .final__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .final__intro, .final__join { grid-column: auto; }
  .hero__join { max-width: none; }
  .tier__for { min-height: 0; }
  .includes { grid-template-columns: minmax(0, 1fr); }
  .details { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .mbar { display: flex; }
  .nav .btn { transition: opacity .3s ease; }
  html:has(.mbar.is-on) .nav .btn { opacity: 0; pointer-events: none; }
  .notes-toggle { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .drawer { inset: auto 0 0 0; width: 100vw; height: 94dvh; transform: translateY(104%); }
  @starting-style { .drawer[open] { transform: translateY(104%); } }
  .drawer[open] { transform: none; }
}

/* Phones */
@media (max-width: 767px) {
  .spread { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .spread .spread__item { grid-column: auto; grid-row: auto; margin: 0; }
  .spread .s1, .spread .s6 { grid-column: 1 / -1; }
  .spread .s2, .spread .s5, .spread .s8, .spread .s10 { margin-top: 36px; }
  .principles { grid-template-columns: minmax(0, 1fr); }
  .tl__bar { flex-direction: column; gap: 22px; }
  .tl__seg { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); column-gap: 16px; align-items: start; }
  .tl__line { grid-column: 1 / -1; height: 6px; width: calc(var(--m) / 20 * 100%); }
  .tl__min { margin-top: 12px; font-size: 2.4rem; }
  .tl__what { margin-top: 14px; }
  .signup__fields, .signup__fields--stack, .signup--inline .signup__fields { grid-template-columns: minmax(0, 1fr); }
  .signup__btn, .how__cta .btn, .cta-row .btn { width: 100%; }
  .cta-row__act { width: 100%; }
  .tally__dots li { width: 15px; height: 15px; }
  .lightbox__nav { top: auto; bottom: 18px; transform: none; }
}

@media (max-width: 480px) {
  .creds__stat { flex-direction: column; align-items: flex-start; gap: 6px; }
  .drawer__head, .drawer__body { padding-inline: 20px; }
}

/* Reduced motion: everything lands in place, nothing moves */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js:not(.is-ready) .mast__word, .js:not(.is-ready) .hero__lede, .js:not(.is-ready) .hero__join, .js:not(.is-ready) .hero__meta { transform: none; opacity: 1; }
  .js:not(.is-ready) .hero__media { clip-path: none; }
  .js:not(.is-ready) .hero__media img { transform: none; }
}
