/* Fonts are self-hosted (Fonts folder), so nothing is requested from Google */
@font-face { font-family: "Bricolage Grotesque"; src: url("Fonts/bricolage-grotesque-latin.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("Fonts/instrument-sans-latin.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Mrs Saint Delafield"; src: url("Fonts/mrs-saint-delafield-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
:root {
  --paper: #ffffff;
  --ink: #000000;
  --pink: #ff3d9a;
  --pale: #ffe3ef;
  --muted: #4d4d4d;
  --logo-filter: invert(1);
  --sig-filter: none;
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(20px, 5vw, 72px);
  color-scheme: light;
  --navh: 66px;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--navh) + env(safe-area-inset-top, 0px)); }
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); margin: 0; }

/* page progress */
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 50;
  background: var(--pink); color: #000; font-weight: 600; text-decoration: none;
  padding: 0.6em 1.2em; border-radius: 999px;
}
.skip:focus { top: calc(10px + env(safe-area-inset-top, 0px)); }
main:focus { outline: none; }

.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 40;
  background: var(--pink); transform: scaleX(0); transform-origin: left;
}

/* header */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 30;
  display: flex; justify-content: flex-end; align-items: center;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gut) 14px;
  transition: background-color 0.25s ease;
}
.nav.solid {
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
/* logo + name, top left of the page (scrolls away with the hero) */
.lockup { display: flex; align-items: flex-end; gap: clamp(12px, 2vw, 24px); align-self: flex-start; text-decoration: none; color: inherit; }
.lockup img { display: block; height: 106px; width: auto; }
.lockup span {
  font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 75, "opsz" 96;
  font-size: clamp(1.5rem, 2.6vw, 2.4rem); line-height: 0.82; letter-spacing: -0.01em;
}
.nav nav { display: flex; align-items: center; }
.nav nav a {
  margin-left: clamp(16px, 2.4vw, 32px);
  font-weight: 500; font-size: 0.95rem;
  text-decoration: underline; text-decoration-color: var(--pink);
  text-decoration-thickness: 0.14em; text-underline-offset: 0.22em;
}

.nav nav a.pill {
  background: var(--pink); color: #000; text-decoration: none; font-weight: 600;
  padding: 0.45em 1.1em; border-radius: 999px;
}
.nav nav a.pill[aria-current="page"] { background: var(--ink); color: var(--paper); }

/* hero */
.hero { position: relative; }
.stage {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; gap: 16px;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gut) clamp(20px, 4vh, 40px);
  overflow: hidden;
}
.hero-top {
  display: flex; flex-wrap: wrap; gap: 20px var(--gut);
  justify-content: space-between; align-items: flex-end;
}
.hero h1 {
  font-weight: 700;
  font-variation-settings: "wdth" 75, "opsz" 96;
  font-size: clamp(2.5rem, 7.2vw, 7rem);
  line-height: 0.92; letter-spacing: -0.025em;
  max-width: 18ch;
}
.hero-top p { margin: 0; max-width: 28ch; color: var(--muted); }
@media (min-width: 700px) { .hero-top { flex-wrap: nowrap; } .hero-top p { flex: none; } }
.stage svg.art { flex: 1; min-height: 300px; width: 100%; display: block; }
/* desktop: everything in the hero is sized from the page width, so it shrinks and grows together (browser zoom included) */
@media (min-width: 700px) {
  .hero h1 { font-size: clamp(1.8rem, 4.8vw, 6rem); }
  .stage svg.art { flex: none; min-height: 0; margin: auto 0 0 auto; width: min(100%, 72vw); height: auto; aspect-ratio: 1280 / 420; }
}
/* big landscape screens: headline sits lower, with the room shrinking away on short screens */
@media (min-width: 700px) and (orientation: landscape) {
  .hero-top { margin-top: clamp(0px, calc(100svh - 780px), 100px); }
}
/* tall screens (iPad upright): no stretching the hero to full height, which left a big gap above the drawing */
@media (min-width: 700px) and (orientation: portrait) {
  .stage { min-height: 0; padding-bottom: clamp(32px, 6vh, 72px); }
  .hero h1 { font-size: clamp(2.3rem, 7.8vw, 6rem); }
  .stage svg.art { width: 100%; margin-top: clamp(24px, 5vh, 64px); }
}
/* iPad sideways: use the room so the drawing is not stranded at the bottom */
@media (min-width: 700px) and (max-width: 1300px) and (min-height: 700px) and (orientation: landscape) and (max-aspect-ratio: 3/2) {
  .hero h1 { font-size: clamp(2.3rem, 7vw, 6rem); }
  .stage svg.art { width: 100%; }
}

/* drawings */
.art { overflow: visible; }
.ln {
  fill: none; stroke: var(--cink, var(--ink));
  stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
}
.ln.dot { stroke-width: 9; }
.wash { fill: var(--cwash, var(--pink)); stroke: none; }
/* keeps a 2px clear margin between the pink fill and the outline */
.gap { fill: none; stroke: var(--paper); stroke-width: 7px; vector-effect: non-scaling-stroke; stroke-linejoin: round; pointer-events: none; }
@media (max-width: 700px) {
  .hero .ln { stroke-width: 6.5; }
  .hero .ln.dot { stroke-width: 12; }
}

