/* Angelo Vasquez · Priority Waitlist
   Dark page. Inter for text. Playfair Display Italic in blue for accent words. */

:root {
  --bg: #0b0b0c;
  --raised: #151517;
  --text: #f4f3f0;
  --muted: #b1b0ac;
  --faint: #86857f;
  --accent: #a7c4e0;
  --accent-ink: #0b1622;
  --hairline: rgb(255 255 255 / 0.1);

  /* The lights behind the "You're in" page and parts of the main page ("Black and gold",
     his pick, 2026-11-22): the shop's gold, and a little of the page's blue. Each is the
     list of colour stops of a radial-gradient, strongest in the middle, gone at the edge. */
  --light-gold:
    rgb(224 172 72 / 0.52) 0%, rgb(224 172 72 / 0.36) 20%, rgb(224 172 72 / 0.18) 42%,
    rgb(224 172 72 / 0.05) 62%, rgb(224 172 72 / 0) 76%;
  --light-blue: rgb(72 124 192 / 0.26) 0%, rgb(72 124 192 / 0.11) 40%, rgb(72 124 192 / 0) 72%;
  /* A very fine grain, a few steps of brightness at most. Nobody sees it, but laid over a
     dark fade it keeps the fade from showing stripes. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0.039 0 0 0 -0.0136'/%3E%3C/filter%3E%3Crect width='200' height='200' fill-opacity='0' filter='url(%23g)'/%3E%3C/svg%3E");

  --radius-card: 24px;
  --radius-btn: 14px;
  --gutter: 20px;
  --measure: 34rem;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-accent: "Playfair Display", Georgia, "Times New Roman", serif;

  --step-label: 0.75rem;
  --step-small: 0.875rem;
  --step-body: 1.0625rem;
  --step-h3: 1.375rem;
  --step-h2: clamp(2rem, 8.4vw, 3.25rem);
  --step-h1: clamp(2.875rem, 13.5vw, 5.25rem);

  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--step-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--accent);
  color: var(--accent-ink);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* `hidden` must win over a class that sets `display` (a hidden button is still a .btn). */
[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
dl {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -64px;
  z-index: 10;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- type ---------- */

.label {
  font-size: var(--step-label);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2 {
  font-weight: 600;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-h1);
  line-height: 1;
  letter-spacing: -0.035em;
}

h2 {
  font-size: var(--step-h2);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

h3 {
  font-size: var(--step-h3);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

/* The accent word: Playfair Display Italic, blue. */
em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  font-size: 1.07em;
  letter-spacing: -0.015em;
  color: var(--accent);
}

.lead {
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--text);
  max-width: var(--measure);
  text-wrap: pretty;
}

.prose {
  max-width: var(--measure);
  color: var(--muted);
}

.prose p {
  text-wrap: pretty;
}

.prose p + p {
  margin-top: 1em;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.small {
  font-size: var(--step-small);
  line-height: 1.5;
  color: var(--faint);
  text-wrap: pretty;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--accent);
  color: var(--accent-ink);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.45),
    0 1px 2px rgb(0 0 0 / 0.4),
    0 10px 28px rgb(167 196 224 / 0.16);
  transition-property: scale, background-color, box-shadow;
  transition-duration: 0.15s;
  transition-timing-function: ease-out;
}

.btn:active {
  scale: 0.96;
}

@media (hover: hover) {
  .btn:hover {
    background: #bcd4ea;
  }
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn--quiet {
  background: rgb(255 255 255 / 0.08);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.08),
    0 0 0 1px rgb(255 255 255 / 0.1);
}

@media (hover: hover) {
  .btn--quiet:hover {
    background: rgb(255 255 255 / 0.13);
  }
}

.btn .arrow {
  width: 18px;
  height: 18px;
  flex: none;
}

/* While Stripe loads: a small spinner next to the words. */
.btn.is-loading {
  pointer-events: none;
}

.btn.is-loading .arrow {
  display: none;
}

.btn.is-loading::after {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    rotate: 360deg;
  }
}

/* ---------- soft loading ---------- */

/* Moving between this page, terms and privacy cross-fades where the browser can. */
@view-transition {
  navigation: auto;
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 14px;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

/* Photos fade in when loaded. Sections rise in the first time they are seen.
   Both only when scripts run (the "js" class), so nothing can stay hidden. */
.js .hero__img,
.js .cut__photo {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.js .hero__img.is-loaded,
.js .cut__photo.is-loaded {
  opacity: 1;
}

.js .reveal {
  opacity: 0;
  translate: 0 16px;
  transition-property: opacity, translate;
  transition-duration: 0.6s;
  transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
}

.js .reveal.is-in {
  opacity: 1;
  translate: 0 0;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
}

.hero__media {
  position: relative;
  z-index: -1;
  background: #131416;
}

/* The whole 3:4 photo shows on a phone: Angelo above, the client below him, both in the
   middle. The words then sit over the lower part of the photo (the client's dark shirt). */
.hero__img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 0%;
}

/* Dark at the very top for the name, clear over both faces (they end about 63% down), then
   a smooth fade into the page under the words. It hangs 2px below the photo and is solid
   for its last 3px: on phones where the photo's height is not a whole number of pixels
   (440px wide: 586.67px), the photo's last row otherwise shows as a thin light line. */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0 0 -2px;
  background: linear-gradient(
    180deg,
    rgb(11 11 12 / 0.8) 0%,
    rgb(11 11 12 / 0.35) 8%,
    rgb(11 11 12 / 0) 16%,
    rgb(11 11 12 / 0) 57%,
    rgb(11 11 12 / 0.55) 68%,
    rgb(11 11 12 / 0.88) 80%,
    rgb(11 11 12 / 0.98) 92%,
    var(--bg) calc(100% - 3px)
  );
}

.hero__top {
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  padding-top: max(18px, env(safe-area-inset-top));
}

.hero__top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* The name, in the same Playfair Italic as the accent words. */
.brand {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  font-size: 1.625rem;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  text-shadow: 0 1px 14px rgb(0 0 0 / 0.7);
  animation: fade 0.8s ease-out both;
}

.brand span {
  color: var(--accent);
}

/* The words start 128px above where a 5:6 photo would end. The photo is 3:4 now, which is
   13.333vw taller, so the words move up by that much and the first screen stays as tall as
   it was. */
.hero__body {
  margin-top: calc(-128px - 13.333vw);
  padding-bottom: 48px;
}

/* First screen: label, headline, text and button rise in one after the other. */
.hero__body > * {
  animation: rise 0.6s cubic-bezier(0.2, 0, 0, 1) both;
}

.hero__body > :nth-child(1) {
  animation-delay: 0.08s;
}

.hero__body > :nth-child(2) {
  animation-delay: 0.16s;
}

.hero__body > :nth-child(3) {
  animation-delay: 0.24s;
}

.hero__body > :nth-child(4) {
  animation-delay: 0.32s;
}

.hero__body h1 {
  margin-top: 14px;
}

.hero__body .lead {
  margin-top: 18px;
}

.hero__cta {
  margin-top: 26px;
}

.hero__cta .small {
  margin-top: 14px;
  color: var(--muted);
}

/* ---------- sections ---------- */

.section {
  padding-block: 64px;
}

.section + .section {
  border-top: 1px solid var(--hairline);
}

.section h2 {
  margin-top: 12px;
}

.section .prose,
.section .steps,
.section .rules,
.section .faq,
.section .tiers {
  margin-top: 26px;
}

/* why a list: text, then real DMs scrolling by */

.why {
  display: grid;
  gap: 26px;
}

.why .why__rest {
  margin-top: 0;
}

.dms {
  margin: 0;
  max-width: 22rem;
}

/* A window onto a long column of message bubbles. Top and bottom fade out. */
.dms__window {
  height: 400px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
}

/* The column holds the same list twice. Sliding up by half its height loops without a jump. */
.dms__track {
  animation: dms-scroll 50s linear infinite;
}

@keyframes dms-scroll {
  to {
    translate: 0 -50%;
  }
}

@media (hover: hover) {
  .dms:hover .dms__track {
    animation-play-state: paused;
  }
}

.dms__list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 0 0 12px;
  list-style: none;
}

