/* ===========================================================================
   Fantasy Breast (fbr) -- site stylesheet
   ---------------------------------------------------------------------------
   Loaded on every fbr page by common_base.html (through _site_shell.html),
   and on the SSO login page reached from fbr through LOGIN_STYLESHEETS['fbr'].
   One sheet dresses the content pages (classes prefixed fbr-) and peep's own
   service pages (login, join, cart, checkout, account, age gate, errors, the
   members' hub), which keep their peep-provided markup and are styled here by
   their existing class names and ids.

   This is the design handoff's production sheet (ADR 0577, design D1) with its
   four mockup-only classes deleted (.fbr-page, .fbr-scope, .fbr-foot-slot and
   the .fbr-sheet reference-sheet family; <body> plays .fbr-page's part). Added
   to it here, each marked where it sits:
   - the checkout address and card forms (#billing, #shipping, #payment-info),
     the cart's call to action and the members'-hub cards, ported from emm.css
     and re-inked with this sheet's tokens, so no service page is undressed;
   - a keyboard twin (:focus-visible, or :has(:focus-visible) on a label) for
     every :hover state, and a reduced-motion block that stills every hover,
     press and lift transform as well as the transitions;
   - display: flow-root on the story article, which contains its floats.
   fbr/tests/test_dress.py and test_contrast.py pin all of that.

   Fonts are NOT imported here (an @import would serialise the font fetch
   behind this sheet). base.html's site_head block links:
     Figtree 400/500/600/700                (interface and body)
     Fraunces, variable, with the SOFT axis (display and story text)
   Never use the font shorthand on anything set in Fraunces: it resets
   font-variation-settings and the softness disappears.

   peep loads orders.css AFTER this sheet, so service-page rules carry a tag
   or an id where orders.css would otherwise win (a.button, div#order,
   div#add-to-cart); keep that when adding rules.

   Colour rule: --peach is never text on a light ground, and on berry only at
   heading size (test_contrast.py).
   =========================================================================== */

/* ===== Tokens ============================================================ */
:root {
    /* grounds */
    --cream: #FFF5EE;
    --cream-2: #FFEADF;
    --blush: #FFD9D2;
    --berry-soft: #F9D7E2;
    /* ink */
    --ink: #3B1529;
    --ink-2: #6E4A5B;
    --line: rgba(59, 21, 41, .14);
    --line-2: rgba(59, 21, 41, .28);
    /* A form control's resting boundary. Not the handoff's: its fields drew
       --line-2, 1.8:1 against every ground, and WCAG 2.1 SC 1.4.11 asks 3:1 of
       a control's boundary; .52 is the least alpha that reaches it on all
       five light grounds (test_contrast.py). */
    --field-line: rgba(59, 21, 41, .52);
    /* accents */
    --berry: #B5134F;
    --berry-deep: #8E0C3C;
    --peach: #FF9C78;
    --peach-deep: #E0734F;
    /* the "lights down" surfaces: age gate, photo and video stage, footer */
    --night: #2B0F1F;
    --night-2: #3D1A2D;
    --night-line: rgba(255, 245, 238, .18);
    --on-night: #FFF5EE;
    --on-night-2: #E3BFCB;
    /* states */
    --error: #A3231B;
    --error-soft: #FFE1DA;
    /* type */
    --display: "Fraunces", "Cooper Black", "Cooper Std", Georgia, serif;
    --ui: "Figtree", "Helvetica Neue", Arial, sans-serif;
    --soft: "SOFT" 100, "WONK" 0;
    /* shape */
    --r-sm: 12px;
    --r-md: 20px;
    --r-lg: 28px;
    --r-xl: 40px;
    --r-pill: 999px;
    --shadow: 0 14px 34px rgba(59, 21, 41, .14);
    --gutter: clamp(16px, 4vw, 48px);
}

/* ===== Base ============================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--cream); }
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--ui);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.fbr-page--night { background: var(--night); }

img { display: block; max-width: 100%; }
h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--display);
    font-variation-settings: var(--soft);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.015em;
    text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); }
h3 { font-size: 1.5rem; }
h1 em, h2 em { font-style: italic; color: var(--berry); }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--berry); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover,
a:focus-visible { color: var(--berry-deep); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
::selection { background: var(--berry); color: var(--cream); }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; border-radius: 6px; }
.fbr-night :focus-visible, .fbr-page--night :focus-visible, .age-page :focus-visible { outline-color: var(--peach); }

/* ===== Layout ============================================================ */
.fbr-wrap { width: 100%; max-width: 1296px; margin: 0 auto; padding: 0 var(--gutter); }
.fbr-section { padding-top: 72px; }
.fbr-section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.fbr-section-head a { font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.fbr-section-head a:hover,
.fbr-section-head a:focus-visible { text-decoration: underline; }

.fbr-grid { display: grid; gap: 36px 24px; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.fbr-grid--wide { grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); }
.fbr-grid--thumbs { gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(200px, 46%), 1fr)); }

/* Kicker: a small label with the paired dots. */
.fbr-kicker { display: block; margin: 0 0 16px; font-size: .8125rem; font-weight: 700; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; color: var(--berry); }
.fbr-kicker::before {
    content: ""; display: inline-block; width: 20px; height: 8px; margin-right: 10px; vertical-align: 1px;
    background:
        radial-gradient(circle at 4px 4px, var(--peach) 4px, transparent 4.5px),
        radial-gradient(circle at 15px 4px, var(--berry) 4px, transparent 4.5px);
}
.fbr-night .fbr-kicker, .fbr-page--night .fbr-kicker { color: var(--peach); }
.fbr-band .fbr-kicker { color: var(--cream); }
.fbr-night .fbr-kicker::before, .fbr-page--night main .fbr-kicker::before, .fbr-band .fbr-kicker::before {
    background:
        radial-gradient(circle at 4px 4px, var(--peach) 4px, transparent 4.5px),
        radial-gradient(circle at 15px 4px, var(--cream) 4px, transparent 4.5px);
}

/* ===== Header ============================================================ */
.fbr-masthead { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding: 18px var(--gutter); min-height: 84px; background: var(--cream); }
.fbr-logo { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; color: var(--ink); }
.fbr-logo:hover,
.fbr-logo:focus-visible { color: var(--ink); }
.fbr-mark { position: relative; flex: none; width: 40px; height: 26px; }
.fbr-mark::before, .fbr-mark::after { content: ""; position: absolute; top: 0; width: 26px; height: 26px; border-radius: 50%; }
.fbr-mark::before { left: 0; background: var(--berry); }
.fbr-mark::after { left: 14px; background: var(--peach); mix-blend-mode: multiply; }
.fbr-logo-name { font-family: var(--display); font-variation-settings: var(--soft); font-weight: 900; font-size: 1.625rem; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.fbr-logo-name em { font-style: italic; color: var(--berry); }

.fbr-nav { flex: 1 1 auto; }
.fbr-nav ul, .fbr-usernav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
/* The sign-out control is logout_form.html's POST button, whose INLINE style
   (font: inherit; padding: 0; background: none) beats any rule here, so the
   pill is drawn on its <li> and the button inherits the type and colour. */
.fbr-nav a, .fbr-usernav a, .fbr-usernav .nav-signout {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--r-pill); background: none;
    font: 600 1rem/1 var(--ui); color: var(--ink); text-decoration: none; cursor: pointer;
}
.fbr-nav a:hover, .fbr-usernav a:hover, .fbr-usernav .nav-signout:hover,
.fbr-nav a:focus-visible,
.fbr-usernav a:focus-visible,
.fbr-usernav .nav-signout:focus-within { background: var(--cream-2); color: var(--ink); }
.fbr-nav .is-current a { background: var(--berry-soft); color: var(--berry-deep); }
.fbr-usernav .cart-badge { position: static; display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 8px; padding: 0 6px; border-radius: var(--r-pill); background: var(--berry); color: var(--cream); font-size: .75rem; font-weight: 700; }
.fbr-usernav .nav-join { margin-left: 8px; }
.fbr-usernav .nav-join a { min-height: 44px; padding: 0 22px; background: var(--berry); color: var(--cream); font-weight: 700; box-shadow: 0 4px 0 var(--berry-deep); }
.fbr-usernav .nav-join a:hover,
.fbr-usernav .nav-join a:focus-visible { background: var(--berry-deep); color: var(--cream); }