/* work gallery */
.work { position: relative; }
.work-pin {
  position: sticky; top: 0;
  padding: 92px 0 40px;
  overflow: hidden; display: flex; align-items: center;
}
.track {
  display: flex; align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: 0 var(--gut);
  width: max-content; will-change: transform;
}
.work-intro { width: min(78vw, 380px); flex: none; }
.work-intro h2 {
  font-weight: 700; font-variation-settings: "wdth" 75, "opsz" 96;
  font-size: clamp(2.6rem, 6vw, 5rem); line-height: 0.95; letter-spacing: -0.02em;
}
.work-intro p { margin: 20px 0 0; color: var(--muted); max-width: 30ch; }
.card { margin: 0; flex: none; }
.pic { background: var(--pale); transition: transform 0.35s cubic-bezier(.2,.8,.3,1), box-shadow 0.35s ease; }
.card figcaption strong { background: linear-gradient(var(--pink), var(--pink)) 0 100% / 0 3px no-repeat; transition: background-size 0.35s ease; width: fit-content; padding-bottom: 2px; }
@media (hover: hover) {
  .card:hover .pic { transform: translateY(-12px); box-shadow: 0 26px 40px -18px rgba(0, 0, 0, 0.45); }
  .card:hover figcaption strong { background-size: 100% 3px; }
}
.pic img {
  display: block; height: min(58vh, 540px); height: min(58svh, 540px);
  width: auto; max-width: 86vw; object-fit: cover;
}
@media (max-width: 700px) {
  .pic img { height: auto; width: min(86vw, 520px); }
}
.card figcaption { margin-top: 14px; display: flex; flex-direction: column; }
.card figcaption strong { font-family: var(--display); font-weight: 600; font-size: 1.2rem; }
.card figcaption span { color: var(--muted); font-size: 0.95rem; }
.work-end { width: min(86vw, 560px); flex: none; padding-right: var(--gut); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.work-end h3 {
  font-weight: 700; font-variation-settings: "wdth" 75, "opsz" 96;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 0.98; letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.btn {
  display: inline-block; padding: 0.9em 1.7em;
  background: var(--pink); color: #000; border-radius: 999px;
  font: 600 1rem var(--body); text-decoration: none;
  transition: transform 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn.line { background: transparent; color: inherit; border: 2px solid currentColor; padding: calc(0.9em - 2px) calc(1.7em - 2px); }

/* pricing */
.pricing { padding: 0 var(--gut) clamp(96px, 18vh, 200px); }
.pricing h2 {
  font-weight: 700; font-variation-settings: "wdth" 75, "opsz" 96;
  font-size: clamp(2.8rem, 8vw, 6.5rem); line-height: 0.92; letter-spacing: -0.025em;
  margin: 0 0 clamp(28px, 5vh, 48px);
}
.price-list { list-style: none; margin: 0; padding: 0; max-width: 880px; }
.price-list li {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: 6px 24px; border-top: 3px solid var(--pink); padding: 22px 0;
}
.price-list li:last-child { border-bottom: 3px solid var(--pink); }
.price-list .item { font-family: var(--display); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 1.9rem); }
.price-list .amt { font-family: var(--display); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.6rem); letter-spacing: -0.01em; }
.price-note { margin: 24px 0 0; color: var(--muted); max-width: 52ch; }

/* about */
.about { padding: clamp(40px, 7vh, 72px) var(--gut) clamp(64px, 12vh, 120px); }
.about .statement {
  font-family: var(--display); font-weight: 500;
  font-variation-settings: "opsz" 72;
  font-size: clamp(1.9rem, 4.2vw, 3.6rem); line-height: 1.12; letter-spacing: -0.015em;
  max-width: 22em; margin: 0;
}
.bio-block { margin: clamp(28px, 5vh, 48px) 0 0; }
.about .bio { margin: 0; font-size: clamp(1.15rem, 1.9vw, 1.55rem); line-height: 1.5; }
.signoff { margin-top: 22px; text-align: right; padding-right: clamp(0px, 12vw, 180px); }
.signoff-name { margin: 0; font-family: var(--display); font-weight: 200; font-variation-settings: "wdth" 100, "opsz" 48; font-size: 1.44rem; letter-spacing: 0.02em; line-height: 1.2; }
.signature { margin: 4px 0 0 auto; width: clamp(170px, 26vw, 230px); }
.signature svg { display: block; width: 100%; height: auto; overflow: visible; font-family: "Mrs Saint Delafield", "Segoe Script", cursive; fill: currentColor; color: var(--ink); }
.signature img { display: block; width: 100%; height: auto; filter: var(--sig-filter); }
.facts { list-style: none; display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(28px, 5vw, 64px); margin: clamp(40px, 8vh, 72px) 0 0; padding: 0; }
.facts li { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.facts .big {
  font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 75, "opsz" 96;
  font-size: clamp(3.4rem, 8vw, 6rem); line-height: 0.9; letter-spacing: -0.03em;
  border-bottom: 3px solid var(--pink); padding-bottom: 6px;
}
.facts .lab { color: var(--muted); }
.facts .tile { display: block; width: clamp(104px, 15vw, 136px); }
.facts .tile img { width: 100%; height: auto; display: block; filter: var(--logo-filter); }
/* scroll-in motion (the classes are added by the script, so nothing is hidden without it) */
.fall { opacity: 0; transform: translateY(-56px); }
.fall.in { animation: fall 0.9s cubic-bezier(.25,.9,.35,1.18) var(--d, 0s) both; }
@keyframes fall { from { opacity: 0; transform: translateY(-56px); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
.rise { opacity: 0; transform: translateY(32px); }
.rise.in { animation: rise 0.8s cubic-bezier(.2,.8,.3,1) var(--d, 0s) both; }
@keyframes rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
.facts .big { position: relative; border-bottom: 0; }
.facts .big::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--pink); transform-origin: left; transition: transform 0.8s cubic-bezier(.2,.8,.3,1) 0.45s; }
.facts .rise:not(.in) .big::after { transform: scaleX(0); }
.facts .tile img { transition: transform 1.1s cubic-bezier(.2,.9,.3,1.15) 0.15s; }
.facts .rise:not(.in) .tile img { transform: rotate(-140deg) scale(0.4); }
@media (prefers-reduced-motion: reduce) {
  .fall, .rise { opacity: 1; transform: none; animation: none !important; }
  .facts .big::after, .facts .tile img, .about dl > div::before { transition: none; transform: none !important; }
}
.about dl {
  margin: clamp(48px, 8vh, 88px) 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px clamp(32px, 6vw, 96px);
}
.about dl > div { position: relative; padding-top: 18px; }
.about dl > div::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--pink); transform-origin: left; transition: transform 0.8s cubic-bezier(.2,.8,.3,1) 0.45s; }
.about dl > .rise:not(.in)::before { transform: scaleX(0); }
.about dt { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 75, "opsz" 96; font-size: clamp(1.9rem, 3.6vw, 3.2rem); line-height: 1; letter-spacing: -0.02em; }
.about dd { margin: 12px 0 0; color: var(--muted); font-size: clamp(1.1rem, 1.7vw, 1.5rem); line-height: 1.4; max-width: 34ch; }

