/* Lily Event's design study: the colours of her satin roses (blush, rose, wine), champagne and gold detailing,
   soft-cornered pictures in layered stacks, a satin ribbon through the page. */

@font-face { font-family: "Bodoni Moda"; src: url(fonts/bodoni-moda-latin-wght-normal.woff2) format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url(fonts/bodoni-moda-latin-wght-italic.woff2) format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Great Vibes"; src: url(fonts/great-vibes-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(fonts/dm-sans-latin-wght-normal.woff2) format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }

@property --s1 { syntax: "<number>"; inherits: true; initial-value: 0.86; }
@property --s2 { syntax: "<number>"; inherits: true; initial-value: 0.5; }

:root {
  /* from her logo (peach cream ground, rose pinks, warm gold) and her rose photos (wine) */
  --cream: #fcf3ea;
  --blush: #f8e4da;
  --rose-tint: #f3d3c9;
  --champagne: #f4e4d0;
  --rose: #d57f71;
  --rose-deep: #9c3a43;
  --wine: #5a2230;
  --wine-2: #48192a;
  --wine-3: #351220;
  --shade: 53, 18, 32;
  --veil: 252, 243, 234;
  --gold: #b9895b;
  --gold-deep: #8a5f26;
  --gold-lt: #e2c08e;
  --ribbon: #c39a5f;
  --ink: #2e1a1c;
  --muted: #6e5452;
  --on-wine: #fcf3ea;
  --on-wine-muted: #ecd0cc;
  --serif: "Bodoni Moda", "Bodoni 72", Didot, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  --script: "Great Vibes", "Snell Roundhand", cursive;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --head-h: 76px;
  --r: 18px;
  --space: clamp(96px, 11vw, 168px);
  --slide-time: 7000ms;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scrollbar-color: var(--rose-deep) var(--cream); -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--cream); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--rose-tint); color: var(--wine-3); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wine :focus-visible, .hero :focus-visible, .drawer :focus-visible { outline-color: var(--gold-lt); }
.skip { position: absolute; left: 16px; top: -64px; z-index: 90; padding: 10px 16px; background: var(--wine); color: var(--cream); border-radius: 999px; }
.skip:focus { top: 16px; }

/* ---------- Type ---------- */
.display, .h1, .h2 { font-family: var(--serif); font-weight: 500; margin: 0; text-wrap: balance; }
.display { font-size: clamp(2.6rem, 1.5rem + 4.2vw, 5rem); line-height: 1.04; letter-spacing: -0.02em; }
.h1 { font-size: clamp(2.3rem, 1.5rem + 2.8vw, 3.9rem); line-height: 1.06; letter-spacing: -0.015em; }
.h2 { font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.6rem); line-height: 1.06; letter-spacing: -0.015em; }
:is(.display, .h1, .h2) em { font-family: var(--script); font-style: normal; font-weight: 400; font-size: 1.34em; line-height: 0.8; letter-spacing: 0; color: var(--gold-deep); padding-inline: 0.04em; }
:is(.wine, .drawer) :is(.display, .h1, .h2) em { color: var(--gold-lt); }
.lede { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.6; max-width: 36ch; margin: 0; }
.wine .lede { color: var(--on-wine-muted); }
.muted { color: var(--muted); }

