/* Bluedify draft (M131, Bulut 19 Nov): one page, warm editorial palette. CSP: no inline styles, no external hosts. */
@font-face { font-family: "Cormorant Garamond"; src: url(fonts/cormorant-garamond.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(fonts/cormorant-garamond-italic.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(fonts/instrument-sans.woff2) format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }

:root {
  --cream: #F6F1EA; --cream-2: #ECE4D8; --sand: #DDCDB8; --white: #FFFDF9;
  --ink: #1F1A17; --ink-2: #4A413B; --mut: #6E625A;
  --clay: #B4532F; --clay-d: #94411F; --gold: #C9A46A;
  --line: rgba(31, 26, 23, .14);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(18px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --top-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--top-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: .98; letter-spacing: -.015em; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
h2 { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.6rem); }
h2 em { font-style: italic; font-weight: 400; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }
.defs { position: absolute; width: 0; height: 0; }
.ico { width: 18px; height: 18px; flex: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: var(--cream); border-radius: 8px; }
.skip:focus { top: 12px; }

/* word reveal (set up by t.js; without JS the text simply shows) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.16em; }
.w > i { display: inline-block; font-style: inherit; transform: translateY(110%); transition: transform 1s var(--ease); }
.in .w > i { transform: none; }

/* buttons */
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border: 1px solid currentColor; border-radius: 999px; background: transparent; font-size: .9375rem; font-weight: 500; line-height: 1.2; white-space: nowrap; text-decoration: none; transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease; }
.pill .ico { transition: transform .3s var(--ease); }
.pill:hover .ico { transform: translateX(4px); }
.pill-light { background: var(--white); color: var(--ink); border-color: var(--white); padding: 14px 24px; }
.pill-light:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pill-dark { background: var(--ink); color: var(--cream); border-color: var(--ink); padding: 14px 24px; }
.pill-dark:hover { background: var(--clay); border-color: var(--clay); }
.pill-clay { background: var(--clay); color: var(--white); border-color: var(--clay); padding: 14px 24px; }
.pill-clay:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: var(--top-h); padding-inline: var(--pad); color: var(--white); transition: background .35s ease, color .35s ease, box-shadow .35s ease; }
.top.solid { background: rgba(244, 236, 226, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.top a { text-decoration: none; }
.top-l { display: flex; gap: clamp(14px, 2vw, 28px); font-size: .9375rem; }
.top-l a, .top-mail { position: relative; padding-block: 4px; }
.top-l a::after, .top-mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.top-l a:hover::after, .top-mail:hover::after { transform: scaleX(1); }
.mark { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; letter-spacing: -.01em; line-height: 1; }
.mark-em { display: inline-block; width: 1.12em; height: 1.12em; margin-right: .3em; vertical-align: -.27em; }   /* M143: round B emblem */
.mark small { margin-left: .18em; font: 500 .7rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; vertical-align: .55em; }
.top-r { display: flex; justify-content: flex-end; align-items: center; gap: clamp(12px, 2vw, 24px); font-size: .9375rem; }
.top .pill { padding: 9px 18px; }
.top.solid .pill { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.top.solid .pill:hover { background: var(--clay); border-color: var(--clay); }
@media (max-width: 860px) {
  .top { grid-template-columns: auto 1fr; }
  .top-l, .top-mail { display: none; }
  .mark { font-size: 1.7rem; }
}
@media (max-width: 350px) {   /* 23.11: at 320px the wordmark and the pill did not fit one line; the name dropped under the emblem and was cut */
  .mark { font-size: 1.4rem; }
  .top .pill { padding: 8px 13px; font-size: .875rem; }
}

/* 1. hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 540px; overflow: hidden; background: var(--ink); color: var(--white); }
.hero-still, .hero-gl, .hero-veil { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-still { object-fit: cover; }
.hero-gl { opacity: 0; transition: opacity .6s ease; }
.gl-on .hero-gl { opacity: 1; }
.hero-veil { background: radial-gradient(ellipse at 50% 48%, rgba(31, 26, 23, .34), rgba(31, 26, 23, .12) 60%), linear-gradient(to bottom, rgba(31, 26, 23, .38), rgba(31, 26, 23, 0) 22%, rgba(31, 26, 23, 0) 62%, rgba(31, 26, 23, .55)); }
.hero-copy { position: absolute; inset: var(--top-h) var(--pad) 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: clamp(12px, 2vh, 22px); }
.hero-eyebrow { text-wrap: balance; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; opacity: .9; }
.hero-title { font-size: clamp(3.2rem, 1rem + 9.4vw, 9.5rem); font-weight: 500; line-height: .92; letter-spacing: -.025em; text-shadow: 0 2px 40px rgba(31, 26, 23, .35); }
.hero-title .l { display: inline-block; white-space: pre; opacity: 0; transform: translateY(.35em); filter: blur(10px); transition: opacity .7s ease, transform .9s var(--ease), filter .9s ease; }
.hero-title.on .l { opacity: 1; transform: none; filter: none; }
.hero-title .wd { display: inline-block; white-space: nowrap; }
.hero-desc { max-width: 34rem; font-size: clamp(1rem, .9rem + .4vw, 1.1875rem); line-height: 1.45; text-shadow: 0 1px 18px rgba(31, 26, 23, .5); transition: opacity .5s ease, transform .7s var(--ease); }
.hero-desc.out { opacity: 0; transform: translateY(8px); }
.hero-copy .pill { margin-top: 6px; }
.hero-n { position: absolute; top: 50%; translate: 0 -50%; font-family: var(--serif); font-size: 1.25rem; letter-spacing: .08em; font-variant-numeric: tabular-nums; opacity: .9; }
.hero-n-a { left: var(--pad); }
.hero-n-b { right: var(--pad); }
.hero-nav { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(18px, 3.4vh, 34px); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.6vw, 22px); }
.hero-nav button { padding: 0 0 6px; border: 0; background: none; color: inherit; text-align: left; opacity: .62; transition: opacity .3s ease; }
.hero-nav button[aria-selected="true"], .hero-nav button:hover { opacity: 1; }
.hero-nav i { display: block; height: 2px; margin-bottom: 10px; background: rgba(255, 253, 249, .32); overflow: hidden; }
.hero-nav b { display: block; height: 100%; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero-nav span { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; }
.hero-nav span em { font-style: normal; opacity: .65; margin-right: 8px; }
@media (max-width: 640px) {
  .hero-n { display: none; }
  .hero-eyebrow { font-size: .6875rem; letter-spacing: .14em; }
  .hero-nav span { font-size: .625rem; letter-spacing: .1em; }
  .hero-nav span em { display: none; }
}

/* 2. statement */
.say { position: relative; padding: clamp(72px, 13vw, 190px) var(--pad); overflow: hidden; }
.say-t { position: relative; z-index: 1; max-width: min(17em, 56vw); margin-inline: auto; font-family: var(--sans); font-size: clamp(1.5rem, .9rem + 2.5vw, 3.2rem); font-weight: 500; line-height: 1.14; letter-spacing: -.025em; text-align: center; }
.say-pics img { position: absolute; width: clamp(96px, 13vw, 210px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; will-change: transform; }
.say-pics img:nth-child(1) { left: 2.5vw; top: 12%; }
.say-pics img:nth-child(2) { right: 3vw; top: 7%; width: clamp(80px, 9vw, 150px); }
.say-pics img:nth-child(3) { left: 7vw; bottom: 5%; width: clamp(80px, 8vw, 140px); }
.say-pics img:nth-child(4) { right: 5vw; bottom: 7%; width: clamp(90px, 11vw, 180px); }
@media (max-width: 900px) {
  .say { padding-block: 56px 40px; }
  .say-t { max-width: 19em; }
  .say-pics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 30px; }
  .say-pics img, .say-pics img:nth-child(n) { position: static; width: 100%; }
}

/* 3. shelf */
.buy { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 72px); align-items: center; padding: clamp(28px, 4vw, 60px) var(--pad) clamp(48px, 7vw, 110px); background: linear-gradient(to bottom, var(--cream), var(--cream-2)); }
.buy-head p { max-width: 26rem; margin-top: 18px; color: var(--ink-2); }
.shelves { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 22px); }
.shelf { display: contents; }
.pack { position: relative; display: grid; gap: 10px; padding: 0; border: 0; background: none; text-align: left; }
.pack-fr { display: block; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 8px; background: var(--sand); box-shadow: 0 22px 40px -30px rgba(31, 26, 23, .55); }
.pack-fr img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s ease; }
.pack:hover .pack-fr img, .pack:focus-visible .pack-fr img { transform: scale(1.06); filter: saturate(1.08); }
.pack-n { font-size: .875rem; letter-spacing: .03em; color: var(--ink-2); transition: color .25s ease; }
.pack:hover .pack-n { color: var(--clay); }
@media (max-width: 900px) {
  .buy { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 520px) {
  .shelves { grid-template-columns: 1fr 1fr; }
}

/* 2b. film */
.film { position: relative; display: grid; align-items: end; min-height: min(100svh, 58vw); overflow: hidden; background: #2A1E17; color: var(--white); }
.film-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 2.4s var(--ease); }
.film.in .film-v { transform: scale(1); }
.film-veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 14, 11, .62), rgba(20, 14, 11, .08) 55%, rgba(20, 14, 11, 0)); }
.film-copy { position: relative; display: grid; justify-items: start; gap: clamp(18px, 2.4vw, 30px); padding: clamp(40px, 6vw, 96px) var(--pad); max-width: 62rem; }
.film-copy h2 { font-size: clamp(2.6rem, 1.2rem + 5.6vw, 7.4rem); line-height: .96; letter-spacing: -.02em; color: var(--white); }
@media (max-width: 700px) { .film { min-height: 82svh; } .film-v { object-position: 62% 50%; } }

