/* ============================================================
   SHE REIGNS — Design System
   Royal violet + crown gold, on warm paper neutrals.
   Display: Fraunces (editorial serif, warm + characterful)
   Body/UI: Inter
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500&family=Inter:wght@400;500;600;700&display=swap');

:root{
  /* ---- Brand color tokens ---- */
  --ink: #1A1129;
  --ink-soft: #463A57;
  --violet-deep: #3C2291;
  --violet: #4E2DB6;
  --violet-bright: #6B3FE0;
  --violet-pale: #EDE0FB;
  --lavender-bg: #F4EEFC;
  --lavender-line: #DCC9F5;
  --gold: #C9A24B;
  --gold-bright: #E0BD6E;
  --gold-deep: #9C7B33;
  --cream: #FBF8F4;
  --white: #FFFFFF;

  /* ---- Type scale ---- */
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;

  /* ---- Spacing / layout ---- */
  --container: 1240px;
  --container-narrow: 880px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  /* ---- Motion ---- */
  --ease: cubic-bezier(.22,1,.36,1);
  --ease-soft: cubic-bezier(.4,0,.2,1);
}

/* ================= RESET ================= */
*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; border:none; background:none; }
h1,h2,h3,h4,p{ margin:0; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

:focus-visible{
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ================= TYPOGRAPHY ================= */
.eyebrow{
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before{
  content: '';
  width: 22px; height: 1px;
  background: var(--gold-deep);
  display: inline-block;
}

.display-1{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.display-2{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.display-3{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.2;
  color: var(--ink);
}
.italic-serif{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--violet);
}
.lede{
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink-soft);
  font-weight: 400;
}
.body-text{
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.caption{
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  opacity: .8;
}

/* "Crown line" — signature underline device, drawn on scroll-reveal */
.crown-line{
  position: relative;
  display: block;
  width: 64px;
  height: 14px;
  margin: 22px 0 0;
}
.crown-line svg{ width:100%; height:100%; overflow: visible; }
.crown-line path{
  stroke: var(--gold);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 90;
  stroke-dashoffset: 90;
  transition: stroke-dashoffset 1.1s var(--ease);
}
.in-view .crown-line path{ stroke-dashoffset: 0; }

/* ================= LAYOUT ================= */
.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.wrap-narrow{
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 32px;
}
.section{
  padding: 120px 0;
  position: relative;
}
.section-tight{ padding: 80px 0; }
@media (max-width: 768px){
  .section{ padding: 76px 0; }
  .section-tight{ padding: 56px 0; }
  .wrap, .wrap-narrow{ padding: 0 22px; }
}

.grid-2{ display:grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-3{ display:grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4{ display:grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
@media (max-width: 980px){
  .grid-2{ grid-template-columns: 1fr; gap: 40px; }
  .grid-3{ grid-template-columns: repeat(2,1fr); }
  .grid-4{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px){
  .grid-3, .grid-4{ grid-template-columns: 1fr; }
}

/* ================= NAVBAR ================= */
.navbar{
  position: fixed;
  top: 0; left:0; right:0;
  z-index: 1000;
  padding: 22px 0;
  transition: all .4s var(--ease-soft);
  background: transparent;
}
.navbar.scrolled{
  padding: 14px 0;
  background: rgba(251,248,244,0.86);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(26,17,41,0.08), 0 12px 30px -20px rgba(26,17,41,.3);
}
.nav-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display:flex;
  align-items:center;
  justify-content: space-between;
}
.brand{
  display:flex;
  align-items:center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--ink);
}
.brand .crown-mark{ width: 34px; height: 34px; flex-shrink:0; }
.brand small{
  display:block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 1px;
}
.nav-links{
  display:flex;
  align-items:center;
  gap: 36px;
}
.nav-links a{
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}
.nav-links a::after{
  content:'';
  position:absolute;
  left:0; bottom:0;
  width:0; height:2px;
  background: var(--gold);
  transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active{ color: var(--violet-deep); }
.nav-links a:hover::after, .nav-links a.active::after{ width: 100%; }

.nav-cta-wrap{ display:flex; align-items:center; gap:18px; }
.nav-toggle{
  display:none;
  width: 42px; height:42px;
  align-items:center; justify-content:center;
  border-radius: 50%;
}
.nav-toggle span{
  display:block; width:20px; height:1.6px; background: var(--ink);
  position: relative; transition: all .3s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after{
  content:''; position:absolute; left:0; width:20px; height:1.6px; background: var(--ink);
  transition: all .3s var(--ease);
}
.nav-toggle span::before{ top: -6px; }
.nav-toggle span::after{ top: 6px; }
.nav-toggle.open span{ background: transparent; }
.nav-toggle.open span::before{ transform: rotate(45deg); top:0; }
.nav-toggle.open span::after{ transform: rotate(-45deg); top:0; }

.mobile-panel{
  position: fixed; inset: 0; top: 0;
  background: var(--violet-deep);
  z-index: 999;
  display:flex; flex-direction:column;
  justify-content:center;
  padding: 32px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
}
.mobile-panel.open{ transform: translateY(0); }
.mobile-panel a{
  display:block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.mobile-panel .mp-close{
  position: absolute; top: 28px; right: 28px;
  width: 44px; height:44px; border-radius:50%;
  background: rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center;
}
.mobile-panel .mp-close svg{ width:18px; height:18px; stroke: white; }

@media (max-width: 920px){
  .nav-links{ display:none; }
  .nav-toggle{ display:flex; }
  .nav-cta-wrap .btn{ display:none; }
}

/* ================= BUTTONS ================= */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 15px 30px;
  border-radius: 100px;
  transition: all .35s var(--ease);
  position: relative;
  white-space: nowrap;
}
.btn svg{ width:16px; height:16px; transition: transform .35s var(--ease); }

.btn-primary{
  background: var(--violet-deep);
  color: var(--white);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 14px 30px -14px rgba(76,40,170,.55);
}
.btn-primary:hover{
  background: var(--violet-bright);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(76,40,170,.6);
}
.btn-primary:hover svg{ transform: translateX(3px); }

.btn-gold{
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  color: var(--ink);
  box-shadow: 0 14px 30px -16px rgba(156,123,51,.6);
}
.btn-gold:hover{ transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(156,123,51,.65); }
.btn-gold:hover svg{ transform: translateX(3px); }

.btn-ghost{
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(26,17,41,.18);
}
.btn-ghost:hover{ border-color: var(--violet-deep); color: var(--violet-deep); transform: translateY(-2px); }

.btn-ghost-light{
  background: rgba(255,255,255,.08);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-ghost-light:hover{ background: rgba(255,255,255,.16); transform: translateY(-2px); }

/* ================= CARDS ================= */
.glass-card{
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(255,255,255,.7);
  backdrop-filter: blur(16px) saturate(140%);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px -40px rgba(60,34,145,.35);
}

.feature-card{
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 38px 32px;
  border: 1px solid rgba(76,45,182,.08);
  transition: all .45s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature-card::before{
  content:'';
  position:absolute; top:0; left:0; right:0; height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.feature-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 36px 60px -32px rgba(60,34,145,.28);
}
.feature-card:hover::before{ transform: scaleX(1); }
.feature-icon{
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--violet-pale);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 22px;
  transition: all .4s var(--ease);
}
.feature-icon svg{ width: 26px; height: 26px; stroke: var(--violet-deep); transition: all .4s var(--ease); }
.feature-card:hover .feature-icon{ background: var(--violet-deep); transform: rotate(-6deg) scale(1.05); }
.feature-card:hover .feature-icon svg{ stroke: var(--white); }
.feature-card h3{
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.feature-card p{ font-size: 0.94rem; line-height: 1.65; color: var(--ink-soft); }
.feature-num{
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--gold-deep);
  font-weight: 500;
  display:block;
  margin-bottom: 14px;
}

/* ================= SCROLL REVEAL ================= */
[data-reveal]{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-reveal].in-view{ opacity: 1; transform: translateY(0); }
[data-reveal="fade"]{ transform: none; }
[data-reveal="scale"]{ transform: scale(.94); }
[data-reveal="scale"].in-view{ transform: scale(1); }
[data-reveal="left"]{ transform: translateX(-40px); }
[data-reveal="left"].in-view{ transform: translateX(0); }
[data-reveal="right"]{ transform: translateX(40px); }
[data-reveal="right"].in-view{ transform: translateX(0); }

.stagger > *{ transition-delay: calc(var(--i, 0) * 90ms); }

/* ================= SCROLL PROGRESS ================= */
.scroll-progress{
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--gold));
  z-index: 1200;
  width: 0%;
  transition: width .1s linear;
}

/* ================= PRELOADER ================= */
.preloader{
  position: fixed; inset:0; z-index: 3000;
  background: var(--violet-deep);
  display:flex; align-items:center; justify-content:center;
  transition: opacity .6s var(--ease), visibility .6s;
}
.preloader.done{ opacity:0; visibility:hidden; pointer-events:none; }
.preloader .crown-mark{ width: 64px; height:64px; }
.preloader-ring{
  width: 110px; height:110px;
  position: relative;
  display:flex; align-items:center; justify-content:center;
}
.preloader-ring svg{ width:100%; height:100%; transform: rotate(-90deg); }
.preloader-ring circle.track{ stroke: rgba(255,255,255,.15); fill:none; stroke-width:2; }
.preloader-ring circle.fill{
  stroke: var(--gold-bright); fill:none; stroke-width:2;
  stroke-dasharray: 320; stroke-dashoffset: 320;
  animation: ringfill 1.4s var(--ease) forwards;
}
@keyframes ringfill{ to{ stroke-dashoffset: 40; } }

/* ================= STATS ================= */
.stat-block{ text-align:center; }
.stat-num{
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}
.stat-num .unit{ font-size: 0.55em; color: var(--gold-bright); margin-left: 2px; }
.stat-label{
  font-size: 0.84rem;
  color: rgba(255,255,255,.7);
  margin-top: 10px;
  letter-spacing: .03em;
}

/* ================= FOOTER ================= */
.mega-footer{
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 90px 0 0;
  position: relative;
  overflow: hidden;
}
.mega-footer::before{
  content:'';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76,45,182,.35), transparent 70%);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: relative;
  z-index: 1;
}
.footer-brand .brand{ color: var(--white); }
.footer-brand p{ font-size: .9rem; line-height: 1.7; margin-top: 18px; max-width: 280px; color: rgba(255,255,255,.55); }
.footer-col h4{
  font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-bright); margin-bottom: 20px; font-weight: 700;
}
.footer-col a, .footer-col p{
  display:block; font-size: .92rem; color: rgba(255,255,255,.65);
  margin-bottom: 13px; transition: color .25s;
}
.footer-col a:hover{ color: var(--white); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding: 26px 0 40px;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
  position:relative; z-index:1;
  flex-wrap: wrap; gap: 14px;
}
.social-row{ display:flex; gap: 12px; }
.social-row a{
  width: 38px; height:38px; border-radius:50%;
  background: rgba(255,255,255,.07);
  display:flex; align-items:center; justify-content:center;
  transition: all .3s var(--ease);
}
.social-row a:hover{ background: var(--gold); transform: translateY(-3px); }
.social-row svg{ width:16px; height:16px; stroke: white; }
@media (max-width: 860px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}

/* ================= MISC ================= */
.divider-line{
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(76,45,182,.2), transparent);
}
.tag-pill{
  display:inline-flex; align-items:center; gap:8px;
  background: var(--violet-pale);
  color: var(--violet-deep);
  font-size: .78rem; font-weight: 700;
  padding: 7px 16px;
  border-radius: 100px;
}
.img-frame{
  border-radius: var(--radius-lg);
  overflow:hidden;
  position: relative;
}
.img-frame img{ width:100%; height:100%; object-fit:cover; transition: transform .8s var(--ease); }
.img-frame:hover img{ transform: scale(1.04); }

.quote-mark{
  width: 38px; height: 30px;
  fill: var(--gold);
  opacity: .8;
}

.page-hero{
  padding: 180px 0 90px;
  background: var(--lavender-bg);
  position: relative;
  overflow:hidden;
}
.page-hero::after{
  content:'';
  position:absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(76,45,182,.12);
  top: -300px; right: -200px;
}
.breadcrumb{
  font-size: .82rem; color: var(--ink-soft); margin-bottom: 18px;
  display:flex; align-items:center; gap:8px;
}
.breadcrumb a{ color: var(--violet-deep); font-weight:600; }

@media (max-width: 768px){
  .page-hero{ padding: 140px 0 60px; }
}
