/* Posy Blink Premium: an editorial florist page. Warm cream, a big serif headline,
   and one bouquet, drawn in code, that gets arranged, wrapped and tied as you scroll. */
@font-face { font-family: "Instrument"; src: url("../assets/fonts/instrument.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("../assets/fonts/instrument-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../assets/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --cream: #F6F0E8;
  --paper: #FFFCF7;
  --ink: #16183A;
  --ink2: #1E2150;
  --cobalt: #2436D9;
  --petal: #FF8DB4;
  --rose: #D9467A;
  --marigold: #FFB627;
  --mint: #8FE3B0;
  --muted: #64657E;
  --line: rgba(22, 24, 58, .14);
  --serif: "Instrument", "Didot", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(18px, 4vw, 56px);
  --cur: var(--ink); --cur-ink: var(--cream);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; font-synthesis: none; }
h1, h2, h3, p, ol, dl, dd, figure { margin: 0; }
ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 10px; z-index: 300; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { left: 10px; }

/* pills */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; background: transparent; transition: background-color .25s, color .25s, border-color .25s; }
.pill span { transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.pill:hover span { transform: translateX(4px); }
.pill-solid { background: var(--ink); color: var(--cream); }
.pill-solid:hover { background: var(--cobalt); }
.pill-line { border-color: rgba(22, 24, 58, .35); }
.pill-line:hover { border-color: var(--ink); }
.pill-sm { min-height: 40px; padding: 7px 18px; font-size: .92rem; }

.eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cobalt); }
.h2 { font: 400 clamp(2.9rem, 6.4vw, 6rem)/1.02 var(--serif); letter-spacing: -.015em; margin-top: 18px; text-wrap: balance; }
.h2 em, .display em { font-style: italic; color: var(--cobalt); }
.lede { font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.6; max-width: 30rem; color: var(--muted); text-wrap: pretty; }

/* ------------------------------------------------ intro */
.hero { position: relative; background: var(--cream); }
.stage { position: relative; min-height: max(620px, calc(var(--screen-h, 100svh) - 34px)); overflow: hidden; isolation: isolate; }
html:not(.is-stretched) .hero.pin { height: calc(var(--screen-h, 100vh) * 2.4); }
html:not(.is-stretched) .hero.pin .stage { position: sticky; top: 0; height: calc(var(--screen-h, 100vh) - 34px); min-height: 620px; }

.nav { position: absolute; z-index: 5; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 30px; padding: 18px var(--pad); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 1.75rem/1 var(--serif); }
.brand svg { width: 32px; height: 32px; }
.links { display: flex; gap: 30px; margin-left: auto; font-size: .95rem; }
.links a { text-decoration: none; opacity: .75; }
.links a:hover { opacity: 1; }
@media (max-width: 899px) { .links { display: none; } .nav .pill { margin-left: auto; } }

.glow { position: absolute; z-index: 0; right: -4vw; top: 50%; width: min(64vw, 980px); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 141, 180, .34), rgba(255, 182, 39, .1) 60%, rgba(246, 240, 232, 0)); pointer-events: none; }
.bgword { position: absolute; z-index: 1; right: 3vw; top: 50%; transform: translate(var(--shift, 0px), -50%); font: italic 400 clamp(5rem, 13vw, 15rem)/.8 var(--serif); white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(36, 54, 217, .2); pointer-events: none; user-select: none; }