/* ---------- Grounds: layered tints from her flowers, satin and tulle in CSS ---------- */
.wine {
  position: relative; color: var(--on-wine); background-color: var(--wine);
  background-image:
    linear-gradient(112deg, rgba(255,255,255,0) 18%, rgba(255,230,232,0.06) 31%, rgba(255,255,255,0) 44%, rgba(255,230,232,0.04) 63%, rgba(255,255,255,0) 78%),
    linear-gradient(180deg, var(--wine) 0%, var(--wine-2) 100%);
}
.cream { position: relative; background-color: var(--cream); background-image: linear-gradient(115deg, rgba(255,255,255,0) 8%, rgba(255,255,255,0.7) 27%, rgba(255,255,255,0) 46%); }
.blush {
  position: relative; background-color: var(--blush);
  background-image: radial-gradient(rgba(197,63,99,0.09) 0.8px, transparent 1.2px), linear-gradient(115deg, rgba(255,255,255,0) 10%, rgba(255,255,255,0.5) 30%, rgba(255,255,255,0) 52%);
  background-size: 7px 7px, 100% 100%;
}
.in { position: relative; z-index: 2; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Section passes ---------- */
.edge { position: absolute; left: 0; width: 100%; height: clamp(56px, 8.5vw, 132px); display: block; pointer-events: none; z-index: 0; }
.edge .fill { fill: var(--edge-fill); }
.edge .hair { fill: none; stroke: var(--gold-lt); stroke-width: 1.25; vector-effect: non-scaling-stroke; }
.edge--bottom { bottom: -1px; }
.edge--top { bottom: calc(100% - 1px); transform-origin: 50% 100%; }
.edge--cream { --edge-fill: var(--cream); }
.edge--blush { --edge-fill: var(--blush); }
.edge--wine { --edge-fill: var(--wine); }
.edge--blush .hair, .edge--cream .hair { stroke: var(--gold); opacity: 0.7; }
.lace::before { content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 16px; background: radial-gradient(circle at 50% 100%, var(--wine) 11px, transparent 11.5px) 0 0 / 26px 16px repeat-x; }
.lace::after { content: ""; position: absolute; left: 0; right: 0; top: 18px; height: 6px; background: radial-gradient(circle, rgba(220,192,138,0.75) 1.6px, transparent 2px) 13px 0 / 26px 6px repeat-x; }

/* ---------- The satin ribbon through the page ---------- */
.ribbon { position: absolute; top: 0; left: 0; width: 100%; z-index: 1; pointer-events: none; overflow: hidden; }
.ribbon path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ribbon .band { stroke: var(--ribbon); stroke-opacity: 0.18; stroke-width: 9; }
.ribbon .edge-line { stroke: var(--ribbon); stroke-width: 1.5; }

/* ---------- Pictures: soft corners, layered frames and stacks ---------- */
.pic { position: relative; display: block; overflow: hidden; margin: 0; background: var(--champagne); border-radius: var(--r); isolation: isolate; }
.pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.layered { position: relative; }
.layered::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border-radius: var(--r); background: var(--rose-tint); z-index: -1; transition: transform 0.8s var(--ease); }
.wine .layered::before { background: var(--wine-2); box-shadow: inset 0 0 0 1px rgba(220,192,138,0.35); }
.frame { position: absolute; border: 1px solid var(--gold); border-radius: calc(var(--r) + 6px); pointer-events: none; opacity: 0.6; }
.wine .frame { border-color: var(--gold-lt); }