.dms figcaption {
  margin-top: 12px;
  color: var(--muted);
}

/* how it works */

.steps {
  list-style: none;
  padding: 0;
  max-width: var(--measure);
  counter-reset: step;
}

/* Two columns: the numbered circle, then title and text. The title's first line sits on the
   circle's middle (circle 40px, title line 24px, so the title starts 8px down). */
.steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 16px;
  counter-increment: step;
}

.steps li + li {
  margin-top: 26px;
}

.steps li::before {
  content: counter(step);
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /* The same Playfair Italic as the accent words (his call, 2026-11-21). Lining digits:
     Playfair's normal digits hang above and below the line and look off centre. */
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  font-size: 1.375rem;
  font-variant-numeric: lining-nums;
  line-height: 1;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgb(167 196 224 / 0.45);
}

.steps strong {
  grid-column: 2;
  display: block;
  padding-top: 8px;
  font-weight: 600;
  line-height: 24px;
  color: var(--text);
}

.steps span {
  grid-column: 2;
  display: block;
  margin-top: 4px;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}

/* An example of his texts, as chat bubbles under steps 2 to 4. His texts sit on the left in
   grey, the member's YES on the right in blue, like in a phone's messages. */
.sms__note {
  grid-column: 2;
  margin-top: 14px;
  font-size: var(--step-label);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

.sms {
  grid-column: 2;
  width: fit-content;
  max-width: min(100%, 19rem);
  margin-top: 12px;
  padding: 9px 14px;
  border-radius: 18px;
  font-size: 0.9375rem;
  line-height: 1.4;
  text-wrap: pretty;
}

.sms__note + .sms {
  margin-top: 8px;
}

.sms--in {
  border-end-start-radius: 6px;
  background: #26262a;
  color: var(--text);
}

.sms--out {
  justify-self: end;
  border-end-end-radius: 6px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

/* "Save to contacts", under step 1 of the "You're in" page. */
.steps__save {
  grid-column: 2;
  justify-self: start;
  min-height: 46px;
  margin-top: 14px;
  padding-inline: 20px;
  font-size: 1rem;
}

.after-steps {
  margin-top: 26px;
  max-width: var(--measure);
  color: var(--muted);
  text-wrap: pretty;
}

/* tiers */

.tiers {
  display: grid;
  gap: 14px;
}

.tier {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: var(--radius-card);
  background: var(--raised);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.06),
    0 0 0 1px rgb(255 255 255 / 0.07),
    0 12px 32px rgb(0 0 0 / 0.35);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* The light around the chosen card. It sits behind the text and fades in and out,
   so tapping another card moves the light smoothly. Top is chosen when the page opens. */
.tier::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgb(167 196 224 / 0.13) 0%, rgb(167 196 224 / 0) 62%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.1),
    0 0 0 1px rgb(167 196 224 / 0.6),
    0 0 0 5px rgb(167 196 224 / 0.07),
    0 18px 48px rgb(167 196 224 / 0.14);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}

