/*
 * 24 Hour Web — hand edits on top of the mirrored Next.js stylesheet.
 * Loads after 960b443fe408bae7.css. Put all new styles here; leave the
 * mirrored CSS untouched so it is easy to see what changed.
 */

/* ---------- Ticker: slower, smaller ---------- */
.page_marquee__3cDu6 { padding: 22px 0 20px; }
.page_marqueeRow__i1xKD {
  font-size: clamp(26px, 3.6vw, 60px);
  animation-duration: 90s;
}
.page_marqueeReverse__heMgR {
  animation-duration: 105s;
  -webkit-text-stroke-width: 1.2px;
}

/* ---------- Ticket: single column now "Not on this ticket" is gone ---------- */
.page_ticketGrid__iMMLg { grid-template-columns: minmax(0, 760px); justify-content: center; }

/* ---------- Compare cards: three, not four ---------- */
.page_reasons__Cb6uC { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .page_reasons__Cb6uC { grid-template-columns: 1fr; } }

/* ---------- Clock: build tracker line ---------- */
.tracker-note { margin: 20px 0 0; max-width: 46ch; font-weight: 600; }

/* ---------- Samples gallery ---------- */
.gal { padding: clamp(80px, 10vw, 150px) var(--gutter) clamp(72px, 9vw, 130px); }
.gal-head { margin-bottom: clamp(32px, 4vw, 56px); }
.gal-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 48px) clamp(20px, 2.4vw, 36px);
}
@media (max-width: 1000px) { .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .gal-grid { grid-template-columns: 1fr; } }