/* ---------- Buttons and links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent; font: 500 1rem/1 var(--sans); letter-spacing: 0.01em; text-decoration: none; white-space: nowrap; transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.2s var(--ease); }
.btn:active { transform: scale(0.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--gold { background: var(--gold-lt); color: var(--wine-3); }
.btn--gold:hover { background: #ead2a2; }
.btn--line { border-color: rgba(251,246,241,0.55); color: var(--cream); }
.btn--line:hover { border-color: var(--gold-lt); background: rgba(251,246,241,0.1); }
.btn--wine { background: var(--wine); color: var(--cream); }
.btn--wine:hover { background: var(--rose-deep); }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 1.0625rem; }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 0.5s var(--ease); }
.link:hover { background-size: 0% 1px; background-position: 100% 100%; }
.link svg { width: 16px; height: 16px; }
.ask { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9375rem; font-weight: 500; color: var(--wine); text-decoration: none; padding: 6px 0; }
.wine .ask { color: var(--gold-lt); }
.ask::before, .pearls li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, #fff 0 18%, #f4ebe2 45%, #cbb593 100%); box-shadow: 0 1px 3px rgba(43,10,21,0.35); }
.ask span { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size 0.5s var(--ease); }
.ask:hover span { background-size: 0% 1px; background-position: 100% 100%; }
.pearls { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pearls li { display: flex; align-items: center; gap: 14px; }
.pearls li::before { width: 10px; height: 10px; }

/* ---------- Header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 70; color: var(--ink); transition: transform 0.6s var(--ease), color 0.4s var(--ease), background-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.top::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(180deg, rgba(var(--veil), 0.92), rgba(var(--veil), 0)); pointer-events: none; transition: opacity 0.4s; }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, rgba(156,122,53,0), rgba(156,122,53,0.7) 50%, rgba(156,122,53,0)); opacity: 0; transition: opacity 0.4s; }
.top.is-solid { background: rgba(251,246,241,0.94); color: var(--ink); box-shadow: 0 10px 30px -22px rgba(43,10,21,0.5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.top.is-solid::before { opacity: 0; }
.top.is-solid::after { opacity: 1; }
.top.is-hidden { transform: translateY(-100%); }
.on-wine .top:not(.is-solid) { color: var(--cream); }
.on-wine .top:not(.is-solid)::before { background: linear-gradient(180deg, rgba(var(--shade), 0.45), rgba(var(--shade), 0)); }
.on-wine .top:not(.is-solid) .call { border-color: var(--gold-lt); color: var(--cream); }
.top__in { position: relative; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); height: var(--head-h); display: flex; align-items: center; gap: 36px; }
.brand { display: flex; align-items: center; gap: 12px; font: 400 2.1rem/1 var(--script); letter-spacing: 0; text-decoration: none; white-space: nowrap; }
.brand__mark { width: 56px; height: 56px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(220,192,138,0.7), 0 6px 14px -8px rgba(43,10,21,0.6); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { position: relative; padding: 8px 0; font-size: 0.9375rem; text-decoration: none; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform 0.5s var(--ease); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.call { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--wine); color: var(--wine); text-decoration: none; font-weight: 500; font-size: 0.9375rem; transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease); }
.call svg { width: 17px; height: 17px; }
.call:hover { background: var(--wine); color: var(--cream); }
.top.is-solid .call { background: var(--wine); border-color: var(--wine); color: var(--cream); }
.top.is-solid .call:hover { background: var(--rose-deep); }
.menu-btn { display: none; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px; background: none; border: 0; color: inherit; font-weight: 500; cursor: pointer; }
.menu-btn .bars { position: relative; width: 26px; height: 12px; }
.menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 0.5s var(--ease), width 0.5s var(--ease); }
.menu-btn .bars::before { top: 0; width: 26px; }
.menu-btn .bars::after { bottom: 0; width: 18px; }
.menu-open .menu-btn .bars::before { transform: translateY(5.25px) rotate(45deg); }
.menu-open .menu-btn .bars::after { width: 26px; transform: translateY(-5.25px) rotate(-45deg); }
.menu-open .top { background: transparent; color: var(--cream); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
.menu-open .top::after, .menu-open .top::before { opacity: 0; }
.menu-open .top .call { background: transparent; border-color: var(--gold-lt); color: var(--cream); }

/* phone menu: a wine drape that falls from the top */
.drawer { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; padding: calc(var(--head-h) + 20px) var(--gutter) 28px; overflow-y: auto; color: var(--cream); background-color: var(--wine); background-image: linear-gradient(112deg, rgba(255,255,255,0) 20%, rgba(255,230,232,0.07) 34%, rgba(255,255,255,0) 48%); clip-path: ellipse(150% 0% at 50% 0%); visibility: hidden; transition: clip-path 0.7s var(--ease), visibility 0s linear 0.7s; }
.drawer.is-open { clip-path: ellipse(150% 150% at 50% 0%); visibility: visible; transition: clip-path 0.9s var(--ease); }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer__links li { border-bottom: 1px solid rgba(220,192,138,0.25); opacity: 0; transform: translateY(26px); transition: opacity 0.5s var(--ease), transform 0.8s var(--ease); }
.drawer__links a { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font: 500 clamp(1.75rem, 7vw, 2.25rem)/1.15 var(--serif); text-decoration: none; }
.drawer__links a svg { width: 20px; height: 20px; color: var(--gold-lt); }
.drawer__links em { font-style: italic; color: var(--gold-lt); }
.drawer__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 18px; opacity: 0; transform: translateY(20px); transition: opacity 0.5s var(--ease), transform 0.8s var(--ease); }
.drawer__foot .btn { width: 100%; }
.drawer__social { margin: 0; font-size: 0.9375rem; color: var(--on-wine-muted); }
.drawer.is-open li, .drawer.is-open .drawer__foot { opacity: 1; transform: none; transition-delay: calc(0.22s + var(--i, 0) * 55ms); }
/* ---------- First screen: a slideshow of her work ---------- */
.hero { position: relative; min-height: max(660px, 100svh); display: grid; align-items: center; color: var(--ink); background: var(--cream); overflow: clip; }
.slides { position: absolute; inset: 0; z-index: 0; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.8s ease; }
.slide.is-on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.shade { position: absolute; inset: 0; transition: --s1 1.8s ease, --s2 1.8s ease; background: linear-gradient(90deg, rgba(var(--veil), var(--s1)) 0%, rgba(var(--veil), var(--s1)) 47%, rgba(var(--veil), var(--s2)) 60%, rgba(var(--veil), 0) 82%), linear-gradient(0deg, rgba(var(--veil), 0.5), rgba(var(--veil), 0) 30%); }
.hero__in { width: 100%; padding-top: calc(var(--head-h) + 40px); padding-bottom: clamp(150px, 16vw, 220px); }
.hero__words { position: relative; display: grid; gap: 24px; justify-items: start; max-width: 600px; }
.hero h1 em { display: block; font-size: 1.5em; line-height: 1; margin-top: 0.06em; }
.ring { position: absolute; z-index: -1; left: -9%; top: 50%; width: 118%; aspect-ratio: 1; translate: 0 -50%; color: var(--gold); overflow: visible; pointer-events: none; }
.ring circle, .ring path { fill: none; stroke: currentColor; stroke-linecap: round; }
.ring .sheen { stroke: #fff6e6; stroke-width: 2.4; opacity: 0; }
.sprig { display: block; width: 120px; height: 40px; color: var(--gold); overflow: visible; }
.sprig path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.sprig circle { fill: currentColor; stroke: none; }
.wine .sprig { color: var(--gold-lt); }
.hero .lede { color: var(--ink); }
.hero__acts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.btn--outline { border-color: var(--wine); color: var(--wine); background: rgba(var(--veil), 0.6); }
.btn--outline:hover { background: var(--wine); color: var(--cream); }
.hero__bar { position: absolute; left: 0; right: 0; bottom: clamp(70px, 9vw, 140px); z-index: 3; display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.hero__bar > * { background: rgba(var(--veil), 0.94); }
.slide-name { font: italic 500 1.0625rem/1.3 var(--serif); color: var(--ink); text-decoration: none; padding: 8px 16px; border-radius: 999px; transition: color 0.4s var(--ease); }
.slide-name:hover { color: var(--rose-deep); }
.dots { display: flex; border-radius: 999px; padding-inline: 6px; }
.dot { width: 36px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dot::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: rgba(46,26,28,0.3) linear-gradient(var(--wine), var(--wine)) 0 0 / 0% 100% no-repeat; transition: background-color 0.3s; }
.dot[aria-current="true"]::before { background-size: 100% 100%; }
.dot:hover::before { background-color: rgba(46,26,28,0.6); }
.pause { width: 44px; height: 44px; border-radius: 50%; border: 0; color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background-color 0.3s; }
.pause:hover { background: var(--cream); }
.pause svg { width: 16px; height: 16px; }
.pause .play, .pause[aria-pressed="true"] .stop { display: none; }
.pause[aria-pressed="true"] .play { display: block; }

/* ---------- Her collection: an index beside a stack of pictures ---------- */
.collection { padding: calc(var(--space) - 24px) 0 calc(var(--space) + 70px); }
.collection::before { content: ""; position: absolute; top: 18%; bottom: 0; right: 0; width: 52%; background: var(--blush); background-image: radial-gradient(rgba(197,63,99,0.09) 0.8px, transparent 1.2px); background-size: 7px 7px; }
.collection__in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.collection__index { position: sticky; top: calc(var(--head-h) + 40px); display: grid; gap: 14px; justify-items: start; }
.collection__index ul { list-style: none; margin: 18px 0 0; padding: 0; width: 100%; }
.collection__index li a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(156,122,53,0.3); font: 500 clamp(1.3rem, 1rem + 0.8vw, 1.7rem)/1.2 var(--serif); text-decoration: none; transition: color 0.4s var(--ease), padding 0.5s var(--ease); }
.collection__index li a svg { width: 18px; height: 18px; color: var(--rose-deep); opacity: 0; transform: translateX(-8px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.collection__index li a:hover { color: var(--rose-deep); }
.collection__index li a:hover svg { opacity: 1; transform: none; }
.stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); align-items: start; }
.stack__col { display: grid; gap: clamp(28px, 4vw, 56px); }
.stack__col:nth-child(2) { margin-top: clamp(60px, 9vw, 140px); }
.tile { display: grid; gap: 14px; text-decoration: none; }
.tile .pic { box-shadow: 0 30px 50px -34px rgba(43,10,21,0.55); }
.tile--tall .pic { aspect-ratio: 4 / 5; }
.tile--square .pic { aspect-ratio: 1; }
.tile--wide .pic { aspect-ratio: 5 / 4; }
.tile__name { font: 500 1.35rem/1.15 var(--serif); display: flex; align-items: center; gap: 8px; }
.tile__name svg { width: 16px; height: 16px; color: var(--rose-deep); opacity: 0; transform: translateX(-6px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease); }
.tile .pic::after, .card .pic::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255,255,255,0.85); border-radius: calc(var(--r) - 6px); opacity: 0; transform: scale(1.03); transition: opacity 0.5s var(--ease), transform 0.7s var(--ease); z-index: 2; }
.tile:hover .pic img, .card:hover .pic img { transform: scale(1.06); }
.tile:hover .pic::after, .card:hover .pic::after { opacity: 1; transform: none; }
.tile:hover .tile__name svg { opacity: 1; transform: none; }
.tile:hover .layered::before { transform: translate(-6px, -6px); }

