/* Invite World — site styles
   Palette: wine night (hero, video), ivory paper (body), haldi gold (actions), sindoor maroon (type). */
:root {
  /* Invite World brand palette (brand kit 2026) */
  --wine: #2c0a12;          /* deep night maroon for the hero and dark bands */
  --wine2: #3f1019;
  --maroon: #7a1f2e;        /* Sindoor Maroon */
  --maroon2: #8f2b3c;
  --gold: #c8a04f;          /* Antique Gold */
  --gold-hi: #e3c47f;
  --gold-deep: #94722c;
  --ivory: #f8f1e4;         /* Ivory Silk */
  --blush: #efe2d3;         /* lightened Blush Sand #EBD9C6 */
  --sand: #ebd9c6;          /* Blush Sand */
  --ink: #2a1b1f;           /* Mehndi Ink */
  --mut: #6b5a5c;
  --line: #e4d3c2;
  --rani: #c8456e;          /* Rani Pink, accent only */
  --teal: #1e5b5c;          /* Peacock Teal, accent only */
  --wa: #1fae5b;
  --wa-hi: #179a4f;
  --ser: 'Playfair Display', Didot, 'GFS Didot', 'Bodoni 72', Georgia, serif;
  --san: 'Montserrat', 'Avenir Next', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: clamp(16px, 4.5vw, 64px);
  --max: 1280px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0 }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100% }
body {
  font: 400 1rem/1.65 var(--san);
  background: var(--ivory);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block }
a { color: inherit; text-decoration: none }
button { font: inherit; cursor: pointer; color: inherit }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px }
h1, h2, h3 { font-family: var(--ser); font-weight: 500; line-height: 1.1; letter-spacing: -.01em; text-wrap: balance }
p { text-wrap: pretty }