/* ===== Footer ============================================================ */
/* One element, a direct child of <body>. margin-top: auto pins it to the
   bottom of a short page. --foot-gap is the clear space above it: the element
   is transparent for that distance, then scalloped, then solid. */
.fbr-footer {
    --foot-gap: 96px;
    position: relative; margin-top: auto;
    padding: calc(var(--foot-gap) + 78px) 0 40px;
    background: linear-gradient(var(--night), var(--night)) 0 calc(var(--foot-gap) + 14px) / 100% 100% no-repeat;
    color: var(--on-night-2); font-size: 1rem;
}
/* The scalloped top edge: a row of half circles in the footer's own colour. */
.fbr-footer::before {
    content: ""; position: absolute; left: 0; right: 0; top: var(--foot-gap); height: 28px;
    background: radial-gradient(circle at 14px 14px, var(--night) 14px, transparent 14.5px) repeat-x;
    background-size: 28px 28px;
}
.fbr-footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; }
.fbr-footer .fbr-logo, .fbr-footer .fbr-logo:hover,
.fbr-footer .fbr-logo:focus-visible { color: var(--on-night); }
.fbr-footer .fbr-logo-name em { color: var(--peach); }
.fbr-footer .fbr-mark::after { mix-blend-mode: normal; opacity: .9; }
.fbr-footer-tag { max-width: 34ch; margin: 12px 0 0; }
.fbr-footer nav ul { display: flex; flex-wrap: wrap; gap: 4px 8px; max-width: 560px; margin: 0; padding: 0; list-style: none; justify-content: flex-end; }
.fbr-footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r-pill); color: var(--on-night); font-weight: 600; text-decoration: none; }
.fbr-footer nav a:hover,
.fbr-footer nav a:focus-visible { background: var(--night-2); color: var(--peach); }
.fbr-footer-legal { margin-top: 32px; }
.fbr-footer-legal > div { border-top: 1px solid var(--night-line); padding-top: 24px; font-size: .8125rem; }
.fbr-footer-legal p { max-width: 90ch; margin: 0 0 8px; }

/* ===== Buttons =========================================================== */
/* The squashy pill. .button / .hot-button / .cool-button are peep's own
   classes on service pages and wear the same dress. */
.fbr-btn,
.button, a.button, button.button, input.button {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-width: 0; min-height: 52px; padding: 0 28px;
    border: 2px solid var(--berry); border-radius: var(--r-pill);
    background: var(--berry); color: var(--cream);
    font: 700 1.0625rem/1.1 var(--ui); letter-spacing: 0; text-transform: none; text-align: center; text-decoration: none;
    box-shadow: 0 5px 0 var(--berry-deep);
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.fbr-btn:hover,
.button:hover, a.button:hover, button.button:hover, input.button:hover,
.fbr-btn:focus-visible,
.button:focus-visible,
a.button:focus-visible,
button.button:focus-visible,
input.button:focus-visible { background: var(--berry-deep); border-color: var(--berry-deep); color: var(--cream); }
.fbr-btn:active,
.button:active, a.button:active, button.button:active, input.button:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--berry-deep); }

.fbr-btn--ghost, .cool-button, a.cool-button, button.cool-button { background: transparent; color: var(--berry); box-shadow: none; }
.fbr-btn--ghost:hover, .cool-button:hover, a.cool-button:hover, button.cool-button:hover,
.fbr-btn--ghost:focus-visible,
.cool-button:focus-visible,
a.cool-button:focus-visible,
button.cool-button:focus-visible { background: var(--berry-soft); border-color: var(--berry); color: var(--berry-deep); }
.fbr-btn--ghost:active, .cool-button:active { transform: none; box-shadow: none; }
.hot-button, a.hot-button, button.hot-button { background: var(--berry); color: var(--cream); }

.fbr-btn--peach { background: var(--peach); border-color: var(--peach); color: var(--ink); box-shadow: 0 5px 0 var(--peach-deep); }
.fbr-btn--peach:hover,
.fbr-btn--peach:focus-visible { background: #FFB093; border-color: #FFB093; color: var(--ink); }
.fbr-btn--peach:active { box-shadow: 0 1px 0 var(--peach-deep); }
.fbr-btn--on-night { background: transparent; border-color: var(--night-line); color: var(--on-night); box-shadow: none; }
.fbr-btn--on-night:hover,
.fbr-btn--on-night:focus-visible { background: var(--night-2); border-color: var(--on-night-2); color: var(--on-night); }
.fbr-btn--block { display: flex; width: 100%; }
.fbr-btn--sm { min-height: 44px; padding: 0 20px; font-size: .9375rem; box-shadow: 0 4px 0 var(--berry-deep); }
.fbr-btn[aria-disabled="true"], .button:disabled, button:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; }
.fbr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }

/* ===== Chips, badges, stars ============================================= */
.fbr-chip { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: var(--r-pill); background: var(--cream-2); color: var(--ink); font: 700 .75rem/1 var(--ui); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.fbr-chip--new { background: var(--peach); color: var(--ink); }
.fbr-chip--free { background: var(--cream); color: var(--berry-deep); box-shadow: inset 0 0 0 2px var(--berry); }
.fbr-chip--buy { background: var(--berry); color: var(--cream); }
.fbr-chip--either { background: var(--ink); color: var(--cream); }
/* "Members": a small padlock (outlined shackle, filled body) and the word. */
.fbr-chip--members { background: rgba(43, 15, 31, .84); color: var(--on-night); }
.fbr-chip--members::before { content: ""; width: 10px; height: 12px; margin-right: 7px; border: 2px solid currentColor; border-radius: 5px 5px 2px 2px; background: linear-gradient(currentColor, currentColor) bottom / 100% 5px no-repeat; }
.fbr-media .fbr-chip.fbr-chip--members { left: auto; right: 12px; }
.fbr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.fbr-stars { color: var(--berry); font-size: 1.375rem; line-height: 1; letter-spacing: 4px; }
.fbr-night .fbr-stars, .fbr-page--night .fbr-stars { color: var(--peach); }
.fbr-rating { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: .9375rem; font-weight: 600; color: var(--ink-2); }
.fbr-night .fbr-rating, .fbr-page--night .fbr-rating { color: var(--on-night-2); }
/* The rating widget: ratings/templates/rating.html, swapped into #rate by
   i-RatingScripts.html on every site, so it is dressed here and not edited.
   Its inline text-align/cursor are harmless on a flex row. "Rate" reads as a
   kicker; each star is a 44px target. The stars are spans, never focused, so
   the :focus-visible twin is there for the sheet's hover/focus rule only. */
#rate { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px; color: var(--ink-2); }
#rate em { margin-right: 8px; font-style: normal; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--berry); }
#rate .rating { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border-radius: var(--r-pill); color: var(--berry); font-size: 1.5rem; line-height: 1; transition: background .12s ease; }
#rate .rating:hover,
#rate .rating:focus-visible { background: var(--berry-soft); color: var(--berry-deep); }
.fbr-night #rate em, .fbr-page--night #rate em { color: var(--peach); }
.fbr-night #rate .rating, .fbr-page--night #rate .rating { color: var(--peach); }
.fbr-night #rate .rating:hover, .fbr-page--night #rate .rating:hover,
.fbr-night #rate .rating:focus-visible,
.fbr-page--night #rate .rating:focus-visible { background: var(--night-2); color: var(--peach); }

/* ===== Pictures ========================================================== */
/* .fbr-media is the rounded window every picture sits in. In production it
   holds an <img>; the mockups hold a tinted .fbr-ph placeholder instead. */
.fbr-media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-lg); background: var(--blush); }
.fbr-media--wide { aspect-ratio: 16 / 9; }
.fbr-media--tall { aspect-ratio: 3 / 4; }
.fbr-media--square { aspect-ratio: 1; }
.fbr-media > img, .fbr-media > video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; transition: transform .35s ease; }
.fbr-media .fbr-chip { position: absolute; left: 12px; top: 12px; }
.fbr-duration { position: absolute; right: 12px; bottom: 12px; padding: 5px 10px; border-radius: var(--r-pill); background: rgba(43, 15, 31, .82); color: var(--on-night); font-size: .8125rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }

