/* The Lovely Cut website, in the new look (Nov 22): her emblem, moss, stone, sand and bark, Instrument Serif
   headings, the name in Gilda Display capitals, DM Sans for everything else, Courier Prime for times, and one
   Pinyon Script word. Colors and type match the studio (studio/src/theme.css). Single light theme on purpose.
   The sample reel keeps the product's own caption and hook colors, because it shows what the product makes. */

/* ---------- Fonts (cut down to Latin; licenses in fonts/licenses) ---------- */
/* One-weight fonts cover 400 to 700, so a heading asked to be a little bolder keeps its true shape. */
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-Regular.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
/* Gilda Display reserves its name ("Gilda") for the maker's own files, so it ships exactly as made, not cut down. */
@font-face { font-family: "Gilda Display"; src: url("../fonts/GildaDisplay-Regular.ttf") format("truetype"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Pinyon Script"; src: url("../fonts/PinyonScript-Regular.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("../fonts/CourierPrime-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
/* Only for the sample reel's captions and hook: the fonts the product's caption styles use. */
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/CormorantGaramond-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/CormorantGaramond-MediumItalic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/EBGaramond-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/EBGaramond-MediumItalic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --bg: #E7E1D4;          /* Stone: the page */
  --linen: #F4F0E7;       /* Linen: bands, cards, the header */
  --tint: #EEE9DE;
  --ink: #29251D;         /* Bark: words, the main button, the footer */
  --ink-deep: #1F1C16;
  --muted: #645D4C;
  --moss: #5A5631;        /* Moss: accents, the privacy band */
  --moss-deep: #45422A;
  --leaf: #6B6A44;
  --sand: #CDBF9E;        /* Sand: soft highlights */
  --sage: #E9E7D6;
  --sage-line: #CCC8AC;
  --blush: #EEE6D6;
  --line: #D5CDBB;
  --line-soft: #DFD8C9;
  --line-warm: #CFC3A6;
  --on-moss: #E3DCC9;
  --on-dark: #E3DCC9;
  --on-dark-muted: #B5AC98;
  --placeholder: #7E7562;
  /* Soft clay, kept just for what needs a look (a form's error, a reminder), as in the studio. */
  --clay: #8F4E33;
  --clay-soft: #F3E7DD;

  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --logo: "Gilda Display", Georgia, serif;
  --script: "Pinyon Script", cursive;
  --type: "Courier Prime", ui-monospace, Menlo, monospace;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, Menlo, monospace;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.2, .75, .15, 1);
  --ease-draw: cubic-bezier(.55, .1, .3, 1);
  --gutter-l: max(24px, env(safe-area-inset-left, 0px));
  --gutter-r: max(24px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--moss-deep); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; border-radius: 6px; }
code { font-family: var(--mono); font-size: .9em; padding: 1px 6px; border-radius: 4px; background: var(--sage); color: var(--ink); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: var(--linen); text-decoration: none; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: 1160px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.wrap--wide { max-width: 1240px; }
.section { padding-block: 104px; }
.band { background: var(--linen); border-block: 1px solid var(--line); }
[id] { scroll-margin-top: 72px; }

/* ---------- Type ---------- */
.title { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 4.8vw, 64px); line-height: 1; letter-spacing: -.3px; text-wrap: balance; }
.title em { color: var(--moss-deep); }
.lede { font-size: 17px; color: var(--muted); max-width: 32em; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; color: var(--muted); }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--moss); }
.eyebrow--quiet { color: var(--muted); }
.label { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--moss-deep); }
/* The one script word (as in the logo's "studio"): a touch, never a sentence. */
.script-word { display: inline-block; margin-left: 2px; font: 400 30px/0 var(--script); letter-spacing: 0; text-transform: none; color: var(--moss); vertical-align: -.12em; }
.serif { font-family: var(--serif); font-weight: 400; }
.stack { display: flex; flex-direction: column; }

