/* ============================================================
   Akansha Priya — akanshapriya.com
   "The Operator's Instrument": numbers moving in the right
   direction. Navy base · burnished gold signature · warm paper.
   ============================================================ */

:root {
  /* Palette */
  --navy:        #0f2846;   /* deep base */
  --navy-2:      #14213d;   /* ink text on light */
  --navy-soft:   #1b3a63;   /* raised surfaces on dark */
  --gold:        #d6a24e;   /* signature accent */
  --gold-bright: #e8b968;   /* accent on dark */
  --gold-ink:    #8a5f1b;   /* accent text on light (AA) */
  --paper:       #faf7f1;   /* warm off-white bg */
  --paper-2:     #f3eee4;   /* raised paper */
  --line:        #e6ddcd;   /* warm hairline */
  --line-dark:   rgba(255,255,255,.14);
  --grey:        #5a6172;   /* secondary text */
  --grey-light:  #9aa6bd;   /* secondary on dark */

  /* Type */
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono:    "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --wrap: 1140px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --radius: 14px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--navy-2);
  background: var(--paper);
  line-height: 1.65;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b { font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -60px; left: 1rem; z-index: 200;
  background: var(--navy); color: #fff; padding: .7rem 1.1rem; border-radius: 8px;
  font: 500 .9rem/1 var(--body); transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

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

/* number figures always tabular for alignment */
.metric__num, .metric__delta, .tl__date, .award__when { font-variant-numeric: tabular-nums; }

/* ---------- shared type devices ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin: 0;
}
.eyebrow--dark { color: var(--gold-ink); }

.hl { color: var(--gold-bright); }
.about .hl, .section .hl { color: var(--gold-ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 500 .95rem/1 var(--body);
  padding: .72rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
  white-space: nowrap;
}
.btn--lg { padding: .95rem 1.6rem; font-size: 1rem; }
.btn--solid { background: var(--navy); color: var(--paper); }
.btn--solid:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(15,40,70,.6); }
.btn--gold { background: var(--gold); color: var(--navy-2); font-weight: 600; }
.btn--gold:hover { background: var(--gold-bright); transform: translateY(-2px); box-shadow: 0 12px 28px -12px rgba(214,162,78,.7); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--navy-2); }
.btn--ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn--ghost-dark { border-color: var(--line-dark); color: var(--paper); }
.btn--ghost-dark:hover { border-color: var(--gold-bright); color: var(--gold-bright); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; color: var(--navy-2); }
.brand__mark { width: 26px; height: 26px; color: var(--gold); flex: none; }
.nav__links { display: flex; gap: 1.5rem; margin-left: auto; }
.nav__links a {
  font-size: .92rem; color: var(--grey); position: relative; padding: .3rem 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: var(--gold); transition: width .25s var(--ease);
}
.nav__links a:hover { color: var(--navy-2); }
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; gap: .6rem; }
.nav__links + .nav__actions { margin-left: 0; }
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
}
@media (max-width: 460px) {
  .nav .btn--ghost { display: none; }
  .brand__name { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3.5rem, 9vw, 8rem) 0 clamp(4rem, 8vw, 7rem);
  isolation: isolate;
}
.hero__inner { position: relative; z-index: 2; max-width: 62ch; }
.hero .eyebrow { margin-bottom: 1.4rem; }
.eyebrow { color: var(--gold-ink); }        /* hero on light paper */
.hero__title {
  font-size: clamp(2.6rem, 1.4rem + 5.4vw, 5.2rem);
  letter-spacing: -.03em;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.hero__title .hl { color: var(--gold-ink); }
.hero__sub {
  font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem);
  color: var(--grey); max-width: 46ch; line-height: 1.55;
  margin-bottom: 2.2rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.4rem; }
.hero__micro {
  font-family: var(--mono); font-size: .8rem; color: var(--grey);
  letter-spacing: .01em; display: flex; align-items: center; gap: .6rem; line-height: 1.5;
}
.hero__micro .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #37b24d; flex: none;
  box-shadow: 0 0 0 4px rgba(55,178,77,.16);
}

/* ambient rising trajectory */
.hero__art {
  position: absolute; z-index: 1;
  right: clamp(-6rem, -8vw, -2rem); top: 50%; transform: translateY(-50%);
  width: min(58vw, 720px); height: auto; color: var(--line);
  opacity: .9; pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 55%, transparent 100%);
          mask-image: linear-gradient(to left, #000 55%, transparent 100%);
}
.hero__grid { opacity: .55; }
.hero__line { stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.hero__area { opacity: 0; }
.hero__dot { fill: var(--gold); opacity: 0; }
.hero__dot--a { fill: var(--grey-light); }
.is-ready .hero__line { animation: draw 1.7s var(--ease) .25s forwards; }
.is-ready .hero__area { animation: fade 1.2s ease 1.1s forwards; }
.is-ready .hero__dot--a { animation: pop .5s var(--ease) .35s forwards; }
.is-ready .hero__dot--b { animation: pop .6s var(--ease) 1.55s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes pop { 0% { opacity: 0; transform: scale(0); } 100% { opacity: 1; transform: scale(1); } }

@media (max-width: 760px) {
  .hero__art { width: 90vw; opacity: .38; top: auto; bottom: 0; transform: none;
    -webkit-mask-image: linear-gradient(to top, #000 40%, transparent 100%);
            mask-image: linear-gradient(to top, #000 40%, transparent 100%); }
  .hero__inner { max-width: 100%; }
}

/* ============================================================
   IMPACT — the drama moment, on navy
   ============================================================ */
.impact {
  background: var(--navy);
  color: var(--paper);
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  position: relative;
}
.impact::before, .impact::after {
  content: ""; position: absolute; left: 0; right: 0; height: 3px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: .5;
}
.impact::before { top: 0; }
.impact::after { bottom: 0; }
.metrics {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius); overflow: hidden;
}
.metric {
  background: var(--navy);
  padding: clamp(1.5rem, 2.5vw, 2.2rem);
  display: flex; flex-direction: column; gap: .55rem;
}
.metric__num {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.5rem, 1.6rem + 3vw, 3.6rem);
  line-height: 1; color: var(--gold-bright); letter-spacing: -.03em;
}
.metric__label { font-size: .95rem; color: var(--paper); line-height: 1.4; max-width: 22ch; }
.metric__delta {
  margin-top: auto; font-family: var(--mono); font-size: .78rem;
  color: var(--grey-light); letter-spacing: .04em; padding-top: .4rem;
}
.metric__delta b { color: var(--paper); }
.metric__delta .arw { color: var(--gold); padding: 0 .15em; }
.impact__caption {
  margin-top: 2rem; text-align: center; color: var(--grey-light); font-size: .95rem;
}
.impact__caption b { color: var(--gold-bright); font-weight: 600; }
@media (max-width: 860px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .metrics { grid-template-columns: 1fr; } .metric__label { max-width: none; } }

/* ============================================================
   SECTION scaffolding (light)
   ============================================================ */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section:nth-of-type(even of .section) {}
.section__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head .eyebrow { margin-bottom: .9rem; }
.section__title {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  color: var(--navy-2); max-width: 20ch; position: relative; padding-bottom: 1rem;
}
.section__title::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 3px;
  background: var(--gold); transform: skewX(-24deg);
}
/* alternating warm bands */
.approach, .recognition { background: var(--paper-2); }

/* ABOUT: editorial two-column */
.about__grid, .experience__grid, .skills__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.about .section__head, .experience .section__head, .skills .section__head { margin-bottom: 0; position: sticky; top: 90px; }
.about__body { display: flex; flex-direction: column; gap: 1.3rem; color: var(--grey); }
.about__body .lead {
  font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); line-height: 1.5;
  color: var(--navy-2); font-weight: 500; letter-spacing: -.01em;
}
@media (max-width: 820px) {
  .about__grid, .experience__grid, .skills__grid { grid-template-columns: 1fr; gap: 2rem; }
  .about .section__head, .experience .section__head, .skills .section__head { position: static; }
}

/* APPROACH cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 18px 40px -24px rgba(15,40,70,.4); }
.card__kicker {
  display: block; font-family: var(--display); font-weight: 700; font-size: 1.2rem;
  color: var(--navy-2); margin-bottom: .6rem; letter-spacing: -.01em;
}
.card__body { color: var(--grey); font-size: .98rem; line-height: 1.55; }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* EXPERIENCE timeline */
.timeline { position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(to bottom, var(--gold) 0%, var(--line) 100%);
}
.tl { position: relative; padding: 0 0 2.4rem 2.4rem; }
.tl:last-child { padding-bottom: 0; }
.tl::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--paper); border: 2.5px solid var(--gold);
}
.tl__date { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; color: var(--gold-ink); text-transform: uppercase; }
.tl__role { font-size: 1.3rem; color: var(--navy-2); margin-top: .35rem; }
.tl__org { font-family: var(--mono); font-size: .9rem; color: var(--grey); margin-top: .1rem; }
.tl__desc { margin-top: .7rem; color: var(--grey); font-size: .98rem; line-height: 1.6; max-width: 62ch; }