.fbr-ph { position: absolute; inset: 0; display: grid; place-items: end start; padding: 12px; background-color: #8A5A44; background-image: radial-gradient(circle at 28% 30%, rgba(255, 236, 214, .32), transparent 58%); transition: transform .35s ease; }
.fbr-ph > span { padding: 5px 11px; border-radius: var(--r-pill); background: rgba(43, 15, 31, .72); color: var(--on-night); font-size: .6875rem; font-weight: 600; letter-spacing: .04em; white-space: nowrap; }
.fbr-arch .fbr-ph, .fbr-round .fbr-ph, .fbr-still-frame .fbr-ph, .fbr-player .fbr-ph { place-items: center; }
.fbr-ph--2 { background-color: #5F6B58; }
.fbr-ph--3 { background-color: #7B2D3E; }
.fbr-ph--4 { background-color: #B08B70; }
.fbr-ph--5 { background-color: #9A5646; }
.fbr-ph--6 { background-color: #94788A; }
.fbr-ph--7 { background-color: #4D3B41; }

/* Play disc and padlock, drawn in CSS so a tile needs no icon file. */
.fbr-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(255, 245, 238, .94); box-shadow: 0 6px 18px rgba(43, 15, 31, .32); transition: transform .2s ease; }
.fbr-play::after { content: ""; position: absolute; left: 25px; top: 20px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--berry); }
.fbr-play--lg { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
.fbr-play--lg::after { left: 38px; top: 30px; border-width: 18px 0 18px 28px; }
.fbr-lock { position: relative; display: block; width: 22px; height: 16px; margin-top: 10px; border-radius: 5px; background: currentColor; }
.fbr-lock::before { content: ""; position: absolute; left: 4px; top: -10px; width: 14px; height: 14px; border: 3px solid currentColor; border-bottom: 0; border-radius: 7px 7px 0 0; }
/* The veil over a picture a visitor may not open. Decoration only: the server
   has already chosen the greyed image and decides access. Its floor is .62,
   not the handoff's .58: the caption is 12px text, and over a white picture
   .58 leaves it at 4.1:1, under AA (test_contrast.py measures the worst case). */
.fbr-lockveil { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; background: rgba(43, 15, 31, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--on-night); font-size: .75rem; font-weight: 700; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase; text-align: center; }

/* ===== Tiles ============================================================= */
.fbr-tile { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.fbr-tile:hover,
.fbr-tile:focus-visible { color: var(--ink); }
.fbr-tile:hover .fbr-media > img, .fbr-tile:hover .fbr-ph,
.fbr-tile:focus-visible .fbr-media > img,
.fbr-tile:focus-visible .fbr-ph { transform: scale(1.04); }
.fbr-tile:hover .fbr-play,
.fbr-tile:focus-visible .fbr-play { transform: scale(1.08); }
.fbr-tile:hover .fbr-tile-title,
.fbr-tile:focus-visible .fbr-tile-title { color: var(--berry); }
.fbr-tile-title { margin-top: 12px; font-family: var(--display); font-variation-settings: var(--soft); font-weight: 800; font-size: 1.25rem; line-height: 1.2; letter-spacing: -.01em; }
.fbr-tile-meta { margin-top: 4px; font-size: .8125rem; line-height: 1.4; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.fbr-night .fbr-tile, .fbr-page--night .fbr-tile { color: var(--on-night); }
.fbr-night .fbr-tile-meta, .fbr-page--night .fbr-tile-meta { color: var(--on-night-2); }
.fbr-empty { grid-column: 1 / -1; padding: 48px 24px; border-radius: var(--r-lg); background: var(--cream-2); text-align: center; font-family: var(--display); font-variation-settings: var(--soft); font-style: italic; font-size: 1.5rem; color: var(--ink-2); }

/* ===== Home: hero ======================================================== */
.fbr-hero { display: grid; align-items: center; gap: 40px 56px; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); padding-top: 56px; padding-bottom: 24px; }
.fbr-hero h1 { font-size: clamp(3rem, 6.4vw, 5.5rem); line-height: .96; }
.fbr-hero-copy { max-width: 34em; margin: 24px 0 32px; font-size: 1.1875rem; color: var(--ink-2); }
.fbr-hero-note { margin: 22px 0 0; font-size: .9375rem; color: var(--ink-2); }
.fbr-hero-art { position: relative; height: 560px; }
.fbr-hero-art::before { content: ""; position: absolute; right: -24px; top: 24px; width: 500px; height: 500px; border-radius: 50%; background: var(--blush); }
.fbr-arch { position: absolute; right: 44px; top: 0; width: 400px; height: 540px; overflow: hidden; border-radius: 200px 200px 36px 36px; box-shadow: var(--shadow); background: var(--blush); }
.fbr-round { position: absolute; left: 0; bottom: 0; width: 224px; height: 224px; overflow: hidden; border-radius: 50%; border: 8px solid var(--cream); background: var(--blush); }
.fbr-arch > img, .fbr-arch > video, .fbr-round > img { width: 100%; height: 100%; object-fit: cover; }
.fbr-sticker { position: absolute; right: 0; top: 40px; display: grid; place-items: center; width: 132px; height: 132px; padding: 12px; border-radius: 50%; background: var(--peach); color: var(--ink); box-shadow: 0 5px 0 var(--peach-deep); transform: rotate(10deg); text-align: center; font-family: var(--display); font-variation-settings: var(--soft); font-style: italic; font-weight: 800; font-size: 1.1875rem; line-height: 1.1; }

/* ===== Member home: the greeting ======================================== */
.fbr-greeting { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: 56px; }
.fbr-greeting p { margin: 12px 0 0; font-size: 1.125rem; color: var(--ink-2); }
/* The text column grows from a 480px basis and the card from 360px: with the
   48px gap that is 888px, inside the desktop wrap, so the card sits beside the
   greeting as in the handoff whatever the hour's salutation makes the heading's
   length; a narrower screen wraps the card under it. Without a basis the heading's
   max-content width decided, and a long greeting pushed the card to its own row. */
.fbr-greeting > div:first-child { flex: 1 1 480px; min-width: 0; }
.fbr-greeting .fbr-card { flex: 0 1 360px; }
.fbr-greeting .fbr-card p { margin: 4px 0 12px; font-size: .9375rem; }
.fbr-greeting .fbr-card a { font-weight: 700; }

/* ===== Home: the three collections ====================================== */
.fbr-strands { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.fbr-strand { display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-xl); background: var(--cream-2); color: var(--ink); text-decoration: none; transition: transform .2s ease; }
.fbr-strand:hover,
.fbr-strand:focus-visible { transform: translateY(-4px); color: var(--ink); }
.fbr-strand--blush { background: var(--blush); }
.fbr-strand--berry { background: var(--berry); color: var(--cream); }
.fbr-strand--berry:hover,
.fbr-strand--berry:focus-visible { color: var(--cream); }
.fbr-strand h3 { margin: 0 0 12px; font-size: 2rem; }
.fbr-strand p { margin: 0 0 20px; }
.fbr-strand-more { margin-top: auto; font-weight: 700; }
.fbr-strand--berry .fbr-strand-no { opacity: 1; }
.fbr-strand-no { margin-bottom: 14px; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }

/* ===== Cards (stories on home and member home, the member status) ======= */
.fbr-cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.fbr-card { display: flex; flex-direction: column; padding: 32px; border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; }
a.fbr-card:hover,
a.fbr-card:focus-visible { color: var(--ink); box-shadow: inset 0 0 0 2px var(--berry); }
.fbr-card .fbr-kicker { margin-bottom: 10px; }
.fbr-card-title { font-family: var(--display); font-variation-settings: var(--soft); font-weight: 800; font-size: 1.625rem; line-height: 1.15; letter-spacing: -.01em; }
.fbr-card-dek { margin-top: 8px; font-family: var(--display); font-variation-settings: var(--soft); font-style: italic; font-size: 1.125rem; line-height: 1.35; color: var(--ink-2); }
.fbr-card-text { margin: 12px 0 16px; color: var(--ink-2); }
.fbr-card-meta { margin-top: auto; font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.fbr-card--soft { background: var(--cream-2); box-shadow: none; padding: 24px 28px; border-radius: var(--r-lg); }

/* ===== The join band ===================================================== */
.fbr-band { position: relative; margin-top: 96px; padding: 72px 0 64px; background: var(--berry); color: var(--cream); text-align: center; }
.fbr-band::before {
    content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 28px;
    background: radial-gradient(circle at 14px 14px, var(--berry) 14px, transparent 14.5px) repeat-x;
    background-size: 28px 28px;
}
.fbr-band h2 { max-width: 18ch; margin: 0 auto 16px; font-size: clamp(2.25rem, 4.4vw, 3.5rem); }
.fbr-band h2 em { color: var(--peach); }
.fbr-band p { max-width: 56ch; margin: 0 auto 28px; font-size: 1.125rem; }
.fbr-band a:not(.fbr-btn) { color: var(--cream); font-weight: 600; }
.fbr-band .fbr-band-alt { margin: 20px auto 0; font-size: 1rem; }
/* When the band is the last thing before the footer, the two close up. */
.fbr-main--band { flex: 1 0 auto; display: flex; flex-direction: column; }
.fbr-main--band > .fbr-band { margin-top: auto; }
.fbr-main--band > :nth-last-child(2) { margin-bottom: 96px; }
.fbr-main--band + .fbr-footer { --foot-gap: 0px; background-color: var(--berry); }

/* A quieter in-page band (the gallery gate, index pages). */
.fbr-gate { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 56px; padding: 40px 44px; border-radius: var(--r-xl); background: var(--blush); }
.fbr-gate h2 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); }
.fbr-gate p { margin: 8px 0 0; color: var(--ink-2); }

/* ===== Index pages ======================================================= */
.fbr-page-head { padding-top: 56px; padding-bottom: 32px; }
.fbr-page-head h1 { margin-bottom: 12px; }
.fbr-page-head p { max-width: 62ch; margin: 0; font-size: 1.0625rem; color: var(--ink-2); }
.fbr-filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 32px; }
.fbr-filter-note { font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.fbr-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--r-lg); background: var(--cream-2); }
.fbr-seg a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); color: var(--ink); font-weight: 600; font-size: .9375rem; text-decoration: none; }
.fbr-seg a:hover,
.fbr-seg a:focus-visible { background: var(--blush); color: var(--ink); }
.fbr-seg a[aria-current="true"] { background: var(--ink); color: var(--cream); }
.fbr-more { display: flex; justify-content: center; margin-top: 40px; }

.fbr-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 28px 0 20px; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.fbr-breadcrumb a { text-decoration: none; }
.fbr-breadcrumb a:hover,
.fbr-breadcrumb a:focus-visible { text-decoration: underline; }
.fbr-breadcrumb .sep { opacity: .5; }
.fbr-night .fbr-breadcrumb, .fbr-page--night .fbr-breadcrumb { color: var(--on-night-2); }
.fbr-night .fbr-breadcrumb a, .fbr-page--night .fbr-breadcrumb a { color: var(--peach); }

/* A lead item on an index page: one big picture beside its words. */
.fbr-lead { display: grid; align-items: center; gap: 32px 48px; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); margin-bottom: 56px; color: var(--ink); text-decoration: none; }
.fbr-lead:hover,
.fbr-lead:focus-visible { color: var(--ink); }
.fbr-lead:hover .fbr-lead-title,
.fbr-lead:focus-visible .fbr-lead-title { color: var(--berry); }
.fbr-lead-title { display: block; margin: 0 0 12px; font-family: var(--display); font-variation-settings: var(--soft); font-weight: 900; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; letter-spacing: -.015em; }
.fbr-lead-dek { display: block; margin: 0 0 14px; font-family: var(--display); font-variation-settings: var(--soft); font-style: italic; font-size: 1.3125rem; line-height: 1.35; color: var(--ink-2); }
.fbr-lead-text { display: block; margin: 0 0 16px; color: var(--ink-2); }
.fbr-lead-meta { display: block; font-size: .875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* ===== Detail pages: a gallery, a video ================================= */
.fbr-detail { display: grid; align-items: center; gap: 32px 56px; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); padding-bottom: 56px; }
.fbr-detail h1 { margin-bottom: 12px; font-size: clamp(2.25rem, 4.4vw, 3.75rem); }
.fbr-detail-cast { margin: 0 0 6px; font-family: var(--display); font-variation-settings: var(--soft); font-style: italic; font-size: 1.25rem; }
.fbr-detail-meta { margin: 0 0 20px; font-size: .9375rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.fbr-detail .lead, .fbr-video-info .lead { margin: 0 0 20px; color: var(--ink-2); }
.fbr-detail .fbr-rating { margin-bottom: 24px; }

.fbr-thumb { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-md); background: var(--blush); }
.fbr-thumb > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.fbr-thumb:hover .fbr-ph, .fbr-thumb:hover > img,
.fbr-thumb:focus-visible .fbr-ph,
.fbr-thumb:focus-visible > img { transform: scale(1.05); }
.fbr-thumb-no { position: absolute; left: 10px; bottom: 10px; display: grid; place-items: center; min-width: 28px; height: 28px; padding: 0 8px; border-radius: var(--r-pill); background: rgba(43, 15, 31, .78); color: var(--on-night); font-size: .75rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ===== The stage: one photo, one video ================================== */
.fbr-night { background: var(--night); color: var(--on-night); }
.fbr-night a:not(.fbr-btn), .fbr-page--night main a:not(.fbr-btn) { color: var(--peach); }
.fbr-page--night main { color: var(--on-night); }
.fbr-page--night .fbr-footer { --foot-gap: 72px; }
.fbr-page--night .fbr-footer::before { top: calc(var(--foot-gap) + 14px); height: 1px; background: var(--night-line); }

.fbr-still { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-bottom: 56px; text-align: center; }
.fbr-still-title { font-size: 1.75rem; font-weight: 800; }
.fbr-still-title span { color: var(--on-night-2); font-weight: 500; }
.fbr-still-frame { width: 100%; max-width: 960px; }
.fbr-still-frame .fbr-media, .fbr-still-plate { border-radius: var(--r-lg); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
/* Production: the decoy pattern. The <img> is the transparent plate.png and
   the photo is its background, sized by the still's own aspect ratio. */
.fbr-still-plate { display: block; width: auto; max-width: 100%; max-height: 78vh; margin: 0 auto; background-size: cover; background-position: center; }
.fbr-still-caption { max-width: 52ch; margin: 0; font-family: var(--display); font-variation-settings: var(--soft); font-style: italic; font-size: 1.25rem; color: var(--on-night-2); }
.fbr-progress { width: min(560px, 100%); height: 8px; overflow: hidden; border-radius: var(--r-pill); background: var(--night-line); }
.fbr-progress > span { display: block; height: 100%; border-radius: inherit; background: var(--peach); }
.fbr-still-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; }
.fbr-still-counter { min-width: 5.5em; font-family: var(--display); font-variation-settings: var(--soft); font-weight: 800; font-size: 1.375rem; font-variant-numeric: tabular-nums; }

.fbr-stage { padding-bottom: 48px; }
.fbr-player { position: relative; overflow: hidden; max-width: 1080px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--r-lg); background: #000; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.fbr-player > video, .fbr-player > img { width: 100%; height: 100%; object-fit: cover; }
.fbr-player .fbr-lockveil { gap: 16px; font-size: .8125rem; }
.fbr-player-line { max-width: 24ch; font-family: var(--display); font-variation-settings: var(--soft); font-style: italic; font-weight: 600; font-size: 1.75rem; line-height: 1.2; letter-spacing: 0; text-transform: none; }

.fbr-video-info { display: grid; align-items: start; gap: 32px 56px; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); padding-top: 48px; }
.fbr-video-info h1 { margin-bottom: 12px; font-size: clamp(2.25rem, 4.4vw, 3.75rem); }
.fbr-access { padding: 28px; border-radius: var(--r-xl); background: var(--cream-2); }
.fbr-access h2 { margin-bottom: 10px; font-size: 1.75rem; }
.fbr-access p { margin: 0 0 20px; color: var(--ink-2); }
.fbr-access .fbr-btn + .fbr-btn { margin-top: 14px; }
.fbr-access .fineprint { margin: 18px 0 0; font-size: .875rem; }
.fbr-price { font-variant-numeric: tabular-nums; }
/* The rest of the movie page's states, inside the same panel. */
.fbr-access-label { margin: 22px 0 10px; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--berry); }
.fbr-buy-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.fbr-buy-list .fineprint { display: block; margin: 8px 0 0; text-align: center; }
.fbr-access .fineprint { color: var(--ink-2); }
.fbr-state { display: inline-flex; align-items: center; min-height: 44px; margin: 0 0 12px; padding: 0 18px; border-radius: var(--r-pill); background: var(--berry-soft); color: var(--berry-deep); font-weight: 700; }
.fbr-video-copy { max-width: 68ch; padding-top: 40px; }
.fbr-video-copy .fbr-film-data { font-size: .875rem; color: var(--ink-2); }

