/* /websites/ and its two pages (Appear Websites, 3 Nov 2026; built only with the switch on: jobs/data.py WEBSITES_ON). Loaded on
   those pages only, so site.css and every other page stay as they are. The site's own tokens throughout; the one value of its own
   is the phone's bezel. The look is Matt's approved mockup of 3 Nov 2026: every build pictured is an example build, labelled.
   The few words drawn inside the pictures (a note on a screen, an address bar) come from data-w attributes, inside aria-hidden
   pictures: they are part of the picture, not of the page's words. */
:root { --bezel: #1c211f; }

.wgo { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-5) 0 0; }
.wprices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); margin-bottom: var(--space-4); }
.wprices .price { box-shadow: none; align-content: start; }

/* the frames every picture sits in: a phone, a browser window, and the label every example build carries */
.wphone { position: absolute; aspect-ratio: 520 / 1126; background: var(--bezel); border: clamp(4px, .55vw, 7px) solid var(--bezel); border-radius: clamp(16px, 2.4vw, 30px); box-shadow: var(--shadow-3); overflow: hidden; }
.wphone img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top; border-radius: clamp(12px, 1.9vw, 24px); }
.wbrowser { position: absolute; background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--shadow-2); overflow: hidden; border: var(--rule-2); }
.wbrowser__bar { display: flex; align-items: center; gap: 5px; height: 24px; padding: 0 var(--space-2); background: var(--band); border-bottom: var(--rule); }
.wbrowser__bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); flex: none; }
.wbrowser__bar span { margin-left: var(--space-2); flex: 1; min-width: 0; height: 14px; border-radius: var(--radius-pill); background: var(--surface); border: var(--rule); }
.wbrowser img { display: block; width: 100%; height: auto; aspect-ratio: 1100 / 619; object-fit: cover; object-position: top; }
.wtag { position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--radius-pill); background: var(--surface); border: var(--rule-2); color: var(--ink); font: 650 var(--fs-micro)/1 var(--body); letter-spacing: var(--track-caps); text-transform: uppercase; box-shadow: var(--shadow-1); white-space: nowrap; }
.wtag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.wtag[data-w]::after { content: attr(data-w); }

/* the hero: the words beside the builds, fanned on phones (the hub, celebrants) or a desktop and a phone (tradies). Nothing in it
   reaches past its column (the glow is blurred, not wider), so no box has to clip the page's words. */
.whero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--space-9); align-items: center; }
.whero__grid > * { min-width: 0; }
.wfan { margin: 0; }
.wfan__stage { position: relative; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 1 / 1.04; }
.wfan__stage::before { content: ""; position: absolute; inset: -6% 0 -2%; background: var(--aura-2), var(--aura-1); background-size: 70% 70%, 60% 60%; background-position: 20% 30%, 85% 75%; background-repeat: no-repeat; filter: blur(30px); z-index: 0; }
.wfan .wphone { width: 39%; top: 9%; transition: transform var(--dur-2) var(--ease-out); }
.wfan .wphone--l { left: 6%; transform: rotate(-8deg); z-index: 1; }
.wfan .wphone--r { right: 6%; transform: rotate(8deg); z-index: 1; }
.wfan .wphone--c { left: 50%; width: 45%; top: 0; transform: translateX(-50%); z-index: 2; }
.wfan__stage:hover .wphone--l { transform: rotate(-10deg) translateX(-4%); }
.wfan__stage:hover .wphone--r { transform: rotate(10deg) translateX(4%); }
.wfan figcaption { margin: var(--space-5) auto 0; max-width: 440px; font-size: var(--fs-fine); color: var(--mute); text-align: center; text-wrap: balance; }
.wfan figcaption .wtag { position: static; margin-right: var(--space-2); vertical-align: 1px; box-shadow: none; }
.wfan__stage--duo { aspect-ratio: 1 / .82; }
.wfan__stage--duo .wbrowser { left: 0; top: 12%; width: 84%; z-index: 1; }
.wfan__stage--duo .wphone { right: 2%; left: auto; top: 22%; width: 31%; transform: none; z-index: 2; }
/* the hub's hero (Matt, 4 Nov 2026): the one desktop and the one phone show the example builds in turn. The HTML shows the first
   build on its own, so without JavaScript nothing moves and nothing is missing; once the page has loaded, site/js/websites.js
   brings the others in (.is-live, so their images load then, not before) and cross-fades them, the desktop and the phone together.
   The buttons' row keeps its room before that, so nothing below it moves when they appear. */
.wrot [data-slide]:not(.is-on) { display: none; }
.wrot.is-live img[data-slide] { display: block; }
.wrot.is-live .wtag[data-slide] { display: inline-flex; }
.wrot.is-live [data-slide] { opacity: 0; visibility: hidden; transition: opacity var(--dur-4) var(--ease-in-out), visibility 0s linear var(--dur-4); }
.wrot.is-live [data-slide].is-on { opacity: 1; visibility: visible; transition: opacity var(--dur-4) var(--ease-in-out); }
.wrot__screen { position: relative; }
.wrot__screen img + img, .wrot .wphone img + img { position: absolute; inset: 0; width: 100%; height: 100%; }
.wrot .wtag[data-slide] { left: 0; top: 0; }
.wrot__nav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-2); margin: var(--space-7) auto 0; visibility: hidden; }
.wrot.is-live .wrot__nav { visibility: visible; }
.wrot__nav .tab { padding-inline: var(--space-3); }
.wrot__nav .tab[aria-current="true"] { color: var(--ink); border-color: var(--ink); }
.wrot .wrot__nav + figcaption { margin-top: var(--space-4); }