.tier.is-selected::before {
  opacity: 1;
}

/* The chosen card's button is the blue one. The others stay quiet until tapped. */
.tier .btn {
  transition-property: scale, background-color, color, box-shadow;
  transition-duration: 0.25s;
}

.tier:not(.is-selected) .btn {
  background: rgb(255 255 255 / 0.08);
  color: var(--text);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.08),
    0 0 0 1px rgb(255 255 255 / 0.1),
    0 10px 28px rgb(167 196 224 / 0);
}

@media (hover: hover) {
  .tier:not(.is-selected) .btn:hover {
    background: rgb(255 255 255 / 0.13);
  }
}

.tier__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.tier__name {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--accent);
}

.tier__price {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.tier__price small {
  font-size: var(--step-small);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}

.tier__pitch {
  margin-top: 12px;
  color: var(--text);
  text-wrap: pretty;
}

.tier__list {
  list-style: none;
  padding: 0;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}

.tier__list li {
  position: relative;
  padding-inline-start: 26px;
  text-wrap: pretty;
}

.tier__list li + li {
  margin-top: 8px;
}

.tier__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  top: 0.42em;
  width: 13px;
  height: 7px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  rotate: -45deg;
  transform-origin: center;
}

.tier__foot {
  margin-top: auto;
  padding-top: 20px;
}