/* ===== Stories =========================================================== */
.fbr-story-list { display: grid; gap: 0 56px; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); }
.fbr-story-row { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.fbr-story-row:hover,
.fbr-story-row:focus-visible { color: var(--ink); }
.fbr-story-row:hover .fbr-story-row-title,
.fbr-story-row:focus-visible .fbr-story-row-title { color: var(--berry); }
.fbr-story-row .fbr-media { border-radius: 50%; }
.fbr-story-row-title { display: block; font-family: var(--display); font-variation-settings: var(--soft); font-weight: 800; font-size: 1.4375rem; line-height: 1.15; letter-spacing: -.01em; }
.fbr-story-row-dek { display: block; margin-top: 4px; font-family: var(--display); font-variation-settings: var(--soft); font-style: italic; color: var(--ink-2); }
.fbr-story-row-meta { display: block; margin-top: 8px; font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.fbr-story-head { max-width: 760px; margin: 0 auto 40px; text-align: center; }
.fbr-story-head .fbr-kicker { margin-bottom: 16px; }
.fbr-story-head h1 { font-size: clamp(2.75rem, 5.4vw, 4.5rem); }
.fbr-story-dek { margin: 16px 0; font-family: var(--display); font-variation-settings: var(--soft); font-style: italic; font-size: 1.5rem; line-height: 1.35; color: var(--ink-2); }
.fbr-story-byline { margin: 0; font-size: .9375rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.fbr-story-lead { max-width: 880px; margin: 0 auto 40px; }
.fbr-story-lead figcaption, figure.spot figcaption { margin-top: 8px; font-size: .8125rem; font-style: italic; color: var(--ink-2); }
.fbr-story-lead figcaption { text-align: right; }

/* The story body renders straight into this article, so the drop cap and the
   spot illustrations key off it directly. */
.fbr-story { display: flow-root; max-width: 680px; margin: 0 auto; font-family: var(--display); font-variation-settings: "SOFT" 50, "WONK" 0; font-size: 1.1875rem; line-height: 1.75; }
.fbr-story > p { margin: 0 0 1.1em; hyphens: auto; }
.fbr-story > p:first-of-type::first-letter { float: left; padding: 8px 12px 0 0; font-variation-settings: var(--soft); font-weight: 900; font-size: 5.4rem; line-height: .78; color: var(--berry); }
.fbr-story hr { clear: both; width: 36px; height: 10px; margin: 2.2em auto; border: 0; background: radial-gradient(circle at 5px 5px, var(--peach) 5px, transparent 5.5px), radial-gradient(circle at 31px 5px, var(--berry) 5px, transparent 5.5px); }
.fbr-story > p:last-of-type::after { content: ""; display: inline-block; width: 22px; height: 9px; margin-left: 10px; background: radial-gradient(circle at 4.5px 4.5px, var(--peach) 4.5px, transparent 5px), radial-gradient(circle at 17px 4.5px, var(--berry) 4.5px, transparent 5px); }
figure.spot { float: right; width: min(260px, 46%); margin: 6px 0 16px 28px; }
figure.spot img, figure.spot .fbr-media { border-radius: var(--r-lg); }
.fbr-story-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; max-width: 680px; margin: 40px auto 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); clear: both; }
.fbr-story-next { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); max-width: 680px; margin: 32px auto 0; }
.fbr-story-next a { display: block; padding: 20px 24px; border-radius: var(--r-lg); background: var(--cream-2); color: var(--ink); text-decoration: none; }
.fbr-story-next a:hover,
.fbr-story-next a:focus-visible { background: var(--blush); color: var(--ink); }
.fbr-story-next a + a { text-align: right; }
.fbr-story-next span { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--berry); }
.fbr-story-next strong { display: block; margin-top: 6px; font-family: var(--display); font-variation-settings: var(--soft); font-weight: 800; font-size: 1.3125rem; line-height: 1.2; }

