/**
 * FilmTracker – film layer (Nov 2026)
 *
 * Loaded after style-darkroom.css on every public page. It re-tunes the shared tokens and restyles the shared
 * components (header, buttons, cards, headings, page heroes, footer) so every page picks up the look, and adds the
 * film vocabulary the homepage is built from:
 *
 *   grain        animated film grain over the whole page (body::before), still under reduced motion
 *   leaks        drifting light leaks in safelight amber and the logo's violet (.fl-leaks)
 *   strip        35 mm film with sprocket holes, frame numbers and edge print (.fl-strip, .fl-reel)
 *   edge print   small mono capitals like the latent codes printed along a film's rebate (.fl-edge)
 *   halation     the soft red bloom bright highlights get on film without an anti-halation layer (.fl-halation)
 *   grease pencil the chinagraph circle a lab or photographer marks a contact sheet with (.fl-pencil)
 *
 * Colours stay FilmTracker's own (logo amber + violet); nothing here borrows Pelicula35's tricolour.
 */

/* Layout concept: a dark darkroom page; content sits on "frames" of a contact sheet, sections are joined by a moving
   strip of film. Display = Raleway (local), body = Lato (local), edge print = system mono. */
:root {
    /* film base + rebate (the unexposed edge), warm-black like processed negative edges */
    --fl-base: #0c0a09;
    --fl-rebate: #15110e;
    --fl-frame: #1b1613;
    --fl-frame-2: #231c18;
    --fl-line: #33291f;
    --fl-line-soft: rgba(241, 235, 224, 0.08);

    /* fibre paper, for type */
    --fl-paper: #f1ebe0;
    --fl-paper-2: #c9bfb0;
    --fl-paper-3: #8f8577;

    /* safelight amber (logo), halation red, violet (logo) */
    --fl-amber: #ffb84d;
    --fl-amber-deep: #f29a1f;
    --fl-halation: #ff5a36;
    --fl-violet: #8b7ec8;
    --fl-violet-soft: #b3a8e6;

    --fl-edge-ink: rgba(255, 184, 77, 0.78);   /* edge print reads orange on a negative's rebate */
    --fl-hole: rgba(241, 235, 224, 0.13);      /* sprocket holes: the light table showing through */

    --fl-display: 'Raleway', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;
    --fl-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --fl-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;

    --fl-radius: 3px;

    /* the old darkroom tokens, re-tuned so every page goes warm and quieter */
    --darkroom-black: var(--fl-base);
    --darkroom-charcoal: var(--fl-rebate);
    --darkroom-gray: var(--fl-frame);
    --darkroom-slate: var(--fl-frame-2);
    --darkroom-light: #3a3029;
    --film-orange: var(--fl-amber);
    --film-orange-dark: var(--fl-amber-deep);
    --film-orange-light: #ffd29a;
    --film-purple: var(--fl-violet);
    --film-purple-light: var(--fl-violet-soft);
    --amber-glow: rgba(255, 150, 60, 0.18);
    --text-primary: var(--fl-paper);
    --text-secondary: var(--fl-paper-2);
    --text-muted: var(--fl-paper-3);
    --border-color: var(--fl-line);
    --glow-orange: 0 0 0 1px rgba(255, 184, 77, 0.35);
    --glow-purple: 0 0 0 1px rgba(139, 126, 200, 0.35);
    color-scheme: dark;
}

/* ------------------------------------------------------------------ page, grain */
html { background: var(--fl-base); }
body {
    background: var(--fl-base);
    background-image: none;
    color: var(--fl-paper);
    font-family: var(--fl-body);
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}
body::before {
    /* film grain: a small turbulence tile, jittered a few times a second like grain changing frame to frame */
    content: '';
    position: fixed;
    top: -100px;
    left: -100px;
    width: calc(100% + 200px);
    height: calc(100% + 200px);
    z-index: 10000;
    pointer-events: none;
    opacity: 0.11;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.4 -0.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 220px 220px;
    animation: fl-grain 0.9s steps(6) infinite;
}
@keyframes fl-grain {
    0%   { transform: translate(0, 0); }
    17%  { transform: translate(-37px, 22px); }
    33%  { transform: translate(18px, -41px); }
    50%  { transform: translate(-21px, -13px); }
    67%  { transform: translate(44px, 31px); }
    83%  { transform: translate(-9px, 47px); }
    100% { transform: translate(0, 0); }
}

