/* ==========================================================
   Lilly Bloom — Luxury Flower Shop
   ========================================================== */

:root {
  /* palette */
  --blush: #F6E1E1;
  --blush-deep: #EFCFD1;
  --cream: #FBF6F1;
  --rose: #C98B96;          /* decorative only */
  --rose-text: #9C5664;     /* AA on cream */
  --wine: #7A0F1E;
  --wine-deep: #4A0912;
  --ink: #1B1416;
  --ink-soft: #4A3F42;
  --gold: #C9A86A;
  --gold-soft: #E4D2AE;
  --line: rgba(27, 20, 22, .12);

  /* type */
  --f-head: "Frank Ruhl Libre", "Times New Roman", serif;
  --f-body: "Assistant", system-ui, sans-serif;
  --f-latin: "Cormorant Garamond", serif;
  --f-script: "Great Vibes", cursive;

  /* layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 18px;
  --section: clamp(80px, 12vw, 160px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 30px 60px -30px rgba(74, 9, 18, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* film grain */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 400; line-height: 1.15; margin: 0; }
p { margin: 0; }
svg { flex-shrink: 0; }

:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--cream); padding: 10px 18px; border-radius: 999px;
}
.skip-link:focus { top: 16px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { --container: 820px; }
.center { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 48px; }
.center .btn { direction: ltr; }

/* ---------- type helpers ---------- */
.eyebrow {
  font-size: 14px; letter-spacing: .08em; color: var(--rose-text);
  display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px;
}
.eyebrow--light { color: var(--gold-soft); }
.script { font-family: var(--f-script); font-size: 1.9em; line-height: 1; letter-spacing: 0; color: var(--wine); }
.eyebrow--light .script { color: var(--gold); }

.section { padding-block: var(--section); position: relative; }
.section--blush { background: var(--blush); }
.section--cream { background: linear-gradient(var(--cream), #F8EEE8); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(48px, 7vw, 80px); }
.section__head .eyebrow { justify-content: center; }
.section__title { font-size: clamp(36px, 5.5vw, 64px); }
.section__lead { margin-top: 18px; color: var(--ink-soft); font-size: 18px; }

/* ---------- buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font-size: 16px; font-weight: 600; letter-spacing: .02em;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn svg { width: 20px; height: 20px; }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(120%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(-120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary { --bg: var(--wine); --fg: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { --bg: var(--wine-deep); }
.btn--ghost { border-color: var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--cream); }
.btn--gold { --bg: var(--gold); --fg: var(--ink); }
.btn--gold:hover { --bg: var(--gold-soft); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  padding-block: 18px;
  transition: background .4s, padding .4s, box-shadow .4s;
}
/* blur lives on a pseudo-element so it doesn't trap the fixed mobile nav */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(251, 246, 241, .78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0; transition: opacity .4s;
}
.header.is-scrolled { padding-block: 10px; }
.header.is-scrolled::before { opacity: 1; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { width: 38px; height: 38px; color: var(--wine); }
.logo__petals { fill: var(--rose); }
.logo__text { display: flex; flex-direction: column; line-height: 1; direction: ltr; }
.logo__name { font-family: var(--f-latin); font-size: 26px; font-style: italic; letter-spacing: .02em; color: var(--ink); }
.logo__tag { font-family: var(--f-latin); font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--rose-text); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav__list { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav__list a { position: relative; font-size: 16px; padding-block: 8px; }
.nav__list a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 2px; height: 1px; background: var(--wine);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__list a:hover::after { transform: scaleX(1); }

.burger { display: none; width: 48px; height: 48px; border: 0; background: none; position: relative; }
.burger span { position: absolute; inset-inline: 12px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 28px; }
.burger[aria-expanded="true"] span:first-child { top: 24px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 24px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh;
  padding-top: clamp(120px, 14vw, 160px); padding-bottom: 80px;
  background:
    radial-gradient(60% 60% at 15% 30%, var(--blush) 0%, transparent 70%),
    radial-gradient(40% 50% at 90% 90%, #F3DCDC 0%, transparent 70%),
    var(--cream);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.hero__title { font-size: clamp(44px, 7.4vw, 96px); font-weight: 300; letter-spacing: -.01em; margin-bottom: 28px; }
.hero__title .line { display: block; overflow: hidden; padding-block: .14em .08em; margin-top: -.14em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: normal; color: var(--wine); position: relative; }
.hero__title em::after {
  content: ""; position: absolute; inset-inline: 0; bottom: .08em; height: .12em;
  background: var(--blush-deep); z-index: -1; border-radius: 4px;
}
.hero__lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-soft); max-width: 520px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }
.hero__facts { display: flex; gap: clamp(24px, 4vw, 48px); list-style: none; padding: 26px 0 0; margin: 0; border-top: 1px solid var(--line); max-width: 520px; }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-family: var(--f-latin); font-size: 34px; font-weight: 500; line-height: 1; color: var(--wine); }
.hero__facts span { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }

.hero__visual { position: relative; aspect-ratio: 4 / 5; }
.arch { margin: 0; overflow: hidden; border-radius: 999px 999px var(--radius) var(--radius); background: var(--blush); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--hero { position: absolute; inset: 0 0 0 18%; box-shadow: var(--shadow); }
.arch--small {
  position: absolute; width: 42%; aspect-ratio: 3 / 4; inset-inline-end: 62%; bottom: -6%;
  border: 8px solid var(--cream); box-shadow: var(--shadow);
}
.badge-round {
  position: absolute; top: 4%; inset-inline-start: -4%;
  width: 124px; height: 124px; border-radius: 50%;
  background: var(--cream); box-shadow: 0 10px 30px -12px rgba(74,9,18,.3);
  display: grid; place-items: center;
}
.badge-round svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.badge-round text { font-family: var(--f-latin); font-size: 11.5px; letter-spacing: .24em; fill: var(--wine); }
.badge-round span { font-size: 26px; color: var(--wine); }
@keyframes spin { to { transform: rotate(360deg); } }

/* floating petals */
.petals { position: absolute; inset: 0; pointer-events: none; }
.petals i {
  position: absolute; top: -40px; width: 16px; height: 20px;
  background: radial-gradient(circle at 30% 30%, #F8D6DC, var(--rose));
  border-radius: 80% 0 80% 0; opacity: .55;
  animation: fall linear infinite;
}
.petals i:nth-child(1) { left: 8%;  animation-duration: 17s; animation-delay: -2s; }
.petals i:nth-child(2) { left: 22%; animation-duration: 21s; animation-delay: -9s; transform: scale(.7); }
.petals i:nth-child(3) { left: 38%; animation-duration: 19s; animation-delay: -5s; }
.petals i:nth-child(4) { left: 52%; animation-duration: 24s; animation-delay: -14s; transform: scale(.6); }
.petals i:nth-child(5) { left: 66%; animation-duration: 18s; animation-delay: -11s; }
.petals i:nth-child(6) { left: 78%; animation-duration: 23s; animation-delay: -3s; transform: scale(.8); }
.petals i:nth-child(7) { left: 90%; animation-duration: 20s; animation-delay: -16s; }
.petals i:nth-child(8) { left: 45%; animation-duration: 26s; animation-delay: -20s; transform: scale(.5); }
@keyframes fall {
  0%   { translate: 0 0; rotate: 0deg; }
  50%  { translate: 40px 55vh; rotate: 180deg; }
  100% { translate: -20px 110vh; rotate: 360deg; }
}

/* ---------- marquee ---------- */
.marquee { background: var(--ink); color: var(--cream); overflow: hidden; padding-block: 20px; direction: ltr; }
.marquee__track { display: flex; gap: 36px; width: max-content; animation: marquee 38s linear infinite; align-items: center; }
.marquee span { font-family: var(--f-head); font-size: clamp(18px, 2vw, 24px); white-space: nowrap; direction: rtl; }
.marquee b { color: var(--gold); font-weight: 400; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- collection cards ---------- */
.cards {
  display: grid; gap: clamp(16px, 2vw, 28px);
  grid-template-columns: repeat(6, 1fr);
}
.card { grid-column: span 2; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--blush); color: #fff; min-height: 420px; isolation: isolate; }
.card--tall { grid-column: span 2; grid-row: span 2; }
.card--wide { grid-column: span 2; }
.card__media { position: absolute; inset: 0; z-index: -1; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(27,20,22,.85) 0%, rgba(27,20,22,.25) 45%, transparent 70%); }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { position: absolute; inset-inline: 0; bottom: 0; padding: clamp(22px, 2.6vw, 34px); }
.card__num { font-family: var(--f-latin); font-style: italic; font-size: 18px; color: var(--gold-soft); }
.card h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 6px 0 8px; }
.card p { font-size: 16px; opacity: .88; max-width: 34ch; transform: translateY(8px); transition: transform .5s var(--ease); }
.card:hover p { transform: none; }

/* ---------- burn ---------- */
.burn {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 90vh;
  background: radial-gradient(80% 80% at 80% 50%, var(--wine-deep), var(--ink) 70%);
  color: var(--cream); overflow: hidden;
}
.burn__media { position: relative; overflow: hidden; }
.burn__media img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; }
.burn__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, var(--ink) 0%, transparent 35%); }
.burn__copy { padding: clamp(56px, 8vw, 120px) var(--gutter); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; max-width: 620px; }
.burn h2 { font-size: clamp(34px, 4.6vw, 58px); margin-bottom: 24px; }
.burn p { color: rgba(251,246,241,.8); font-size: 18px; margin-bottom: 36px; }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.steps__line { position: absolute; top: 36px; inset-inline: 12.5%; width: 75%; height: 2px; overflow: visible; }
.steps__line line { stroke: var(--rose); stroke-width: 2; stroke-dasharray: 6 8; }
.step { text-align: center; position: relative; }
.step__n {
  width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream); border: 1px solid var(--rose);
  font-family: var(--f-latin); font-size: 30px; font-style: italic; color: var(--wine);
  position: relative; z-index: 1;
  transition: background .4s, color .4s;
}
.step:hover .step__n { background: var(--wine); color: var(--cream); }
.step h3 { font-size: 24px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 16px; }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 8vw, 120px); align-items: center; }
.arch--why { aspect-ratio: 3 / 4; box-shadow: var(--shadow); }
.why__list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 30px; }
.why__list li { display: flex; gap: 20px; align-items: flex-start; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.why__list li:last-child { border-bottom: 0; }
.why__list svg { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--blush); fill: none; stroke: var(--wine); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.why__list h3 { font-size: 24px; margin-bottom: 6px; }
.why__list p { color: var(--ink-soft); }

/* ---------- gallery ---------- */
.masonry { columns: 3 260px; column-gap: 20px; }
.masonry__item {
  display: block; width: 100%; padding: 0; border: 0; margin: 0 0 20px; break-inside: avoid;
  border-radius: var(--radius); overflow: hidden; background: var(--blush); position: relative; cursor: zoom-in;
}
.masonry__item img { width: 100%; transition: transform .9s var(--ease), filter .5s; }
.masonry__item::after {
  content: "+"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--f-latin); font-size: 54px; font-weight: 300; color: #fff;
  background: rgba(122, 15, 30, .35); opacity: 0; transition: opacity .4s;
}
.masonry__item:hover img, .masonry__item:focus-visible img { transform: scale(1.05); }
.masonry__item:hover::after, .masonry__item:focus-visible::after { opacity: 1; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 150; display: grid; place-items: center;
  background: rgba(27, 20, 22, .92); backdrop-filter: blur(6px);
  padding: 60px 16px;
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: min(900px, 100%); max-height: 86vh; object-fit: contain; border-radius: 12px; }
.lightbox button { position: absolute; background: rgba(251,246,241,.1); border: 1px solid rgba(251,246,241,.3); color: var(--cream); width: 52px; height: 52px; border-radius: 50%; font-size: 28px; line-height: 1; transition: background .3s; }
.lightbox button:hover { background: rgba(251,246,241,.25); }
.lightbox__close { top: 20px; inset-inline-end: 20px; }
.lightbox__prev { inset-inline-start: 20px; top: 50%; translate: 0 -50%; }
.lightbox__next { inset-inline-end: 20px; top: 50%; translate: 0 -50%; }

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote {
  margin: 0; padding: 40px 34px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); position: relative;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.quote::before { content: "“"; font-family: var(--f-latin); font-size: 90px; line-height: .6; color: var(--rose); display: block; height: 36px; }