/* ===== FORM CONTROLS (standard HTML components) ========================= */
label { font-size: .9375rem; font-weight: 600; color: var(--ink); }
input[type=text], input[type=email], input[type=password], input[type=search], input[type=tel],
input[type=url], input[type=number], input[type=date], select, textarea {
    display: block; width: 100%; min-height: 52px; padding: 12px 18px;
    border: 2px solid var(--field-line); border-radius: var(--r-lg);
    background: #fff; color: var(--ink);
    font: 500 1.0625rem/1.4 var(--ui);
    -webkit-appearance: none; appearance: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
input:hover, select:hover, textarea:hover,
input:focus-visible,
select:focus-visible,
textarea:focus-visible { border-color: var(--ink-2); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--berry); box-shadow: 0 0 0 4px var(--berry-soft); }
input::placeholder, textarea::placeholder { color: var(--ink-2); opacity: 1; font-weight: 400; }
textarea { min-height: 132px; border-radius: var(--r-md); resize: vertical; line-height: 1.6; }
/* A berry chevron drawn from two gradients. */
select {
    padding-right: 48px; cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, var(--berry) 50%), linear-gradient(135deg, var(--berry) 50%, transparent 50%);
    background-position: calc(100% - 25px) 50%, calc(100% - 18px) 50%;
    background-size: 7px 7px, 7px 7px;
    background-repeat: no-repeat;
}
input[type=radio], input[type=checkbox] {
    -webkit-appearance: none; appearance: none; flex: none;
    display: inline-grid; place-content: center;
    width: 24px; height: 24px; margin: 0 10px 0 0; vertical-align: -6px;
    border: 2px solid var(--field-line); background: #fff; cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}
input[type=radio] { border-radius: 50%; }
input[type=checkbox] { border-radius: 8px; }
input[type=radio]:hover, input[type=checkbox]:hover,
input[type=radio]:focus-visible,
input[type=checkbox]:focus-visible { border-color: var(--berry); }
input[type=radio]::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--berry); transform: scale(0); transition: transform .15s ease; }
input[type=radio]:checked { border-color: var(--berry); }
input[type=radio]:checked::before { transform: scale(1); }
input[type=checkbox]::before { content: ""; width: 12px; height: 7px; margin-top: -3px; border-left: 3px solid var(--cream); border-bottom: 3px solid var(--cream); transform: rotate(-45deg) scale(0); transition: transform .15s ease; }
input[type=checkbox]:checked { border-color: var(--berry); background: var(--berry); }
input[type=checkbox]:checked::before { transform: rotate(-45deg) scale(1); }
input[type=radio]:focus-visible, input[type=checkbox]:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; }
input[type=range] { width: 100%; height: 24px; margin: 0; accent-color: var(--berry); cursor: pointer; }
input[type=file] { font: 500 .9375rem/1.4 var(--ui); color: var(--ink-2); }
input[type=file]::file-selector-button { min-height: 44px; margin-right: 14px; padding: 0 20px; border: 2px solid var(--berry); border-radius: var(--r-pill); background: transparent; color: var(--berry); font: 700 .9375rem/1 var(--ui); cursor: pointer; }
fieldset { margin: 0 0 20px; padding: 20px 24px; border: 2px solid var(--line); border-radius: var(--r-lg); }
legend { padding: 0 10px; font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--berry); }
input:disabled, select:disabled, textarea:disabled { background: var(--cream-2); border-color: var(--line); color: var(--ink-2); cursor: not-allowed; }
.fbr-field { display: grid; gap: 8px; }
.fbr-check { display: flex; align-items: center; min-height: 44px; font-weight: 500; cursor: pointer; }

