/* LinhDann – vintage florist scrapbook */
:root {
  --paper: #fcf5ed;
  --paper-light: #fffaf4;
  --paper-section: #fcf6ef;
  --paper-about: #f8eae2;
  --paper-wedding: #eef2e5;
  --blush: #f7dedd;
  --banner-pink: #efc6c3;
  --banner-sage: #d7dfc4;
  --rose: #9b3b51;
  --rose-soft: #b5576b;
  --rose-btn: #a8505f;
  --ink: #5b4642;
  --ink-soft: #7a6460;
  --leaf: #6f8b5f;

  --script: "Dancing Script", cursive;
  --serif: "Lora", Georgia, serif;

  --tex: linear-gradient(rgba(255, 253, 249, .42), rgba(255, 253, 249, .42)), url("images/paper/grain.svg"), url("images/paper/fibers.svg");
  --tex-size: auto, 240px, 500px;
  --lift: 0 1px 1px rgba(80, 50, 30, .14), 0 12px 24px -10px rgba(80, 50, 30, .45);

  --torn-card: polygon(0.0% 1.28%, 2.5% 1.38%, 5.0% 0.06%, 7.5% 1.51%, 10.0% 0.15%, 12.5% 0.55%, 15.0% 0.98%, 17.5% 1.47%, 20.0% 0.54%, 22.5% 1.48%, 25.0% 0.87%, 27.5% 0.50%, 30.0% 0.51%, 32.5% 0.28%, 35.0% 0.13%, 37.5% 0.24%, 40.0% 1.10%, 42.5% 1.59%, 45.0% 0.26%, 47.5% 0.08%, 50.0% 1.58%, 52.5% 0.85%, 55.0% 0.65%, 57.5% 0.38%, 60.0% 0.95%, 62.5% 1.32%, 65.0% 0.73%, 67.5% 0.67%, 70.0% 0.09%, 72.5% 1.47%, 75.0% 0.05%, 77.5% 0.79%, 80.0% 1.34%, 82.5% 0.21%, 85.0% 1.17%, 87.5% 1.52%, 90.0% 1.01%, 92.5% 1.26%, 95.0% 0.17%, 97.5% 0.70%, 99.82% 0.0%, 98.99% 2.5%, 99.65% 5.0%, 99.46% 7.5%, 98.80% 10.0%, 98.98% 12.5%, 98.83% 15.0%, 99.46% 17.5%, 99.41% 20.0%, 99.12% 22.5%, 99.43% 25.0%, 99.65% 27.5%, 99.52% 30.0%, 99.82% 32.5%, 99.55% 35.0%, 98.81% 37.5%, 98.85% 40.0%, 99.25% 42.5%, 99.40% 45.0%, 99.59% 47.5%, 99.89% 50.0%, 99.67% 52.5%, 99.06% 55.0%, 98.96% 57.5%, 99.57% 60.0%, 99.06% 62.5%, 99.07% 65.0%, 99.17% 67.5%, 99.20% 70.0%, 99.09% 72.5%, 99.56% 75.0%, 99.15% 77.5%, 99.66% 80.0%, 99.42% 82.5%, 99.08% 85.0%, 99.17% 87.5%, 99.65% 90.0%, 98.87% 92.5%, 99.22% 95.0%, 99.30% 97.5%, 100.0% 99.98%, 97.5% 99.12%, 95.0% 99.60%, 92.5% 98.93%, 90.0% 99.26%, 87.5% 98.69%, 85.0% 98.96%, 82.5% 98.72%, 80.0% 99.44%, 77.5% 98.97%, 75.0% 98.82%, 72.5% 98.67%, 70.0% 99.44%, 67.5% 98.65%, 65.0% 98.61%, 62.5% 98.90%, 60.0% 98.44%, 57.5% 98.47%, 55.0% 99.17%, 52.5% 99.15%, 50.0% 99.73%, 47.5% 98.66%, 45.0% 98.50%, 42.5% 99.24%, 40.0% 98.89%, 37.5% 98.85%, 35.0% 98.83%, 32.5% 99.73%, 30.0% 98.75%, 27.5% 99.07%, 25.0% 98.94%, 22.5% 99.33%, 20.0% 99.00%, 17.5% 98.76%, 15.0% 98.98%, 12.5% 98.85%, 10.0% 99.96%, 7.5% 99.74%, 5.0% 99.29%, 2.5% 98.96%, 0.26% 100.0%, 0.82% 97.5%, 0.76% 95.0%, 0.05% 92.5%, 0.57% 90.0%, 0.27% 87.5%, 0.06% 85.0%, 0.16% 82.5%, 0.38% 80.0%, 0.22% 77.5%, 0.23% 75.0%, 0.04% 72.5%, 0.56% 70.0%, 0.46% 67.5%, 0.73% 65.0%, 0.71% 62.5%, 0.29% 60.0%, 1.08% 57.5%, 0.00% 55.0%, 0.49% 52.5%, 0.33% 50.0%, 0.49% 47.5%, 0.14% 45.0%, 1.00% 42.5%, 0.45% 40.0%, 0.04% 37.5%, 0.74% 35.0%, 0.11% 32.5%, 0.65% 30.0%, 0.41% 27.5%, 0.70% 25.0%, 1.15% 22.5%, 0.98% 20.0%, 0.50% 17.5%, 0.98% 15.0%, 0.77% 12.5%, 0.44% 10.0%, 0.17% 7.5%, 0.72% 5.0%, 0.68% 2.5%);
  --torn-strip: polygon(0.0% 6.70%, 3.3% 6.78%, 6.7% 4.26%, 10.0% 2.46%, 13.3% 6.25%, 16.7% 0.01%, 20.0% 0.76%, 23.3% 3.96%, 26.7% 4.31%, 30.0% 0.98%, 33.3% 4.41%, 36.7% 6.24%, 40.0% 2.63%, 43.3% 3.02%, 46.7% 1.58%, 50.0% 2.04%, 53.3% 6.81%, 56.7% 2.66%, 60.0% 6.73%, 63.3% 6.40%, 66.7% 4.17%, 70.0% 1.82%, 73.3% 6.87%, 76.7% 3.47%, 80.0% 2.91%, 83.3% 2.23%, 86.7% 6.89%, 90.0% 3.44%, 93.3% 2.00%, 96.7% 3.34%, 99.88% 0.0%, 99.38% 3.3%, 99.56% 6.7%, 99.71% 10.0%, 99.22% 13.3%, 99.17% 16.7%, 99.99% 20.0%, 99.47% 23.3%, 99.73% 26.7%, 99.06% 30.0%, 99.22% 33.3%, 99.75% 36.7%, 99.73% 40.0%, 99.85% 43.3%, 99.01% 46.7%, 99.71% 50.0%, 99.39% 53.3%, 99.53% 56.7%, 99.36% 60.0%, 99.40% 63.3%, 99.26% 66.7%, 99.88% 70.0%, 99.24% 73.3%, 99.70% 76.7%, 99.47% 80.0%, 99.66% 83.3%, 99.70% 86.7%, 99.47% 90.0%, 99.54% 93.3%, 99.64% 96.7%, 100.0% 94.78%, 96.7% 95.86%, 93.3% 99.74%, 90.0% 98.23%, 86.7% 96.81%, 83.3% 93.58%, 80.0% 93.78%, 76.7% 96.18%, 73.3% 99.90%, 70.0% 94.55%, 66.7% 97.01%, 63.3% 95.97%, 60.0% 95.04%, 56.7% 95.57%, 53.3% 96.63%, 50.0% 93.62%, 46.7% 97.30%, 43.3% 97.26%, 40.0% 94.04%, 36.7% 98.62%, 33.3% 97.92%, 30.0% 94.19%, 26.7% 99.54%, 23.3% 94.15%, 20.0% 95.14%, 16.7% 96.97%, 13.3% 98.00%, 10.0% 94.53%, 6.7% 93.63%, 3.3% 99.00%, 0.48% 100.0%, 0.55% 96.7%, 0.50% 93.3%, 0.33% 90.0%, 0.15% 86.7%, 0.59% 83.3%, 0.81% 80.0%, 0.07% 76.7%, 0.23% 73.3%, 0.82% 70.0%, 0.79% 66.7%, 0.66% 63.3%, 0.03% 60.0%, 0.72% 56.7%, 0.98% 53.3%, 1.00% 50.0%, 0.70% 46.7%, 0.05% 43.3%, 0.84% 40.0%, 0.22% 36.7%, 0.65% 33.3%, 0.95% 30.0%, 0.71% 26.7%, 0.13% 23.3%, 0.29% 20.0%, 0.92% 16.7%, 0.15% 13.3%, 0.61% 10.0%, 0.41% 6.7%, 0.16% 3.3%);
  --torn-note: polygon(0.0% 1.37%, 4.5% 0.10%, 9.1% 0.24%, 13.6% 0.83%, 18.2% 0.16%, 22.7% 0.13%, 27.3% 1.27%, 31.8% 1.63%, 36.4% 1.93%, 40.9% 0.30%, 45.5% 0.95%, 50.0% 0.69%, 54.5% 1.32%, 59.1% 1.08%, 63.6% 2.06%, 68.2% 0.82%, 72.7% 0.12%, 77.3% 1.53%, 81.8% 0.33%, 86.4% 1.39%, 90.9% 1.11%, 95.5% 2.00%, 98.78% 0.0%, 98.63% 4.5%, 99.42% 9.1%, 98.79% 13.6%, 99.44% 18.2%, 98.35% 22.7%, 98.86% 27.3%, 99.71% 31.8%, 99.48% 36.4%, 99.18% 40.9%, 98.38% 45.5%, 99.61% 50.0%, 98.43% 54.5%, 98.56% 59.1%, 99.81% 63.6%, 98.53% 68.2%, 99.80% 72.7%, 99.73% 77.3%, 98.69% 81.8%, 99.48% 86.4%, 98.07% 90.9%, 98.94% 95.5%, 100.0% 99.29%, 95.5% 98.25%, 90.9% 99.94%, 86.4% 98.40%, 81.8% 99.88%, 77.3% 99.67%, 72.7% 97.91%, 68.2% 98.50%, 63.6% 99.51%, 59.1% 99.74%, 54.5% 97.86%, 50.0% 98.54%, 45.5% 98.19%, 40.9% 99.69%, 36.4% 98.63%, 31.8% 99.22%, 27.3% 99.48%, 22.7% 99.27%, 18.2% 98.65%, 13.6% 99.23%, 9.1% 99.15%, 4.5% 99.70%, 1.83% 100.0%, 1.43% 95.5%, 1.77% 90.9%, 0.95% 86.4%, 1.87% 81.8%, 1.14% 77.3%, 1.30% 72.7%, 1.26% 68.2%, 1.63% 63.6%, 0.87% 59.1%, 0.21% 54.5%, 0.07% 50.0%, 0.45% 45.5%, 0.09% 40.9%, 1.96% 36.4%, 1.06% 31.8%, 1.67% 27.3%, 0.00% 22.7%, 1.03% 18.2%, 1.96% 13.6%, 1.36% 9.1%, 0.94% 4.5%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  font: 400 16.5px/1.7 var(--serif);
  background: var(--tex), radial-gradient(120% 70% at 10% 0%, #f8e3dc 0%, transparent 60%), var(--paper);
  background-size: var(--tex-size), 100% 100%, auto;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px dashed var(--rose); outline-offset: 5px; }
::selection { background: #edc4c7; color: #5e2938; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { position: relative; width: min(1100px, 100% - 40px); margin: 0 auto; }
.deco { position: absolute; pointer-events: none; user-select: none; }
.garden-art { position: absolute; z-index: 0; max-width: none; pointer-events: none; user-select: none; }
.section.garden-section > .wrap { z-index: 1; }
.garden-hero { right: -100px; top: 70px; width: clamp(240px, 27vw, 380px); scale: -1 1; opacity: .72; }
.garden-gift-petals { right: -120px; bottom: 8%; width: clamp(300px, 32vw, 460px); rotate: -12deg; opacity: .36; mask-image: linear-gradient(180deg, transparent, #000 22%, #000 75%, transparent); }
.garden-gift { left: -100px; top: 60%; width: clamp(180px, 19vw, 260px); translate: 0 -50%; rotate: 12deg; opacity: .64; }
.garden-wedding { right: -90px; bottom: -30px; width: clamp(220px, 26vw, 360px); rotate: 180deg; opacity: .6; }
.garden-gallery { left: -100px; bottom: 20px; width: clamp(210px, 24vw, 340px); rotate: -12deg; opacity: .72; }
.collection-wash { left: -190px; top: 20%; width: clamp(420px, 42vw, 620px); rotate: -12deg; opacity: .42; }
.collection-rose { right: -65px; top: 12%; width: clamp(130px, 14vw, 200px); rotate: -12deg; opacity: .54; }
.collection-meadow { right: -32px; bottom: 18px; width: clamp(270px, 30vw, 440px); opacity: .68; }
.script { font-family: var(--script); font-weight: 700; }

/* ---------- Torn edges between sections ---------- */
.section { position: relative; }
.edge {
  position: absolute; left: 0; right: 0; height: 26px; z-index: 2; pointer-events: none;
  filter: drop-shadow(0 -2px 0 rgba(255, 252, 247, .95)) drop-shadow(0 -1px 2px rgba(110, 70, 50, .22));
}
.edge i {
  display: block; height: 100%;
  background: var(--edge, var(--paper));
  -webkit-mask: url("images/paper/torn.svg") repeat-x 0 0 / 300px 26px;
  mask: url("images/paper/torn.svg") repeat-x 0 0 / 300px 26px;
}
.edge-top { top: -25px; }
.edge-bottom { bottom: -25px; transform: scaleY(-1); }

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 5;
  --edge: var(--paper-light);
  background: var(--tex), var(--paper-light);
  background-size: var(--tex-size), auto;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0 12px; }
.logo { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--rose); }
.logo svg { width: 24px; height: 32px; color: #8b9a74; }
.logo span { font: 700 32px/1 var(--script); }
.nav { font-size: 15px; }
.nav-track { display: flex; align-items: center; gap: clamp(14px, 3vw, 34px); }
.nav a.clone { display: none; }
.nav a { text-decoration: none; padding: 6px 2px; white-space: nowrap; transition: color .2s; }
.nav a:hover { color: var(--rose); }
.nav a.active { position: relative; padding: 6px 18px; border-radius: 999px; background: #f2d4d0; color: var(--rose); }
/* A little flower stuck on the corner of the selected menu item */
.nav a.active::before {
  content: ""; position: absolute; right: -8px; top: -10px; width: 24px; height: 24px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-20 -20 40 40'%3E%3Cdefs%3E%3CradialGradient id='p' cx='50%25' cy='95%25' r='95%25'%3E%3Cstop offset='0' stop-color='%23fff4f5'/%3E%3Cstop offset='.55' stop-color='%23f7b4c3'/%3E%3Cstop offset='1' stop-color='%23e0708c'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath transform='rotate(0)' d='M0 0C-8-3-10-14-1-18.5C8-15 8-4 0 0Z' fill='url(%23p)' stroke='%23c9627e' stroke-width='.8'/%3E%3Cpath transform='rotate(72)' d='M0 0C-8-3-10-14-1-18.5C8-15 8-4 0 0Z' fill='url(%23p)' stroke='%23c9627e' stroke-width='.8'/%3E%3Cpath transform='rotate(144)' d='M0 0C-8-3-10-14-1-18.5C8-15 8-4 0 0Z' fill='url(%23p)' stroke='%23c9627e' stroke-width='.8'/%3E%3Cpath transform='rotate(216)' d='M0 0C-8-3-10-14-1-18.5C8-15 8-4 0 0Z' fill='url(%23p)' stroke='%23c9627e' stroke-width='.8'/%3E%3Cpath transform='rotate(288)' d='M0 0C-8-3-10-14-1-18.5C8-15 8-4 0 0Z' fill='url(%23p)' stroke='%23c9627e' stroke-width='.8'/%3E%3Ccircle r='4.2' fill='%23f1c65a' stroke='%23c98f2e' stroke-width='.8'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 1px 1px rgba(120, 60, 75, .3));
  rotate: 14deg;
  animation: nav-flower .55s cubic-bezier(.3, 1.8, .5, 1) both;
}
.nav a.active:hover::before { animation: nav-flower-wiggle .6s ease-in-out; }
@keyframes nav-flower { from { scale: 0; rotate: -70deg; } }
@keyframes nav-flower-wiggle { 30% { rotate: -8deg; scale: 1.15; } 65% { rotate: 26deg; } }
.nav a.active::after { content: ""; position: absolute; left: 50%; bottom: -9px; translate: -50% 0; border: 5px solid transparent; border-top-color: #d79aa3; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 46px 0 30px; }
.hero-corner { left: -48px; top: -18px; width: clamp(150px, 19vw, 270px); z-index: 1; }
.hero-leaves { left: 6px; top: 470px; width: clamp(60px, 6vw, 92px); z-index: 1; }
.hero-branch { right: -22px; top: 430px; width: clamp(110px, 12vw, 170px); z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 26px; align-items: center; z-index: 2; }

.hero-card-wrap { position: relative; padding-top: 52px; filter: drop-shadow(0 10px 14px rgba(110, 70, 50, .2)); }
.hero-bow { position: absolute; z-index: 3; left: 50%; top: 4px; width: clamp(150px, 19vw, 230px); translate: -50% 0; }
.hero-card {
  position: relative; z-index: 2;
  padding: 80px clamp(30px, 6vw, 70px) 64px;
  text-align: center;
  background: url("images/assets/cream-torn-paper.webp") center / 100% 100% no-repeat;
}
.hero-title { position: relative; font: 700 clamp(64px, 8vw, 108px)/1 var(--script); color: var(--rose); padding-bottom: 6px; }
.hero-title span { display: block; }
.swash { display: block; width: 66%; height: 22px; margin: -6px auto 0; color: var(--rose-soft); }
.hero-caps { margin-top: 18px; font-weight: 500; font-size: clamp(14px, 1.5vw, 17px); letter-spacing: .2em; text-transform: uppercase; line-height: 1.75; color: #6b4a45; }
.scrap-pink { position: absolute; z-index: 1; background: url("images/assets/blush-torn-paper.webp") center / 100% 100% no-repeat; }
.scrap-pink.s1 { left: -34px; bottom: -34px; width: 62%; height: 120px; rotate: -4deg; }
.scrap-pink.s2 { right: -18px; bottom: -22px; width: 42%; height: 90px; rotate: 3deg; opacity: .8; }

/* Hero moment: the card is finished in front of you */
.hero-title .name {
  display: inline-block;
  padding: .06em .16em .1em; margin: -.06em -.16em -.1em;
  -webkit-mask-image: linear-gradient(90deg, #000 42%, transparent 58%);
  mask-image: linear-gradient(90deg, #000 42%, transparent 58%);
  -webkit-mask-size: 260% 100%; mask-size: 260% 100%;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
  animation: write 1.7s cubic-bezier(.5, .05, .3, 1) .45s forwards;
}
@keyframes write { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.hero-title .ch { display: inline-block; }
.hero-title.wave .ch { animation: name-wave .7s cubic-bezier(.3, 1.6, .5, 1) calc(var(--i) * 45ms) both; }
@keyframes name-wave { 40% { translate: 0 -.12em; rotate: -5deg; } 70% { translate: 0 .02em; rotate: 2deg; } }
.hero-flourish { position: relative; width: min(66%, 220px); height: 22px; margin: -6px auto 0; }
.hero-flourish .swash { width: 100%; margin: 0; }
.hero-card .swash { stroke-dasharray: 1; stroke-dashoffset: 1; animation: swash-draw .8s cubic-bezier(.2, .8, .2, 1) 1.95s forwards; }
@keyframes swash-draw { to { stroke-dashoffset: 0; } }
.hero-heart {
  position: absolute; right: -.1em; top: calc(50% - 2px); translate: 0 -50%; width: .2em; height: .2em; color: #e0798f;
  scale: 0; animation: heart-dot .55s cubic-bezier(.3, 1.9, .5, 1) 2.6s forwards;
}
.hero-heart svg { display: block; width: 100%; height: 100%; }
@keyframes heart-dot { to { scale: 1; } }
.hero-caps .tw { display: inline-block; opacity: 0; translate: 0 .5em; filter: blur(5px); animation: tag-in .9s cubic-bezier(.16, 1, .3, 1) forwards; animation-delay: calc(2.1s + var(--i) * .13s); }
@keyframes tag-in { to { opacity: 1; translate: 0 0; filter: blur(0); } }
.hero-bow { transform-origin: 50% 40%; animation: bow-tie 1.1s cubic-bezier(.3, 1.5, .5, 1) .1s both, bow-breeze 4.5s ease-in-out 1.6s infinite alternate; }
@keyframes bow-tie { from { opacity: 0; scale: .35; rotate: -28deg; } }
@keyframes bow-breeze { from { rotate: -2.5deg; } to { rotate: 2.5deg; } }
/* Same names first, so the running animations continue; the wiggle is added on top. */
.hero-card-wrap.wiggle .hero-bow { animation: bow-tie 1.1s cubic-bezier(.3, 1.5, .5, 1) .1s both, bow-breeze 4.5s ease-in-out 1.6s infinite alternate, bow-wiggle .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bow-wiggle { 30% { transform: rotate(-9deg) scale(1.06); } 65% { transform: rotate(6deg); } }
.hero-petals { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.petal {
  position: absolute; left: var(--x); top: -10px; width: var(--s); height: calc(var(--s) * 1.4);
  opacity: 0; filter: drop-shadow(0 2px 2px rgba(150, 70, 90, .25));
  animation: petal-fall 3.2s cubic-bezier(.25, .6, .4, 1) var(--dl) forwards;
}
@keyframes petal-fall {
  0% { opacity: 0; translate: 0 0; rotate: var(--r0); }
  12% { opacity: 1; }
  45% { translate: calc(var(--dx) * -1) calc(var(--yp) * var(--h, 380px) * .45); }
  100% { opacity: .95; translate: var(--dx) calc(var(--yp) * var(--h, 380px)); rotate: var(--r1); }
}

.hero-photos { position: relative; height: clamp(420px, 46vw, 560px); }
.hero-stamp { position: absolute; left: 18%; top: 0; width: clamp(80px, 9vw, 116px); --r: 4deg; z-index: 1; }
.hero-postmark { position: absolute; left: calc(18% + clamp(64px, 7.5vw, 98px)); top: 14px; width: clamp(130px, 15vw, 190px); opacity: .85; rotate: -4deg; }
.hero-photos .polaroid { position: absolute; }
.hero-back { right: 0; top: 70px; width: 45%; z-index: 1; }
.hero-front { left: 6%; top: 150px; width: 56%; z-index: 2; }
.hero .polaroid { animation: drop .9s var(--ease, cubic-bezier(.3, 1.3, .45, 1)) both; }
.hero .hero-back { animation-delay: .15s; }
.hero .hero-front { animation-delay: .35s; }
@keyframes drop { from { opacity: 0; translate: 0 -40px; } }

.hero-cta { position: relative; z-index: 3; text-align: center; margin-top: 18px; }
.hero-summary { position: relative; z-index: 2; max-width: 620px; margin: 16px auto 0; padding: 0 20px; color: var(--ink-soft); font-size: 15px; line-height: 1.7; text-align: center; }
.hero-summary span { display: block; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 34px 14px;
  background: var(--rose-btn); color: #fff6f2;
  font-size: 16px; text-decoration: none;
  clip-path: var(--torn-note);
  transition: background .2s, translate .2s;
}
.btn:hover { background: #95404f; translate: 0 -2px; }
.btn svg { width: 16px; height: 16px; }


/* ---------- Section headings ---------- */
.section { padding: 70px 0 80px; --edge: var(--paper-section); background: var(--tex), var(--paper-section); background-size: var(--tex-size), auto; }
.banner-head { display: flex; align-items: center; justify-content: center; gap: 6px; }
.sprig { width: clamp(56px, 8vw, 104px); }
.sprig-l { scale: -1 1; }
.banner {
  padding: 10px clamp(22px, 4vw, 52px) 14px;
  font: 700 clamp(32px, 4.2vw, 46px)/1.15 var(--script);
  color: var(--rose);
  background: var(--tex), var(--banner-pink);
  background-size: var(--tex-size), auto;
  clip-path: var(--torn-strip);
  rotate: -1deg;
  text-align: center;
}
.banner-sage { background-color: var(--banner-sage); color: #4f5e3c; rotate: .8deg; }
.script-title { font: 700 clamp(40px, 5vw, 56px)/1.15 var(--script); color: var(--rose); }
.script-title svg:not(.swash) { display: inline-block; width: .6em; height: .6em; vertical-align: .05em; color: var(--rose-soft); }

/* ---------- Photo pieces ---------- */
.polaroid {
  position: relative; display: block;
  padding: 10px 10px 34px;
  border: 0; background: #fff;
  box-shadow: var(--lift);
  rotate: var(--r, 0deg);
  cursor: zoom-in;
  transition: rotate .4s ease, translate .4s ease, box-shadow .4s;
  -webkit-tap-highlight-color: transparent;
}
.polaroid img { width: 100%; }
.polaroid, a.stamp { text-decoration: none; }
.polaroid picture { display: block; }
.photo-note {
  position: absolute; left: 10px; right: 10px; bottom: 6px;
  color: #845459; font: 600 clamp(17px, 1.7vw, 23px)/1.1 var(--script);
  text-align: center; white-space: nowrap; rotate: -.6deg; pointer-events: none;
}
.polaroid:nth-child(even) .photo-note { rotate: .6deg; }
@media (hover: hover) {
  .polaroid:hover { rotate: 0deg; translate: 0 -5px; box-shadow: 0 2px 2px rgba(80, 50, 30, .14), 0 24px 36px -14px rgba(80, 50, 30, .5); }
}
/* Washi tape: real tape cutouts */
.tape { position: absolute; z-index: 3; top: -16px; left: 50%; width: 92px; height: 34px; translate: -50% 0; rotate: -3deg;
  background: center / 100% 100% no-repeat; filter: drop-shadow(0 1px 1px rgba(80, 50, 30, .18)); }
.tape-kraft { background-image: url("images/assets/yellow-speckled-washi.webp"); }
.tape-sage { background-image: url("images/assets/green-gingham-washi.webp"); height: 36px; }
.tape-pink { background-image: url("images/assets/pink-striped-washi.webp"); width: 84px; height: 40px; }
.tape-wide { background-image: url("images/assets/pink-gingham-tape-long.webp"); width: 180px; height: 34px; left: 16%; rotate: -10deg; }
.tape-corner { background-image: url("images/assets/yellow-washi.webp"); left: auto; right: -34px; top: -6px; translate: 0 0; rotate: 38deg; }

.stamp { display: block; padding: 0; border: 0; background: none; rotate: var(--r, 0deg); filter: drop-shadow(0 4px 6px rgba(80, 50, 30, .28)); cursor: zoom-in; }
span.stamp { cursor: default; }
.stamp-frame {
  display: block; padding: 9px; background: #fff;
  -webkit-mask: radial-gradient(circle 5px, #0000 96%, #000) -6px -6px / 12px 12px round, linear-gradient(#000 0 0) content-box;
  mask: radial-gradient(circle 5px, #0000 96%, #000) -6px -6px / 12px 12px round, linear-gradient(#000 0 0) content-box;
}
.stamp-frame img { width: 100%; }


/* ---------- Collection ---------- */
.collage { position: relative; }
.c-feature { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 18px; align-items: start; }
.cf-main { grid-column: 1 / 7; grid-row: 1; z-index: 1; }
.cf-detail { grid-column: 7 / 9; grid-row: 1; margin-top: 46px; z-index: 2; }
.cf-side { grid-column: 9 / 13; grid-row: 1; margin-top: 10px; z-index: 1; }
.cf-sprig { position: relative; grid-column: 8 / 10; grid-row: 1; align-self: end; width: 90px; margin: 0 0 -30px 30px; z-index: 0; }
.scrap-gingham {
  position: absolute; left: -96px; top: 58%; width: 230px; height: 84px; rotate: 84deg; z-index: 0;
  background: url("images/assets/pink-gingham-paper.webp") center / 100% 100% no-repeat;
  filter: drop-shadow(0 3px 4px rgba(80, 50, 30, .2));
}
.c-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; align-items: center; margin-top: 56px; }

/* ---------- Gifts ---------- */
.band-pink { --edge: var(--blush); background: var(--tex), var(--blush); background-size: var(--tex-size), auto; padding: 80px 0 90px; }
.gift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.gift-text { text-align: center; }
.gift-text .gift-items { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: 12px; }
.gift-items { margin-top: 26px; min-height: 260px; align-items: center; }
.gift-envelope {
  position: relative; display: block; flex: none; width: clamp(170px, 20vw, 250px); padding: 0;
  border: 0; background: transparent; rotate: -6deg; z-index: 1; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.gift-envelope:active { scale: .98; }
.envelope-static { width: 100%; }
.envelope-scene { position: absolute; inset: 0; visibility: hidden; perspective: 900px; }
.gift-envelope.is-ready .envelope-static { visibility: hidden; }
.gift-envelope.is-ready .envelope-scene { visibility: visible; }
.envelope-back, .envelope-front, .envelope-flowers-window, .envelope-flap { position: absolute; inset: 0; width: 100%; height: 100%; }
.envelope-back { z-index: 0; }
.envelope-flowers-window { z-index: 2; clip-path: polygon(0 0, 100% 0, 100% 45%, 0 50%); }
.envelope-flowers { width: 100%; height: 100%; transform-origin: 48% 48%; }
/* Keep the original painted paper, folds and string in front of the flowers. */
.envelope-front { z-index: 3; clip-path: polygon(0 51%, 47.4% 76.1%, 93.6% 46%, 100% 96%, 6.2% 100%); }
.envelope-flap { z-index: 1; transform-origin: 47.4% 48.7%; transform: rotateX(180deg); }
.envelope-flap svg { display: block; width: 100%; height: 100%; }
.envelope-seal { position: absolute; z-index: 5; left: 43%; top: 72%; width: 10%; height: auto; color: var(--rose); opacity: 0; scale: .4; }
.gift-envelope.is-playing .envelope-scene { animation: envelope-send 5.6s ease-in-out both; }
.gift-envelope.is-playing .envelope-flowers { animation: envelope-tuck 5.6s cubic-bezier(.45, 0, .2, 1) both; }
.gift-envelope.is-playing .envelope-flap { animation: envelope-fold 5.6s cubic-bezier(.45, 0, .2, 1) both; }
.gift-envelope.is-playing .envelope-seal { animation: envelope-seal 5.6s ease-out both; }
.gift-envelope.is-paused .envelope-scene, .gift-envelope.is-paused .envelope-scene * { animation-play-state: paused; }
.gift-envelope.is-sealed .envelope-flowers { transform: translateY(55%); opacity: 0; }
.gift-envelope.is-sealed .envelope-flap { transform: rotateX(0deg); z-index: 4; }
.gift-envelope.is-sealed .envelope-seal { opacity: 1; scale: 1; }
@keyframes envelope-tuck {
  0%, 8% { transform: translateY(0) rotate(0deg); opacity: 1; }
  15% { transform: translateY(-2%) rotate(-3deg); }
  21% { transform: translateY(0) rotate(2deg); }
  36% { opacity: 1; }
  37%, 64% { transform: translateY(55%) scale(.82); opacity: 0; }
  80% { transform: translateY(-3%) rotate(-2deg); opacity: 1; }
  88% { transform: translateY(1%) rotate(1deg); }
  100% { transform: translateY(0) rotate(0deg); opacity: 1; }
}
@keyframes envelope-fold {
  0%, 36% { transform: rotateX(180deg); z-index: 1; }
  37% { transform: rotateX(180deg); z-index: 4; }
  47%, 58% { transform: rotateX(0deg); z-index: 4; }
  68%, 100% { transform: rotateX(180deg); z-index: 1; }
}
@keyframes envelope-seal {
  0%, 44% { opacity: 0; scale: .4; }
  49% { opacity: 1; scale: 1.15; }
  52%, 58% { opacity: 1; scale: 1; }
  64%, 100% { opacity: 0; scale: .4; }
}
@keyframes envelope-send {
  0%, 48%, 62%, 100% { transform: translateY(0) rotate(0deg); }
  52% { transform: translateY(-3%) rotate(-3deg); }
  56% { transform: translateY(0) rotate(2deg); }
  59% { transform: translateY(-1%) rotate(-1deg); }
}
.gift-kraft { position: absolute; left: 50%; top: 50%; width: min(86%, 400px); translate: -50% -45%; rotate: 4deg; z-index: 0; filter: drop-shadow(0 6px 8px rgba(80, 50, 30, .22)); }
.gift-photo { position: relative; }
.gift-photo .polaroid { width: 80%; margin-left: auto; }
.gift-stamp { position: absolute; right: -14px; bottom: -34px; width: clamp(110px, 13vw, 150px); z-index: 3; }
.gift-branch { right: -70px; top: 30%; width: 80px; z-index: 0; }

/* ---------- Weddings ---------- */
#hoa-cuoi { --edge: var(--paper-wedding); background: var(--tex), var(--paper-wedding); background-size: var(--tex-size), auto; padding-top: 90px; }
.wed-cluster { left: -54px; top: 58%; width: clamp(120px, 13vw, 170px); }
.wed-tag { left: 0; top: -10px; width: clamp(70px, 9vw, 110px); rotate: -6deg; }
.wed-rings { right: 2%; top: 0; width: clamp(80px, 10vw, 128px); }
.wed-sprig { right: 7%; top: 70px; width: clamp(60px, 7vw, 90px); rotate: 12deg; }
.c-wed { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 44px); margin-top: 10px; }
.c-wed figure { display: flex; flex-direction: column; align-items: center; }
.c-wed .polaroid { width: 100%; }
.c-wed .polaroid img { aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Funeral flowers (calm) ---------- */
.band-ivory { --edge: #efebe4; background: var(--tex), #efebe4; background-size: var(--tex-size), auto; padding: 80px 0 90px; }
.banner-ivory { background-color: #fbf8f2; color: #4a4542; rotate: 0deg; }
.mourn-sprig { right: 4%; top: -40px; width: clamp(60px, 7vw, 90px); rotate: 18deg; opacity: .9; }
.c-mourn { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 18px; align-items: start; margin-top: 44px; }
.mo-a { grid-column: 1 / 9; grid-row: 1; z-index: 1; }
.mo-b { grid-column: 7 / 13; grid-row: 1; margin-top: 46%; z-index: 2; }

/* ---------- More ---------- */
.more-breath { left: -16px; top: 46%; width: clamp(90px, 11vw, 150px); }
.c-more { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 18px; align-items: start; margin-top: 40px; }
.m-a { grid-column: 1 / 7; grid-row: 1; z-index: 1; }
.m-detail { grid-column: 6 / 8; grid-row: 1; align-self: end; margin-bottom: -30px; z-index: 3; }
.m-daisy { left: calc(64% - 30px); top: 44px; width: 64px; rotate: -12deg; z-index: 4; }
.m-b { grid-column: 8 / 12; grid-row: 1; margin-top: 70px; z-index: 1; }
.m-e { grid-column: 2 / 6; grid-row: 2; margin-top: 54px; z-index: 1; }
.m-c { grid-column: 7 / 12; grid-row: 2; margin-top: -60px; z-index: 2; }

.c-more-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 34px); align-items: center; margin-top: 70px; }

/* ---------- About ---------- */
.about { --edge: var(--paper-about); background: var(--tex), var(--paper-about); background-size: var(--tex-size), auto; padding: 60px 0 70px; }
.about { padding: 60px 0 80px; }
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px clamp(30px, 5vw, 60px); align-items: center; }
.about-text { grid-column: 1 / -1; text-align: center; }
.about-shop { width: 100%; }
.shopfront { display: block; color: var(--rose); text-decoration: none; }
.shop-scene { display: block; position: relative; perspective: 900px; perspective-origin: 63% 65%; }
.shop-art { width: 100%; }
.shop-window-light { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .65s ease; pointer-events: none; }
.shop-doorway, .shop-door {
  position: absolute; left: 55.4167%; top: 44.3231%; width: 16.5833%; height: 41.9214%;
  pointer-events: none;
}
.shop-doorway {
  background: radial-gradient(ellipse at 60% 25%, #f7dbab, #ae805e);
  box-shadow: inset 7px 0 12px rgba(87, 50, 33, .25); opacity: 0; transition: opacity .15s ease;
}
/* The door is a crop of the original painting, hinged on its actual left edge. */
.shop-door {
  background: url("images/deco/shop.webp") 66.4336% 76.3158% / 603.015% 238.542% no-repeat;
  transform-origin: 0 50%; transition: transform .8s cubic-bezier(.16, 1, .3, 1);
}
.shopfront:is(:hover, :focus-visible, .is-welcoming) .shop-window-light { opacity: .72; }
.shopfront.is-welcoming .shop-doorway { opacity: 1; }
.shopfront.is-welcoming .shop-door { transform: rotateY(-72deg); }
.shop-sprig { position: absolute; left: 73%; top: 63%; width: 9%; transform-origin: 52% 94%; pointer-events: none; }
.shopfront:is(:hover, :focus-visible, .is-welcoming) .shop-sprig { animation: shop-nod .95s ease-in-out; }
/* The owner: walks out, waters the flowers, walks back (timeline in main.js) */
.shopfront.is-owner-out .shop-doorway { opacity: 1; }
.shopfront.is-owner-out .shop-door { transform: rotateY(-72deg); }
.shopfront.is-watered .shop-sprig { animation: shop-nod 1s ease-in-out 3; }
.shop-owner { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.shop-owner .ow-path { opacity: 0; }
/* After the watering, new blossoms unfold petal by petal (built in main.js). */
.bl-p { transform: rotate(var(--a)) scale(.05); opacity: 0; transition: transform .6s ease-in, opacity .4s ease-in; }
.bl-c { transform: scale(0); transition: transform .4s ease-in; }
.shopfront.is-bloomed .bl-p { transform: rotate(var(--a)) scale(1); opacity: 1; transition: transform .95s cubic-bezier(.25, 1.5, .45, 1) var(--d), opacity .25s linear var(--d); }
.shopfront.is-bloomed .bl-c { transform: scale(1); transition: transform .6s cubic-bezier(.3, 1.8, .5, 1) var(--d); }
.shopfront.is-bloomed .shop-sprig { animation: shop-nod 1.1s ease-in-out 2; }
.bl-spark { opacity: 0; }
.shopfront.is-bloomed .bl-spark { animation: bl-spark 2s ease-out var(--d) both; }
@keyframes bl-spark { 0% { opacity: 0; transform: translate(0, 0) scale(.3); } 20% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), -120px) scale(1) rotate(var(--r)); } }
.shop-owner[data-phase="happy"] .ow-body { animation: ow-hop .44s ease-in-out 2; }
@keyframes ow-hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.ow-leg-f { transform-origin: 6px -122px; }
.ow-leg-b { transform-origin: -8px -122px; }
.ow-arm-b { transform-origin: -6px -236px; }
.ow-arm { transform-origin: 10px -238px; transition: transform .5s cubic-bezier(.3, 1.2, .5, 1); }
.ow-can { transform-origin: 52px -175px; transition: transform .5s cubic-bezier(.3, 1.2, .5, 1); }
.ow-skirt { transform-origin: 0 -200px; }
.ow-hair { transform-origin: -10px -320px; }
.ow-drops { opacity: 0; transition: opacity .25s ease; }
.shop-owner[data-phase="walk"] .ow-leg-f { animation: ow-leg .54s ease-in-out infinite alternate; }
.shop-owner[data-phase="walk"] .ow-leg-b { animation: ow-leg .54s ease-in-out infinite alternate-reverse; }
.shop-owner[data-phase="walk"] .ow-arm-b { animation: ow-arm-swing .54s ease-in-out infinite alternate; }
.shop-owner[data-phase="walk"] .ow-body { animation: ow-bob .27s ease-in-out infinite alternate; }
.shop-owner[data-phase="walk"] .ow-skirt { animation: ow-sway .54s ease-in-out infinite alternate; }
.shop-owner[data-phase="walk"] .ow-hair { animation: ow-hair .54s ease-in-out infinite alternate; }
.shop-owner[data-phase="walk"] .ow-can { animation: ow-can-swing .54s ease-in-out infinite alternate; }
.shop-owner[data-phase="water"] .ow-arm { transform: rotate(-58deg) scale(1.3); }
/* The can sits inside the arm: 108 - 58 = a 50 degree pour, and 1 / 1.3 keeps its size. */
.shop-owner[data-phase="water"] .ow-can { transform: rotate(108deg) scale(.77); }
.shop-owner[data-phase="water"] .ow-drops { opacity: 1; }
.shop-owner[data-phase="water"] .ow-drops ellipse { animation: ow-drop .62s linear infinite; }
.ow-drops .d2 { animation-delay: -.12s !important; }
.ow-drops .d3 { animation-delay: -.25s !important; }
.ow-drops .d4 { animation-delay: -.37s !important; }
.ow-drops .d5 { animation-delay: -.5s !important; }
@keyframes ow-leg { from { transform: rotate(21deg); } to { transform: rotate(-21deg); } }
@keyframes ow-arm-swing { from { transform: rotate(-17deg); } to { transform: rotate(17deg); } }
@keyframes ow-bob { from { transform: translateY(0); } to { transform: translateY(-6px); } }
@keyframes ow-sway { from { transform: skewX(-2.5deg); } to { transform: skewX(2.5deg); } }
@keyframes ow-hair { from { transform: rotate(-2.5deg) skewX(1.5deg); } to { transform: rotate(3deg) skewX(-1.5deg); } }
@keyframes ow-can-swing { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@keyframes ow-drop { from { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { transform: translateY(78px); opacity: 0; } }

.shop-invitation { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 12px; font: 600 clamp(22px, 2.2vw, 27px)/1.3 var(--script); }
.shop-invitation svg { width: 34px; height: 20px; transition: translate .25s ease; }
.shopfront:is(:hover, :focus-visible) .shop-invitation svg { translate: 4px -1px; }
.about-contact { scroll-margin-block: 40px; }
@keyframes shop-nod { 30% { rotate: -6deg; } 65% { rotate: 3deg; } 100% { rotate: 0deg; } }
.about-contact .swash { width: 70%; margin: 2px 0 0; }
.about-text .swash { width: 80%; margin-top: 0; }
.about-branch { right: -50px; bottom: -40px; width: 80px; rotate: 20deg; }

/* ---------- Playful title: "Đặt hoa ngay" ---------- */
.play-title { position: relative; display: inline-block; font-size: clamp(48px, 6.5vw, 72px); cursor: default; }
.play-words { display: inline-block; }
.play-title .w { display: inline-block; white-space: nowrap; }
.play-title .w + .w { margin-left: .28em; }
.play-title .w:nth-child(1) { color: var(--rose); }
.play-title .w:nth-child(2) { color: #d0627d; }
.play-title .w:nth-child(3) { color: #b8445e; }
.play-title .ch { display: inline-block; opacity: 0; transform: translateY(-.7em) rotate(-14deg) scale(.6); }
.play-title.in .ch {
  animation: ch-drop .75s cubic-bezier(.3, 1.7, .5, 1) forwards, ch-wave 4.2s ease-in-out infinite;
  animation-delay: calc(var(--i) * 70ms), calc(1.6s + var(--i) * 80ms);
}
@keyframes ch-drop { to { opacity: 1; transform: none; } }
@keyframes ch-wave { 0%, 64%, 100% { translate: 0 0; rotate: 0deg; } 72% { translate: 0 -.14em; rotate: -6deg; } 80% { translate: 0 .02em; rotate: 3deg; } }
@media (hover: hover) {
  .play-title .ch { transition: translate .25s cubic-bezier(.3, 1.8, .5, 1), color .2s; }
  .play-title .ch:hover { translate: 0 -.22em; color: #e0798f; }
}
.play-heart { position: relative; display: inline-block; width: .55em; height: .55em; margin-left: .18em; vertical-align: .1em; color: #e0798f; opacity: 0; }
.play-heart svg { width: 100%; height: 100%; }
.play-title.in .play-heart { animation: pop-in .5s cubic-bezier(.3, 1.8, .5, 1) 1.1s forwards, beat 1.4s ease-in-out 1.7s infinite; }
@keyframes pop-in { from { opacity: 0; scale: 0; } to { opacity: 1; scale: 1; } }
@keyframes beat { 0%, 100% { scale: 1; } 14% { scale: 1.28; } 28% { scale: 1; } 42% { scale: 1.16; } 56% { scale: 1; } }
.play-title .swash { stroke-dasharray: 1; stroke-dashoffset: 1; }
.play-title.in .swash { transition: stroke-dashoffset 1s ease .9s; stroke-dashoffset: 0; }
.float-heart { position: absolute; z-index: 3; pointer-events: none; color: #ee9db0; width: var(--s, 16px); height: var(--s, 16px); animation: float-up var(--d, 2.6s) ease-out forwards; }
.float-heart svg { display: block; width: 100%; height: 100%; }
@keyframes float-up { 0% { opacity: 0; transform: translate(0, 0) scale(.4) rotate(0deg); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx, 0), -90px) scale(1) rotate(var(--rot, 20deg)); } }
.about-contact { position: relative; }

/* ---------- Contact card ---------- */
.about-contact { position: relative; display: flex; justify-content: center; }
.contact-card {
  position: relative; width: min(100%, 470px);
  padding: 48px clamp(26px, 4vw, 44px) 40px;
  background: url("images/assets/cream-torn-paper.webp") center / 100% 100% no-repeat;
  rotate: -1.5deg;
  filter: drop-shadow(0 12px 16px rgba(110, 70, 50, .2));
}
.contact-card .tape-wide { left: 50%; top: -12px; translate: -50% 0; rotate: -3deg; width: 190px; }
.cc-postmark { right: -46px; top: -30px; width: 150px; rotate: -10deg; opacity: .85; }
.cc-daisy { left: -26px; bottom: -22px; width: 62px; rotate: -16deg; }
.contact-list li + li { border-top: 1.5px dashed #e2c9bd; }
.contact-list a {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 4px;
  text-decoration: none; font-size: 17px; line-height: 1.35;
  transition: translate .3s cubic-bezier(.3, 1.6, .5, 1), color .2s;
}
.contact-list .cl-phone { font-size: 22px; font-weight: 600; letter-spacing: .02em; color: var(--rose); }
.contact-list .ic {
  --ic-petal: #f6d3d8; --ic-fill: #ec93a8; --ic-ink: #9b3b51;
  flex: none; display: grid; place-items: center;
  width: 54px; height: 54px;
  transition: scale .3s;
}
.contact-list li:nth-child(2) .ic { --ic-petal: #dfe8d2; --ic-fill: #7d9c60; --ic-ink: #56713f; }
.contact-list li:nth-child(3) .ic { --ic-petal: #f6e4b8; --ic-fill: #e9b04f; --ic-ink: #9a6a22; }
.contact-list .ic svg { grid-area: 1 / 1; }
.contact-list .ic-bloom { width: 100%; height: 100%; filter: drop-shadow(0 3px 3px rgba(110, 70, 50, .28)); }
.contact-list .ic-bloom use { transform-origin: center; transition: rotate .7s cubic-bezier(.3, 1.4, .5, 1); }
.contact-list .ic-art { position: relative; width: 62%; height: 62%; transition: rotate .45s cubic-bezier(.3, 1.6, .5, 1), scale .3s cubic-bezier(.3, 1.6, .5, 1); }
.contact-list a:hover { translate: 6px 0; color: var(--rose); }
.contact-list a:hover .ic { scale: 1.08; }
.contact-list a:hover .ic-bloom use { rotate: 45deg; }
.contact-list a:hover .ic-art { rotate: -10deg; scale: 1.1; }

/* ---------- Playful scrolling ---------- */
/* Set by main.js on elements below the hero; removed again after they land. */
.rv {
  transition: opacity .5s ease, translate .95s cubic-bezier(.3, 1.45, .5, 1), rotate .95s cubic-bezier(.3, 1.45, .5, 1), scale .85s cubic-bezier(.3, 1.6, .5, 1) !important;
  transition-delay: var(--d, 0s) !important;
}
.rv:not(.in-view) { opacity: 0; }
.rv-photo:not(.in-view) { translate: 0 -50px; rotate: calc(var(--r, 0deg) - 12deg); scale: 1.05; }
.rv-banner:not(.in-view) { scale: 1.35; }
.rv-pop:not(.in-view) { scale: .3; }
/* Sprigs and flowers sway gently */
.hero-corner, .hero-leaves, .hero-branch, .gift-branch, .about-branch, .mourn-sprig, .wed-sprig, .cf-sprig, .more-breath, .wed-cluster {
  transform-origin: 50% 100%;
  animation: sway 5s ease-in-out infinite alternate;
}
.hero-corner { transform-origin: 0 0; animation-duration: 7s; }
.hero-branch, .gift-branch { animation-delay: -2s; }
.about-branch, .wed-sprig { animation-delay: -3.5s; }
@keyframes sway { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }

.footer { padding: 30px 16px calc(40px + env(safe-area-inset-bottom)); text-align: center; font-size: 13px; color: var(--ink-soft); }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; max-width: 100vw; height: 100vh; height: 100svh; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; display: none; align-items: center; justify-content: center; overflow: hidden; }
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: rgba(60, 38, 32, .8); backdrop-filter: blur(4px); }
.lb-photo { position: relative; margin: 0; padding: 14px 14px 50px; background: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); rotate: -1deg; touch-action: pan-y; }
.lightbox[open] .lb-photo { animation: lb-in .45s cubic-bezier(.3, 1.3, .45, 1); }
@keyframes lb-in { from { opacity: 0; translate: 0 30px; rotate: -6deg; scale: .96; } }
.lb-photo.lb-ghost { position: fixed; animation: none !important; pointer-events: none; }
.lb-photo img { width: auto; height: auto; max-width: min(78vw, 900px); max-height: calc(100svh - 170px); object-fit: contain; }
.lb-note { position: absolute; bottom: 12px; left: 14px; right: 14px; color: #845459; font: 600 clamp(20px, 4vw, 28px)/1.2 var(--script); text-align: center; }
.lb-btn { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: var(--paper-light); box-shadow: var(--lift); cursor: pointer; }
.lb-btn svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-btn:hover svg { stroke: var(--rose); }
.lb-prev { left: max(20px, env(safe-area-inset-left)); top: 50%; translate: 0 -50%; }
.lb-next { right: max(20px, env(safe-area-inset-right)); top: 50%; translate: 0 -50%; }
.lb-close { top: max(20px, env(safe-area-inset-top)); right: max(20px, env(safe-area-inset-right)); width: 46px; height: 46px; }

/* ---------- Tablet ---------- */
@media (max-width: 980px) {
  .nav { font-size: 14px; }
  .nav-track { gap: 14px; }
  .nav a.active { padding: 5px 12px; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .header-inner { flex-direction: column; gap: 6px; padding: 12px 0 8px; }
  /* Menu runs sideways by itself; it pauses while touched, hovered or focused */
  .nav { width: 100%; overflow: hidden; padding: 14px 0 10px; }
  .nav-track { gap: 0; width: max-content; animation: ticker 16s linear infinite; }
  .nav-track a { padding: 6px 12px; }
  .nav a.clone { display: inline-block; }
  .nav a.active::after { display: none; }
  .nav:hover .nav-track, .nav:focus-within .nav-track, .nav.paused .nav-track { animation-play-state: paused; }

  .hero { padding-top: 24px; }
  .hero-corner { left: -54px; top: -10px; width: 140px; }
  .hero-leaves { display: none; }
  .hero-branch { right: -36px; top: auto; bottom: 330px; width: 100px; }
  .garden-hero { right: -80px; top: 42%; width: 180px; opacity: .64; }
  .garden-gift-petals { right: -70px; bottom: 3%; width: 240px; opacity: .3; }
  .garden-gift { left: -75px; top: 150px; width: 150px; translate: none; }
  .garden-wedding { right: -85px; bottom: 10px; width: 220px; }
  .garden-gallery { left: -64px; bottom: 22px; width: 160px; rotate: -10deg; }
  .collection-wash { left: -135px; top: 15%; width: 300px; rotate: 10deg; opacity: .36; }
  .collection-rose { right: -64px; top: 45%; width: 135px; opacity: .5; }
  .collection-meadow { right: -28px; bottom: 10px; width: 230px; opacity: .58; }
  .hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .hero-card { padding: 64px 20px 34px; }
  .hero-caps { letter-spacing: .14em; }
    .scrap-pink.s1 { left: -20px; }
  .hero-photos { height: 118vw; max-height: 520px; margin-top: 14px; }
  .hero-stamp { left: 4%; width: 86px; }
  .hero-postmark { left: calc(4% + 80px); width: 100px; }
  .hero-back { right: 0; top: 40px; width: 52%; }
  .hero-front { left: 2%; top: 26%; width: 64%; }
  
  .section { padding: 56px 0 64px; }
  .banner-head { gap: 2px; }
  .banner { padding: 8px 14px 11px; font-size: clamp(24px, 7.2vw, 30px); white-space: nowrap; }
  .sprig { width: 32px; }
  .nav { font-size: 14px; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  
  .c-feature { column-gap: 10px; }
  .cf-main { grid-column: 1 / 11; }
  .cf-detail { grid-column: 8 / 13; grid-row: 2; margin-top: -70px; }
    .cf-side { grid-column: 3 / 13; grid-row: 3; margin-top: 34px; }
  .cf-sprig { grid-column: 1 / 4; grid-row: 3; align-self: start; width: 64px; margin: 40px 0 0; }
  .scrap-gingham { left: -76px; top: 22%; width: 160px; height: 58px; }
  .c-three { grid-template-columns: 1fr 1fr; gap: 26px 16px; margin-top: 40px; }
  .c-three .polaroid:last-child { grid-column: 1 / -1; width: 86%; justify-self: center; }

  .band-pink { padding: 60px 0 70px; }
  .gift-grid { grid-template-columns: 1fr; gap: 50px; }
  .gift-envelope { width: 120px; }
      .gift-photo .polaroid { width: 84%; margin: 0 auto; }
  .gift-stamp { right: -6px; bottom: -28px; width: 100px; }
  .gift-branch { display: none; }

  #hoa-cuoi { padding-top: 70px; }
  .wed-tag { left: -18px; top: -64px; width: 54px; }
  .wed-rings { right: -6px; top: -40px; width: 76px; }
  .wed-sprig, .wed-cluster { display: none; }
  .c-wed { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .c-wed figure:last-child { grid-column: 1 / -1; width: 62%; justify-self: center; }
    
  .band-ivory { padding: 60px 0 70px; }
  .mourn-sprig { top: -50px; width: 50px; }
  .mo-a { grid-column: 1 / 13; }
  .mo-b { grid-column: 3 / 13; grid-row: 2; margin-top: 24px; }
  .more-breath { display: none; }
  .c-more { column-gap: 10px; }
  .c-more-row { grid-template-columns: 1fr 1fr; gap: 30px 16px; margin-top: 44px; }
  .m-a { grid-column: 1 / 12; }
  .m-detail { grid-column: 8 / 13; grid-row: 2; margin: -60px 0 0; align-self: start; }
      .m-b { grid-column: 1 / 8; grid-row: 2; margin-top: 30px; }
  .m-c { grid-column: 4 / 13; grid-row: 3; margin-top: 26px; }
  .m-e { grid-column: 1 / 9; grid-row: 4; margin-top: 26px; }

  .about { padding: 50px 0 60px; }
  .about-grid { grid-template-columns: 1.1fr 1fr; gap: 16px 20px; }
  .contact-card { padding: 40px 20px 30px; }
  .contact-list a { gap: 10px; font-size: 15px; }
  .contact-list .cl-phone { font-size: 18px; }
  .contact-list .ic { width: 44px; height: 44px; }
  .cc-postmark { right: -24px; top: -26px; width: 110px; }
  .about-branch { display: none; }

      .m-daisy { display: none; }
  }

/* ---------- Small phones: contact under the shop ---------- */
@media (max-width: 360px) {
  .hero-title { font-size: 56px; }
  .c-wed .photo-note { font-size: 15px; }
}

@media (max-width: 560px) {
  .about-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-contact { width: 100%; }
  .contact-list a { font-size: 16px; }
  .contact-list .cl-phone { font-size: 20px; }
}

@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .play-title .ch, .play-heart { opacity: 1 !important; transform: none !important; }
  .play-title .swash { stroke-dashoffset: 0 !important; }
  .float-heart { display: none; }
  .shop-owner { display: none; }
  .hero-title .name { -webkit-mask: none !important; mask: none !important; }
  .hero-card .swash { stroke-dashoffset: 0 !important; }
  .hero-heart { scale: 1 !important; }
  .hero-caps .tw { opacity: 1 !important; translate: none !important; filter: none !important; }
  .petal { display: none; }
  .nav { overflow-x: auto !important; }
  .nav a.clone { display: none !important; }
  .rv { opacity: 1 !important; translate: none !important; scale: none !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
