/* ==========================================================
   Gabriella Bonanno — personal site
   ========================================================== */
:root {
  --paper: #FBF6EE;
  --paper-2: #F4EADB;
  --card: #FFFDF8;
  --ink: #2B2420;
  --ink-soft: #62564D;
  --fern: #2F4A3A;
  --fern-2: #4D6E57;
  --maroon: #7A003C;
  --maroon-soft: #A8456F;
  --gold: #D9A441;
  --blush: #F2C6C2;
  --sky: #CFE6EE;
  --pond-top: #D7EEF0;
  --pond-bot: #A9D3D6;

  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Nunito", system-ui, sans-serif;
  --f-hand: "Caveat", "Comic Sans MS", cursive;

  --radius: 22px;
  --shadow: 0 1px 0 rgba(43,36,32,.06), 0 14px 34px -14px rgba(74,48,30,.28);
  --ease-out: cubic-bezier(.2,.8,.2,1);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  -webkit-tap-highlight-color: transparent;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--blush); color: var(--ink); }

/* paper grain */
.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .32; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .38  0 0 0 0 .3  0 0 0 .22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.05; margin: 0; font-variation-settings: "SOFT" 100, "opsz" 96; letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); }
h3 { font-size: 1.35rem; font-variation-settings: "SOFT" 100, "opsz" 30; }
em { font-style: italic; }

.hand { font-family: var(--f-hand); font-weight: 600; }
.eyebrow { font-size: 1.6rem; color: var(--maroon-soft); margin: 0 0 .2rem; transform: rotate(-2deg); display: inline-block; }
.lede { font-size: 1.1rem; color: var(--ink-soft); max-width: 640px; margin: 1rem 0 0; }

/* hand-drawn underline */
.scribble { position: relative; white-space: nowrap; color: var(--maroon); }
.scribble::after {
  content: ""; position: absolute; left: -4%; right: -4%; bottom: -.12em; height: .32em;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 24' preserveAspectRatio='none'><path d='M4 16C60 6 120 4 180 8s90 6 114 2M20 20c70-8 160-10 270-6' fill='none' stroke='%23D9A441' stroke-width='5' stroke-linecap='round'/></svg>") no-repeat center / 100% 100%;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.1s var(--ease-out) .35s;
}
.in .scribble::after, .scribble.in::after { clip-path: inset(0 0 0 0); }