.copy { position: absolute; z-index: 4; left: var(--pad); top: 50%; transform: translateY(-46%); width: min(42vw, 600px); }
.kicker { display: flex; align-items: center; gap: 12px; font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.kicker i { width: 28px; height: 1px; background: currentColor; }
.display { margin-top: 18px; font: 400 clamp(3.4rem, 7vw, 8.2rem)/.98 var(--serif); letter-spacing: -.02em; }
.display .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.display .ln > span, .display em { display: inline-block; }
.js .display .ln > span { animation: lineUp 1.1s cubic-bezier(.2, .85, .2, 1) both; }
.js .display .ln:nth-child(2) > span { animation-delay: .1s; }
.js .display .ln:nth-child(3) > span { animation-delay: .2s; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
.copy .lede { margin-top: 20px; }
.btns { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.live { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #1F9D63; flex: none; box-shadow: 0 0 0 0 rgba(31, 157, 99, .5); animation: pulse 2s ease-out infinite; }
.live.closed i { background: var(--marigold); animation: none; }
@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(31, 157, 99, 0); } }
.js .copy .kicker, .js .copy .lede, .js .copy .btns, .js .copy .live { animation: fadeUp 1s cubic-bezier(.2, .85, .2, 1) both .35s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.art { position: absolute; z-index: 2; right: max(4vw, 10px); top: 50%; transform: translateY(-48%); width: min(46vw, 640px); display: flex; flex-direction: column; align-items: center; }
.art svg { height: min(calc(var(--screen-h, 100vh) * .78), 780px); width: auto; max-width: 100%; overflow: visible; }
.cap { margin-top: 4px; text-align: center; font: italic 400 clamp(1.05rem, 1.35vw, 1.3rem)/1.3 var(--serif); color: var(--muted); min-height: 1.3em; transition: opacity .3s; }
.cap.swap { opacity: 0; }

.steps { position: absolute; z-index: 4; left: var(--pad); bottom: clamp(22px, 4vh, 40px); display: flex; gap: 22px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(22, 24, 58, .38); }
.steps li { display: flex; align-items: baseline; gap: 8px; transition: color .35s; }
.steps li b { font: 400 1.05rem/1 var(--serif); letter-spacing: 0; }
.steps li.on { color: var(--ink); }
.steps li.on b { color: var(--cobalt); }
.scroll-btn { position: absolute; z-index: 4; right: var(--pad); bottom: clamp(18px, 3.4vh, 34px); width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(22, 24, 58, .35); display: grid; place-items: center; text-decoration: none; font-size: 1.15rem; transition: border-color .25s, background-color .25s; }
.scroll-btn:hover { border-color: var(--ink); background: rgba(22, 24, 58, .05); }
.scroll-btn span { animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }

@media (max-width: 899px) {
  .stage { display: flex; flex-direction: column; padding: 86px var(--pad) 26px; }
  .copy { position: relative; left: auto; top: auto; transform: none; width: auto; }
  .display { font-size: clamp(3.2rem, 15.5vw, 5.6rem); margin-top: 14px; }
  .copy .lede { margin-top: 14px; max-width: 34rem; }
  .btns { margin-top: 18px; }
  .live { margin-top: 14px; }
  .art { position: relative; right: auto; top: auto; transform: none; width: 100%; margin: 14px auto 0; }
  .art svg { display: block; margin: 0 auto; height: min(112vw, calc(var(--screen-h, 100vh) * .56), 520px); }
  #bq-wrap { width: 100%; min-height: min(112vw, calc(var(--screen-h, 100vh) * .56), 520px); }
  .glow { right: 50%; top: auto; bottom: 0; width: 150vw; transform: translateX(50%); }
  .bgword { right: auto; left: 50%; top: auto; bottom: 26%; transform: translate(calc(-50% + var(--shift, 0px)), 0); font-size: 36vw; }
  .steps { position: relative; left: auto; bottom: auto; margin-top: 12px; justify-content: center; gap: 14px; font-size: .7rem; }
  .scroll-btn { display: none; }
}
@media (max-width: 420px) {
  .btns { flex-wrap: nowrap; gap: 8px; }
  .btns .pill { flex: 1 1 auto; padding-inline: 14px; font-size: .92rem; min-height: 46px; }
}

/* ------------------------------------------------ how it works */
.story { background: var(--ink); color: var(--cream); padding: clamp(80px, 12vw, 170px) var(--pad) clamp(70px, 9vw, 130px); }
.statement { max-width: 1180px; margin: 0 auto; font: 400 clamp(2.2rem, 5vw, 4.8rem)/1.05 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
.statement .wd { opacity: var(--o, 1); transition: opacity .25s linear; }
.cutoff { display: flex; align-items: center; gap: 12px; max-width: 1180px; margin: clamp(48px, 7vw, 90px) auto 0; font-weight: 700; font-size: .82rem; color: rgba(246, 240, 232, .6); }
.cutoff .bar { position: relative; flex: 1; height: 4px; border-radius: 4px; background: rgba(246, 240, 232, .16); }
.cutoff .bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 4px; background: var(--petal); }
.cutoff .bar b { position: absolute; top: 50%; left: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--cream); border: 4px solid var(--petal); }
.van-line { max-width: 1180px; margin: 14px auto 0; color: rgba(246, 240, 232, .7); }
.van-line b { color: var(--cream); }
.times { max-width: 1180px; margin: clamp(44px, 6vw, 80px) auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.times li { border-top: 1px solid rgba(246, 240, 232, .16); padding-top: 18px; }
.times b { display: block; font: italic 400 clamp(2.8rem, 4.6vw, 4rem)/1 var(--serif); color: var(--petal); }
.times span { display: block; margin-top: 10px; font-weight: 700; }
.times p { margin-top: 6px; color: rgba(246, 240, 232, .66); line-height: 1.55; }
@media (max-width: 760px) { .times { grid-template-columns: 1fr; gap: 26px; } }

/* ------------------------------------------------ bouquets */
.collection { padding: clamp(80px, 11vw, 150px) 0 clamp(60px, 8vw, 110px); background: var(--cream); }
.col-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 18px 40px; padding: 0 var(--pad) 36px; }
.rail { display: flex; gap: 16px; overflow-x: auto; padding: 10px var(--pad) 30px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { scroll-snap-type: none; }
.rail.dragging * { pointer-events: none; }
.bq { flex: none; width: min(76vw, 330px); scroll-snap-align: start; border-radius: 26px; overflow: hidden; background: var(--c); color: var(--ink); position: relative; border: 1px solid var(--line); }
.bq::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .55), transparent 50%); pointer-events: none; mix-blend-mode: soft-light; }
.bq-art { aspect-ratio: 32 / 34; display: grid; place-items: end center; padding: 18px 18px 0; }
.bq-art svg { width: 100%; height: 100%; }
.bq-meta { background: var(--paper); padding: 18px 20px 20px; display: grid; gap: 6px; }
.bq-meta h3 { font: 400 1.9rem/1 var(--serif); }
.bq-meta p { color: var(--muted); font-size: .95rem; }
.bq-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.bq-row b { font: 400 1.6rem/1 var(--serif); }
.bq-row button { border: 0; background: var(--ink); color: var(--cream); border-radius: 999px; padding: 10px 18px; font-weight: 600; cursor: pointer; }
.bq-row button:hover { background: var(--cobalt); }
.col-foot { padding: 6px var(--pad) 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; min-height: 54px; }
.col-foot .note { font-weight: 600; }
.col-foot a { color: var(--cobalt); font-weight: 700; }

