/* ============================================================
   Acarani — Landing Page
   Aesthetic: luxury editorial wedding · maroon × champagne gold
   ============================================================ */

:root {
  --ink:        #2a0a12;
  --maroon:     #4c0519;
  --maroon-700: #7a1230;
  --rose:       #e11d48;
  --rose-soft:  #f9a8bd;
  --gold:       #bd8b2c;
  --gold-light: #d9b25f;
  --champagne:  #f1e2c4;
  --cream:      #fbf5ec;
  --ivory:      #fffdf8;
  --paper:      #f6ecdd;
  --muted:      #8a6f6a;
  --line:       rgba(74, 5, 25, .12);

  --maxw: 1200px;
  --r:    18px;
  --ease: cubic-bezier(.22,1,.36,1);
  --shadow-lg: 0 40px 80px -30px rgba(54,4,20,.45), 0 18px 40px -28px rgba(54,4,20,.4);
  --shadow-md: 0 24px 50px -28px rgba(54,4,20,.4);
  /* bayangan hover ber-tint warna brand (maroon + rose), bukan hitam */
  --shadow-brand: 0 22px 48px -18px rgba(225,29,72,.42), 0 10px 26px -14px rgba(124,18,48,.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: clip; max-width: 100%; }
body {
  font-family: 'Hanken Grotesk', sans-serif;
  color: var(--ink);
  background-color: var(--cream);
  /* subtle ornamental dot lattice across the whole page */
  background-image:
    radial-gradient(circle at center, rgba(74,5,25,.055) 1px, transparent 1.6px),
    radial-gradient(circle at center, rgba(189,139,44,.05) 1px, transparent 1.6px);
  background-size: 30px 30px, 30px 30px;
  background-position: 0 0, 15px 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* grain texture overlay */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9999;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection { background: var(--rose); color: #fff; }

h1, h2, h3, h4 { font-family: 'Fraunces', serif; font-weight: 500; line-height: 1.05; letter-spacing: -.01em; color: var(--maroon); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.wrap { width: min(100% - 48px, var(--maxw)); margin-inline: auto; }
.eyebrow {
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase;
  font-weight: 600; color: var(--gold);
  display: inline-flex; align-items: center; gap: .7em;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--gold); display: inline-block; }
.serif-accent { font-family: 'Fraunces', serif; font-style: italic; font-weight: 400; color: var(--rose); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-weight: 600; font-size: .95rem;
  padding: .9em 1.6em; border-radius: 100px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--rose); color: #fff;
  box-shadow: 0 14px 30px -12px rgba(225,29,72,.6);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -12px rgba(225,29,72,.7); }
.btn-ghost { background: transparent; color: var(--maroon); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--maroon); transform: translateY(-2px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #3a2a05; }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -14px rgba(189,139,44,.6); }
.btn-light { background: var(--ivory); color: var(--maroon); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: padding .4s;
  padding: 22px 0;
}
/* Blur/bg live on a pseudo-element so .nav itself does NOT create a
   containing block for the fixed mobile drawer (backdrop-filter would). */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  opacity: 0; transition: opacity .4s;
  background: rgba(251,245,236,.85); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.scrolled { padding: 12px 0; }
.nav.scrolled::before { opacity: 1; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: .7em; font-family: 'Cinzel', serif; font-size: 1.18rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--maroon); }
.brand .word { padding-left: .08em; }
.brand .mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, var(--rose), var(--maroon));
  color: #fff; display: grid; place-items: center; font-size: .85rem; font-weight: 700;
  box-shadow: 0 8px 18px -8px rgba(225,29,72,.7);
}
.brand .mark__svg { width: 22px; height: 22px; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a.link { font-weight: 500; font-size: .94rem; color: var(--ink); position: relative; }
.nav__links a.link::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--rose);
  transition: width .3s var(--ease);
}
.nav__links a.link:hover::after { width: 100%; }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; margin-right: -6px; }
.nav__burger span { width: 26px; height: 2px; background: var(--maroon); transition: transform .3s, opacity .3s; transform-origin: center; }
/* burger -> X saat menu terbuka */
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* backdrop gelap di belakang drawer */
.nav__backdrop { position: fixed; inset: 0; background: rgba(28,8,14,.45); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; z-index: 80; }
.nav__backdrop.open { opacity: 1; visibility: visible; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 180px 0 90px; overflow: hidden; }
.hero__mesh { position: absolute; inset: 0; z-index: 0; }
.hero__mesh span {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
  animation: drift 16s var(--ease) infinite alternate;
}
.hero__mesh .m1 { width: 460px; height: 460px; background: var(--rose-soft); top: -120px; left: -80px; }
.hero__mesh .m2 { width: 520px; height: 520px; background: var(--champagne); top: -60px; right: -120px; animation-delay: -4s; }
.hero__mesh .m3 { width: 380px; height: 380px; background: #f7c9d6; bottom: -160px; left: 30%; animation-delay: -8s; }
@keyframes drift { to { transform: translate(40px, 50px) scale(1.12); } }

.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); font-weight: 500; }
.hero h1 em { font-style: italic; color: var(--rose); }
.hero p.lead { font-size: 1.15rem; color: #5a3a40; margin-top: 24px; max-width: 30em; }
.hero__cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero__trust { margin-top: 26px; display: flex; gap: 20px; flex-wrap: wrap; font-size: .85rem; color: var(--muted); }
.hero__trust span { display: inline-flex; align-items: center; gap: .5em; }
.hero__trust svg { color: var(--gold); }

.hero__art { position: relative; }
.hero__art .shot {
  border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden;
  animation: floaty 7s ease-in-out infinite;
}
.hero__art .shot.main { transform: rotate(-1.4deg); }
.hero__art .phone {
  position: absolute; width: 140px; right: -18px; bottom: -34px;
  border-radius: 22px; box-shadow: var(--shadow-lg);
  animation: floaty 6s ease-in-out infinite; animation-delay: -2s;
  border: 5px solid #0b0b0f; background: #0b0b0f;
}
.hero__art .badge {
  position: absolute; top: -22px; left: -22px; z-index: 3;
  background: var(--ivory); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 16px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 10px;
  animation: floaty 5.5s ease-in-out infinite; animation-delay: -1s;
}
.hero__art .badge .dot { width: 10px; height: 10px; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 4px rgba(40,200,64,.18); }
.hero__art .badge b { font-size: .82rem; color: var(--maroon); font-family: 'Hanken Grotesk'; }
.hero__art .badge small { display: block; font-size: .68rem; color: var(--muted); }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-1.4deg);} 50% { transform: translateY(-14px) rotate(-1.4deg);} }