/* ---------- Buttons and links ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px;
  border: 0; border-radius: 999px;
  background: var(--ink); color: var(--linen);
  font: 500 16px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(244, 240, 231, .24) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform .8s var(--ease);
}
.btn:hover { color: var(--linen); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(41, 37, 29, .6); }
.btn:hover::after { transform: translateX(110%); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; white-space: nowrap; }
.btn--block { display: flex; width: 100%; }
.arrow { flex: 0 0 auto; transition: transform .3s var(--ease); }
.btn:hover .arrow, .text-link:hover .arrow { transform: translateX(4px); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 56px; color: var(--ink); font-size: 15.5px; text-decoration: none; }
.text-link:hover .arrow--down { transform: translateY(3px); }
.u { background: linear-gradient(currentColor, currentColor) no-repeat 0 85% / 0 1px; transition: background-size .35s var(--ease); }
a:hover .u { background-size: 100% 1px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(244, 240, 231, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 4px 28px; padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__emblem { flex: 0 0 auto; width: 23px; height: 33px; background: var(--moss); -webkit-mask: url("../img/emblem-small.svg") center / contain no-repeat; mask: url("../img/emblem-small.svg") center / contain no-repeat; }
.brand__name { font: 400 16px/1 var(--logo); letter-spacing: .16em; text-transform: uppercase; padding-top: 2px; white-space: nowrap; }
.nav { flex: 1 1 auto; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 24px; font-size: 14.5px; }
.nav a { display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; }
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--moss); transform: scaleX(0); transform-origin: left center; }
.secure { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--moss); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.grain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .09; mix-blend-mode: multiply; }
.hero__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 56px 64px; padding-block: 72px 96px; }
.hero__copy { flex: 1.2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__eyebrow { display: flex; align-items: center; gap: 12px; }
.hero__eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(50px, 5.6vw, 84px); line-height: .96; letter-spacing: -.6px; }
.mask { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.mask--deep { padding-bottom: .3em; margin-bottom: -.3em; }
.swash { position: relative; display: inline-block; color: var(--moss-deep); }
.swash svg { position: absolute; left: -2%; bottom: -.14em; width: 104%; height: .26em; overflow: visible; }
.hero__lede { font-size: 18px; color: var(--muted); max-width: 32em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }

.stage { flex: 1 1 540px; min-width: 0; position: relative; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 28px 26px; }
.glow { position: absolute; left: 44%; top: 42%; width: 640px; max-width: 100%; aspect-ratio: 1 / 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(205, 191, 158, .62), rgba(205, 191, 158, 0) 72%); pointer-events: none; }
/* Her emblem, large and faint behind the sample reel. */
.emblem-bg { position: absolute; right: -2%; top: -48px; height: calc(100% + 64px); aspect-ratio: 595 / 887; max-width: 44%; background: var(--moss); opacity: var(--soft); --soft: .13; pointer-events: none;
  -webkit-mask: url("../img/emblem.svg") center top / contain no-repeat; mask: url("../img/emblem.svg") center top / contain no-repeat; }