/* ===== SERVICE PAGES (peep-provided markup; dressed here) =============== */
/* -- Content wrappers: account, confirm, order, subscription, privacy, info. */
#page_content, #info_content { width: 100%; max-width: 900px; margin: 56px auto; padding: 0 var(--gutter); }
#page_content h1, #info_content h1 { font-size: clamp(2.25rem, 4.4vw, 3.5rem); margin-bottom: .4em; }
#page_content h2, #info_content h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 1.5em 0 .45em; }
#page_content > h2:first-child, #info_content > h2:first-child { margin-top: 0; }

/* -- Messages. */
ul.messages { list-style: none; margin: 0 0 26px; padding: 0; }
ul.messages li { margin-bottom: 10px; padding: 14px 20px; border-radius: var(--r-md); background: var(--berry-soft); color: var(--ink); font-weight: 500; }
ul.messages li.success { background: #E3F1E4; color: #17402A; }
ul.messages li.error, ul.messages li.warning { background: var(--error-soft); color: #6E130D; }

/* -- Login / register / password / TOTP / email-change cards. */
.login-register-form-container { width: 100%; max-width: 460px; margin: 56px auto; padding: 40px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow); }
.login-register-form-container h2 { margin-bottom: 24px; text-align: center; font-size: 2.125rem; }
.login-register-form-container p { font-size: 1rem; }
.login-register-form > div { margin-bottom: 16px; }
.login-register-form label { display: block; margin-bottom: 8px; }
.login-register-button-container, .join-button-container { margin-top: 24px; }
.login-register-button-container .button, .join-button-container .button { display: flex; width: 100%; }
.login-register-form-container > a { display: inline-block; margin-top: 20px; font-size: .9375rem; font-weight: 600; }
.small-note { font-size: .875rem; color: var(--ink-2); }
.checkout-login-page { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 28px; padding: 56px var(--gutter) 0; }
.checkout-login-page .login-register-form-container { margin: 0; flex: 1 1 360px; }
div.password-field { display: flex; align-items: center; gap: 8px; }
div.password-field > input { flex: 1 1 auto; }
div.password-field .password-toggle { color: var(--ink-2); cursor: pointer; }
div.password-field .password-toggle:hover,
div.password-field .password-toggle:focus-visible { color: var(--berry); }

/* -- Error states. .nope is on the offending input and on its message. */
input.nope, body .error input, body input.error { border-color: var(--error); background: var(--error-soft); box-shadow: none; }
p.nope, span.nope, p.point-out, span.point-out { color: var(--error); font-size: .9375rem; font-weight: 600; }
p.nope { margin: 8px 0 12px; }
p.error label, p label.error { color: var(--error); }

/* -- Cart and order tables (div#order, base_cart.html). */
body > div#order { width: 100%; max-width: 820px; margin: 56px auto; padding: 0 var(--gutter); border-top: 0; font-family: var(--ui); font-size: 1.0625rem; }
div#order h1 { text-align: center; }
div#order #page_content { max-width: none; margin: 0; padding: 0; }
div#order table { width: 100%; margin-top: 8px; border-collapse: collapse; }
div#order td { padding: 18px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
div#order td.orderline_description { width: auto; padding-right: 18px; font-weight: 600; }
div#order td.orderline_amount { width: auto; text-align: right; font-family: var(--display); font-variation-settings: var(--soft); font-weight: 800; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
div#order td.orderline_remove { width: 1%; padding-left: 14px; text-align: right; white-space: nowrap; }
div#order tr.orderline_payment td { color: var(--ink-2); }
div#order tr.orderline_total td { border-bottom: 0; font-size: 1.125rem; }
button.coupon-button { min-height: 44px; margin-left: 10px; padding: 0 22px; border: 2px solid var(--berry); border-radius: var(--r-pill); background: transparent; color: var(--berry); font: 700 .9375rem/1 var(--ui); cursor: pointer; }
button.coupon-button:hover,
button.coupon-button:focus-visible { background: var(--berry-soft); }
div#order #coupon_code { display: inline-block; width: auto; max-width: 240px; }
/* The cart's "Check Out >" links (checkout_links) are its call to action, so
   they wear the button (ported from emm.css). */
body > div#order #page_content > p > a {
    display: inline-flex; align-items: center; min-height: 52px; margin: 18px 0 6px; padding: 0 28px;
    border-radius: var(--r-pill); background: var(--berry); color: var(--cream);
    font-weight: 700; text-decoration: none; box-shadow: 0 5px 0 var(--berry-deep);
}
body > div#order #page_content > p > a:hover, body > div#order #page_content > p > a:focus-visible { background: var(--berry-deep); color: var(--cream); }
/* shipping.html and confirm.html put the same div#order inside a form card. */
.login-register-form-container div#order { width: auto; margin: 0; padding: 0; border-top: 0; font-family: var(--ui); font-size: 1rem; }
/* The add-to-cart confirmation (orders/add_to_cart.html, on the video page). */
div#add-to-cart { padding: 28px; border: 0; border-radius: var(--r-xl); background-color: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); font-family: var(--ui); font-size: 1.0625rem; text-align: center; }
div#add-to-cart .add-to-cart-message { margin: 0 0 20px; }
div#add-to-cart .add-to-cart-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
div#opaque { background-color: var(--night); opacity: .7; }