/* buttons */
.btn {
  --bg: var(--card);
  display: inline-flex; align-items: center; gap: .45em;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--bg); color: var(--ink); font: 700 1rem/1 var(--f-body);
  text-decoration: none; cursor: pointer;
  box-shadow: 3px 4px 0 var(--ink);
  transition: transform .25s var(--ease-bounce), box-shadow .25s var(--ease-out), background .2s;
}
.btn:hover { transform: translate(-2px, -3px) rotate(-1deg); box-shadow: 5px 7px 0 var(--ink); }
.btn:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn:focus-visible { outline: 3px dashed var(--maroon-soft); outline-offset: 4px; }
.btn-primary { --bg: var(--maroon); color: #fff; }
.btn-ghost { --bg: var(--card); }

/* ---------------- NAV ---------------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1120px, 100% - 24px);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .55rem .6rem .55rem 1.2rem; border-radius: 999px;
  background: rgba(255, 253, 248, .78); backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border: 1.5px solid rgba(43,36,32,.12);
  box-shadow: 0 10px 30px -18px rgba(74,48,30,.4);
  transition: transform .45s var(--ease-out);
}
.nav.hide { transform: translate(-50%, -140%); }
.nav-logo { font: 700 1.9rem/1 var(--f-hand); text-decoration: none; color: var(--maroon); }
.nav-logo span { color: var(--gold); display: inline-block; margin-left: 2px; transition: transform .6s var(--ease-bounce); }
.nav-logo:hover span { transform: rotate(180deg) scale(1.2); }
.nav-links { display: flex; gap: .3rem; }
.nav-links a {
  text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--ink-soft);
  padding: .45em .9em; border-radius: 999px; transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active { background: var(--paper-2); color: var(--ink); }
.nav-cta {
  text-decoration: none; font-weight: 800; font-size: .95rem; padding: .6em 1.1em; border-radius: 999px;
  background: var(--ink); color: var(--paper); transition: transform .25s var(--ease-bounce), background .2s;
}
.nav-cta:hover { transform: rotate(-3deg) scale(1.05); background: var(--maroon); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------------- HERO ---------------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  padding: 110px 0 80px; overflow: hidden;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(242,198,194,.55), transparent 70%),
    radial-gradient(50% 50% at 10% 80%, rgba(207,230,238,.6), transparent 70%),
    var(--paper);
}
.hero-inner {
  width: min(1120px, 100% - 32px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
  position: relative; z-index: 2;
}
.hello { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 .2rem; color: var(--ink-soft); }
.wave { display: inline-block; transform-origin: 70% 80%; animation: wave 2.4s ease-in-out 1.2s infinite; }
@keyframes wave { 0%,60%,100% { transform: rotate(0) } 10%,30% { transform: rotate(16deg) } 20%,40% { transform: rotate(-8deg) } }

.hero-name { font-size: clamp(3.4rem, 10vw, 7.4rem); font-weight: 500; line-height: .95; }
.hero-name .line { display: block; }
.hero-name .italic { font-style: italic; color: var(--maroon); padding-left: .45em; font-weight: 400; }
.hero-name .ch { display: inline-block; opacity: 0; transform: translateY(.5em) rotate(8deg); animation: chIn .9s var(--ease-bounce) forwards; animation-delay: calc(var(--i) * 45ms + 200ms); }
.hero-name .ch:hover { animation: none; opacity: 1; transform: translateY(-.08em) rotate(-6deg); color: var(--gold); transition: transform .2s, color .2s; }
@keyframes chIn { to { opacity: 1; transform: none; } }

.tagline { display: flex; flex-wrap: wrap; gap: .2rem .6rem; align-items: center; margin: 1.4rem 0 0; font-weight: 800; font-size: 1.05rem; }
.tagline span { background: var(--card); border: 1.5px solid rgba(43,36,32,.15); padding: .3em .8em; border-radius: 999px; }
.tagline span:nth-child(1) { background: #FBE3E0; }
.tagline span:nth-child(3) { background: #E4F0E2; }
.tagline span:nth-child(5) { background: #FBEED3; }
.tagline i { color: var(--gold); font-style: normal; }
.hero-sub { max-width: 34rem; color: var(--ink-soft); font-size: 1.1rem; margin: 1.2rem 0 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.hero-portrait { position: relative; width: min(420px, 100%); justify-self: center; aspect-ratio: 1; }
.portrait-blob { position: absolute; inset: -6%; width: 112%; height: 112%; fill: var(--fern); animation: blob 14s ease-in-out infinite; }
.portrait-blob path { transform-origin: center; }
@keyframes blob { 0%,100% { transform: rotate(0) scale(1); } 50% { transform: rotate(8deg) scale(1.04); } }
.portrait-ring { position: absolute; inset: -10%; width: 120%; height: 120%; fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: ring 2.2s var(--ease-out) .6s forwards; }
@keyframes ring { to { stroke-dashoffset: 0; } }
.portrait {
  position: absolute; inset: 7% 10% 4%; border-radius: 999px 999px 32px 32px; overflow: hidden;
  border: 8px solid var(--card); box-shadow: var(--shadow); transform: rotate(-2.5deg);
  animation: pop 1.1s var(--ease-bounce) .3s both;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .8s var(--ease-out); }
.hero-portrait:hover .portrait img { transform: scale(1.05); }
@keyframes pop { from { opacity: 0; transform: rotate(-10deg) scale(.7); } }

.badge-spin { position: absolute; width: 34%; right: -6%; top: -2%; z-index: 3; animation: pop 1s var(--ease-bounce) .8s both; }
.badge-spin .ring-text { transform-origin: 100px 100px; animation: spin 18s linear infinite; }
.badge-bg { fill: var(--maroon); stroke: var(--ink); stroke-width: 3; }
.badge-spin text { font: 800 17px var(--f-body); fill: #fff; letter-spacing: 1.6px; text-transform: uppercase; }
.badge-spin .badge-mid { font: italic 600 46px var(--f-display); fill: var(--gold); letter-spacing: 0; text-transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.sticker {
  position: absolute; z-index: 3; background: var(--card); border: 2px solid var(--ink); border-radius: 14px;
  padding: .35em .75em; font-weight: 800; font-size: .92rem; box-shadow: 3px 3px 0 var(--ink); white-space: nowrap;
  animation: bob 5s ease-in-out infinite;
}
.s-loc { left: -10%; bottom: 18%; transform: rotate(-6deg); --rot: -6deg; }
.s-mac { right: -4%; bottom: 2%; --rot: 5deg; animation-delay: -2s; background: #FBEED3; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(var(--rot, 0deg)); } 50% { transform: translateY(-10px) rotate(var(--rot, 0deg)); } }
.doodle-arrow { position: absolute; width: 90px; left: -26%; top: 14%; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; z-index: 3; }
.arrow-note { position: absolute; left: -36%; top: 4%; font-size: 1.6rem; color: var(--maroon-soft); transform: rotate(-10deg); z-index: 3; }

.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.floater { position: absolute; fill: none; stroke: var(--fern-2); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .55; }
.floater .fill { fill: currentColor; color: var(--fern-2); }
.floater .liquid { fill: #F2C6C2; stroke: none; opacity: .8; }
.f1 { width: 70px; left: 6%; top: 18%; stroke: var(--maroon-soft); animation: drift 11s ease-in-out infinite, spin 40s linear infinite; }
.f2 { width: 44px; left: 46%; top: 12%; stroke: var(--gold); animation: drift 8s ease-in-out infinite -3s; }
.f3 { width: 80px; right: 4%; bottom: 10%; animation: drift 12s ease-in-out infinite -5s; }
.f4 { width: 64px; left: 4%; bottom: 12%; stroke: var(--maroon); animation: drift 10s ease-in-out infinite -1s; }
.f5 { width: 120px; left: 38%; bottom: 7%; stroke: var(--maroon-soft); }
.f6 { width: 26px; right: 12%; top: 16%; fill: var(--gold); stroke: none; opacity: .9; animation: twinkle 3s ease-in-out infinite; }
.f7 { width: 18px; left: 30%; top: 30%; fill: var(--maroon-soft); stroke: none; opacity: .7; animation: twinkle 3.6s ease-in-out infinite -1.4s; }
.f5 path { stroke-dasharray: 260; stroke-dashoffset: 260; animation: pulse 3.2s ease-in-out infinite; }
@keyframes pulse { 0% { stroke-dashoffset: 260; } 60%,100% { stroke-dashoffset: 0; opacity: 1; } 100% { opacity: 0; } }
@keyframes drift { 0%,100% { translate: 0 0; } 50% { translate: 0 -18px; } }
@keyframes twinkle { 0%,100% { transform: scale(.6) rotate(0); } 50% { transform: scale(1.15) rotate(45deg); } }

.scroll-hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--ink-soft); z-index: 3; }
.scroll-hint .hand { font-size: 1.2rem; }
.scroll-hint svg { width: 22px; fill: none; stroke: var(--ink-soft); stroke-width: 2; }
.scroll-hint .dot { fill: var(--maroon-soft); stroke: none; animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 860px) {
  .hero { padding-top: 100px; }
  .hero-inner { grid-template-columns: 1fr; text-align: left; }
  .hero-portrait { width: min(320px, 78%); order: -1; margin-top: 10px; }
  .doodle-arrow, .arrow-note { display: none; }
  .s-loc { left: -14%; }
  .f2, .f5 { display: none; }
  .scroll-hint { display: none; }
}

/* ---------------- REVEAL ---------------- */
.reveal { opacity: 0; transform: translateY(36px) rotate(var(--r, 0deg)); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0) rotate(var(--r, 0deg)); }

