/* Black Friday 2026: her paper world with two night bands. Ink and gold from DESIGN.md carry the night; clay stays the
   buy colour (buttons, the sale price, the 30%). One authored moment, the hero settling in; everything else is quiet. */
.bf-page { --night: #17120D; --moon: #E9D3B0; --moon-soft: rgba(251, 246, 236, 0.74); --stitch: rgba(110, 85, 24, 0.38); }
.bf-page .announce { display: none; }

/* the moment the page is in: before | early | open | after (set by the page script; before it runs, "before") */
body:not([data-bf-state]) [data-only]:not([data-only~="before"]),
body[data-bf-state="before"] [data-only]:not([data-only~="before"]),
body[data-bf-state="early"] [data-only]:not([data-only~="early"]),
body[data-bf-state="open"] [data-only]:not([data-only~="open"]),
body[data-bf-state="after"] [data-only]:not([data-only~="after"]) { display: none !important; }

.bf-ribbon { background: var(--gold); color: #FBF6EC; font-size: 0.8rem; text-align: center; padding: 7px var(--gutter); line-height: 1.4; }
.bf-ribbon b { letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.72rem; margin-right: 6px; }
.bf-announce { background: var(--night); color: var(--moon); font-size: 0.85rem; text-align: center; padding: 9px var(--gutter); letter-spacing: 0.02em; text-wrap: balance; }
.bf-announce span { opacity: 0.55; margin-inline: 6px; }
.bf-page em { font-style: italic; font-weight: 500; }

/* ---- hero: her photograph whole, then the night ---- */
.bf-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); background: var(--night); color: #FBF6EC; }
.bf-hero-media { margin: 0; position: relative; overflow: hidden; height: min(88vh, 900px); aspect-ratio: 3 / 4; max-width: 58vw; }   /* the whole photo: her legs are the point */
.bf-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bf-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 80px); max-width: 640px; }
.bf-hero h1 { font-size: clamp(2.9rem, 6vw, 5.4rem); font-weight: 600; line-height: 0.98; letter-spacing: -0.02em; margin: 0 0 26px; }
.bf-hero h1 em { display: block; color: var(--moon); }
.bf-lede { font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.6; color: var(--moon-soft); max-width: 38ch; margin: 0 0 30px; }
.bf-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.bf-ghost { border-color: rgba(251, 246, 236, 0.5); color: #FBF6EC; }
.bf-ghost:hover { background: rgba(251, 246, 236, 0.08); border-color: #FBF6EC; }
.bf-news { max-width: 460px; margin-top: 0; }
.bf-news button { white-space: nowrap; transition: background-color 160ms ease, transform 120ms var(--ease-out); }
.bf-news button:hover { background: var(--moon); }
.bf-news button:active { transform: scale(0.97); }
.bf-fine { font-size: 0.85rem; color: var(--moon-soft); margin: 12px 0 40px; }

.bf-days { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(6px, 1vw, 12px); }
.bf-days li { display: grid; place-items: center; align-content: center; gap: 2px; width: clamp(40px, 4.4vw, 58px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(233, 211, 176, 0.32); color: var(--moon-soft); }
.bf-days span { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; }
.bf-days b { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1; color: #FBF6EC; font-variant-numeric: lining-nums; }
.bf-days li.is-today { background: var(--moon); border-color: var(--moon); }
.bf-days li.is-today span, .bf-days li.is-today b { color: var(--night); }
.bf-days li.is-past { opacity: 0.36; }

/* ---- the offer, said once, in type; the collection as a woven label ---- */
.bf-offer { padding-block: clamp(56px, 7vw, 104px) clamp(48px, 6vw, 80px); }
.bf-statement { font-family: var(--serif); font-size: clamp(1.7rem, 3.3vw, 2.75rem); font-weight: 500; line-height: 1.22; letter-spacing: -0.01em;
  max-width: 34ch; margin: 0 0 clamp(28px, 3.5vw, 44px); text-wrap: pretty; }
.bf-statement b { font-weight: 600; color: var(--clay-deep); font-variant-numeric: lining-nums; }
.bf-label { display: inline-flex; flex-wrap: wrap; gap: 6px 22px; padding: 14px 22px; background: var(--paper-light); border: 1px solid var(--rule); border-radius: 3px;
  outline: 1px dashed var(--stitch); outline-offset: -6px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.bf-label span { white-space: nowrap; }
.bf-honest { margin: 22px 0 0; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }

/* ---- the set studio: pick, see it change, add both ---- */
.bf-sets-band { background: var(--parchment); padding-block: clamp(56px, 7vw, 104px); }
.bf-head { max-width: 50ch; margin-bottom: clamp(28px, 4vw, 52px); }
.bf-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.bf-head h2 em { color: var(--clay-deep); white-space: nowrap; }
.bf-head p { color: var(--ink-soft); margin: 0; }

.bf-studio { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.st-stage { position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4 / 5; }
.st-img { position: absolute; overflow: hidden; border-radius: 4px; background: var(--paper); opacity: 0; filter: blur(10px); scale: 1.02;
  transition: opacity 460ms var(--ease-out), filter 460ms var(--ease-out), scale 700ms var(--ease-out); }
.st-img.on { opacity: 1; filter: none; scale: 1; }
.st-img img { width: 100%; height: 100%; object-fit: cover; }
.st-b { inset: 0 20% 0 0; }
.st-t { right: 0; bottom: 7%; width: 44%; aspect-ratio: 4 / 5; box-shadow: 0 0 0 7px var(--parchment), 0 22px 40px -20px rgba(26, 21, 15, 0.5); z-index: 1; }

.st-panel { display: grid; gap: 22px; min-width: 0; }
.st-tabs { position: relative; display: flex; flex-wrap: wrap; gap: 2px; padding: 4px; background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; width: fit-content; max-width: 100%; }
.st-tabs button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 16px; min-height: 44px; border-radius: 999px; font-weight: 700; font-size: 0.88rem;
  color: var(--ink-soft); transition: color 200ms ease; }
.st-tabs button[aria-selected="true"] { color: var(--paper); }
.st-tabs button:active { scale: 0.97; }
.st-ind { position: absolute; z-index: 0; left: 0; top: 4px; bottom: 4px; border-radius: 999px; background: var(--ink);
  transition: transform 320ms var(--ease-out), width 320ms var(--ease-out); }
.st-pieces { border: 0; padding: 0; margin: 0 0 6px; min-width: 0; }
.st-pieces legend, .bf-sizes legend { padding: 0; margin-bottom: 8px; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; color: var(--ink-soft); }
.st-pieces > div { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 10px; }
.st-opt { display: grid; gap: 6px; cursor: pointer; align-content: start; }
.st-opt[hidden] { display: none; }
.st-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.st-thumb { display: block; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px var(--rule);
  transition: box-shadow 200ms ease, transform 160ms var(--ease-out); }
.st-thumb img { width: 100%; height: 100%; object-fit: cover; }
.st-name { font-size: 0.78rem; line-height: 1.3; color: var(--ink-soft); }
.st-opt input:checked + .st-thumb { box-shadow: 0 0 0 2px var(--ink); }
.st-opt input:checked ~ .st-name { color: var(--ink); font-weight: 700; }
.st-opt input:focus-visible + .st-thumb { box-shadow: 0 0 0 2px var(--gold), 0 0 0 5px rgba(110, 85, 24, 0.25); }
.st-opt:active .st-thumb { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .st-opt:hover .st-thumb { box-shadow: 0 0 0 1px var(--ink-soft); } }

.st-sizes { display: grid; gap: 14px; }
.st-last { margin: 8px 0 0; font-size: 0.82rem; font-weight: 700; color: var(--warn); }
.bf-sizes { border: 0; padding: 0; margin: 0; min-width: 0; }
.bf-sizes div { display: flex; flex-wrap: wrap; gap: 6px; }
.bf-sizes input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bf-sizes span { display: grid; place-items: center; min-width: 48px; min-height: 44px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 999px;
  background: var(--paper-light); font-size: 0.85rem; font-weight: 700; cursor: pointer; user-select: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 120ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .bf-sizes label:hover span { border-color: var(--ink); } }
.bf-sizes label:active span { transform: scale(0.96); }
.bf-sizes input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.bf-sizes input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.st-prices { display: grid; }
.st-price { grid-area: 1 / 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-weight: 700; font-variant-numeric: tabular-nums;
  opacity: 0; filter: blur(4px); translate: 0 4px; pointer-events: none; transition: opacity 260ms var(--ease-out), filter 260ms var(--ease-out), translate 260ms var(--ease-out); }
.st-price.on { opacity: 1; filter: none; translate: 0 0; pointer-events: auto; }
.st-price .now { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.6rem); font-weight: 600; color: var(--clay-deep); line-height: 1; }
.st-price s { color: var(--ink-soft); font-weight: 400; font-size: 1.05rem; }
.st-price .keep { width: 100%; font-size: 0.9rem; font-weight: 700; color: var(--ok); }
.st-add .btn { min-height: 56px; font-size: 1rem; transition: background-color 200ms ease, border-color 200ms ease, transform 140ms var(--ease-out); }
.st-add .btn:not([disabled]):active { transform: scale(0.97); }
.bf-studio.is-added .st-add .btn { background: var(--ok); border-color: var(--ok); }
.st-before p { margin: 0 0 12px; color: var(--ink-soft); }
.st-before .news input { background: var(--paper-light); border-color: var(--rule); color: var(--ink); }
.st-before .news input::placeholder { color: #8A7C66; }
.st-before .news button { background: var(--ink); color: var(--paper); }
.st-trust { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 8px; font-size: 0.88rem; color: var(--ink-soft); }
.st-trust li { display: flex; gap: 10px; align-items: baseline; }
.st-trust li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); translate: 0 -2px; }
html:not([data-europe="1"]) [data-eu-only] { display: none; }

/* ---- her words, then theirs ---- */
.bf-words { background: var(--paper-light); border-block: 1px solid var(--rule); padding-block: clamp(56px, 8vw, 112px); }
.bf-hers { margin: 0 auto clamp(40px, 5vw, 64px); max-width: 34ch; text-align: center; }
.bf-hers p { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.9rem); font-weight: 500; line-height: 1.18; margin: 0; text-wrap: balance; }
.bf-hers em { color: var(--gold); white-space: nowrap; }
.bf-hers footer { margin-top: 18px; font-size: 0.9rem; color: var(--ink-soft); }
.bf-hers footer a { color: var(--gold); font-weight: 700; }
.bf-voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.bf-voices figure { margin: 0; padding-top: 20px; border-top: 1px solid var(--rule); display: grid; gap: 10px; align-content: start; }
.bf-voices .stars { display: flex; gap: 2px; color: var(--gold); }
.bf-voices .stars svg { width: 14px; height: 14px; fill: currentColor; }
.bf-voices blockquote { margin: 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; }
.bf-voices figcaption { font-size: 0.85rem; color: var(--ink-soft); }
.bf-more-voices { margin: 32px 0 0; text-align: center; }

/* ---- the collection grid ---- */
.bf-badge { background: var(--night); color: var(--moon); font-weight: 700; letter-spacing: 0.02em; }
.bf-price .now { font-size: 1rem; }
.bf-fabric { font-size: 0.8rem; color: var(--ink-soft); margin-top: -6px; }

/* ---- early access: the second night ---- */
.bf-early { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--night); color: #FBF6EC; }
.bf-early-media { position: relative; min-height: 460px; overflow: hidden; }
.bf-early-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.bf-early-copy { padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 80px); align-self: center; }
.bf-early h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); margin-bottom: 16px; }
.bf-early h2 em { display: block; color: var(--moon); }
.bf-early p { color: var(--moon-soft); max-width: 40ch; }

