/* PhotoRush flagship home page (lab mock, 2026-11-21).
   White, #111 and greys. Brand purple only on the PhotoRush mark and the price card. No colour ramps of any kind.
   Poppins 700 and 800 for display, the system font for everything else. Phone first: 390, then 1440. */

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/poppins-700.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/poppins-800.woff2') format('woff2'); }

:root {
  color-scheme: light;
  --ink: #111111;
  --paper: #FFFFFF;
  --fill: #F0F0F0;      /* an empty frame */
  --line: #DADADA;      /* quiet hairlines */
  --mute: #5E5E5E;      /* second voice, 6.5 to 1 on white */
  --brand: #683D91;
  --gold: #EFC061;

  --display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --vh: 1vh;
  --m: 16px;            /* page margin */
  --gap: 8px;           /* between frames */
  --r: 4px;             /* frames and the price card: prints, not app cards */
  --dock: 73px;         /* the pinned Book now and Call bar */
  /* one hero frame, 2 by 3. Sized so the first screen of a phone ends cleanly above the pinned bar:
     the words end above it on a short screen (390 by 664), the whole price card on a tall one (390 by 844). */
  --fw: min(60vw, calc(43 * var(--vh) * 2 / 3));
  --sw: 78vw;           /* one shoot frame, 3 by 2 */

  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --curtain: cubic-bezier(0.76, 0, 0.24, 1);
}
@supports (height: 1svh) { :root { --vh: 1svh; } }
/* phones: the price card either clears the pinned bar or sits fully under it, never half cut */
@media (max-width: 639px) and (min-height: 726px) { :root { --fw: min(60vw, calc((100 * var(--vh) - 480px) * 2 / 3)); } }
@media (max-width: 639px) and (max-height: 725px) { :root { --fw: min(60vw, calc((100 * var(--vh) - 374px) * 2 / 3)); } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-bottom: calc(var(--dock) + 24px); }
body {
  margin: 0;
  padding-bottom: calc(var(--dock) + env(safe-area-inset-bottom, 0px));
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3 { margin: 0; font-family: var(--display); text-wrap: balance; }
p, ul, ol, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.nw { white-space: nowrap; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ink); color: var(--paper); }

.skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 16px; background: var(--ink); color: var(--paper); border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 16px; }

/* ---------- top bar ---------- */
.top { display: flex; align-items: center; justify-content: space-between; height: 52px; padding: 0 var(--m); }
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; text-decoration: none; }
.brand .mark { width: 34px; height: auto; }
.brand .wordmark { width: 132px; height: auto; }
.top-actions { display: none; }

/* ---------- the two actions ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 22px;
  font: 600 1.0625rem/1 var(--body); text-decoration: none; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, transform .25s var(--out);
}
.btn:active { transform: scale(0.98); }
.btn-book { background: var(--ink); color: var(--paper); border-radius: 12px; }
.btn-book:hover { background: #000; }
.btn-call { background: var(--paper); color: var(--ink); border: 1.5px solid #CFCFCF; border-radius: 999px; }
.btn-call:hover { border-color: var(--ink); }
.cta { display: none; }

/* ---------- hero: on a phone the photos come first, then the heading, the words, the price card ---------- */
.hero { display: flex; flex-direction: column; padding: 4px var(--m) 0; }
.hero > .reel { order: 1; margin: 0 calc(var(--m) * -1); }
.hero > h1 { order: 2; }
.hero > .band { display: contents; }
.hero .lede { order: 3; }
.hero .price--flow { order: 4; }

h1 { margin-top: 14px; margin-left: -0.035em; font-weight: 800; font-size: clamp(2.5rem, 13.2vw, 4.75rem); line-height: 0.95; letter-spacing: -0.045em; }
h1 .line { display: block; overflow: hidden; padding: 0.08em 0 0.17em; margin: -0.08em 0 -0.17em; }
h1 .line > span { display: block; }
.lede { margin-top: 12px; max-width: 34em; font-size: 1.0625rem; line-height: 1.45; }

/* ---------- the shutter row ---------- */
.reel { position: relative; }
.reel-stage { position: relative; }
.reel-row { display: flex; gap: var(--gap); padding: 0 var(--m); overflow-x: auto; scrollbar-width: none; }
.reel-row::-webkit-scrollbar { display: none; }
.frame { position: relative; flex: 0 0 var(--fw); aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--r); background: var(--fill); }
.frame > img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }

/* the moving strip: main.js adds .drift, lays three copies of the set side by side and slides the row with one transform */
.drift .reel-stage { overflow: hidden; }
.drift .reel-row { width: max-content; padding: 0; overflow: visible; will-change: transform; }