/* ---------- Satin rose bouquets: a wine band ---------- */
.bouquets { padding: clamp(56px, 6vw, 90px) 0 calc(var(--space) + 110px); overflow-x: clip; }
.sec-head { display: grid; gap: 10px; justify-items: start; margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head--split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.bouquets .lede { margin-top: 12px; }
.track-wrap { position: relative; z-index: 2; }
.track { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; align-items: start; gap: clamp(18px, 2.4vw, 34px); }
.card { flex: 0 0 clamp(220px, 23vw, 300px); display: grid; gap: 10px; align-content: start; }
.card > a:first-child { display: grid; gap: 14px; text-decoration: none; }
.card .pic { aspect-ratio: 4 / 5; box-shadow: 0 24px 40px -28px rgba(43,10,21,0.5); }
.track .card:nth-child(3n+2) .pic { aspect-ratio: 1; }
.track .card:nth-child(3n+3) { margin-top: 70px; }
.card__name { font: 500 1.25rem/1.2 var(--serif); transition: color 0.4s var(--ease); }
.card:hover .card__name { color: var(--rose-deep); }
.wine .card:hover .card__name { color: var(--gold-lt); }
.card__group { font-size: 0.8125rem; color: var(--muted); }
.wine .card__group { color: var(--on-wine-muted); }

/* ---------- Event decoration: a stack of three pictures ---------- */
.event { padding: 0 0 var(--space); overflow-x: clip; }
.event__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.event__stack { position: relative; margin-top: clamp(-200px, -12vw, -100px); aspect-ratio: 1 / 0.92; z-index: 3; }
.event__stack .s { position: absolute; }
.event__stack .s .pic { width: 100%; height: 100%; box-shadow: 0 40px 70px -40px rgba(43,10,21,0.7); }
.event__stack .s1 { left: 6%; top: 0; width: 76%; height: 66%; }
.event__stack .s2 { left: 0; bottom: 0; width: 42%; height: 54%; border: 8px solid var(--blush); border-radius: calc(var(--r) + 8px); }
.event__stack .s3 { right: 0; bottom: 8%; width: 46%; height: 46%; border: 8px solid var(--blush); border-radius: calc(var(--r) + 8px); }
.event__stack .frame { left: 10%; top: -18px; width: 76%; height: 66%; transform: translate(22px, 0); }
.event__words { display: grid; gap: 28px; justify-items: start; }
.event__words .pearls { font-size: 1.125rem; }

/* ---------- Find us ---------- */
.contact { padding: var(--space) 0 calc(var(--space) * 0.6); background-image: linear-gradient(180deg, var(--blush), var(--cream) 40%); }
.contact__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.contact__words { display: grid; gap: 22px; justify-items: start; }
.contact__phone { font: 500 clamp(2.3rem, 1rem + 5vw, 5.4rem)/1 var(--serif); letter-spacing: -0.02em; text-decoration: none; color: var(--wine); font-variant-numeric: lining-nums; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; padding-bottom: 10px; transition: background-size 0.5s var(--ease), color 0.4s; }
.contact__phone:hover { color: var(--rose-deep); background-size: 0 1px; background-position: 100% 100%; }
.contact__pages { display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--muted); }
.contact__pages a { color: var(--ink); }
.contact__pic { position: relative; z-index: 3; margin-bottom: calc(var(--space) * -0.6 - 90px); }
.contact__pic .pic { aspect-ratio: 4 / 5; box-shadow: 0 40px 70px -40px rgba(43,10,21,0.7); }