.skip { position: absolute; left: -999px; top: 0 }
.skip:focus { left: 1rem; top: 1rem; z-index: 9999; background: #fff; color: var(--maroon); padding: .6rem 1rem; border-radius: 8px }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.5rem; border-radius: 99px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1.2; text-align: center;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:active { transform: scale(.98) }
.btn.sm { min-height: 40px; padding: .5rem 1.1rem; font-size: .86rem }
.btn svg { width: 19px; height: 19px; fill: currentColor; flex: none }
.btn-gold { background: var(--gold); color: var(--wine); box-shadow: 0 10px 26px -14px rgba(226, 178, 87, .9) }
.btn-gold:hover { background: var(--gold-hi) }
.btn-line { border-color: currentColor; background: transparent }
.btn-line:hover { background: var(--maroon); border-color: var(--maroon); color: #fff }
.btn-wa { background: var(--wa); color: #fff }
.btn-wa:hover { background: var(--wa-hi) }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 var(--gut); color: #fbeedd;
  transition: background-color .35s, box-shadow .35s, color .35s;
}
.nav.solid { background: rgba(251, 246, 239, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); color: var(--ink) }
.brand { display: inline-flex; align-items: center; gap: .55rem; font: 500 1.4rem/1 var(--ser); white-space: nowrap; position: relative }
.brand img { height: 56px; width: auto; display: block }
.brand .logo-col { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .3s }
.brand .logo-rev { transition: opacity .3s }
.nav.solid .brand .logo-col, .page-plain .brand .logo-col, body.menu-open .brand .logo-col { opacity: 1 }
.nav.solid .brand .logo-rev, .page-plain .brand .logo-rev, body.menu-open .brand .logo-rev { opacity: 0 }
.brand-mark { width: 30px; height: 30px; color: var(--gold) }
.nav.solid .brand { color: var(--maroon) }
.nav.solid .brand-mark { color: var(--gold-deep) }
#menu { display: flex; align-items: center; gap: 1.8rem; font-size: .92rem; font-weight: 500 }
#menu > a { position: relative; padding: .3rem 0; opacity: .9 }
#menu > a:hover { opacity: 1 }
#menu > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--gold); transition: right .3s var(--ease) }
#menu > a:hover::after { right: 0 }
.soon { font-size: .68rem; font-weight: 600; padding: .1rem .45rem; border-radius: 99px; background: var(--gold); color: var(--wine); margin-left: .25rem; vertical-align: 2px }
.menu-wa { display: none }
.tools { display: flex; align-items: center; gap: .6rem }
.cur { border: 1px solid currentColor; background: transparent; border-radius: 99px; padding: .35rem .75rem; font-size: .8rem; font-weight: 600; opacity: .85; min-height: 34px }
.cur:hover { opacity: 1 }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; position: relative }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease) }
.burger span:first-child { top: 17px }
.burger span:last-child { top: 25px }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg) }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg) }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(100svh, 920px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(1rem, 4vw, 4rem);
  padding: calc(var(--nav-h) + 3rem) var(--gut) 4rem;
  background:
    radial-gradient(60% 70% at 78% 45%, rgba(226, 178, 87, .22), transparent 70%),
    radial-gradient(55% 65% at 0% 100%, rgba(122, 31, 46, .75), transparent 70%),
    var(--wine);
  color: #f7ead9;
}
.hero::before { /* jaali lattice */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: url("brand/pattern-gold.svg"); background-size: 300px 300px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
}
.hero-copy { max-width: 600px; position: relative; z-index: 2 }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 500; color: #fbf3e4; line-height: 1.06 }
.lede { margin: 1.4rem 0 2rem; font-size: clamp(1rem, 1.2vw, 1.12rem); color: #e8d5cb; max-width: 50ch }
.cta { display: flex; flex-wrap: wrap; gap: .75rem }
.hero .btn-line { color: #f7ead9 }
.hero .btn-line:hover { background: #f7ead9; color: var(--wine); border-color: #f7ead9 }
.facts { list-style: none; padding: 0; margin-top: 2.4rem; display: grid; gap: .55rem; font-size: .92rem; color: #d9c3b8 }
.facts li { position: relative; padding-left: 1.1rem }
.facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold) }
.facts b { color: var(--gold-hi); font-weight: 600 }

/* The fan deck */
.deck-wrap { position: relative; z-index: 1; display: grid; justify-items: center; gap: 1.1rem; min-width: 0 }
.deck {
  --cw: clamp(190px, 21vw, 270px);
  position: relative; width: 100%; height: calc(var(--cw) * 2.05 + 80px);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none; cursor: grab;
}
.deck:active { cursor: grabbing }
.deck:focus-visible { outline: 2px solid var(--gold); outline-offset: 8px; border-radius: 24px }
.dcard {
  position: absolute; left: 50%; top: 20px; width: var(--cw); aspect-ratio: 1 / 2;
  margin-left: calc(var(--cw) / -2);
  border-radius: calc(var(--cw) * .13); padding: calc(var(--cw) * .035);
  background: linear-gradient(160deg, #3a2a20, #120a07);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(226, 178, 87, .35);
  transform-origin: 50% 120%;
  transition: transform .7s var(--ease), opacity .5s, filter .5s;
  will-change: transform;
}
.dcard .scr { width: 100%; height: 100%; border-radius: calc(var(--cw) * .1); overflow: hidden; position: relative; background: var(--wine2) }
.dcard img { width: 100%; height: 100%; object-fit: cover; object-position: top center; pointer-events: none; -webkit-user-drag: none }
.dcard .notch { position: absolute; top: 6%; left: 50%; width: 30%; height: 3.2%; transform: translateX(-50%); background: #0c0705; border-radius: 99px; top: calc(var(--cw) * .06); z-index: 2 }
.dcard.front { filter: none }
.dcard.front .scr::after { /* shimmer once when a card comes to front */
  content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 240, 210, .35) 50%, transparent 65%);
  transform: translateX(-120%); animation: sheen 1.2s .2s var(--ease) forwards; pointer-events: none;
}
@keyframes sheen { to { transform: translateX(120%) } }
.dcard .tap {
  position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%) translateY(6px); opacity: 0;
  background: rgba(20, 8, 10, .78); color: #fff3df; font-size: .78rem; font-weight: 600; white-space: nowrap;
  padding: .45rem .85rem; border-radius: 99px; border: 1px solid rgba(226, 178, 87, .55); backdrop-filter: blur(6px);
  transition: opacity .4s .3s, transform .4s .3s var(--ease); pointer-events: none;
}
.dcard.front .tap { opacity: 1; transform: translateX(-50%) }
.deck-caption { position: relative; z-index: 150; display: flex; align-items: center; gap: 1rem; text-align: center; min-height: 64px }
.deck-text { display: grid; gap: .1rem; min-width: min(64vw, 300px) }
.deck-text b { font: 600 1.7rem/1.1 var(--ser); color: #fff6e6 }
.deck-text span { font-size: .88rem; color: #d9c3b8 }
.deck-arrow {
  width: 46px; height: 46px; flex: none; border-radius: 50%; border: 1px solid rgba(226, 178, 87, .5);
  background: rgba(255, 255, 255, .04); color: var(--gold-hi); font-size: 1.5rem; line-height: 1;
  transition: background-color .25s, color .25s;
}
.deck-arrow:hover { background: var(--gold); color: var(--wine) }
.deck-hint { font-size: .8rem; color: #b79c93 }

/* ---------- Tradition strip ---------- */
.traditions { background: var(--maroon); color: #f6e3c8; border-top: 1px solid rgba(226, 178, 87, .3); overflow: hidden }
.trad-track { display: flex; gap: .4rem; overflow-x: auto; padding: .7rem var(--gut); scrollbar-width: none; justify-content: safe center }
.trad-track::-webkit-scrollbar { display: none }
.trad-track button {
  flex: none; background: none; border: 0; padding: .45rem .9rem; border-radius: 99px;
  font: italic 500 1.2rem/1.2 var(--ser); color: inherit; white-space: nowrap; min-height: 40px;
  transition: background-color .25s, color .25s;
}
.trad-track button:hover { background: rgba(226, 178, 87, .16); color: #fff }
.trad-track button small { font: 600 .7rem var(--san); font-style: normal; opacity: .7; margin-left: .3rem; vertical-align: 2px }

/* ---------- Sections ---------- */
.sec { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 9vw, 7.5rem) var(--gut) }
.sec-head { max-width: 680px; margin-bottom: 2.4rem }
.sec-head h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); color: var(--maroon) }
.sec-head p { margin-top: .9rem; color: var(--mut); font-size: 1.04rem; max-width: 58ch }

/* Tabs */
.tabs { display: inline-flex; gap: .3rem; padding: .3rem; border-radius: 99px; background: var(--blush); margin-bottom: 1.8rem; max-width: 100%; overflow-x: auto; scrollbar-width: none }
.tabs::-webkit-scrollbar { display: none }
.tabs button { flex: none; border: 0; background: transparent; padding: .65rem 1.2rem; border-radius: 99px; font-weight: 600; font-size: .92rem; color: var(--mut); min-height: 44px; transition: background-color .25s, color .25s, box-shadow .25s }
.tabs button[aria-selected="true"] { background: #fff; color: var(--maroon); box-shadow: 0 4px 14px -8px rgba(94, 11, 34, .5) }
.tabs .n { font-size: .75rem; margin-left: .35rem; padding: .12rem .5rem; border-radius: 99px; background: var(--line); color: var(--maroon) }
.tabs .n.soon { background: var(--gold); color: var(--wine) }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-bottom: 1rem }
.chips { display: flex; flex-wrap: wrap; gap: .45rem }
.chips button {
  border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: .45rem .95rem; font-size: .87rem; font-weight: 500; min-height: 40px;
  transition: border-color .2s, background-color .2s, color .2s;
}
.chips button:hover { border-color: var(--maroon2) }
.chips button[aria-pressed="true"] { background: var(--maroon); border-color: var(--maroon); color: #fff }
.chips button small { opacity: .6; margin-left: .2rem; font-size: .76rem }
.search { position: relative; flex: 0 1 300px }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--mut) }
.search input { width: 100%; min-height: 46px; border: 1px solid var(--line); border-radius: 99px; padding: .6rem 1rem .6rem 2.6rem; background: #fff; font: inherit; font-size: 16px; color: var(--ink) }
.search input:focus { outline: none; border-color: var(--maroon2); box-shadow: 0 0 0 3px rgba(125, 22, 48, .14) }
.result-line { font-size: .86rem; color: var(--mut); margin-bottom: 1.4rem; min-height: 1.4em }

/* Grid of invitations */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: clamp(.9rem, 2vw, 1.8rem) }
.card { position: relative; display: flex; flex-direction: column; gap: .8rem; cursor: pointer; border-radius: 22px; outline-offset: 6px }
.card .art {
  position: relative; aspect-ratio: 9 / 15; border-radius: 22px; overflow: hidden; background: var(--blush);
  box-shadow: 0 1px 0 var(--line), 0 18px 34px -26px rgba(42, 7, 17, .55);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.card .art img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0;
  transition: object-position 5s cubic-bezier(.45, .05, .55, .95);
}
/* Hover/focus: the tall screenshot scrolls, like a guest scrolling the invite */
.card:hover .art img, .card:focus-visible .art img { object-position: 50% 100% }
.card:hover .art, .card:focus-visible .art { box-shadow: 0 1px 0 var(--line), 0 30px 50px -28px rgba(42, 7, 17, .7); transform: translateY(-4px) }
.card .open {
  position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: center; align-items: center; gap: .4rem;
  background: rgba(35, 19, 26, .82); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 99px; min-height: 42px; font-size: .86rem; font-weight: 600;
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease);
}
.card:hover .open, .card:focus-visible .open { opacity: 1; transform: none }
.card .meta { display: flex; justify-content: space-between; gap: .6rem; align-items: start; padding: 0 .2rem }
.card .meta h3 { font-size: 1.45rem; line-height: 1.1; color: var(--ink) }
.card .meta h3 a::after { content: ""; position: absolute; inset: 0 } /* whole card is the link target for crawlers */
.card .meta p { font-size: .82rem; color: var(--mut); margin-top: .2rem }
.card .meta .pr { font-weight: 600; font-size: .9rem; color: var(--maroon); white-space: nowrap; padding-top: .3rem }
.card .ritual { font-size: .8rem; color: var(--gold-deep); font-weight: 500; margin-top: -.5rem; padding: 0 .2rem }
.tabs .short { display: none }
.card.new .art::before { content: "New"; position: absolute; z-index: 2; top: 12px; left: 12px; background: var(--gold); color: var(--wine); font-size: .72rem; font-weight: 700; padding: .2rem .6rem; border-radius: 99px }
.empty { text-align: center; padding: 3rem 1rem; color: var(--mut); display: grid; gap: 1rem; justify-items: center }
.empty[hidden] { display: none }
.empty a { color: var(--maroon); text-decoration: underline; text-underline-offset: 3px }

/* Video panel */
.video-soon {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  background: var(--wine); color: #f2e2d6; border-radius: 32px; padding: clamp(1.6rem, 5vw, 4rem); overflow: hidden; position: relative;
}
.video-soon h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); color: #fff6e6 }
.video-soon p { margin: 1rem 0 1.6rem; color: #d9c3b8; max-width: 52ch }
.formats { list-style: none; padding: 0; display: grid; gap: .9rem; margin-bottom: 2rem }
.formats li { display: grid; gap: .1rem; padding-left: 1rem; border-left: 2px solid var(--gold) }
.formats b { font: 600 1.25rem var(--ser); color: var(--gold-hi) }
.formats span { font-size: .88rem; color: #cdb5ab }
.vs-reels { position: relative; height: clamp(300px, 34vw, 440px) }
.reel { position: absolute; width: 46%; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; box-shadow: 0 26px 50px -24px #000; border: 1px solid rgba(226, 178, 87, .35) }
.reel img { width: 100%; height: 100%; object-fit: cover; object-position: top; filter: saturate(.8) brightness(.75) }
.reel i { position: absolute; inset: 0; display: grid; place-items: center }
.reel i svg { width: 46px; height: 46px; padding: 12px; border-radius: 50%; background: rgba(255, 246, 230, .92); color: var(--wine) }
.r1 { left: 0; top: 10%; transform: rotate(-7deg) }
.r2 { left: 27%; top: 0; z-index: 2 }
.r3 { right: 0; top: 12%; transform: rotate(7deg) }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.4rem }
.video-grid:empty { display: none }
.vcard { cursor: pointer; display: grid; gap: .7rem }
.vcard .vart { position: relative; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: var(--wine) }
.vcard video, .vcard img { width: 100%; height: 100%; object-fit: cover }
.vcard .len { position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .7); color: #fff; font-size: .75rem; padding: .15rem .5rem; border-radius: 6px }
.vcard h3 { font-size: 1.4rem }
.vcard p { font-size: .82rem; color: var(--mut) }

/* ---------- What's inside ---------- */
.inside { background: var(--blush) }
.inside-in { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 9vw, 7.5rem) var(--gut) }
.features { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.2rem 4rem }
.features li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; padding-top: 1.4rem; border-top: 1px solid #e3cbc4 }
.features svg { width: 30px; height: 30px; color: var(--maroon2); margin-top: .2rem }
.features h3 { font-size: 1.5rem; color: var(--maroon) }
.features p { color: var(--mut); margin-top: .35rem; font-size: .95rem; max-width: 46ch }

/* ---------- Steps (a real sequence, so numbered) ---------- */
.steps { list-style: none; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; position: relative }
.steps::before { content: ""; position: absolute; left: 24px; right: 24px; top: 24px; height: 1px; background: linear-gradient(90deg, var(--gold), var(--line)) }
.steps li { counter-increment: s; position: relative }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--ivory); border: 1.5px solid var(--gold); color: var(--maroon); font: 600 1.5rem/1 var(--ser); margin-bottom: 1.2rem; position: relative;
}
.steps h3 { font-size: 1.45rem; color: var(--maroon) }
.steps p { color: var(--mut); font-size: .95rem; margin-top: .4rem }