/* ---- questions ---- */
.bf-faq { max-width: 860px; }
.bf-faq h2 { margin-bottom: 20px; }
.bf-faq details { border-top: 1px solid var(--rule); }
.bf-faq details:last-child { border-bottom: 1px solid var(--rule); }
.bf-faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.bf-faq summary::-webkit-details-marker { display: none; }
.bf-faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; translate: 0 -50%;
  background: linear-gradient(var(--gold), var(--gold)) center / 12px 1.5px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 1.5px 12px no-repeat;
  transition: rotate 240ms var(--ease-out); }
.bf-faq details[open] summary::after { rotate: 45deg; }
.bf-faq details p { margin: -4px 0 22px; color: var(--ink-soft); max-width: 62ch; }

/* ---- notes for her yes ---- */
.bf-notes { margin-block: 0 clamp(56px, 7vw, 96px); padding: 24px clamp(20px, 3vw, 32px); border: 1px dashed var(--gold); border-radius: var(--radius); font-size: 0.95rem; }
.bf-notes h2 { font-family: var(--sans); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.bf-notes ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-soft); }

/* ---- phone dock: back to the sets once the hero has gone ---- */
.bf-dock { display: none; }
@media (max-width: 720px) {
  .bf-dock { display: block; position: fixed; z-index: 30; inset: auto 0 0; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: var(--paper-light); box-shadow: 0 -10px 30px -18px rgba(26, 21, 15, 0.5); translate: 0 110%; transition: translate 380ms var(--ease-drawer); }
  .bf-dock.is-on { translate: 0 0; }
}