.quote p { font-family: var(--f-head); font-size: 20px; line-height: 1.6; margin-bottom: 20px; }
.quote footer { font-size: 14px; color: var(--rose-text); letter-spacing: .04em; }

/* ---------- order (WhatsApp CTA) ---------- */
.order {
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(201,168,106,.14), transparent 70%),
    linear-gradient(160deg, var(--ink) 0%, var(--wine-deep) 100%);
  color: var(--cream); text-align: center;
}
.order__cta { max-width: 720px; display: flex; flex-direction: column; align-items: center; }
.order__cta .eyebrow { justify-content: center; }
.order h2 { font-size: clamp(38px, 5.5vw, 68px); margin-bottom: 22px; }
.order__lead { color: rgba(251,246,241,.8); font-size: clamp(17px, 1.6vw, 20px); max-width: 560px; margin-bottom: 40px; }
.btn--wa {
  --bg: #25D366; --fg: #fff;
  min-height: 64px; padding: 0 40px; font-size: 18px;
  box-shadow: 0 20px 40px -16px rgba(37, 211, 102, .6);
}
.btn--wa svg { width: 26px; height: 26px; }
.btn--wa:hover { --bg: #1EBE5A; }
.order__phone {
  margin-top: 18px; font-family: var(--f-latin); font-size: 26px; letter-spacing: .08em; font-variant-numeric: lining-nums;
  color: var(--gold-soft); border-bottom: 1px solid transparent; transition: border-color .3s, color .3s;
}
.order__phone:hover { color: var(--gold); border-color: var(--gold); }
.order__note { display: inline-flex; gap: 12px; align-items: center; margin-top: 40px; padding: 14px 22px; border: 1px solid rgba(201,168,106,.4); border-radius: 999px; color: var(--gold-soft); font-size: 15px; text-align: start; }
.order__note svg { width: 22px; height: 22px; color: var(--gold); }

/* ---------- faq ---------- */
.faq { display: grid; gap: 14px; }
.faq__item { border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.faq__item[open] { border-color: var(--rose); box-shadow: 0 16px 40px -24px rgba(74,9,18,.35); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 22px 26px; min-height: 44px;
  font-family: var(--f-head); font-size: 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; font-family: var(--f-latin); font-size: 30px; line-height: 1; color: var(--wine);
  transition: transform .35s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 26px 24px; color: var(--ink-soft); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(251,246,241,.75); padding-block: 64px 40px; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.footer .logo__name { color: var(--cream); font-size: 38px; direction: ltr; display: inline-block; }
.footer__brand p { margin-top: 8px; }
.social { display: flex; gap: 12px; list-style: none; margin: 0; padding: 0; }
.social a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(251,246,241,.25); color: var(--cream); transition: background .3s, color .3s, border-color .3s; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.social svg { width: 20px; height: 20px; }
.footer__copy { grid-column: 1 / -1; padding-top: 30px; border-top: 1px solid rgba(251,246,241,.12); font-size: 14px; }

/* ---------- floating whatsapp ---------- */
.wa-float {
  position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7);
  transition: transform .3s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: pulse 2.4s ease-out infinite; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- WordPress ---------- */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
.is-inner .inner-content { padding-top: 60px; }
.is-inner .inner-content h1 { margin-bottom: 32px; }
.is-inner .inner-content p { margin-bottom: 1em; }

/* ---------- reveal (initial states set only when JS+GSAP present) ---------- */
.js-anim .reveal, .js-anim .reveal-img { opacity: 0; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card, .card--tall, .card--wide { grid-column: span 1; grid-row: auto; }
  .card--wide { grid-column: span 2; }
  .quotes { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
}

@media (max-width: 860px) {
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 40px;
    background: var(--cream);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: center; gap: 22px; }
  .nav__list a { font-family: var(--f-head); font-size: 32px; }
  .nav__cta { min-height: 52px; padding: 0 34px; font-size: 17px; }

  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; width: 100%; margin: 20px auto 30px; }
  .arch--hero { inset: 0 0 0 10%; }
  .badge-round { width: 96px; height: 96px; inset-inline-start: -2%; }
  .badge-round text { font-size: 9px; }

  .burn { grid-template-columns: 1fr; }
  .burn__media { min-height: 70vh; }
  .burn__media::after { background: linear-gradient(to top, var(--ink) 0%, transparent 40%); }

  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps__line { display: none; }

  .why { grid-template-columns: 1fr; }
  .arch--why { max-width: 420px; margin-inline: auto; width: 100%; }

}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .card--wide { grid-column: span 1; }
  .card { min-height: 380px; }
  .card--tall { min-height: 480px; }
  .card p { transform: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts strong { font-size: 28px; }
  .steps { grid-template-columns: 1fr; }
  .masonry { columns: 2 140px; column-gap: 12px; }
  .masonry__item { margin-bottom: 12px; }
  .footer__inner { grid-template-columns: 1fr; }
  .logo__name { font-size: 22px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; translate: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .petals { display: none; }
  .js-anim .reveal, .js-anim .reveal-img { opacity: 1; }
}