/* ---------- Closing band and footer ---------- */
.closing { padding: clamp(120px, 13vw, 180px) 0 clamp(90px, 10vw, 140px); text-align: center; }
.closing__in { display: grid; justify-items: center; gap: 26px; }
.closing .closing .lede { max-width: 40ch; }
.foot { position: relative; color: var(--on-wine-muted); background: var(--wine-3); padding: 64px 0 40px; font-size: 0.9375rem; }
.foot__rule { position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: linear-gradient(90deg, rgba(220,192,138,0), rgba(220,192,138,0.5) 50%, rgba(220,192,138,0)); }
.foot__rule::after { content: ""; position: absolute; left: 50%; top: -5px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 18%, #f4ebe2 45%, #cbb593 100%); }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot__brand { display: grid; gap: 16px; justify-items: start; }
.foot__logo { width: 168px; height: 168px; border-radius: 22px; box-shadow: 0 0 0 1px rgba(220,192,138,0.5); }
.foot__brand p { margin: 0; font: italic 500 1.125rem/1.4 var(--serif); color: var(--cream); max-width: 22ch; }
.foot h3 { font: 500 1.125rem var(--serif); color: var(--cream); margin: 0 0 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--gold-lt); }
.foot__base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(227,198,201,0.16); font-size: 0.8125rem; }