/* ---------- Offer ---------- */
.offer { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; padding-top: 0 }
.price-card, .custom-card { border-radius: 32px; padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; align-items: flex-start }
.price-card { background: var(--maroon); color: #f4e2d4 }
.price-card h2, .custom-card h2 { font-size: clamp(1.9rem, 3vw, 2.5rem) }
.price-card h2 { color: #fff6e6 }
.big-price { font: 600 clamp(3rem, 6vw, 4.4rem)/1 var(--ser); color: var(--gold-hi); margin: 1.2rem 0 1.4rem }
.big-price small { font: 500 .95rem var(--san); color: #d9c3b8 }
.ticks { list-style: none; padding: 0; display: grid; gap: .55rem; margin-bottom: 2rem }
.ticks li { position: relative; padding-left: 1.6rem }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 11px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg) }
.price-card .btn { margin-top: auto }
.custom-card { background: #fff; border: 1px solid var(--line); background-image: radial-gradient(80% 60% at 100% 0%, rgba(226, 178, 87, .2), transparent 70%) }
.custom-card h2 { color: var(--maroon) }
.custom-card p { color: var(--mut); margin: 1rem 0 2rem; max-width: 46ch }
.custom-card { justify-content: center }

/* ---------- FAQ ---------- */
.faq { max-width: 820px }
.faq details { border-bottom: 1px solid var(--line) }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.2rem 0; font: 600 1.4rem/1.25 var(--ser); color: var(--ink); min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep); transform: rotate(45deg) translateY(-4px); transition: transform .3s var(--ease) }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px) }
.faq details p { color: var(--mut); padding: 0 0 1.3rem; max-width: 64ch }