/* -- Checkout, shipping and address forms (#billing / #shipping /
      #payment-info), ported from emm.css and re-inked. orders.css sizes these
      by id for a 2010-era layout: #billing input (1,0,1) at a fixed 300px,
      radios floated 30px wide, the card-expiry table squeezed to 75px; the
      div# prefix out-ranks it. */
div#billing label, div#shipping label, div#payment-info label { font-size: 1rem; }
div#billing input[type=text],
div#shipping input[type=text],
div#payment-info input[type=text] { width: 100%; margin-bottom: 6px; font-size: 1.0625rem; font-weight: 500; }
div#billing input[type=radio],
div#shipping input[type=radio] { width: 24px; margin: 4px 10px 0 0; }
div#payment-info #card_number { width: 260px; }
div#payment-info #card_cvv { width: 96px; }
div#payment-info table#card_expiration { width: auto; font-size: .875rem; color: var(--ink-2); }
#card_expiration select { width: auto; }
.anticipated_descriptor { margin-top: 16px; font-size: .875rem; color: var(--ink-2); }
.membership-thanks-nav { margin-top: 22px; font-weight: 600; }
.membership-thanks-nav p { margin: 0 0 8px; }

/* -- Join (orders/join.html): radio cards in labels. */
.offer-page { width: 100%; max-width: 1080px; margin: 0 auto; padding: 64px var(--gutter) 24px; text-align: center; }
.offer-page-title { margin-bottom: 44px; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; }
.offer-cards { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 24px; }
.offer-card { position: relative; display: block; flex: 1 1 240px; max-width: 320px; padding: 36px 28px 32px; border: 2px solid var(--line); border-radius: var(--r-xl); background: #fff; text-align: center; cursor: pointer; transition: border-color .15s ease, transform .15s ease; }
.offer-card:hover,
.offer-card:has(:focus-visible) { border-color: var(--berry); transform: translateY(-3px); }
.offer-card input[type=radio] { position: absolute; top: 18px; right: 18px; margin: 0; }
.offer-card-selected, .offer-card:has(input[type=radio]:checked) { border-color: var(--berry); background: var(--berry-soft); box-shadow: 0 6px 0 var(--berry); }
.offer-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; height: 28px; padding: 0 14px; border-radius: var(--r-pill); background: var(--peach); color: var(--ink); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.offer-card-name { margin: 0 0 12px; font-size: 1.625rem; }
.offer-card-price { font-family: var(--display); font-variation-settings: var(--soft); font-weight: 900; font-size: 3.25rem; line-height: 1; color: var(--berry); font-variant-numeric: tabular-nums; }
.offer-card-regular { margin-top: 8px; font-size: .9375rem; color: var(--ink-2); }
.offer-card-sale-end { margin-top: 10px; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--berry-deep); }
.offer-card-description { margin-top: 16px; font-size: 1rem; font-weight: 400; line-height: 1.55; color: var(--ink-2); }
.offer-card-description p { margin: 0 0 .6em; }
.offer-card-description p:last-child { margin-bottom: 0; }
.offer-submit { margin-top: 40px; }
.offer-submit .join-button { min-width: 280px; min-height: 60px; font-size: 1.1875rem; }
.offer-login { margin-top: 20px; text-align: center; color: var(--ink-2); }

/* -- Age gate (info/age_page.html shell + service/age_splash.html). */
body.age-page,
body.coming-soon-page {
    align-items: center; justify-content: center; min-height: 100vh; padding: 48px 20px; text-align: center; color: var(--ink);
    /* The two rounds, drawn as backgrounds so nothing overflows a narrow screen. */
    background:
        radial-gradient(circle 310px at calc(50% - 330px) calc(50% - 50px), var(--berry) 309.5px, transparent 310px),
        radial-gradient(circle 310px at calc(50% + 330px) calc(50% + 50px), var(--peach) 309.5px, transparent 310px),
        var(--night);
}
#age_page { width: 100%; max-width: 580px; margin: 0 auto; }
.age-splash { padding: 48px clamp(24px, 6vw, 56px) 40px; border-radius: var(--r-xl); background: var(--cream); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.age-splash .fbr-logo { display: flex; justify-content: center; margin-bottom: 20px; }
.age-splash-kicker { display: inline-flex; align-items: center; height: 30px; margin: 0 0 18px; padding: 0 14px; border-radius: var(--r-pill); background: var(--ink); color: var(--cream); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.age-splash h1 { font-size: clamp(2.25rem, 6vw, 3.25rem); }
.age-splash-copy { max-width: 42ch; margin: 16px auto 0; color: var(--ink-2); }
.age-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 28px; }
.age-cta, a.age-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 36px; border-radius: var(--r-pill); background: var(--berry); color: var(--cream); font-weight: 700; font-size: 1.1875rem; text-decoration: none; box-shadow: 0 5px 0 var(--berry-deep); transition: transform .12s ease, box-shadow .12s ease; }
a.age-cta:hover,
a.age-cta:focus-visible { background: var(--berry-deep); color: var(--cream); }
a.age-cta:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--berry-deep); }
.age-leave, a.age-leave { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; font-weight: 600; color: var(--ink-2); }
#age_page .age-legal { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--ink-2); }
#age_page .age-legal a { color: var(--ink-2); }
.age-ccpa { margin: 20px auto 0; font-size: .8125rem; }
body.age-page .age-ccpa a, .age-page .age-ccpa a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill); background: rgba(43, 15, 31, .86); color: var(--on-night-2); font-size: .8125rem; font-weight: 500; }
body.age-page .age-ccpa a:hover, .age-page .age-ccpa a:hover,
body.age-page .age-ccpa a:focus-visible,
.age-page .age-ccpa a:focus-visible { color: var(--on-night); }

/* -- Error pages and the pre-launch page. */
#error_page { max-width: 640px; margin: 0 auto; padding: 96px var(--gutter); text-align: center; }
#error_page .error-code { margin: 0 0 .1em; font-family: var(--display); font-variation-settings: var(--soft); font-weight: 900; font-size: 7rem; line-height: 1; color: var(--berry); }
#error_page p:not(.error-code) { font-size: 1.1875rem; color: var(--ink-2); }
#error_page h1 { margin-bottom: .4em; font-size: clamp(2rem, 4.4vw, 3rem); }
#error_page .button { margin-top: 12px; }
/* The pre-launch page takes the age gate's composition: night ground, the two
   rounds, one cream card. */