.spots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: var(--step-small);
  color: var(--muted);
}

.spots::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgb(167 196 224 / 0.16);
}

.badge {
  position: absolute;
  top: -11px;
  inset-inline-start: 22px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

/* A full tier (FULL in links.js): the card steps back, its button is off, and a line under
   it points to a tier that still has room. */
.tier.is-full {
  cursor: default;
}

.tier.is-full .tier__head,
.tier.is-full .tier__pitch,
.tier.is-full .tier__list {
  opacity: 0.5;
}

.tier.is-full .spots {
  color: var(--text);
  font-weight: 500;
}

.tier.is-full .spots::before {
  background: var(--faint);
  box-shadow: 0 0 0 4px rgb(255 255 255 / 0.06);
}

.tier.is-full .btn {
  background: rgb(255 255 255 / 0.04);
  color: var(--faint);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.07);
  cursor: default;
  pointer-events: none;
}

.tier__next {
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
}

.tier__next button {
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: from-font;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* The refund rule, said short, under each tier button. A full tier does not show it. */
.tier__promise {
  margin-top: 12px;
  text-align: center;
  color: var(--muted);
}

.tier.is-full .tier__promise {
  display: none;
}

/* "2 of 5 spots left" (LEFT in links.js) stands out more than "Only 5 members". */
.spots--left {
  color: var(--text);
  font-weight: 500;
}

.tiers-note {
  margin-top: 20px;
  max-width: var(--measure);
}

/* the cut */

.cut {
  display: grid;
  gap: 28px;
}

/* The finished cuts: a gallery. One photo at a time, swipe to the next, like a photo post on
   Instagram (his words, 2026-11-23: "in a way users can sweep between pictures"). The row
   scrolls sideways and snaps, one photo per swipe. On a phone it runs from screen edge to
   screen edge, so a sliver of the next photo shows on the right. The script adds a counter
   on the photo, dots under it and arrow buttons for a mouse. It works for any number of
   photos. Without the script it is still a row to swipe. */
.cutshow {
  position: relative;
  min-width: 0;
}

.cuts {
  --cuts-gap: 12px;
  display: flex;
  gap: var(--cuts-gap);
  min-width: 0;
  margin: 0 calc(-1 * var(--gutter));
  padding: 0 0 0 var(--gutter);
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline-start: var(--gutter);
  scrollbar-width: none;
}

.cuts::-webkit-scrollbar {
  display: none;
}

/* Room after the last photo. An end padding on a scrolling row is dropped by some browsers. */
.cuts::after {
  content: "";
  flex: 0 0 calc(var(--gutter) - var(--cuts-gap));
}

/* As wide as the text column: the row's own width is the screen minus the left gutter. */
.cuts li {
  flex: 0 0 calc(100% - var(--gutter));
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.cuts:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* "2 / 4", top right on the photo. It stays put while the photos move under it. */
.cutshow__count {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgb(11 11 12 / 0.72);
  color: var(--text);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}

.cutshow__dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  min-height: 6px;
  margin-top: 14px;
}

.cutshow__dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.24);
  transition: background-color 0.2s ease-out;
}

.cutshow__dots .is-on {
  background: var(--accent);
}

/* Arrow buttons, only where there is a mouse: a finger swipes. 20px is half the button,
   10px half of the dots line under the photo, so they sit at the photo's middle. */
.cutshow__arrow {
  position: absolute;
  top: calc(50% - 20px - 10px);
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(11 11 12 / 0.72);
  color: var(--text);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.14);
  cursor: pointer;
  transition-property: opacity, scale, background-color;
  transition-duration: 0.15s;
  transition-timing-function: ease-out;
}

.cutshow__arrow svg {
  width: 18px;
  height: 18px;
}