::selection { background: var(--fl-amber); color: var(--fl-base); }

/* ------------------------------------------------------------------ type */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--fl-display);
    color: var(--fl-paper);
    text-shadow: none;
    letter-spacing: -0.015em;
    text-wrap: balance;
}
h1 { font-weight: 800; text-shadow: none; }
h2 { font-weight: 800; color: var(--fl-paper); }
h3 { font-weight: 700; }
p { color: var(--fl-paper-2); }
a { color: var(--fl-amber); text-underline-offset: 3px; }
a:hover { color: var(--film-orange-light); }
strong { color: var(--fl-paper); }

.section-title {
    color: var(--fl-paper);
    text-shadow: none;
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    line-height: 1.08;
    margin-bottom: 1rem;
}
.section-subtitle {
    color: var(--fl-paper-2);
    font-size: 1.15rem;
    max-width: 62ch;
    margin: 0 auto 3rem;
}

/* edge print: the small latent codes along a film's rebate */
.fl-edge {
    font-family: var(--fl-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fl-edge-ink);
    display: inline-flex;
    align-items: center;
    gap: 0.7em;
    white-space: nowrap;
}
.fl-edge .fl-arrow { font-size: 0.85em; letter-spacing: 0; }
.fl-edge--muted { color: var(--fl-paper-3); }

/* halation: the red bloom around bright highlights */
.fl-halation {
    text-shadow:
        0 0 1px rgba(255, 120, 70, 0.55),
        0 0 18px rgba(255, 90, 54, 0.32),
        0 0 46px rgba(255, 90, 54, 0.16);
}

