/* ==========================================================
   Archana Shivcharan — Social Media Advisor
   Heritage-modern theme · palette from logo: maroon + saffron gradient
   ========================================================== */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Karla"; src: url("../fonts/karla-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --maroon: #50081c;
  --maroon-2: #6e1028;
  --maroon-deep: #330411;
  --crimson: #b23a2c;
  --saffron: #f2a33a;
  --saffron-deep: #b45d0e;  /* readable orange on light bg */
  --sand: #fbf3e8;
  --ivory: #fffaf3;
  --white: #ffffff;
  --ink: #2e0f17;
  --muted: #6d5552;
  --line: #efdcc6;
  --grad: linear-gradient(120deg, #f2a33a 0%, #d9612c 45%, #8c1530 80%, #50081c 100%);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Karla", "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(--ivory); color: var(--ink); font-family: var(--sans); font-size: 17.5px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon-2); }
h1, h2, h3 { font-family: var(--serif); color: var(--maroon); line-height: 1.08; margin: 0 0 .5em; font-weight: 600; }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 em { font-style: italic; font-weight: 500; color: var(--saffron-deep); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1.1em; }

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

.label { display: inline-flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--saffron-deep); margin-bottom: 14px; }
.label::before, .label::after { content: "\2726"; font-size: .7rem; color: var(--saffron); letter-spacing: 0; }
.on-dark .label { color: #ffd59c; }
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 4px auto 26px; color: var(--saffron); }
.divider::before, .divider::after { content: ""; height: 1px; width: 80px; background: linear-gradient(90deg, transparent, var(--saffron)); }
.divider::after { transform: scaleX(-1); }
.divider img { width: 46px; height: 46px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border-radius: 6px; font-family: var(--sans); font-weight: 700; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, transform .2s, filter .2s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 14px 30px -16px rgba(140,21,48,.8); }
.btn-grad:hover { color: #fff; filter: brightness(1.06); }
.btn-maroon { background: var(--maroon); color: #fff; }
.btn-maroon:hover { background: var(--maroon-2); color: #fff; }
.btn-line { border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn-line:hover { background: var(--maroon); color: #fff; }
.btn-light { background: #fff; color: var(--maroon); }
.btn-light:hover { color: var(--crimson); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,250,243,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header::after { content: ""; display: block; height: 3px; background: var(--grad); }
.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: 700; font-size: .84rem; letter-spacing: .14em; text-transform: uppercase; }
.nav-links a:not(.btn):hover { color: var(--crimson); }
.nav-links .btn { padding: 11px 20px; font-size: .78rem; }
.nav-links a.btn-maroon { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--maroon); }
.menu-toggle svg { width: 28px; height: 28px; }

/* ---------- HERO: mandala-framed portrait ---------- */
.hero { position: relative; overflow: hidden; padding: 80px 0 110px; background: radial-gradient(45% 60% at 22% 50%, #fde6c4 0%, transparent 70%), var(--ivory); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 26'%3E%3Cpath d='M0 26 Q10 4 20 26 Q30 4 40 26' fill='none' stroke='%23f2a33a' stroke-width='1.4'/%3E%3Ccircle cx='20' cy='9' r='2' fill='%23c8452c'/%3E%3C/svg%3E") repeat-x bottom/40px 26px; opacity: .7; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.medallion { position: relative; width: 100%; max-width: 530px; aspect-ratio: 1; justify-self: center; }
.medallion .mandala { position: absolute; inset: 0; width: 100%; height: 100%; animation: turn 90s linear infinite; }
@keyframes turn { to { transform: rotate(360deg); } }
.medallion .photo { position: absolute; inset: 14.6%; border-radius: 50%; overflow: hidden; background: var(--sand); box-shadow: 0 0 0 6px #fff, 0 30px 60px -24px rgba(80,8,28,.55); }
.medallion .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.medallion .badge { position: absolute; bottom: 6%; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--maroon); color: #ffe3bf; font-weight: 700; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; padding: 10px 20px; border-radius: 4px; border: 1px solid var(--saffron); }
.hero .namaste { font-family: var(--serif); font-style: italic; font-size: 1.7rem; color: var(--saffron-deep); margin: 0; }
.hero h1 { font-size: clamp(3.4rem, 7.2vw, 6.2rem); font-weight: 700; line-height: .95; margin: 4px 0 16px; letter-spacing: -.01em; }
.hero h1 span { display: block; font-weight: 400; font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.hero .role { font-weight: 700; font-size: .9rem; letter-spacing: .26em; text-transform: uppercase; color: var(--maroon-2); margin: 0 0 20px; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 31em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-trio { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-top: 44px; }
.hero-trio div { padding: 0 26px; border-left: 1px solid var(--line); text-align: left; }
.hero-trio div:first-child { padding-left: 0; border-left: 0; }
.hero-trio strong { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--maroon); line-height: 1.1; }
.hero-trio span { font-size: .84rem; color: var(--muted); }

/* Sections */
section { scroll-margin-top: 90px; }
.section { padding: 110px 0; position: relative; }
.sand { background: var(--sand); }
.white { background: var(--white); }
.head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.head p { color: var(--muted); font-size: 1.08rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-grid p { color: var(--muted); }
.about-grid .first { font-family: var(--serif); font-size: 1.6rem; line-height: 1.4; color: var(--maroon); }
.verse { margin-top: 26px; padding: 26px 30px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; position: relative; }
.verse::before { content: ""; position: absolute; inset: 6px; border: 1px dashed rgba(242,163,58,.55); border-radius: 4px; pointer-events: none; }
.verse p { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--maroon-2); margin: 0; }

/* Experience: ornate corner cards */
.ornate { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.oc { position: relative; background: var(--white); padding: 40px 40px 38px; border: 1px solid var(--line); }
.oc::before, .oc::after { content: ""; position: absolute; width: 36px; height: 36px; border: 2px solid var(--saffron); }
.oc::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.oc::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.oc .n { font-family: var(--serif); font-size: 3rem; font-weight: 700; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; margin-bottom: 12px; }
.oc p { margin: 0; color: var(--muted); }

/* Expertise: medallion list */
.medals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 30px; }
.medal { text-align: center; padding: 0 10px; }
.medal .ring { position: relative; width: 120px; height: 120px; margin: 0 auto 22px; display: grid; place-items: center; }
.medal .ring img { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1.2s ease; }
.medal:hover .ring img { transform: rotate(45deg); }
.medal .ring span { position: relative; width: 70px; height: 70px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #fff; }
.medal .ring svg { width: 30px; height: 30px; }
.medal h3 { font-size: 1.45rem; margin-bottom: 6px; }
.medal p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Approach: diya timeline */
.diya-line { position: relative; max-width: 860px; margin: 0 auto; }
.diya-line::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: linear-gradient(var(--saffron), var(--maroon)); }
.d-item { position: relative; display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; margin-bottom: 30px; }
.d-item:last-child { margin-bottom: 0; }
.d-item .flame { grid-column: 2; justify-self: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 2px solid var(--saffron); display: grid; place-items: center; position: relative; z-index: 1; }
.d-item .flame svg { width: 26px; height: 26px; color: var(--crimson); }
.d-card { background: var(--white); border: 1px solid var(--line); padding: 26px 28px; border-radius: 6px; }
.d-item:nth-child(odd) .d-card { grid-column: 1; grid-row: 1; text-align: right; }
.d-item:nth-child(even) .d-card { grid-column: 3; grid-row: 1; }
.d-card small { display: block; font-weight: 700; font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: var(--saffron-deep); }
.d-card h3 { margin: 4px 0 6px; }
.d-card p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Perspectives: framed quotes */
.frames { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.fq { position: relative; padding: 44px 40px 40px; background: var(--maroon); color: #f7dcc4; border-radius: 4px; overflow: hidden; }
.fq:nth-child(2), .fq:nth-child(3) { background: var(--white); color: var(--muted); border: 1px solid var(--line); }
.fq::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 170px; height: 170px; background: url("../img/mandala.svg") center/contain no-repeat; opacity: .28; }
.fq h3 { font-style: italic; font-weight: 500; font-size: 1.85rem; color: #fff; }
.fq:nth-child(2) h3, .fq:nth-child(3) h3 { color: var(--maroon); }
.fq p { margin: 0; position: relative; z-index: 1; max-width: 92%; }

/* Contact */
.contact { background: linear-gradient(120deg, #b8452a 0%, #8c1530 50%, #50081c 100%); color: #fff3e3; overflow: hidden; }
.contact .label { color: #ffe3bf; }
.contact .label::before, .contact .label::after { color: #ffe3bf; }
.contact .bg-mandala { position: absolute; right: -180px; top: 50%; width: 620px; transform: translateY(-50%); opacity: .2; filter: brightness(3) saturate(0); pointer-events: none; animation: turn 120s linear infinite reverse; }
.contact-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.contact h2 { color: #fff; }
.contact h2 em { color: #ffe3bf; }
.contact p { color: #ffe9d2; font-size: 1.1rem; }
.mail-card { background: rgba(255,255,255,.96); color: var(--ink); padding: 40px 36px; border-radius: 6px; position: relative; box-shadow: 0 30px 60px -30px rgba(51,4,17,.7); }
.mail-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line); border-radius: 4px; pointer-events: none; }
.mail-card > * { position: relative; }
.mail-card .lbl { font-weight: 700; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--saffron-deep); }
.mail-card a.addr { display: block; font-family: var(--serif); font-weight: 700; font-size: clamp(1.4rem, 2.8vw, 2rem); color: var(--maroon); text-decoration: none; margin: 8px 0 24px; word-break: break-all; }
.mail-card a.addr:hover { color: var(--crimson); }
.mail-card .acts { display: flex; flex-wrap: wrap; gap: 12px; }
.mail-card .note { margin: 22px 0 0; font-size: .86rem; color: var(--muted); }

/* Footer */
.site-footer { background: var(--maroon-deep); color: #d8b7a8; padding: 46px 0 28px; font-size: .9rem; border-top: 3px solid var(--saffron); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.foot img { height: 50px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 24px; list-style: none; margin: 0; padding: 0; }
.foot-links a { color: #ffe9d2; text-decoration: none; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.foot-links a.mail { text-transform: none; letter-spacing: .02em; font-weight: 500; font-size: .92rem; }
.foot-links a:hover { color: var(--saffron); }
.foot-copy { width: 100%; text-align: center; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; margin-top: 6px; font-size: .84rem; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--maroon); color: #ffe3bf; padding: 12px 24px; border-radius: 6px; font-weight: 700; font-size: .9rem; letter-spacing: .06em; transition: opacity .3s, transform .3s; z-index: 200; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Legal */
.legal-hero { position: relative; overflow: hidden; background: var(--maroon); color: #f2d4bf; padding: 76px 0 66px; text-align: center; }
.legal-hero .bg-mandala { position: absolute; left: 50%; top: 50%; width: 520px; transform: translate(-50%, -50%); opacity: .14; filter: brightness(3) saturate(0); pointer-events: none; }
.legal-hero .wrap { position: relative; }
.legal-hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4rem); }
.legal-hero p { margin: 0; }
.back-home { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: #ffd59c; text-decoration: none; font-weight: 700; font-size: .84rem; letter-spacing: .12em; text-transform: uppercase; }
.back-home:hover { color: #fff; }
.legal { padding: 64px 0 100px; }
.legal-body { max-width: 840px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--saffron); padding: 56px 60px; }
.legal-body h2 { font-size: 1.85rem; margin-top: 1.6em; }
.legal-body h3 { font-size: 1.3rem; margin-top: 1.4em; color: var(--saffron-deep); }
.legal-body p, .legal-body li { color: #4e3a39; font-size: 1rem; }
.legal-body ul { padding-left: 1.3em; margin: 0 0 1.2em; }
.legal-body li { margin-bottom: .45em; }
.legal-body .callout { background: var(--sand); border-left: 4px solid var(--saffron); padding: 20px 24px; margin: 0 0 1.6em; }
.legal-body .callout p:last-child { margin: 0; }
.legal-toc { background: var(--ivory); border: 1px solid var(--line); padding: 22px 28px; margin-bottom: 2.4em; }
.legal-toc strong { display: block; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--saffron-deep); margin-bottom: 10px; }
.legal-toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
.legal-toc li { font-size: .95rem; margin-bottom: .3em; break-inside: avoid; }

/* Responsive */
@media (max-width: 1060px) {
  .hero-grid, .about-grid, .contact-inner { grid-template-columns: 1fr; gap: 56px; }
  .medallion { max-width: 420px; }
  .medals { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav-links { position: fixed; inset: 89px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ivory); border-bottom: 1px solid var(--line); 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: 15px 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { margin-top: 16px; }
  .nav-links .btn { width: 100%; justify-content: center; }
  .ornate, .frames { grid-template-columns: 1fr; }
  .diya-line::before { left: 28px; }
  .d-item { grid-template-columns: 56px 1fr; gap: 18px; }
  .d-item .flame { grid-column: 1; grid-row: 1; }
  .d-item:nth-child(n) .d-card { grid-column: 2; grid-row: 1; text-align: left; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .nav { height: 74px; } .nav-links { inset: 77px 0 auto 0; }
  .brand img { height: 46px; }
  .hero { padding: 50px 0 90px; }
  .medallion { max-width: 330px; }
  .hero-trio { grid-template-columns: 1fr; gap: 14px; }
  .hero-trio div { padding: 0 0 0 16px !important; border-left: 2px solid var(--saffron) !important; }
  .section { padding: 80px 0; }
  .medals { grid-template-columns: 1fr; }
  .oc, .fq { padding: 34px 24px; }
  .mail-card { padding: 32px 22px; }
  .contact .bg-mandala { width: 420px; right: -200px; }
  .legal-body { padding: 34px 22px; }
  .legal-toc ol { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .medallion .mandala, .contact .bg-mandala { animation: none; }
}
