/* The Editorial look for the website pages (2026-11): depth, light and
   motion, the homepage's shorter sections, and the How it works timeline.
   Loaded after site.css (and home.css, pricing.css where a page uses them).
   Colours and type come from site.css's tokens. Motion stays inside
   prefers-reduced-motion: no-preference; without it, or without script,
   everything is simply shown. */

/* Depth, light and motion */
:root { --m-ease: cubic-bezier(0.23, 1, 0.32, 1); --m-press: 120ms; --m-hover: 160ms; --m-ui: 220ms; --device-shadow: var(--p-device); }

.hero .stage { isolation: isolate; }
.hero .stage::before { content: ""; position: absolute; inset: 0 -12% 0 -6%; z-index: -1; pointer-events: none; background: var(--p-glow); }

.stage .device { box-shadow: var(--p-device-hero); }
.claim, .domain-note { box-shadow: 0 1px 0 rgba(237,232,224,.04) inset, 0 0 0 1px rgba(0,0,0,.5), 0 12px 24px -16px rgba(0,0,0,.7); }
.plan { box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 1px 2px rgba(30,25,18,.08), 0 24px 48px -32px rgba(30,25,18,.45); }
.plan.full { box-shadow: var(--p-proplus); }

.btn { position: relative; transition: background-color var(--m-hover) ease, border-color var(--m-hover) ease, transform var(--m-press) var(--m-ease); }
.btn::after, .zoom .device::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity var(--m-hover) ease; }
.btn-primary::after { box-shadow: 0 8px 22px -10px rgba(232,160,32,.55); }
.btn-line::after { box-shadow: 0 6px 18px -10px rgba(0,0,0,.6); }
.zoom .device { position: relative; }
.zoom .device::after { box-shadow: var(--p-device-lift); }
.foot nav a, .trial-line a, .faq p a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color var(--m-hover) ease, text-decoration-color var(--m-hover) ease; }
.zoom .device, .zoom .browser, .plan { transition: transform var(--m-hover) var(--m-ease); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover::after, .zoom .device:hover::after { opacity: 1; }
  .foot nav a:hover, .trial-line a:hover, .faq p a:hover { text-decoration-color: var(--gold); }
}

.lightbox { transition: opacity 160ms ease, display 160ms allow-discrete; }
.lightbox[hidden] { opacity: 0; }
@starting-style { .lightbox:not([hidden]) { opacity: 0; } }
.lightbox:not([hidden]) { transition-duration: var(--m-ui); transition-timing-function: var(--m-ease); }

@media (prefers-reduced-motion: no-preference) {
  .btn:active { transform: scale(0.98); }
  .lightbox img { transition: transform var(--m-ui) var(--m-ease); }
  @starting-style { .lightbox:not([hidden]) img { transform: scale(0.97); } }
  @keyframes p-rise { from { opacity: .01; transform: translateY(var(--p-rise, 8px)); } }
}
@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox:not([hidden]) { transition-duration: 120ms; }
}

:root {
  --p-glow: radial-gradient(62% 68% at 52% 52%, rgba(232,160,32,.11), rgba(232,160,32,0)), radial-gradient(46% 18% at 55% 100%, rgba(232,160,32,.04), rgba(232,160,32,0));
  --p-device: 0 1px 0 rgba(237,232,224,.12) inset, 0 0 0 1px rgba(0,0,0,.6), 0 2px 4px rgba(0,0,0,.35), 0 30px 60px -22px rgba(0,0,0,.85);
  --p-device-hero: var(--p-device), 0 48px 96px -40px rgba(0,0,0,.9);
  --p-device-lift: 0 1px 0 rgba(237,232,224,.12) inset, 0 0 0 1px rgba(0,0,0,.6), 0 2px 4px rgba(0,0,0,.35), 0 40px 72px -24px rgba(0,0,0,.92);
  --p-proplus: 0 1px 0 rgba(255,255,255,.7) inset, 0 0 0 1px rgba(232,160,32,.35), 0 1px 2px rgba(30,25,18,.08), 0 28px 56px -26px rgba(232,160,32,.16), 0 24px 48px -32px rgba(30,25,18,.45);
}
@media (prefers-reduced-motion: no-preference) {
  .hero .pre, .hero h1 > span, .hero .sub, .hero .actions, .hero .note { --p-rise: 12px; animation: p-rise 600ms var(--m-ease) both; }
  .hero h1 > span + span { animation-delay: 70ms; }
  .hero .sub, .hero .actions, .hero .note { animation-delay: 140ms; }
  .hero .stage { --p-rise: 16px; animation: p-rise 700ms var(--m-ease) 200ms both; }
  .hero .bill { animation: p-settle 500ms var(--m-ease) 450ms both; }
  @keyframes p-settle { from { opacity: 0; transform: translateY(6px) rotate(-4deg); } to { opacity: 1; transform: rotate(-2deg); } }

  .p-wait { opacity: 0; transform: translateY(16px); }
  .p-in { opacity: 1; transform: none; transition: opacity 500ms var(--m-ease), transform 500ms var(--m-ease); }

  @media (hover: hover) and (pointer: fine) {
    .btn:hover { transform: translateY(-1px); }
    .btn:active { transform: translateY(0) scale(0.98); }
    .zoom .device:hover, .zoom .browser:hover { transform: translateY(-3px); }
    .plan:hover { transform: translateY(-2px); }
    .story-link a::after { transition: transform var(--m-hover) var(--m-ease); }
    .story-link a:hover::after { transform: translateX(2px) rotate(45deg); }
  }
}