/* ---------- Shop ---------- */
.pagehead { padding: calc(var(--head-h) + clamp(48px, 6vw, 96px)) 0 clamp(110px, 11vw, 160px); }
.pagehead__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.pagehead__words { display: grid; gap: 22px; justify-items: start; }
.pagehead__art { position: relative; height: clamp(260px, 26vw, 360px); }
.pagehead__art .art { position: absolute; width: 36%; height: 88%; }
.pagehead__art .art .pic { width: 100%; height: 100%; box-shadow: 0 30px 50px -30px rgba(0,0,0,0.6); }
.pagehead__art .art:nth-child(1) { left: 2%; top: 10%; rotate: -4deg; }
.pagehead__art .art:nth-child(2) { left: 32%; top: 0; z-index: 2; }
.pagehead__art .art:nth-child(3) { left: 62%; top: 14%; rotate: 4deg; }
.shop { padding: 24px 0 var(--space); }
.filters { position: sticky; top: 12px; z-index: 20; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 8px; margin: -60px 0 48px; background: rgba(251,246,241,0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 999px; box-shadow: 0 16px 40px -24px rgba(43,10,21,0.45), 0 0 0 1px rgba(156,122,53,0.22); transform: translateY(var(--head-h)); transition: transform 0.6s var(--ease); width: max-content; max-width: 100%; }
body:has(.top.is-hidden) .filters { transform: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); font-weight: 500; font-size: 0.9375rem; cursor: pointer; white-space: nowrap; transition: background-color 0.35s var(--ease), color 0.35s var(--ease); }
.chip span { color: var(--muted); font-weight: 400; margin-left: 4px; font-variant-numeric: tabular-nums; }
.chip:hover { background: var(--blush); }
.chip[aria-pressed="true"] { background: var(--wine); color: var(--cream); }
.chip[aria-pressed="true"] span { color: var(--on-wine-muted); }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(16px, 2.2vw, 32px); }
.grid .card { flex: none; }
.grid .card[hidden] { display: none; }