/* the audience cards, each opening on its build */
.wcard { padding: var(--space-3) var(--space-3) var(--space-6); display: grid; gap: var(--space-5); align-content: start; }
.wcard__body { padding-inline: var(--space-3); }
/* the label sits on the picture; only the picture's own layer clips (the phone runs off its foot), never the label */
.wshot { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-md); background: var(--wash-sand); }
.wshot__pic { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.wshot--trade { background: var(--wash-mint); }
.wshot .wbrowser { left: 6%; top: 15%; width: 76%; }
.wshot .wphone { right: 5%; top: 33%; width: 21%; border-width: 4px; border-radius: 16px; }
.wshot .wphone img { border-radius: 12px; }
.wshot .wtag { left: var(--space-3); top: var(--space-3); }
.cards--2 + .small { margin-top: var(--space-4); }

/* the build, step by step: one example celebrant site, from the call to live */
.wsteps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
.wsteps > * { min-width: 0; }
.wstep { counter-increment: step; position: relative; background: var(--surface); border: var(--rule); border-radius: var(--radius); padding: var(--space-3) var(--space-3) var(--space-5); display: grid; gap: var(--space-4); align-content: start; }
.wstep::before { content: counter(step); position: absolute; z-index: 6; left: var(--space-5); top: var(--space-5); width: var(--space-7); height: var(--space-7); border-radius: 50%; background: var(--ink); color: var(--surface); font: 600 var(--fs-small)/var(--space-7) var(--body); text-align: center; }
.wstep__text { padding-inline: var(--space-3); font-size: var(--fs-base); }
.wstep__text strong { display: block; margin-bottom: var(--space-0); font-size: var(--fs-body); }
.wsteps__cap { margin: calc(-1 * var(--space-5)) 0 var(--space-5); }
.wart { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; background: var(--wash-mint); }
.wart .wphone { left: 50%; top: 15%; width: 44%; transform: translateX(-50%); border-width: 4px; border-radius: 18px; box-shadow: var(--shadow-2); }
.wart .wphone img { border-radius: 14px; }
.wart .wtag { right: var(--space-3); top: var(--space-3); }
/* step 1: the call */
.wcallcard { position: absolute; left: 50%; top: 54%; transform: translate(-50%, -50%); width: 80%; background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-2); padding: var(--space-3); font-size: var(--fs-fine); line-height: 1.35; }
.wcallcard__who { display: flex; align-items: center; gap: var(--space-2); padding-bottom: var(--space-2); border-bottom: var(--rule-dashed); margin-bottom: var(--space-2); }
.wcallcard__who img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; flex: none; }
.wcallcard__name::before { content: attr(data-w); display: block; font-weight: 650; }
.wcallcard__name::after { content: attr(data-sub); display: block; color: var(--mute); font-size: var(--fs-micro); letter-spacing: .02em; }
.wcallcard__ring { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; flex: none; }
.wcallcard__ring svg { width: 15px; height: 15px; }
.wcallcard__list { display: grid; gap: 5px; color: var(--ink-2); }
.wcallcard__list span { display: flex; align-items: center; gap: var(--space-2); }
.wcallcard__list span::before { content: ""; width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid var(--accent); flex: none; }
.wcallcard__list span::after { content: attr(data-w); }
/* step 2: from what is public */
.wsnap { position: absolute; width: 29%; aspect-ratio: 4 / 5; padding: 3px 3px 10px; background: var(--surface); box-shadow: var(--shadow-1); border-radius: 3px; }
.wsnap img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wsnap--1 { left: 5%; top: 20%; transform: rotate(-9deg); }
.wsnap--2 { left: 21%; top: 34%; transform: rotate(5deg); z-index: 1; }
.wsnap--3 { left: 8%; top: 56%; transform: rotate(-3deg); z-index: 2; }
.wart--draft .wphone { left: 70%; width: 40%; top: 12%; }
/* the photos' source, drawn in the picture: a dark chip in the notes' italic, never the Example build label's pill */
.wsrc { position: absolute; z-index: 5; left: var(--space-3); bottom: var(--space-3); padding: 5px 10px; border-radius: var(--radius-sm); background: var(--ink); color: var(--on-ink); font: italic 500 var(--fs-fine)/1.1 var(--head); box-shadow: var(--shadow-1); white-space: nowrap; }
.wsrc::after { content: attr(data-w); }
/* step 3: changed with you */
.wnote { position: absolute; z-index: 4; display: flex; align-items: center; gap: 6px; padding: 5px 9px 5px 5px; background: var(--surface); border-radius: var(--radius-pill); box-shadow: var(--shadow-1); font: italic 500 var(--fs-fine)/1.1 var(--head); color: var(--ink); white-space: nowrap; }
.wnote::after { content: attr(data-w); }
.wnote i { font: 700 var(--fs-micro)/18px var(--body); font-style: normal; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: var(--on-accent); text-align: center; flex: none; }
.wnote i::before { content: attr(data-w); }
.wnote--1 { left: 6%; top: 36%; }
.wnote--2 { right: 5%; top: 64%; }
/* step 4: live, in your name */
/* clear of the step's number on its left, the address shortens before the Live mark wraps */
.wurlbar { position: absolute; z-index: 4; left: 48px; right: 6px; top: 9%; display: flex; align-items: center; gap: 6px; padding: 6px 9px; background: var(--surface); border: var(--rule-2); border-radius: var(--radius-pill); box-shadow: var(--shadow-1); font-size: var(--fs-micro); line-height: 1; color: var(--ink); }
.wurlbar svg { width: 12px; height: 12px; flex: none; color: var(--accent); }
.wurlbar span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wurlbar span::after { content: attr(data-w); }
.wurlbar em { margin-left: auto; font: 650 var(--fs-micro)/1 var(--body); font-style: normal; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--accent-deep); display: inline-flex; align-items: center; gap: 4px; flex: none; white-space: nowrap; }
.wurlbar em::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.wurlbar em::after { content: attr(data-w); }
.wart--live .wphone { top: 27%; }