/* ---------- Footer ---------- */
.foot { background: var(--wine); color: #e4cfc4; padding: 4rem var(--gut) 2rem; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.4rem }
.foot .brand { color: #fff6e6 }
.foot-brand p { margin-top: .9rem; max-width: 38ch; font-size: .92rem; opacity: .85 }
.foot-links { display: grid; gap: .5rem; align-content: start; font-size: .92rem }
.foot-links a:hover { color: var(--gold-hi) }
.foot-contact { display: grid; gap: .7rem; align-content: start; justify-items: start }
.foot small { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.3rem; opacity: .6 }

/* Sticky mobile WhatsApp */
.mbar { display: none }

/* ---------- Modal (live preview) ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; visibility: hidden; opacity: 0; transition: opacity .3s, visibility 0s .3s }
.modal.open { visibility: visible; opacity: 1; transition: opacity .3s }
.m-back { position: absolute; inset: 0; background: rgba(28, 6, 12, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px) }
.m-box {
  position: relative; display: grid; grid-template-columns: auto minmax(0, 360px); gap: 2.5rem; align-items: center;
  background: var(--ivory); border-radius: 30px; padding: 1.4rem 2.4rem 1.4rem 1.4rem; max-height: 96vh; max-width: 96vw;
  transform: translateY(16px) scale(.97); transition: transform .4s var(--ease);
}
.modal.open .m-box { transform: none }
.m-x { position: absolute; top: .7rem; right: .8rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; font-size: 1.9rem; line-height: 1; color: var(--maroon); z-index: 4 }
.m-x:hover { background: var(--blush) }
.m-stage { display: flex; align-items: center; gap: .8rem }
.m-nav { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.5rem; line-height: 1; color: var(--maroon); transition: background-color .2s, color .2s }
.m-nav:hover { background: var(--maroon); color: #fff }
.phone {
  --s: 1; flex: none;
  width: calc(412px * var(--s)); height: calc(822px * var(--s)); padding: calc(11px * var(--s)); border-radius: calc(48px * var(--s));
  background: linear-gradient(160deg, #3a2a20, #120a07); box-shadow: 0 40px 80px -30px rgba(42, 7, 17, .8), inset 0 0 0 1px rgba(226, 178, 87, .4);
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: calc(38px * var(--s)); overflow: hidden; background: var(--wine2) }
.phone-screen .loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold-hi); font: italic 600 1.3rem var(--ser) }
.m-iframe { position: absolute; top: 0; left: 0; width: 390px; height: 800px; border: 0; transform: scale(var(--s)); transform-origin: 0 0; background: transparent }
.m-info { min-width: 0 }
.m-trad { font-size: .85rem; color: var(--gold-deep); font-weight: 600 }
.m-info h3 { font-size: clamp(2rem, 3vw, 2.6rem); color: var(--maroon); margin-top: .2rem }
.m-desc { color: var(--mut); margin: .8rem 0 }
.m-ritual { font-size: .92rem; color: var(--ink); padding: .7rem .9rem; border-radius: 14px; background: var(--blush) }
.m-ritual:empty { display: none }
.m-price { font: 600 1.9rem var(--ser); color: var(--maroon); margin: 1rem 0 }
.m-cta { display: grid; gap: .6rem }
.m-cta .btn-line { color: var(--maroon) }
.m-note { font-size: .78rem; color: var(--mut); margin-top: 1rem }

/* ---------- Reveal (one quiet entrance for section heads only) ---------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease) }
.rv.in { opacity: 1; transform: none }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  #menu { gap: 1.2rem }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.4rem }
  .steps::before { display: none }
}

@media (max-width: 960px) {
  :root { --nav-h: 62px }
  .burger { display: block }
  .hide-m { display: none }
  #menu {
    position: fixed; top: 0; left: 0; right: 0; height: 100dvh; z-index: -1;
    flex-direction: column; align-items: stretch; gap: 0; padding: calc(var(--nav-h) + 1rem) var(--gut) 2rem;
    background: var(--ivory); color: var(--ink);
    transform: translateY(-102%); transition: transform .45s var(--ease); visibility: hidden;
  }
  #menu.open { transform: none; visibility: visible }
  #menu > a { font: 600 1.9rem/1.2 var(--ser); padding: .9rem 0; border-bottom: 1px solid var(--line); opacity: 1 }
  #menu > a::after { display: none }
  #menu .menu-wa { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-top: 1.6rem; border: 0; font: 600 1rem var(--san); background: var(--wa); color: #fff; border-radius: 99px; min-height: 52px }
  .menu-wa svg { width: 20px; height: 20px; fill: currentColor }
  body.menu-open .nav { color: var(--ink); background: var(--ivory) }
  body.menu-open .brand { color: var(--maroon) }
  body.menu-open { overflow: hidden }

  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 3rem; text-align: center; gap: 1.6rem }
  .hero-copy { margin: 0 auto }
  .lede { margin-inline: auto }
  .cta { justify-content: center }
  .facts { justify-items: center; margin-top: 1.8rem }
  .hero::before { mask-image: linear-gradient(180deg, #000, transparent 60%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%) }
  .deck { --cw: clamp(170px, 42vw, 240px) }

  .video-soon { grid-template-columns: 1fr }
  .vs-reels { height: clamp(260px, 70vw, 380px); max-width: 460px; width: 100%; margin: 0 auto }
  .features { grid-template-columns: 1fr; gap: 1.6rem }
  .offer { grid-template-columns: 1fr }
  .foot { grid-template-columns: 1fr 1fr }
  .foot-brand { grid-column: 1 / -1 }

  /* Modal becomes a full-screen phone view with an info sheet */
  .m-box { grid-template-columns: 1fr; gap: 1rem; width: 100vw; max-width: 100vw; height: 100dvh; max-height: none; border-radius: 0; padding: 3.6rem 1rem 1rem; align-content: start; justify-items: center; overflow-y: auto; overscroll-behavior: contain }
  .m-info { text-align: center; max-width: 440px; width: 100% }
  .m-ritual { display: inline-block }
  .m-cta { grid-template-columns: 1fr 1fr; position: sticky; bottom: 0; z-index: 3; padding: 1.2rem 0 calc(.6rem + env(safe-area-inset-bottom)); background: linear-gradient(rgba(251, 246, 239, 0), var(--ivory) 30%) }
  .m-price { margin: .6rem 0 0 }
  .m-cta .btn { padding-inline: .8rem; font-size: .88rem }
}

@media (max-width: 640px) {
  .hero h1 { font-size: clamp(2.35rem, 10.5vw, 3rem) }
  .hero .cta .btn { flex: 1 1 100% }
  .facts { font-size: .86rem; text-align: left; justify-items: start; width: max-content; max-width: 100%; margin-inline: auto }
  .deck-arrow { width: 42px; height: 42px }
  .deck-text b { font-size: 1.5rem }
  .deck-hint { display: none }

  .filters { flex-direction: column; flex-wrap: nowrap; align-items: stretch }
  .filters > * { min-width: 0 }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) .2rem; scrollbar-width: none }
  .chips::-webkit-scrollbar { display: none }
  .chips button { flex: none }
  .search { flex-basis: auto }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem .8rem }
  .card .art { border-radius: 16px }
  .card .meta { flex-direction: column; gap: .1rem }
  .card .meta h3 { font-size: 1.22rem }
  .card .meta .pr { padding-top: 0; font-size: .84rem }
  .card .ritual { font-size: .75rem }
  .card .open { display: none }

  .tabs { display: flex; width: 100% }
  .tabs .long { display: none }
  .tabs .short { display: inline }
  .tabs button { flex: 1 1 auto; padding: .6rem .8rem; font-size: .85rem }
  .features li { grid-template-columns: 36px 1fr }
  .features h3 { font-size: 1.35rem }
  .steps { grid-template-columns: 1fr }
  .foot { grid-template-columns: 1fr; padding-bottom: 6rem }

  .mbar {
    display: flex; position: fixed; z-index: 55; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    align-items: center; justify-content: center; gap: .6rem; min-height: 52px; border-radius: 99px;
    background: var(--wa); color: #fff; font-weight: 600; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45);
    transform: translateY(150%); transition: transform .4s var(--ease);
  }
  .mbar.show { transform: none }
  .mbar svg { width: 21px; height: 21px; fill: currentColor }
  body.modal-open .mbar { transform: translateY(150%) }

  .m-nav { width: 38px; height: 38px; font-size: 1.3rem }
  .m-stage { gap: .4rem }
  .m-cta { grid-template-columns: 1fr }
}