/* The sample reel */
.reel { position: relative; z-index: 1; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.reel figcaption { font-size: 12.5px; color: var(--muted); }
.phone-in { transform: rotate(-2deg); }
.phone-float { position: relative; }
.seal { position: absolute; left: -52px; top: -40px; z-index: 3; filter: drop-shadow(0 10px 16px rgba(41, 37, 29, .22)); }
.seal__ring { transform-box: view-box; transform-origin: 56px 56px; }
.phone {
  position: relative; width: 272px; max-width: 100%; aspect-ratio: 9 / 16;
  border: 7px solid var(--ink-deep); border-radius: 34px; overflow: hidden; background: #CFBF9F;
  box-shadow: 0 44px 70px -34px rgba(41, 37, 29, .7), 0 0 0 1px rgba(41, 37, 29, .15);
}
.footage { position: absolute; inset: 0; background: linear-gradient(180deg, #DCCFB6 0%, #CFBF9F 58%, #8F7A5B 58%, #7C684E 100%); }
/* The hook as the product draws it (looks.py, "Seed-packet title"): its own colours, not the site's. */
.hook {
  position: absolute; top: 7%; left: 9%; right: 9%; padding: 9px 12px 11px;
  display: flex; flex-direction: column; gap: 2px; text-align: center;
  background: #F1E8D6; border: 1px solid #C9B48D; outline: 1px solid #C9B48D; outline-offset: -5px;
  box-shadow: 0 8px 18px -12px rgba(0, 0, 0, .45);
}
.hook__kicker { font-size: 8.5px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: #3B2E22; }
.hook__text { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 500; font-size: 20px; line-height: 1.1; color: #3B2E22; }
.captions { position: absolute; left: 6%; right: 6%; bottom: 17%; text-align: center; }
.captions__box { transition: opacity .18s ease; }
.captions.is-switching .captions__box { opacity: 0; }
.cap-word { display: inline-block; margin: 0 .13em; }
.captions[data-style="classic"] .captions__box { font: 500 18px/1.3 "Montserrat", var(--sans); color: #FFFFFF; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.captions[data-style="classic"] .acc { color: #EBC9A0; }
.captions[data-style="heirloom"] .captions__box { font: 500 26px/1.08 "Cormorant Garamond", Georgia, serif; color: #FBF8F1; text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.captions[data-style="heirloom"] .acc { color: #EBC9A0; font-style: italic; }
.captions[data-style="pressed"] .captions__box { font: 500 17px/1.95 "EB Garamond", Georgia, serif; color: #3B2E22; }
.captions[data-style="pressed"] .cap-line { padding: 3px 8px; background: #F1E8D6; -webkit-box-decoration-break: clone; box-decoration-break: clone; box-shadow: 0 3px 8px rgba(0, 0, 0, .2); }
.captions[data-style="pressed"] .acc { color: #8C4A2B; font-style: italic; }
.captions[data-style="linen"] .captions__box { font: 600 19px/1.32 var(--sans); color: #FBF8F1; text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.captions[data-style="linen"] .acc { text-decoration: underline; text-decoration-color: #E0A07E; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.mark { position: absolute; left: 8%; bottom: 8%; opacity: .9; }
.playbar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(244, 240, 231, .25); }
.playbar span { display: block; height: 100%; background: var(--sand); transform-origin: left center; }

.styles { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 272px; }
.chip {
  min-height: 40px; padding: 0 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(244, 240, 231, .75); color: var(--ink);
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--linen); }
.chip--classic { font: 500 12.5px/1 "Montserrat", var(--sans); }
.chip--heirloom { font: italic 500 16px/1 var(--serif); }
.chip--pressed { font: 500 15px/1 "EB Garamond", Georgia, serif; }
.chip--linen { font: 600 13px/1 var(--sans); }

.added {
  position: relative; z-index: 1; flex: 1 1 220px; max-width: 270px; margin-bottom: 96px;
  display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px;
  background: rgba(244, 240, 231, .92); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 24px 44px -30px rgba(41, 37, 29, .5);
}
.added__title { font-family: var(--serif); font-size: 25px; line-height: 1.1; }
.added ul { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; line-height: 1.4; }
.added li, .ticks li { display: flex; gap: 9px; align-items: flex-start; }
.tick { flex: 0 0 auto; margin-top: 1px; }

/* ---------- The film strip ----------
   A strip of dark film, a little tilted, running across the page. Each frame is a tiny reel with its words on a
   card, like a hook. The holes are punched through with a mask, so the page shows through them. Every frame is
   --cell wide (frame and gap), a whole number of holes, so the strip loops without a seam. */
.film-band { position: relative; z-index: 1; overflow: hidden; margin-top: -90px; padding-block: 40px 44px; }
.film { --hole: 26px; --frame: 130px; --cell: calc(var(--frame) + var(--hole)); width: max-content; transform: rotate(-1.6deg); margin-left: -60px; }
.film__track {
  display: flex; width: max-content; padding: calc(var(--hole) + 2px) 0; background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Crect x='7.5' y='8' width='11' height='12' rx='3'/%3E%3C/svg%3E") 0 0 / var(--hole) var(--hole) repeat-x, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Crect x='7.5' y='6' width='11' height='12' rx='3'/%3E%3C/svg%3E") 0 100% / var(--hole) var(--hole) repeat-x, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Crect x='7.5' y='8' width='11' height='12' rx='3'/%3E%3C/svg%3E") 0 0 / var(--hole) var(--hole) repeat-x, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26'%3E%3Crect x='7.5' y='6' width='11' height='12' rx='3'/%3E%3C/svg%3E") 0 100% / var(--hole) var(--hole) repeat-x, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.film__frame { position: relative; flex: 0 0 auto; width: var(--frame); aspect-ratio: 9 / 16; margin: 0 var(--hole) 0 0; overflow: hidden; border-radius: 3px; background: var(--sand); }
.film__frame > span { position: absolute; display: block; }
.film__words {
  left: 9%; right: 9%; top: 9%; z-index: 2; padding: 5px 6px 6px; border-radius: 2px;
  background: var(--linen); color: var(--ink); font: italic 400 15px/1.08 var(--serif); text-align: center; text-wrap: balance;
  box-shadow: 0 4px 10px -6px rgba(31, 28, 22, .5);
}
.film__no { left: 7%; bottom: 4%; z-index: 2; font: 400 9px/1 var(--type); letter-spacing: .08em; color: var(--ink); opacity: .6; }
.f-dusk .film__no, .f-moss .film__no { color: var(--linen); opacity: .8; }
.film__frame--low .film__words { top: auto; bottom: 14%; }
/* The little pictures, drawn in the palette (no footage). */
.f-table { background: linear-gradient(180deg, #D8CEB8 0 57%, #B5A585 57% 100%); }
.f-voice { background: linear-gradient(180deg, #D2CFB6 0 60%, #A3A07B 60% 100%); }
.f-talk { background: #D6CCB6; }
.f-dusk { background: linear-gradient(180deg, #A08A66 0%, #7C6A4F 100%); }
.f-moss { background: var(--moss); }
.f-sand { background: linear-gradient(160deg, #D9CCAE 0%, #C2B28E 100%); }
.f-stone { background: #DCD5C6; }
.f-linen { background: var(--tint); }
.f-card { left: 18%; right: 18%; top: 50%; height: 22%; background: var(--tint); border: 1px solid var(--line-warm); box-shadow: 0 8px 12px -8px rgba(31, 28, 22, .5); transform: rotate(-3deg); }
.f-card::after { content: ""; position: absolute; left: 22%; top: 0; bottom: 0; width: 12%; background: var(--moss); }
.f-wave { left: 12%; right: 12%; top: 46%; height: 42px; background: repeating-linear-gradient(90deg, var(--linen) 0 3px, transparent 3px 7px);
  -webkit-mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 0 55%, transparent 100%); mask: radial-gradient(ellipse 50% 50% at 50% 50%, #000 0 55%, transparent 100%); }
.f-head { left: 33%; top: 40%; width: 34%; aspect-ratio: 1; border-radius: 50%; background: #E3CBA9; }
.f-body { left: 16%; right: 16%; bottom: 0; height: 30%; border-radius: 44px 44px 0 0; background: var(--muted); }
.f-body--moss { background: var(--leaf); }
.f-cap { left: 16%; right: 16%; height: 6px; border-radius: 3px; background: #FFFFFF; }
.f-cap--hi { background: var(--sand); }
.f-slide { top: 44%; width: 46%; aspect-ratio: 4 / 5; border-radius: 3px; background: var(--linen); box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .5); }
.f-dots { left: 0; right: 0; bottom: 9%; height: 6px; background: radial-gradient(circle, var(--linen) 0 2.4px, transparent 2.9px) center / 11px 6px repeat-x; width: 33px; margin: 0 auto; }
.f-bars { left: 8%; right: 8%; top: 5%; height: 3px; background: linear-gradient(90deg, var(--linen) 0 31%, transparent 31% 34.5%, rgba(244, 240, 231, .6) 34.5% 65.5%, transparent 65.5% 69%, rgba(244, 240, 231, .6) 69%); }
.f-sticker { right: 14%; top: 18%; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--moss); }
.f-sticker::after { content: ""; position: absolute; inset: 22%; background: var(--sand); -webkit-mask: url("../img/emblem-small.svg") center / contain no-repeat; mask: url("../img/emblem-small.svg") center / contain no-repeat; }
.f-mini { bottom: 12%; width: 24%; aspect-ratio: 9 / 16; border-radius: 3px; }
.f-line { left: 14%; height: 4px; border-radius: 2px; background: var(--line-warm); }
.f-tag { left: 14%; font: 400 15px/1 var(--type); color: var(--moss); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.cards--four { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.cards > * { display: flex; }
.card {
  flex: 1 1 auto; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 26px 44px -30px rgba(41, 37, 29, .55); border-color: var(--line-warm); }
.card--paper { background: var(--linen); }
.kind { display: flex; gap: 18px; align-items: flex-start; }
.kind h3, .need h3 { font-family: var(--serif); font-weight: 400; font-size: 29px; line-height: 1.08; }
.kind p, .need p { font-size: 15px; color: var(--muted); }
.tile { position: relative; flex: 0 0 72px; height: 128px; overflow: hidden; border-radius: 10px; }
.tile > * { position: absolute; }
.wave { left: 12%; right: 12%; bottom: 9%; height: 20px; display: flex; align-items: center; justify-content: space-between; }
.wave span { position: static; width: 3px; border-radius: 2px; background: var(--linen); transform-origin: center; }
.need { display: flex; flex-direction: column; gap: 8px; }
.need h3 { font-size: 28px; line-height: 1.1; }

/* ---------- The slips ---------- */
.slips { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 72px; }
.slips__copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.stat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; font-family: var(--serif); line-height: 1; font-variant-numeric: tabular-nums; }
.stat__before { font-size: 32px; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--moss); text-decoration-thickness: 1.5px; }
.stat__after { font-size: 76px; font-weight: 400; }
.script { flex: 1 1 460px; min-width: 0; background: var(--linen); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: 0 30px 60px -44px rgba(41, 37, 29, .55); }
.script__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 18px; border-bottom: 1px solid var(--line-soft); }
.pill { font-size: 12.5px; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.script ol { padding-block: 6px; }
.script li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 12px 18px; }
.script li.kept { background: var(--tint); }
.script__time { flex: 0 0 40px; font: 400 13px/1.55 var(--type); color: var(--muted); }
.script__text { flex: 1 1 220px; min-width: 0; font-size: 15.5px; }
.script li.cut .script__text { color: var(--muted); }
.strike { background: linear-gradient(var(--moss), var(--moss)) no-repeat 0 58% / 100% 1.5px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tag-chip { font-size: 12px; padding: 2px 9px; border-radius: 999px; }
.tag-chip--cut { background: var(--blush); color: var(--moss-deep); }
.tag-chip--kept { background: var(--sage); color: var(--moss); }
.script__foot { padding: 12px 18px 14px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); }

/* ---------- How it works ---------- */
.steps-wrap { position: relative; }
.steps-line { position: absolute; left: 0; right: 0; top: -.5px; height: 2px; background: var(--moss); transform-origin: left center; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.step__n { font-family: var(--serif); font-style: italic; font-size: 60px; line-height: .9; color: var(--moss); }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 29px; line-height: 1.1; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- Sizes and the studio ---------- */
.post { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 36px 64px; }
.post__copy { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.sizes { flex: 2.4 1 600px; min-width: 0; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 16px; }
.size { display: flex; flex-direction: column; gap: 10px; }
.frame {
  position: relative; height: 112px; max-width: 100%; border: 1.5px solid var(--muted); border-radius: 4px; background: var(--linen);
  transition: transform .4s var(--ease), border-color .4s, background-color .4s;
}
.frame::before, .frame::after { content: ""; position: absolute; left: 50%; background: var(--sage-line); }
.frame::before { top: 34%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; }
.frame::after { top: 52%; width: 34px; height: 30px; margin-left: -17px; border-radius: 16px 16px 0 0; }
.size:hover .frame { transform: translateY(-6px); border-color: var(--moss); background-color: #FFFFFF; }
.size__ratio { font: 400 15px/1.3 var(--type); }
.size__where { font-size: 13px; line-height: 1.35; color: var(--muted); }
.features-head { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 36px 44px; }
.feat { display: flex; gap: 16px; align-items: flex-start; }
.feat h4 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.feat p { font-size: 15px; color: var(--muted); }
.ico {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  background: var(--sage); color: var(--moss); transition: background-color .3s, color .3s, transform .35s var(--ease);
}
.feat:hover .ico { background: var(--moss); color: var(--linen); transform: rotate(-8deg) scale(1.06); }

/* ---------- Privacy band ---------- */
.private { background: var(--moss); color: var(--linen); }
.private__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 72px; }
.private__copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.private .title em { color: var(--sand); }
.private .lede { color: var(--on-moss); }
.parcel-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 10px; }
.parcel { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px 14px; border-radius: 4px; background: var(--linen); color: var(--ink); transform: rotate(-1.5deg); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, .55); }
.parcel__label { font-size: 10px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.parcel__address { font: 500 17px/1.3 "EB Garamond", Georgia, serif; filter: blur(5px); }
.gold-pill { font-size: 12.5px; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--sand); color: var(--ink); }
.facts { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; font-size: 17px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid rgba(244, 240, 231, .18); }
.facts li:last-child { padding-bottom: 0; border-bottom: 0; }
.facts svg { flex: 0 0 auto; margin-top: 4px; }

/* ---------- Email lists (Windows, opening day) ---------- */
.windows {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; padding: 28px 30px;
  border: 1px dashed var(--line-warm); border-radius: 12px; background: var(--tint);
}
.windows__copy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.windows__title { font-family: var(--serif); font-weight: 400; font-size: 31px; line-height: 1.05; }
.windows__title em { color: var(--moss-deep); }
.windows__copy p { font-size: 15px; color: var(--muted); max-width: 34em; }
.signup { display: flex; flex-direction: column; gap: 8px; }
.windows .signup { flex: 1 1 420px; min-width: 0; }
.signup__row { display: flex; flex-wrap: wrap; gap: 10px; }
.signup__row input[type="email"] {
  flex: 1 1 220px; min-width: 0; min-height: 56px; padding: 0 20px;
  border: 1px solid var(--line); border-radius: 999px; background: #FFFFFF;
  font: 400 15.5px/1.2 var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.signup__row input[type="email"]::placeholder { color: var(--placeholder); }
.signup__row input[type="email"]:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 4px rgba(90, 86, 49, .18); }
.signup__row .btn { flex: 0 0 auto; padding: 0 24px; font-size: 15px; }
.signup__row .btn:disabled { opacity: .6; cursor: progress; }
.signup__note { padding-left: 20px; font-size: 12.5px; color: var(--muted); }
.signup__msg { padding-left: 20px; font-size: 14px; }
.signup__msg.is-error { color: var(--clay); }
.signup__msg.is-done { display: flex; align-items: center; gap: 10px; padding-left: 0; font-size: 16px; font-weight: 500; color: var(--moss); }
.signup__msg.is-done::before { content: ""; flex: 0 0 auto; width: 26px; height: 26px; border-radius: 999px; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235A5631' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 15px no-repeat; }
.signup.is-done .signup__row, .signup.is-done .signup__note { display: none; }
.buy__windows { font-size: 13.5px; color: var(--muted); }

/* ---------- Price ---------- */
.price { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 80px; }
.price__copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.price__title { font-size: clamp(40px, 4.8vw, 64px); line-height: 1; }
.price__card-wrap { flex: 0 1 420px; min-width: 0; display: flex; }
.price-card {
  flex: 1 1 auto; display: flex; flex-direction: column; gap: 20px; padding: 34px 32px 28px;
  background: var(--bg); border: 1px solid var(--line); outline: 1px solid var(--line-soft); outline-offset: -9px; border-radius: 12px;
  box-shadow: 0 30px 56px -36px rgba(41, 37, 29, .5);
  transition: transform .45s var(--ease), box-shadow .45s;
}
.price-card:hover { transform: translateY(-5px); box-shadow: 0 40px 64px -36px rgba(41, 37, 29, .55); }
.price-card__amount { display: flex; align-items: baseline; gap: 10px; }
.price-card__amount strong { font-family: var(--serif); font-weight: 400; font-size: 92px; line-height: 1; }
.ticks { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.ticks svg { flex: 0 0 auto; margin-top: 3px; }

/* ---------- Questions ---------- */
.faq { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px 80px; }
.faq .title { flex: 1 1 260px; }
.faq__list { flex: 3 1 520px; min-width: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px;
  font-family: var(--serif); font-weight: 400; font-size: 26px; list-style: none; cursor: pointer; transition: color .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--moss-deep); }
.plus { flex: 0 0 auto; font: 400 24px/1 var(--sans); color: var(--moss-deep); transition: transform .35s var(--ease); }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; max-width: 36em; font-size: 15.5px; color: var(--muted); }

/* ---------- The end ---------- */
.end { overflow: hidden; }
.end__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 48px; padding-block: 88px; }
.end__copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.end__title { font-size: clamp(42px, 5.4vw, 76px); line-height: .98; }
.end__emblem { flex: 0 0 auto; height: 270px; aspect-ratio: 595 / 887; max-width: 100%; background: var(--moss);
  -webkit-mask: url("../img/emblem.svg") center / contain no-repeat; mask: url("../img/emblem.svg") center / contain no-repeat; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.site-footer__inner { display: flex; flex-direction: column; gap: 36px; padding-block: 56px 44px; font-size: 14px; }
.wordmark { display: block; font: 400 clamp(25px, 8.2vw, 124px)/1 var(--logo); letter-spacing: .1em; text-transform: uppercase; color: var(--bg); white-space: nowrap; }
.site-footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 40px; padding-top: 22px; border-top: 1px solid rgba(244, 240, 231, .16); }
.site-footer__row > span { display: flex; align-items: center; gap: 10px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.site-footer a { display: flex; align-items: center; min-height: 44px; color: var(--on-dark); text-decoration: none; }
.site-footer__emblem { flex: 0 0 auto; width: 18px; height: 26px; background: var(--sand); -webkit-mask: url("../img/emblem-small.svg") center / contain no-repeat; mask: url("../img/emblem-small.svg") center / contain no-repeat; }
.site-footer__fine { font-size: 12.5px; color: var(--on-dark-muted); }

/* ---------- The buy step ---------- */
.buy {
  width: min(480px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; overflow: auto;
  border: 1px solid var(--line); border-radius: 14px; background: var(--linen); color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(31, 28, 22, .6);
}
.buy::backdrop { background: rgba(31, 28, 22, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.buy__body { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px 28px 26px; }
.buy__close { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.buy__close:hover { background: var(--tint); color: var(--ink); }
.buy__title { font-family: var(--serif); font-weight: 400; font-size: 35px; line-height: 1.02; padding-right: 36px; }
.buy__title em { color: var(--moss-deep); }
.dots { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.dots li { display: flex; gap: 10px; align-items: flex-start; }
.dots li::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--moss); }
.dots li.optional { color: var(--muted); }
.dots li.optional::before { background: var(--line-warm); }
.confirm { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 8px; background: var(--sage); }
.confirm label { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.confirm input { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--moss); }
.confirm__error { padding-left: 32px; font-size: 13.5px; color: var(--clay); }
.note { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); }
.note svg { flex: 0 0 auto; margin-top: 2px; }
/* While the shop is shut (no checkout link in js/site.js) the buy step says "Opening soon" instead. */
.buy:not(.is-soon) .buy__soon, .buy.is-soon .buy__open { display: none; }
.buy__need { margin-bottom: -8px; font-size: 14px; font-weight: 500; }
.buy__lede { font-size: 15px; }
.buy__tester { padding: 12px 14px; border-radius: 8px; background: var(--sage); font-size: 14px; }
.buy__tester a { color: var(--moss); font-weight: 500; }

/* ---------- Early testers (testers.html) ---------- */
.apply {
  display: flex; flex-direction: column; gap: 24px; margin-top: 10px; padding: 30px 28px;
  background: var(--linen); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 40px 70px -50px rgba(41, 37, 29, .55);
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field > legend { padding: 0; font-size: 15.5px; font-weight: 500; color: var(--ink); }
.field > legend { margin-bottom: 8px; }
.star { color: var(--moss); }
.doc .field__hint, .field__hint { font-size: 13px; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px;
  background: #FFFFFF; font: 400 15.5px/1.4 var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 4px rgba(90, 86, 49, .18); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px; background: #FFFFFF; font-size: 14.5px; color: var(--ink);
  cursor: pointer; transition: border-color .2s, background .2s;
}
.choices label:has(input:checked) { border-color: var(--moss); background: var(--sage); }
.choices label:focus-within { box-shadow: 0 0 0 4px rgba(90, 86, 49, .18); }
.choices input { width: 18px; height: 18px; margin: 0; accent-color: var(--moss); }
.field.is-wrong input[type="text"], .field.is-wrong input[type="email"], .field.is-wrong .choices label { border-color: var(--clay); }
.apply__send { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.apply__send .btn:disabled { opacity: .6; cursor: progress; }
.apply .signup__msg, .apply .signup__note { padding-left: 0; }
.apply.is-done .field, .apply.is-done .apply__send .btn, .apply.is-done .apply__send .signup__note { display: none; }

/* ---------- Plain pages (thanks, legal, 404) ---------- */
.page-main { padding-block: 40px 96px; }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; color: var(--muted); text-decoration: none; }
.back svg { transition: transform .3s var(--ease); }
.back:hover svg { transform: translateX(-3px); }
.paper-card { position: relative; max-width: 660px; display: flex; flex-direction: column; gap: 22px; padding: 40px 36px; overflow: hidden; background: var(--linen); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 40px 70px -50px rgba(41, 37, 29, .55); }
.paper-card > * { position: relative; }
.big-title { font-family: var(--serif); font-weight: 400; font-size: clamp(42px, 5vw, 64px); line-height: .98; }
.big-title em { color: var(--moss-deep); }
.done-check { width: 60px; height: 60px; border-radius: 999px; background: var(--sage); color: var(--moss); display: flex; align-items: center; justify-content: center; }
.next-steps { display: flex; flex-direction: column; gap: 14px; }
.next-steps li { display: flex; gap: 14px; align-items: baseline; }
.next-steps li > span:first-child { flex: 0 0 20px; font: italic 400 30px/1 var(--serif); color: var(--moss); }
.petals { position: absolute !important; inset: 0; pointer-events: none; }
.petal { position: absolute; top: 0; opacity: 0; border-radius: 70% 0 70% 0; }
.doc { max-width: 680px; display: flex; flex-direction: column; gap: 18px; }
.doc h2 { font-family: var(--serif); font-weight: 400; font-size: 31px; margin-top: 12px; }
.doc p, .doc li { color: var(--muted); }
.doc ul { display: flex; flex-direction: column; gap: 8px; }

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  .nav { display: none; }
  .brand { gap: 8px; }
  .brand__emblem { width: 20px; height: 29px; }
  .brand__name { font-size: 13.5px; letter-spacing: .12em; }
  .btn--sm { padding: 0 16px; }
  .section { padding-block: 72px; }
  .hero__inner { padding-block: 48px 72px; gap: 48px; }
  .added { margin-bottom: 0; max-width: 340px; }
  .seal { left: -18px; top: -34px; width: 88px; height: 88px; }
  .emblem-bg { --soft: .09; }
  .film { --frame: 104px; }
  .film__words { font-size: 13px; }
  .end__inner { padding-block: 64px; }
  .end__emblem { height: 190px; }
  .stat__after { font-size: 60px; }
  .paper-card { padding: 32px 22px; }
}

/* ======================================================================
   Motion. Every element rests in its finished state; these only animate
   it into place. Turned off entirely for people who ask for less motion.
   ====================================================================== */
@keyframes lcUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes lcLine { from { transform: translateY(112%); } to { transform: none; } }
@keyframes lcFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lcFadeSoft { from { opacity: 0; } to { opacity: var(--soft, .13); } }
@keyframes lcDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes lcPhone { from { opacity: 0; transform: translateY(56px) rotate(6deg); } to { opacity: 1; transform: rotate(-2deg); } }
@keyframes lcFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes lcWipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes lcDrop { from { opacity: 0; transform: translateY(-18px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes lcBlurOn { from { filter: blur(0); } to { filter: blur(2.5px); } }
@keyframes lcBurns { from { transform: scale(1); } to { transform: scale(1.08) translate(-1%, -1.5%); } }
@keyframes lcBeat { 0%, 16%, 100% { transform: none; } 6% { transform: translateY(-3px) scale(1.08); } }
@keyframes lcProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lcSpin { to { transform: rotate(360deg); } }
@keyframes lcMarquee { to { transform: translateX(-50%); } }
@keyframes lcWave { 0%, 100% { transform: scaleY(.4); } 50% { transform: scaleY(1); } }
@keyframes lcSway { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes lcPop { 0% { opacity: 0; transform: scale(.4); } 60% { opacity: 1; transform: scale(1.1); } 100% { opacity: 1; transform: none; } }
@keyframes lcRise { from { opacity: 0; transform: translateY(44px); } to { opacity: 1; transform: none; } }
@keyframes lcStrike { from { background-size: 0% 1.5px; } to { background-size: 100% 1.5px; } }
@keyframes lcGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes lcGrowUp { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes lcBlurScroll { from { filter: blur(0); } to { filter: blur(5px); } }
@keyframes lcPetalA { 0% { opacity: 0; transform: translate(0, -30px) rotate(0); } 12% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(40px, 560px) rotate(300deg); } }
@keyframes lcPetalB { 0% { opacity: 0; transform: translate(0, -30px) rotate(0); } 12% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50px, 540px) rotate(-260deg); } }
@keyframes lcPetalC { 0% { opacity: 0; transform: translate(0, -30px) rotate(0); } 12% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(14px, 600px) rotate(200deg); } }

@media (prefers-reduced-motion: no-preference) {
  /* On load. --d is each element's delay. */
  .in { animation: lcUp .95s var(--ease) var(--d, 0s) both; }
  .line { display: block; animation: lcLine 1.05s var(--ease-out) var(--d, 0s) both; }
  .draw { stroke-dasharray: 1; animation: lcDraw var(--dur, 1.6s) var(--ease-draw) var(--d, 0s) both; }
  .phone-in { animation: lcPhone 1.25s var(--ease-out) .25s both; }
  .phone-float { animation: lcFloat 7s ease-in-out 1.6s infinite; }
  .seal__ring { animation: lcSpin 36s linear infinite; }
  .footage { animation: lcBurns 14s ease-in-out 1s infinite alternate; }
  .painting { animation: lcWipe 1.5s cubic-bezier(.6, .05, .3, 1) .9s both; }
  .tag { animation: lcBlurOn .6s ease 2.1s both; }
  .hook { animation: lcDrop .8s var(--ease-out) 1.7s both; }
  .captions { animation: lcFade 1s ease 2.2s both; }
  .cap-word { animation: lcBeat 4.8s ease-in-out calc(2.3s + var(--i, 0) * .45s) infinite; }
  .mark { animation: lcFade 1s ease 2.6s both; }
  .playbar span { animation: lcProg 4.8s linear 2.3s infinite; }
  .emblem-bg { animation: lcFadeSoft 1.6s ease .5s both; }
  .film__track { animation: lcMarquee 80s linear infinite; }
  .film-band:hover .film__track { animation-play-state: paused; }
  .wave span { animation: lcWave 1.1s ease-in-out var(--d, 0s) infinite; }
  .sway { transform-origin: 50% 90%; animation: lcSway 6s ease-in-out infinite; }
  .pop { animation: lcPop .7s var(--ease-out) .1s both; }
  .buy[open] { animation: lcUp .45s var(--ease) both; }
  .petal--a { animation: lcPetalA 3.4s cubic-bezier(.3, .1, .5, 1) var(--d, 0s) both; }
  .petal--b { animation: lcPetalB 3.1s cubic-bezier(.3, .1, .5, 1) var(--d, 0s) both; }
  .petal--c { animation: lcPetalC 3.7s cubic-bezier(.3, .1, .5, 1) var(--d, 0s) both; }

  /* On scroll (Chrome, Edge and Safari 26 or newer; elsewhere everything simply shows). */
  @supports (animation-timeline: view()) {
    .rise { animation: lcRise linear both; animation-timeline: view(); animation-range: entry var(--from, 0%) entry var(--to, 100%); }
    .strike { animation: lcStrike linear both; animation-timeline: view(); animation-range: cover 20% cover 42%; }
    .steps-line { animation: lcGrow linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .parcel__address { animation: lcBlurScroll linear both; animation-timeline: view(); animation-range: cover 25% cover 45%; }
    .end__emblem { animation: lcGrowUp linear both; animation-timeline: view(); animation-range: entry 10% cover 50%; }
    .progress { animation: lcGrow linear both; animation-timeline: scroll(root); }
  }

  /* Questions open smoothly where the browser allows it. */
  @supports (interpolate-size: allow-keywords) {
    :root { interpolate-size: allow-keywords; }
    .faq details::details-content { height: 0; overflow: clip; transition: height .45s var(--ease), content-visibility .45s allow-discrete; }
    .faq details[open]::details-content { height: auto; }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .petals { display: none; }
}