.cutshow__arrow--prev {
  left: 12px;
}

.cutshow__arrow--next {
  right: 12px;
}

.cutshow__arrow--next svg {
  rotate: 180deg;
}

.cutshow__arrow:active {
  scale: 0.96;
}

.cutshow__arrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* At the first photo there is no "back", at the last one no "next". */
.cutshow__arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .cutshow__arrow {
    display: grid;
  }

  .cutshow__arrow:hover {
    background: rgb(11 11 12 / 0.9);
  }
}

.cut__photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-card);
  outline: 1px solid rgb(255 255 255 / 0.1);
  outline-offset: -1px;
}

/* rules */

.rules {
  list-style: none;
  padding: 0;
  max-width: var(--measure);
}

.rules li {
  padding-block: 16px;
  color: var(--muted);
  text-wrap: pretty;
}

.rules li + li {
  border-top: 1px solid var(--hairline);
}

.rules li:first-child {
  padding-top: 0;
}

.rules strong {
  display: block;
  color: var(--text);
  font-weight: 600;
}

/* faq */

.faq {
  max-width: 44rem;
}

.faq details {
  border-top: 1px solid var(--hairline);
}

.faq details:last-child {
  border-bottom: 1px solid var(--hairline);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  font-weight: 500;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  margin-inline-end: 4px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  rotate: 45deg;
  translate: 0 -3px;
  transition-property: rotate, translate;
  transition-duration: 0.2s;
  transition-timing-function: ease-out;
}

.faq details[open] summary::after {
  rotate: -135deg;
  translate: 0 3px;
}

.faq details p {
  padding-bottom: 20px;
  max-width: var(--measure);
  color: var(--muted);
  text-wrap: pretty;
}

/* Answers slide open where the browser can do it. Others open at once, as before. */
@supports (interpolate-size: allow-keywords) {
  .faq {
    interpolate-size: allow-keywords;
  }

  .faq details::details-content {
    block-size: 0;
    overflow: clip;
    opacity: 0;
    transition-property: block-size, opacity, content-visibility;
    transition-duration: 0.28s;
    transition-timing-function: cubic-bezier(0.2, 0, 0, 1);
    transition-behavior: allow-discrete;
  }

  .faq details[open]::details-content {
    block-size: auto;
    opacity: 1;
  }
}

/* ---------- day and time picker (opens before payment) ---------- */

.sheet {
  width: 100%;
  max-width: 30rem;
  max-height: 92dvh;
  margin: auto auto 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  background: var(--raised);
  color: var(--text);
  overflow: auto;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.08),
    0 0 0 1px rgb(255 255 255 / 0.08),
    0 -20px 60px rgb(0 0 0 / 0.5);
}

.sheet::backdrop {
  background: rgb(5 5 6 / 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.sheet[open] {
  animation: sheet-in 0.32s cubic-bezier(0.2, 0, 0, 1);
}

.sheet[open]::backdrop {
  animation: fade 0.3s ease-out;
}

@keyframes sheet-in {
  from {
    opacity: 0;
    translate: 0 28px;
  }
}

.sheet__body {
  padding: 26px var(--gutter) max(20px, env(safe-area-inset-bottom));
}

.sheet h2 {
  margin-top: 10px;
  font-size: clamp(1.75rem, 7.4vw, 2.25rem);
}

.sheet .small {
  margin-top: 10px;
  color: var(--muted);
}

.chips {
  margin-top: 22px;
}

.chips__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chips__label {
  font-size: var(--step-small);
  font-weight: 500;
  line-height: 1.5;
  color: var(--muted);
}

/* "Any time", at the right end of the "Start time" line. 44px tall to tap,
   pulled in with negative margins so the line itself stays short. */
.chips__all {
  min-height: 44px;
  margin-block: -12px;
  padding: 0 2px;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: var(--step-small);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: from-font;
  text-underline-offset: 3px;
  cursor: pointer;
}

.chips__row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

/* 16 start times, every half hour from 12:00 to 7:30, four to a row. */
.chips__row--times {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.chips__row--times .chip span {
  min-height: 44px;
  font-variant-numeric: tabular-nums;
}

.chip {
  position: relative;
  display: block;
}

.chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.chip span {
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 0 6px;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.06);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.1);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition-property: background-color, color, box-shadow, scale;
  transition-duration: 0.15s;
  transition-timing-function: ease-out;
}

.chip input:checked + span {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.45),
    0 0 0 1px var(--accent);
}

