/* =========================================================
   AKANKSHA GAVADE — PORTFOLIO
   Clean academic personal-site look: warm paper background,
   navy serif type, plain text, minimal ornament, one soft
   callout color. No cards, no shadows, no dark mode.
   ========================================================= */

:root{
  --bg:      #F7F4EC;   /* warm paper background        */
  --navy:    #1F3A5F;   /* headings, name, link color    */
  --navy-2:  #35618F;   /* link hover                    */
  --ink:     #26313D;   /* body text                     */
  --muted:   #5B6675;   /* secondary text                */
  --line:    rgba(31,58,95,0.14);
  --callout: #E5EAF3;   /* soft blue note box             */

  --font: "Source Serif 4", Georgia, "Iowan Old Style", serif;
  --font-display: "Fraunces", "Source Serif 4", Georgia, serif;

  --maxw: 900px;
}

.float-photo{
  float: right;
  width: 280px;
  max-width: 45%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border: 1px solid var(--line);
  margin: 4px 0 20px 30px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img{ max-width:100%; display:block; }
a{ color: var(--navy); text-underline-offset: 3px; }
a:hover{ color: var(--navy-2); }
a:focus-visible{ outline: 2px solid var(--navy-2); outline-offset: 3px; }

.wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

p{ margin: 0 0 20px; }
p:last-child{ margin-bottom:0; }

/* ---------- Sidebar layout ---------- */
.layout{
  display:flex;
  align-items:flex-start;
  max-width: 1280px;
  margin: 0 auto;
}
.sidebar{
  flex: 0 0 230px;
  padding: 54px 26px 40px 28px;
  position: sticky;
  top: 0;
  align-self: flex-start;
}
.site-name{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.7rem;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 6px;
}
.site-tagline{
  color: var(--muted);
  font-size: .92rem;
  margin: 0 0 28px;
}
nav.primary ul{
  list-style:none; margin: 0 0 30px; padding:0;
  border-top: 1px solid var(--line);
}
nav.primary li{ border-bottom: 1px solid var(--line); }
nav.primary a{
  display:block;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.02rem;
  padding: 11px 0;
}
nav.primary a:hover{ color: var(--navy); }
nav.primary a.active{
  color: var(--navy);
  font-weight: 600;
  border-left: 3px solid var(--navy);
  padding-left: 10px;
  margin-left: -13px;
}
.sidebar-contact{
  font-size: .88rem;
  color: var(--muted);
  display:flex; flex-direction:column; gap: 6px;
}
.sidebar-contact a{ color: var(--muted); }
.sidebar-contact a:hover{ color: var(--navy); }

.content{ flex: 1; min-width: 0; border-left: 1px solid var(--line); }
.content .wrap{ max-width: 860px; margin: 0; padding: 0 40px; }

/* ---------- Hero ---------- */
.hero{
  padding-top: 44px;
}
.hero::after{ content:""; display:block; clear:both; }
.hero h1{
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
  margin: 0 0 22px;
}
.float-photo{
  float: right;
  width: 280px;
  max-width: 45%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border: 1px solid var(--line);
  margin: 4px 0 20px 30px;
}

/* ---------- Sections ---------- */
main{ padding-bottom: 60px; }
section{ margin-top: 56px; }
h2.section-title{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  color: var(--navy);
  margin: 0 0 20px;
}
.section-intro{ color: var(--muted); max-width: 640px; }

/* ---------- Callout box (pinned-note treatment) ---------- */
.callout{
  background: var(--callout);
  padding: 24px 28px;
  margin: 34px 4px 34px 0;
  font-size: 1rem;
  position: relative;
  transform: rotate(-0.5deg);
  box-shadow: 4px 5px 0 rgba(31,58,95,0.10);
}
.callout::before{
  content:"";
  position:absolute; top:-9px; left:36px;
  width:14px; height:14px; border-radius:50%;
  background: var(--navy);
  box-shadow: 0 2px 3px rgba(0,0,0,0.25);
}
.callout p{ margin:0; }

/* ---------- Simple stat row ---------- */
.stat-row{
  display:flex; flex-wrap:wrap; gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.stat{
  flex: 1 1 160px;
  padding: 0 22px;
  border-left: 1px solid var(--line);
}
.stat:first-child{ border-left:none; padding-left:0; }
.stat b{
  display:block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--navy);
  font-weight: 600;
}
.stat span{ color: var(--muted); font-size: .92rem; }

/* ---------- Card grid (TOC / index) ---------- */
.card-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.card{
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  padding: 22px 22px 20px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover{
  transform: translateY(-3px);
  box-shadow: 4px 6px 0 var(--callout);
}
.card h3{
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: var(--navy);
}
.card h3 a{ text-decoration:none; }
.card h3 a:hover{ text-decoration: underline; }
.card p{ margin:0; color: var(--muted); font-size: .96rem; }
@media (max-width: 620px){
  .card-grid{ grid-template-columns: 1fr; }
}

/* ---------- Plain link list (still used where noted) ---------- */
ul.link-list{ list-style:none; margin:0; padding:0; }
ul.link-list li{
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
ul.link-list li:last-child{ padding-bottom: 0; }
ul.link-list h3{
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 6px;
  color: var(--navy);
}
ul.link-list h3 a{ text-decoration:none; }
ul.link-list h3 a:hover{ text-decoration: underline; }
ul.link-list p{ margin:0; color: var(--muted); font-size: .98rem; }

/* generic bullet list (e.g. "Non-academic writing" style) */
ul.plain{ padding-left: 22px; margin: 0; }
ul.plain li{ margin-bottom: 10px; }

/* ---------- Status / tag text (plain, no chips) ---------- */
.status-line{
  font-size: .92rem;
  color: var(--muted);
  margin: 2px 0 14px;
}
.status-line b{ color: var(--navy); }

/* ---------- Full entries (research / project detail) ---------- */
.entry{
  border-top: 1px solid var(--line);
  padding-top: 34px;
  margin-top: 34px;
  scroll-margin-top: 40px;
}
.entry:first-of-type{ border-top:none; margin-top: 18px; }
.entry h3{
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.35rem;
  margin: 0 0 4px;
}
.entry .venue{ color: var(--muted); font-size: .95rem; margin-bottom: 10px; }
.entry .abstract-label{
  font-weight: 600; color: var(--navy); font-size: .92rem; margin: 0 0 4px;
}
.entry-links{ margin-top: 14px; display:flex; gap: 22px; flex-wrap: wrap; font-size: .96rem; }

/* editable note — quiet, not loud */
.editnote{
  margin-top: 14px;
  border-left: 3px solid var(--callout);
  background: rgba(229,234,243,0.5);
  padding: 10px 16px;
  font-size: .9rem;
  color: var(--muted);
  font-style: italic;
}

/* ---------- Timeline (experience) ---------- */
.tl-item{
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.tl-item:first-child{ border-top:none; padding-top: 6px; }
.tl-item .when{ color: var(--muted); font-size: .92rem; margin-bottom: 2px; }
.tl-item h3{ font-family: var(--font-display); color: var(--navy); margin: 0 0 2px; font-size: 1.2rem; }
.tl-item .org{ font-style: italic; color: var(--muted); margin-bottom: 12px; }
.tl-item ul{ margin: 0; padding-left: 20px; }
.tl-item li{ margin-bottom: 6px; }

/* ---------- Footer ---------- */
footer{
  border-top: 1px solid var(--line);
  padding: 30px 0 50px;
  margin-top: 40px;
  color: var(--muted);
  font-size: .95rem;
}
footer .wrap{ display:flex; justify-content:space-between; flex-wrap:wrap; gap: 10px 24px; }
footer a{ color: var(--navy); }

/* ---------- Utility ---------- */
.skills-list{ margin: 0; padding: 0; list-style: none; }
.skills-list li{ display:inline; }
.skills-list li:not(:last-child)::after{ content: " · "; color: var(--muted); }

/* ---------- UX case-study labels ---------- */
.case-label{
  display:inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 2px solid var(--callout);
  margin: 22px 0 10px;
  padding-bottom: 2px;
}
.journey-map{ margin: 18px 0 22px; }

@media (max-width: 860px){
  .layout{ flex-direction: column; }
  .sidebar{
    position: static;
    flex: none;
    width: 100%;
    padding: 32px 28px 20px;
    display:flex; flex-direction:column;
  }
  nav.primary ul{ display:flex; flex-wrap:wrap; border-top:none; margin-bottom: 14px; }
  nav.primary li{ border-bottom:none; }
  nav.primary a{ padding: 6px 14px 6px 0; }
  nav.primary a.active{ border-left:none; margin-left:0; padding-left:0; border-bottom: 2px solid var(--navy); }
  .content{ border-left:none; border-top: 1px solid var(--line); }
  .content .wrap{ padding: 0 28px; }
  .hero h1{ clear: both; }
  .float-photo{ float:none; width:100%; max-width: 280px; margin: 0 0 20px; }
  .stat-row{ flex-direction: column; }
  .stat{ border-left:none; border-top: 1px solid var(--line); padding: 14px 0; }
  .stat:first-child{ border-top:none; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
}

.reveal{ opacity:1; }
