/* ==========================================================================
   Vimento: the order flow (Elaya design, 2026-10-27). Loaded ONLY on the flow's pages, after site.css
   (includes/site-header.php $pageFlow: try.php, order.php, the extras step, thanks.php); every rule sits under
   body.flow, so no other page changes. Its design system is the winning ready view
   (work/ready-redesign-20261026/elaya): landing-page-design Part B.
     one typeface      Atkinson Hyperlegible Next (Playfair only inside the wordmark, which is an SVG)
     type steps        Tailwind: 12/16 14/20 16/24 18/28 20/28 24/32 30/36 36/40 48/48 60/60
     spacing           0 2 4 8 12 16 24 32 40 48 64 80 96
     radii             Tailwind: 8 12 16 9999; nested = outer minus gap
     backgrounds       flat; the one gradient is the hero heading's text
     motion            cubic-bezier(0.22, 1, 0.36, 1); transform and opacity only; reduced motion = opacity
   Base rules use :where(.flow) so they weigh no more than site.css's element rules and never beat its components'
   own classes (dialogs, toasts, the crop dialog); components we re-skin are named with .flow in front.
   ========================================================================== */

.flow {
    --ink: #1a1815;
    --cream: #faf9f6;
    --paper: #f2ede4;
    --paper-edge: #e4ddd0;
    --edge: #e4ddd0;
    --grey: #5c5650;
    --gold: #c5973e;
    --gold-hover: #b88a33;
    --gold-text: #7f5c1c;
    --night: #131209;
    --ok: #2f6b3f;
    --base: cubic-bezier(0.22, 1, 0.36, 1);
    --e: cubic-bezier(0.16, 1, 0.3, 1);
    --e2: cubic-bezier(0.33, 1, 0.68, 1);
    --serif: "Atkinson Hyperlegible Next", system-ui, sans-serif;   /* one typeface: site.css's serif headings read sans here */
    --sans: "Atkinson Hyperlegible Next", system-ui, sans-serif;
    font-size: 16px; line-height: 24px;
}
html:has(body.flow) { scroll-padding-top: 80px; }
:where(.flow) :is(h1, h2, h3, h4) { font-family: var(--sans); font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
:where(.flow) p { text-wrap: pretty; }
:where(.flow) a { text-underline-offset: 3px; }
.flow :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.flow .skip-link { border-radius: 8px; font-size: 14px; line-height: 20px; }
.f-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- icons (hand drawn in the Phosphor style; no icon font, no CDN) ---------- */
.f-i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; display: block; }
svg.f-i[viewBox="0 0 256 256"] { stroke-width: 16; }
.f-i--lg { width: 32px; height: 32px; }