/* ------------------------------------------------ band */
.band { background: var(--cobalt); color: var(--cream); padding: 18px 0; font: italic 400 clamp(2.4rem, 6vw, 5.2rem)/1.1 var(--serif); }
.band .mq-track > * { flex: none; }
.band span { padding: 0 .35em; }
.band i { display: inline-block; width: .85em; height: .85em; align-self: center; }
.band i svg { width: 100%; height: 100%; }

/* ------------------------------------------------ visit */
.visit { background: var(--ink); color: var(--cream); padding: clamp(80px, 11vw, 150px) var(--pad) 0; overflow: hidden; }
.visit .eyebrow { color: var(--petal); }
.visit .h2 em { color: var(--petal); }
.visit .lede { margin: 22px 0 30px; color: rgba(246, 240, 232, .7); }
.visit .pill-solid { background: var(--cream); color: var(--ink); }
.visit .pill-solid:hover { background: var(--petal); }
.v-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; max-width: 1300px; margin: 0 auto; }
.v-facts { display: grid; gap: 18px; }
.v-facts div { border-top: 1px solid rgba(246, 240, 232, .16); padding-top: 12px; }
.v-facts dt { color: rgba(246, 240, 232, .6); font-size: .88rem; }
.v-facts dd { margin: 2px 0 0; font: 400 1.5rem/1.2 var(--serif); }
.wordmark { font: italic 400 17vw/.8 var(--serif); text-align: center; margin: 60px 0 0; padding-bottom: .16em; color: var(--cobalt); white-space: nowrap; letter-spacing: -.02em; }
.wordmark .ch { display: inline-block; transition: transform .5s cubic-bezier(.3, 1.6, .5, 1), color .3s; }
.wordmark .ch:hover { transform: translateY(-10%) rotate(-4deg); color: var(--petal); }
@media (max-width: 760px) { .v-grid { grid-template-columns: 1fr; } }
.p-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 20px var(--pad) 28px; font-size: .86rem; color: rgba(246, 240, 232, .6); background: var(--ink); position: relative; border-top: 1px solid rgba(246, 240, 232, .12); }
.p-foot a { color: var(--petal); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .js .display .ln > span, .js .copy .kicker, .js .copy .lede, .js .copy .btns, .js .copy .live, .scroll-btn span, .live i { animation: none; }
  .wordmark .ch { transition: none; }
}