/* ---------- Piece ---------- */
.piece { padding: calc(var(--head-h) + clamp(32px, 5vw, 72px)) 0 var(--space); background-image: linear-gradient(180deg, rgba(251,246,241,0) 70%, var(--blush) 100%); }
.piece__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.showcase { position: relative; padding: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; margin-bottom: 40px; }
.showcase::before { content: ""; position: absolute; inset: 0 0 -40px clamp(40px, 6vw, 90px); border-radius: calc(var(--r) + 10px); background-color: var(--wine); background-image: linear-gradient(112deg, rgba(255,255,255,0) 20%, rgba(255,230,232,0.07) 36%, rgba(255,255,255,0) 52%); }
.showcase .pic { aspect-ratio: 4 / 5; box-shadow: 0 40px 70px -36px rgba(0,0,0,0.6); }
.piece__words { display: grid; gap: 24px; justify-items: start; }
.crumbs { display: flex; gap: 10px; font-size: 0.9375rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.price { display: grid; gap: 4px; padding: 20px 0; border-block: 1px solid rgba(156,122,53,0.3); width: 100%; }
.price__label { font-size: 0.875rem; color: var(--muted); }
.price__value { font: 500 1.5rem/1.2 var(--serif); }
.piece__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.more { padding: calc(var(--space) * 0.8) 0 calc(var(--space) + 40px); }

/* ---------- Motion (hidden start states only inside no-preference: reduced motion shows everything still) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.45s; }
  ::view-transition-group(piece) { animation-duration: 0.7s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }

  [data-depth] { translate: 0 var(--py, 0px); }
  .track[data-drift] { translate: var(--dx, 0px) 0; }
  [data-reveal] { transition-delay: calc(var(--d, 0) * 90ms + var(--i, 0) * 90ms); }

  /* slideshow: slow zoom on the picture showing, the dot fills over its time */
  .slide.is-on img, .slide.was-on img { animation: slow-zoom calc(var(--slide-time) + 1800ms) linear forwards; }
  .hero.is-paused .slide img { animation-play-state: paused; }
  @keyframes slow-zoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }
  .dot[aria-current="true"]::before { background-size: 0% 100%; animation: dot-fill var(--slide-time) linear forwards; }
  .hero.is-paused .dot[aria-current="true"]::before { animation-play-state: paused; }
  @keyframes dot-fill { to { background-size: 100% 100%; } }

  .js [data-reveal="lines"] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.1em 0.08em 0.22em; margin: -0.1em -0.08em -0.22em; }
  .js [data-reveal="lines"] .w > span { display: inline-block; transform: translateY(108%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms + var(--w, 0) * 55ms); }
  .js [data-reveal="lines"].is-in .w > span { transform: none; }
  .js [data-reveal="words"] .w > span { display: inline-block; opacity: 0; filter: blur(10px); transform: translateY(0.25em); transition: opacity 0.9s var(--ease), filter 0.9s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--w, 0) * 120ms); }
  .js [data-reveal="words"].is-in .w > span { opacity: 1; filter: none; transform: none; }
  .js [data-reveal="rise"] { transition-property: opacity, transform; transition-duration: 0.9s, 1s; transition-timing-function: var(--ease); }
  .js [data-reveal="rise"]:not(.is-in) { opacity: 0; transform: translateY(28px); }
  .js [data-reveal="unveil"] { transition: clip-path 1.5s var(--ease); }
  .js [data-reveal="unveil"] img { transition: transform 1.8s var(--ease); }
  .js [data-reveal="unveil"]:not(.is-in) { clip-path: inset(100% 0 0 0 round var(--r)); }
  .js [data-reveal="unveil"]:not(.is-in) img { transform: scale(1.22); }
  /* collection: each picture blooms open from below */
  .js [data-reveal="bloom"] .pic { transition: clip-path 1.3s var(--ease); transition-delay: inherit; }
  .js [data-reveal="bloom"] { transition: opacity 0.8s var(--ease), transform 1.1s var(--ease); }
  .js [data-reveal="bloom"]:not(.is-in) { opacity: 0; transform: translateY(40px); }
  .js [data-reveal="bloom"]:not(.is-in) .pic { clip-path: circle(0% at 50% 100%); }
  .js [data-reveal="bloom"].is-in .pic { clip-path: circle(150% at 50% 100%); }
  .js [data-reveal="slide"] { transition: opacity 0.9s var(--ease), transform 1.2s var(--ease); }
  .js [data-reveal="slide"]:not(.is-in) { opacity: 0; transform: translateX(90px) rotate(1.5deg); }
  .js [data-reveal="curtain"] { transition: clip-path 1.6s var(--ease); }
  .js [data-reveal="curtain"] img { transition: transform 2s var(--ease); }
  .js [data-reveal="curtain"]:not(.is-in) { clip-path: inset(0 50% 0 50% round var(--r)); }
  .js [data-reveal="curtain"]:not(.is-in) img { transform: scale(1.18); }
  .js [data-reveal="focus"] { transition: opacity 1s var(--ease), filter 1.1s var(--ease), transform 1.2s var(--ease); }
  .js [data-reveal="focus"]:not(.is-in) { opacity: 0; filter: blur(12px); transform: scale(0.94); }
  .js [data-reveal="lift"] { transition: opacity 0.9s var(--ease), transform 1.2s var(--ease); }
  .js [data-reveal="lift"]:not(.is-in) { opacity: 0; transform: translateY(70px); }
  .js [data-reveal="draw"] path:not(.sheen) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .js [data-reveal="draw"].is-in path:not(.sheen) { stroke-dashoffset: 0; }
  .js .edge .hair { stroke-dasharray: 1; stroke-dashoffset: var(--hair, 0); }
  .ring.is-live .sheen { animation: sheen 9s cubic-bezier(0.45, 0, 0.25, 1) 3s infinite; }
  .js [data-reveal="draw"] circle:not(.berry) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
  .js [data-reveal="draw"].is-in circle { stroke-dashoffset: 0; }
  .js [data-reveal="draw"] .berry { opacity: 0; transition: opacity 0.8s var(--ease) 1.2s; }
  .js [data-reveal="draw"].is-in .berry { opacity: 1; }

  /* the one slow signature: light travels along the satin curl, only while it is on screen */
      @keyframes sheen { 0% { stroke-dashoffset: 0.07; opacity: 0; } 6% { opacity: 0.95; } 42% { stroke-dashoffset: -1; opacity: 0.95; } 48%, 100% { stroke-dashoffset: -1; opacity: 0; } }

  .card { transition: transform 0.6s var(--ease); }
  .card:hover { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .drawer, .drawer.is-open { transition: opacity 0.2s, visibility 0s; clip-path: none; opacity: 0; }
  .drawer.is-open { opacity: 1; }
  .drawer__links li, .drawer__foot { opacity: 1; transform: none; transition: none; }
  .slide, .shade { transition: none; }
  .hero__bar .dots, .hero__bar .pause { display: none; }
}

