/* ==========================================================
   Sana Bagwan — Social Media Advisor
   "Silver Crescent" theme · palette from logo: midnight navy + chrome silver
   ========================================================== */

@font-face { font-family: "Gilda Display"; src: url("../fonts/gilda-display-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Afacad"; src: url("../fonts/afacad-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --midnight: #0e1d42;
  --navy: #061e40;
  --royal: #1f3470;
  --dusk: #3b4f86;
  --silver: #b8c0cf;
  --silver-dk: #7d879d;
  --pearl: #f5f6f9;
  --mist: #eaedf3;
  --white: #ffffff;
  --ink: #0f1a36;
  --muted: #5b647b;
  --line: #dde1ea;
  --chrome: linear-gradient(120deg, #6c768d 0%, #c9cfdb 30%, #f4f6fa 50%, #a7b0c2 70%, #5c6680 100%);
  --chrome-dk: linear-gradient(120deg, #0e1d42 0%, #3b4f86 50%, #7d879d 100%);
  --serif: "Gilda Display", Georgia, "Times New Roman", serif;
  --sans: "Afacad", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--pearl); color: var(--ink); font-family: var(--sans); font-size: 19px; line-height: 1.66; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--royal); }
h1, h2, h3 { color: var(--midnight); line-height: 1.12; margin: 0 0 .5em; font-weight: 400; }
h1, h2 { font-family: var(--serif); }
h2 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); text-wrap: balance; }
h2 em, h1 span { font-style: normal; background: var(--chrome-dk); -webkit-background-clip: text; background-clip: text; color: transparent; }
.on-dark h2 em { background: var(--chrome); -webkit-background-clip: text; background-clip: text; }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.28rem; letter-spacing: -.005em; }
p { margin: 0 0 1.1em; }
.k { font-weight: 600; font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: var(--dusk); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--midnight); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 10px; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--dusk); outline-offset: 4px; border-radius: 6px; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .85rem; letter-spacing: .3em; text-transform: uppercase; color: var(--dusk); margin-bottom: 14px; }
.eyebrow::before { content: "\2726"; font-size: .9rem; letter-spacing: 0; color: var(--silver-dk); }
.on-dark .eyebrow { color: var(--silver); }
.on-dark .eyebrow::before { color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 30px; border-radius: 999px; font-family: var(--sans); font-weight: 600; font-size: 1.02rem; letter-spacing: .02em; text-decoration: none; border: 1.5px solid transparent; background: transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-navy { background: var(--midnight); color: #fff; box-shadow: 0 14px 30px -14px rgba(14,29,66,.85); }
.btn-navy:hover { background: var(--royal); color: #fff; }
.btn-silver { background: var(--chrome); background-size: 200% 100%; color: var(--midnight); border-color: rgba(125,135,157,.4); transition: background-position .6s, transform .2s; }
.btn-silver:hover { background-position: 100% 0; color: var(--midnight); }
.btn-white { background: #fff; color: var(--midnight); }
.btn-white:hover { background: var(--mist); color: var(--midnight); }
.btn-ghost { border-color: rgba(184,192,207,.6); color: #fff; }
.btn-ghost:hover { background: rgba(184,192,207,.12); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245,246,249,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 10px 30px -24px rgba(14,29,66,.6); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 86px; gap: 20px; }
.brand img { height: 58px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.05rem; letter-spacing: .02em; position: relative; }
.nav-links a:not(.btn)::after { content: "\2726"; position: absolute; left: 50%; bottom: -16px; translate: -50% 0; font-size: .6rem; color: var(--silver-dk); opacity: 0; transition: opacity .2s; }
.nav-links a:not(.btn):hover::after { opacity: 1; }
.nav-links .btn { padding: 10px 24px; }
.nav-links a.btn-navy { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--midnight); }
.menu-toggle svg { width: 28px; height: 28px; }

/* Twinkles */
.twinkles { position: absolute; inset: 0; pointer-events: none; }
.twinkles i { position: absolute; width: calc(22px * var(--s)); height: calc(22px * var(--s)); color: var(--silver-dk); animation: twinkle 4s ease-in-out var(--d) infinite; }
.twinkles i svg { width: 100%; height: 100%; }
.on-dark .twinkles i { color: #fff; }
@keyframes twinkle { 0%, 100% { opacity: .9; transform: scale(1) rotate(0); } 50% { opacity: .2; transform: scale(.6) rotate(20deg); } }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; padding: 90px 0 110px; background: radial-gradient(70% 90% at 25% 40%, #ffffff 0%, var(--pearl) 45%, var(--mist) 100%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; align-items: center; }
.pic { position: relative; width: 100%; max-width: 440px; justify-self: center; aspect-ratio: 1; }
.disc { position: absolute; inset: 7%; border-radius: 50%; overflow: hidden; background: var(--mist); box-shadow: 0 40px 70px -36px rgba(14,29,66,.65); border: 6px solid #fff; }
.disc img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.crescent { position: absolute; inset: -2%; border-radius: 50%; background: var(--chrome); -webkit-mask: radial-gradient(circle at 60% 46%, transparent 47%, #000 47.4%); mask: radial-gradient(circle at 60% 46%, transparent 47%, #000 47.4%); filter: drop-shadow(0 8px 14px rgba(14,29,66,.25)); }
.spk { position: absolute; color: var(--midnight); animation: twinkle 3.5s ease-in-out infinite; }
.spk svg { width: 100%; height: 100%; }
.k1 { width: 30px; height: 30px; left: 4%; top: 52%; }
.k2 { width: 18px; height: 18px; left: 13%; top: 66%; animation-delay: -1.6s; }
.pill { position: absolute; right: 0; bottom: 10%; display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; background: var(--midnight); color: #fff; font-weight: 600; font-size: .95rem; box-shadow: 0 16px 30px -16px rgba(14,29,66,.8); }
.pill svg { width: 14px; height: 14px; color: var(--silver); }
.hero h1 { font-size: clamp(3.6rem, 8vw, 7rem); line-height: .98; margin: 0 0 20px; letter-spacing: -.01em; }
.hero h1 span { display: block; }
.hero .role { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: .95rem; letter-spacing: .3em; text-transform: uppercase; color: var(--dusk); margin: 0 0 22px; }
.hero .role::before { content: ""; width: 40px; height: 2px; background: var(--chrome); }
.hero .lead { font-size: 1.24rem; color: var(--muted); max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin: 44px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.facts li { display: flex; flex-direction: column; gap: 2px; padding-right: 14px; }
.facts li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.facts b { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.1; background: var(--chrome-dk); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts span { font-size: .95rem; color: var(--muted); }

/* Sections */
section { scroll-margin-top: 86px; }
.section { padding: 116px 0; position: relative; }
.pearl { background: var(--pearl); }
.white { background: var(--white); }
.night { background: radial-gradient(80% 100% at 80% 0%, #24386e 0%, var(--midnight) 55%, #08122b 100%); color: #c3cad9; overflow: hidden; }
.night h2, .night h3 { color: #fff; }
.head { max-width: 700px; margin-bottom: 58px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head.center .eyebrow { justify-content: center; }
.head p { color: var(--muted); font-size: 1.15rem; }
.big-moon { position: absolute; right: -160px; top: -140px; width: 520px; height: 520px; border-radius: 50%; background: var(--chrome); opacity: .12; -webkit-mask: radial-gradient(circle at 34% 50%, transparent 46%, #000 46.5%); mask: radial-gradient(circle at 34% 50%, transparent 46%, #000 46.5%); pointer-events: none; }

/* About */
.about-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.about-grid p { color: #c3cad9; }
.about-grid .lead2 { font-size: 1.35rem; color: #fff; }
.moon-quote { margin: 0; padding: 50px 44px 44px; border-radius: 28px; background: rgba(255,255,255,.05); border: 1px solid rgba(184,192,207,.3); text-align: center; }
.mq-icon { display: block; width: 74px; height: 74px; margin: 0 auto 24px; filter: drop-shadow(0 0 20px rgba(255,255,255,.3)); }
.mq-icon svg { width: 100%; height: 100%; }
.moon-quote blockquote { margin: 0 0 20px; }
.about-grid .moon-quote p { font-family: var(--serif); font-size: 1.75rem; line-height: 1.35; color: #fff; margin: 0; }
.moon-quote figcaption { font-size: .85rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--silver); }

/* Experience: phases */
.phases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.phase { position: relative; text-align: center; padding: 40px 26px 34px; border-radius: 26px; background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.phase:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -34px rgba(14,29,66,.6); }
.phase .moon { display: block; width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; background: var(--midnight); padding: 10px; box-shadow: 0 14px 26px -14px rgba(14,29,66,.8); }
.phase .moon svg { width: 100%; height: 100%; }
.phase .k { display: block; margin-bottom: 8px; }
.phase h3 { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; }
.phase p { margin: 0; color: var(--muted); font-size: 1.02rem; }

/* Expertise */
.ex-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.ex-grid .head { position: sticky; top: 130px; margin: 0; }
.stars-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.stars-list li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.stars-list li:nth-child(-n+2) { border-top: 1px solid var(--line); }
.stars-list .sp { width: 22px; height: 22px; margin-top: 4px; color: var(--midnight); transition: transform .4s; }
.stars-list li:hover .sp { transform: rotate(90deg) scale(1.15); color: var(--dusk); }
.stars-list .sp svg { width: 100%; height: 100%; }
.stars-list h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin-bottom: 6px; }
.stars-list p { margin: 0; color: var(--muted); font-size: 1.02rem; }

/* Approach: dusk to shine */
.skies { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 70px -46px rgba(14,29,66,.7); }
.sky { padding: 44px 30px 46px; min-height: 290px; }
.sky .k { display: block; margin-bottom: 70px; }
.sky h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; }
.sky p { margin: 0; font-size: 1.02rem; }
.s1 { background: #0e1d42; color: #c3cad9; } .s1 h3 { color: #fff; } .s1 .k { color: var(--silver); }
.s2 { background: #2a3d74; color: #d2d8e5; } .s2 h3 { color: #fff; } .s2 .k { color: #c9d0dd; }
.s3 { background: #7d879d; color: #f1f3f8; } .s3 h3 { color: #fff; } .s3 .k { color: #eef1f6; }
.s4 { background: linear-gradient(135deg, #e3e7ef, #ffffff); color: var(--muted); } .s4 h3 { color: var(--midnight); }
.s4 { position: relative; }
.s4::after { content: "\2726"; position: absolute; right: 26px; top: 30px; font-size: 1.6rem; color: var(--midnight); }

/* Perspectives */
.beliefs { max-width: 860px; margin: 0 auto; text-align: center; }
.bq { margin: 0; }
.bq p { margin: 0; font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.3; color: var(--midnight); }
.bq:nth-of-type(2) p { background: var(--chrome-dk); -webkit-background-clip: text; background-clip: text; color: transparent; }
.divider { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 34px 0; color: var(--silver-dk); }
.divider::before, .divider::after { content: ""; width: 80px; height: 1px; background: var(--chrome); }
.divider svg { width: 18px; height: 18px; }

/* Contact */
.contact { position: relative; overflow: hidden; text-align: center; padding: 130px 0; background: radial-gradient(70% 90% at 50% 0%, #24386e 0%, var(--midnight) 55%, #08122b 100%); color: #c3cad9; }
.big-moon.c { right: auto; left: 50%; top: 50%; translate: -50% -50%; width: 700px; height: 700px; opacity: .08; }
.contact .wrap { position: relative; z-index: 1; }
.contact .eyebrow { justify-content: center; }
.contact h2 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); }
.contact p { max-width: 540px; margin: 0 auto 30px; font-size: 1.15rem; }
.contact a.addr { display: inline-block; font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.8rem); color: #fff; text-decoration: none; margin-bottom: 32px; padding-bottom: 8px; border-bottom: 2px solid transparent; border-image: var(--chrome) 1; word-break: break-all; }
.contact a.addr:hover { color: var(--silver); }
.contact .acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.contact .fine { margin: 30px auto 0; font-size: .95rem; color: #97a1b7; }

/* Footer */
.site-footer { background: #08122b; color: #8e98ae; padding: 42px 0 28px; font-size: 1rem; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.foot img { height: 56px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 26px; list-style: none; margin: 0; padding: 0; }
.foot-links a { color: #e8ebf2; text-decoration: none; font-weight: 500; }
.foot-links a:hover { color: var(--silver); }
.foot-copy { width: 100%; text-align: center; border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; margin: 6px 0 0; font-size: .92rem; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--midnight); color: #fff; padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem; transition: opacity .3s, transform .3s; z-index: 200; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; translate: 0 24px; transition: opacity .7s ease, translate .7s ease; }
.reveal.in { opacity: 1; translate: 0 0; }
.no-js .reveal { opacity: 1; translate: 0 0; }

/* Legal */
.legal-hero { position: relative; overflow: hidden; background: radial-gradient(80% 120% at 80% 0%, #24386e, var(--midnight) 60%, #08122b); color: #c3cad9; padding: 80px 0 84px; }
.legal-hero::after { content: ""; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: var(--chrome); opacity: .15; -webkit-mask: radial-gradient(circle at 34% 50%, transparent 46%, #000 46.5%); mask: radial-gradient(circle at 34% 50%, transparent 46%, #000 46.5%); }
.legal-hero .wrap { position: relative; z-index: 1; }
.legal-hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.4rem); }
.legal-hero p { margin: 0; }
.back-home { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--silver); text-decoration: none; font-weight: 600; }
.back-home:hover { color: #fff; }
.legal { padding: 60px 0 100px; }
.legal-body { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 54px 58px; }
.legal-body h2 { font-size: 1.7rem; margin-top: 1.8em; }
.legal-body h3 { font-size: 1.12rem; margin-top: 1.5em; color: var(--dusk); }
.legal-body p, .legal-body li { color: #464e63; font-size: 1.05rem; }
.legal-body ul { padding-left: 1.3em; margin: 0 0 1.2em; }
.legal-body li { margin-bottom: .45em; }
.legal-body .callout { background: var(--pearl); border-left: 4px solid var(--dusk); padding: 20px 24px; border-radius: 12px; margin: 0 0 1.6em; }
.legal-body .callout p:last-child { margin: 0; }
.legal-toc { background: var(--pearl); border: 1px solid var(--line); border-radius: 16px; padding: 22px 28px; margin-bottom: 2.4em; }
.legal-toc strong { display: block; font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; color: var(--dusk); margin-bottom: 10px; }
.legal-toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
.legal-toc li { font-size: 1rem; margin-bottom: .3em; break-inside: avoid; }

/* Responsive */
@media (max-width: 1060px) {
  .hero-grid, .about-grid, .ex-grid { grid-template-columns: 1fr; gap: 70px; }
  .ex-grid { gap: 40px; } .ex-grid .head { position: static; }
  .pic { max-width: 380px; }
  .phases { grid-template-columns: repeat(2, 1fr); }
  .skies { grid-template-columns: repeat(2, 1fr); }
  .sky .k { margin-bottom: 40px; }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav-links { position: fixed; inset: 86px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--pearl); border-bottom: 3px solid var(--midnight); padding: 8px 24px 24px; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s; }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links li:last-child { margin-top: 16px; }
  .nav-links .btn { width: 100%; justify-content: center; }
  .stars-list { grid-template-columns: 1fr; }
  .stars-list li:nth-child(2) { border-top: 0; }
}
@media (max-width: 640px) {
  body { font-size: 18px; }
  .wrap { padding: 0 18px; }
  .nav { height: 74px; } .nav-links { inset: 74px 0 auto 0; }
  .brand img { height: 46px; }
  .hero { padding: 50px 0 80px; }
  .pic { max-width: 300px; }
  .pill { font-size: .85rem; padding: 8px 14px; }
  .facts { grid-template-columns: 1fr; }
  .facts li, .facts li + li { flex-direction: row; align-items: center; gap: 16px; padding: 12px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .facts b { min-width: 52px; font-size: 1.6rem; }
  .section { padding: 84px 0; }
  .moon-quote { padding: 40px 24px 34px; }
  .about-grid .moon-quote p { font-size: 1.45rem; }
  .phases, .skies { grid-template-columns: 1fr; }
  .sky { min-height: 0; padding: 34px 26px; }
  .sky .k { margin-bottom: 20px; }
  .contact { padding: 90px 0; }
  .contact a.addr { font-size: 1.35rem; }
  .legal-body { padding: 34px 22px; }
  .legal-toc ol { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: 0 0; transition: none; }
  .twinkles i, .spk { animation: none; }
}