/* ---------- stat band ---------- */
.stats { background: var(--maroon); color: var(--champagne); padding: 46px 0; position: relative; }
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; }
.stats .num { font-family: 'Fraunces', serif; font-size: clamp(2rem,4vw,3rem); color: #fff; font-weight: 500; }
.stats .num .serif-accent { color: var(--gold-light); }
.stats .lbl { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-top: 4px; }
.stats__div { border-right: 1px solid rgba(255,255,255,.12); }

/* ---------- section scaffolding ---------- */
.section { padding: 110px 0; position: relative; }
.section__head { max-width: 40em; margin-bottom: 60px; }
.section__head.center { margin-inline: auto; text-align: center; }
.section__head h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-top: 18px; }
.section__head p { color: #5a3a40; margin-top: 18px; font-size: 1.08rem; }

/* ---------- problem cards ---------- */
.problem { background: var(--paper); }
.cards3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.pcard {
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r);
  padding: 34px 30px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.cards3 .pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-brand); border-color: var(--gold-light); }
.pcard .ic {
  display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px;
  margin-bottom: 18px; color: var(--maroon);
  border: 1px solid var(--line);
  background: radial-gradient(circle at 32% 26%, #fff, var(--cream));
  transition: color .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.pcard .ic svg { width: 26px; height: 26px; }
.pcard:hover .ic { color: var(--rose); border-color: var(--gold-light); }
.pcard h3 { font-size: 1.3rem; margin-bottom: 10px; }
.pcard p { color: var(--muted); font-size: .96rem; }
.problem__foot { text-align: center; margin-top: 50px; font-family: 'Fraunces', serif; font-style: italic; font-size: clamp(1.2rem,2.4vw,1.7rem); color: var(--maroon); }

/* ---------- pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.pillar { text-align: center; padding: 20px; }
.pillar .ring {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 20px;
  display: grid; place-items: center; color: var(--maroon);
  background: linear-gradient(135deg, var(--champagne), #fff);
  border: 1px solid var(--gold-light); box-shadow: var(--shadow-md);
}
.pillar .ring svg { width: 32px; height: 32px; }
.pillar h3 { font-size: 1.35rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); }

/* ---------- features (zigzag) ---------- */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 120px; }
.feat:last-child { margin-bottom: 0; }
.feat.rev .feat__txt { order: 2; }
.feat__num { font-family: 'Fraunces', serif; font-size: 1rem; color: var(--gold); letter-spacing: .1em; }
.feat__txt h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 14px 0 16px; }
.feat__txt p { color: #5a3a40; font-size: 1.05rem; }
.feat__list { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.feat__list li { list-style: none; display: flex; align-items: center; gap: 10px; font-size: .96rem; }
.feat__list svg { color: var(--rose); flex: none; }
.feat__img { position: relative; }
.feat__img img { border-radius: 14px; }
.feat__img .glow { position: absolute; inset: -10% -6% auto; height: 70%; z-index: -1; filter: blur(60px); opacity: .4; border-radius: 50%; background: var(--rose-soft); }

/* ---------- roles (editorial columns) ---------- */
.roles { background: var(--paper); }
.roles__grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.role {
  position: relative; padding: 48px 32px 44px;
  border-left: 1px solid var(--line);
  transition: background .45s var(--ease), transform .45s var(--ease);
}
.role:first-child { border-left: 0; }
.role__no {
  font-family: 'Fraunces', serif; font-style: italic; font-weight: 400;
  font-size: 1rem; color: var(--gold); letter-spacing: .04em;
}
.role__ic {
  display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%;
  margin: 22px 0; color: var(--maroon);
  border: 1px solid var(--gold-light);
  background: radial-gradient(circle at 32% 26%, #fff, var(--cream));
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.role__ic svg { width: 28px; height: 28px; }
.role h4 { font-size: 1.32rem; margin-bottom: 10px; }
.role p { font-size: .94rem; color: var(--muted); max-width: 22em; }
.role::after {
  content: ""; position: absolute; left: 32px; bottom: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold-light), var(--rose));
  transition: width .5s var(--ease);
}
.role:hover { background: rgba(255,253,248,.6); transform: translateY(-4px); }
.role:hover .role__ic {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-700));
  color: var(--gold-light); border-color: var(--maroon);
  transform: translateY(-3px); box-shadow: var(--shadow-md);
}
.role:hover::after { width: calc(100% - 64px); }