.chip input:active + span {
  scale: 0.96;
}

.chip input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Same day spots: the question on the left, Yes and No on the right, all on one line. */
.chips--inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chips--inline .chips__row {
  flex: none;
  grid-template-columns: repeat(2, 68px);
  margin-top: 0;
}

.chips--inline .chip span {
  min-height: 44px;
}

/* The picks said back in words, above the pay button. */
.sheet__sum {
  margin-top: 18px;
  font-size: var(--step-small);
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  text-wrap: pretty;
}

.sheet__error {
  margin-top: 14px;
  font-size: var(--step-small);
  color: #f2b8ab;
}

.sheet .btn {
  margin-top: 22px;
}

/* The pay button stays at the bottom of the picker while the rest scrolls under it: on a
   short phone, or in Instagram's browser, the picker is taller than the screen. The fade on
   top hides what scrolls under. The error sits here too, so it is never out of sight. */
.sheet__go {
  position: sticky;
  bottom: 0;
  z-index: 1;
  margin: 8px calc(-1 * var(--gutter)) 0;
  padding: 14px var(--gutter) max(12px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgb(21 21 23 / 0) 0, var(--raised) 14px);
}

.sheet__go .btn {
  margin-top: 0;
}

.sheet__go .sheet__error {
  margin: 0 0 12px;
}

/* The refund rule again, under the pay button. */
.sheet .sheet__promise {
  margin-top: 4px;
  text-align: center;
}

.sheet__close {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 6px;
  border: 0;
  border-radius: 12px;
  background: none;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}

/* Links inside running text on the dark page. */
.rules a,
.faq a,
.final .small a,
.picks a {
  color: var(--accent);
  text-decoration-thickness: from-font;
  text-underline-offset: 3px;
}

/* final call */

.final {
  text-align: center;
}

.final h2 {
  margin-top: 0;
}

.final .btn {
  margin-top: 26px;
}

.final .small {
  margin-top: 14px;
  color: var(--muted);
}

.final .small + .small {
  margin-top: 6px;
}

/* ---------- lights behind parts of the main page ---------- */

/* The same gold and blue as the "You're in" page (his yes, 2026-11-22). Gold from the right
   next to the first headline under the photo, blue from the left behind the steps, gold
   again at the last Join button. The other parts stay plain, so the tier cards and the
   photos keep the eye.
   Each light is a layer behind its part. It reaches 120px into the parts above and below
   and fades out there, so it never ends in a line. */
.section--gold,
.section--blue {
  position: relative;
}

.section--gold::before,
.section--blue::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -120px 0;
  pointer-events: none;
  background-size: 200px 200px, auto;
  background-repeat: repeat, no-repeat;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%);
}

/* 290px down this layer is 170px into the part: just under its headline. */
.section--gold::before {
  background-image:
    var(--grain),
    radial-gradient(max(520px, 52vw) clamp(330px, 30vw, 460px) at 104% 290px, var(--light-gold));
}

.section--blue::before {
  background-image:
    var(--grain),
    radial-gradient(max(560px, 46vw) 480px at -14% 46%, var(--light-blue));
}

/* The last part is short: a smaller light, in its middle. */
.final.section--gold::before {
  background-image:
    var(--grain),
    radial-gradient(max(440px, 44vw) 300px at 104% 50%, var(--light-gold));
}

/* footer */

.footer {
  padding-block: 36px max(40px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--hairline);
  font-size: var(--step-small);
  line-height: 1.6;
  color: var(--faint);
}

.footer p + p {
  margin-top: 6px;
}

.footer a {
  white-space: nowrap;
  color: var(--muted);
  text-decoration-color: rgb(255 255 255 / 0.3);
  text-decoration-thickness: from-font;
  text-underline-offset: 3px;
}