@media (hover: none) {
  .card:hover .art img { object-position: 50% 0 }
  .card:hover .art { transform: none }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important }
  .rv { opacity: 1; transform: none }
}

/* Legal / 404 pages */
.page-plain .nav { color: var(--ink); background: rgba(251, 246, 239, .95); box-shadow: 0 1px 0 var(--line) }
.page-plain .nav .brand { color: var(--maroon) }
.page-plain .nav .brand-mark { color: var(--gold-deep) }
.legal { max-width: 760px; margin: auto; padding: calc(var(--nav-h) + 3rem) var(--gut) 5rem }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--maroon); margin-bottom: 1rem }
.legal h2 { margin: 2rem 0 .5rem; font-size: 1.6rem; color: var(--maroon) }
.legal p { margin-bottom: .9rem; color: var(--mut) }
.legal a:not(.btn) { color: var(--maroon); text-decoration: underline; text-underline-offset: 3px }

/* ---------- Instagram + help buttons ---------- */
[data-ig][hidden] { display: none !important }
.btn-row { display: flex; flex-wrap: wrap; gap: .6rem }
.btn-ig { background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); color: #fff }
.btn-ig:hover { filter: brightness(1.08) }
.nav-ig { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid currentColor; opacity: .85 }
.nav-ig:hover { opacity: 1 }
.nav-ig svg { width: 18px; height: 18px }
.menu-ig { display: none }
.foot-ig { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem }
.foot-ig svg { width: 20px; height: 20px }
.foot-ig:hover { color: var(--gold-hi) }
.ask { max-width: 820px; margin-top: 2.4rem; padding: 1.4rem 1.6rem; border-radius: 22px; background: var(--blush); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem }
.ask p { color: var(--mut) }
.ask b { color: var(--maroon); font: 600 1.3rem var(--ser); display: block }
.custom-card .btn-row { margin-top: .4rem }
a.card { color: inherit }
@media (max-width: 960px) {
  #menu .menu-ig { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-top: .7rem; font: 600 1rem var(--san); background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); color: #fff; border-radius: 99px; min-height: 52px; border: 0 }
  .menu-ig svg { width: 20px; height: 20px }
  .nav-ig { display: none }
}