/* ---------- self-hosted (dark) ---------- */
.selfhost { background: radial-gradient(120% 120% at 80% 0%, var(--maroon-700), var(--maroon) 55%, var(--ink)); color: var(--champagne); overflow: hidden; }
.selfhost h2 { color: #fff; }
.selfhost .section__head p { color: rgba(255,255,255,.7); }
.selfhost__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px 40px; margin-top: 40px; }
.sh-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.12); }
.sh-item .chk { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(217,178,95,.18); color: var(--gold-light); }
.sh-item h4 { color: #fff; font-size: 1.15rem; margin-bottom: 4px; }
.sh-item p { font-size: .92rem; color: rgba(255,255,255,.68); }
.selfhost__deco { position: absolute; font-family: 'Fraunces', serif; font-size: 16rem; color: rgba(255,255,255,.04); right: -2%; bottom: -8%; pointer-events: none; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; counter-reset: step; }
.step { position: relative; padding: 36px 30px; background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: 'Fraunces', serif; font-size: 3rem; color: var(--gold-light); line-height: 1;
}
.step h3 { font-size: 1.35rem; margin: 14px 0 8px; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---------- pricing ---------- */
.pricing { background: var(--paper); }
.price__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; align-items: stretch; }
.plan { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--r); padding: 36px 30px; display: flex; flex-direction: column; transition: .4s var(--ease); }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan.feature { background: linear-gradient(180deg, var(--maroon), var(--maroon-700)); color: var(--champagne); border-color: var(--maroon); transform: scale(1.03); }
.plan.feature:hover { transform: scale(1.03) translateY(-6px); }
.plan.feature h3, .plan.feature .price { color: #fff; }
.plan .tag { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.plan.feature .tag { color: var(--gold-light); }
.plan h3 { font-size: 1.5rem; margin: 10px 0; }
.plan .price { font-family: 'Fraunces', serif; font-size: 1.7rem; margin-bottom: 6px; }
.plan .price small { font-size: .85rem; color: var(--muted); font-family: 'Hanken Grotesk'; }
.plan.feature .price small { color: rgba(255,255,255,.6); }
.plan ul { list-style: none; margin: 22px 0; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; font-size: .94rem; }
.plan li svg { color: var(--rose); flex: none; }
.plan.feature li svg { color: var(--gold-light); }

/* ---------- faq ---------- */
.faq__list { max-width: 760px; margin-inline: auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: 'Fraunces', serif; font-size: 1.2rem; color: var(--maroon); }
.qa__q .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .3s; font-size: 1.2rem; }
.qa.open .qa__q .pm { background: var(--rose); color: #fff; transform: rotate(45deg); border-color: var(--rose); }
.qa__a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.qa__a p { padding-bottom: 26px; color: var(--muted); }

/* ---------- final cta ---------- */
.final { text-align: center; }
.final__box {
  background: radial-gradient(120% 140% at 50% 0%, var(--maroon-700), var(--maroon) 60%, var(--ink));
  border-radius: 30px; padding: 80px 40px; color: #fff; position: relative; overflow: hidden;
}
.final__box h2 { color: #fff; font-size: clamp(2rem,4.5vw,3.4rem); }
.final__box p { color: rgba(255,255,255,.7); max-width: 34em; margin: 18px auto 32px; }
.final__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }
.final__box .ring1, .final__box .ring2 { position: absolute; border-radius: 50%; border: 1px solid rgba(217,178,95,.2); pointer-events: none; }
.final__box .ring1 { width: 460px; height: 460px; top: -200px; left: -120px; }
.final__box .ring2 { width: 600px; height: 600px; bottom: -340px; right: -160px; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 70px 0 36px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer .brand { color: #fff; }
.footer .brand .mark { background: linear-gradient(135deg, var(--rose), var(--gold)); }
.footer p.desc { margin-top: 16px; font-size: .92rem; max-width: 26em; }
.footer h5 { color: #fff; font-family: 'Hanken Grotesk'; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer a:hover { color: var(--gold-light); }
.footer__bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .82rem; }
.footer__bottom .credit { color: var(--gold-light); font-weight: 600; text-decoration: none; transition: color .3s var(--ease); }
.footer__bottom .credit:hover { color: #fff; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__grid, .feat, .feat.rev .feat__txt, .selfhost__grid { grid-template-columns: 1fr; }
  .feat.rev .feat__txt { order: 0; }
  .hero__art { margin-top: 30px; }
  .stats__grid, .cards3, .pillars, .roles__grid, .steps, .price__grid, .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats__div { border: 0; }
  .plan.feature { transform: none; }
}
@media (max-width: 640px) {
  .nav__links { position: fixed; inset: 0; width: 100%; background: var(--ivory);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 30px; padding: 110px 32px 48px;
    transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: var(--shadow-lg);
    z-index: 90; overflow-y: auto; }
  .nav__links a.link { font-size: 1.4rem; }
  .nav__links.open { transform: none; }
  .nav__burger { display: flex; position: relative; z-index: 100; }
  .brand { position: relative; z-index: 100; }
  .stats__grid, .cards3, .pillars, .roles__grid, .steps, .price__grid, .footer__grid { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .hero { padding: 140px 0 70px; }
}

/* ============================================================
   DECORATIVE BACKGROUNDS & MOTION  (added)
   ============================================================ */

/* keep section content above any decorative layer */
.section .wrap, .hero__grid, .stats__grid, .selfhost .wrap, .final .wrap { position: relative; z-index: 2; }

/* ---- paper sections get a soft diagonal weave pattern ---- */
.problem, .roles, .pricing, .faq,
.section[style*="--paper"] { position: relative; }
.problem::after, .roles::after, .pricing::after, .faq::after,
.section[style*="--paper"]::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, rgba(74,5,25,.025) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(-45deg, rgba(189,139,44,.025) 0 1px, transparent 1px 22px);
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 40%, transparent 85%);
          mask-image: radial-gradient(120% 100% at 50% 0%, #000 40%, transparent 85%);
}

/* ---- floating soft orbs in light sections ---- */
.orbs { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.orbs span {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35;
  animation: drift 20s var(--ease) infinite alternate;
}
.orbs .o1 { width: 360px; height: 360px; background: var(--rose-soft); top: -80px; left: -60px; }
.orbs .o2 { width: 300px; height: 300px; background: var(--champagne); bottom: -100px; right: -40px; animation-delay: -6s; }

/* ---- animated aurora layer for dark areas ---- */
.aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora::before, .aurora::after {
  content: ""; position: absolute; width: 80vw; height: 80vw; max-width: 760px; max-height: 760px;
  border-radius: 45%; filter: blur(80px); opacity: .5; mix-blend-mode: screen;
}
.aurora::before { background: radial-gradient(circle, var(--rose), transparent 60%); top: -30%; left: -10%; animation: aurora1 22s var(--ease) infinite alternate; }
.aurora::after  { background: radial-gradient(circle, var(--gold), transparent 60%); bottom: -35%; right: -10%; animation: aurora2 26s var(--ease) infinite alternate; }
@keyframes aurora1 { to { transform: translate(20%, 25%) scale(1.25) rotate(40deg); } }
@keyframes aurora2 { to { transform: translate(-18%, -20%) scale(1.2) rotate(-30deg); } }

/* ---- drifting gold sparkles (injected by JS) ---- */
.sparkle-layer { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.sparkle {
  position: absolute; width: var(--sz); height: var(--sz); border-radius: 50%;
  background: radial-gradient(circle, var(--gold-light) 0%, rgba(217,178,95,.4) 40%, transparent 70%);
  opacity: 0; animation: sparkleFloat var(--d) ease-in-out var(--delay) infinite;
}
.sparkle.rose { background: radial-gradient(circle, var(--rose) 0%, rgba(225,29,72,.35) 40%, transparent 70%); }
@keyframes sparkleFloat {
  0%   { transform: translateY(24px) scale(.4); opacity: 0; }
  20%  { opacity: .9; }
  80%  { opacity: .7; }
  100% { transform: translateY(-46px) scale(1.05); opacity: 0; }
}

/* ---- shimmering eyebrow rule ---- */
.eyebrow::before {
  background: linear-gradient(90deg, transparent, var(--gold) 40%, var(--gold-light) 50%, var(--gold) 60%, transparent);
  background-size: 200% 100%;
  animation: shimmer 3.5s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---- slow rotating halo behind the pillar rings ---- */
.pillar .ring { position: relative; }
.pillar .ring::before {
  content: ""; position: absolute; inset: -10px; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg, transparent, rgba(189,139,44,.55), transparent 60%);
  animation: spin 9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- stats band: gentle drifting gold streaks ---- */
.stats { overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: repeating-linear-gradient(115deg, rgba(217,178,95,.10) 0 2px, transparent 2px 26px);
  background-size: 200% 100%;
  animation: streak 18s linear infinite;
}
@keyframes streak { to { background-position: 200% 0; } }

/* ---- extra reveal directions ---- */
.reveal.from-left  { transform: translateX(-46px); }
.reveal.from-right { transform: translateX(46px); }
.reveal.zoom       { transform: scale(.92); }
.reveal.from-left.in, .reveal.from-right.in, .reveal.zoom.in { transform: none; }
.reveal.d5 { transition-delay: .40s; } .reveal.d6 { transition-delay: .48s; }

/* ---- roles: divider handling on smaller screens ---- */
@media (max-width: 980px) {
  .role { border-left: 0; border-top: 1px solid var(--line); padding: 40px 28px; }
  .role:nth-child(even) { border-left: 1px solid var(--line); }
  .role:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 640px) {
  .role { border-left: 0 !important; border-top: 1px solid var(--line); }
  .role:first-child { border-top: 0; }
}

/* ---- respect reduced-motion ---- */
@media (prefers-reduced-motion: reduce) {
  .orbs span, .aurora::before, .aurora::after, .sparkle,
  .eyebrow::before, .pillar .ring::before, .stats::before,
  .hero__mesh span, .hero__art .shot, .hero__art .phone, .hero__art .badge {
    animation: none !important;
  }
}