/* ------------------------------------------------------------------ buttons */
.btn {
    font-family: var(--fl-body);
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 0.86rem;
    border-radius: var(--fl-radius);
    padding: 0.8rem 1.4rem;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn-large { font-size: 0.92rem; padding: 1rem 1.7rem; }
.btn-primary,
.btn-primary:visited {
    background: var(--fl-amber);
    color: var(--fl-base);
    border: 1px solid var(--fl-amber);
    box-shadow: 0 0 0 0 rgba(255, 120, 60, 0), 0 10px 30px -12px rgba(255, 120, 50, 0.55);
}
.btn-primary::before, .btn-primary::after { display: none !important; }
.btn-primary:hover, .btn-primary:focus-visible {
    background: var(--film-orange-light);
    border-color: var(--film-orange-light);
    color: var(--fl-base);
    transform: translateY(-1px);
    box-shadow: 0 0 0 4px rgba(255, 184, 77, 0.16), 0 14px 34px -12px rgba(255, 110, 50, 0.7);
}
.btn-secondary,
.btn-secondary:visited {
    background: transparent;
    color: var(--fl-paper);
    border: 1px solid rgba(241, 235, 224, 0.28);
    box-shadow: none;
}
.btn-secondary:hover, .btn-secondary:focus-visible {
    background: rgba(241, 235, 224, 0.06);
    color: var(--fl-paper);
    border-color: var(--fl-paper-2);
    box-shadow: none;
}
.btn:focus-visible { outline: 2px solid var(--fl-amber); outline-offset: 3px; }

/* ------------------------------------------------------------------ header */
.site-header {
    background: rgba(12, 10, 9, 0.78);
    border-bottom: 1px solid var(--fl-line-soft);
}
.site-header::after { display: none; }
.site-header.is-scrolled { background: rgba(12, 10, 9, 0.92); box-shadow: 0 12px 30px -20px rgba(0, 0, 0, 0.9); }
.site-brand__name { font-family: var(--fl-display); letter-spacing: -0.01em; color: var(--fl-paper); }
.site-nav__list a { font-family: var(--fl-body); color: var(--fl-paper-2); }
.site-nav__list a:hover { color: var(--fl-paper); }
.site-nav__list a.is-active { color: var(--fl-paper); }
.site-nav__list a.is-active::after { background: var(--fl-amber) !important; }
.nav-signin { border-color: rgba(241, 235, 224, 0.2) !important; color: var(--fl-paper) !important; }
.nav-cta, .nav-cta:visited {
    background: var(--fl-amber);
    color: var(--fl-base);
    border-radius: var(--fl-radius);
    font-family: var(--fl-body);
    letter-spacing: 0.02em;
    box-shadow: 0 8px 24px -12px rgba(255, 120, 50, 0.7);
}
.nav-cta:hover { background: var(--film-orange-light); color: var(--fl-base); }

/* ------------------------------------------------------------------ cards = frames on a contact sheet */
.feature-card,
.pricing-card,
.stat-card {
    background: linear-gradient(180deg, var(--fl-frame) 0%, var(--fl-rebate) 100%);
    border: 1px solid var(--fl-line);
    border-radius: var(--fl-radius);
    box-shadow: 0 1px 0 rgba(241, 235, 224, 0.04) inset;
}
.feature-card:hover {
    transform: none;
    border-color: rgba(255, 184, 77, 0.45);
    box-shadow: 0 1px 0 rgba(241, 235, 224, 0.05) inset, 0 18px 40px -26px rgba(255, 120, 50, 0.5);
}
.feature-card h3, .feature-card h4 { color: var(--fl-paper); }
.feature-card p { color: var(--fl-paper-2); }

/* page heroes on the other pages: darkroom with a leak instead of the purple→orange gradient */
.hero, .plugin-hero, .dl-hero, .page-hero, .cta-section {
    background:
        radial-gradient(60% 80% at 12% 20%, rgba(255, 140, 50, 0.20) 0%, transparent 60%),
        radial-gradient(50% 70% at 90% 85%, rgba(139, 126, 200, 0.16) 0%, transparent 60%),
        var(--fl-base) !important;
    animation: none !important;
}
.cta-section::before, .main-footer::before { display: none; }

/* forms */
.form-control, input[type="text"], input[type="email"], input[type="password"], textarea, select {
    border-radius: var(--fl-radius);
}
.form-control {
    background: var(--fl-rebate);
    border-color: var(--fl-line);
    color: var(--fl-paper);
}
.form-control:focus { border-color: var(--fl-amber); box-shadow: 0 0 0 3px rgba(255, 184, 77, 0.15); }

/* comparison table */
.comparison-table { border-radius: var(--fl-radius); }
.comparison-table th { font-family: var(--fl-display); }
.comparison-table td .check { color: var(--fl-amber); }

/* ------------------------------------------------------------------ light leaks */
.fl-leaks { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.fl-leaks i {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
    mix-blend-mode: screen;
    animation: fl-drift 22s ease-in-out infinite alternate;
}
.fl-leaks i:nth-child(1) { width: 46vw; height: 46vw; left: -14vw; top: -18vw; background: radial-gradient(circle, rgba(255, 150, 50, 0.85), rgba(255, 90, 40, 0) 70%); }
.fl-leaks i:nth-child(2) { width: 38vw; height: 38vw; right: -12vw; top: 8vw; background: radial-gradient(circle, rgba(139, 126, 200, 0.75), rgba(139, 126, 200, 0) 70%); animation-duration: 28s; animation-delay: -9s; }
.fl-leaks i:nth-child(3) { width: 30vw; height: 30vw; left: 38vw; bottom: -20vw; background: radial-gradient(circle, rgba(255, 70, 40, 0.55), rgba(255, 70, 40, 0) 70%); animation-duration: 31s; animation-delay: -15s; }
@keyframes fl-drift {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(4vw, 2vw) scale(1.08); }
    100% { transform: translate(-3vw, 3vw) scale(0.96); }
}

/* ------------------------------------------------------------------ 35 mm strip */
/* sprocket row: one rounded hole every 24 px, like 35 mm perforations */
.fl-sprockets {
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14'%3E%3Crect x='6' y='3' width='12' height='8' rx='2' fill='%23f1ebe0' fill-opacity='0.13'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 24px 14px;
}
.fl-strip {
    position: relative;
    background: var(--fl-rebate);
    border-block: 1px solid #000;
    overflow: hidden;
    padding: 4px 0;
}
.fl-strip__run {
    display: flex;
    width: max-content;
    animation: fl-transport 60s linear infinite;
}
.fl-strip__run > * { flex: none; }
@keyframes fl-transport { to { transform: translateX(-50%); } }
.fl-strip__edge {
    display: flex;
    gap: 0;
    padding: 2px 0;
}
.fl-strip__edge span {
    width: 240px;
    padding-left: 18px;
}
.fl-strip .fl-sprockets { width: 100%; }

/* the reel: a screenshot shown as one frame of 35 mm film, advancing like film through a gate */
.fl-reel {
    position: relative;
    background: #0a0807;
    border-radius: 4px;
    padding: 0 0;
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(241, 235, 224, 0.06);
    overflow: hidden;
}
.fl-reel__rail { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 4px; }
.fl-reel__rail--bottom { padding: 4px 14px 6px; }
.fl-reel .fl-sprockets { margin: 0 6px; }
.fl-reel__gate { position: relative; overflow: hidden; margin: 6px 14px; border-radius: 2px; background: #000; aspect-ratio: 16 / 10; }
.fl-reel__track { display: flex; height: 100%; transition: transform 0.75s cubic-bezier(.7, 0, .2, 1); }
.fl-reel__track img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    display: block;
    border: 0;
    box-shadow: none;
    border-radius: 0;
}
.fl-reel__gate::after {
    /* gate vignette + a whisper of halation at the frame edge */
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 0 60px rgba(0, 0, 0, 0.55);
}

/* ------------------------------------------------------------------ grease pencil */
.fl-pencil { position: absolute; pointer-events: none; overflow: visible; }
.fl-pencil path {
    fill: none;
    stroke: #ff7a3d;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.92;
}
.fl-pencil-note {
    font-family: 'Marker Felt', 'Bradley Hand', 'Segoe Print', 'Comic Sans MS', cursive;
    color: #ff7a3d;
    font-size: 1.05rem;
    transform: rotate(-4deg);
    display: inline-block;
}

/* ------------------------------------------------------------------ footer */
.main-footer {
    background: var(--fl-base) !important;
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
}
.main-footer .fl-strip { margin-bottom: 3rem; }
.footer-section h4 { font-family: var(--fl-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fl-edge-ink); font-weight: 500; }
.footer-section a { color: var(--fl-paper-2); }
.footer-section a:hover { color: var(--fl-paper); }
.footer-logo h3 { font-family: var(--fl-display); color: var(--fl-paper); }
.footer-copyright { color: var(--fl-paper-3); }

/* cookie banner + waitlist modal pick up the palette */
.cookie-consent-banner, .cookie-banner { background: rgba(21, 17, 14, 0.97) !important; border-top: 1px solid var(--fl-line) !important; }
.dev-mode-modal { background: var(--fl-rebate); border: 1px solid var(--fl-line); border-radius: var(--fl-radius); }

/* ------------------------------------------------------------------ motion preferences */
@media (prefers-reduced-motion: reduce) {
    body::before { animation: none; }
    .fl-leaks i, .fl-strip__run { animation: none !important; }
    .fl-reel__track { transition: none; }
}

/* ================================================================== homepage */
.fl-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
    background:
        radial-gradient(120% 80% at 50% 120%, rgba(0, 0, 0, 0.6) 0%, transparent 60%),
        var(--fl-base);
}
.fl-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center;
}
.fl-hero__copy { min-width: 0; display: grid; gap: 1.4rem; justify-items: start; }
.fl-hero__title {
    font-size: clamp(2.9rem, 6.6vw, 5.6rem);
    line-height: 0.95;
    letter-spacing: -0.035em;
    font-weight: 900;
    margin: 0;
    color: #fff6ea;
}
.fl-hero__lede { font-size: 1.18rem; line-height: 1.6; max-width: 46ch; margin: 0; color: var(--fl-paper-2); }
.fl-hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.fl-hero__facts { white-space: normal; flex-wrap: wrap; row-gap: 0.3rem; }
.fl-hero__reel { margin: 0; min-width: 0; transform: rotate(-1.2deg); }
.fl-hero__reel .fl-reel { animation: fl-settle 1.4s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes fl-settle { from { opacity: 0; transform: translateY(18px) rotate(1.5deg); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
    .fl-hero__inner { grid-template-columns: minmax(0, 1fr); }
    .fl-hero__reel { transform: none; }
}

/* sections */
.fl-section { position: relative; padding: clamp(4rem, 8vw, 6.5rem) 0; }
.fl-section--rebate { background: linear-gradient(180deg, var(--fl-rebate), #110d0b); border-block: 1px solid #000; }
.fl-head { display: grid; justify-items: center; text-align: center; gap: 0.2rem; margin-bottom: 3rem; }
.fl-head .section-subtitle { margin-bottom: 0; }
.fl-center { text-align: center; margin-top: 2.5rem; }

/* contact sheet of frames */
.fl-sheet { display: grid; gap: 1.25rem; }
.fl-sheet--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .fl-sheet--3 { grid-template-columns: minmax(0, 1fr); } }

.fl-frame {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 2.2rem 1.6rem 1.6rem;
    background: linear-gradient(180deg, var(--fl-frame) 0%, var(--fl-rebate) 100%);
    border: 1px solid var(--fl-line);
    border-radius: var(--fl-radius);
}
.fl-frame::before {
    /* frame number in the rebate, as printed on the film */
    content: '▸ ' attr(data-frame) '      ' attr(data-frame) 'A';
    white-space: pre;
    position: absolute;
    top: 0.7rem;
    left: 1rem;
    font-family: var(--fl-mono);
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    color: var(--fl-edge-ink);
}
.fl-frame h3 { margin: 0; font-size: 1.3rem; display: flex; align-items: center; gap: 0.6rem; }
.fl-frame p { margin: 0; color: var(--fl-paper-2); line-height: 1.6; }
.fl-frame__icon { width: 48px; height: 48px; margin-top: 0.4rem; }
.fl-link { margin-top: auto; padding-top: 0.6rem; font-weight: 700; text-decoration: none; color: var(--fl-amber); }
.fl-link:hover { color: var(--film-orange-light); }
.fl-link span { display: inline-block; transition: transform .2s ease; }
.fl-link:hover span { transform: translateX(3px); }

.fl-frame--marked { border-color: rgba(255, 122, 61, 0.35); }
.fl-pencil--frame { inset: -14px -16px -16px -12px; width: calc(100% + 28px); height: calc(100% + 30px); }
.fl-frame__note { position: absolute; top: -1.6rem; right: 0.6rem; }

/* frames that are mostly a screenshot */
.fl-frame--shot { padding: 2.2rem 0.9rem 1.3rem; }
.fl-frame__shot, .fl-print {
    display: block;
    padding: 0;
    border: 0;
    background: #000;
    border-radius: 2px;
    overflow: hidden;
    cursor: zoom-in;
    width: 100%;
}
.fl-frame__shot img, .fl-print img {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transition: transform .5s ease, filter .5s ease;
    filter: saturate(0.92) contrast(1.02);
}
.fl-frame__shot img { aspect-ratio: 4 / 3; object-fit: cover; object-position: top left; }
.fl-frame__shot:hover img, .fl-print:hover img { transform: scale(1.025); filter: none; }
.fl-frame__shot:focus-visible, .fl-print:focus-visible { outline: 2px solid var(--fl-amber); outline-offset: 3px; }
.fl-frame__body { display: grid; gap: 0.5rem; padding: 0.4rem 0.7rem 0; }
.fl-frame__body h3 img { width: 26px; height: 26px; }

/* how it works */
.fl-steps {
    list-style: none;
    margin: 0 0 4.5rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border: 1px solid var(--fl-line);
    border-radius: var(--fl-radius);
    background: var(--fl-rebate);
}
.fl-step { position: relative; padding: 1.8rem 1.5rem 1.6rem; min-width: 0; }
.fl-step + .fl-step { border-left: 1px dashed rgba(241, 235, 224, 0.12); }
.fl-step__no {
    display: block;
    font-family: var(--fl-display);
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.2px var(--fl-amber);
    margin-bottom: 1rem;
}
.fl-step h3 { font-size: 1.15rem; margin: 0 0 0.4rem; }
.fl-step p { margin: 0; font-size: 0.98rem; line-height: 1.55; }
@media (max-width: 900px) {
    .fl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fl-step:nth-child(3) { border-left: 0; }
    .fl-step:nth-child(n+3) { border-top: 1px dashed rgba(241, 235, 224, 0.12); }
}
@media (max-width: 520px) {
    .fl-steps { grid-template-columns: minmax(0, 1fr); }
    .fl-step + .fl-step { border-left: 0; border-top: 1px dashed rgba(241, 235, 224, 0.12); }
}

/* copy beside a print */
.fl-split {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.fl-split + .fl-split { margin-top: 4.5rem; }
.fl-split--reverse .fl-split__copy { order: 2; }
.fl-split__copy { min-width: 0; display: grid; gap: 1rem; justify-items: start; }
.fl-split__copy p { margin: 0; line-height: 1.65; }
.fl-split__title { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; display: flex; align-items: center; gap: 0.7rem; }
.fl-split__shot { margin: 0; min-width: 0; display: grid; gap: 0.8rem; }
.fl-print {
    /* a print: white border like a darkroom print on the easel */
    padding: 10px;
    background: #ece5d8;
    border-radius: 1px;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.4);
    transform: rotate(0.6deg);
}
.fl-split--reverse .fl-print { transform: rotate(-0.6deg); }
@media (max-width: 900px) {
    .fl-split { grid-template-columns: minmax(0, 1fr); }
    .fl-split--reverse .fl-split__copy { order: 0; }
}

.fl-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.fl-ticks li { position: relative; padding-left: 1.6rem; color: var(--fl-paper-2); }
.fl-ticks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 0.8rem;
    height: 2px;
    background: var(--fl-amber);
}

/* comparison */
.fl-compare__table {
    width: 100%;
    border-collapse: collapse;
    background: var(--fl-rebate);
    border: 1px solid var(--fl-line);
    border-radius: var(--fl-radius);
    font-variant-numeric: tabular-nums;
}
.fl-compare__table th, .fl-compare__table td { padding: 0.95rem 1.2rem; border-bottom: 1px solid var(--fl-line-soft); text-align: center; vertical-align: middle; }
.fl-compare__table thead th { font-family: var(--fl-display); font-size: 1rem; color: var(--fl-paper); background: var(--fl-frame); }
.fl-compare__table thead th img { display: block; margin: 0 auto 0.4rem; }
.fl-compare__table thead th:first-child, .fl-compare__table tbody th { text-align: left; }
.fl-compare__table tbody th { font-weight: 400; color: var(--fl-paper-2); font-family: var(--fl-body); }
.fl-compare__table tbody tr:last-child th, .fl-compare__table tbody tr:last-child td { border-bottom: 0; }
.fl-compare__table tbody tr:hover { background: rgba(241, 235, 224, 0.025); }
.fl-compare .check { color: var(--fl-amber); font-weight: 700; }
.fl-compare .cross { color: var(--fl-paper-3); }
.fl-cell-text { color: var(--fl-paper-2); font-size: 0.92rem; }
.fl-compare__stack { display: none; }
@media (max-width: 760px) {
    .fl-compare__table { display: none; }
    .fl-compare__stack { display: grid; gap: 1rem; }
    .fl-compare__stack dl { margin: 0; display: grid; }
    .fl-compare__stack dl div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-bottom: 1px solid var(--fl-line-soft); }
    .fl-compare__stack dt { color: var(--fl-paper-2); }
    .fl-compare__stack dd { margin: 0; text-align: right; }
}

/* mobile teaser */
.fl-mobile__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 3rem; align-items: center; }
.fl-mobile .section-title { text-align: left; }
.fl-mobile__notes {
    /* a page from a shooting notebook */
    background: #ece5d8;
    color: #2b2420;
    padding: 1.4rem 1.6rem;
    border-radius: 2px;
    transform: rotate(1.5deg);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9);
    background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(60, 80, 140, 0.18) 31px 32px);
}
.fl-mobile__notes .fl-edge { color: #9a5a12; margin: 0 0 0.6rem; }
.fl-mobile__notes ol { list-style: none; margin: 0; padding: 0; font-family: 'Marker Felt', 'Bradley Hand', 'Segoe Print', cursive; font-size: 1.05rem; line-height: 32px; }
.fl-mobile__notes li span { display: inline-block; width: 2.4rem; color: #c2410c; }
@media (max-width: 900px) { .fl-mobile__inner { grid-template-columns: minmax(0, 1fr); } }

/* closing call to action */
.fl-end { position: relative; overflow: hidden; padding: clamp(5rem, 10vw, 8rem) 0; text-align: center; background: var(--fl-base); }
.fl-end__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: 1.1rem; }
.fl-end__title { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -0.03em; font-weight: 900; margin: 0; color: #fff6ea; }
.fl-end p { margin: 0; color: var(--fl-paper-2); font-size: 1.1rem; }
.fl-end .btn { margin-top: 0.8rem; }
.fl-end p.fl-edge { color: var(--fl-edge-ink); font-size: 0.72rem; }
.fl-frame--marked::before { z-index: 2; background: var(--fl-frame); padding: 0 0.35rem; margin-left: -0.35rem; }
/* The phone menu waits off-canvas to the right; clip (not hide) so the page can never be scrolled sideways
   and the sticky header keeps working. */
html, body { overflow-x: clip; }
/* Single-column grids take the available width, never their widest label's. */
.fl-hero__copy, .fl-split__copy, .fl-head, .fl-end__inner, .fl-frame__body { grid-template-columns: minmax(0, 1fr); }
.fl-head > *, .fl-end__inner > * { max-width: 100%; }
@media (max-width: 600px) {
    p.fl-edge, .fl-head .fl-edge { white-space: normal; flex-wrap: wrap; row-gap: 0.2rem; }
}
.fl-head > .section-subtitle { max-width: min(62ch, 100%); }

/* ------------------------------------------------------------------ Nov 12: the hero is a frame of film */
/* Perforated edges top and bottom, running like film through a transport; no edge print. 35 mm proportions:
   a hole every 34 px, about 2:3 wide-to-tall rounded rectangles. */
.fl-perfs {
    position: absolute;
    left: 0;
    right: 0;
    height: 40px;
    z-index: 2;
    background-color: #070605;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='40'%3E%3Crect x='9' y='12' width='16' height='16' rx='2.6' fill='%23f1ebe0' fill-opacity='0.16'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 34px 40px;
    animation: fl-perf-run 2.4s linear infinite;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.fl-perfs::after {
    /* the light table glowing faintly through the holes, and the film base's amber cast at the edge */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 150, 60, 0.05), transparent 40%, transparent 60%, rgba(255, 150, 60, 0.05));
}
.fl-perfs--top { top: 0; }
.fl-perfs--bottom { bottom: 0; animation-direction: normal; }
@keyframes fl-perf-run { to { background-position-x: -34px; } }

.fl-hero { padding-top: calc(clamp(3.5rem, 8vw, 7rem) + 40px); padding-bottom: calc(clamp(3rem, 6vw, 5rem) + 40px); }

/* more grain: the page layer is stronger, and the hero gets a second, coarser layer like a pushed film */
body::before { opacity: 0.17; }
.fl-hero::after {
    content: '';
    position: absolute;
    inset: -60px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.22;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1.6 -0.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 300px 300px;
    animation: fl-grain 0.7s steps(5) infinite reverse;
}
@media (prefers-reduced-motion: reduce) {
    .fl-perfs, .fl-hero::after { animation: none; }
}

/* Nov 12: the Bundle is the lit frame on the light table, not a grease-pencil circle */
.fl-frame--marked {
    border-color: rgba(255, 184, 77, 0.55);
    background:
        radial-gradient(120% 85% at 50% 0%, rgba(255, 170, 80, 0.16) 0%, rgba(255, 170, 80, 0) 62%),
        linear-gradient(180deg, var(--fl-frame) 0%, var(--fl-rebate) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 210, 150, 0.18),
        0 0 0 1px rgba(255, 184, 77, 0.12),
        0 34px 70px -34px rgba(255, 120, 50, 0.45);
}
.fl-frame--marked::before { background: none; padding: 0; margin: 0; }
.fl-frame__tag {
    position: absolute;
    top: 0.55rem;
    right: 0.9rem;
    font-family: var(--fl-mono);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fl-base);
    background: var(--fl-amber);
    padding: 0.22rem 0.5rem;
    border-radius: 1px;
}
.fl-pencil, .fl-pencil-note { display: none; }

