/* ===========================================================================
   mino·yakking — watercolor
   Wet blue-grey paper, drifting pigment washes, minnows that bleed together
   when they talk. Newsreader (light, italic) + Hanken Grotesk.
   =========================================================================== */

:root {
  --paper:    #edf1ee;   /* cool wet paper */
  --paper-2:  #e5ece8;
  --ink:      #1b2a28;   /* pigment-dark text */
  --ink-soft: #4a5a56;
  --indigo:   #2f4a6b;
  --teal:     #3c7d72;
  --coral:    #d97b50;   /* the one warm koi accent */
  --plum:     #6a4a72;
  --maxw: 660px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- canvas + paper grain ------------------------------------------------ */
#pond { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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");
}
main { position: relative; z-index: 2; }

/* ---- hero ---------------------------------------------------------------- */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 6rem clamp(1.4rem, 6vw, 3rem);
}
.mark {
  font-family: "Hanken Grotesk", sans-serif;
  font-weight: 500; font-size: 0.92rem; letter-spacing: 0.14em;
  color: var(--ink-soft); margin-bottom: clamp(2rem, 6vh, 3.5rem);
}
.mark .dot { color: var(--coral); }

.headline {
  font-family: "Newsreader", serif;
  font-weight: 300;
  font-size: clamp(3rem, 11vw, 7.5rem);
  line-height: 0.98; letter-spacing: -0.03em;
  color: var(--ink);
}
.headline em {
  font-style: italic; font-weight: 300;
  color: var(--coral);
}
.lede {
  margin-top: clamp(1.8rem, 5vh, 2.6rem);
  max-width: 34ch;
  font-family: "Newsreader", serif; font-style: italic; font-weight: 300;
  font-size: clamp(1.1rem, 2.8vw, 1.55rem);
  line-height: 1.5; color: var(--ink-soft);
}

/* ---- thesis -------------------------------------------------------------- */
.thesis {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(4rem, 14vh, 9rem) clamp(1.4rem, 6vw, 2rem) clamp(6rem, 18vh, 11rem);
}
.thesis h2 {
  font-family: "Newsreader", serif; font-weight: 300;
  font-size: clamp(1.9rem, 5.5vw, 3.2rem);
  line-height: 1.08; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: clamp(1.4rem, 4vh, 2.2rem);
}
.thesis h2 em { font-style: italic; color: var(--coral); }
.thesis p {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  line-height: 1.7; color: var(--ink-soft);
  max-width: 56ch; margin-bottom: 1.3rem;
}

/* ---- reveal -------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