/* commissions + footer */
.commissions {
  background: #000; color: #fff;
  padding: clamp(96px, 18vh, 200px) var(--gut) clamp(48px, 8vh, 80px);
}
.commissions h2 {
  font-weight: 700; font-variation-settings: "wdth" 75, "opsz" 96;
  font-size: clamp(3rem, 10vw, 9rem); line-height: 0.9; letter-spacing: -0.03em;
  max-width: 10ch;
}
.commissions .lead { max-width: 40ch; margin: 28px 0 0; color: #d6d6d6; font-size: 1.15rem; }
.steps {
  list-style: none; margin: clamp(56px, 10vh, 100px) 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px;
}
.steps li { border-top: 2px solid var(--pink); padding-top: 18px; }
.steps .n { font-family: var(--display); font-weight: 700; font-size: 2.4rem; color: var(--pink); line-height: 1; }
.steps h3 { font-weight: 600; font-size: 1.35rem; margin: 14px 0 6px; }
.steps p { margin: 0; color: #d6d6d6; max-width: 32ch; }
.commissions .fine { margin: 20px 0 0; color: #bdbdbd; font-size: 0.95rem; }
.commissions :focus-visible { outline-color: var(--pink); }
.request { max-width: 760px; margin-top: clamp(40px, 8vh, 80px); }
.req-form { border: 1px solid #3a3a3a; padding: clamp(20px, 4vw, 40px); }
.req-form h3 { font-family: var(--display); font-weight: 700; font-size: 1.8rem; margin: 0 0 8px; }
.req-note { margin: 0 0 24px; color: #d6d6d6; }
.field { margin: 0 0 20px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; background: #000; color: #fff; border: 1px solid #777; border-radius: 8px;
  padding: 0.8em 1em; font: inherit;
}
.field input[type="file"] { width: 100%; color: #d6d6d6; font: inherit; }
.field input[type="file"]::file-selector-button {
  margin-right: 14px; padding: 0.6em 1.3em; border: 0; border-radius: 999px;
  background: var(--pink); color: #000; font: 600 0.95rem var(--body); cursor: pointer;
}
.field [aria-invalid="true"] { border-color: #ff8fb8; }
.hint { margin: 6px 0 0; color: #bdbdbd; font-size: 0.9rem; }
.thumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 12px 0 0; }
.thumbs li { position: relative; width: 84px; height: 84px; border: 1px solid #555; border-radius: 8px; overflow: hidden; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumbs button {
  position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; border: 0; border-radius: 50%;
  background: #000; color: #fff; font: 600 0.9rem var(--body); line-height: 1; cursor: pointer;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.status { margin: 16px 0 0; min-height: 1.5em; color: #d6d6d6; }
.status.err { color: #ffb4c8; }
.btn[disabled] { opacity: 0.6; cursor: default; transform: none; }
footer {
  margin-top: clamp(80px, 14vh, 160px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
  padding-top: 24px; border-top: 1px solid #333; font-size: 0.95rem; color: #d6d6d6;
}
/* the groups just hold items: every link is spaced evenly along one row */
.f-left, .f-mid { display: contents; }
.f-right { text-align: right; }
@media (max-width: 1299px) {
  footer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 24px; }
  .f-right { text-align: left; }
}
@media (max-width: 700px) {
  footer { grid-template-columns: 1fr; }
}
footer .linkbtn { justify-self: start; text-align: left; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 0.2em; }
#privacyDlg { border: 0; padding: 0; width: min(92vw, 640px); max-height: 86vh; max-height: 86svh; background: var(--paper); color: var(--ink); }
#privacyDlg::backdrop { background: rgba(0, 0, 0, 0.65); }
.pv-box { padding: clamp(22px, 4vw, 40px); max-height: 86vh; max-height: 86svh; overflow-y: auto; }
.pv-box h2 { font-weight: 700; font-variation-settings: "wdth" 75, "opsz" 96; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1; margin-bottom: 18px; }
.pv-box h3 { font-family: var(--display); font-size: 1.1rem; margin: 20px 0 4px; }
.pv-box p { margin: 0 0 8px; color: var(--muted); }
.pv-box .btn { margin-top: 20px; cursor: pointer; border: 0; }
#privacyDlg :focus-visible { outline-color: var(--pink); }
footer a { text-decoration-color: var(--pink); text-underline-offset: 0.2em; }

/* gallery page */
.g-wrap { padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gut) 0; }
.g-wrap .lockup { margin-bottom: clamp(24px, 5vh, 48px); }
.g-wrap h1:focus { outline: none; }
.g-wrap h1 {
  font-weight: 700; font-variation-settings: "wdth" 75, "opsz" 96;
  font-size: clamp(3.4rem, 11vw, 10rem); line-height: 0.9; letter-spacing: -0.03em;
}
.g-wrap .intro { margin: 20px 0 clamp(40px, 8vh, 80px); color: var(--muted); max-width: 36ch; }
.g-grid { columns: 2 420px; column-gap: clamp(20px, 3vw, 40px); }
.g-item { break-inside: avoid; margin: 0 0 clamp(24px, 4vw, 44px); }
.g-open { display: block; width: 100%; padding: 0; border: 0; background: var(--pale); cursor: zoom-in; font: inherit; }
.g-open img { display: block; width: 100%; height: auto; }
.g-item figcaption { margin-top: 12px; font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.g-cta { margin-top: clamp(48px, 10vh, 120px); }
.g-cta.commissions h2 { font-size: clamp(2.6rem, 7vw, 6rem); max-width: 14ch; }
.g-cta .actions { margin-top: 32px; }

/* image viewer */
#lightbox {
  border: 0; padding: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  background: #000; color: #fff;
}
#lightbox[open] {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: calc(16px + env(safe-area-inset-top, 0px)) 16px calc(16px + env(safe-area-inset-bottom, 0px));
}
#lightbox img { max-width: 94vw; max-height: 74vh; max-height: 74svh; object-fit: contain; display: block; }
#lightbox p { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.15rem; text-align: center; }
.lb-bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.lb-bar button {
  font: 600 1rem var(--body); padding: 0.7em 1.4em; border-radius: 999px; cursor: pointer;
  background: transparent; color: #fff; border: 2px solid #fff;
}
.lb-bar button.close { background: var(--pink); color: #000; border-color: var(--pink); }
#lightbox :focus-visible { outline-color: var(--pink); }

.nav nav .short { display: none; }
.nav nav a { white-space: nowrap; }
@media (max-width: 820px) {
  :root { --navh: 60px; }
  .nav { padding-bottom: 10px; }
  .nav nav { width: 100%; justify-content: space-between; }
  .nav nav a { margin-left: 0; font-size: 0.88rem; }
  .nav nav a.pill { padding: 0.4em 0.95em; }
  .nav nav .long { display: none; }
  .nav nav .short { display: inline; }
  .stage { padding-top: calc(var(--navh) + 14px + env(safe-area-inset-top, 0px)); }
  .g-wrap { padding-top: calc(var(--navh) + 14px + env(safe-area-inset-top, 0px)); }
  .lockup img { height: 90px; }
}
@media (max-width: 600px) {
  /* phones: the links sit under the logo, then stick to the top of the screen once you scroll past it (top is set by the script) */
  :root { --navh: 56px; }
  .nav { padding-top: 0; }
  .nav.solid { padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
  .stage, .g-wrap { padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
  .stage .lockup, .g-wrap .lockup { margin-bottom: 36px; }
  .lockup img { height: 64px; }
  .lockup span { font-size: 1.55rem; }
}

.hint-swipe { display: none; }

/* phones, tablets and Reduce Motion: the row is a normal swipe-sideways strip */
@media (max-width: 820px), (hover: none) and (pointer: coarse), (prefers-reduced-motion: reduce) {
  .work { height: auto !important; }
  .work-pin { position: static; height: auto; overflow: visible; padding: 72px 0 0; display: block; }
  .about { padding-top: 48px; }
  .track {
    width: auto; overflow-x: auto; transform: none !important;
    scroll-snap-type: x proximity; scroll-padding-left: var(--gut); -webkit-overflow-scrolling: touch;
    padding-bottom: 24px;
  }
  .card, .work-end { scroll-snap-align: start; }
  .work-pin > .work-intro { width: auto; padding: 0 var(--gut) 24px; }
  .track { padding-top: 16px; }
  .hint-slide { display: none; }
  .hint-swipe { display: inline; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* phone held sideways: the header scrolls away and the hero shrinks so the drawing fits the first screen */
@media (min-width: 700px) and (max-height: 500px) and (orientation: landscape) {
  :root { --navh: 0px; }
  .nav { position: absolute; }
  .stage { padding-top: calc(14px + env(safe-area-inset-top, 0px)); padding-bottom: 14px; min-height: 0; }
  .lockup img { height: 48px; }
  .lockup span { font-size: 1.3rem; }
  .hero h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
  .stage svg.art { width: min(100%, 52vw); margin-top: 16px; }
}

/* touch screens: bigger invisible tap areas on the nav, without changing how it looks */
@media (pointer: coarse) {
  .nav nav a { position: relative; }
  .nav nav a::after { content: ""; position: absolute; inset: -11px -6px; }
  .nav nav a.pill::after { inset: -6px -3px; }
}

  .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

  /* hero call to action, left of the car on wide screens */
  .art-row { display: flex; flex-direction: column; gap: 18px; flex: 1 1 auto; }
  .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
  .cta-note { color: var(--muted); font-size: 0.95rem; }
  @media (min-width: 1100px) and (min-aspect-ratio: 8/5) {
    .art-row { flex-direction: row; align-items: flex-end; flex: none; margin-top: auto; }
    .cta { flex-direction: column; align-items: flex-start; padding-bottom: clamp(24px, 6vh, 64px); }
    .stage .art-row svg.art { margin: 0 0 0 auto; width: min(calc(100% - 300px), 72vw); }
  }
  @media (min-width: 700px) and (max-height: 500px) and (orientation: landscape) {
    .art-row { flex-direction: row; align-items: flex-end; flex: none; margin-top: auto; }
    .cta { flex-direction: column; align-items: flex-start; padding-bottom: 8px; gap: 6px; }
    .cta .btn { padding: 0.6em 1.2em; font-size: 0.9rem; }
    .cta-note { font-size: 0.8rem; }
    .stage .art-row svg.art { margin: 0 0 0 auto; }
  }

  /* reviews: a strip that drifts across the screen */
  .reviews { padding: clamp(40px, 8vh, 80px) 0 clamp(56px, 10vh, 110px); }
  .reviews h2 { padding: 0 var(--gut); font-weight: 700; font-variation-settings: "wdth" 75, "opsz" 96; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 0.95; letter-spacing: -0.02em; margin-bottom: clamp(24px, 4vh, 40px); }
  .marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
  .mq-track { display: flex; width: max-content; margin: 0; padding: 6px 0 10px; list-style: none; }
  .mq-track.run { animation: mq 80s linear infinite; }
  .marquee:hover .mq-track, .marquee:focus-within .mq-track { animation-play-state: paused; }
  @keyframes mq { to { transform: translateX(-50%); } }
  .rev { flex: none; width: min(78vw, 360px); margin: 0 24px 0 0; padding: 22px 24px 20px; background: var(--pale); display: flex; flex-direction: column; gap: 10px; }
  .rev .stars { margin: 0; color: var(--pink); letter-spacing: 0.12em; font-size: 1.1rem; }
  .rev blockquote { margin: 0; font-size: 1.05rem; line-height: 1.45; }
  .rev .who { margin: auto 0 0; color: var(--muted); font-size: 0.92rem; }
  .rev .who strong { color: var(--ink); font-weight: 600; }
  @media (prefers-reduced-motion: reduce) {
    .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  }

  /* pricing + FAQ side by side */
  .pricing { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px clamp(24px, 4vw, 64px); align-items: start; }
  .price-list { max-width: none; }
  .faq { border-top: 3px solid var(--pink); padding-top: 14px; font-size: 0.95rem; }
  .faq h3 { font-size: 1.1rem; margin-bottom: 4px; }
  .faq details { border-bottom: 1px solid #d9d9d9; }
  .faq summary { cursor: pointer; list-style: none; position: relative; padding: 10px 28px 10px 0; font-weight: 600; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; position: absolute; right: 4px; top: 6px; color: var(--pink); font-size: 1.4rem; font-weight: 700; }
  .faq details[open] summary::after { content: "\2013"; }
  .faq details p { margin: 0 0 12px; color: var(--muted); max-width: 46ch; }
  @media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }

  /* form: every field is required */
  .req-all { margin: -12px 0 22px; color: #bdbdbd; font-size: 0.9rem; }
  .field select:invalid { color: #bdbdbd; }

  /* FAQ: titled, in line with Pricing, with a black dividing line */
  .faq { border-top: 0; border-left: 2px solid #000; padding: 0 0 0 clamp(24px, 4vw, 64px); }
  .faq h3 { font-weight: 700; font-variation-settings: "wdth" 75, "opsz" 72; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; letter-spacing: -0.01em; margin: 6px 0 10px; }
  @media (max-width: 900px) { .faq { border-left: 0; border-top: 2px solid #000; padding: 20px 0 0; } }

  /* social icons: top right on computers and tablets, beside the logo on phones, and in the footer */
  .social { display: flex; align-items: center; gap: 4px; }
  .social a { display: grid; place-items: center; width: 34px; height: 34px; color: inherit; text-decoration: none; }
  .social svg { width: 21px; height: 21px; }
  .social a:hover { color: var(--pink); }
  .nav .nav-social { margin-left: clamp(10px, 1.6vw, 22px); }
  .nav nav .social a { margin-left: 0; text-decoration: none; }
  .social-top { display: none; }
  .g-wrap { position: relative; }
  footer .f-social { display: inline-flex; align-items: center; gap: 8px; }
  footer .f-social svg { width: 20px; height: 20px; flex: none; }
  footer a.f-social { text-decoration: none; }
  footer a.f-social span { text-decoration: underline; text-decoration-color: var(--pink); text-underline-offset: 0.2em; }
  @media (max-width: 600px) {
    .nav-social { display: none; }
    .social-top { display: flex; position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: calc(var(--gut) - 6px); z-index: 2; }
  }
  @media (max-width: 360px) {
    .social a { width: 30px; height: 30px; }
    .lockup img { height: 56px; }
  }

/* ---------- about: sign-off (portrait + name + signature) and the Juicebox frame ---------- */
/* phones: left-aligned under the paragraph, so it reads straight on from the text */
.bio-block { display: block; }
.signoff { margin-top: clamp(22px, 4vh, 36px); display: flex; justify-content: flex-start; align-items: center; gap: clamp(16px, 3vw, 30px); text-align: left; padding-right: 0; clear: none; }
.about-portrait { float: none; margin: 0; flex: none; width: clamp(112px, 30vw, 150px); }
.about-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.signoff-id { text-align: left; }
.signature { margin: 4px 0 0; width: clamp(120px, 34vw, 170px); }
.signature img { display: block; width: 100%; height: auto; filter: none; }
/* tablets and computers: pushed to the right edge like the original design */
@media (min-width: 820px) {
  .signoff { justify-content: flex-end; text-align: right; padding-right: clamp(0px, 8vw, 140px); }
  .about-portrait { width: clamp(130px, 13vw, 180px); }
  .signoff-id { text-align: right; }
  .signature { margin-left: auto; width: clamp(150px, 15vw, 200px); }
}
/* Juicebox: framed poster standing next to their logo, a little taller than the logo */
.facts .client { align-items: flex-start; }
.facts .client-art { display: flex; align-items: flex-end; gap: clamp(14px, 2.4vw, 24px); }
.facts .client-frame { display: block; height: clamp(136px, 34vw, 180px); }
.facts .client-frame img { display: block; height: 100%; width: auto; box-shadow: 0 12px 20px -12px rgba(0, 0, 0, 0.5); }
@media (min-width: 820px) { .facts .client-frame { height: clamp(150px, 15vw, 190px); } }

/* ---------- reviews header + Google badge ---------- */
.rev-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px clamp(20px, 3vw, 48px); padding: 0 var(--gut); margin-bottom: clamp(24px, 4vh, 40px); }
.rev-head h2 { padding: 0; margin: 0; }
.g-mark { display: inline-grid; place-items: center; width: 1.45em; height: 1.45em; border-radius: 50%; background: #fff; border: 1px solid #dadce0; font: 700 0.85em Arial, sans-serif; line-height: 1;
  background-image: linear-gradient(135deg, #4285f4 0 25%, #ea4335 25% 50%, #fbbc05 50% 75%, #34a853 75%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.g-badge { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 16px; border: 2px solid #000; border-radius: 999px; text-decoration: none; font-size: 0.95rem; }
.g-badge:hover { border-color: var(--pink); }
.g-score b { font-family: var(--display); font-size: 1.3rem; }
.g-stars { color: #fbbc05; letter-spacing: 0.08em; }
.g-text u { text-decoration-color: var(--pink); text-underline-offset: 0.2em; }
.rev .g-src { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; font-size: 0.85em; }
.rev .g-src .g-mark { font-size: 0.8em; }

/* ---------- gallery: categories ---------- */
.g-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(36px, 7vh, 64px); position: sticky; top: calc(var(--navh) + 10px); z-index: 5; }
.g-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 0.55em 1.1em; border: 2px solid #000; border-radius: 999px; background: #fff; color: #000; font-weight: 600; text-decoration: none; }
.g-chips a span { background: var(--pink); border-radius: 999px; padding: 0 0.55em; font-size: 0.85em; }
.g-chips a:hover { background: #000; color: #fff; }
.g-cat { padding-top: clamp(20px, 4vh, 40px); margin-bottom: clamp(36px, 8vh, 80px); scroll-margin-top: calc(var(--navh) + 70px); }
.g-cat h2 { display: flex; align-items: baseline; gap: 14px; font-weight: 700; font-variation-settings: "wdth" 75, "opsz" 96; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 0.95; letter-spacing: -0.02em; padding-bottom: 14px; margin: 0 0 clamp(20px, 3vh, 32px); border-bottom: 3px solid var(--pink); }
.g-count { font: 600 1rem var(--body); color: var(--muted); letter-spacing: 0; }
@media (max-width: 600px) { .g-chips { position: static; } }

/* ---------- gallery: swipe rows on phones and tablets, grid on bigger screens ---------- */
.g-hint { display: none; }
.g-open { transition: transform 0.15s ease; -webkit-tap-highlight-color: transparent; }
.g-open:active { transform: scale(0.97); }
@media (max-width: 900px) {
  .g-cat { margin-bottom: 20px; padding-top: 10px; }
  .g-grid { align-items: flex-start; }
  .g-cat h2 { flex-wrap: wrap; }
  .g-hint { display: inline; margin-left: auto; font: 600 0.85rem var(--body); color: var(--muted); letter-spacing: 0; }
  .g-grid { columns: auto; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gut);
    margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
  .g-grid::-webkit-scrollbar { display: none; }
  .g-grid { --rowh: clamp(230px, 44svh, 360px); }
  .g-item { flex: none; margin: 0; scroll-snap-align: start; width: min(82vw, calc(var(--ar, 1.4) * var(--rowh))); }
  .g-open img { width: 100%; height: auto; }
  .g-item figcaption { font-size: 1.05rem; }
}
#lightbox img { touch-action: pan-y pinch-zoom; transition: transform 0.2s ease, opacity 0.2s ease; }

/* pricing + FAQ: the FAQ is vertically centred on the price rows (A4 drawing, A4 + sticker pack) */
@media (min-width: 901px) {
  .pricing-main { display: contents; }
  .pricing h2 { grid-column: 1; grid-row: 1; }
  .price-list { grid-column: 1; grid-row: 2; align-self: center; }
  .price-note { grid-column: 1; grid-row: 3; }
  .faq { grid-column: 2; grid-row: 2; align-self: center; }
}

/* ---------- Request a drawing: less black space ---------- */
.commissions { padding: clamp(56px, 9vh, 104px) var(--gut) clamp(32px, 5vh, 56px); }
.commissions h2 { font-size: clamp(2.6rem, 6.6vw, 6rem); max-width: none; line-height: 0.92; }
.commissions .lead { margin-top: 18px; }
.steps { margin: clamp(28px, 5vh, 48px) 0 0; gap: 20px 28px; }
.request { margin-top: clamp(28px, 5vh, 48px); }
footer { margin-top: clamp(40px, 7vh, 72px); }
.g-cta { margin-top: clamp(32px, 6vh, 64px); }
.g-cta.commissions h2 { font-size: clamp(2.4rem, 6vw, 5rem); max-width: 16ch; }
.g-cta .actions { margin-top: 24px; }
}

/* phones and tablets: step number sits beside its heading instead of above it */
@media (max-width: 999px) {
  .steps { gap: 0; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 14px 0 16px; }
  .steps .n { grid-row: 1 / span 2; font-size: 2rem; }
  .steps h3 { margin: 0 0 4px; }
  .commissions { padding-top: clamp(40px, 7vh, 64px); }
}

/* about: justified text, tighter spacing before the 20 / 100+ row, bigger portrait on computers */
.bio, .about dd { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.facts { margin-top: clamp(24px, 4vh, 40px); }
.signoff { margin-top: clamp(14px, 2.4vh, 22px); }
@media (min-width: 820px) { .about-portrait { width: clamp(190px, 17vw, 260px); } }

/* ---------- recent drawings: never crop, on any screen ---------- */
.pic img { object-fit: contain; height: auto; width: min(86vw, calc(var(--ar, 1.5) * min(58svh, 540px))); max-width: none; }
@media (max-width: 700px) { .pic img { width: min(86vw, 520px, calc(var(--ar, 1.5) * 62svh)); } }

/* ---------- about sign-off: photo, name and signature stacked and centred ---------- */
.signoff { flex-direction: column; align-items: center; justify-content: flex-start; width: fit-content; gap: 6px; text-align: center; padding-right: 0; margin-left: 0; }
.signoff-name { margin: 6px 0 0; text-align: center; }
.signature { margin: 0; }
@media (min-width: 820px) { .signoff { margin-left: auto; margin-right: clamp(0px, 8vw, 140px); text-align: center; } .signature { margin-left: 0; } }

/* ---------- reviews sit ~100px higher ---------- */
.about { padding-bottom: clamp(40px, 7vh, 72px); }
.reviews { padding-top: clamp(0px, 2vh, 20px); }

/* ---------- gallery on computers: smaller pictures, four across ---------- */
@media (min-width: 901px) {
  .g-grid { columns: 4 250px; column-gap: clamp(16px, 2vw, 28px); }
  .g-item { margin-bottom: clamp(16px, 2vw, 26px); }
  .g-item figcaption { font-size: 0.95rem; margin-top: 8px; }
}

/* about: text, then the signature straight under where it ends, then the photo */
.signoff { flex-direction: column; align-items: flex-start; width: auto; margin: clamp(10px, 2vh, 18px) 0 0; padding: 0; text-align: left; gap: clamp(14px, 2.4vh, 22px); }
.signature { margin: 0; width: clamp(130px, 18vw, 200px); }
.about-portrait { margin: 0; width: clamp(150px, 40vw, 220px); }
@media (min-width: 820px) {
  .signoff { margin: clamp(10px, 2vh, 18px) 0 0; text-align: left; }
  .signature { margin: 0; }
  .about-portrait { width: clamp(220px, 20vw, 300px); }
}

/* gallery: full width intro and tighter spacing (computers) */
.g-wrap .lockup { margin-bottom: clamp(10px, 2vh, 20px); }
.g-wrap h1 { font-size: clamp(3rem, 8vw, 7rem); }
.g-wrap .intro { margin: 12px 0 clamp(16px, 3vh, 28px); max-width: none; }
.g-chips { margin-bottom: clamp(14px, 3vh, 28px); }
.g-cat { padding-top: clamp(6px, 1.5vh, 14px); margin-bottom: clamp(18px, 4vh, 40px); }
.g-cat h2 { font-size: clamp(2rem, 4vw, 3rem); padding-bottom: 10px; margin-bottom: clamp(12px, 2vh, 20px); }
@media (min-width: 901px) { .g-wrap .intro { font-size: 1.1rem; } }
.g-cta { margin-top: clamp(8px, 2vh, 20px); }

/* very narrow screens: justified text leaves ugly gaps, so keep it left-aligned there */
@media (max-width: 600px) { .bio, .about dd { text-align: left; } }

/* signature on the right, directly under the end of the paragraph; the photo stays left */
.signature { align-self: flex-end; }
@media (min-width: 820px) { .signature { margin-right: clamp(0px, 4vw, 60px); } }

/* "Jessie" sits on the line below the paragraph, about 100px to the right of the last word */
.bio { padding-bottom: 1.7em; }
.end-mark { position: relative; display: inline-block; width: 0; height: 0; }
.end-name { position: absolute; top: 1.5em; left: 100px; white-space: nowrap; font-family: var(--display); font-weight: 200; font-variation-settings: "wdth" 100, "opsz" 48; font-size: 0.82em; letter-spacing: 0.02em; line-height: 1.5; color: var(--ink); text-align: left; }
@media (max-width: 600px) { .end-name { left: 44px; } }

/* ---------- about sign-off: photo + "Jessie" + signature, hung off the end of the paragraph ---------- */
.bio { padding-bottom: calc(1.5em + 150px); }
.end-name { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); font-family: inherit; font-weight: inherit; font-variation-settings: normal; font-size: 1em; letter-spacing: normal; line-height: 1.5; color: inherit; top: 1.5em; left: 100px; }
.end-photo { flex: none; display: block; width: clamp(96px, 8vw, 118px); height: clamp(96px, 8vw, 118px); border-radius: 50%; overflow: hidden; }
.end-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 34% 24%; }
.end-sign { display: flex; flex-direction: column; align-items: center; text-align: center; }
.end-word { display: block; }
.end-sig { display: block; width: clamp(130px, 13vw, 180px); height: auto; margin-top: 2px; }
@media (max-width: 900px) {
  .bio { padding-bottom: 0; }
  .end-mark { display: block; width: auto; height: auto; margin-top: 18px; }
  .end-name { position: static; justify-content: flex-end; }
  .end-photo { width: 96px; height: 96px; }
  .end-sig { width: 140px; }
}

.end-photo img { object-position: 50% 50%; }

/* gallery on phones: leave room for the links row that sits under the logo */
@media (max-width: 600px) { .g-wrap .lockup { margin-bottom: 58px; } }

/* ---------- sign-off v2: "Jessie" above, centred over the photo + signature (computers) ---------- */
.bio { padding-bottom: calc(3em + 150px); }
.end-name { flex-direction: column; align-items: center; gap: 6px; }
.end-row { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); }
.end-sign { display: contents; }
@media (max-width: 900px) {
  /* phones and iPad: photo on the left, "Jessie" over the signature on the right, more room above the stats row */
  .bio { padding-bottom: 0; }
  .end-mark { display: block; width: auto; height: auto; margin-top: 22px; }
  .end-name, .end-row { display: contents; }
  .end-mark { display: grid; grid-template-columns: auto auto; grid-template-areas: "photo word" "photo sig"; column-gap: clamp(20px, 5vw, 36px); row-gap: 4px; justify-content: end; align-items: center; justify-items: center; }
  .end-photo { grid-area: photo; }
  .end-word { grid-area: word; align-self: end; }
  .end-sig { grid-area: sig; align-self: start; }
  .facts { margin-top: clamp(44px, 7vh, 72px); }
}

/* phones and iPad: same arrangement as computers, "Jessie" centred above the photo + signature row */
@media (max-width: 900px) {
  .end-mark { display: block; width: auto; height: auto; margin-top: 22px; }
  .end-name { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; position: static; }
  .end-word { align-self: auto; }
  .end-name { width: fit-content; margin-left: auto; align-items: center; }
  .end-row { display: flex; align-items: center; gap: clamp(14px, 4vw, 24px); }
  .end-sig { align-self: auto; }
}

/* a bit more room before Reviews, and the Juicebox logo ~10% smaller */
.reviews { padding-top: clamp(40px, 7vh, 80px); }
.facts .tile { width: clamp(94px, 13.5vw, 122px); }

/* prices: names on the left, amounts in one tidy right-hand column; "+ sticker pack" drops to its own line on phones */
.price-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 16px; }
.price-list .amt { white-space: nowrap; text-align: right; }
@media (max-width: 600px) {
  .price-list .plus { display: block; font-size: 0.8em; font-weight: 500; color: var(--muted); }
  .price-list .item { font-size: 1.3rem; }
  .price-list .amt { font-size: 1.6rem; }
}

/* sign-off on computers and landscape tablets: anchored inside the paragraph box (right side), so it can never push the page sideways */
@media (min-width: 901px) {
  .bio { position: relative; }
  .end-mark { position: static; }
  .end-name { left: auto; top: auto; bottom: 0; right: clamp(0px, 6.5vw, 100px); }
}