/* ---------- Brand kit pieces ---------- */
.foot-logo img { height: 56px; width: auto }
.price-card { position: relative; overflow: hidden }
.price-card .seal { position: absolute; right: -28px; top: -28px; width: 170px; height: 170px; opacity: .22; pointer-events: none; transform: rotate(-12deg) }
.inside { background-color: var(--blush) }
/* Instagram placeholder until the account exists */
.ig-soon { cursor: default; position: relative }
.btn.ig-soon { background: transparent; color: var(--mut); border: 1.5px dashed currentColor; filter: none }
.btn.ig-soon::after { content: "Coming soon"; font-size: .68rem; font-weight: 700; padding: .12rem .5rem; border-radius: 99px; background: var(--gold); color: var(--wine) }
.price-card .btn.ig-soon, .foot .ig-soon, .video-soon .btn.ig-soon { color: #d9c3b8 }
.nav-ig.ig-soon, .s-icon.ig-soon { opacity: .45 }
.foot-ig.ig-soon::after { content: "coming soon"; font-size: .72rem; opacity: .7 }
#menu .menu-ig.ig-soon { background: transparent; color: var(--mut); border: 1.5px dashed var(--line) }
#menu .menu-ig.ig-soon::after { content: "Coming soon"; font-size: .7rem; font-weight: 700; padding: .12rem .5rem; border-radius: 99px; background: var(--gold); color: var(--wine) }
@media (max-width: 640px) { .brand img { height: 46px } }
.price-card > *:not(.seal) { position: relative }
@media (max-width: 960px) {
  #menu > a.menu-ig.ig-soon::after { display: inline-block; position: static; height: auto; background: var(--gold); color: var(--wine); content: "Coming soon"; font-size: .7rem; font-weight: 700; padding: .12rem .5rem; border-radius: 99px }
}
