/* ==========================================================
   Abhijit Mahankale — Social Media Advisor
   Classic / luxe theme · palette from logo: burgundy, charcoal, rose-gold
   ========================================================== */

@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --wine: #611231;
  --wine-deep: #2b0f17;
  --wine-2: #3a1420;
  --charcoal: #3f3f47;
  --copper: #c08a5b;
  --copper-light: #e5c3a0;
  --cream: #faf5ef;
  --blush: #f3e8e1;
  --white: #ffffff;
  --ink: #2a1a20;
  --muted: #6b5a60;
  --line: #e6d8cd;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Jost", "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(--cream); color: var(--ink); font-family: var(--sans); font-size: 17.5px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--wine); }
h1, h2, h3 { font-family: var(--serif); color: var(--wine); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); font-weight: 500; letter-spacing: -.01em; }
h2 em, h1 em { font-style: italic; font-weight: 400; color: #a2683a; }
.persp h2 em, .hero h2 em { color: var(--copper-light); }
h3 { font-size: 1.3rem; font-weight: 600; }
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(--wine); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.overline { display: inline-flex; align-items: center; gap: 14px; font-family: var(--sans); font-size: .78rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: #a2683a; margin-bottom: 18px; }
.overline::before, .overline::after { content: ""; width: 26px; height: 1px; background: currentColor; }
.center { text-align: center; }
.rule { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 auto 22px; color: var(--copper); }
.rule::before, .rule::after { content: ""; width: 60px; height: 1px; background: currentColor; opacity: .7; }
.rule i { width: 8px; height: 8px; background: currentColor; transform: rotate(45deg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; font-family: var(--sans); font-weight: 500; font-size: .86rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.btn svg { width: 17px; height: 17px; flex: none; }
.btn-copper { background: var(--copper); color: var(--wine-deep); }
.btn-copper:hover { background: var(--copper-light); color: var(--wine-deep); }
.btn-line { border-color: rgba(229,195,160,.6); color: #f3e3d4; background: transparent; }
.btn-line:hover { border-color: var(--copper-light); background: rgba(229,195,160,.08); color: #fff; }
.btn-wine { background: var(--wine); color: #fff; }
.btn-wine:hover { background: var(--wine-deep); color: #fff; }

/* Header — cream bar */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250,245,239,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 86px; gap: 20px; }
.brand img { height: 54px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--charcoal); text-decoration: none; font-size: .82rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.nav-links a:not(.btn):hover { color: var(--wine); }
.nav-links .btn { padding: 11px 20px; font-size: .76rem; }
.nav-links a.btn-wine { color: #fff; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--wine); }
.menu-toggle svg { width: 28px; height: 28px; }

/* ---------- HERO — deep wine, framed portrait ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(70% 80% at 18% 50%, #4a1726 0%, transparent 70%), var(--wine-deep); color: #e8d6cc; padding: 90px 0 100px; }
.hero::after { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(192,138,91,.28); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.frame { position: relative; justify-self: start; width: 100%; max-width: 430px; padding: 16px; background: #f3e8e1; box-shadow: 0 40px 70px -30px rgba(0,0,0,.7); }
.frame::before { content: ""; position: absolute; inset: 7px; border: 1px solid var(--copper); pointer-events: none; }
.frame img { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; object-position: 50% 8%; }
.frame .plate { position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%); white-space: nowrap; background: var(--copper); color: var(--wine-deep); font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; padding: 10px 22px; }
.hero h1 { color: #fff; font-size: clamp(3.2rem, 7vw, 5.8rem); font-weight: 600; line-height: .98; letter-spacing: -.01em; margin: 6px 0 12px; }
.hero h1 .sur { display: block; font-family: var(--sans); font-weight: 300; font-size: .34em; letter-spacing: .5em; color: var(--copper-light); margin-top: 18px; }
.hero .overline { color: var(--copper-light); }
.hero .role { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--copper); margin: 22px 0 18px; }
.hero .lead { font-size: 1.15rem; color: #d8c4b9; max-width: 32em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-notes { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-top: 48px; }
.hero-notes div { padding: 0 28px; border-left: 1px solid rgba(192,138,91,.4); }
.hero-notes div:first-child { padding-left: 0; border-left: 0; }
.hero-notes strong { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; color: #fff; }
.hero-notes span { font-size: .82rem; letter-spacing: .08em; color: #bfa79b; }

/* Sections */
section { scroll-margin-top: 86px; }
.section { padding: 120px 0; }
.blush { background: var(--blush); }
.white { background: var(--white); }
.head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.head p { color: var(--muted); font-size: 1.08rem; }

/* About — drop cap + pull quote */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.about-grid p { color: var(--muted); }
.dropcap::first-letter { float: left; font-family: var(--serif); font-size: 4.6rem; line-height: .8; color: var(--wine); padding: 8px 12px 0 0; font-weight: 600; }
.dropcap { color: var(--ink) !important; font-size: 1.12rem; }
.pull { grid-column: 1 / -1; margin: 30px auto 0; max-width: 820px; text-align: center; padding: 34px 0; border-top: 1px solid var(--copper); border-bottom: 1px solid var(--copper); }
.pull p { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 1.95rem); line-height: 1.45; color: var(--wine); margin: 0; }

/* Experience — chapters */
.chapters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chapter { padding: 40px 28px 44px; border-right: 1px solid var(--line); transition: background .3s; }
.chapter:last-child { border-right: 0; }
.chapter:hover { background: var(--white); }
.chapter .roman { font-family: var(--serif); font-size: 2.6rem; font-weight: 300; font-style: italic; color: var(--copper); line-height: 1; display: block; margin-bottom: 8px; }
.chapter small { display: block; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.chapter h3 { font-size: 1.25rem; }
.chapter p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Expertise — index with dotted leaders */
.index { display: grid; grid-template-columns: 1fr 1fr; gap: 0 70px; max-width: 1040px; margin: 0 auto; }
.entry { padding: 26px 0; border-bottom: 1px solid var(--line); }
.entry .top { display: flex; align-items: baseline; gap: 12px; }
.entry h3 { margin: 0; font-size: 1.3rem; white-space: nowrap; }
.entry .dots { flex: 1; border-bottom: 2px dotted var(--copper); opacity: .6; transform: translateY(-5px); }
.entry .no { font-family: var(--serif); font-style: italic; color: var(--copper); font-size: 1.1rem; }
.entry p { margin: 8px 0 0; color: var(--muted); font-size: .97rem; }

/* Approach — columns with hairlines */
.cols4 { display: grid; grid-template-columns: repeat(4, 1fr); }
.col { padding: 0 30px; border-left: 1px solid var(--line); }
.col:first-child { border-left: 0; padding-left: 0; }
.col .big { font-family: var(--serif); font-size: 4rem; font-weight: 300; color: var(--wine); line-height: 1; display: block; }
.col .big sup { font-size: .3em; color: var(--copper); letter-spacing: .1em; vertical-align: top; position: relative; top: 14px; margin-left: 4px; }
.col h3 { margin: 16px 0 10px; }
.col p { color: var(--muted); font-size: .97rem; margin: 0; }

/* Perspectives — featured quote with selector */
.persp { background: var(--wine); color: #ecd9ce; position: relative; overflow: hidden; }
.persp::before { content: "\201C"; position: absolute; left: 4%; top: -40px; font-family: var(--serif); font-size: 22rem; line-height: 1; color: rgba(192,138,91,.12); }
.persp .head h2 { color: #fff; }
.persp .head p { color: #d8bfb3; }
.quote-stage { position: relative; max-width: 860px; margin: 0 auto; text-align: center; min-height: 190px; }
.q { margin: 0; }
.js .q { display: none; animation: fade .6s ease; }
.js .q.active { display: block; }
.no-js .q + .q { margin-top: 40px; }
.q h3 { color: var(--copper-light); font-family: var(--sans); font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; margin-bottom: 18px; }
.q p { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.4; color: #fff; font-weight: 400; margin: 0; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.q-nav { display: flex; justify-content: center; gap: 12px; margin-top: 44px; flex-wrap: wrap; }
.q-nav button { background: transparent; border: 1px solid rgba(229,195,160,.45); color: #ecd9ce; padding: 10px 18px; font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: all .25s; }
.q-nav button:hover { border-color: var(--copper-light); color: #fff; }
.q-nav button[aria-selected="true"] { background: var(--copper); border-color: var(--copper); color: var(--wine-deep); }
.no-js .q-nav { display: none; }

/* Contact — letter card */
.contact { background: var(--blush); }
.letter { position: relative; max-width: 820px; margin: 0 auto; background: var(--white); padding: 70px 64px; text-align: center; box-shadow: 0 30px 60px -40px rgba(43,15,23,.5); }
.letter::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--copper); pointer-events: none; }
.letter::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: repeating-linear-gradient(135deg, var(--wine) 0 14px, transparent 14px 22px, var(--copper) 22px 36px, transparent 36px 44px); }
.letter > * { position: relative; }
.letter p { color: var(--muted); max-width: 520px; margin: 0 auto 30px; font-size: 1.08rem; }
.letter .addr { display: inline-block; font-family: var(--serif); font-size: clamp(1.35rem, 3.4vw, 2.2rem); font-weight: 500; color: var(--wine); text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid var(--copper); margin-bottom: 32px; word-break: break-all; }
.letter .addr:hover { color: var(--copper); }
.letter-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn-outline { border-color: var(--wine); color: var(--wine); background: transparent; }
.btn-outline:hover { background: var(--wine); color: #fff; }
.note { font-size: .86rem !important; margin: 28px auto 0 !important; }

/* Footer */
.site-footer { background: var(--wine-deep); color: #bfa79b; padding: 48px 0 28px; font-size: .9rem; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.foot img { height: 46px; width: auto; }
.foot-links { display: flex; flex-wrap: wrap; gap: 26px; list-style: none; margin: 0; padding: 0; }
.foot-links a { color: #ecd9ce; text-decoration: none; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.foot-links a.mail { text-transform: none; letter-spacing: .02em; font-size: .9rem; }
.foot-links a:hover { color: var(--copper-light); }
.foot-copy { width: 100%; text-align: center; border-top: 1px solid rgba(192,138,91,.25); 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(--wine); color: #fff; padding: 12px 24px; 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; background: var(--wine-deep); color: #d8c4b9; padding: 80px 0 70px; text-align: center; }
.legal-hero::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(192,138,91,.28); pointer-events: none; }
.legal-hero .overline { color: var(--copper-light); }
.legal-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 500; }
.legal-hero p { margin: 0; }
.back-home { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--copper-light); text-decoration: none; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; position: relative; z-index: 1; }
.back-home:hover { color: #fff; }
.legal { padding: 64px 0 100px; }
.legal-body { max-width: 840px; margin: 0 auto; background: #fff; padding: 60px 64px; border-top: 3px solid var(--wine); box-shadow: 0 24px 50px -40px rgba(43,15,23,.5); }
.legal-body h2 { font-size: 1.5rem; margin-top: 2em; }
.legal-body h3 { font-size: 1.12rem; margin-top: 1.6em; color: var(--charcoal); }
.legal-body p, .legal-body li { color: #44363b; 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(--blush); border-left: 3px solid var(--copper); padding: 20px 24px; margin: 0 0 1.6em; }
.legal-body .callout p:last-child { margin: 0; }
.legal-toc { border: 1px solid var(--line); padding: 22px 28px; margin-bottom: 2.4em; background: var(--cream); }
.legal-toc strong { display: block; font-size: .76rem; letter-spacing: .28em; text-transform: uppercase; color: var(--copper); 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 { grid-template-columns: 1fr; gap: 70px; }
  .frame { justify-self: center; max-width: 380px; }
  .chapters { grid-template-columns: repeat(2, 1fr); }
  .chapter:nth-child(2) { border-right: 0; }
  .chapter:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cols4 { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .col:nth-child(3) { border-left: 0; padding-left: 0; }
}
@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(--cream); 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; }
  .about-grid, .index { grid-template-columns: 1fr; gap: 0; }
  .about-grid { gap: 10px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .nav { height: 72px; } .nav-links { inset: 72px 0 auto 0; }
  .brand img { height: 42px; }
  .hero { padding: 56px 0 80px; }
  .hero::after { inset: 10px; }
  .frame { max-width: 300px; padding: 12px; }
  .hero-notes { grid-template-columns: 1fr; gap: 16px; }
  .hero-notes div { padding: 0 0 0 16px !important; border-left: 1px solid rgba(192,138,91,.4) !important; }
  .section { padding: 84px 0; }
  .chapters, .cols4 { grid-template-columns: 1fr; }
  .chapter { border-right: 0 !important; border-bottom: 1px solid var(--line); padding: 32px 4px; }
  .chapter:last-child { border-bottom: 0; }
  .col { border-left: 0 !important; padding: 0 !important; }
  .entry h3 { white-space: normal; font-size: 1.15rem; }
  .letter { padding: 54px 24px; }
  .legal-body { padding: 36px 22px; }
  .legal-toc ol { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .js .q { animation: none; }
}
