/* ==========================================================================
   nidhisridhar.com — a whimsical watercolor garden
   Type: Fraunces (display) · Plus Jakarta Sans (body) · Caveat (hand accents)
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* paper + ink (warm, soft) */
  --white:   #FFFDF8;   /* warm card white */
  --bg:      #F6F2E8;   /* warm watercolor paper */
  --ink:     #3A3430;
  --ink-mid: #6E655C;
  --ink-soft:#A89E90;
  --divider: #E6DFD1;

  /* muted watercolor accents  (wash / deeper ink) */
  --rose:    #F6DBE0; --rose-dk: #BE5E72;
  --lilac:   #E7DEF3; --lilac-dk:#7A66AC;
  --sage:    #DEEAD3; --sage-dk: #5C7F53;
  --sky:     #D9E7EF; --sky-dk:  #4E7C97;
  --butter:  #F5EAC6; --butter-dk:#AC8639;
  --peach:   #F6E0CA; --peach-dk:#C07A4E;

  --shadow-xs: 0 1px 3px rgba(80,60,40,0.05), 0 1px 2px rgba(80,60,40,0.04);
  --shadow-sm: 0 6px 22px rgba(90,70,45,0.08);
  --shadow-md: 0 12px 40px rgba(90,70,45,0.10);
  --r-sm: 12px; --r: 20px; --r-lg: 28px;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font:  'Plus Jakarta Sans', system-ui, sans-serif;
  --hand:  'Caveat', 'Segoe Script', cursive;
  --mono:  'DM Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--font);
  -webkit-font-smoothing: antialiased; position: relative;
}
/* faint paper grain over everything */
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* creeper vines climbing the left & right edges */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: 0.6;
  background:
    url('creeper.svg') left top / auto 100% no-repeat,
    url('creeper-right.svg') right top / auto 100% no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
          mask-image: linear-gradient(to bottom, #000 78%, transparent 99%);
}
@media (max-width: 960px) { body::before { display: none; } }

/* Headings — storybook serif */
h1, h2, h3, .note-title, .card-title, .project-title, .eyebrow h2, .contact-box h2 {
  font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em;
  font-optical-sizing: auto;
}

/* NAV */
nav {
  position: fixed; top: 1.1rem; left: 50%; transform: translateX(-50%);
  z-index: 99; width: min(560px, calc(100% - 2rem));
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 0.7rem 0.6rem 1.35rem;
  background: rgba(255,253,248,0.82); backdrop-filter: blur(14px);
  border: 1px solid var(--divider); border-radius: 100px;
  box-shadow: var(--shadow-xs);
}
.nav-logo { display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--serif); font-weight: 600; font-size: 1rem; color: var(--ink); text-decoration: none; }
.logo-mark { width: 22px; height: 22px; flex-shrink: 0; }
.nav-links { display: flex; gap: 0.15rem; list-style: none; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500; color: var(--ink-mid); text-decoration: none;
  padding: 0.45rem 1rem; border-radius: 100px; transition: background 0.18s, color 0.18s;
}
.nav-links a:hover { background: var(--sage); color: var(--sage-dk); }
.nav-links a.active { color: var(--sage-dk); }
.nav-cta { background: var(--ink); color: var(--white) !important; }
.nav-cta:hover { background: var(--sage-dk) !important; color: var(--white) !important; }

/* SHARED */
.container { max-width: 1080px; margin: 0 auto; padding: 0 5vw; }
section { padding: 5.5rem 0; }

.pill {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-family: var(--hand); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 0.3rem 0.85rem; border-radius: 100px;
}
.pill-rose   { background: var(--rose);   color: var(--rose-dk); }
.pill-lilac  { background: var(--lilac);  color: var(--lilac-dk); }
.pill-sage   { background: var(--sage);   color: var(--sage-dk); }
.pill-sky    { background: var(--sky);    color: var(--sky-dk); }
.pill-butter { background: var(--butter); color: var(--butter-dk); }
.pill-peach  { background: var(--peach);  color: var(--peach-dk); }
.pill-seedling  { background: var(--butter); color: var(--butter-dk); }
.pill-budding   { background: var(--sage);   color: var(--sage-dk); }
.pill-evergreen { background: var(--lilac);  color: var(--lilac-dk); }

.eyebrow { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.eyebrow h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 600; }

