/* ==========================================================
   Vaibhav Palkar — Social Media Advisor
   "Chrome Night" theme · palette from logo: brushed chrome + teal glow on gunmetal
   ========================================================== */

@font-face { font-family: "Exo 2"; src: url("../fonts/exo-2-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Exo 2"; src: url("../fonts/exo-2-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Readex Pro"; src: url("../fonts/readex-pro-latin-wght-normal.woff2") format("woff2"); font-weight: 160 700; font-display: swap; }

:root {
  --night: #0b1118;
  --gun: #121a24;
  --gun2: #1a2531;
  --slate: #2a3746;
  --teal: #1fb5c4;
  --teal-dk: #138a98;
  --cyan: #5fe1ec;
  --ice: #cfe7ef;
  --steel: #e7ecf0;
  --steel2: #d6dee5;
  --white: #ffffff;
  --ink: #111b26;
  --muted: #55626f;
  --line: #c9d3dc;
  --chrome: linear-gradient(180deg, #ffffff 0%, #d9e2ea 38%, #8c9cab 52%, #e9eef3 66%, #b6c3cf 100%);
  --teal-g: linear-gradient(120deg, #138a98 0%, #1fb5c4 50%, #5fe1ec 100%);
  --head: "Exo 2", "Segoe UI", system-ui, sans-serif;
  --body: "Readex Pro", "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(--night); color: var(--ink); font-family: var(--body); font-size: 17.5px; line-height: 1.72; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dk); }
h1, h2, h3 { font-family: var(--head); color: var(--ink); line-height: 1.05; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-style: italic; text-wrap: balance; }
h2 em { font-style: italic; background: var(--teal-g); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.on-dark h2 { color: #fff; }
h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: 0; }
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(--teal); color: var(--night); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 700; font-style: italic; font-size: .85rem; letter-spacing: .26em; text-transform: uppercase; color: var(--cyan); margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 30px; height: 4px; background: var(--teal-g); transform: skewX(-30deg); box-shadow: 0 0 12px rgba(95,225,236,.7); }
.eyebrow.dark { color: var(--teal-dk); }
.eyebrow.dark::before { box-shadow: none; }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; font-family: var(--head); font-weight: 700; font-size: .98rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 0; background: transparent; cursor: pointer; clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); transition: transform .2s, filter .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-teal { background: var(--teal-g); color: var(--night); }
.btn-teal:hover { color: var(--night); }
.btn-chrome { background: var(--chrome); color: var(--ink); }
.btn-chrome:hover { color: var(--ink); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(207,231,239,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.16); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11,17,24,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(207,231,239,.12); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--teal-g); opacity: 0; transition: opacity .3s; }
.site-header.scrolled::after { opacity: 1; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; 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: #dbe5ec; text-decoration: none; font-family: var(--head); font-weight: 600; font-size: .98rem; letter-spacing: .04em; }
.nav-links a:not(.btn):hover { color: var(--cyan); }
.nav-links .btn { padding: 10px 22px; font-size: .85rem; }
.nav-links a.btn-teal { color: var(--night); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: #fff; }
.menu-toggle svg { width: 28px; height: 28px; }

/* Rain + bokeh */
.rain { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.rain i { position: absolute; top: -120px; width: 1px; height: var(--h); background: linear-gradient(transparent, rgba(207,231,239,.32)); animation: fall var(--t) linear var(--d) infinite; }
@keyframes fall { to { transform: translateY(1200px); } }
.bokeh { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.bokeh i { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: radial-gradient(circle, var(--c) 0%, transparent 70%); filter: blur(2px); animation: glow 6s ease-in-out var(--d) infinite; }
@keyframes glow { 50% { opacity: .45; transform: scale(1.12); } }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; padding: 90px 0 120px; background: radial-gradient(70% 90% at 25% 30%, #1d2c3b 0%, var(--gun) 45%, var(--night) 100%); color: #b9c6d2; }
.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: 410px; justify-self: center; }
.orbit { position: absolute; left: 50%; top: 50%; width: 125%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: 2px solid transparent; border-top-color: rgba(207,231,239,.7); border-right-color: rgba(31,181,196,.75); border-bottom-color: rgba(207,231,239,.15); border-left-color: rgba(31,181,196,.15); animation: spin 18s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.slant { position: relative; padding: 3px; background: linear-gradient(160deg, #ffffff, #8c9cab 40%, #1fb5c4 70%, #e9eef3); clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); box-shadow: 0 40px 70px -30px rgba(0,0,0,.8); }
.slant img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: 50% 4%; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); }
.chip { position: absolute; left: -30px; bottom: 50px; padding: 11px 22px; background: rgba(11,17,24,.9); border: 1px solid rgba(95,225,236,.6); color: #e7f2f6; font-family: var(--head); font-style: italic; font-weight: 700; font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; transform: skewX(-12deg); box-shadow: 0 0 24px -4px rgba(31,181,196,.6); }
.chip b { color: var(--cyan); }
.hero h1 { font-size: clamp(3.4rem, 7.6vw, 6.8rem); font-style: italic; font-weight: 900; line-height: .92; letter-spacing: -.02em; margin: 0 0 20px; text-transform: uppercase; }
.hero h1 span { display: block; padding-right: .1em; }
.chrome { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgba(0,0,0,.4)); }
.teal { background: var(--teal-g); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 500; letter-spacing: .06em; }
.hero .role { display: inline-flex; align-items: center; gap: 12px; font-family: var(--head); font-weight: 600; font-size: .95rem; letter-spacing: .3em; text-transform: uppercase; color: #dbe5ec; margin: 0 0 22px; }
.hero .role::after { content: ""; width: 60px; height: 1px; background: var(--teal-g); }
.hero .lead { font-size: 1.15rem; color: #b9c6d2; max-width: 31em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hud { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 44px 0 0; padding: 0; }
.hud li { position: relative; padding: 14px 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(207,231,239,.14); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.hud li::before { content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 2px; background: var(--teal-g); }
.hud b { display: block; font-family: var(--head); font-style: italic; font-weight: 800; font-size: 1.6rem; color: #fff; line-height: 1.1; }
.hud span { font-size: .85rem; color: #9fb0bf; }

/* Sections */
section { scroll-margin-top: 84px; }
.section { padding: 116px 0; position: relative; }
.steel { background: linear-gradient(180deg, var(--steel), #f6f8fa); }
.night { background: radial-gradient(80% 100% at 85% 0%, #1b2b3a 0%, var(--gun) 50%, var(--night) 100%); color: #b9c6d2; overflow: hidden; }
.night h3 { color: #fff; }
.head { max-width: 720px; 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.08rem; }
.night .head p { color: #9fb0bf; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; }
.about-grid p { color: var(--muted); }
.about-grid .lead2 { font-size: 1.28rem; color: var(--ink); }
.plate { position: relative; margin: 0; padding: 56px 46px 46px; background: linear-gradient(135deg, #f4f7f9 0%, #cdd7df 45%, #eef2f5 55%, #bfcbd5 100%); border: 1px solid #aebcc8; box-shadow: inset 0 1px 0 #fff, 0 30px 60px -36px rgba(17,27,38,.6); clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px); }
.screw { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #7d8d9c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.screw::after { content: ""; position: absolute; left: 2px; right: 2px; top: 5px; height: 1.5px; background: rgba(0,0,0,.35); transform: rotate(45deg); }
.s1 { left: 34px; top: 16px; } .s2 { right: 16px; top: 16px; } .s3 { left: 16px; bottom: 16px; } .s4 { right: 34px; bottom: 16px; }
.plate blockquote { margin: 0 0 18px; }
.about-grid .plate p { font-family: var(--head); font-style: italic; font-weight: 700; font-size: 1.7rem; line-height: 1.25; color: var(--ink); margin: 0; }
.plate figcaption { font-family: var(--head); font-weight: 700; font-size: .85rem; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-dk); }

/* Experience */
.lessons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ls { position: relative; padding: 30px 26px 32px; background: rgba(255,255,255,.04); border: 1px solid rgba(207,231,239,.12); transform: skewX(-6deg); transition: border-color .3s, background .3s; }
.ls > * { transform: skewX(6deg); }
.ls:hover { border-color: rgba(95,225,236,.55); background: rgba(31,181,196,.07); }
.ls .big { display: block; font-family: var(--head); font-style: italic; font-weight: 900; font-size: 4rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(207,231,239,.6); margin-bottom: 14px; }
.ls:hover .big { -webkit-text-stroke-color: var(--cyan); }
.ls p { margin: 0; color: #9fb0bf; font-size: .98rem; }

/* Expertise */
.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sk { position: relative; padding: 32px 28px 30px; background: #fff; border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); transition: transform .3s, box-shadow .3s; }
.sk::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: var(--teal-g); transition: width .4s; }
.sk:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -30px rgba(17,27,38,.6); }
.sk:hover::after { width: 100%; }
.sk .ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; background: var(--gun); color: var(--cyan); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.sk .ico svg { width: 24px; height: 24px; }
.sk .n { position: absolute; right: 30px; top: 26px; font-family: var(--head); font-style: italic; font-weight: 800; color: #b7c4cf; }
.sk p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Approach: speed track */
.track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.track li { position: relative; padding: 34px 40px 34px 46px; background: linear-gradient(135deg, #1d2a37, #141e29); clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%, 26px 50%); margin-left: -12px; transition: background .3s; }
.track li:first-child { margin-left: 0; clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%); padding-left: 30px; }
.track li:hover { background: linear-gradient(135deg, #1f4b57, #153440); }
.track li:last-child { background: linear-gradient(135deg, #138a98, #1fb5c4); }
.track li:last-child h3, .track li:last-child p, .track li:last-child .k { color: var(--night); }
.track .k { display: block; font-family: var(--head); font-style: italic; font-weight: 800; font-size: .95rem; color: var(--cyan); margin-bottom: 8px; }
.track h3 { font-size: 1.6rem; font-style: italic; text-transform: uppercase; }
.track p { margin: 0; color: #a9b8c6; font-size: .96rem; }

/* Perspectives */
.views { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.vw { padding: 30px 26px; background: #fff; border: 1px solid var(--line); }
.vw .bar { display: block; width: 48px; height: 6px; margin-bottom: 22px; background: var(--teal-g); transform: skewX(-30deg); }
.vw h3 { font-size: 1.2rem; }
.vw p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Contact */
.contact { position: relative; overflow: hidden; text-align: center; padding: 140px 0; background: radial-gradient(70% 100% at 50% 100%, #173341 0%, var(--gun) 50%, var(--night) 100%); color: #b9c6d2; }
.contact .wrap { position: relative; z-index: 1; }
.contact .eyebrow { justify-content: center; }
.contact h2 { font-size: clamp(2.6rem, 6vw, 4.8rem); text-transform: uppercase; }
.contact p { max-width: 540px; margin: 0 auto 30px; font-size: 1.1rem; }
.contact a.addr { display: inline-block; font-family: var(--head); font-style: italic; font-weight: 800; font-size: clamp(1.4rem, 4vw, 2.8rem); background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; text-decoration: none; margin-bottom: 32px; padding: 6px 14px 10px; border-bottom: 2px solid var(--teal); word-break: break-all; }
.contact a.addr:hover { filter: drop-shadow(0 0 12px rgba(95,225,236,.6)); }
.contact .acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.contact .fine { margin: 30px auto 0; font-size: .9rem; color: #8597a8; }

/* Footer */
.site-footer { background: #070b10; color: #8597a8; padding: 42px 0 28px; font-size: .95rem; border-top: 1px solid rgba(207,231,239,.1); }
.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: 26px; list-style: none; margin: 0; padding: 0; }
.foot-links a { color: #dbe5ec; text-decoration: none; font-family: var(--head); font-weight: 600; letter-spacing: .03em; }
.foot-links a:hover { color: var(--cyan); }
.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: .88rem; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--gun); color: var(--cyan); padding: 12px 26px; font-family: var(--head); font-weight: 700; font-style: italic; letter-spacing: .08em; text-transform: uppercase; border: 1px solid rgba(95,225,236,.5); 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%, #1d2c3b, var(--gun) 50%, var(--night)); color: #b9c6d2; padding: 80px 0 84px; }
.legal-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--teal-g); }
.legal-hero .wrap { position: relative; z-index: 1; }
.legal-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-style: italic; text-transform: uppercase; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block; padding-right: .1em; }
.legal-hero p { margin: 0; }
.back-home { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--cyan); text-decoration: none; font-family: var(--head); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.back-home:hover { color: #fff; }
.legal { padding: 60px 0 100px; background: var(--steel); }
.legal-body { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--line); padding: 54px 58px; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
.legal-body h2 { font-size: 1.55rem; margin-top: 1.8em; font-style: italic; }
.legal-body h3 { font-size: 1.08rem; margin-top: 1.5em; color: var(--teal-dk); }
.legal-body p, .legal-body li { color: #46525e; font-size: 1.01rem; }
.legal-body ul { padding-left: 1.3em; margin: 0 0 1.2em; }
.legal-body li { margin-bottom: .45em; }
.legal-body .callout { background: var(--steel); border-left: 4px solid var(--teal); padding: 20px 24px; margin: 0 0 1.6em; }
.legal-body .callout p:last-child { margin: 0; }
.legal-toc { background: #f4f7f9; border: 1px solid var(--line); padding: 22px 28px; margin-bottom: 2.4em; }
.legal-toc strong { display: block; font-family: var(--head); font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-dk); margin-bottom: 10px; }
.legal-toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
.legal-toc li { font-size: .97rem; margin-bottom: .3em; break-inside: avoid; }

/* Responsive */
@media (max-width: 1060px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 80px; }
  .pic { max-width: 340px; }
  .lessons, .views { grid-template-columns: repeat(2, 1fr); }
  .skills { grid-template-columns: repeat(2, 1fr); }
  .track { grid-template-columns: repeat(2, 1fr); row-gap: 12px; }
  .track li:nth-child(3) { margin-left: 0; }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav-links { position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--night); border-bottom: 2px solid var(--teal); 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 rgba(207,231,239,.12); }
  .nav-links li:last-child { margin-top: 16px; }
  .nav-links .btn { width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 18px; }
  .nav { height: 72px; } .nav-links { inset: 72px 0 auto 0; }
  .brand img { height: 42px; }
  .hero { padding: 60px 0 90px; }
  .pic { max-width: 260px; }
  .chip { left: -12px; bottom: 30px; font-size: .72rem; padding: 9px 14px; }
  .hud { grid-template-columns: 1fr; gap: 10px; }
  .hud li { display: flex; align-items: center; gap: 16px; }
  .hud b { min-width: 52px; }
  .section { padding: 84px 0; }
  .plate { padding: 50px 26px 36px; }
  .about-grid .plate p { font-size: 1.4rem; }
  .lessons, .views, .skills, .track { grid-template-columns: 1fr; }
  .ls { transform: none; } .ls > * { transform: none; }
  .track li, .track li:first-child { margin-left: 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), 50% 100%, 0 calc(100% - 18px)); padding: 28px 24px 40px; }
  .contact { padding: 100px 0; }
  .contact a.addr { font-size: 1.25rem; }
  .legal-body { padding: 36px 22px; }
  .legal-toc ol { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; translate: 0 0; transition: none; }
  .rain, .orbit, .bokeh i { animation: none; }
  .rain { display: none; }
}