/* Homepage sections */
/* The homepage price line */
.price-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); margin-top: var(--s6); font-size: 16px; color: var(--ink-2); }
.price-foot .btn-line { border-color: rgba(30,25,18,.3); color: var(--ink); }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s2) clamp(20px, 4vw, 48px); margin-top: var(--s5); font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; }
.price-line span small { font: 500 15px var(--body); color: var(--ink-2); margin-left: 6px; }
/* what the whole band gets, as a quiet list */
.caps { list-style: none; margin: var(--s6) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.caps li { padding: var(--s4) var(--s4) var(--s4) 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 600; }
.caps li small { display: block; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--text-3); }
/* the photo full width with the words under it */
.bridge-full .photo { aspect-ratio: 2.72 / 1; }
.bridge-full h2 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: .96; margin: var(--s5) 0 0; }
.bridge-full p { margin-top: var(--s3); font-size: 18px; color: var(--text-2); max-width: 46ch; }
/* The founding offer, shorter */
.join-short .lead { max-width: 40ch; }
/* The founder section now sits right above the cream pricing band */
.bridge, .bridge-full { padding-bottom: clamp(56px, 7vw, 96px); }
/* the capability list beside the band website screenshot */
.platform { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: center; margin-top: var(--s6); }
.platform .caps { margin-top: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.platform figcaption { text-align: left; }
@media (max-width: 860px) { .platform { grid-template-columns: minmax(0, 1fr); } }
/* the band photo now sits between two alternate-colour bands */
.bridge-full { padding-top: clamp(56px, 7vw, 96px); }
@media (max-width: 860px) {
  .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .bridge-full .photo { aspect-ratio: 1.5 / 1; }
  .bridge-full .photo img { object-position: 70% 50%; }
}

/* The connected timeline, the group-text threads, screens big enough to read
   on phones, the FAQ accordions and the "Around the gig" panels. */

/* Hero: a quiet second path for people not ready to sign up */
.hero-link { display: inline-flex; align-items: center; min-height: 52px; padding: 0 6px; color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(232,160,32,.6); text-underline-offset: 6px; transition: text-decoration-color 160ms ease; }
.hero-link:hover { text-decoration-color: var(--gold); }

/* Lists people must read: readable contrast, not faint */
.ticks li { color: var(--text-2); }

/* Three questions: each thread as a few chat bubbles, then the fix */
.q h3 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.02; }
.thread { margin-top: var(--s4); display: grid; gap: 6px; }
.thread li { justify-self: start; max-width: 100%; padding: 7px 12px 8px; border-radius: 14px 14px 14px 4px; background: var(--raised); border: 1px solid var(--line); color: var(--text-2); line-height: 1.35; }
.thread b { display: block; margin: 0 0 1px; font-size: 13px; font-weight: 600; color: var(--text-3); }
.fix { position: relative; margin-top: var(--s5); padding: var(--s3) 0 0 26px; border-top: 1px solid var(--line-2); color: var(--text); }
.fix::before { content: ""; position: absolute; left: 3px; top: calc(var(--s3) + 7px); width: 11px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

/* The connected timeline. Markers start filled; rail.js dims them first
   only when motion is allowed, then fills each as its step comes into view. */
.rail::before { background: linear-gradient(var(--line-2), var(--line-2)) no-repeat; }
.stop::before { background: var(--gold); border-color: var(--gold); transition: background-color 300ms ease, border-color 300ms ease; }
.rail-progress .stop:not(.lit)::before { background: var(--stage); border-color: var(--text-3); }
.sec-alt .rail-progress .stop:not(.lit)::before, .rail-progress .sec-alt .stop:not(.lit)::before { background: var(--card); }
.stop h2 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 3.8vw, 52px); line-height: 1; margin: var(--s2) 0 0; text-wrap: balance; }
.stop .when { color: var(--gold); }
.rail-end { position: relative; padding-left: 48px; margin-top: clamp(48px, 6vw, 80px); }
.rail-end::before { content: ""; position: absolute; left: 3px; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.rail-end .btn { margin-top: 0; }

/* Screens big enough to read */
.solo { max-width: 300px; }
.screens figure { width: min(48%, 280px); }
.stage-gallery { grid-auto-columns: min(290px, 78%); }

/* FAQ: native disclosure, works without script and by keyboard */
.faq { align-items: start; }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 60px; padding: var(--s3) 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 19px; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex-shrink: 0; width: 10px; height: 10px; margin-right: 4px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform 160ms ease; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin: 0 0 var(--s5); }
.faq-more { margin-top: var(--s5); }
.faq-more a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(232,160,32,.6); text-underline-offset: 5px; }
.cream .faq details { border-color: var(--paper-line); }