/* marquee */
.tape { overflow: hidden; background: var(--cream-2); padding-block: 4px 10px; }
.tape-in { display: flex; width: max-content; animation: tape 38s linear infinite; }
.tape span { padding-inline: .32em; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(3.4rem, 10vw, 9rem); line-height: 1; color: rgba(31, 26, 23, .1); white-space: nowrap; }
@keyframes tape { to { transform: translateX(-50%); } }
.reel { overflow: hidden; padding-block: 0 clamp(40px, 6vw, 90px); background: var(--cream-2); }
.reel-in { display: flex; gap: clamp(10px, 1.2vw, 18px); width: max-content; animation: tape 90s linear infinite; }
.reel:hover .reel-in { animation-play-state: paused; }
.reel img { height: clamp(220px, 26vw, 400px); width: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; flex: none; }

/* reveals (added by JS only when motion is allowed) */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform 1.2s var(--ease), clip-path 1.4s var(--ease); }
.rv.in { opacity: 1; transform: none; }
img.rv { transform: none; clip-path: inset(22% 0 0 0 round 6px); }
img.rv.in { clip-path: inset(0 0 0 0 round 6px); }

/* 3b. faces */
.faces { padding: clamp(64px, 9vw, 140px) var(--pad); }
.faces h2 { max-width: 12em; margin: 0 auto clamp(36px, 5vw, 72px); font-size: clamp(2.4rem, 1.4rem + 3.6vw, 5.2rem); line-height: 1; text-align: center; }
.faces-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 34px); max-width: 84rem; margin-inline: auto; align-items: start; }
.face:nth-child(2) { margin-top: clamp(40px, 6vw, 96px); }
.face-fr { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 4px; background: var(--sand); }
.face-fr img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 1.8s var(--ease); }
.face.in .face-fr img { transform: scale(1); }
.face figcaption { display: grid; gap: 12px; margin-top: 20px; }
.face q { font-family: var(--serif); font-size: clamp(1.25rem, 1rem + .8vw, 1.75rem); line-height: 1.22; quotes: none; }
.face span { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); }
@media (max-width: 760px) {
  .faces-row { grid-template-columns: 1fr; gap: 40px; }
  .face:nth-child(2) { margin-top: 0; }
}