/* the shooting notebook: typed, like a lab docket */
.fl-mobile__notes ol { font-family: var(--fl-mono); font-size: 0.9rem; letter-spacing: 0.02em; }
.fl-mobile__notes li span { color: #b4530f; font-weight: 600; }

/* Nov 12: the waitlist modal is a frame on the light table, with a leader line instead of the logo */
.dev-mode-overlay { background: rgba(6, 5, 4, 0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dev-mode-modal {
    max-width: 520px;
    padding: 2.4rem 2rem 2rem;
    background:
        radial-gradient(120% 70% at 50% 0%, rgba(255, 170, 80, 0.12) 0%, rgba(255, 170, 80, 0) 60%),
        linear-gradient(180deg, var(--fl-frame) 0%, var(--fl-rebate) 100%);
    border: 1px solid rgba(255, 184, 77, 0.4);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 30px 70px -40px rgba(255, 120, 50, 0.45);
}
.dev-mode-header { display: grid; gap: 0.6rem; text-align: left; margin-bottom: 1rem; }
.dev-mode-header img { display: none; }
.dev-mode-header h2 { margin: 0; font-size: clamp(1.6rem, 4vw, 2rem); line-height: 1.05; letter-spacing: -0.03em; color: #fff6ea; font-weight: 900; }
.dev-mode-header h2 strong { color: #fff6ea; }
.dev-mode-content p { color: var(--fl-paper-2); text-align: left; margin: 0 0 0.7rem; }
.dev-mode-content .fl-hint { margin-bottom: 1.3rem; }
.dev-mode-form { gap: 0.9rem; }
.dev-mode-form input { margin: 0; }
.dev-mode-close { color: var(--fl-paper-3); background: none; border: 0; }
.dev-mode-close:hover { color: var(--fl-paper); background: rgba(241, 235, 224, 0.06); }
.dev-mode-message { border-radius: var(--fl-radius); }

/* Nov 12: the cookie banner is a small docket in the corner, not a full-width bar */
body .cookie-banner {
    left: auto;
    right: 1rem;
    bottom: 1rem;
    width: min(440px, calc(100% - 2rem));
    max-height: calc(100vh - 2rem);
    overflow: auto;
    padding: 1.3rem 1.3rem 1.2rem;
    background: linear-gradient(180deg, var(--fl-frame) 0%, var(--fl-rebate) 100%);
    border: 1px solid var(--fl-line);
    border-top: 1px solid rgba(255, 184, 77, 0.45);
    border-radius: var(--fl-radius);
    box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.85);
    z-index: 9000;
}
body .cookie-banner-content { flex-direction: column; align-items: stretch; gap: 1rem; }
body .cookie-banner-text .fl-edge { margin: 0 0 0.4rem; }
body .cookie-banner-text h3 { color: var(--fl-paper); font-size: 1.1rem; margin: 0 0 0.4rem; }
body .cookie-banner-text p { font-size: 0.92rem; margin: 0 0 0.4rem; }
body .cookie-banner-actions { flex-direction: row; gap: 0.5rem; }
body .cookie-banner-actions .btn { padding: 0.6rem 0.9rem; font-size: 0.78rem; }
body .cookie-banner .btn-text { color: var(--fl-paper-3); text-decoration: underline; letter-spacing: 0.04em; }
body .cookie-settings { margin-top: 1rem; padding-top: 1rem; }
body .cookie-option { padding: 0.8rem; background: #0f0c0a; border: 1px solid var(--fl-line); border-radius: var(--fl-radius); flex-direction: row; gap: 1rem; }
body .cookie-option-info h4 { color: var(--fl-paper); font-size: 0.95rem; }
body .cookie-toggle input { accent-color: var(--fl-amber); width: 18px; height: 18px; }
body .cookie-toggle label { font-family: var(--fl-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fl-paper-3); }
