:root {
  color-scheme: dark;
  --bg: #100f12;
  --panel: #15171c;
  --panel-strong: #1b2028;
  --text: #f4f0ea;
  --muted: #aaa6a1;
  --faint: #716f70;
  --line: rgba(244, 240, 234, .18);
  --line-soft: rgba(244, 240, 234, .1);
  --pink: #e4a8bc;
  --pink-hover: #edbfd0;
  --teal: #9fd6d2;
  --button-text: #100f12;
  --header: rgba(16, 15, 18, .93);
  --shadow: 0 24px 80px rgba(0, 0, 0, .22);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f3ef;
  --panel: #ebe8e2;
  --panel-strong: #dedfe0;
  --text: #16191e;
  --muted: #5f6266;
  --faint: #85888b;
  --line: rgba(22, 25, 30, .2);
  --line-soft: rgba(22, 25, 30, .1);
  --pink: #aa476a;
  --pink-hover: #8e3454;
  --teal: #236f70;
  --button-text: #fffaf6;
  --header: rgba(245, 243, 239, .93);
  --shadow: 0 24px 80px rgba(29, 31, 33, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Instrument Sans", system-ui, sans-serif; font-size: 1rem; line-height: 1.5; transition: background .25s ease, color .25s ease; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 100; padding: .7rem 1rem; background: var(--text); color: var(--bg); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 30; min-height: 3.55rem; padding: .72rem clamp(1rem, 3.4vw, 2.75rem); background: var(--header); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { display: inline-flex; align-items: baseline; font-weight: 700; font-size: 1.08rem; letter-spacing: .035em; }
.brand-hey { color: var(--text); }
.brand-darrin { color: var(--pink); }
.primary-nav { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 1.7rem); font-family: "Space Mono", monospace; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.primary-nav > a:not(.nav-cta), .theme-toggle { color: var(--muted); }
.primary-nav > a:hover, .theme-toggle:hover { color: var(--pink); }
.primary-nav > a.active { color: var(--pink); }
.nav-cta { padding: .68rem 1rem; background: var(--pink); color: var(--button-text); font-weight: 700; }
.nav-cta:hover, .buy-button:hover { background: var(--pink-hover); }
.theme-toggle { display: inline-flex; align-items: center; gap: .4rem; border: 0; padding: .45rem 0; background: transparent; cursor: pointer; text-transform: uppercase; letter-spacing: inherit; }
.home-shell { display: flex; align-items: flex-start; }
.portrait-panel { position: sticky; top: 3.55rem; width: 45%; height: calc(100vh - 3.55rem); min-height: 35rem; overflow: hidden; border-right: 1px solid var(--line); color: #f4f0ea; }
.portrait-panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 66% 22%; }
.portrait-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,15,18,.58), rgba(16,15,18,0) 27%, rgba(16,15,18,.16) 55%, rgba(16,15,18,.92)); }
.issue-line { position: absolute; top: 1.5rem; left: clamp(1.25rem, 2.4vw, 2.15rem); right: clamp(1.25rem, 2.4vw, 2.15rem); display: flex; justify-content: space-between; }
.portrait-copy { position: absolute; left: clamp(1.25rem, 2.4vw, 2.15rem); right: clamp(1.25rem, 2.4vw, 2.15rem); bottom: clamp(1.5rem, 3vw, 2.5rem); }
.portrait-copy h1 { max-width: 10em; margin: .65rem 0 0; font-family: "Cormorant Garamond", serif; font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1.02; font-weight: 400; letter-spacing: -.025em; text-wrap: balance; }
.portrait-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin: 1.15rem 0 0; color: rgba(244,240,234,.72); font-size: .84rem; }
.portrait-facts span + span::before { content: "·"; margin-right: 1.2rem; color: rgba(244,240,234,.35); }
.eyebrow, .section-kicker { font-family: "Space Mono", monospace; font-size: .7rem; letter-spacing: .17em; text-transform: uppercase; }
.pink { color: var(--pink); }
.home-content { width: 55%; padding: clamp(1.75rem, 3.2vw, 2.75rem) clamp(1.25rem, 3.4vw, 2.75rem) 0; }
.section-kicker { display: flex; align-items: baseline; gap: .9rem; color: var(--teal); }
.section-kicker i { flex: 1; min-width: 2.5rem; border-bottom: 1px solid var(--line); }
.section-kicker > :last-child:not(i):not(:first-child) { color: var(--faint); }
.shop-intro > h2 { max-width: 12em; margin: 1.2rem 0 0; font-size: clamp(2rem, 4.2vw, 4.25rem); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.lede { max-width: 34rem; margin: 1rem 0 0; color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.14rem); line-height: 1.65; }
.home-proof { position: relative; margin: 1.8rem 0 0; padding: clamp(1.35rem, 2.5vw, 2rem); border-block: 1px solid var(--line); background: var(--panel); }
.home-proof::before { content: "“"; position: absolute; top: -.42em; right: .12em; color: color-mix(in srgb, var(--pink) 25%, transparent); font-family: "Cormorant Garamond", serif; font-size: clamp(7rem, 15vw, 12rem); line-height: 1; pointer-events: none; }
.home-proof blockquote { position: relative; max-width: 27em; font-family: "Cormorant Garamond", serif; font-size: clamp(1.55rem, 2.45vw, 2.15rem); line-height: 1.18; letter-spacing: -.018em; }
.home-proof figcaption { position: relative; display: flex; flex-direction: column; gap: .22rem; margin-top: 1rem; }
.home-proof figcaption strong { color: var(--text); font-family: "Instrument Sans", system-ui, sans-serif; font-size: .78rem; letter-spacing: .12em; }
.home-proof figcaption span { color: var(--teal); }
.service-list { margin-top: 1.8rem; border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem 1.5rem; align-items: center; padding: 1.15rem 0; border-bottom: 1px solid var(--line-soft); }
.service-row h3 { margin: 0; font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.2; }
.service-row p { max-width: 29rem; margin: .35rem 0 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.service-meta { margin-top: .55rem; color: var(--teal); font-family: "Space Mono", monospace; font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; }
.service-action { display: flex; align-items: center; gap: 1rem; }
.price { font-size: 1.35rem; font-weight: 700; }
.buy-button { display: inline-block; padding: .78rem 1.15rem; background: var(--pink); color: var(--button-text); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.shop-prompt { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 1.3rem; }
.shop-prompt p { max-width: 26rem; margin: 0; color: var(--muted); }
.text-link { flex: none; border-bottom: 1px solid currentColor; color: var(--teal); font-family: "Space Mono", monospace; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.trust-line { display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; margin: 1.5rem 0 0; padding: .9rem 0; border-block: 1px solid var(--line-soft); color: var(--faint); font-size: .82rem; }
.trust-line strong { color: var(--text); }
.page-section { margin-top: 2.8rem; scroll-margin-top: 5rem; }
.featured-work { display: grid; grid-template-columns: 1fr; margin-top: .9rem; border-block: 1px solid var(--line); background: var(--panel); transition: background .2s ease, transform .25s ease; }
.featured-work:hover, .featured-work:focus-visible { background: var(--panel-strong); transform: translateY(-2px); }
.featured-work-media { min-width: 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.featured-work-media img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; }
.featured-work:hover .featured-work-media img, .featured-work:focus-visible .featured-work-media img { transform: scale(1.018); }
.featured-work-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(1.25rem, 2.8vw, 2.15rem); }
.featured-work-copy > strong { margin-top: .6rem; font-family: "Cormorant Garamond", serif; font-size: clamp(2rem, 3.3vw, 3.35rem); font-weight: 500; line-height: .92; letter-spacing: -.035em; }
.featured-work-story { margin-top: 1rem; color: var(--muted); font-size: .9rem; line-height: 1.6; }
.featured-work-copy .text-link { margin-top: 1.25rem; }
.track-list { margin: .6rem 0 0; padding: 0; list-style: none; }
.track-list li { display: grid; grid-template-columns: 1.75rem 4.5rem minmax(0, 1fr) auto; gap: .9rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.track-list img { width: 4.5rem; height: 4.5rem; border: 1px solid var(--line); object-fit: cover; }
.track-no, .track-time { color: var(--faint); font-family: "Space Mono", monospace; font-size: .73rem; }
.track-list strong { font-size: 1.15rem; }
.track-list p { margin: .2rem 0 0; color: var(--muted); font-size: .88rem; }
.letter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin-top: 1.35rem; }
figure { margin: 0; }
blockquote { margin: 0; font-family: "Cormorant Garamond", serif; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.28; }
figcaption { margin-top: .75rem; color: var(--faint); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-top: 3rem; padding: 1.6rem 0 2.5rem; border-top: 1px solid var(--line); }
.site-footer h2 { margin: 0; font-size: 1.45rem; }
.site-footer p { max-width: 27rem; margin: .45rem 0 0; color: var(--muted); font-size: .9rem; }
.site-footer > p { flex: none; text-align: right; color: var(--faint); font-size: .78rem; }
.site-footer .text-link { display: inline-block; margin-top: .8rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.shop-hero { max-width: 94rem; padding: clamp(2.5rem, 5vw, 5rem) clamp(1.25rem, 3.4vw, 2.75rem) clamp(2rem, 4vw, 3.5rem); }
.shop-hero h1 { max-width: 10em; margin: 1rem 0 0; font-size: clamp(3.25rem, 8vw, 8.5rem); line-height: .84; letter-spacing: -.06em; }
.shop-hero > p:last-child { max-width: 35rem; margin: 1.5rem 0 0; color: var(--muted); font-size: 1.1rem; line-height: 1.65; }
.diagnosis-shell { display: grid; grid-template-columns: minmax(20rem, .95fr) minmax(24rem, 1.05fr); border-block: 1px solid var(--line); }
.symptom-list { border-right: 1px solid var(--line); }
.symptom-button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem clamp(1.25rem, 3.4vw, 2.75rem); border: 0; border-bottom: 1px solid var(--line-soft); border-left: 4px solid transparent; background: transparent; color: var(--muted); text-align: left; cursor: pointer; font-size: clamp(1.05rem, 1.7vw, 1.45rem); font-weight: 600; }
.symptom-button:hover { background: var(--panel); color: var(--text); }
.symptom-button[aria-selected="true"] { border-left-color: var(--pink); background: var(--panel-strong); color: var(--text); }
.symptom-button small { color: var(--pink); font-family: "Space Mono", monospace; font-size: .66rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; }
.symptom-aside { padding: 1.7rem clamp(1.25rem, 3.4vw, 2.75rem); color: var(--muted); font-size: .92rem; line-height: 1.65; }
.symptom-aside a { display: inline-block; margin-top: .75rem; }
.diagnosis { min-height: 43rem; padding: clamp(2rem, 3.3vw, 3rem) clamp(1.25rem, 3.4vw, 2.75rem); background: var(--panel); }
.diagnosis h2 { margin: .75rem 0 0; font-size: clamp(2.25rem, 4vw, 4.2rem); line-height: 1; letter-spacing: -.04em; }
.diagnosis-copy { max-width: 35rem; margin: 1.1rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.68; }
.diagnosis-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 1.6rem; border-block: 1px solid var(--line); }
.diagnosis-stats div { padding: 1rem 1rem 1rem 0; }
.diagnosis-stats strong { display: block; font-size: 1.7rem; }
.diagnosis-stats span { color: var(--faint); font-family: "Space Mono", monospace; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.deliverables { margin-top: 1.6rem; }
.deliverables h3 { color: var(--faint); font-family: "Space Mono", monospace; font-size: .68rem; font-weight: 400; letter-spacing: .13em; text-transform: uppercase; }
.deliverables ul { margin: .8rem 0 0; padding: 0; list-style: none; }
.deliverables li { position: relative; margin: .55rem 0; padding-left: 1.5rem; color: var(--muted); }
.deliverables li::before { content: "—"; position: absolute; left: 0; color: var(--teal); }
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.addons { margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); }
.addons h3 { margin: 0; color: var(--faint); font-family: "Space Mono", monospace; font-size: .68rem; font-weight: 400; letter-spacing: .13em; text-transform: uppercase; }
.addons p, .scope-note { margin: .65rem 0 0; color: var(--muted); font-size: .84rem; line-height: 1.65; }
.scope-note a, .terms-check a { color: var(--teal); text-decoration: underline; text-underline-offset: .18em; }
.diagnosis-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.8rem; }
.diagnosis-actions .buy-button { padding: 1rem 1.55rem; font-size: .9rem; text-transform: none; }
.secondary-button { border: 1px solid var(--line); padding: .92rem 1.3rem; background: transparent; color: var(--text); cursor: pointer; }
.diagnosis-person { display: flex; align-items: center; gap: 1rem; margin: 2rem calc(clamp(1.25rem, 3.4vw, 2.75rem) * -1) calc(clamp(2rem, 3.3vw, 3rem) * -1); padding: 1.35rem clamp(1.25rem, 3.4vw, 2.75rem); border-top: 1px solid var(--line); background: var(--panel-strong); }
.diagnosis-person img { width: 5.25rem; height: 5.25rem; object-fit: cover; object-position: 64% 22%; }
.diagnosis-person strong { font-size: 1.05rem; }
.diagnosis-person p { margin: .2rem 0 0; color: var(--muted); font-size: .85rem; }
.counter-section { padding: clamp(2.5rem, 4vw, 4rem) clamp(1.25rem, 3.4vw, 2.75rem); }
.counter-table { margin-top: .8rem; }
.counter-row { display: grid; grid-template-columns: 2rem minmax(12rem, 1.4fr) minmax(10rem, 1fr) 7rem auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.counter-row .service-name { font-size: 1.08rem; font-weight: 700; }
.counter-row .service-short, .counter-row .turnaround { color: var(--muted); font-size: .85rem; }
.counter-row .turnaround { font-family: "Space Mono", monospace; }
.counter-row .service-buy { display: flex; align-items: center; gap: .8rem; }

.statement-page { max-width: 82rem; margin: 0 auto; padding: clamp(2rem, 4.5vw, 4.5rem) clamp(1.25rem, 4vw, 4rem) 5rem; }
.statement-meta { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 2px solid var(--text); color: var(--muted); font-family: "Space Mono", monospace; font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; }
.statement-heading { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.statement-heading h1 { max-width: 14em; margin: 1rem 0 0; font-family: "Cormorant Garamond", serif; font-size: clamp(3rem, 6.5vw, 6.7rem); font-weight: 400; line-height: .94; letter-spacing: -.04em; text-wrap: balance; }
.statement-heading > p:last-child { max-width: 42rem; margin: 1.25rem 0 0; color: var(--muted); font-size: 1.05rem; }
.statement-body { border-top: 2px solid var(--text); }
.cart-header, .cart-line { display: grid; grid-template-columns: 2rem minmax(0, 1.5fr) minmax(11rem, 1fr) auto; gap: 1.25rem; align-items: center; }
.cart-header { padding: .8rem 0; border-bottom: 1px solid var(--text); color: var(--faint); font-family: "Space Mono", monospace; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.cart-line { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.cart-line h3 { margin: 0; font-family: "Cormorant Garamond", serif; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 500; }
.cart-line p { margin: .25rem 0 0; color: var(--muted); }
.cart-line .line-price { font-size: 1.35rem; font-weight: 700; text-align: right; }
.remove-button { margin-top: .4rem; border: 0; padding: 0; background: none; color: var(--faint); cursor: pointer; font-size: .75rem; text-decoration: underline; }
.remove-button:hover { color: var(--pink); }
.empty-cart { padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.empty-cart h2 { margin: 0; font-family: "Cormorant Garamond", serif; font-size: 2.5rem; font-weight: 500; }
.empty-cart p { color: var(--muted); }
.statement-total { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; padding: 1.3rem 0; border-bottom: 2px solid var(--text); }
.statement-total p { display: flex; justify-content: space-between; gap: 5rem; width: min(100%, 26rem); margin: 0; font-size: 1.25rem; }
.statement-total strong { font-size: 1.8rem; }
.statement-total .total-detail { display: flex; justify-content: space-between; gap: 5rem; width: min(100%, 26rem); color: var(--muted); font-size: .9rem; }
.statement-total .total-detail strong { font-size: .95rem; }
.checkout-actions { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); margin-top: 3rem; }
.checkout-person { display: flex; gap: 1.3rem; align-items: flex-start; }
.checkout-person img { width: 7.5rem; height: 7.5rem; object-fit: cover; object-position: 64% 22%; filter: grayscale(.15); }
.checkout-person h2, .payment-card h2 { margin: .35rem 0 0; font-family: "Cormorant Garamond", serif; font-size: 2rem; font-weight: 500; }
.checkout-person p:last-child, .payment-card > p:not(.eyebrow) { margin: .35rem 0 0; color: var(--muted); }
.payment-card { padding-left: clamp(1.5rem, 3vw, 3rem); border-left: 1px solid var(--line); }
.payment-card .buy-button { margin-top: 1.25rem; border: 0; cursor: pointer; }
.payment-card .buy-button:disabled { cursor: not-allowed; opacity: .45; }
.terms-check { display: flex; align-items: flex-start; gap: .7rem; margin-top: 1.2rem; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.terms-check input { flex: none; width: 1.05rem; height: 1.05rem; margin-top: .15rem; accent-color: var(--pink); }
.payment-note { color: var(--pink) !important; font-size: .85rem; }
.status-page { max-width: 48rem; margin: 0 auto; padding: clamp(5rem, 12vw, 10rem) clamp(1.25rem, 4vw, 3rem); }
.status-page h1 { margin: .7rem 0 0; font-family: "Cormorant Garamond", serif; font-size: clamp(4rem, 11vw, 8rem); font-weight: 400; line-height: .9; }
.status-page > p:not(.eyebrow) { max-width: 40rem; margin: 1.5rem 0 2rem; color: var(--muted); font-size: 1.08rem; line-height: 1.7; }
.terms-page { max-width: 74rem; margin: 0 auto; padding: clamp(3rem, 7vw, 7rem) clamp(1.25rem, 4vw, 4rem); }
.terms-page > header { max-width: 52rem; }
.terms-page > header h1 { margin: .7rem 0 0; font-family: "Cormorant Garamond", serif; font-size: clamp(3.5rem, 8vw, 7rem); font-weight: 400; line-height: .92; }
.terms-page > header p:last-child { color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.terms-common { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 3rem; background: var(--line); border: 1px solid var(--line); }
.terms-common article { padding: 1.5rem; background: var(--panel); }
.terms-common h2 { margin: 0; font-size: 1.1rem; }
.terms-common p { margin: .55rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.package-terms { margin-top: 4rem; }
.package-term { scroll-margin-top: 5rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.package-term h2 { margin: 0; font-family: "Cormorant Garamond", serif; font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 500; }
.package-term .term-meta { color: var(--teal); font-family: "Space Mono", monospace; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.package-term h3 { margin: 1.2rem 0 .35rem; font-size: .95rem; }
.package-term p, .package-term li { color: var(--muted); line-height: 1.65; }

@media (max-width: 880px) {
  .site-header { align-items: flex-start; }
  .primary-nav { flex-wrap: wrap; justify-content: flex-end; }
  .home-shell { display: block; }
  .portrait-panel { position: relative; top: auto; width: 100%; height: min(76vh, 45rem); border-right: 0; border-bottom: 1px solid var(--line); }
  .home-content { width: 100%; }
  .shop-intro > h2 { max-width: 14em; }
  .diagnosis-shell { grid-template-columns: 1fr; }
  .symptom-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .diagnosis { min-height: 0; }
  .counter-row { grid-template-columns: 2rem minmax(0, 1fr) auto; }
  .counter-row .service-short, .counter-row .turnaround { display: none; }
}

@media (max-width: 560px) {
  .site-header { padding-block: .65rem; }
  .primary-nav { gap: .6rem .85rem; font-size: .65rem; }
  .primary-nav a[href="#letters"], .theme-toggle [data-theme-label] { display: none; }
  .portrait-panel { min-height: 31rem; height: 68vh; }
  .issue-line { font-size: .61rem; }
  .portrait-copy h1 { font-size: clamp(2.3rem, 12vw, 3.5rem); }
  .service-row { grid-template-columns: 1fr; }
  .service-action { justify-content: space-between; }
  .shop-prompt, .site-footer { align-items: flex-start; flex-direction: column; }
  .letter-grid { grid-template-columns: 1fr; }
  .site-footer > p { text-align: left; }
  .track-list li { grid-template-columns: 1.5rem 3.75rem minmax(0, 1fr); }
  .track-list img { width: 3.75rem; height: 3.75rem; }
  .track-time { display: none; }
  .shop-hero h1 { font-size: clamp(3.35rem, 18vw, 5rem); }
  .diagnosis-stats { grid-template-columns: 1fr 1fr; }
  .diagnosis-stats div:last-child { display: none; }
  .counter-row { grid-template-columns: 1.5rem minmax(0, 1fr); }
  .counter-row .service-buy { grid-column: 2; justify-content: space-between; }
  .cart-header { display: none; }
  .cart-line { grid-template-columns: 1.5rem minmax(0, 1fr) auto; }
  .cart-line .cart-condition { grid-column: 2 / -1; }
  .checkout-actions { grid-template-columns: 1fr; }
  .payment-card { padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .scope-grid, .terms-common { grid-template-columns: 1fr; }
}

/* Keep the distinctive all-caps mono voice, at a comfortably readable size. */
.primary-nav { font-size: .76rem; }
.eyebrow, .section-kicker { font-size: .76rem; }
.service-meta, .text-link { font-size: .74rem; }
.symptom-button small, .diagnosis-stats span, .deliverables h3, .addons h3 { font-size: .72rem; }
.statement-meta, .package-term .term-meta { font-size: .76rem; }
.cart-header { font-size: .72rem; }
.portfolio-filters button { font-size: .72rem; }
.portfolio-lead-flag, .piece-count { font-size: .68rem; }
.work-meta > span, .work-footer { font-size: .68rem; }
.fan-instruction { font-size: .7rem; line-height: 1.45; letter-spacing: .08em; }
.modal-count, .modal-category, .active-piece > span { font-size: .7rem; }
.detail-row dt { font-size: .66rem; }
.modal-project-link { font-size: .74rem; letter-spacing: .075em; }

@media (max-width: 600px) {
  .site-header {
    position: sticky;
    top: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: .8rem;
    min-height: auto;
    padding: .85rem 1rem .8rem;
  }
  .wordmark {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: clamp(2.65rem, 15vw, 4rem);
    line-height: .82;
    letter-spacing: -.045em;
  }
  .primary-nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    gap: clamp(.38rem, 2vw, .72rem);
    overflow-x: auto;
    font-size: .68rem;
    scrollbar-width: none;
  }
  .primary-nav::-webkit-scrollbar { display: none; }
  .primary-nav > *, .nav-cta { flex: 0 0 auto; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Work page — same editorial system as the redesigned homepage. */
.work-page { min-height: 100vh; }
.work-shell { width: min(100%, 96rem); margin: 0 auto; padding: 0 clamp(1.25rem, 3.4vw, 3.25rem); }
.work-hero { padding: clamp(3.5rem, 8vw, 8rem) 0 clamp(3rem, 6vw, 6rem); border-bottom: 1px solid var(--line); }
.work-hero h1 { max-width: 11em; margin: 1.3rem 0 0; font-family: "Cormorant Garamond", serif; font-size: clamp(4rem, 9vw, 9rem); font-weight: 400; line-height: .84; letter-spacing: -.055em; text-wrap: balance; }
.work-hero > p { max-width: 42rem; margin: 1.7rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.35rem); line-height: 1.55; }
.portfolio-browser { padding: clamp(2.5rem, 5vw, 5rem) 0; }
.portfolio-browser-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.portfolio-browser-head h2 { margin: .55rem 0 0; font-size: clamp(2rem, 4vw, 4.25rem); line-height: .95; letter-spacing: -.045em; }
.portfolio-browser-head > .eyebrow { color: var(--faint); text-align: right; }
.portfolio-filters { position: sticky; top: 4.5rem; z-index: 20; display: flex; flex-wrap: wrap; gap: .45rem; width: fit-content; max-width: 100%; margin: 1.8rem 0 2rem; padding: .5rem; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(16px); }
.portfolio-filters button { min-height: 2.7rem; padding: .65rem .9rem; border: 1px solid transparent; background: transparent; color: var(--muted); font-family: "Space Mono", monospace; font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.portfolio-filters button:hover, .portfolio-filters button:focus-visible { border-color: var(--line); color: var(--text); }
.portfolio-filters button.active { background: var(--pink); color: var(--button-text); }
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 1.7vw, 1.6rem); }
.work-card { min-width: 0; }
.work-card[hidden] { display: none; }
.work-card.portfolio-lead {
  grid-column: span 2;
  padding: .55rem;
  border: 2px solid var(--pink);
  background: color-mix(in srgb, var(--pink) 9%, var(--panel));
  box-shadow: 0 0 0 .35rem color-mix(in srgb, var(--pink) 10%, transparent);
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.work-card.portfolio-lead:hover,
.work-card.portfolio-lead:focus-within {
  background: color-mix(in srgb, var(--pink) 15%, var(--panel));
  box-shadow: 0 0 0 .45rem color-mix(in srgb, var(--pink) 18%, transparent);
  transform: translateY(-2px);
}
.work-card button { display: block; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; }
.work-card .media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.work-card.portfolio-lead .media { aspect-ratio: 3 / 2; }
.work-card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease, filter .25s ease; }
.work-card:hover img, .work-card:focus-within img { transform: scale(1.025); }
.portfolio-lead-flag, .piece-count { position: absolute; top: .75rem; z-index: 2; padding: .48rem .62rem; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); color: var(--text); font-family: "Space Mono", monospace; font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.portfolio-lead-flag { left: .75rem; border-color: var(--pink); background: var(--pink); color: var(--button-text); }
.piece-count { right: .75rem; }
.work-meta { display: flex; justify-content: space-between; gap: 1rem; min-height: 4.8rem; padding: .75rem 0 1rem; border-bottom: 1px solid var(--line-soft); }
.work-meta strong { font-size: .95rem; line-height: 1.2; }
.work-card.portfolio-lead .work-meta strong { font-family: "Cormorant Garamond", serif; font-size: clamp(1.6rem, 2.2vw, 2.6rem); font-weight: 500; letter-spacing: -.025em; }
.work-meta > span { max-width: 48%; color: var(--muted); font-family: "Space Mono", monospace; font-size: .6rem; letter-spacing: .08em; line-height: 1.45; text-align: right; text-transform: uppercase; }
.work-cta { margin: clamp(1rem, 4vw, 4rem) 0 clamp(4rem, 8vw, 8rem); padding: clamp(2rem, 5vw, 5rem); border-block: 1px solid var(--line); background: var(--panel); }
.work-cta h2 { max-width: 12em; margin: .8rem 0 1.6rem; font-family: "Cormorant Garamond", serif; font-size: clamp(2.5rem, 6vw, 6rem); font-weight: 400; line-height: .92; letter-spacing: -.04em; }
.work-footer { display: flex; justify-content: space-between; gap: 1rem; padding: 1.4rem clamp(1.25rem, 3.4vw, 3.25rem) 5rem; border-top: 1px solid var(--line); color: var(--faint); font-family: "Space Mono", monospace; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; }

.modal-open { overflow: hidden; }
.portfolio-modal { position: fixed; inset: 0; z-index: 100; display: none; padding: 2.2vh 1.5vw; background: color-mix(in srgb, #09090b 90%, transparent); }
.portfolio-modal.open { display: flex; }
.modal-dialog { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(21rem, 25rem); width: min(100%, 96rem); height: min(95vh, 58rem); margin: auto; overflow: hidden; border: 1px solid var(--line); background: var(--bg); box-shadow: var(--shadow); }
.modal-stage { position: relative; min-width: 0; overflow: hidden; background: radial-gradient(circle at 70% 12%, #303035 0, #18181b 42%, #09090b 100%); perspective: 1500px; }
.fan-stage { position: absolute; inset: 0; overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; }
.fan-stage.dragging { cursor: grabbing; }
.fan-card { position: absolute; left: var(--fan-x, 50%); top: var(--fan-y, 8%); z-index: var(--fan-z, 1); width: min(76%, 58rem); margin: 0; padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.38); background: #ecebea; box-shadow: 0 25px 80px rgba(0,0,0,.5); cursor: pointer; transform: translate3d(-50%, 0, var(--fan-depth, 0)) rotateY(var(--fan-ry, 0deg)) rotateZ(var(--fan-rotate, 0deg)) scale(var(--fan-scale, 1)); transform-origin: 50% 28%; transition: left .65s ease, top .65s ease, transform .65s ease, opacity .45s ease; }
.fan-card img { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; }
.fan-card.future { opacity: 0; pointer-events: none; }
.fan-instruction { position: absolute; left: 1rem; bottom: 1rem; padding: .55rem .7rem; border: 1px solid rgba(255,255,255,.28); background: rgba(0,0,0,.36); color: rgba(255,255,255,.78); font-family: "Space Mono", monospace; font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; }
.modal-nav, .modal-close { border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.46); color: #fff; cursor: pointer; }
.modal-nav { position: absolute; right: 1rem; bottom: 1rem; z-index: 5; width: 3rem; height: 3rem; }
.modal-nav.prev { right: 4.5rem; }
.modal-nav[hidden] { display: none; }
.modal-nav:disabled { opacity: .3; cursor: default; }
.modal-close { position: absolute; top: .8rem; right: .8rem; z-index: 10; width: 2.6rem; height: 2.6rem; background: var(--text); color: var(--bg); font-size: 1.4rem; }
.modal-details { min-width: 0; padding: 4.3rem 1.8rem 2rem; overflow-y: auto; background: var(--panel); }
.modal-sheet-handle { display: none; }
.modal-count { margin: 0 0 1rem; color: var(--faint); font-family: "Space Mono", monospace; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; }
.modal-details h2 { margin: 0; font-family: "Cormorant Garamond", serif; font-size: clamp(2.35rem, 3.3vw, 4rem); font-weight: 500; line-height: .86; letter-spacing: -.045em; overflow-wrap: anywhere; }
.modal-category { margin: .85rem 0 0; color: var(--pink); font-family: "Space Mono", monospace; font-size: .64rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.active-piece { margin-top: 1.7rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.active-piece > span, .detail-row dt { display: block; color: var(--text); font-family: "Space Mono", monospace; font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.active-piece p { margin: .4rem 0 0; color: var(--muted); font-size: .83rem; line-height: 1.55; }
.detail-list { margin: 1.2rem 0 0; }
.detail-row { padding: .9rem 0; border-bottom: 1px solid var(--line-soft); }
.detail-row dt { color: var(--faint); font-size: .58rem; }
.detail-row dd { margin: .25rem 0 0; font-size: .86rem; line-height: 1.45; }
.modal-notes { margin: 1.4rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.6; }
.modal-project-link { display: inline-block; margin-top: 1.3rem; padding: .78rem 1rem; background: var(--pink); color: var(--button-text); font-family: "Space Mono", monospace; font-size: .64rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.modal-project-link[hidden], .case-testimonial[hidden] { display: none; }
.case-testimonial { margin: 1.6rem 0 0; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.case-testimonial blockquote { font-size: 1.15rem; }
.case-testimonial figcaption { display: flex; flex-direction: column; gap: .2rem; }
.form-status { color: var(--muted); }

@media (max-width: 1080px) {
  .work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .modal-dialog { grid-template-columns: minmax(0, 1fr) minmax(20rem, 23rem); }
}
@media (max-width: 820px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-filters { position: relative; top: auto; width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .portfolio-filters button { flex: 0 0 auto; }
  .modal-dialog { --sheet-top: 39vh; display: block; height: 100vh; border: 0; }
  .portfolio-modal { padding: 0; }
  .modal-stage { position: absolute; inset: 0 0 auto; height: var(--sheet-top); }
  .modal-details { position: absolute; inset: var(--sheet-top) 0 0; padding: 3rem 1.4rem 2rem; border-radius: 1.2rem 1.2rem 0 0; box-shadow: 0 -1rem 4rem rgba(0,0,0,.35); }
  .modal-sheet-handle { position: absolute; top: 0; left: 0; display: flex; align-items: center; justify-content: center; width: 100%; height: 2.25rem; padding: 0; border: 0; background: transparent; cursor: row-resize; touch-action: none; }
  .modal-sheet-handle span { width: 2.8rem; height: .24rem; border-radius: 99px; background: var(--faint); transition: width .2s ease, background .2s ease; }
  .modal-sheet-handle:hover span,
  .modal-sheet-handle:focus-visible span,
  .modal-sheet-handle.dragging span { width: 3.5rem; background: var(--pink); }
  .modal-close { position: fixed; }
  .fan-card { width: 86%; }
}
@media (max-width: 560px) {
  .work-hero h1 { font-size: clamp(3.6rem, 18vw, 5.7rem); }
  .portfolio-browser-head { align-items: start; }
  .portfolio-browser-head > .eyebrow { max-width: 9rem; }
  .work-grid { gap: .75rem; }
  .work-card.portfolio-lead { grid-column: span 2; }
  .work-meta { display: block; min-height: 5.4rem; }
  .work-meta > span { display: block; max-width: none; margin-top: .35rem; text-align: left; }
  .work-footer { flex-direction: column; }
  .fan-instruction { display: none; }
}

/* Final readability pass for the monospaced all-caps labels in the work experience. */
.work-page .portfolio-filters button { font-size: .72rem; }
.work-page .portfolio-lead-flag,
.work-page .piece-count,
.work-page .work-meta > span,
.work-page .work-footer { font-size: .68rem; }
.work-page .fan-instruction { font-size: .7rem; line-height: 1.45; letter-spacing: .08em; }
.work-page .modal-count,
.work-page .modal-category,
.work-page .active-piece > span { font-size: .7rem; }
.work-page .detail-row dt { font-size: .66rem; }
.work-page .modal-project-link { font-size: .74rem; letter-spacing: .075em; }

@media (max-width: 560px) {
  .work-page .fan-instruction { display: none; }
}