/* ---------------- ABOUT ---------------- */
.about { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.about-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-card {
  position: relative; background: var(--card); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow); border: 1.5px solid rgba(43,36,32,.08);
  background-image: repeating-linear-gradient(transparent 0 33px, rgba(122,0,60,.07) 33px 34px);
  background-position: 0 14px;
}
.about-card h2 { margin-bottom: 1.2rem; font-size: clamp(2rem, 4.4vw, 3.1rem); }
.about-card p { margin: 0 0 1rem; }
.about-card strong { color: var(--fern); }
.inline-link { color: var(--maroon); font-weight: 800; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-style: wavy; text-decoration-color: var(--gold); }
.tape { position: absolute; width: 110px; height: 30px; background: rgba(217,164,65,.45); top: -14px; border-radius: 3px; }
.tape-l { left: 24px; transform: rotate(-6deg); }
.tape-r { right: 24px; transform: rotate(5deg); background: rgba(242,198,194,.75); }
.margin-note { position: absolute; right: 22px; bottom: -18px; font-size: 1.7rem; color: var(--maroon-soft); transform: rotate(-5deg); background: var(--paper); padding: 0 .4em; border-radius: 8px; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.fact {
  display: flex; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border-radius: 18px; background: var(--card);
  border: 2px solid var(--ink); box-shadow: 4px 5px 0 var(--ink);
  transition: transform .35s var(--ease-bounce) !important;
}
.fact:hover { transform: translateY(-4px) rotate(0deg) scale(1.03) !important; }
.fact:nth-child(1) { background: #FBE3E0; } .fact:nth-child(2) { background: #E4F0E2; }
.fact:nth-child(3) { background: #FBEED3; } .fact:nth-child(4) { background: #E3EEF4; }
.fact-emoji { font-size: 2rem; line-height: 1; width: 52px; height: 52px; display: grid; place-items: center; background: var(--card); border-radius: 50%; border: 2px solid var(--ink); flex: none; }
.fact b { display: block; font-family: var(--f-display); font-size: 1.2rem; font-weight: 600; }
.fact small { display: block; color: var(--ink-soft); font-size: .92rem; line-height: 1.3; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------------- MCMASTER ---------------- */
.mac { padding: 40px 0 clamp(80px, 10vw, 130px); }
.mac-head { margin-bottom: 2rem; }
.nudge { font-size: 1.3rem; color: var(--maroon-soft); white-space: nowrap; }
.scene-wrap { width: min(1240px, 100% - 32px); margin-inline: auto; position: relative; }
.scene {
  position: relative; border-radius: 32px; overflow: hidden; border: 3px solid var(--ink);
  box-shadow: 8px 10px 0 var(--ink); height: clamp(360px, 52vw, 620px); cursor: pointer; background: #BFE3F2;
}
.scene-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.leaf-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.cloud path { fill: #fff; stroke: #3B3230; stroke-width: 2; opacity: .95; }
.cloud { animation: cloud 40s linear infinite; }
.c2 { animation-duration: 55s; animation-delay: -20s; }
.c3 { animation-duration: 48s; animation-delay: -32s; }
@keyframes cloud { from { transform: translateX(-300px); } to { transform: translateX(1300px); } }
.tree { transform-box: fill-box; transform-origin: 50% 100%; }
.edu-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; width: min(1000px, 100% - 64px); margin: -60px auto 0; position: relative; z-index: 2; }
.edu-card {
  display: flex; gap: 1rem; align-items: flex-start; background: var(--card); padding: 1.4rem 1.5rem; border-radius: var(--radius);
  border: 2px solid var(--ink); box-shadow: 5px 6px 0 var(--ink);
}
.edu-card:nth-child(2) { --r: 1.2deg; }
.edu-card:nth-child(1) { --r: -1deg; }
.edu-icon { flex: none; width: 60px; height: 60px; border-radius: 16px; background: var(--paper-2); display: grid; place-items: center; }
.edu-icon svg { width: 46px; }
.edu-when { margin: 0; font: 700 1.25rem/1 var(--f-hand); color: var(--maroon-soft); }
.edu-card h3 { margin: .25rem 0 .35rem; }
.edu-card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 760px) { .scene { height: auto; aspect-ratio: 3 / 2.1; } .edu-cards { grid-template-columns: 1fr; margin-top: -30px; width: calc(100% - 48px); } .scene { box-shadow: 5px 6px 0 var(--ink); } }

/* ---------------- JOURNEY ---------------- */
.journey { padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 10vw, 140px); background: linear-gradient(var(--paper), var(--paper-2) 30%, var(--paper-2) 80%, var(--paper)); }
.section-head { text-align: center; margin-bottom: 3rem; }
.trail { position: relative; display: grid; gap: clamp(1.4rem, 3vw, 2.4rem); padding: 1rem 0; }
.trail-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.trail-ghost { fill: none; stroke: rgba(43,36,32,.12); stroke-width: 3; stroke-dasharray: 2 12; stroke-linecap: round; }
.trail-path { fill: none; stroke: var(--maroon-soft); stroke-width: 4; stroke-dasharray: 2 12; stroke-linecap: round; }
.trail-reveal { fill: none; stroke: #fff; stroke-width: 14; }
.stop { position: relative; width: calc(50% - 50px); }
.stop[data-side="left"] { justify-self: start; --r: -1deg; }
.stop[data-side="right"] { justify-self: end; --r: 1deg; }
.stop::after {
  content: ""; position: absolute; top: 34px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--ink); box-shadow: 0 0 0 6px var(--paper-2);
  transform: scale(0); transition: transform .6s var(--ease-bounce) .3s;
}
.stop.in::after { transform: scale(1); }
.stop[data-side="left"]::after { right: -61px; }
.stop[data-side="right"]::after { left: -61px; }
.stop-card {
  position: relative; background: var(--card); border-radius: var(--radius); padding: 1.5rem 1.6rem 1.4rem; padding-top: 1.6rem;
  border: 2px solid var(--ink); box-shadow: 5px 6px 0 var(--ink); transition: transform .35s var(--ease-bounce), box-shadow .3s;
}
.stop-card:hover { transform: translate(-2px, -4px) rotate(-.6deg); box-shadow: 8px 10px 0 var(--ink); }
.stop-icon { position: absolute; top: -26px; right: 18px; width: 64px; height: 64px; border-radius: 20px; background: var(--paper); border: 2px solid var(--ink); display: grid; place-items: center; transform: rotate(6deg); transition: transform .4s var(--ease-bounce); }
.stop-icon svg { width: 46px; }
.stop-card:hover .stop-icon { transform: rotate(-8deg) scale(1.12); }
.stop-card:hover .ball svg { animation: bounce .7s var(--ease-out) infinite alternate; }
@keyframes bounce { from { transform: translateY(0) rotate(0); } to { transform: translateY(-10px) rotate(120deg); } }
.when { margin: 0; font: 700 1.3rem/1 var(--f-hand); color: var(--maroon-soft); }
.stop-card h3 { margin: .35rem 3.6rem .3rem 0; }
.where { margin: 0 0 .5rem; font-weight: 800; color: var(--fern); font-size: .95rem; }
.stop-card p:last-child { margin-bottom: 0; }
.stop-card > p:not(.when):not(.where) { color: var(--ink-soft); margin: 0; }
.roles { list-style: none; padding: 0; margin: .6rem 0 0; display: grid; gap: .45rem; }
.roles li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem .8rem; padding: .5rem .8rem; background: var(--paper); border-radius: 12px; font-size: .95rem; }
.roles span { color: var(--ink-soft); font-size: .88rem; }
@media (max-width: 760px) {
  .stop { width: calc(100% - 44px); justify-self: end !important; }
  .stop[data-side="left"]::after, .stop[data-side="right"]::after { left: -38px; right: auto; }
}

/* ---------------- TIKTAALIK ---------------- */
.tik { padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 10vw, 130px); }
.tik-head { text-align: center; margin-bottom: 2.2rem; }
.tik-head .lede { margin-inline: auto; }
.pond {
  position: relative; width: min(1240px, 100% - 32px); margin-inline: auto; height: clamp(440px, 52vw, 600px);
  border-radius: 40px; overflow: hidden; border: 3px solid var(--ink); box-shadow: 8px 10px 0 var(--ink);
  background:
    radial-gradient(40% 30% at 30% 20%, rgba(255,255,255,.55), transparent 70%),
    radial-gradient(30% 30% at 80% 70%, rgba(255,255,255,.35), transparent 70%),
    linear-gradient(var(--pond-top), var(--pond-bot));
  cursor: crosshair; touch-action: pan-y;
}
.pond::before {
  content: ""; position: absolute; inset: -50%; pointer-events: none; opacity: .35;
  background: repeating-radial-gradient(circle at 30% 40%, transparent 0 38px, rgba(255,255,255,.55) 40px 42px, transparent 44px 90px);
  animation: caustic 16s ease-in-out infinite alternate;
}
@keyframes caustic { to { transform: translate(6%, 4%) rotate(6deg) scale(1.1); } }
.pond-deco { position: absolute; inset: 0; width: 100%; height: 100%; }
.weed path { fill: none; stroke: #5E8F6A; stroke-width: 14; stroke-linecap: round; }
.weed { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 5s ease-in-out infinite alternate; }
.w2 path { stroke: #7FAE7A; stroke-width: 10; } .w2 { animation-delay: -2s; }
.w3 path { stroke: #7FAE7A; } .w3 { animation-delay: -1s; animation-duration: 6s; }
.w4 path { stroke: #5E8F6A; stroke-width: 10; } .w5 path { stroke: #7FAE7A; stroke-width: 9; }
@keyframes sway { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
.pebble { fill: #B9AE95; stroke: var(--ink); stroke-width: 2; } .p2 { fill: #D2C6AC; }
#tikCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.tik-label {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); margin: 0;
  font: 400 clamp(2.4rem, 6vw, 4.2rem)/1 "Carlito", "Calibri", "Segoe UI", sans-serif; color: #1F2630; letter-spacing: .01em;
  pointer-events: none; opacity: .9;
}
.snack-count { position: absolute; top: 14px; right: 22px; margin: 0; font-size: 1.4rem; color: var(--fern); pointer-events: none; }
.pond-hint { position: absolute; margin: 0; font-size: 1.4rem; color: var(--maroon); pointer-events: none; opacity: 0; transition: opacity .4s; white-space: nowrap; transform: translate(-50%, -100%) rotate(-4deg); }
.pond-hint.show { opacity: 1; }
.fact-bubble {
  position: absolute; max-width: 250px; padding: .75rem 1rem; background: var(--card); border: 2px solid var(--ink); border-radius: 18px;
  box-shadow: 3px 4px 0 var(--ink); font-weight: 700; font-size: .98rem; line-height: 1.35; pointer-events: none;
  opacity: 0; transform: translate(-50%, calc(-100% - 18px)) scale(.6); transform-origin: 50% 100%;
  transition: opacity .25s, transform .35s var(--ease-bounce);
}
.fact-bubble::after { content: ""; position: absolute; left: 50%; bottom: -11px; width: 18px; height: 18px; background: var(--card); border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateX(-50%) rotate(45deg); }
.fact-bubble.show { opacity: 1; transform: translate(-50%, calc(-100% - 18px)) scale(1); }

/* ---------------- CONNECT ---------------- */
.connect { padding: 20px 0 clamp(90px, 12vw, 150px); }
.connect-card {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center;
  background: var(--fern); color: #F6F1E6; border-radius: 36px; padding: clamp(2rem, 5vw, 4rem);
  border: 3px solid var(--ink); box-shadow: 10px 12px 0 var(--ink); position: relative; overflow: hidden;
}
.connect-card::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.06); right: -120px; top: -160px; }
.connect-card h2 { color: #fff; }
.connect-card .eyebrow { color: var(--blush); }
.connect-card p { font-size: 1.1rem; max-width: 34rem; color: #DCE7DE; }
.connect-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.connect-card .btn { box-shadow: 3px 4px 0 #142219; border-color: #142219; }
.connect-card .btn:hover { box-shadow: 5px 7px 0 #142219; }
.envelope { width: clamp(160px, 22vw, 240px); cursor: pointer; }
.envelope .flap { transform-box: fill-box; transform-origin: 50% 0; transition: transform .6s var(--ease-out); }
.envelope .letter { transition: transform .6s var(--ease-bounce) .1s; }
.connect-card:hover .flap, .envelope.open .flap { transform: scaleY(-1); }
.connect-card:hover .letter, .envelope.open .letter { transform: translateY(-34px); }
.envelope svg { animation: bob 4s ease-in-out infinite; overflow: visible; }
@media (max-width: 760px) { .connect-card { grid-template-columns: 1fr; box-shadow: 6px 7px 0 var(--ink); } .envelope { justify-self: center; } }

/* ---------------- FOOTER ---------------- */
.footer { position: relative; text-align: center; padding: 70px 16px 28px; color: var(--ink-soft); font-weight: 700; }
.footer p { margin: 0; position: relative; z-index: 1; }
#miniTik { position: absolute; left: 0; top: 0; width: 100%; height: 80px; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, calc(100% + 60px)); opacity: 0; z-index: 120;
  background: var(--ink); color: var(--paper); font-weight: 800; padding: .8em 1.4em; border-radius: 999px;
  transition: transform .45s var(--ease-bounce), opacity .3s; box-shadow: 0 12px 30px -10px rgba(0,0,0,.4);
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* sparkle cursor trail */
.sparkle { position: fixed; pointer-events: none; z-index: 110; width: 12px; height: 12px; margin: -6px 0 0 -6px; animation: sparkle .9s var(--ease-out) forwards; }
.sparkle svg { width: 100%; height: 100%; }
@keyframes sparkle { from { opacity: 1; transform: scale(1) rotate(0); } to { opacity: 0; transform: translateY(14px) scale(.2) rotate(90deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-name .ch { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------------- phones & touch ---------------- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .pond { height: 400px; border-radius: 28px; box-shadow: 5px 6px 0 var(--ink); }
  .tik-label { font-size: 2.4rem; bottom: 10px; }
  .snack-count { font-size: 1.15rem; right: 16px; top: 10px; }
  .fact-bubble { max-width: 210px; font-size: .9rem; }
  .connect-card { border-radius: 28px; padding: 1.8rem 1.4rem; }
  .connect-actions .btn { flex: 1 1 auto; justify-content: center; }
  .nudge { white-space: normal; }
  /* fixed full-screen blend layers are costly on mobile GPUs */
  .grain { mix-blend-mode: normal; opacity: .14; }
}
/* no sticky hover "lift" after a tap on touch screens */
@media (hover: none) {
  .btn:hover, .fact:hover, .stop-card:hover, .nav-cta:hover { transform: none !important; }
  .btn:hover { box-shadow: 3px 4px 0 var(--ink); }
  .stop-card:hover { box-shadow: 5px 6px 0 var(--ink); }
  .connect-card .btn:hover { box-shadow: 3px 4px 0 #142219; }
  .stop-card:hover .stop-icon { transform: rotate(6deg); }
  .connect-card:hover .flap { transform: none; }
  .connect-card:hover .letter { transform: none; }
  .envelope.open .flap { transform: scaleY(-1); }
  .envelope.open .letter { transform: translateY(-34px); }
}