/* RECOGNITION */
.awards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.award {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem); position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.award::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold);
  transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease);
}
.award:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(15,40,70,.4); }
.award:hover::before { transform: scaleY(1); }
.award__when { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; color: var(--gold-ink); text-transform: uppercase; }
.award__title { font-size: 1.3rem; color: var(--navy-2); margin-top: .5rem; }
.award__for { color: var(--grey); margin-top: .5rem; font-size: .96rem; line-height: 1.5; }
@media (max-width: 620px) { .awards { grid-template-columns: 1fr; } }

/* SKILLS */
.skills__groups { display: flex; flex-direction: column; gap: 1.8rem; }
.skillset { display: grid; grid-template-columns: 190px 1fr; gap: 1rem 1.5rem; align-items: baseline; }
.skillset__label {
  font-family: var(--mono); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy-2); padding-top: .35rem;
}
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li {
  font-size: .9rem; color: var(--navy-2);
  background: var(--paper-2); border: 1px solid var(--line);
  padding: .4rem .85rem; border-radius: 999px; transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.chips li:hover { border-color: var(--gold); background: #fff; }
.approach .card, .recognition .award { background: var(--paper); }
@media (max-width: 620px) {
  .skillset { grid-template-columns: 1fr; gap: .5rem; }
  .skillset__label { padding-top: 0; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--navy); color: var(--paper);
  padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; overflow: hidden;
}
.contact::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, rgba(214,162,78,.16), transparent 60%);
  pointer-events: none;
}
.contact__inner { position: relative; max-width: 60ch; }
.contact .eyebrow { color: var(--gold-bright); margin-bottom: 1rem; }
.contact__title { font-size: clamp(3rem, 2rem + 5vw, 6rem); letter-spacing: -.04em; }
.contact__copy { color: var(--grey-light); font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); margin-top: 1.3rem; line-height: 1.6; max-width: 48ch; }
.contact__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.4rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-2); color: var(--grey-light); padding: 2rem 0; }
.footer__inner { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; font-size: .88rem; }
.footer__mark { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--display); font-weight: 700; color: var(--paper); }
.footer__mark svg { color: var(--gold); }
.footer__meta { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; }
.footer__links { margin-left: auto; display: flex; gap: 1.2rem; }
.footer__links a { color: var(--grey-light); transition: color .2s var(--ease); }
.footer__links a:hover { color: var(--gold-bright); }

/* ============================================================
   REVEAL animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__line { stroke-dashoffset: 0; }
  .hero__area, .hero__dot { opacity: 1; }
}