.gal-card {
  all: unset; box-sizing: border-box; cursor: zoom-in;
  position: relative; display: block; width: 100%;
  padding: 0 7% 7% 0; /* room for the phone to overhang */
}
.gal-card:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 6px; border-radius: 14px; }
.gal-desktop {
  display: block; border-radius: 12px; overflow: hidden;
  background: var(--paper); box-shadow: 0 18px 40px oklch(0 0 0 / .35);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.gal-desktop .page_chrome__G7PsU { position: static; }
.gal-desktop img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.gal-phone {
  position: absolute; right: 0; bottom: 0; width: 24%;
  border: 5px solid oklch(0.16 0.04 252); border-radius: 18px; overflow: hidden;
  background: var(--paper); box-shadow: 0 16px 34px oklch(0 0 0 / .45);
  transition: transform .5s var(--ease);
}
.gal-phone img { width: 100%; height: auto; aspect-ratio: 1 / 2; object-fit: cover; object-position: top; }
.gal-zoom {
  position: absolute; left: 16px; bottom: calc(7% + 14px);
  padding: 7px 12px; border-radius: 999px;
  background: var(--red); color: var(--on-red); font-size: 14px; font-weight: 700;
  opacity: 0; translate: 0 6px; transition: opacity .3s, translate .3s var(--ease);
}
.gal-card:hover .gal-desktop, .gal-card:focus-visible .gal-desktop { transform: translateY(-4px); box-shadow: 0 26px 50px oklch(0 0 0 / .45); }
.gal-card:hover .gal-phone, .gal-card:focus-visible .gal-phone { transform: translateY(-8px); }
.gal-card:hover .gal-zoom, .gal-card:focus-visible .gal-zoom { opacity: 1; translate: 0 0; }
@media (hover: none) { .gal-zoom { opacity: 1; translate: 0 0; } }
.gal-trade { margin: 14px 0 0; font-weight: 650; color: var(--muted); }

/* Reveal: fade the cards in, staggered */
[data-motion=on] .gal-item[data-reveal] { opacity: 0; translate: 0 24px; transition: opacity .7s var(--ease), translate .7s var(--ease); transition-delay: calc(var(--k, 0) * 70ms); }
[data-motion=on] .gal-item[data-reveal][data-in=true] { opacity: 1; translate: 0 0; }

/* ---------- Lightbox ---------- */
.lb {
  /* The dialog sits outside .page_root, so it carries its own copy of the tokens. */
  --navy-3: oklch(0.2 0.055 252); --paper: oklch(0.975 0.006 75); --line: oklch(0.42 0.06 250);
  --red: #d4003a; --red-bright: #fd0947; --on-red: oklch(0.99 0.004 75);
  width: min(1240px, 100vw - 32px); height: min(92vh, 100dvh - 32px); max-width: none; max-height: none;
  padding: 0; border: 0; border-radius: 16px; overflow: hidden;
  background: var(--navy-3); color: var(--paper);
  font-family: 'Archivo', 'Archivo Fallback', ui-sans-serif, system-ui, sans-serif;
  flex-direction: column;
}
.lb[open] { display: flex; }
.lb::backdrop { background: oklch(0.12 0.03 252 / .86); backdrop-filter: blur(4px); }
.lb-bar {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
}
.lb-title { margin: 0 auto 0 0; font-weight: 750; font-size: 18px; }
.lb button {
  font: inherit; font-size: 15px; font-weight: 650; color: inherit; cursor: pointer;
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  min-width: 44px; min-height: 44px; padding: 0 16px;
}
.lb button:hover { border-color: var(--paper); }
.lb button:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 2px; }
.lb-toggle { display: flex; gap: 6px; }
.lb-toggle button[aria-pressed=true] { background: var(--red); border-color: var(--red); color: var(--on-red); }
.lb-nav { display: flex; gap: 6px; }
.lb-nav button { padding: 0; font-size: 18px; }
.lb-body { flex: 1; overflow: auto; padding: 24px; overscroll-behavior: contain; }
.lb-frame {
  margin: 0 auto; border-radius: 12px; overflow: hidden; background: var(--paper);
  box-shadow: 0 20px 60px oklch(0 0 0 / .5);
}
.lb-chrome { position: static; }
.lb-img { width: 100%; height: auto; }
.lb[data-view=desktop] .lb-frame { max-width: 1200px; }
.lb[data-view=mobile] .lb-frame { max-width: 390px; border: 8px solid oklch(0.16 0.04 252); border-radius: 30px; }
.lb[data-view=mobile] .lb-chrome { display: none; }
@media (max-width: 620px) {
  .lb { width: 100vw; height: 100dvh; border-radius: 0; }
  .lb-body { padding: 12px; }
  .lb-title { flex-basis: 100%; }
}

/* ---------- Round 3 (Daryl's markup, 2026-09-24) ---------- */

/* Header: menu removed, logo 200px wide, CTA pushed right */
.page_header__kVzhN { height: auto; min-height: 72px; padding-top: 12px; padding-bottom: 12px; }
.page_logo__7fc9l img { width: 200px; }
.page_header__kVzhN > .page_glow__1cPD_ { margin-left: auto; }
.page_hero__SKW6o { padding-top: 150px; }
@media (max-width: 760px) {
  .page_logo__7fc9l img { width: 140px; }
  .page_hero__SKW6o { padding-top: 130px; }
}

/* Every red "Start my website" button gets the spinning outline from the closing CTA */
.glow-small { padding: 2px; border-radius: 6px; }
.glow-hero .page_cta__zCVvt { font-size: inherit; padding: 18px 28px; }

/* Footer logo */
.page_footer__sHKi3 img { width: 160px; height: auto; }

/* Steps: card 3 sentence fits on one line */
.page_cardText__jskeK p { max-width: 58ch; }

/* Ticket heading: "What you get", centred */
.page_ticketHead__SD32J { text-align: center; }
.page_ticketHead__SD32J h2 { max-width: none; }

/* Compare section: 200px shorter (100 top, 100 bottom) */
.page_statement__MGVcc { height: calc(220vh - 200px); }

/* Build your order: lede on one line */
.page_orderHead__HOLIA .page_lede__RDnn4 { max-width: none; }