/* 4. terms: one centred spread, the terms on the left, a formula read off the pack on the right */
.dark { padding: clamp(64px, 9vw, 140px) var(--pad); background: var(--ink); color: var(--cream); }
.dark-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 6vw, 110px); align-items: center; max-width: 1240px; margin-inline: auto; }
.dark-l { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.dark-l > p { max-width: 30rem; color: rgba(244, 236, 226, .78); }
.dark-l img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; margin-block: 6px; }
.terms-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; width: 100%; list-style: none; padding: 0; }
.terms-list li { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; border-top: 1px solid rgba(244, 236, 226, .2); font-size: .875rem; line-height: 1.5; color: rgba(244, 236, 226, .68); }
.terms-list b { font-size: .9375rem; font-weight: 600; color: var(--cream); }
.dark-r { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(26px, 3.4vw, 52px); border: 1px solid rgba(244, 236, 226, .14); border-radius: 10px; background: rgba(244, 236, 226, .035); }
.dark-k, .sheet-k, .step-k { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; }
.dark-k { color: var(--gold); }
.dark-name { margin-top: 10px; font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.8rem); }
.vials { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3.2vw, 48px) clamp(18px, 3vw, 44px); width: 100%; margin-top: 28px; list-style: none; padding: 0; }
.vials li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.vials svg { width: clamp(56px, 6vw, 84px); height: auto; overflow: visible; }
.vials strong { margin-top: 16px; font-family: var(--serif); font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.6rem); font-weight: 500; line-height: 1; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.vials b { margin-top: 10px; padding-top: 12px; border-top: 1px solid rgba(244, 236, 226, .22); font-weight: 600; align-self: stretch; }
.vials span { margin-top: 4px; font-size: .875rem; line-height: 1.45; color: rgba(244, 236, 226, .7); }
.dark-foot { margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: 1.0625rem; line-height: 1.4; color: rgba(244, 236, 226, .62); }
.dark-r .pill { margin-top: 26px; }
@media (max-width: 900px) {
  .dark-in { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .terms-list { grid-template-columns: 1fr; }
}

/* 5. first order: four cards that stack as you scroll */
.order { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 90px); align-items: start; padding: clamp(56px, 8vw, 120px) var(--pad); }
.order-l { position: sticky; top: calc(var(--top-h) + 32px); }
/* the three faces sit under the questions, so the left column is too tall to stick */
.order-l:has(.faces-mini) { position: static; }
.faces-mini { margin-top: clamp(30px, 4vw, 52px); }
.faces-mini h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1.05; margin-bottom: 18px; }
.faces-mini .faces-row { max-width: none; gap: 14px; }
.faces-mini .face figcaption { gap: 6px; margin-top: 10px; }
.faces-mini .face q { font-size: clamp(.95rem, .85rem + .3vw, 1.1rem); }
.faces-mini .face span { font-size: .66rem; letter-spacing: .14em; }
.order-l > p { margin-top: 16px; color: var(--ink-2); }
.qa { margin-top: 26px; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 13px; font-weight: 600; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--serif); font-size: 1.6rem; line-height: .6; transition: rotate .3s var(--ease); }
.qa details[open] summary::after { rotate: 45deg; }
.qa summary:hover { color: var(--clay); }
.qa p { padding-bottom: 15px; max-width: 34rem; color: var(--ink-2); }
.steps { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 56px); margin: 0; padding: 0 0 4vh; list-style: none; }
.step-card { position: sticky; top: calc(var(--top-h) + 24px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: clamp(340px, 34vw, 480px); border-radius: 10px; overflow: hidden; background: #EFE4D6; box-shadow: 0 30px 60px -34px rgba(31, 26, 23, .45); }
.step-card:nth-child(2) { top: calc(var(--top-h) + 42px); background: #E8D9C6; }
.step-card:nth-child(3) { top: calc(var(--top-h) + 60px); background: #E0CDB5; }
.step-card:nth-child(4) { top: calc(var(--top-h) + 78px); background: #D8C2A6; }
.step-pic { position: relative; overflow: hidden; background: var(--sand); }
.step-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.step-card:hover .step-pic img { transform: scale(1.04); }
.step-txt { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(22px, 3vw, 44px); }
.step-k { color: var(--clay); }
.step-txt h3 { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); }
.step-txt > p:not(.step-k) { color: var(--ink-2); }
@media (max-width: 900px) {
  .order { grid-template-columns: 1fr; gap: 22px; }
  .order-l { display: contents; }
  .order-l > p { margin-top: -8px; }
  .steps { order: 1; }
  .qa { order: 2; margin-top: 0; }
  .faces-mini { order: 3; margin-top: 12px; }
}
@media (max-width: 560px) {
  .step-card { grid-template-columns: 1fr; min-height: 0; }
  .step-pic { aspect-ratio: 16 / 10; }
}

/* 6. closing: rust, a shoulder across the right two thirds (fading out where the legal line ends), the letter box, the links, and the name filled with a smile */
.fin { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; min-height: 100svh; padding: clamp(84px, 10vw, 150px) var(--pad) 0; background: #7A2E1D; color: #F6E6D6; }
.fin-pic { position: absolute; top: 0; right: 0; z-index: -1; width: 66vw; height: 100%; object-fit: cover; object-position: 46% 40%; -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.35) 22%, #000 46%); mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.35) 22%, #000 46%); transform-origin: 70% 40%; animation: fin-drift 26s ease-in-out infinite alternate; }
@keyframes fin-drift { from { transform: scale(1.02); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
.fin-top { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); max-width: min(60vw, 1020px); }
.fin-join h2 { font-size: clamp(2.6rem, 1.4rem + 3.6vw, 4.8rem); line-height: .95; color: #FBEEE0; }
.fin-join p { margin-top: 16px; max-width: 26rem; color: rgba(246, 230, 214, .8); }
.fin-form { display: flex; gap: 8px; max-width: 30rem; margin-top: 26px; padding: 6px; border: 1px solid rgba(246, 230, 214, .4); border-radius: 999px; transition: border-color .25s ease; }
.fin-form:focus-within { border-color: #F6E6D6; }
.fin-form input { flex: 1; min-width: 0; padding: 10px 16px; border: 0; background: none; color: inherit; font: inherit; }
.fin-form input::placeholder { color: rgba(246, 230, 214, .62); }
.fin-form input:focus { outline: none; }
.fin-form button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 0; border-radius: 999px; background: #F6E6D6; color: #5A2214; font: 600 .9375rem/1.2 var(--sans); cursor: pointer; transition: background .25s ease; }
.fin-form button:hover { background: var(--white); }
.fin-form button .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.fin-form button:hover .ico { transform: translateX(3px); }
.fin-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-content: start; padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid rgba(246, 230, 214, .25); }
.fin-cols nav { display: flex; flex-direction: column; gap: 10px; font-size: .9375rem; }
.fin-cols h3 { margin-bottom: 4px; font: 500 .75rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(246, 230, 214, .6); }
.fin-cols a { color: #F6E6D6; text-decoration: none; }
.fin-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.fin-legal { grid-column: 1 / -1; margin-top: 8px; font-size: .8125rem; line-height: 1.55; color: rgba(246, 230, 214, .76); }
.fin-legal b { font-weight: 600; color: #F6E6D6; }
.fin-word { position: relative; margin: clamp(28px, 4vw, 60px) 0 0; padding-bottom: .12em; font-family: var(--serif); font-size: max(4rem, 25vw); font-weight: 600; line-height: .82; letter-spacing: -.04em; text-align: center; white-space: nowrap; color: #F6E6D6; user-select: none; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .fin-word { background-image: url(img/fin-smile.webp); background-size: 100% auto; background-position: 50% 50%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: fin-word 22s ease-in-out infinite alternate; }
}
@keyframes fin-word { from { background-position: 40% 46%; background-size: 100% auto; } to { background-position: 60% 56%; background-size: 110% auto; } }
@media (max-width: 900px) {
  .fin-top { grid-template-columns: minmax(0, 1fr); max-width: none; }   /* 23.11: plain 1fr grew past a 360px screen and clipped the form */
  .fin-cols { padding: 22px 0 0; border-left: 0; border-top: 1px solid rgba(246, 230, 214, .25); }
  .fin-pic { top: auto; bottom: 0; width: 100%; height: 52%; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 50%); mask-image: linear-gradient(to bottom, transparent, #000 50%); }
}
@media (max-width: 560px) {
  .fin-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* dialogs */
dialog { border: 0; padding: 0; color: var(--ink); background: var(--cream); }
dialog::backdrop { background: rgba(31, 26, 23, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; } }
.sheet-k { color: var(--clay); }

.drawer { inset: 0 0 0 auto; margin: 0; width: min(480px, 100vw); height: 100vh; height: 100dvh; max-width: none; max-height: none; box-shadow: -30px 0 80px -30px rgba(31, 26, 23, .5); }
.drawer[open] { animation: slide .5s var(--ease); }
@keyframes slide { from { transform: translateX(100%); } }
.drawer-in { position: relative; display: flex; flex-direction: column; gap: 13px; height: 100%; padding: clamp(22px, 4vh, 40px) clamp(20px, 5vw, 38px); overflow-y: auto; }
.drawer h2, .sheet h2 { font-size: clamp(2.1rem, 1.6rem + 1.6vw, 3rem); }
.drawer-lead { color: var(--ink-2); font-size: .9375rem; }
.x { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: none; transition: background .25s ease, color .25s ease, rotate .4s var(--ease); }
.x:hover { background: var(--ink); color: var(--cream); rotate: 90deg; }
.drawer label { display: grid; gap: 3px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.drawer label span { text-transform: none; letter-spacing: 0; }
.drawer input, .drawer select, .drawer textarea { width: 100%; padding: 8px 0; border: 0; border-bottom: 1px solid rgba(31, 26, 23, .35); border-radius: 0; background: transparent; font-size: 1.0625rem; letter-spacing: 0; text-transform: none; color: var(--ink); transition: border-color .25s ease; }
.drawer textarea { resize: vertical; min-height: 4.4em; }
.drawer input:focus, .drawer select:focus, .drawer textarea:focus { outline: 0; border-bottom-color: var(--clay); box-shadow: 0 1px 0 var(--clay); }
.drawer ::placeholder { color: rgba(31, 26, 23, .4); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.err { padding: 9px 12px; border-radius: 6px; background: rgba(180, 83, 47, .12); color: var(--clay-d); font-size: .875rem; }
.drawer .pill { justify-content: center; margin-top: 6px; }
.drawer-foot { font-size: .8125rem; color: var(--mut); }

.sheet { width: min(940px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); border-radius: 12px; overflow: auto; box-shadow: 0 50px 100px -40px rgba(31, 26, 23, .6); }
.sheet[open] { animation: rise .5s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(26px) scale(.98); } }
.sheet-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.sheet-art { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: 440px; padding: 30px 24px 26px; background: radial-gradient(ellipse at 50% 30%, var(--white), var(--cream-2) 75%); perspective: 900px; }
.sheet-pack img { display: block; height: clamp(260px, 44vh, 420px); width: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; box-shadow: 0 30px 50px -30px rgba(31, 26, 23, .6); transform-origin: 50% 100%; transition: transform .25s ease-out; }
.plank { width: 78%; height: 14px; background: linear-gradient(to bottom, var(--white), #EFE4D5); box-shadow: 0 18px 26px -12px rgba(31, 26, 23, .4); }
.sheet-hint { margin-top: 26px; font-family: var(--serif); font-style: italic; font-size: 1.0625rem; color: var(--mut); }
.sheet-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: clamp(24px, 4vw, 48px); }
.back { padding: 6px 14px 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: none; font-size: .875rem; transition: background .25s ease, color .25s ease; }
.back:hover { background: var(--ink); color: var(--cream); }
.sheet-lead { font-size: 1.125rem; color: var(--ink-2); }
.sheet ul { display: grid; gap: 0; width: 100%; border-top: 1px solid var(--line); }
.sheet li { position: relative; padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.sheet li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 12px; height: 1px; background: var(--clay); }
.sheet .pill { margin-top: 8px; }
@media (max-width: 720px) {
  .sheet-in { grid-template-columns: 1fr; }
  .sheet-art { min-height: 0; padding-top: 22px; }
  .sheet-pack svg { height: 170px; }
  .sheet-hint { margin-top: 16px; }
}

/* visually hidden, still read aloud */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor span { position: absolute; left: -43px; top: -43px; display: grid; place-items: center; width: 86px; height: 86px; border: 1px solid rgba(201, 164, 106, .65); border-radius: 50%; background: rgba(255, 253, 249, .8); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); box-shadow: 0 12px 32px -14px rgba(31, 26, 23, .4); color: var(--ink); font-weight: 600; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; transform: scale(0); transition: transform .35s var(--ease); }
.cursor.on span { transform: scale(1); }
.has-cursor [data-cursor], .has-cursor [data-cursor] * { cursor: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tape-in, .reel-in { animation: none; }
  .film-v, .face-fr img { transform: none; transition: none; }
  .fin-pic, .fin-word { animation: none; }
  .w > i { transform: none; transition: none; }
  .hero-title .l { opacity: 1; transform: none; filter: none; transition: none; }
  .drawer[open], .sheet[open] { animation: none; }
}

/* 5b. from the journal (M143): three sourced guides, a quiet editorial row */
.jr { padding: clamp(64px, 9vw, 140px) var(--pad); border-top: 1px solid var(--line); }
.jr-head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; max-width: 84rem; margin: 0 auto clamp(30px, 4vw, 56px); }
.jr-head h2 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 5.2rem); line-height: 1; }
.jr-head p { max-width: 26rem; color: var(--ink-2); }
.jr-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 40px); max-width: 84rem; margin-inline: auto; }
.jr-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.jr-pic { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 6px; background: var(--cream-2); }
.jr-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity 1.2s ease, filter 1.7s var(--ease); }
.jr-card:hover .jr-pic img { transform: scale(1.04); }
.jr-k { margin-top: 18px; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--clay); }
.jr-card h3 { margin-top: 10px; font-size: clamp(1.7rem, 1.2rem + 1.2vw, 2.4rem); line-height: 1.02; }
.jr-card:hover h3 { color: var(--clay); }
.jr-card h3 + p { margin-top: 10px; color: var(--ink-2); }
.qa p a { color: var(--clay); text-underline-offset: 3px; }
@media (max-width: 860px) {
  .jr-row { grid-template-columns: 1fr; gap: 44px; }
  .jr-pic { aspect-ratio: 3 / 2; }
}

/* M147: the emblem is white with a black line-drawn B; emblem and name a touch larger so they read in the bar */
.mark { font-size: 2.15rem; }
.mark-em { width: 1.3em; height: 1.3em; vertical-align: -.36em; border-radius: 50%; box-shadow: 0 2px 10px rgba(20, 17, 16, .12); }
.mark small { font-size: .74rem; }
@media (max-width: 720px) { .mark { font-size: 1.85rem; } }
/* faces in the beauty order column: three across on tablets, stacked on phones */
.faces-mini .face:nth-child(2) { margin-top: 0; }
@media (max-width: 760px) { .faces-mini .faces-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (max-width: 520px) { .faces-mini .faces-row { grid-template-columns: 1fr; gap: 28px; } }