/* one calm button over the strip: a tap pauses or resumes, a long press holds, the keyboard reaches it too */
.reel-hold { position: absolute; top: 0; left: 0; z-index: 3; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.reel-hold:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; border-radius: 0; box-shadow: inset 0 0 0 6px var(--paper); }
html:not(.js) .reel-hold { display: none; }
html:not(.js) .reel { padding-bottom: 22px; }

/* ---------- the price card ---------- */
.price { background: var(--brand); color: #FFFFFF; border-radius: var(--r); }
.price strong { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; color: var(--gold); }
.price--flow { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; row-gap: 3px; margin-top: 18px; padding: 15px 18px 17px; }
.price--flow strong { grid-column: 1; font-size: min(calc((100vw - 124px) / 7.9), 2.25rem); line-height: 1.08; white-space: nowrap; }
.price--flow span { grid-column: 1; font-size: 1rem; }
.price--flow .price-mark { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: auto; }

/* ---------- sections ---------- */
h2 { font-weight: 800; font-size: clamp(2.125rem, 9.6vw, 5.5rem); line-height: 0.98; letter-spacing: -0.04em; }
.shoots, .how { padding-top: 88px; }
.shoots h2, .how h2 { margin: 0 var(--m) 26px calc(var(--m) - 0.03em); }

/* photos from our shoots: two rows of same size frames. Scripts off or reduced motion: rows you can swipe.
   Otherwise main.js adds .wind and the scroll slides the rows in opposite directions. */
.strip { overflow-x: auto; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip + .strip { margin-top: var(--gap); }
.strip ul { display: flex; gap: var(--gap); width: max-content; padding: 0 var(--m); }
.strip li { flex: 0 0 var(--sw); aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r); background: var(--fill); }
.strip img { width: 100%; height: 100%; object-fit: cover; }
.wind .strip { overflow: hidden; }
.wind .strip ul { will-change: transform; }

/* how it works: three sentences on hairlines */
.steps { margin: 0 var(--m); }
.steps li { position: relative; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); padding: 22px 0 28px; }
.steps li::before, .steps li:last-child::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform-origin: 0 50%; }
.steps li:last-child::after { top: auto; bottom: 0; }
.steps .n { font: 700 1.625rem/1.12 var(--display); letter-spacing: -0.03em; color: #6B6B6B; }
.steps h3 { font-weight: 700; font-size: 1.625rem; line-height: 1.12; letter-spacing: -0.03em; }
.steps p { grid-column: 2; margin-top: 8px; max-width: 30em; color: var(--mute); }
.steps.lines li::before, .steps.lines li:last-child::after { transform: scaleX(0); transition: transform 1200ms var(--out); }
.steps.lines li.in::before, .steps.lines li.in:last-child::after { transform: none; }

/* book your photographer */
.close { padding: 112px var(--m) 48px; }
.close h2 { margin-left: -0.035em; font-size: clamp(2.5rem, 12.6vw, 9.75rem); line-height: 0.93; letter-spacing: -0.045em; }
.close p { margin-top: 22px; max-width: 24em; font-size: 1.125rem; }

/* ---------- footer ---------- */
.foot { padding: 32px var(--m) 28px; border-top: 1px solid var(--line); color: var(--mute); font-size: 0.9375rem; }
.foot-grid { display: grid; gap: 18px; }
.foot .sonset { width: 84px; height: auto; }
.foot address { font-style: normal; line-height: 1.55; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 22px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-wordmark { width: 100%; height: auto; margin-top: 36px; }

/* ---------- phone: Book now and Call never leave the screen ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; gap: 8px; padding: 10px var(--m) calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--paper); border-top: 1px solid var(--line);
}
.dock .btn { min-height: 52px; padding: 0 16px; font-size: 1rem; }
.dock .btn-book { flex: 1 1 auto; }

/* ---------- first paint: the row is shut and the heading is below its line, then both open once.
   The states live under .pre, which the page sets in its head; main.js swaps it for .ready.
   If main.js never arrives, the timer below opens everything after 3 s, so the hero can never stay blank. ---------- */
@media (prefers-reduced-motion: no-preference) {
  .pre .reel-stage { clip-path: inset(0 0 100% 0); animation: open-anyway 1ms 3s forwards; }
  .pre h1 .line > span { transform: translateY(110%); animation: open-anyway 1ms 3s forwards; }
  .ready .reel-stage { clip-path: inset(0 0 0 0); transition: clip-path 1000ms var(--curtain); }
  .ready h1 .line > span { transition: transform 1100ms var(--out); }
  .ready h1 .line + .line > span { transition-delay: 90ms; }
}
@keyframes open-anyway { to { clip-path: inset(0 0 0 0); transform: none; } }

/* ---------- tablet ---------- */
@media (min-width: 640px) {
  :root { --m: 28px; --gap: 10px; --fw: min(38vw, calc(46 * var(--vh) * 2 / 3)); --sw: 56vw; }
  .top { height: 56px; }
  h1 { font-size: clamp(4rem, 11.4vw, 6.5rem); }
  .lede { margin-top: 14px; font-size: 1.1875rem; }
  .price--flow { max-width: 30rem; margin-top: 22px; padding: 18px 20px 20px; }
  .price--flow strong { font-size: 2.25rem; }
  .steps li { grid-template-columns: 3rem minmax(0, 1fr); }
}

/* ---------- wide screens: the heading on one line, the row under it, the price card as one of the frames ---------- */
@media (min-width: 900px) {
  :root { --m: clamp(32px, 3.4vw, 64px); --gap: 12px; --fw: min(22vw, calc(54 * var(--vh) * 2 / 3)); --sw: min(42vw, 720px); }
  html { scroll-padding-top: 96px; scroll-padding-bottom: 24px; }
  body { padding-bottom: 0; }
  .dock { display: none; }
  .cta .btn-call { order: -1; }

  .top { position: sticky; top: 0; z-index: 40; height: 76px; background: var(--paper); }
  .brand .mark { width: 42px; }
  .brand .wordmark { width: 164px; }
  .top-actions { display: flex; align-items: center; gap: 10px; }
  .top-actions .btn { min-height: 46px; padding: 0 20px; font-size: 1rem; }
  /* main.js adds .tuck: the two actions wait out of sight while the hero buttons are on screen, then slide in */
  .top.tuck .top-actions { opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s ease, transform .5s var(--out), visibility 0s linear .25s; }
  .top.tuck.has-actions .top-actions { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .5s var(--out), visibility 0s; }

  .hero { padding-top: 14px; }
  .hero > h1, .hero > .reel, .hero > .band { order: 0; }
  .hero > h1 { margin-top: 0; font-size: min(7.8vw, calc(15 * var(--vh))); white-space: nowrap; }
  h1 .line { display: inline-block; vertical-align: top; }
  .hero > .reel { margin-top: clamp(40px, 3.2vw, 56px); }
  /* one calm band under the strip: the words, the price card, the two actions, all centred on one line */
  .hero > .band { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: clamp(24px, 3vw, 56px); margin-top: 28px; }
  .band > .lede, .band > .price--flow { order: 0; }
  .band > .lede { margin-top: 0; max-width: 21em; font-size: clamp(1.0625rem, 1.3vw, 1.3125rem); line-height: 1.4; }
  .band > .price--flow { display: grid; max-width: none; margin-top: 0; padding: 16px 20px 18px; }
  .price--flow strong { font-size: 2.125rem; }
  .cta { display: flex; gap: 12px; }
  .cta .btn { min-height: 56px; padding: 0 26px; font-size: 1.0625rem; }
  .cta--hero { justify-self: end; flex-wrap: nowrap; }

  .shoots, .how { padding-top: 176px; }
  .shoots h2, .how h2 { margin-bottom: 44px; }

  .steps li { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding: 34px 0 42px; }
  .steps .n { grid-column: 1; font-size: clamp(2rem, 3.2vw, 3rem); }
  .steps h3 { grid-column: 2 / span 6; font-size: clamp(2rem, 3.2vw, 3rem); }
  .steps p { grid-column: 8 / -1; margin-top: 0; font-size: clamp(1.125rem, 1.45vw, 1.375rem); line-height: 1.4; }

  .close { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; padding: 192px var(--m) 144px; }
  .close h2 { grid-column: 1 / -1; font-size: min(10.4vw, 9.75rem); }
  .close p { grid-column: 1 / span 6; margin-top: clamp(56px, 4.6vw, 72px); font-size: clamp(1.25rem, 1.55vw, 1.5rem); line-height: 1.38; }
  .cta--close { grid-column: 8 / -1; justify-self: end; }

  .foot { padding: 44px var(--m) 40px; }
  .foot-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .foot .sonset { grid-column: 1 / span 3; width: 96px; }
  .foot address { grid-column: 5 / span 3; }
  .foot-links { grid-column: 8 / -1; justify-content: flex-end; margin-top: -11px; }
  .foot-wordmark { margin-top: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reel-hold { display: none; }
  .reel { padding-bottom: 22px; }
}

/* Short phones (2026-11-22): the price card starts fully below the pinned bar instead of showing a 1px purple edge above it. */
@media (max-width: 639px) and (max-height: 730px) { .price--flow { position: relative; top: 12px; margin-bottom: 12px; } }