body.coming-soon-page { padding-top: 0; }
.coming-soon-page .fbr-masthead { align-self: stretch; margin: 0 -20px auto; background: transparent; }
.coming-soon-page .fbr-masthead .fbr-logo, .coming-soon-page .fbr-masthead a { color: var(--on-night); }
.coming-soon-page .fbr-masthead .fbr-logo-name em { color: var(--peach); }
.coming-soon-page .fbr-masthead a:hover,
.coming-soon-page .fbr-masthead a:focus-visible { background: var(--night-2); }
#coming_soon { width: 100%; max-width: 600px; margin: 32px auto auto; }
.coming-card { padding: 48px clamp(24px, 6vw, 56px) 40px; border-radius: var(--r-xl); background: var(--cream); box-shadow: 0 30px 80px rgba(0, 0, 0, .4); }
.coming-kicker { display: inline-flex; align-items: center; height: 30px; margin: 0 0 18px; padding: 0 14px; border-radius: var(--r-pill); background: var(--ink); color: var(--cream); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.coming-title { font-size: clamp(2.5rem, 7vw, 3.75rem); }
.coming-copy { max-width: 44ch; margin: 16px auto 0; color: var(--ink-2); }
.coming-signup { margin-top: 28px; text-align: left; }
.coming-signup-label { display: block; margin-bottom: 8px; }
.coming-field { display: flex; flex-wrap: wrap; gap: 12px; }
.coming-field input[type=email] { flex: 1 1 220px; width: auto; }
.coming-consent { display: flex; align-items: flex-start; margin: 16px 0 0; font-weight: 500; cursor: pointer; }
.coming-consent input[type=checkbox] { margin-top: 1px; }
.coming-fineprint { margin: 14px 0 0; font-size: .875rem; color: var(--ink-2); }
.coming-footer { padding: 20px 0 0; text-align: center; }
.coming-footer p { margin: 0 auto; padding: 12px 18px; border-radius: var(--r-md); background: rgba(43, 15, 31, .86); font-size: .8125rem; color: var(--on-night-2); }

/* -- Auth-server login card (LOGIN_STYLESHEETS['fbr']). */
#logo.auth-wordmark { font-family: var(--display); font-variation-settings: var(--soft); font-weight: 900; font-size: 34px; line-height: 1.1; letter-spacing: -.02em; text-align: center; color: var(--ink); }
main.auth-server .login-register-form-container { margin: 0 .75rem 1.5rem; }

/* -- Members' hub (backstage). backstage_base.html fills base.html's
      logo_addition with span.backstage_logo, a hub link beside the logo. The
      handoff's masthead has no such badge: the account nav's Members link is
      the way in, so fbr hides the shared span rather than forking the
      template that injects it (fbr/tests/test_members_label.py).
      fbr's shadows of backstage_home.html and backstage_items.html lay each
      list out as a .fbr-hub-grid of div.movieminimal cards under the site's
      page head; the card is backstage's own class, drawn here as the handoff's
      white story card with the picture on top. No mockup covers these pages,
      so they borrow member-home.html's sections and components.html's cards. */
.backstage_logo { display: none; }
.fbr-hub { padding-bottom: 24px; }
.fbr-hub-grid { display: grid; gap: 32px 24px; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
div.movieminimal { display: flex; flex-direction: column; overflow: hidden; padding-bottom: 20px; border-radius: var(--r-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
/* The picture leads the card although the shared markup puts the title first:
   reordered here, because the tag order is pinned to backstage's file. */
div.movieminimal > a:first-child { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
div.movieminimal img { order: -1; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 28%; background: var(--blush); }
div.movieminimal > p:first-child,
div.movieminimal > a:first-child > p { margin: 16px 20px 4px; font-family: var(--display); font-variation-settings: var(--soft); font-weight: 800; font-size: 1.25rem; line-height: 1.2; }
div.movieminimal > a:first-child:hover > p,
div.movieminimal > a:first-child:focus-visible > p { color: var(--berry); }
.movieminimal-status { align-self: flex-start; display: inline-flex; align-items: center; min-height: 32px; margin: 4px 20px 0; font-size: .875rem; font-weight: 700; text-decoration: none; }
.movieminimal-status:hover,
.movieminimal-status:focus-visible { text-decoration: underline; }
.movieminimal-meta { margin: 2px 20px 0; font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.movieminimal-text { margin: 8px 20px 0; font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.movieminimal-text p { margin: 0 0 .5em; }
.movieminimal-text p:last-child { margin-bottom: 0; }
.movieminimal-text.is-quote { font-family: var(--display); font-variation-settings: var(--soft); font-style: italic; font-size: 1.0625rem; }

/* -- Your videos (/account/movies, fbr's customer_movies.html): a reading-width
      list of rows, title left and purchase date right, then the shared
      "from our other sites" disclosure. */
.fbr-wrap.fbr-shelf { max-width: 960px; padding-bottom: 24px; }
.fbr-shelf-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.fbr-shelf-list li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.fbr-shelf-list a { font-family: var(--display); font-variation-settings: var(--soft); font-weight: 800; font-size: 1.375rem; line-height: 1.2; color: var(--ink); text-decoration: none; }
.fbr-shelf-list a:hover,
.fbr-shelf-list a:focus-visible { color: var(--berry); text-decoration: underline; }
.fbr-shelf-date { font-size: .875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.fbr-shelf-list .fbr-shelf-empty { font-family: var(--display); font-variation-settings: var(--soft); font-style: italic; font-size: 1.25rem; color: var(--ink-2); }
.other-site-movies { margin-top: 40px; padding: 20px 28px; border-radius: var(--r-lg); background: var(--cream-2); }
.other-site-movies summary { min-height: 44px; padding-top: 10px; font-weight: 700; cursor: pointer; }
.other-site-movies h3 { margin: 16px 0 8px; font-size: 1.25rem; }
.other-site-movies ul { margin: 0; padding-left: 1.2em; }

/* ===== Responsive ======================================================== */
@media (max-width: 720px) {
    div#payment-info #card_number { width: 100%; }
    body { font-size: 16px; }
    /* Header: the logo takes the first row (Join sits at its right), the
       section links and the account links share the next. */
    .fbr-masthead { position: relative; gap: 0 4px; padding-top: 12px; padding-bottom: 8px; }
    .fbr-logo { flex-basis: 100%; }
    .fbr-logo-name { font-size: 1.375rem; }
    .fbr-nav { order: 2; flex: 0 1 auto; overflow-x: auto; }
    .fbr-nav ul { flex-wrap: nowrap; }
    .fbr-usernav { order: 3; margin-left: auto; }
    .fbr-nav a, .fbr-usernav a, .fbr-usernav .nav-signout { padding: 0 10px; font-size: .9375rem; }
    .fbr-usernav .nav-join { position: absolute; top: 14px; right: var(--gutter); margin: 0; }
    .fbr-usernav .nav-join a { padding: 0 18px; }
    /* A locked player grows to fit its message instead of clipping it. */
    .fbr-player:has(.fbr-lockveil) { aspect-ratio: auto; }
    .fbr-player:has(.fbr-lockveil) > img { position: absolute; inset: 0; }
    .fbr-player .fbr-lockveil { position: relative; padding: 32px 16px; }
    .fbr-player-line { font-size: 1.375rem; }
    .fbr-section { padding-top: 56px; }
    .fbr-hero-art { height: 440px; }
    .fbr-hero-art::before { width: 340px; height: 340px; right: -16px; }
    .fbr-arch { right: 16px; width: 270px; height: 400px; border-radius: 135px 135px 28px 28px; }
    .fbr-round { width: 150px; height: 150px; border-width: 6px; }
    .fbr-sticker { width: 104px; height: 104px; font-size: .9375rem; }
    .fbr-gate { padding: 28px 24px; }
    .fbr-story-row { grid-template-columns: 84px 1fr; gap: 16px; }
    .fbr-footer nav ul { justify-content: flex-start; }
    .login-register-form-container { padding: 28px 22px; }
    figure.spot { float: none; width: 100%; margin: 1.5em 0; }
    .fbr-story { font-size: 1.125rem; }
}

/* ===== Reduced motion ==================================================== */
/* The transitions stop, and so does every hover, focus and press movement:
   without the second rule a zoom or a lift would still jump, only faster.
   Every state transform outside this block must be named here
   (test_dress.py). */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .fbr-btn:active, .button:active, a.button:active, button.button:active, input.button:active, a.age-cta:active,
    .fbr-tile:hover .fbr-media > img, .fbr-tile:hover .fbr-ph, .fbr-tile:focus-visible .fbr-media > img, .fbr-tile:focus-visible .fbr-ph,
    .fbr-tile:hover .fbr-play, .fbr-tile:focus-visible .fbr-play,
    .fbr-strand:hover, .fbr-strand:focus-visible,
    .fbr-thumb:hover .fbr-ph, .fbr-thumb:hover > img, .fbr-thumb:focus-visible .fbr-ph, .fbr-thumb:focus-visible > img,
    .offer-card:hover, .offer-card:has(:focus-visible),
    input[type=radio]:checked::before { transform: none; }
}