/* the one authored moment: the photograph settles, the words follow; nothing for those who prefer stillness */
@media (prefers-reduced-motion: no-preference) {
  .bf-hero-media img { animation: bf-settle 1400ms var(--ease-out) both; }
  .bf-hero-copy > * { animation: bf-rise 900ms var(--ease-out) both; }
  .bf-hero-copy > :nth-child(2) { animation-delay: 70ms; } .bf-hero-copy > :nth-child(n+3) { animation-delay: 140ms; }
}
@media (prefers-reduced-motion: reduce) { .bf-dock { transition: none; } .bf-set-b, .bf-set-media img { transition: none; } }
@keyframes bf-settle { from { scale: 1.05; opacity: 0.55; filter: blur(6px); } to { scale: 1; opacity: 1; filter: none; } }
@keyframes bf-rise { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }

/* ---- tablet and phone ---- */
@media (max-width: 1100px) { .bf-sets { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .bf-hero { grid-template-columns: 1fr; }
  .bf-hero-media { height: auto; max-width: none; aspect-ratio: 1 / 1; }
  .bf-hero-media img { object-position: 50% 30%; }
  .bf-hero-copy { padding: 28px 20px 40px; max-width: none; }
  .bf-hero h1 { margin-bottom: 18px; }
  .bf-lede { margin-bottom: 22px; }
  .bf-cta { margin-bottom: 32px; }
  .bf-early { grid-template-columns: 1fr; }
  .bf-early-media { min-height: 0; aspect-ratio: 4 / 3; }
  .bf-voices { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .bf-sets { grid-template-columns: 1fr; }
  .bf-label { display: flex; padding: 12px 16px; }
  .bf-label { gap: 6px 16px; }
  .bf-days { justify-content: space-between; gap: 4px; }
  .bf-days span { font-size: 0.56rem; }
  .bf-days b { font-size: 1.05rem; }
  .bf-news { flex-direction: column; }
  .bf-news input { flex: none; }                                               /* stacked: keep its 50px, do not grow from 0 */
  .bf-news button { width: 100%; }
}

/* ---- scroll: her photo drifts slower than the page, sections arrive softly. The browser's own scroll timeline, no JS;
   nothing for reduced motion or browsers without it (they simply show everything). ---- */
@media (prefers-reduced-motion: no-preference) {
  html:has(.bf-page) { scroll-behavior: smooth; }
  @supports (animation-timeline: view()) {
    .bf-hero-media img { height: 112%; animation: bf-settle 1400ms var(--ease-out) both, bf-drift linear both; animation-timeline: auto, scroll(); animation-range: normal, 0 100vh; }
    .bf-early-media img { height: 116%; animation: bf-drift-in linear both; animation-timeline: view(); }
    .rv { animation: bf-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .bf-studio .st-stage { animation: bf-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    .bf-page .grid .card { animation: bf-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
  }
}
@keyframes bf-drift { from { translate: 0 0; } to { translate: 0 -9%; } }
@keyframes bf-drift-in { from { translate: 0 -12%; } to { translate: 0 0; } }
@keyframes bf-reveal { from { opacity: 0; translate: 0 18px; filter: blur(6px); } to { opacity: 1; translate: 0 0; filter: none; } }
@media (max-width: 900px) {
  .bf-studio { grid-template-columns: 1fr; }
  .st-stage { position: relative; top: 0; max-width: 520px; width: 100%; margin-inline: auto; }
  .st-tabs { width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }   /* one row: the pill rides it */
  .st-tabs::-webkit-scrollbar { display: none; }
  .st-tabs button { flex: 1 0 auto; padding-inline: 10px; font-size: 0.8rem; white-space: nowrap; }
}