/* ---------- floating nav (B7) and the Order pill ---------- */
.f-nav { position: fixed; top: 8px; left: 50%; z-index: 30; transform: translateX(-50%); display: flex; align-items: center;
    padding: 4px 24px; border-radius: 9999px; border: 1px solid rgba(26, 24, 21, 0.08);
    background: rgba(250, 249, 246, 0.72); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
.f-nav__mark { display: flex; align-items: center; min-height: 40px; color: var(--ink); text-decoration: none; }
.f-nav__mark svg { height: 20px; width: auto; }
.f-pill { position: fixed; top: 8px; right: 8px; z-index: 31; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 8px 16px;
    border: 1px solid transparent; border-radius: 9999px; background: var(--gold); color: var(--ink); font: 600 14px/20px var(--sans); text-decoration: none; cursor: pointer;
    transition: opacity 300ms var(--base), transform 500ms var(--base), background-color 300ms var(--base); }
.f-pill:hover { background: var(--gold-hover); }
.f-pill:active { transform: scale(0.98); }
.f-pill--quiet { background: rgba(250, 249, 246, 0.72); border-color: rgba(26, 24, 21, 0.12); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.f-pill--quiet:hover { background: #fff; }
.f-pill[data-sticky-order] { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.f-pill[data-sticky-order].is-on { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 399px) { .f-pill__price { display: none; } .f-nav { padding-inline: 16px; } }   /* clears the centred wordmark on a 360 px phone */

/* ---------- buttons ---------- */
.flow .btn { --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bd: var(--ink);
    gap: 8px; min-height: 48px; padding: 12px 24px; border-width: 1px; border-radius: 9999px;
    font: 600 16px/24px var(--sans); letter-spacing: 0; box-shadow: none;
    transition: background-color 300ms var(--base), border-color 300ms var(--base), transform 300ms var(--base); }
.flow .btn:hover { transform: translateY(-1px); }
.flow .btn:active { transform: scale(0.98); }
.flow .btn:disabled, .flow .btn[aria-disabled="true"] { transform: none; }
.flow .btn-lg { min-height: 48px; padding: 12px 24px; font-size: 16px; line-height: 24px; border-radius: 9999px; }
.flow .btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; line-height: 20px; border-radius: 9999px; }
.flow .btn-primary { --btn-bg: var(--gold); --btn-fg: var(--ink); --btn-bd: var(--gold); }
.flow .btn-primary:hover { --btn-bg: var(--gold-hover); --btn-bd: var(--gold-hover); }
.flow .btn-quiet, .flow .btn-secondary { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: var(--edge); }
.flow .btn-quiet:hover, .flow .btn-secondary:hover { --btn-bg: #fff; --btn-bd: var(--ink); }
.flow .btn-free { --btn-bg: var(--ink); --btn-fg: var(--cream); --btn-bd: var(--ink); box-shadow: none; }
.flow .btn-free:hover { --btn-bg: #34302b; --btn-bd: #34302b; }
.flow .free-tag { padding: 2px 8px; border-radius: 9999px; font: 700 12px/16px var(--sans); letter-spacing: 0.06em; }
.flow .link-button { font: 600 16px/24px var(--sans); text-underline-offset: 3px; min-height: 44px; }

/* ---------- forms, notices ---------- */
.flow .field { margin-bottom: 16px; }
.flow .field label, .flow .form-group label { font-weight: 600; margin-bottom: 8px; font-size: 16px; line-height: 24px; }
.flow .field input[type="text"], .flow .field input[type="email"], .flow .field input[type="tel"], .flow .form-input, .flow .input {
    min-height: 48px; padding: 12px 16px; border: 1px solid var(--edge); border-radius: 12px; background: #fff; font: 400 16px/24px var(--sans); color: var(--ink);
    transition: border-color 300ms var(--base), box-shadow 300ms var(--base); }
.flow .field input:focus, .flow .form-input:focus, .flow .input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(197, 151, 62, 0.35); }
.flow .field .try-sms__box { font-weight: 400; }
.flow .check { font-size: 16px; line-height: 24px; min-height: 44px; }
.flow .check input { width: 20px; height: 20px; }
.flow .alert { margin: 16px 0; padding: 12px 16px; border-width: 1px; border-radius: 12px; font-size: 16px; line-height: 24px; font-weight: 600; }
.flow .badge { border-radius: 9999px; font-size: 12px; line-height: 16px; padding: 4px 8px; }

/* the bonus strip (includes/offer.php): a line, not a box */
.flow .offer-strip { margin: 12px 0 0; padding: 0; border: 0; border-radius: 0; background: none; font-size: 14px; line-height: 20px; font-weight: 600; text-wrap: balance; }
.flow .offer-strip--waiting { min-height: 20px; }
.flow .offer-strip__big { color: var(--gold-text); font-weight: 700; }
.flow .offer-strip__count { color: var(--grey); }
.flow .offer-strip--benefit .offer-strip__plain, .flow .offer-strip--benefit [data-bonus-ends] { color: var(--grey); font-weight: 400; }

/* the exit dialogs (assets/offers.js) and the crop dialog (assets/js/photo-prep.js) in this look */
.flow .offer-overlay { background: rgba(19, 18, 9, 0.56); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.flow .offer-dialog { border-top: 0; border-radius: 16px; padding: 32px 24px 24px; font-size: 16px; line-height: 24px; box-shadow: 0 24px 64px rgba(19, 18, 9, 0.32); }
.flow .offer-dialog h2 { font-size: 24px; line-height: 32px; }
.flow .offer-dialog--free { padding: 24px 24px 16px; }
.flow .offer-dialog--free .offer-sample { border-radius: 8px; overflow: hidden; }
.flow .offer-dialog--free h2 { font-size: 24px; line-height: 32px; }
.flow .offer-dialog--free .offer-line { font-size: 16px; line-height: 24px; }
.flow .offer-dialog--free .btn-free { min-height: 48px; font-size: 16px; }
.flow .offer-close { border-radius: 9999px; }
.flow .vcrop__panel { border-radius: 16px; }
.flow .vcrop__title { font-size: 24px; line-height: 32px; }
.flow .vcrop__text { font-size: 16px; line-height: 24px; }

/* the phone bar (order page, extras): the price and one button */
@media (max-width: 55.99rem) {
    .flow .buybar { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(26, 24, 21, 0.08);
        background: rgba(250, 249, 246, 0.88); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); box-shadow: none; }
    .flow .buybar__text strong { font: 700 20px/28px var(--sans); }
    .flow .buybar__text span { font-size: 14px; line-height: 20px; }
    .flow .buybar .btn { min-width: 160px; }
    .flow.has-buybar .f-foot, .flow.has-buybar .site-footer { padding-bottom: 96px; }
}

/* ---------- page frame ---------- */
.f-main { padding-top: 64px; }
.nav-app .f-main { padding-top: 24px; }
.f-wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.f-col { max-width: 560px; margin: 0 auto; padding: 0 16px; }

/* ---------- the stage: one clip, flat or on the frame (assets/js/flow-stage.js) ----------
   Box height = 0.768 x width (the 4:3 poster shown 118% wide with its empty air trimmed). */
.f-stage { position: relative; width: 100%; aspect-ratio: 1000 / 768; overflow: hidden; }
.f-stage__posters { position: absolute; inset: 0; opacity: var(--frame, 0);
    -webkit-mask-image: linear-gradient(#000 86%, transparent 99%); mask-image: linear-gradient(#000 86%, transparent 99%); }
.f-stage[data-view="frame"]:not(.is-placed) .f-stage__posters { opacity: 1; }
.f-stage__poster { position: absolute; left: -9%; top: 0; width: 118%; max-width: none; height: auto; margin-top: -5.4%; opacity: 0; transition: opacity 500ms var(--base); }
.f-stage__poster.is-on { opacity: 1; }
.f-stage__screen { position: absolute; left: 0; top: 0; width: 640px; height: 400px; transform-origin: 0 0; }
/* before the script places it (or without it): the screen sits flat at the top, scaled to the box */
.f-stage:not(.is-placed) .f-stage__screen { width: 100%; height: auto; aspect-ratio: 16 / 10; }
.f-stage__clip { position: absolute; inset: 0; overflow: hidden; background: #000; }
.f-stage__fill { position: absolute; inset: -32px; width: calc(100% + 64px); max-width: none; height: calc(100% + 64px); object-fit: cover; filter: blur(20px) brightness(0.78) saturate(0.9); }
.f-stage__video, .f-stage__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.f-stage__toggle { position: absolute; right: 8px; bottom: 8px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 8px 12px;
    border: 0; border-radius: 9999px; background: rgba(19, 18, 9, 0.64); color: var(--cream); font: 600 14px/20px var(--sans); cursor: pointer;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color 300ms var(--base), transform 300ms var(--base); }
.f-stage__toggle:hover { background: rgba(19, 18, 9, 0.8); }
.f-stage__toggle:active { transform: scale(0.98); }
.f-stage__toggle .f-i { width: 16px; height: 16px; }
.f-stage[data-view="flat"] .f-i--full, .f-stage[data-view="frame"] .f-i--frame { display: none; }
.f-stage[data-view="flat"] .f-stage__toggle { bottom: auto; top: calc(81.38% + 8px); }   /* just under the flat clip */
.f-stage[data-view="frame"] .f-stage__toggle { width: 40px; height: 40px; padding: 0; }
.f-stage[data-view="frame"] .f-stage__toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- copy ---------- */
.f-eyebrow { margin: 0 0 8px; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--gold-text); }
.f-title { margin: 0; font-size: 30px; line-height: 36px; font-weight: 700; letter-spacing: -0.01em; padding-bottom: 2px;
    background: linear-gradient(90deg, var(--ink), var(--grey)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.f-title > span { display: block; }
.f-sub { max-width: 680px; margin: 8px auto 0; color: var(--grey); text-wrap: balance; }
.f-sub strong { color: var(--ink); }
.f-fine { margin: 8px 0 0; font-size: 14px; line-height: 20px; color: var(--grey); text-wrap: balance; }
.f-fine a { color: inherit; }

/* ---------- hero: stage, then the buy column ---------- */
.f-hero__copy { padding: 16px 16px 0; text-align: center; }
.f-buy { margin: 16px auto 0; max-width: 440px; }
.f-buy > .btn { margin-top: 12px; }
.f-swatches { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 0; padding: 0; border: 0; min-width: 0; }
.f-swatch { position: relative; display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
.f-swatch input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.f-swatch__dot { width: 28px; height: 28px; border-radius: 9999px; box-shadow: inset 0 0 0 1px rgba(26, 24, 21, 0.16); transition: box-shadow 300ms var(--base), transform 300ms var(--base); }
.f-swatch:hover .f-swatch__dot { transform: scale(1.06); }
.f-swatch input:checked + .f-swatch__dot { box-shadow: inset 0 0 0 1px rgba(26, 24, 21, 0.16), 0 0 0 2px var(--cream), 0 0 0 4px var(--ink); }
.f-swatch input:focus-visible + .f-swatch__dot { outline: 2px solid var(--ink); outline-offset: 6px; }
.f-swatch__dot--charcoal { background: #3b3c40; }
.f-swatch__dot--white { background: #ebe8e2; }
.f-swatch__dot--olive { background: #6b6142; }
.f-swatches__name { margin-left: 8px; min-width: 88px; text-align: left; font-size: 14px; line-height: 20px; font-weight: 600; }

/* "Show the family" */
.f-share { margin-top: 8px; text-align: center; }
.f-share__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 9999px; background: transparent;
    color: var(--ink); font: 600 16px/24px var(--sans); cursor: pointer; transition: background-color 300ms var(--base), transform 300ms var(--base); }
.f-share__btn:hover { background: rgba(26, 24, 21, 0.06); }
.f-share__btn:active { transform: scale(0.98); }
.f-share__box { max-width: 440px; margin: 8px auto 0; padding: 16px; border: 1px solid var(--edge); border-radius: 16px; background: #fff; text-align: left; font-size: 14px; line-height: 20px; }
.f-share__box label { display: block; font-weight: 600; margin-bottom: 8px; }
.f-share__box input { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--edge); border-radius: 8px; background: var(--cream); font: 400 16px/24px var(--sans); color: var(--ink); }
.f-share__ways { margin: 8px 0 0; }
.f-share__ways a { font-weight: 600; }

/* ---------- tagline (B11) ---------- */
.f-tagline { margin-top: 48px; padding: 64px 16px; background: var(--night); color: var(--cream); }
.f-tagline__text { max-width: 680px; margin: 0 auto; font-size: 36px; line-height: 40px; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
.f-tagline__text .w { color: rgba(250, 249, 246, 0.3); transition: color 500ms var(--base); }
.f-tagline__text .w.on { color: var(--cream); }
.f-tagline__text u { text-decoration: underline var(--gold) 3px; text-underline-offset: 6px; }

/* ---------- sections ---------- */
.f-section { padding: 64px max(16px, calc((100% - 1120px) / 2)); }
.f-section--paper { background: var(--paper); }
.f-h2 { margin: 0 0 32px; font-size: 24px; line-height: 32px; font-weight: 700; }
.f-benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
.f-benefits .f-i { color: var(--gold-text); margin-bottom: 12px; }
.f-benefits h3 { margin: 0; font-size: 18px; line-height: 28px; }
.f-benefits p { margin: 4px 0 0; color: var(--grey); }
.f-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.f-steps li { display: grid; grid-template-columns: 32px 1fr; column-gap: 16px; }
.f-steps__n { grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9999px; background: var(--ink); color: var(--cream); font-size: 14px; line-height: 20px; font-weight: 700; }
.f-steps h3 { margin: 2px 0 0; font-size: 18px; line-height: 28px; }
.f-steps p { margin: 0; color: var(--grey); }

/* questions, and the order page's closed rows */
.f-faq { display: grid; gap: 8px; max-width: 760px; }
.f-faq details { border: 1px solid var(--edge); border-radius: 12px; background: #fff; }
.f-faq summary { position: relative; list-style: none; padding: 12px 48px 12px 16px; min-height: 48px; font-weight: 600; cursor: pointer; border-radius: 12px;
    transition: background-color 300ms var(--base); }
.f-faq summary::-webkit-details-marker { display: none; }
.f-faq summary::after { content: ""; position: absolute; right: 16px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 500ms var(--base); }
.f-faq details[open] summary::after { transform: translateY(4px) rotate(225deg); }
.f-faq summary:hover { background: rgba(26, 24, 21, 0.03); }
.f-faq__a { padding: 0 16px 16px; color: var(--grey); }
.f-faq__a p { margin: 0 0 8px; }
.f-faq__a p:last-child { margin: 0; }
.f-faq__a strong { color: var(--ink); }
.f-faq__a ul, .f-faq__a ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.f-faq__a li { position: relative; padding-left: 24px; }
.f-faq__a ul li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 10px; height: 6px; border-left: 2px solid var(--gold-text); border-bottom: 2px solid var(--gold-text); transform: rotate(-45deg); }
.f-faq__a ol li { padding-left: 0; display: grid; gap: 2px; }
.f-when { font-weight: 700; color: var(--gold-text); }

/* closing call */
.f-close { padding: 80px 16px; text-align: center; background: var(--paper); }
.f-close__title { max-width: 680px; margin: 0 auto; font-size: 30px; line-height: 36px; }
.f-close__sub { max-width: 560px; margin: 8px auto 0; color: var(--grey); }
.f-close .btn { max-width: 440px; margin: 24px auto 0; }
.f-close .f-fine { max-width: 440px; margin-inline: auto; }

/* ---------- footer ---------- */
.f-foot { background: var(--night); color: rgba(250, 249, 246, 0.72); }
.f-foot__in { max-width: 1120px; margin: 0 auto; padding: 48px 16px; display: grid; gap: 24px; font-size: 14px; line-height: 20px; }
.f-foot__mark { display: inline-flex; color: var(--cream); text-decoration: none; }
.f-foot__mark svg { height: 24px; width: auto; }
.f-foot__tag { margin: 8px 0 0; }
.f-foot__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.f-foot__links a { color: var(--cream); text-decoration: none; padding: 4px 0; }
.f-foot__links a:hover { text-decoration: underline; }
.f-foot__legal { margin: 0; font-size: 12px; line-height: 16px; }
.f-foot__legal a { display: inline-block; margin-top: 8px; color: rgba(250, 249, 246, 0.72); }

/* ---------- motion: appear on load, reveal on scroll ---------- */
.f-js .flow [data-appear] { opacity: 0; transform: translateY(6px); filter: blur(2px);
    transition: opacity 600ms var(--e2) var(--d, 0ms), transform 800ms var(--e) var(--d, 0ms), filter 600ms var(--e2) var(--d, 0ms); }
.f-js.f-in .flow [data-appear] { opacity: 1; transform: none; filter: none; }
.f-js .flow .f-nav[data-appear] { transform: translate(-50%, -6px); }
.f-js.f-in .flow .f-nav[data-appear] { transform: translateX(-50%); }
.f-js .flow .f-stage--resolve .f-stage__clip { filter: blur(14px) saturate(0.6); opacity: 0; transition: filter 1050ms var(--e2) 120ms, opacity 700ms var(--e2) 120ms; }
.f-js.f-in .flow .f-stage--resolve .f-stage__clip { filter: none; opacity: 1; }
.f-js .flow [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--base), transform 700ms var(--base); }
.f-js .flow [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .f-js .flow [data-appear], .f-js .flow [data-reveal], .f-js .flow .f-stage--resolve .f-stage__clip { transform: none !important; filter: none !important; transition: opacity 300ms var(--base); }
    .f-js .flow .f-nav[data-appear] { transform: translateX(-50%) !important; }
    .f-stage__poster, .f-tagline__text .w { transition: none; }
}

/* ==========================================================================
   The free try (/try.php): one column for every step, the ready view is a whole page of its own
   ========================================================================== */
.f-try__col { max-width: 560px; margin: 0 auto; padding: 0 16px; text-align: center; }
.f-try:not([data-state="ready"]) .f-try__col { padding-bottom: 48px; }
.f-try__head { padding-top: 16px; }
/* the e-mail and code steps: the photo small, so the field and its button stay near the top */
.f-try[data-state="email"] .f-try__frame, .f-try[data-state="code"] .f-try__frame, .f-try[data-state="confirm"] .f-try__frame { max-width: 200px; }
.f-try__head .f-sub { margin-top: 8px; }
.f-try__head strong { color: var(--ink); }
/* the photo on the frame: a smaller stage than the ready view's, so the step's button stays in the first screen */
.f-try__frame { margin: 8px auto 0; max-width: 320px; }
.f-try__frame--small { max-width: 240px; }
.f-try__frame figcaption { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--grey); }
.f-try__empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; width: 100%; border: 0; background: #2b2824; color: var(--cream);
    font: 600 36px/40px var(--sans); cursor: pointer; transition: background-color 300ms var(--base); }
.f-try__empty:hover { background: #34302b; }
.f-try__empty span:last-child { font-size: 30px; line-height: 36px; }
.f-try__empty-plus { display: grid; place-items: center; width: 96px; height: 96px; border: 4px dashed rgba(250, 249, 246, 0.6); border-radius: 9999px; font-size: 60px; line-height: 60px; font-weight: 400; }
/* the wait: a light sweep over their photo (Patrick 10-30: a loading animation over the photo). The old one was 0.22 white and
   on screen for a third of each pass, which read as no animation. */
.f-try__life { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.42) 50%, transparent 70%); background-size: 200% 100%; animation: f-shimmer 2.4s ease-in-out infinite; }
@keyframes f-shimmer { from { background-position: 160% 0; } to { background-position: -60% 0; } }
@media (prefers-reduced-motion: reduce) { .f-try__life { animation: none; background: rgba(255, 255, 255, 0.08); } }

/* the step list is status, never a control (taps on it in replays, 10-29): no gold, no filled badge, no bold; a thin
   track joins the steps; the list takes no taps. Current step = ink label + ink dot; done = a check; next = a pale dot. */
.f-progress { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px 0; margin: 16px 0 0; padding: 0; list-style: none;
    font-size: 14px; line-height: 20px; color: var(--grey); pointer-events: none; cursor: default; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.f-progress li { display: inline-flex; align-items: center; gap: 8px; }
.f-progress li + li::before { content: ""; width: 24px; height: 1px; margin-left: 8px; background: var(--edge); }
.f-progress li.is-done + li::before { background: var(--grey); }
.f-progress__mark { display: grid; place-items: center; flex: none; width: 12px; height: 12px; }
.f-progress__mark::after { content: ""; width: 6px; height: 6px; border-radius: 9999px; background: rgba(92, 86, 80, 0.3); }
.f-progress li.is-done .f-progress__mark::after { width: 8px; height: 4px; margin-top: -2px; border-radius: 0; background: none; border-left: 2px solid var(--grey); border-bottom: 2px solid var(--grey); transform: rotate(-45deg); }
.f-progress li.is-now { color: var(--ink); }
.f-progress li.is-now .f-progress__mark::after { width: 8px; height: 8px; background: var(--ink); box-shadow: 0 0 0 2px rgba(26, 24, 21, 0.12); }

.f-try__alert { text-align: left; }
.f-panel { max-width: 440px; margin: 16px auto 0; text-align: center; }
.f-panel form { text-align: left; }
.f-panel .btn-block { margin-top: 8px; }
.f-hint { margin: 12px 0 0; font-size: 14px; line-height: 20px; color: var(--grey); text-wrap: balance; }
.f-hint--ink { color: var(--ink); font-size: 16px; line-height: 24px; }
.f-or { margin: 8px 0 0; }
.f-sms { margin: 24px 0 0; text-align: left; }   /* the optional text opt-in, on the waiting step since 10-31 */
.f-note.f-note--pick { margin: 12px 0 0; }
.f-panel .try-sms__opt { color: var(--grey); font-weight: 400; }
.f-panel .try-sms__fine { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--grey); }
.f-upload { margin: 8px 0 0; font-size: 14px; line-height: 20px; font-weight: 600; text-align: center; }
.f-code { text-align: center; font: 700 30px/36px var(--sans) !important; letter-spacing: 0.3em; }
.f-status { margin: 0; font-weight: 600; }
.f-bar { height: 8px; margin: 12px 0 0; border-radius: 9999px; background: var(--paper); overflow: hidden; }
.f-bar span { display: block; height: 100%; width: 10%; border-radius: 9999px; background: var(--gold); transition: width 700ms var(--base); }
.f-signout { margin: 24px 0 0; text-align: center; }
.f-signout .link-button { color: var(--grey); font-weight: 400; font-size: 14px; }

/* while you wait: three of our own living photos */
.f-samples { margin-top: 48px; padding: 48px 0; background: var(--paper); }
.f-samples__title { max-width: 560px; margin: 0 auto 24px; padding: 0 16px; font-size: 20px; line-height: 28px; text-align: center; }
.f-samples__row { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px; overflow-x: auto; padding: 0 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.f-samples__row::-webkit-scrollbar { display: none; }
.f-sample { margin: 0; scroll-snap-align: center; }
.f-sample video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; background: #000; }
.f-sample figcaption { margin-top: 8px; font-size: 14px; line-height: 20px; font-weight: 600; text-align: center; }

/* ---------- the ready view ---------- */
.f-ready .f-hero { padding-top: 0; }
.f-ready .f-buy .offer-strip { margin-top: 12px; }
.f-ready__also { margin: 12px 0 0; font-size: 14px; line-height: 20px; color: var(--grey); }

/* ---------- the share view ---------- */
.f-share-page { padding-bottom: 64px; }
.f-share-page .f-try:not([data-state="ready"]) .f-try__col { padding-bottom: 48px; }
.f-try__head { padding-top: 16px; }
/* the e-mail and code steps: the photo small, so the field and its button stay near the top */
.f-try[data-state="email"] .f-try__frame, .f-try[data-state="code"] .f-try__frame, .f-try[data-state="confirm"] .f-try__frame { max-width: 200px; }
.f-share-page .f-stage { max-width: 720px; margin: 16px auto 0; }
.f-share-page .f-panel { margin-top: 16px; }

/* ==========================================================================
   The order page (/order.php)
   ========================================================================== */
.f-order .f-hero__copy { text-align: left; }
.f-order__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.f-order__head .f-title { font-size: 30px; line-height: 36px; }
.f-price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.f-price__now { font-size: 24px; line-height: 32px; font-weight: 700; }
.f-price__note { font-size: 14px; line-height: 20px; color: var(--grey); }
.f-order__lead { margin: 4px 0 0; color: var(--grey); }
.f-order .order-known { margin: 12px 0 0; font-size: 14px; line-height: 20px; }
.f-order form { margin-top: 12px; }
.f-order .f-swatches { justify-content: flex-start; margin-left: -8px; }
@media (max-width: 479px) { .f-order .f-swatches__name { display: none; } }   /* the dots and the count share one row on a phone */
.f-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.f-qty { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.f-qty__label { font-size: 14px; line-height: 20px; font-weight: 600; margin: 0; }
.f-qty .qty__select { min-height: 44px; padding: 8px 12px; border: 1px solid var(--edge); border-radius: 9999px; background: #fff; font: 400 16px/24px var(--sans); }
.f-qty .qty__step { display: inline-flex; align-items: center; border: 1px solid var(--edge); border-radius: 9999px; background: #fff; }
.f-qty .qty__step[hidden] { display: none; }
.f-qty .qty__btn { width: 44px; height: 44px; border: 0; border-radius: 9999px; background: transparent; color: var(--ink); font: 400 20px/28px var(--sans); cursor: pointer; transition: background-color 300ms var(--base); }
.f-qty .qty__btn:hover:not(:disabled) { background: rgba(26, 24, 21, 0.06); }
.f-qty .qty__btn:disabled { color: rgba(26, 24, 21, 0.3); cursor: default; }
.f-qty .qty__n { min-width: 72px; text-align: center; font-weight: 600; }
.f-order .order-both { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--grey); transition: opacity 300ms var(--base); }
.f-order .order-both.is-off { opacity: 0; height: 0; margin: 0; overflow: hidden; }
.f-order .qty__save { color: var(--ok); font-weight: 600; }
.f-order .order-notes p { margin: 8px 0 0; }
.f-order .order-offer { font-size: 14px; line-height: 20px; }
.f-order .order-offer-code { color: var(--ok); }
.f-order .order-buy { margin-top: 12px; }
.f-order .order-after { margin: 8px 0 0; font-size: 14px; line-height: 20px; font-weight: 600; text-align: center; }
.f-order .order-assent { margin: 4px 0 0; font-size: 14px; line-height: 20px; text-align: center; color: var(--grey); }
.f-facts { list-style: none; margin: 16px 0 0; padding: 16px 0 0; border-top: 1px solid var(--edge); display: grid; gap: 8px; font-size: 14px; line-height: 20px; }
.f-facts li { display: flex; gap: 8px; align-items: flex-start; }
.f-facts .f-i { width: 20px; height: 20px; color: var(--gold-text); }
.f-facts a { font-weight: 600; }
.f-order__xmas { margin: 12px 0 0; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--gold-text); }
.f-try-box { margin: 16px 0 0; padding: 16px; border-radius: 16px; background: var(--paper); font-size: 14px; line-height: 20px; }
.f-try-box p { margin: 0; }
.f-try-box .btn { margin-top: 12px; }
.f-try-box .f-fine { margin-top: 8px; }
.f-order__more { padding-top: 48px; }
.f-order__more .f-h2 { margin-bottom: 24px; }

/* ==========================================================================
   The extras step (/order-extras.php)
   ========================================================================== */
.f-xo { padding-bottom: 48px; }
.f-xo__steps { display: flex; justify-content: center; gap: 4px; margin: 16px auto 0; padding: 4px; list-style: none; width: fit-content; max-width: 100%;
    border-radius: 9999px; background: var(--paper); font-size: 14px; line-height: 20px; }
.f-xo__steps li { display: flex; align-items: center; min-height: 32px; padding: 4px 12px; border-radius: 9999px; color: var(--grey); }
.f-xo__steps li.is-done a { color: var(--ink); font-weight: 600; text-decoration: none; }
.f-xo__steps li.is-done a::before { content: ""; display: inline-block; width: 8px; height: 5px; margin: 0 8px 3px 0; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.f-xo__steps li.is-now { background: #fff; color: var(--ink); font-weight: 700; box-shadow: 0 1px 2px rgba(26, 24, 21, 0.08); }
.f-xo__grid { display: grid; gap: 24px; margin-top: 16px; }
.f-xo .offer-strip { margin: 12px 0 0; color: var(--gold-text); }
.f-xo__offer { display: grid; gap: 16px; margin-top: 16px; padding: 16px; border: 1px solid var(--edge); border-radius: 16px; background: #fff; }
.f-xo__offer h3 { margin: 0; font-size: 18px; line-height: 28px; }
.f-xo__offer p { margin: 4px 0 0; color: var(--grey); }
.f-xo__main > .f-xo__offer:first-child { margin-top: 0; }
.f-xo__offer .visually-hidden + .f-pick { margin-top: 0; }
.f-pick { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 16px; min-height: 64px;
    border: 1px solid var(--edge); border-radius: 12px; background: var(--cream); cursor: pointer; transition: border-color 300ms var(--base), background-color 300ms var(--base); }
.f-pick:hover { border-color: var(--ink); }
.f-pick:has(input:checked) { border-color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.f-pick input { width: 20px; height: 20px; margin: 0; accent-color: var(--ink); }
.f-pick__text { display: grid; font-size: 14px; line-height: 20px; color: var(--grey); }
.f-pick__text strong { font-size: 16px; line-height: 24px; color: var(--ink); }
.f-pick__price { font-weight: 700; text-align: right; display: grid; }
.f-pick__price span { font-size: 12px; line-height: 16px; font-weight: 400; color: var(--grey); }
.f-pick__best { position: absolute; top: -10px; right: 12px; padding: 2px 8px; border-radius: 9999px; background: var(--gold); color: var(--ink); font: 700 12px/16px var(--sans); font-style: normal; }
.f-xo__plans { margin: 0; padding: 0; border: 0; min-width: 0; }
.f-xo .plan-terms { margin: 12px 0 0; font-size: 14px; line-height: 20px; color: var(--ink); }
.f-xo__note { margin: 12px 0 0; font-size: 14px; line-height: 20px; color: var(--grey); }
.f-sum { padding: 24px 16px; border-radius: 16px; background: var(--paper); }
.f-sum__title { margin: 0 0 12px; font-size: 20px; line-height: 28px; }
.f-sum__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; line-height: 20px; }
.f-sum__lines li { display: flex; justify-content: space-between; gap: 12px; }
.f-sum__lines li[hidden] { display: none; }
.f-sum__total { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--edge); font-weight: 600; }
.f-sum__total strong { font-size: 24px; line-height: 32px; }
.f-sum__then { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--grey); }
.f-sum .btn { margin-top: 16px; }
.f-sum .order-assent { margin: 8px 0 0; font-size: 14px; line-height: 20px; color: var(--grey); text-align: center; }
.f-sum__small { margin: 8px 0 0; font-size: 14px; line-height: 20px; color: var(--grey); text-align: center; }
.f-sum__lock { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; font-size: 14px; line-height: 20px; color: var(--grey); }
.f-sum__lock .f-i { width: 16px; height: 16px; }

/* ==========================================================================
   Thanks (/thanks.php)
   ========================================================================== */
.f-thanks { max-width: 640px; margin: 0 auto; padding: 0 16px 64px; }
.f-thanks__check { display: grid; place-items: center; width: 48px; height: 48px; margin: 16px auto 0; border-radius: 9999px; background: var(--ink); color: var(--cream); }
.f-thanks__check .f-i { width: 24px; height: 24px; }
.f-thanks__head { text-align: center; }
.f-thanks__head .f-title { margin-top: 16px; }
.f-thanks__head .f-sub { margin-top: 8px; }
.f-thanks__mail { margin: 8px 0 0; font-size: 14px; line-height: 20px; color: var(--grey); text-align: center; }
.f-thanks__mail strong { color: var(--ink); }
.f-onb { margin-top: 32px; padding: 24px 16px; border: 1px solid var(--edge); border-radius: 16px; background: #fff; }
.f-onb__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.f-onb__head h2 { margin: 0; font-size: 20px; line-height: 28px; }
.f-onb__count { margin: 0; font-size: 14px; line-height: 20px; color: var(--grey); }
.f-onb__bar { height: 8px; margin: 12px 0 0; border-radius: 9999px; background: var(--paper); overflow: hidden; }
.f-onb__bar span { display: block; height: 100%; border-radius: 9999px; background: var(--gold); }
.f-onb__steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.f-onb__step { padding: 12px; border-radius: 12px; background: var(--cream); }
.f-onb__step.is-now { padding: 16px; background: var(--paper); }
.f-onb__step.is-done .f-onb__step-head h3 { color: var(--grey); }
.f-onb__step-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.f-onb__step-head h3 { margin: 0; font-size: 16px; line-height: 24px; }
.f-onb__step.is-now .f-onb__step-head h3 { font-size: 18px; line-height: 28px; }
.f-onb__step p { margin: 8px 0 0; }
.f-onb__step .thanks-muted, .f-thanks .thanks-muted { color: var(--grey); font-size: 14px; line-height: 20px; }
.f-onb__step .btn { margin-top: 12px; }
.f-onb__step .field { margin: 12px 0 0; }
.f-onb__step .onb-skip { margin: 0; }
.f-onb__step .onb-skip .btn { margin-top: 8px; }
.f-onb__done { margin: 16px 0 0; }
.f-onb .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.f-thanks .plan-line { margin: 24px 0 0; font-size: 14px; line-height: 20px; }
.f-thanks .offer-second { margin-top: 24px; padding: 24px 16px; border: 1px solid var(--edge); border-radius: 16px; background: var(--paper); }
.f-thanks .offer-second h2 { margin: 0; font-size: 20px; line-height: 28px; }
.f-thanks .offer-second p { margin: 8px 0 0; color: var(--grey); }
.f-thanks .offer-second .btn { margin-top: 12px; }
.f-thanks-order { margin-top: 24px; border: 1px solid var(--edge); border-radius: 12px; background: #fff; }
.f-thanks-order summary { position: relative; list-style: none; padding: 12px 48px 12px 16px; min-height: 48px; font-weight: 600; cursor: pointer; border-radius: 12px; }
.f-thanks-order summary::-webkit-details-marker { display: none; }
.f-thanks-order summary::after { content: ""; position: absolute; right: 16px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform 500ms var(--base); }
.f-thanks-order[open] summary::after { transform: translateY(4px) rotate(225deg); }
.f-thanks-order dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0; padding: 0 16px 8px; font-size: 14px; line-height: 20px; }
.f-thanks-order dt { color: var(--grey); }
.f-thanks-order dd { margin: 0; white-space: pre-line; }
.f-thanks-order > p { padding: 0 16px 16px; margin: 0; }
.f-thanks-out { margin-top: 24px; padding: 24px 16px; border: 1px solid var(--edge); border-radius: 16px; background: #fff; }
.f-thanks-out h2 { margin: 0; font-size: 20px; line-height: 28px; }
.f-thanks-out .thanks-muted { margin: 4px 0 16px; }
.f-thanks .f-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (min-width: 768px) {
    .f-main { padding-top: 80px; }
    .f-nav { top: 16px; }
    .f-pill { top: 16px; right: 16px; }
    .f-hero__stage { max-width: 720px; margin: 0 auto; }
    .f-hero__copy { padding: 8px 32px 0; }
    .f-title { font-size: 36px; line-height: 40px; }
    .f-sub { max-width: 560px; }
    .f-tagline { padding: 96px 32px; margin-top: 64px; }
    .f-tagline__text { font-size: 48px; line-height: 48px; }
    .f-section { padding-block: 96px; padding-inline: max(32px, calc((100% - 1120px) / 2)); }
    .f-h2 { font-size: 30px; line-height: 36px; margin-bottom: 40px; }
    .f-benefits { grid-template-columns: repeat(3, 1fr); }
    .f-steps { grid-template-columns: repeat(3, 1fr); gap: 32px; }
    .f-steps li { grid-template-columns: 1fr; row-gap: 12px; align-content: start; }
    .f-steps__n { grid-row: auto; }
    .f-close { padding: 96px 32px; }
    .f-close__title { font-size: 36px; line-height: 40px; }
    .f-foot__in { padding: 48px 32px; grid-template-columns: 1fr auto; align-items: start; }
    .f-foot__links { max-width: 520px; justify-content: flex-end; }
    .f-foot__legal { grid-column: 1 / -1; }
    .f-try__frame { max-width: 400px; }
    .f-try__frame--small { max-width: 320px; }
    .f-samples__row { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); max-width: 1120px; margin: 0 auto; padding: 0 32px; overflow: visible; }
    .f-order .f-hero__copy { max-width: 560px; margin: 0 auto; }
    .f-xo__offer { padding: 24px; }
    .f-onb { padding: 32px; }
}

/* ==========================================================================
   Desktop: the clip left and big, the buy column right
   ========================================================================== */
@media (min-width: 1024px) {
    .f-hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr); gap: 48px; align-items: center;
        max-width: 1280px; margin: 0 auto; padding: 32px 32px 64px; }
    .f-hero__stage { max-width: none; margin: 0; }
    .f-hero__copy { padding: 0; text-align: left; }
    .f-hero .f-title { font-size: 48px; line-height: 48px; padding-bottom: 4px; }
    .f-hero .f-sub { margin: 16px 0 0; font-size: 18px; line-height: 28px; }
    .f-hero .f-buy { margin: 24px 0 0; }
    .f-hero .f-swatches { justify-content: flex-start; margin-left: -8px; }
    .f-hero .f-share { text-align: left; margin-left: -12px; }
    .f-hero .f-share__box { margin-left: 12px; }
    .f-tagline { margin-top: 0; }
    .f-tagline__text { font-size: 60px; line-height: 60px; }
    .f-section--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
    .f-section--split .f-h2 { margin-bottom: 0; }
    .f-section--split .f-faq { max-width: none; }
    /* order page: the buy column holds more, so it starts at the top */
    .f-order .f-hero { align-items: start; padding-top: 48px; }
    .f-order .f-hero__stage { position: sticky; top: 96px; }
    .f-order .f-hero__copy { max-width: none; margin: 0; }
    .f-order .f-hero .f-title { font-size: 36px; line-height: 40px; }
    /* extras: choices left, the summary right and in view */
    .f-xo__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
    .f-xo__side { position: sticky; top: 96px; }
    .f-sum { padding: 24px; }
    .f-share-page .f-try__col { max-width: 760px; }
}
.f-order .f-close { background: var(--cream); }

/* small phones (360-399 px): the progress on one line and a smaller photo, so the step's button rises */
@media (max-width: 399px) {
    .f-progress { font-size: 12px; line-height: 16px; }
    .f-progress li { gap: 4px; }
    .f-progress li + li::before { width: 12px; margin-left: 6px; }
    .f-try[data-state="email"] .f-try__frame, .f-try[data-state="code"] .f-try__frame, .f-try[data-state="confirm"] .f-try__frame { max-width: 160px; }
}

/* the code step's mailbox note (try.js data-mailbox-hint) */
.f-note { margin: 0 0 16px; padding: 12px 16px; border: 1px solid #e7cf9c; border-radius: 12px; background: #fbf3e2; color: var(--ink); font-size: 14px; line-height: 20px; font-weight: 600; text-align: left; text-wrap: pretty; }

/* the ready view's bonus: two lines ("+10 bonus living photos" / "Ends …"), their space kept until the release, so
   the button never jumps */
.f-ready .offer-strip__big { display: block; }
.f-ready .offer-strip--waiting { min-height: 40px; }