/* HERO */
#home { padding: 9.5rem 0 0; text-align: center; position: relative; overflow: hidden; }
#home .container { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; }
/* soft watercolor wash behind the name */
#home::before {
  content: ''; position: absolute; z-index: 0; top: 14%; left: 50%; transform: translateX(-50%);
  width: min(720px, 92%); height: 360px; pointer-events: none; filter: blur(22px); opacity: 0.85;
  background:
    radial-gradient(42% 55% at 28% 42%, rgba(122,102,172,0.22), transparent 70%),
    radial-gradient(46% 55% at 72% 44%, rgba(190,94,114,0.20), transparent 70%),
    radial-gradient(42% 52% at 52% 72%, rgba(172,134,57,0.18), transparent 70%);
}

.hero-badge { margin-bottom: 1.75rem; opacity:0; animation: fadeUp 0.5s 0.05s ease forwards; }

h1 {
  font-size: clamp(3rem, 7vw, 6rem); font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.0; color: var(--ink);
  margin-bottom: 1.4rem; opacity:0; animation: fadeUp 0.55s 0.2s ease forwards;
}
.grad { background: linear-gradient(115deg, #8B76C0 0%, #C97389 52%, #C99A54 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-style: italic; }

/* Hero heading in flowing script */
#home h1 { font-family: 'Great Vibes', cursive; font-weight: 400; font-size: clamp(3.2rem, 8vw, 6.5rem); line-height: 1.45; letter-spacing: 0.01em; padding-top: 0.14em; }
#home h1 .grad { display: inline-block; padding: 0.08em 0.08em 0.12em; }
#home h1 .grad { font-style: normal; }

.hero-p {
  font-size: 1.1rem; font-weight: 400; color: var(--ink-mid);
  line-height: 1.8; max-width: 540px; margin-bottom: 2.25rem;
  opacity:0; animation: fadeUp 0.55s 0.35s ease forwards;
}
.hero-p strong { color: var(--ink); font-weight: 600; }

.hero-btns {
  display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 3.25rem; opacity:0; animation: fadeUp 0.55s 0.5s ease forwards;
}
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.75rem 1.7rem; border-radius: 100px;
  font-weight: 600; font-size: 0.9rem; text-decoration: none;
  transition: all 0.18s; border: none; cursor: pointer;
}
.btn-dark  { background: var(--ink); color: var(--white); box-shadow: 0 3px 10px rgba(58,52,48,0.18); }
.btn-dark:hover  { background: var(--sage-dk); transform: translateY(-1px); }
.btn-light { background: var(--white); color: var(--ink); border: 1.5px solid var(--divider); }
.btn-light:hover { border-color: #C9B8E0; color: var(--lilac-dk); transform: translateY(-1px); }

.hero-chips { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; opacity:0; animation: fadeUp 0.55s 0.65s ease forwards; }
.chip {
  display: flex; align-items: center; gap: 0.55rem;
  background: var(--white); border: 1px solid var(--divider);
  border-radius: 100px; padding: 0.55rem 1.1rem 0.55rem 0.7rem; box-shadow: var(--shadow-xs);
}
.chip-ico { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }
.chip strong { font-size: 0.82rem; font-weight: 700; color: var(--ink); display: block; }
.chip span   { font-size: 0.72rem; color: var(--ink-soft); }

/* floating botanical doodles */
.doodle { position: absolute; z-index: 1; pointer-events: none; transform-origin: bottom center; animation: sway 7s ease-in-out infinite; }
.doodle-1 { top: 20%; left: 5%;  width: 66px; animation-delay: 0s; }
.doodle-2 { top: 26%; right: 5%; width: 82px; animation-delay: 1.4s; }
.doodle-3 { bottom: 30%; left: 11%; width: 52px; animation-delay: 0.7s; opacity: 0.9; }

/* Polaroid — your own tulip-field photo, taped into the page */
.polaroid {
  position: relative; z-index: 2; background: #fff;
  padding: 0.85rem 0.85rem 0; border-radius: 4px;
  box-shadow: var(--shadow-md); transform: rotate(-2.5deg);
  width: min(300px, 78%); margin: 2.75rem auto 0;
  transition: transform 0.35s ease; cursor: default;
  opacity: 0; animation: fadeUp 0.6s 0.7s ease forwards;
}
.polaroid:hover { transform: rotate(0deg) scale(1.025); }
.polaroid img { display: block; width: 100%; border-radius: 2px; }
.polaroid-cap { font-family: var(--hand); font-size: 1.35rem; color: var(--ink-mid); text-align: center; padding: 0.5rem 0 0.9rem; }
.tape {
  position: absolute; top: -13px; left: 50%; width: 118px; height: 30px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(201,184,224,0.5); border: 1px dashed rgba(122,102,172,0.4);
  border-radius: 2px;
}

/* ABOUT */
#about { background: var(--white); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.about-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: start; }
.about-body p { font-size: 1.02rem; color: var(--ink-mid); line-height: 1.85; margin-bottom: 1rem; }
.about-body p:last-child { margin-bottom: 0; }
.about-body strong { color: var(--ink); font-weight: 600; }
.about-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.tile { padding: 1.15rem 1.25rem; border-radius: var(--r); display: flex; flex-direction: column; gap: 0.3rem; }
.tile-lbl { font-family: var(--hand); font-size: 0.9rem; color: var(--ink-soft); letter-spacing: 0.02em; }
.tile-val { font-weight: 700; font-size: 0.88rem; color: var(--ink); }

/* About — compact experience + education */
.about-side { display: flex; flex-direction: column; gap: 1.5rem; }
.cv-block { background: var(--bg); border: 1px solid var(--divider); border-radius: var(--r); padding: 1.3rem 1.5rem; }
.cv-h { font-family: var(--hand); font-size: 1.35rem; color: var(--ink-soft); margin-bottom: 0.6rem; }
.cv-item { padding: 0.65rem 0; border-top: 1px solid var(--divider); }
.cv-item:first-of-type { border-top: none; }
.cv-row { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.cv-name { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.cv-date { font-family: var(--mono); font-size: 0.66rem; color: var(--ink-soft); white-space: nowrap; }
.cv-role { font-size: 0.82rem; color: var(--ink-mid); }

/* CARDS (generic) */
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.card {
  display: flex; flex-direction: column; gap: 0.55rem;
  background: var(--white); border: 1px solid var(--divider);
  border-radius: var(--r); padding: 1.6rem; box-shadow: var(--shadow-xs);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.card-title { font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.card-desc  { font-size: 0.88rem; color: var(--ink-mid); line-height: 1.65; }

/* WORK / PROJECTS (kept for a future page) */
.projects-list { display: flex; flex-direction: column; gap: 1rem; }
.project-card { background: var(--white); border: 1px solid var(--divider); border-radius: var(--r); box-shadow: var(--shadow-xs); overflow: hidden; transition: box-shadow 0.2s; }
.project-card:hover { box-shadow: var(--shadow-sm); }
.project-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; padding: 1.75rem 1.75rem 0; cursor: pointer; }
.project-header-left { display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.project-meta { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.project-year { font-family: var(--hand); font-size: 0.92rem; color: var(--ink-soft); }
.project-title { font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.project-hook  { font-size: 0.9rem; color: var(--ink-mid); line-height: 1.6; padding-bottom: 1.75rem; }
.project-toggle { width: 30px; height: 30px; border-radius: 50%; background: var(--bg); border: 1px solid var(--divider); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; color: var(--ink-soft); cursor: pointer; flex-shrink: 0; margin-top: 0.25rem; transition: background 0.18s, transform 0.25s; user-select: none; }
.project-card.open .project-toggle { transform: rotate(180deg); background: var(--sage); color: var(--sage-dk); }
.project-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, opacity 0.3s ease; opacity: 0; }
.project-card.open .project-body { max-height: 1200px; opacity: 1; }
.project-body-inner { border-top: 1px solid var(--divider); padding: 1.5rem 1.75rem 1.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
.pb-stack { grid-column: span 2; }
.stack-wrap { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.proj-stats { display: flex; border: 1px solid var(--divider); border-radius: var(--r-sm); overflow: hidden; }
.proj-stat { flex: 1; padding: 0.9rem 1.1rem; border-right: 1px solid var(--divider); }
.proj-stat:last-child { border-right: none; }
.stat-n { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink); margin-bottom: 0.15rem; }
.stat-l { display: block; font-size: 0.7rem; color: var(--ink-soft); line-height: 1.35; }
.stack-tag { font-family: var(--mono); font-size: 0.65rem; background: var(--bg); border: 1px solid var(--divider); color: var(--ink-mid); padding: 0.18rem 0.55rem; border-radius: 100px; }
.wip-banner { display: flex; align-items: flex-start; gap: 0.75rem; background: var(--butter); border: 1px dashed var(--butter-dk); border-radius: var(--r); padding: 1rem 1.25rem; margin-bottom: 2.5rem; }
.wip-banner .wip-ico { font-size: 1.1rem; line-height: 1.4; }
.wip-banner p { font-size: 0.86rem; color: #7A5B1E; line-height: 1.6; }
.wip-banner strong { color: #5E4416; }
#resume { background: var(--white); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.resume-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.resume-block h3 { font-family: var(--hand); font-size: 1.25rem; letter-spacing: 0; color: var(--ink-soft); padding-bottom: 0.6rem; border-bottom: 1px solid var(--divider); }
.resume-row-item { padding: 1.4rem 0; border-bottom: 1px solid var(--divider); }
.resume-row-item:last-of-type { border-bottom: none; }
.rri-top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.2rem; }
.rri-name { font-weight: 700; font-size: 0.95rem; }
.rri-date { font-family: var(--mono); font-size: 0.67rem; color: var(--ink-soft); white-space: nowrap; }
.rri-role { font-size: 0.82rem; font-weight: 500; margin-bottom: 0.45rem; }
.rri-desc { font-size: 0.85rem; color: var(--ink-mid); line-height: 1.6; }
.skills-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 1.5rem; }
.sk { font-size: 0.78rem; font-weight: 500; padding: 0.3rem 0.85rem; border-radius: 100px; }
.resume-dl { margin-top: 2.25rem; }

/* CONTACT */
.contact-box { background: var(--white); border: 1px solid var(--divider); border-radius: var(--r-lg); padding: 3.5rem; box-shadow: var(--shadow-sm); display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.contact-box h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 600; margin-bottom: 0.85rem; }
.contact-box p  { font-size: 0.96rem; color: var(--ink-mid); line-height: 1.8; margin-bottom: 1.75rem; }
.clinks { display: flex; flex-direction: column; gap: 0.6rem; }
.clink { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 1.1rem; background: var(--bg); border: 1px solid var(--divider); border-radius: var(--r-sm); text-decoration: none; color: var(--ink); transition: all 0.18s; }
.clink:hover { border-color: #C9B8E0; background: var(--lilac); }
.clink-l { display: flex; align-items: center; gap: 0.7rem; }
.clink-ico { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; }
.clink-name   { font-weight: 600; font-size: 0.86rem; }
.clink-handle { font-family: var(--mono); font-size: 0.68rem; color: var(--ink-soft); }
.clink-arr    { font-size: 0.85rem; color: var(--ink-soft); transition: transform 0.18s; }
.clink:hover .clink-arr { transform: translateX(3px); color: var(--lilac-dk); }

/* ==========================================================================
   THE GARDEN (writing.html)
   ========================================================================== */
.garden-intro { max-width: 640px; }
.garden-intro p { font-size: 1.05rem; color: var(--ink-mid); line-height: 1.85; margin-bottom: 1rem; }
.garden-intro strong { color: var(--ink); font-weight: 600; }
.legend { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 2rem 0 0.5rem; }
.legend-item { display: flex; align-items: center; gap: 0.5rem; }
.legend-item span { font-size: 0.82rem; color: var(--ink-mid); }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2.5rem 0 2rem; }
.filter-btn { font-family: var(--hand); font-size: 1rem; padding: 0.35rem 1rem; border-radius: 100px; cursor: pointer; background: var(--white); border: 1px solid var(--divider); color: var(--ink-mid); transition: all 0.16s; }
.filter-btn:hover { border-color: #B7D0AE; color: var(--sage-dk); }
.filter-btn.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.note-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.note-card { display: flex; flex-direction: column; gap: 0.7rem; background: var(--white); border: 1px solid var(--divider); border-radius: var(--r); padding: 1.5rem 1.5rem 1.6rem; box-shadow: var(--shadow-xs); text-decoration: none; color: inherit; transition: box-shadow 0.22s, transform 0.22s; }
.note-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px) rotate(-0.6deg); }
.note-card.seed { opacity: 0.85; }
.note-meta { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
.note-title { font-size: 1.3rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.note-hook { font-size: 0.88rem; color: var(--ink-mid); line-height: 1.6; flex: 1; }
.note-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 0.25rem; }
.note-tended { font-family: var(--hand); font-size: 0.95rem; color: var(--ink-soft); }
.note-arrow { font-size: 0.85rem; color: var(--ink-soft); transition: transform 0.18s; }
.note-card:hover .note-arrow { transform: translateX(3px); color: var(--sage-dk); }
.note-card.seed .note-arrow { display: none; }

/* ==========================================================================
   ARTICLE / READING VIEW
   ========================================================================== */
.article { max-width: 700px; margin: 0 auto; padding: 8.5rem 6vw 4rem; }
.article-back { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--hand); font-size: 1.05rem; color: var(--ink-soft); text-decoration: none; margin-bottom: 2rem; transition: color 0.16s; }
.article-back:hover { color: var(--sage-dk); }
.article-header { margin-bottom: 2.5rem; }
.article-header h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); text-align: left; margin: 1rem 0 1.25rem; animation: none; opacity: 1; line-height: 1.05; }
.article-meta { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.epistemic { background: var(--bg); border: 1px solid var(--divider); border-left: 3px solid #C9B8E0; border-radius: var(--r-sm); padding: 0.9rem 1.1rem; margin: 1.75rem 0; }
.epistemic p { font-size: 0.85rem; color: var(--ink-mid); line-height: 1.65; margin: 0; }
.epistemic strong { color: var(--ink); font-family: var(--hand); font-size: 1rem; letter-spacing: 0; }
.prose p { font-size: 1.12rem; color: var(--ink-mid); line-height: 1.9; margin-bottom: 1.4rem; }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose h2 { font-size: 1.75rem; font-weight: 600; color: var(--ink); margin: 2.75rem 0 1rem; }
.prose h3 { font-size: 1.3rem; font-weight: 600; color: var(--ink); margin: 2rem 0 0.75rem; }
.prose ul, .prose ol { margin: 0 0 1.4rem 1.3rem; }
.prose li { font-size: 1.08rem; color: var(--ink-mid); line-height: 1.85; margin-bottom: 0.5rem; }
.prose img { max-width: 100%; border-radius: var(--r-sm); margin: 1.5rem 0; }
.prose hr { border: none; border-top: 1px solid var(--divider); margin: 2.5rem 0; }
.prose blockquote { border-left: 3px solid #C9B8E0; padding: 0.4rem 0 0.4rem 1.4rem; margin: 1.75rem 0; font-family: var(--serif); font-size: 1.35rem; font-style: italic; color: var(--ink); line-height: 1.6; }
.prose a { color: var(--sage-dk); text-decoration: underline; text-underline-offset: 2px; }
.go-deeper { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--divider); }
.go-deeper h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }
.go-deeper > p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1.25rem; line-height: 1.6; }
.ref-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.ref-list li { font-size: 0.92rem; color: var(--ink-mid); line-height: 1.6; padding-left: 1.25rem; position: relative; }
.ref-list li::before { content: '—'; position: absolute; left: 0; color: var(--ink-soft); top: 0; }
.ref-list strong { color: var(--ink); font-weight: 600; }
.ref-list a { color: var(--sage-dk); text-decoration: underline; text-underline-offset: 2px; }

/* Reply / come-say-hi block at the end of a post */
.reply { max-width: 700px; margin: 0 auto; padding: 0 6vw 4.5rem; }
.reply-box { background: var(--white); border: 1px solid var(--divider); border-radius: var(--r); padding: 2rem 2.25rem; text-align: center; box-shadow: var(--shadow-xs); }
.reply-box h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; }
.reply-box p { color: var(--ink-mid); line-height: 1.75; font-size: 0.95rem; margin: 0 auto 1.35rem; max-width: 460px; }
.reply-btns { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }

/* FOOTER — a soft floral strip rising above it */
footer { position: relative; padding: 6rem 5vw 2.25rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 150px; background: url('tulips.jpg') center 82% / cover no-repeat; -webkit-mask-image: linear-gradient(to top, #000, transparent); mask-image: linear-gradient(to top, #000, transparent); opacity: 0.38; pointer-events: none; }
footer span, footer a { font-family: var(--hand); font-size: 1rem; color: var(--ink-soft); text-decoration: none; }
footer a:hover { color: var(--sage-dk); }

/* REVEAL + motion */
.reveal { opacity:0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity:1; transform: none; }
.d1 { transition-delay: 0.07s; } .d2 { transition-delay: 0.14s; } .d3 { transition-delay: 0.21s; }
@keyframes fadeUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:none; } }
@keyframes sway { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .doodle { animation: none; } }

/* RESPONSIVE */
@media (max-width: 740px) {
  .about-layout, .resume-cols, .contact-box, .cards-2 { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-box { padding: 2rem; }
  .project-body-inner { grid-template-columns: 1fr; }
  .pb-stack { grid-column: span 1; }
  .nav-links a { padding: 0.45rem 0.8rem; }
  .doodle { display: none; }
  h1 { font-size: 2.8rem; }
}