/* ---------- Smaller screens ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --head-h: 64px; }
  .nav, .call__num { display: none; }
  .top__in { gap: 12px; }
  .call { margin-left: auto; width: 44px; padding: 0; justify-content: center; }
  .menu-btn { display: flex; }
  .brand { font-size: 1.75rem; gap: 10px; }
  .brand__mark { width: 44px; height: 44px; }
  .collection__in { grid-template-columns: minmax(0, 1fr); }
  .collection__index { position: static; }
  .collection__index ul { display: none; }
  .collection::before { width: 70%; top: 30%; }
}
@media (max-width: 820px) {
  .pagehead__in, .event__in, .piece__in, .contact__in { grid-template-columns: minmax(0, 1fr); }
  .hero { align-items: end; }
  .shade { background: linear-gradient(0deg, rgba(var(--veil), var(--s1)) 0%, rgba(var(--veil), var(--s1)) 64%, rgba(var(--veil), var(--s2)) 76%, rgba(var(--veil), 0) 92%), linear-gradient(180deg, rgba(var(--veil), 0.7), rgba(var(--veil), 0) 18%); }
  .ring { width: 104%; left: -4%; top: 40%; }
  .hero__in { padding-top: calc(var(--head-h) + 160px); padding-bottom: 150px; }
  .hero__bar { bottom: 64px; justify-content: space-between; padding-inline: var(--gutter); }
  .slide-name { display: none; }
  .hero__bar { justify-content: flex-end; bottom: 72px; }
  .event__stack { margin-top: -90px; }
  .contact__pic { margin-bottom: -110px; width: 78%; justify-self: end; }
  .pagehead__art { height: 230px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --space: 88px; }
  .stack { gap: 14px; }
  .stack__col { gap: 28px; }
  .stack__col:nth-child(2) { margin-top: 64px; }
  .tile__name { font-size: 1.125rem; }
  .bouquets .track-wrap { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; }
  .bouquets .track-wrap::-webkit-scrollbar { display: none; }
  .track { width: max-content; }
  .track .card { flex-basis: 64vw; scroll-snap-align: start; scroll-margin-left: var(--gutter); }
  .track .card:nth-child(3n+3) { margin-top: 40px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .card__name { font-size: 1.0625rem; }
  .filters { margin-top: -52px; border-radius: 28px; }
  .foot__in { grid-template-columns: 1fr; }
  .hero__acts .btn { flex: 1 1 auto; }
  .event__stack { aspect-ratio: 1 / 1.05; }
  .lace::before { background-size: 20px 13px; height: 13px; background-image: radial-gradient(circle at 50% 100%, var(--wine) 8.5px, transparent 9px); }
}

/* ---------- Drawn details from her logo: ring, leaves and berries, bow, balloons ---------- */
.bow { display: block; width: 150px; height: 88px; color: var(--gold-lt); overflow: visible; }
.bow path { fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.bow .sheen { stroke: #fff6e6; stroke-width: 2.6; opacity: 0; }
.balloons { position: absolute; right: -2%; top: -40px; width: clamp(90px, 10vw, 140px); color: var(--gold); overflow: visible; pointer-events: none; }
.balloons path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; }
.balloons .fill-rose { fill: rgba(213,127,113,0.16); }
.balloons .fill-gold { fill: rgba(185,137,91,0.14); }
.event__words { position: relative; }
.edge-sprig { position: absolute; z-index: 1; width: clamp(80px, 9vw, 130px); height: auto; aspect-ratio: 3 / 1; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .bow.is-live .sheen { animation: sheen 8s cubic-bezier(0.45, 0, 0.25, 1) 2.4s infinite; }
  .bow .sheen { stroke-dasharray: 0.07 1.3; stroke-dashoffset: 0.07; }
  .ring .sheen { stroke-dasharray: 0.05 1.3; stroke-dashoffset: 0.05; }
}