.footer .forma {
  margin-top: 22px;
  color: var(--muted);
}

.footer .forma em {
  font-size: 1.15em;
}

/* ---------- legal pages ---------- */

.legal {
  padding-block: 28px 72px;
}

.legal .back {
  display: inline-block;
  font-size: var(--step-small);
  color: var(--muted);
  text-decoration: none;
}

.legal h1 {
  margin-top: 28px;
  font-size: clamp(2rem, 8.4vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.legal .updated {
  margin-top: 12px;
  font-size: var(--step-small);
  color: var(--faint);
}

.legal h2 {
  margin-top: 44px;
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.legal p,
.legal ul,
.legal .table {
  margin-top: 14px;
  max-width: 40rem;
  color: var(--muted);
}

.legal p {
  text-wrap: pretty;
}

.legal ul {
  padding-inline-start: 1.15em;
}

.legal li + li {
  margin-top: 8px;
}

.legal strong {
  color: var(--text);
  font-weight: 600;
}

.legal a {
  color: var(--accent);
  text-decoration-thickness: from-font;
  text-underline-offset: 3px;
}

.legal .table {
  overflow-x: auto;
  border-radius: 16px;
  box-shadow: 0 0 0 1px var(--hairline);
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  line-height: 1.45;
}

.legal th,
.legal td {
  padding: 12px 14px;
  text-align: start;
  vertical-align: top;
}

.legal th {
  font-weight: 600;
  color: var(--text);
  background: rgb(255 255 255 / 0.04);
}

.legal tr + tr td {
  border-top: 1px solid var(--hairline);
}

/* ---------- "You're in" page, where Stripe sends new members ---------- */

.welcome {
  padding-block: max(18px, env(safe-area-inset-top)) 72px;
}

/* This page's own background (his pick, 2026-11-22: "Black and gold"). The shop's gold as a
   soft light from the right, next to the headline, and a little of the page's blue from the
   left, lower down.
   The top edge stays the plain page colour: Safari paints the phone's status bar area in the
   page colour, so a glow that reaches the top would show a line there.
   The first layer is the grain. On wide screens the lights grow with the window. */
.page-welcome {
  background-image:
    var(--grain),
    radial-gradient(max(520px, 52vw) clamp(330px, 30vw, 460px) at 104% 235px, var(--light-gold)),
    radial-gradient(max(560px, 46vw) 480px at -14% 740px, var(--light-blue));
  background-size: 200px 200px, auto, auto;
  background-repeat: repeat, no-repeat, no-repeat;
}

.welcome .brand {
  display: inline-block;
  text-shadow: none;
}

.welcome .label {
  margin-top: 56px;
}

.welcome h1 {
  margin-top: 12px;
}

.welcome .lead {
  margin-top: 18px;
}

.welcome .steps {
  margin-top: 36px;
}

.welcome h2 {
  margin-top: 56px;
  font-size: clamp(1.75rem, 7.4vw, 2.25rem);
}

.welcome .rules {
  margin-top: 22px;
}

/* What they picked before paying. */
.picks {
  max-width: var(--measure);
  margin-top: 36px;
  padding: 20px;
  border-radius: var(--radius-card);
  background: var(--raised);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.08),
    0 0 0 1px rgb(255 255 255 / 0.08);
}

.welcome .picks h2 {
  margin-top: 0;
  font-size: var(--step-h3);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.picks dl {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.picks dt {
  font-size: var(--step-small);
  color: var(--muted);
}

.picks dd {
  margin: 2px 0 0;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-wrap: pretty;
}

.picks .small {
  margin-top: 14px;
  color: var(--muted);
}

.welcome__manage {
  max-width: var(--measure);
  margin-top: 36px;
}

.welcome__manage .small {
  margin-top: 12px;
}

/* ---------- the Join bar that stays on screen (phones) ---------- */

/* Fixed to the bottom. It slides up once the first Join button has scrolled away and slides
   out again where a join button or the footer is on screen (the script sets .is-on). Its
   background is the page's own solid colour, so a browser bar drawn over the bottom edge
   blends in. */
.joinbar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 5;
  padding-block: 10px max(10px, env(safe-area-inset-bottom));
  background: var(--bg);
  box-shadow:
    0 -1px 0 var(--hairline),
    0 -16px 32px rgb(0 0 0 / 0.45);
  translate: 0 110%;
  visibility: hidden;
  transition:
    translate 0.28s cubic-bezier(0.2, 0, 0, 1),
    visibility 0s linear 0.28s;
}

.joinbar.is-on {
  translate: 0 0;
  visibility: visible;
  transition-delay: 0s;
}

.joinbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.joinbar__text {
  min-width: 0;
  font-size: var(--step-small);
  line-height: 1.35;
  color: var(--muted);
}

.joinbar__text strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}

.joinbar__btn {
  flex: none;
  min-height: 48px;
  padding-inline: 20px;
  font-size: 1rem;
}

/* ---------- wider screens ---------- */

@media (min-width: 720px) {
  :root {
    --gutter: 32px;
  }

  /* The tiers are never far away on a wide screen. */
  .joinbar {
    display: none;
  }

  .section {
    padding-block: 88px;
  }

  .hero__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
  }

  .hero__cta .small {
    margin-top: 0;
    max-width: 20rem;
  }

  .cut {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
  }

  /* The gallery sits in its column: no more screen edge to screen edge. */
  .cuts {
    margin: 0;
    padding: 0;
    scroll-padding-inline-start: 0;
    border-radius: var(--radius-card);
  }

  .cuts li {
    flex-basis: 100%;
  }

  .cuts::after {
    display: none;
  }

  /* On a wide screen the picker is a card in the middle, not a sheet from the bottom. */
  .sheet {
    margin: auto;
    border-radius: var(--radius-card);
  }

  .sheet__body {
    padding: 32px;
  }
}

@media (min-width: 960px) {
  .tiers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  /* Text on the left, the DMs on the right, next to both text blocks. */
  .why {
    grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
    grid-template-areas:
      "head dms"
      "rest dms";
    /* First row only as tall as its text, so the second text block follows right after it. */
    grid-template-rows: auto 1fr;
    column-gap: 72px;
    align-items: start;
  }

  .why__head {
    grid-area: head;
  }

  .why__rest {
    grid-area: rest;
  }

  .dms {
    grid-area: dms;
  }

  .dms__window {
    height: 440px;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
    align-items: center;
    gap: 24px;
    max-width: 72rem;
    margin-inline: auto;
    padding-block: 96px 72px;
  }

  .hero__media {
    order: 2;
    margin-inline-end: var(--gutter);
    border-radius: var(--radius-card);
    overflow: hidden;
    outline: 1px solid rgb(255 255 255 / 0.1);
    outline-offset: -1px;
  }

  .hero__img {
    aspect-ratio: 4 / 5;
  }

  .hero__media::after {
    background: linear-gradient(180deg, rgb(11 11 12 / 0) 60%, rgb(11 11 12 / 0.45) 100%);
  }

  .hero__body {
    order: 1;
    margin-top: 0;
    padding-bottom: 0;
  }

  .hero__cta .btn--block {
    display: inline-flex;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .tier .btn,
  .tier::before,
  .chip span,
  .faq summary::after,
  .faq details::details-content,
  .js .hero__img,
  .js .cut__photo,
  .js .reveal,
  .cutshow__arrow,
  .cutshow__dots span,
  .joinbar,
  .joinbar.is-on {
    transition-duration: 0s;
    transition-delay: 0s;
  }

  .js .reveal {
    translate: 0 0;
  }

  .brand,
  .hero__body > *,
  .sheet[open],
  .sheet[open]::backdrop,
  .dms__track {
    animation: none;
  }

  /* No auto scrolling: the DMs become a list you scroll yourself, shown once. */
  .dms__window {
    overflow-y: auto;
  }

  .dms__list[aria-hidden] {
    display: none;
  }

  .btn:active,
  .chip input:active + span {
    scale: 1;
  }

  @view-transition {
    navigation: none;
  }
}