.wafter { margin-top: var(--space-9); background: var(--wash-mint); border-radius: var(--radius-lg); padding: var(--space-8); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--space-7); align-items: start; }
.wafter h2 { margin-bottom: 0; }
.wafter .prose p:last-child { margin-bottom: 0; }

/* the example builds, whole, each on its phone */
.wshots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); max-width: 760px; margin: var(--space-5) 0; }
.wshots figure { margin: 0; }
.wshots__frame { position: relative; display: grid; place-items: center; padding: var(--space-9) var(--space-6) var(--space-7); border-radius: var(--radius-lg); background: var(--wash-mint); }
.wshots figure + figure .wshots__frame { background: var(--wash-sand); }
.wshots__frame .wtag { left: var(--space-3); top: var(--space-3); }
.wshots img { display: block; width: 100%; max-width: 280px; height: auto; border: 6px solid var(--bezel); border-radius: 26px; background: var(--bezel); box-shadow: var(--shadow-2); }
.wshots figcaption { margin-top: var(--space-3); font-size: var(--fs-small); color: var(--mute); }

/* Jake, with his photo */
.wjake { align-items: center; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.wjake__photo { position: relative; margin: 0; max-width: 340px; }
.wjake__photo::before { content: ""; position: absolute; inset: 8% -6% -5% 10%; border-radius: var(--radius-lg); background: var(--wash-mint); z-index: 0; }
.wjake__photo img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 559 / 840; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-2); }
.wjake__tag { position: absolute; z-index: 2; left: var(--space-4); bottom: var(--space-4); right: var(--space-4); padding: var(--space-3) var(--space-4); background: var(--paper-glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: var(--radius-md); font-size: var(--fs-fine); line-height: 1.3; color: var(--ink-2); }
.wjake__tag::before { content: attr(data-w); display: block; font: 600 var(--fs-name)/1.2 var(--head); color: var(--ink); }
.wjake__tag::after { content: attr(data-sub); }
.wcall { margin-top: var(--space-5); padding-top: var(--space-5); border-top: var(--rule); }
.wcall__go { display: flex; flex-wrap: wrap; gap: var(--space-3); }

@media (max-width: 1040px) {
  .wsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .whero__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
  .wfan__stage { max-width: 380px; }
  .wfan__stage--duo { max-width: 460px; }
  .wjake, .wafter { grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }
  .wafter { padding: var(--space-6); gap: var(--space-4); }
  .wprices { grid-template-columns: minmax(0, 1fr); }
  .wjake__photo { max-width: 260px; }
}
@media (max-width: 640px) {
  .wsteps { grid-template-columns: minmax(0, 1fr); }
  .wart { aspect-ratio: 16 / 10; }
  .wart .wphone { width: 34%; }
  .wart--draft .wphone { width: 31%; left: 68%; }
  .wsnap { width: 22%; }
  .wsnap--2 { left: 18%; }
}
@media (max-width: 520px) {
  .wshots { gap: var(--space-3); }
  .wshots__frame { padding: var(--space-9) var(--space-3) var(--space-4); }
  .wshots img { border-width: 4px; border-radius: 18px; }
  .wrot__nav .tab { padding-inline: var(--space-2); }
  .wtag { letter-spacing: 0; }  /* at 12px (10px until the mobile audit, 19 Nov 2026) the longest tag fits a 320px screen untracked */
}
@media (prefers-reduced-motion: reduce) {
  .wfan .wphone { transition: none; }
  .wrot.is-live [data-slide], .wrot.is-live [data-slide].is-on { transition: none; }
}