/* Plan cards: visible choose button */
.plan-choose {
  justify-self: start; margin-top: 8px; padding: 10px 18px; border-radius: 999px;
  border: 2px solid var(--paper); font-size: 15px; font-weight: 750; color: var(--paper);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.page_planOpt__IDtnk:hover .plan-choose { background: oklch(1 0 0 / .08); }
.page_planOpt__IDtnk[data-checked=true] .plan-choose { background: var(--red); border-color: var(--red); color: var(--on-red); }
.page_header__kVzhN .page_ctaSmall___q0oq { white-space: nowrap; }
@media (max-width: 420px) {
  .page_logo__7fc9l img { width: 120px; }
  .page_header__kVzhN .page_ctaSmall___q0oq { padding: 12px 16px; font-size: 15px; }
}

/* ---------- Round 4 (markup files 14:46 + 15:05) ---------- */

/* Clock: stages change about 40% sooner while scrolling (was 440vh / 420vh) */
.page_clock__PRng8 { height: 260vh; }
@media (max-width: 900px) { .page_clock__PRng8 { height: 250vh; } }

/* Clock: bigger stage tag, it is the visible cue that the stage changed */
.page_stateLabel__aBroY { font-size: 17px; padding: 8px 14px; border-radius: 4px; }

/* Promise footnote: much smaller, one sentence per line */
.page_promiseNote__og_0g { font-size: 14px; max-width: none; line-height: 1.6; }

/* ---------- Samples page (samples.html, generated) ---------- */
.samples-page { border-radius: 0; box-shadow: none; }
.gal-page { padding-top: clamp(170px, 16vw, 220px); }
.gal-page h1 { margin: 0; }
.gal-more { margin: clamp(32px, 4vw, 48px) 0 0; }

/* Order builder: the checkout button is now a live link to the start form */
.page_checkout__tg8Ix.order-start {
  display: block; text-align: center; text-decoration: none;
  background: var(--red); color: var(--on-red); cursor: pointer; opacity: 1;
  transition: background-color .2s var(--ease), translate .2s var(--ease);
}
.page_checkout__tg8Ix.order-start:hover { background: var(--red-deep); translate: 0 -2px; }

/* ---------- Process step 2: upload tiles ---------- */
/* The img width/height attributes (240) beat aspect-ratio, so tiles rendered
   tall and clipped on phones. Size from the grid column and keep them square. */
.page_uploads__uqv7j img { display: block; width: 100%; height: auto; }

/* ---------- Footer legal links ---------- */
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; }
.page_footer__sHKi3 .legal-links a { color: var(--muted); }
.page_footer__sHKi3 .legal-links a:hover { color: var(--paper); }

/* ---------- Legal pages (terms, privacy, refunds; generated) ---------- */
.legal-page { border-radius: 0; box-shadow: none; padding-top: clamp(150px, 14vw, 200px); }
.legal {
  max-width: 760px; margin: 0 auto; padding: clamp(28px, 5vw, 56px);
  margin-bottom: clamp(56px, 8vw, 96px);
  background: var(--paper); color: var(--ink); border-radius: 16px;
  box-shadow: 0 20px 60px oklch(0 0 0 / .35);
  font-size: 17px; line-height: 1.6;
  --muted: oklch(0.46 0.035 250);
}
@media (max-width: 800px) { .legal { margin-left: var(--gutter); margin-right: var(--gutter); } }
.legal h1 { margin: 0; font-size: clamp(32px, 4.4vw, 52px); font-stretch: 110%; font-weight: 820; line-height: 1.05; letter-spacing: -.015em; }
.legal-updated { margin: 10px 0 28px; color: var(--muted); font-size: 15px; }
.legal h2 { margin: 34px 0 8px; font-size: 22px; font-stretch: 110%; font-weight: 800; line-height: 1.2; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--red); text-underline-offset: 3px; }
.legal a:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 2px; border-radius: 2px; }