/* How it works page head */
.hiw-head { padding-block: clamp(32px, 6vw, 80px) var(--s6); }
.hiw-head h1 { max-width: 12ch; }
.hiw-head .stand { max-width: 40ch; }
.hiw-head .actions { margin-top: var(--s5); }
.hiw .rail { margin-top: var(--s5); }
.hiw .stop + .stop { margin-top: clamp(72px, 9vw, 128px); }

/* Around the gig: three panels, one visible line each, detail on demand */
.around { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); margin-top: var(--s6); }
.panel { padding: var(--s5); border-radius: var(--r-l); background: var(--card); border: 1px solid var(--line-2); box-shadow: 0 1px 0 rgba(237,232,224,.04) inset, 0 12px 24px -16px rgba(0,0,0,.7); }
.panel h3 { margin: 0; font-size: 20px; font-weight: 700; }
.panel .plan-tag { margin: var(--s2) 0 0; }
.panel > p { margin-top: var(--s3); color: var(--text-2); font-size: 17px; }
.panel details { margin-top: var(--s3); }
.panel summary { display: inline-flex; align-items: center; min-height: 44px; cursor: pointer; color: var(--text); font-weight: 600; font-size: 16px; text-decoration: underline; text-decoration-color: rgba(232,160,32,.6); text-underline-offset: 5px; }
.panel details p { margin-top: var(--s2); font-size: 16px; color: var(--text-2); }
.around-site { margin-top: var(--s7); max-width: 760px; }

/* The founding list wording sits a little closer to its heading */
.join .how { margin-top: var(--s3); font-size: 16px; color: var(--text-2); }

@media (max-width: 860px) {
  .around { grid-template-columns: minmax(0, 1fr); }
  .stop { gap: var(--s5); }
}
/* Phones: one readable screen per row; pairs and galleries swipe */
@media (max-width: 640px) {
  .screens { display: grid; grid-auto-flow: column; grid-auto-columns: min(290px, 80%); justify-content: start; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px var(--s3); scrollbar-width: none; }
  .screens::-webkit-scrollbar { display: none; }
  .screens figure { width: auto; scroll-snap-align: start; }
  .solo { max-width: min(300px, 86%); margin-inline: 0; }
  .stage-gallery { grid-auto-columns: min(290px, 80%); }
  .rail-end { padding-left: 32px; }
  .rail-end::before { left: 1px; }
  .q + .q { padding-top: var(--s5); }
}
@media (prefers-reduced-motion: reduce) {
  .stop::before, .faq summary::after { transition: none; }
}

/* Phones, homepage only: the timeline and chat screens show their top
   part, where the point is; a tap still opens the whole screen. */
@media (max-width: 640px) {
  .crop-phone .device { overflow: hidden; }
  .crop-phone img { aspect-ratio: 780 / 1120; object-fit: cover; object-position: top; }
}
