/* Vansper Studios v7 (was Southpaw v6): loads after v3.css and overrides it. New faces, a 3D laptop hero,
   a curved work row, problem / benefits sections, a short process. */
@font-face { font-family: "Mattone"; src: url("../fonts/Mattone-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Apfel Grotezk"; src: url("../fonts/ApfelGrotezk-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Apfel Grotezk"; src: url("../fonts/ApfelGrotezk-Mittel.woff2") format("woff2"); font-weight: 500 600; font-display: swap; }
@font-face { font-family: "Necto Mono"; src: url("../fonts/NectoMono-Regular.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
:root {
  --display: "Mattone", "Arial Black", sans-serif;
  --sans: "Apfel Grotezk", ui-sans-serif, system-ui, sans-serif;
  --mono: "Necto Mono", ui-monospace, monospace;
}
.label, .pill, .tag { letter-spacing: 0; }
.h-lg { font-size: clamp(28px, 3.6vw, 52px); line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; }
.h-md { letter-spacing: -0.02em; }

/* ===================================================================== hero: the laptop */
.hero { height: 260svh; }
.hero__stage { perspective: none; }
.hero__stage::after { display: none; }
.hero .hero__title { position: absolute; left: var(--gut); right: var(--gut); top: calc(84px + 2svh); z-index: 3; text-align: center;
  font: 900 clamp(30px, 5.4vw, 92px)/1.02 var(--display); text-transform: uppercase; letter-spacing: -0.02em; color: var(--fog);
  transform: translateY(calc(var(--p, 0) * -14svh)); opacity: calc(1 - var(--p, 0) * 1.8); }
.hero .hero__title span { display: block; background: none; color: var(--fog); -webkit-text-fill-color: currentColor; padding: 0; line-height: 1.02; }
.hero__title em { font-style: normal; color: var(--ember); }
.hero__line { position: absolute; left: var(--gut); right: var(--gut); z-index: 3; top: calc(84px + 2svh + clamp(30px, 5.4vw, 92px) * 2.25); text-align: center;
  font-size: clamp(16px, 1.35vw, 20px); color: rgba(241,241,241,.72); opacity: calc(1 - var(--p, 0) * 2.2); }
.hero .hero__ctas { left: 50%; bottom: auto; top: calc(84px + 2svh + clamp(30px, 5.4vw, 92px) * 2.25 + 46px); transform: translateX(-50%); opacity: calc(1 - var(--p, 0) * 2.6); }
.js .hero__line { animation: rise .9s var(--ease-in) .2s both; }

.lap { position: absolute; left: 50%; top: 58svh; width: min(56vw, 860px, 92svh); translate: -50% 0; z-index: 4; perspective: 1700px; perspective-origin: 50% 0%; }
.js .lap { animation: lap-in 1.2s var(--ease-in) .3s both; }
@keyframes lap-in { from { opacity: 0; translate: -50% 14%; } }
.lap__rig { position: relative; transform-style: preserve-3d; transform-origin: 50% 100%; will-change: transform;
  transform: translateY(-4%) rotateX(-34deg) rotateY(-14deg) scale(.86); }
.lap__lid { position: relative; aspect-ratio: 16 / 10.4; transform-origin: 50% 100%; transform-style: preserve-3d; transform: rotateX(22deg); }
.lap__screen { position: absolute; inset: 0; padding: 2.1% 2.1% 3.4%; border-radius: 16px 16px 6px 6px; background: #0c0c0d; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), inset 0 0 0 3px #1a1a1c; backface-visibility: hidden; }
.lap__screen video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 4px; background: #f3ece0; }
.lap__glare { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.1) 0%, rgba(255,255,255,0) 38%); }
.lap__back { position: absolute; inset: 0; border-radius: 16px 16px 6px 6px; background: linear-gradient(#3a3a3d, #232325); transform: translateZ(-5px) rotateY(180deg); }
.lap__base { position: absolute; left: -3%; top: 100%; width: 106%; aspect-ratio: 106 / 66; transform-origin: 50% 0; transform: rotateX(90deg);
  border-radius: 4px 4px 22px 22px; background: linear-gradient(#2c2c2f, #3a3a3e 70%, #444448); box-shadow: 0 0 90px 30px rgba(0,0,0,.5); }
.lap__keys { position: absolute; left: 9%; right: 9%; top: 7%; height: 46%; border-radius: 6px; background:
  repeating-linear-gradient(90deg, transparent 0 1.2%, #19191b 1.2% 7.1%), #2a2a2d;
  -webkit-mask: repeating-linear-gradient(transparent 0 2.4%, #000 2.4% 16.6%); mask: repeating-linear-gradient(transparent 0 2.4%, #000 2.4% 16.6%); }
.lap__pad { position: absolute; left: 33%; right: 33%; top: 60%; height: 31%; border-radius: 8px; background: #333336; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.lap__lip { position: absolute; left: 0; right: 0; bottom: 0; height: 12px; border-radius: 0 0 22px 22px; background: #1e1e20; transform-origin: 50% 100%; transform: rotateX(-90deg); }
.lap__shadow { display: none; }
.hero__stage { background: radial-gradient(70% 50% at 50% 88%, rgba(255,100,54,.16), transparent 70%), radial-gradient(120% 70% at 50% 100%, #4a484c 0%, #2a292c 40%, #1a1a1b 70%, var(--onyx) 100%); }

/* ===================================================================== work: the curved row */
.work__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.curve { position: relative; height: clamp(240px, 34vw, 500px); margin-top: 28px; overflow: hidden; container-type: size; }
.curve > span { display: none; }
.curve__band { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .6s; }
.curve.is-ready .curve__band { opacity: 1; }
.curve__tile { position: absolute; transform-style: preserve-3d; }
.curve::before, .curve::after { content: ""; position: absolute; z-index: 1; top: 0; bottom: 0; width: var(--fade, 10%); pointer-events: none; }
.curve::before { left: 0; background: linear-gradient(90deg, var(--paper), rgba(248,248,248,0)); }
.curve::after { right: 0; background: linear-gradient(-90deg, var(--paper), rgba(248,248,248,0)); }
.curve__slice { position: absolute; top: 0; overflow: hidden; background: #e6e4e0; }
.curve__slice:first-child { border-radius: 12px 0 0 12px; }
.curve__slice:last-child { border-radius: 0 12px 12px 0; }
.curve__slice img { position: absolute; top: 0; max-width: none; object-fit: cover; object-position: top; }
.work__list { list-style: none; padding: 0; margin-top: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.work__list a { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 16px; background: var(--white); min-height: 44px;
  font-size: 19px; letter-spacing: -0.02em; color: var(--graphite); transition: background-color .3s var(--ease-in); }
.work__list a span:first-child::after { content: " ↗"; color: var(--ash); transition: color .3s; }
.work__list a:hover { background: var(--fog); }
.work__list a:hover span:first-child::after { color: var(--ember); }

/* ===================================================================== problem: the search result */
.problem__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.problem__copy { display: grid; gap: 14px; margin-top: 26px; max-width: 46ch; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.45; color: var(--stone); }
.serp { justify-self: center; width: min(100%, 360px); padding: 16px 14px 20px; border-radius: 34px; background: var(--white); border: 8px solid #141415; display: grid; gap: 10px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
.serp__bar { padding: 11px 16px; border-radius: 99px; background: var(--fog); font-size: 14px; color: var(--stone); }
.serp__bar span::before { content: "⌕  "; }
.serp__item { display: grid; gap: 6px; padding: 14px; border-radius: 16px; border: var(--hair); font-size: 15px; transition: opacity .6s var(--ease-in), transform .6s var(--ease-in); }
.serp__item b { font-weight: 500; font-size: 17px; color: var(--graphite); }
.serp__stars { font-size: 13px; color: var(--stone); }
.serp__chips { display: flex; gap: 6px; flex-wrap: wrap; }
.serp__chips i { font: 400 12px/1 var(--mono); text-transform: uppercase; padding: 7px 10px; border-radius: 99px; border: 1px solid var(--mist); font-style: normal; color: var(--stone); }
.serp__chips .is-web { background: var(--onyx); color: var(--fog); border-color: var(--onyx); }
.serp__chips .is-missing { border-style: dashed; color: var(--ash); text-decoration: line-through; }
.serp__item--you { position: relative; background: var(--fog); }
.serp__note { position: absolute; right: 12px; top: 14px; color: var(--ember); opacity: 0; transition: opacity .5s .9s; }
/* once on screen, your listing slips down the list: people skip it */
.serp.is-in .serp__item--you { opacity: .55; transform: translateY(4px) scale(.98); transition-delay: .6s; }
.serp.is-in .serp__note { opacity: 1; }

/* ===================================================================== why: outcomes + the lit mini site */
.why__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.why__stick { position: sticky; top: 120px; display: grid; place-items: center; }
.mini { width: 100%; max-width: 480px; padding: 12px; border-radius: 18px; background: #f3ece0; border: 6px solid #141415; display: grid; gap: 8px; font-size: 12px; color: #2b2622;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); transition: max-width .7s var(--ease-in), border-radius .7s var(--ease-in); }
.mini > div { border-radius: 10px; padding: 10px; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .5s var(--ease-in), outline-color .5s, transform .5s var(--ease-in); }
.mini__nav { display: flex; align-items: center; gap: 10px; }
.mini__nav b { font-weight: 500; margin-right: auto; }
.mini__nav span { color: #6b625a; }
.mini__call, .mini__btn { font-style: normal; display: inline-block; padding: 6px 10px; border-radius: 99px; background: #e8b52b; color: #1b1712; font-weight: 500; }
.mini__hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10px; align-items: center; min-height: 120px; }
.mini__hero p { font: 900 15px/1.1 var(--display); text-transform: uppercase; }
.mini__hero .mini__btn { justify-self: start; grid-row: 2; }
.mini__img { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; border-radius: 8px; background: linear-gradient(135deg, #3b3530, #8a7a66 60%, #e8b52b); }
.mini__find { display: grid; gap: 2px; background: #fff; }
.mini__find i { font-style: normal; color: #1a5fb4; }
.mini__find span { color: #6b625a; }
.mini__reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini__reviews span { background: #fff; padding: 8px; border-radius: 8px; }
.mini__info { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; }
.mini__map { grid-column: 1 / -1; height: 48px; border-radius: 8px; background: linear-gradient(90deg, transparent 48%, #fff 48% 52%, transparent 52%), linear-gradient(transparent 40%, #fff 40% 50%, transparent 50%), #d9d3c4; }
/* the part doing the current job lights up; the rest steps back */
.mini[data-on] > div { opacity: .35; }
.mini[data-on="0"] [data-part="0"], .mini[data-on="1"] [data-part="1"], .mini[data-on="2"] [data-part="2"],
.mini[data-on="3"] [data-part="3"], .mini[data-on="4"] [data-part="4"] { opacity: 1; outline-color: var(--ember); }
.mini[data-on="5"] > div { opacity: 1; }
.mini[data-on="5"] { max-width: 250px; border-radius: 30px; }
.mini[data-on="5"] .mini__nav span, .mini[data-on="5"] .mini__find span { display: none; }
.mini[data-on="5"] .mini__hero, .mini[data-on="5"] .mini__reviews, .mini[data-on="5"] .mini__info { grid-template-columns: 1fr; }
.mini[data-on="5"] .mini__img { grid-column: 1; grid-row: auto; height: 60px; }
.gains { list-style: none; padding: 0; margin: 28px 0 0; counter-reset: g; }
.gains li { counter-increment: g; display: grid; gap: 8px; padding: 26px 0 30px; border-top: var(--hair); opacity: .4; transition: opacity .5s var(--ease-in); }
.gains li.is-on { opacity: 1; }
.gains h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: -0.02em; color: var(--graphite); }
.gains h3::before { content: "0" counter(g) "  "; font: 400 13px var(--mono); color: var(--ember); vertical-align: middle; }
.gains p { color: var(--stone); max-width: 44ch; line-height: 1.45; }
.gains .label { color: var(--ash); }

/* ===================================================================== about + process (short) */
.intro__kicker { color: var(--ember); margin-bottom: 14px; }
.monogram { font-family: var(--display); }
.steps { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: var(--hair); }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 22px 22px 0 0; }
.steps__n { font: 400 13px var(--mono); color: var(--ember); padding-top: 6px; grid-row: span 2; }
.steps h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; color: var(--graphite); }
.steps p { color: var(--stone); max-width: 30ch; }
.process { padding-block: clamp(48px, 6vw, 80px) !important; }

/* ===================================================================== price + end in the new faces */
.price__num { font-weight: 900; font-size: clamp(90px, 15vw, 220px); letter-spacing: -0.03em; }
.end__title { font: 900 clamp(34px, 5vw, 80px)/1.04 var(--display); text-transform: uppercase; letter-spacing: -0.02em; max-width: 16ch; }
.end__mark { font-weight: 900; font-size: clamp(40px, 9.6vw, 190px); letter-spacing: -0.03em; }

/* ===================================================================== phones */
@media (max-width: 900px) {
  /* no backdrop blur on a fixed bar on phones: it re-blurs the page under it every scroll frame */
  .top.is-solid { backdrop-filter: none; }
  .hero { height: 220svh; }
  .hero .hero__title { top: 96px; font-size: clamp(26px, 8.4vw, 60px); }
  /* the title always breaks to four lines below 900px, so the line and buttons sit under four lines */
  .hero__line { top: calc(96px + clamp(26px, 8.4vw, 60px) * 4.08 + 14px); padding-inline: 8px; }
  .hero .hero__ctas { top: calc(96px + clamp(26px, 8.4vw, 60px) * 4.08 + 14px + 74px); left: var(--gut); right: var(--gut); transform: none; justify-content: center; }
  .lap { width: 88vw; top: 66svh; perspective: 1100px; }
  .curve { height: 280px; }
  .lap__screen { border-radius: 10px 10px 4px 4px; }
  .work__list { grid-template-columns: 1fr 1fr; }
  .problem__grid, .why__grid { grid-template-columns: 1fr; }
  /* the mini site stays on screen under the bar while the outcomes scroll past it */
  .why__stick { top: 64px; z-index: 2; padding: 10px 0; background: var(--paper); }
  .mini { max-width: 340px; font-size: 10px; gap: 5px; padding: 8px; }
  .mini > div { padding: 6px; }
  .mini__hero { min-height: 72px; }
  .mini__hero p { font-size: 11px; }
  .mini__map { height: 28px; }
  .mini[data-on="5"] { max-width: 200px; }
  .mini__reviews span + span { display: none; }
  .mini__reviews { grid-template-columns: 1fr; }
  /* phone mode keeps its columns here, so the sticky site doesn't grow taller than half the screen */
  .mini[data-on="5"] .mini__hero, .mini[data-on="5"] .mini__info { grid-template-columns: 1.1fr 1fr; }
  .mini[data-on="5"] .mini__img { grid-column: 2; grid-row: 1 / span 2; height: auto; }
  .gains li { padding: 20px 0 24px; }
  .gains { padding-bottom: 32svh; } /* the last outcome can scroll clear of the sticky site */
  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 18px 0 0; }
}
@media (max-width: 520px) { .work__list { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero__stage { min-height: 100svh; }
  .gains li { opacity: 1; }
}
.curve.is-off .curve__tile { animation-play-state: paused; }

/* ===================================================================== v6.1: pricing cards */
.price__h { margin: 12px 0 0; max-width: 18ch; }
.plans { list-style: none; padding: 0; margin: clamp(28px, 4vw, 48px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.plan__link { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: clamp(22px, 2.2vw, 32px); border-radius: 24px; background: var(--white); color: var(--graphite);
  border: var(--hair); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.plan__link:hover, .plan__link:focus-visible { transform: translateY(-10px); box-shadow: 0 28px 50px -28px rgba(0,0,0,.35); }
.plan__name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 20px; letter-spacing: -0.02em; }
.plan__name em { font-style: normal; }
.plan__price { font: 900 clamp(34px, 3.4vw, 50px)/1.05 var(--display); letter-spacing: -0.02em; margin-top: 8px; }
.plan__price small { font: 400 13px var(--mono); text-transform: uppercase; color: var(--stone); vertical-align: middle; }
.plan__sub { font: 400 12px var(--mono); text-transform: uppercase; color: var(--stone); }
.plan__about { color: var(--stone); line-height: 1.4; padding-bottom: 14px; border-bottom: var(--hair); }
.plan__list { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; gap: 9px; }
.plan__list li { display: flex; align-items: center; gap: 10px; }
.plan__list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--ember); flex: none; }
.plan__cta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 0 20px; border-radius: 99px; background: var(--fog); font-size: 15px;
  transition: background-color .3s var(--ease-in), color .3s; }
.plan__link:hover .plan__cta { background: var(--onyx); color: var(--fog); }
.plan--main .plan__link { background: var(--onyx); color: var(--fog); border-color: var(--onyx); }
.plan--main :is(.plan__sub, .plan__about, .plan__price small) { color: var(--ash); }
.plan--main .plan__about { border-color: rgba(255,255,255,.14); }
.plan--main .plan__cta { background: var(--ember); color: var(--onyx); }
.plan--main .plan__link:hover .plan__cta { background: var(--fog); color: var(--onyx); }

/* ===================================================================== v6.1: the end is one call to action */
.end__cta { display: grid; justify-items: center; text-align: center; gap: 22px; margin-top: clamp(48px, 6vw, 88px); }
.end__cta .end__title { max-width: 18ch; margin: 0; }
.end__btn { display: inline-flex; align-items: center; gap: 14px; min-height: 64px; padding: 0 30px; border-radius: 99px; border: 1px solid rgba(255,255,255,.3); color: var(--fog);
  font-size: clamp(18px, 1.6vw, 22px); transition: background-color .35s var(--ease-in), color .35s, border-color .35s; }
.end__btn i { font-style: normal; transition: transform .35s var(--ease-out); }
.end__btn:hover { background: var(--fog); color: var(--onyx); border-color: var(--fog); }
.end__btn:hover i { transform: translate(3px, -3px); }

/* ===================================================================== v6.1: contact page */
.contact-page { min-height: 100svh; padding-top: clamp(110px, 12vw, 150px); }
.contact-page .end__title { text-align: left; }
.contact-page .end__grid { margin-top: 0; }

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; }
}
/* two cards, with bigger builds as one quiet row under them */
.plans { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-inline: auto; }
#price > .wrap > .label, .price__h { text-align: center; margin-inline: auto; }
.plan-more { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; max-width: 900px; margin: 14px auto 0; padding: 20px clamp(22px, 2.2vw, 32px);
  border-radius: 20px; border: 1px dashed var(--mist); font-size: 18px; letter-spacing: -0.02em; color: var(--graphite); transition: background-color .3s var(--ease-in); }
.plan-more:hover { background: var(--white); }
.plan-more:hover .label { color: var(--ember); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* v7 logo: the "vansper." wordmark. Clash Display Semibold is used ONLY for this wordmark */
@font-face { font-family: "Clash Display"; src: url("../fonts/ClashDisplay-Semibold.otf") format("opentype"); font-weight: 600; font-display: swap; }
.wordmark { font-family: "Clash Display", var(--sans); font-weight: 600; text-transform: none; letter-spacing: -0.02em; }
.top__mark .wordmark { font-size: 24px; line-height: 1; }

/* v7 footer: "vansper." wordmark, sized to span the page */
.end__mark { font-size: 21vw; line-height: .9; margin-bottom: 0; }
@media (max-width: 900px) {
  /* smaller ticker so a whole phrase reads at rest */
  .ticker__row { font-size: 28px; }
  .end__foot nav { flex-wrap: wrap; gap: 0 16px; }
  .end__foot nav a { white-space: nowrap; padding-inline: 0; }
  /* parallax lifts the word ~40px, so leave room under the copyright */
  .end__mark { margin-top: 56px; }
}
@media (max-width: 420px) {
  .top__mark { gap: 8px; font-size: 14px; }
  .top__mark .wordmark { font-size: 21px; }
  .top { column-gap: 6px; }
  .top .pill { padding: 7px 10px; font-size: 12px; }
}

/* ===================================================================== portfolio page (portfolio/index.html) */
/* the home curve is a link to the portfolio */
a.curve { display: block; cursor: pointer; }
.pf { padding: clamp(120px, 14vw, 180px) 0 clamp(72px, 9vw, 120px); }
.pf__head { position: relative; max-width: 900px; margin-inline: auto; text-align: center; }
/* faint dot field behind the heading, fading out from the centre (static) */
.pf__head::before { content: ""; position: absolute; inset: -80px -10% -40px; z-index: -1; pointer-events: none;
  background: radial-gradient(rgba(60,58,62,.22) 1px, transparent 1.2px) 0 0 / 22px 22px;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent); mask-image: radial-gradient(closest-side, #000 30%, transparent); }
.pf__kicker { color: var(--ember); margin-bottom: 14px; }
.pf-pair, .pf-card { scroll-margin-top: 96px; } /* clears the fixed header on #anchor jumps from home */
.pf__title { font-size: clamp(34px, 5vw, 72px); max-width: 15ch; margin-inline: auto; }
.pf__copy { max-width: 58ch; margin: 22px auto 0; color: var(--stone); font-size: 18px; line-height: 1.5; display: grid; gap: 12px; }
.pf__group { margin-top: clamp(56px, 6vw, 88px); }
.pf__mid { margin-top: clamp(96px, 11vw, 160px); }
.pf__mid .pf__title { font-size: clamp(30px, 4vw, 56px); }
.pf__grouphead { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 32px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: var(--hair); }
.pf__h2 { font-size: 28px; font-weight: 500; letter-spacing: -0.02em; color: var(--graphite); }
.pf__grouphead p { color: var(--stone); max-width: 56ch; }
.pf__pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(24px, 4vw, 56px); margin-top: 24px; }
/* an odd last pair sits centred under the row instead of hanging left */
@media (min-width: 1101px) { .pf-pair:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - clamp(24px, 4vw, 56px) / 2); } }
.pf-pair__name { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; font-size: 19px; letter-spacing: -0.02em; color: var(--graphite); }
.pf-pair__name b { font-weight: 500; }
.pf-pair__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pf__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 16px; margin-top: 24px; }
/* card: a 2:3 window onto a 600x1500 shot of the first four screens; hover pans down the page */
.pf-card { display: flex; flex-direction: column; gap: 4px; color: var(--graphite); }
.pf-card__frame { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 16px; background: #e6e4e0; margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(22,22,22,.06), 0 14px 30px -20px rgba(22,22,22,.35); }
.pf-card__frame img { display: block; width: 100%; height: auto; transition: transform 2.4s var(--ease-in); }
.pf-card:hover .pf-card__frame img, .pf-card:focus-visible .pf-card__frame img { transform: translateY(-40%); }
.pf-card__title { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.pf-card .label { color: var(--ash); }
/* "View" pill: a dark dot with an arrow that widens to show the word */
.pf-card__view { position: absolute; top: 12px; left: 12px; display: flex; align-items: center; gap: 4px; height: 32px; width: 32px; overflow: hidden; border-radius: 99px;
  background: rgba(22,22,22,.72); color: var(--fog); font: 500 13px/1 var(--sans); white-space: nowrap; transition: width .35s var(--ease-in); }
.pf-card__view i { flex: none; width: 32px; height: 32px; display: grid; place-items: center; font-style: normal; }
.pf-card__view i::before { content: "↗"; font-size: 14px; }
.pf-card:hover .pf-card__view, .pf-card:focus-visible .pf-card__view { width: 70px; }
@media (max-width: 1100px) { .pf__pairs { grid-template-columns: 1fr; } .pf__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) {
  .pf__grid { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .pf-pair__cards { gap: 12px; }
  .pf__copy { font-size: 16px; }
  .pf-card__frame { border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) { .pf-card__frame img, .pf-card__view { transition: none; } }

/* ===================================================================== terms page (terms/index.html) */
.terms { max-width: 68ch; margin: clamp(48px, 6vw, 80px) auto 0; color: var(--stone); font-size: 17px; line-height: 1.6; }
.terms h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; color: var(--graphite); margin: 36px 0 8px; }
.terms h2:first-child { margin-top: 0; }
.terms strong { color: var(--graphite); font-weight: 500; }
.terms ul { margin: 8px 0 0; padding-left: 1.2em; display: grid; gap: 6px; list-style: disc; }
.terms p + p, .terms ul + p { margin-top: 10px; }
.terms a { color: var(--graphite); text-decoration: underline; text-underline-offset: 3px; }
.pf__rights { margin-top: clamp(48px, 6vw, 72px); text-align: center; color: var(--stone); }
.pf__rights a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.terms h2[id] { scroll-margin-top: 96px; } /* clears the fixed header on #use */

/* contact: accept-the-terms tick (contact.html .form__terms) */
.form label.form__terms { display: flex; align-items: center; gap: 10px; font: 400 15px/1.4 var(--sans); text-transform: none; cursor: pointer; }
.form .form__terms input { appearance: auto; width: 20px; height: 20px; min-height: 0; padding: 0; margin: 0; flex: none; accent-color: var(--onyx); }
.form .form__terms a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form .form__terms input[aria-invalid="true"] { outline: 2px solid #b3261e; outline-offset: 2px; }

/* terms: the short version (summary above the full terms) */
.terms__short { padding-bottom: 32px; margin-bottom: 40px; border-bottom: var(--hair); }
.terms__short h2 { margin-top: 0; }
.terms__short li::marker { color: var(--ember); }
.terms__short p { margin-top: 14px; font-size: 15px; }
