/* ═══════════════════════════════════════════════════════════
   JEREMIAH A. POUNCY — LIQUID GLASS DESIGN SYSTEM
   Light theme · glassmorphism · living line-art world
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --bg:        #eef4ef;
  --bg-soft:   #f6faf7;
  --ink:       #14231a;
  --ink-soft:  #3a4c40;
  --muted:     #6a8172;

  --green:  #1f9e5a;
  --green2: #2fbf73;
  --teal:   #12b3a6;
  --gold:   #e0a020;
  --earth:  #b5713a;
  --sky:    #4a94c4;
  --coral:  #e06a52;

  --glass:        rgba(255,255,255,0.55);
  --glass-strong: rgba(255,255,255,0.72);
  --glass-border: rgba(255,255,255,0.85);
  --glass-shadow: 0 10px 34px rgba(20,45,30,0.10), 0 2px 8px rgba(20,45,30,0.05), inset 0 1px 0 rgba(255,255,255,0.9);
  --glass-shadow-lg: 0 26px 64px rgba(20,45,30,0.18), 0 6px 18px rgba(20,45,30,0.08), inset 0 1px 0 rgba(255,255,255,0.9);

  --font: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --radius: 22px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: rgba(47,191,115,0.25); }

/* ── LIQUID BLOB BACKDROP ─────────────────────────────────── */
#liquid {
  position: fixed; inset: 0; z-index: -3; overflow: hidden;
  background: radial-gradient(circle at 50% 0%, #ffffff 0%, var(--bg) 55%, #e4ede6 100%);
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: 0.55; mix-blend-mode: multiply;
  animation: drift 26s ease-in-out infinite;
}
.blob.b1 { width: 46vw; height: 46vw; left: -8vw;  top: -6vw;  background: radial-gradient(circle, #9be7c0, transparent 70%); }
.blob.b2 { width: 40vw; height: 40vw; right: -6vw; top: 8vw;   background: radial-gradient(circle, #a9e5e0, transparent 70%); animation-delay: -6s; }
.blob.b3 { width: 38vw; height: 38vw; left: 18vw;  bottom: 4vw; background: radial-gradient(circle, #f6e2ac, transparent 70%); animation-delay: -12s; }
.blob.b4 { width: 34vw; height: 34vw; right: 12vw; bottom: -6vw; background: radial-gradient(circle, #bfe0f2, transparent 70%); animation-delay: -18s; }
@keyframes drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33%     { transform: translate(4vw,-3vw) scale(1.08); }
  66%     { transform: translate(-3vw,2vw) scale(0.94); }
}
#liquid::after {
  content:''; position:absolute; inset:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

/* ── LIVING WORLD ─────────────────────────────────────────── */
#world { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
#landscape { position: absolute; bottom: 0; left: 0; width: 100%; height: 34vh; min-height: 220px; }
#landscape path, #landscape line, #landscape circle { vector-effect: non-scaling-stroke; }

.walker { position: absolute; bottom: 0; will-change: transform; }
.walker svg { display: block; overflow: visible; }
.walker svg path, .walker svg line, .walker svg circle, .walker svg ellipse {
  fill: none; stroke: var(--stroke, rgba(31,158,90,0.32));
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.flyer { position: absolute; will-change: transform; }
.flyer svg path { fill: none; stroke: rgba(74,148,196,0.42); stroke-width: 2; stroke-linecap: round; }

/* ── NAV ──────────────────────────────────────────────────── */
nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 100; width: min(1160px, 92vw);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 0.8rem 0.6rem 1.2rem;
  background: var(--glass); backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border); border-radius: 999px;
  box-shadow: var(--glass-shadow); transition: box-shadow .3s, background .3s;
}
nav.scrolled { background: var(--glass-strong); box-shadow: var(--glass-shadow-lg); }
.nav-logo { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 0.98rem; }
.nav-leaf {
  width: 30px; height: 30px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--green), var(--teal));
  border-radius: 50% 12px 50% 12px;
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
  box-shadow: 0 3px 10px rgba(31,158,90,0.3);
}
.nav-logo span { background: linear-gradient(120deg,var(--green),var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; align-items: center; gap: 0.3rem; }
.nav-links a { padding: 0.5rem 0.95rem; border-radius: 999px; font-size: 0.82rem; font-weight: 500; color: var(--ink-soft); transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a.active { background: rgba(31,158,90,0.1); color: var(--green); }
.nav-cta { background: linear-gradient(135deg,var(--green),var(--teal)) !important; color: #fff !important; font-weight: 600 !important; box-shadow: 0 4px 14px rgba(31,158,90,0.3); }
.nav-cta:hover { transform: translateY(-1px); }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 0.5rem 0.7rem; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ── LAYOUT ───────────────────────────────────────────────── */
.page { position: relative; z-index: 1; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 5%; }
section { position: relative; z-index: 1; padding: 5.5rem 0; }

.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); margin-bottom: 0.7rem; }
.eyebrow::before { content:''; width: 22px; height: 2px; background: var(--green); border-radius: 2px; }
h1,h2,h3 { line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }
.h-xl { font-size: clamp(2.9rem, 8vw, 6.4rem); font-weight: 800; }
.h-lg { font-size: clamp(2rem, 4.6vw, 3.35rem); font-weight: 800; }
.h-md { font-size: clamp(1.35rem, 2.7vw, 1.8rem); font-weight: 700; letter-spacing: -0.02em; }
.lead { font-size: clamp(1.02rem,1.7vw,1.22rem); color: var(--ink-soft); max-width: 640px; text-wrap: pretty; }
.muted { color: var(--muted); }
.gradient-text { background: linear-gradient(120deg,var(--green) 10%,var(--teal) 60%, var(--sky)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .gradient-text {
  background: linear-gradient(105deg,#8bffbd 0%,#5bf0dd 45%,#bfeeff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: 0 0 16px rgba(120,255,190,0.45), 0 2px 6px rgba(0,0,0,0.55);
}

/* ── GLASS ────────────────────────────────────────────────── */
.glass { background: var(--glass); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); border: 1px solid var(--glass-border); border-radius: var(--radius); box-shadow: var(--glass-shadow); }
.glass-strong { background: var(--glass-strong); }
.card-hover { transition: transform .38s cubic-bezier(.16,1,.3,1), box-shadow .38s, border-color .3s; }
.card-hover:hover { transform: translateY(-7px); box-shadow: var(--glass-shadow-lg); border-color: rgba(47,191,115,0.4); }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 1.7rem; border-radius: 999px; cursor: pointer; font-family: inherit; font-weight: 600; font-size: 0.9rem; border: none; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-primary { background: linear-gradient(135deg,var(--green),var(--teal)); color: #fff; box-shadow: 0 6px 20px rgba(31,158,90,0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(31,158,90,0.42); }
.btn-glass { background: var(--glass-strong); backdrop-filter: blur(16px); border: 1px solid var(--glass-border); color: var(--ink); box-shadow: var(--glass-shadow); }
.btn-glass:hover { transform: translateY(-2px); color: var(--green); }
.btn-gold { background: linear-gradient(135deg,var(--gold),var(--earth)); color: #fff; box-shadow: 0 6px 20px rgba(224,160,32,0.32); }
.btn-gold:hover { transform: translateY(-2px); }

/* ── PILLS ────────────────────────────────────────────────── */
.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill { padding: 0.4rem 0.9rem; border-radius: 999px; font-size: 0.76rem; font-weight: 600; background: var(--glass-strong); border: 1px solid var(--glass-border); backdrop-filter: blur(10px); box-shadow: 0 3px 10px rgba(20,45,30,0.06); }
.pill.green { color: var(--green); } .pill.teal { color: var(--teal); }
.pill.gold  { color: var(--gold); }  .pill.earth{ color: var(--earth); }
.pill.sky   { color: var(--sky); }   .pill.coral{ color: var(--coral); }

/* ── HERO ─────────────────────────────────────────────────── */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: 6rem; padding-bottom: 5rem; }
.hero-inner { text-align: center; }
.hero .h-xl { margin: 0.25rem 0; font-size: clamp(2.3rem, 5.6vw, 4.6rem); }
.hero-tag { font-style: italic; margin-top: 0.6rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 1.1rem; }
.scroll-cue { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.4rem; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 1px; height: 40px; background: linear-gradient(var(--green),transparent); animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0%,100%{opacity:.9;transform:scaleY(1);} 50%{opacity:.3;transform:scaleY(.5);} }

/* ── HERO WITH PHOTO BACKDROP ─────────────────────────────── */
.hero-photo { position: relative; overflow: hidden; padding: 0; justify-content: flex-start; }
.hero-photo-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center 6%;
  background-repeat: no-repeat;
  transform: scale(1.05);
  animation: heroZoom 26s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.13); } }
.hero-photo-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    /* top: darken sky so floating text reads */
    linear-gradient(180deg, rgba(6,20,12,0.72) 0%, rgba(6,20,12,0.50) 17%, rgba(6,20,12,0.16) 42%, transparent 62%, rgba(6,20,12,0.14) 100%),
    /* soft warm spotlight lifting the shirt so "black in vet med" reads */
    radial-gradient(ellipse 36% 24% at 50% 91%, rgba(255,250,235,0.32) 0%, rgba(255,250,235,0.14) 48%, transparent 74%);
}
.hero-photo .wrap { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; min-height: 100vh; padding: 5.6rem 0 3rem; gap: 1.5rem; }
.hero-card {
  max-width: 720px; margin: 0; text-align: center;
  padding: 0;
  background: none; border: none; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8), 0 2px 26px rgba(0,0,0,0.7);
}
.hero-actions { position: absolute; left: 0; right: 0; top: 68%; display: flex; flex-direction: column; align-items: center; gap: 1.1rem; text-shadow: 0 1px 3px rgba(0,0,0,0.8), 0 2px 26px rgba(0,0,0,0.7); }
.hero-actions .pill-row { justify-content: center; }
.hero-actions .pill-stack { display: flex; flex-direction: column; align-items: center; gap: 0.55rem; }
.hero-card .eyebrow { color: #d7ffe8; justify-content: center; background: rgba(6,20,12,0.50); padding: 0.42rem 1.05rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.18); text-shadow: 0 1px 2px rgba(0,0,0,0.9); margin-bottom: 1rem; }
.hero-card .eyebrow::before { display: none; }
.hero-card .lead { max-width: 680px; margin-left: auto; margin-right: auto; font-size: clamp(0.98rem, 1.5vw, 1.12rem); }
.hero-card .hero-tag { font-style: italic; }
.hero-actions .pill { background: rgba(255,255,255,0.90); text-shadow: none; box-shadow: 0 4px 18px rgba(0,0,0,0.35); }
.hero-actions .hero-ctas { margin-top: 0; }
.hero-photo .btn-glass { background: #ffffff; color: var(--ink); border: 1px solid rgba(255,255,255,0.9); box-shadow: 0 4px 14px rgba(0,0,0,0.18); backdrop-filter: none; -webkit-backdrop-filter: none; text-shadow: none; }
.hero-photo .btn-glass:hover { background: #fff; color: var(--green); box-shadow: 0 8px 22px rgba(0,0,0,0.24); }
.hero-actions .hero-tag { text-shadow: 0 1px 2px rgba(0,0,0,0.9), 0 0 14px rgba(0,0,0,0.78), 0 0 34px rgba(0,0,0,0.5); }
.hero-photo .scroll-cue { display: none; }
@media (max-width: 620px) { .hero-photo .wrap { padding: 4rem 0 2rem; } }

/* ── GRIDS ────────────────────────────────────────────────── */
.grid { display: grid; gap: 1.3rem; }
.g-2 { grid-template-columns: repeat(2,1fr); }
.g-3 { grid-template-columns: repeat(3,1fr); }
.g-4 { grid-template-columns: repeat(4,1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split.lean { grid-template-columns: 1fr 1.25fr; }

/* ── STATS ────────────────────────────────────────────────── */
.stat { padding: 1.7rem 1.2rem; text-align: center; }
.stat .n { font-size: 2.5rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; background: linear-gradient(120deg,var(--green),var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .l { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin-top: 0.5rem; }

/* ── TILES ────────────────────────────────────────────────── */
.tile { overflow: hidden; }
.tile-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.card-hover:hover .tile-img img { transform: scale(1.07); }
.tile-date { position: absolute; top: 0.7rem; right: 0.7rem; padding: 0.25rem 0.7rem; border-radius: 999px; font-size: 0.68rem; font-weight: 700; color: var(--green); background: var(--glass-strong); backdrop-filter: blur(8px); border: 1px solid var(--glass-border); }
.tile-body { padding: 1.2rem 1.3rem 1.4rem; }
.tile-loc { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 0.35rem; }
.tile-title { font-weight: 700; font-size: 1.05rem; line-height: 1.3; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.tile-desc { font-size: 0.83rem; color: var(--ink-soft); line-height: 1.6; }
.tile-link { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.9rem; font-size: 0.8rem; font-weight: 700; color: var(--teal); transition: gap .2s; }
.tile-link:hover { gap: 0.6rem; }
.tile-link::after { content:'→'; }
.emoji-lg { font-size: 2.1rem; margin-bottom: 0.8rem; }
.cat { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.35rem; }

/* ── FORM ─────────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select { padding: 0.8rem 1rem; border-radius: 14px; font-family: inherit; font-size: 0.9rem; color: var(--ink); background: rgba(255,255,255,0.6); border: 1px solid var(--glass-border); outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(47,191,115,0.15); }
.field textarea { resize: vertical; min-height: 130px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }

/* ── FOOTER ───────────────────────────────────────────────── */
footer { position: relative; z-index: 1; padding: 3rem 5% 3.5rem; text-align: center; }
.foot-logo { font-size: 1.3rem; font-weight: 800; }
.foot-quote { font-style: italic; color: var(--muted); max-width: 420px; margin: 0.5rem auto 1.4rem; font-size: 0.9rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; margin-bottom: 1.2rem; }
.foot-links a { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); transition: color .2s; }
.foot-links a:hover { color: var(--green); }
.foot-copy { font-size: 0.72rem; color: var(--muted); opacity: 0.6; }

/* ── REVEAL ───────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.r-left  { transform: translateX(-34px); }
.reveal.r-right { transform: translateX(34px); }
.reveal.in { opacity: 1 !important; transform: none !important; }
.d1{transition-delay:.08s}.d2{transition-delay:.16s}.d3{transition-delay:.24s}
.d4{transition-delay:.32s}.d5{transition-delay:.4s}.d6{transition-delay:.48s}

/* ── INTERIOR PAGE HEADER ─────────────────────────────────── */
.page-head { padding-top: 8.5rem; padding-bottom: 2.5rem; text-align: center; }
.page-head .lead { margin: 1rem auto 0; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .g-3,.g-4 { grid-template-columns: 1fr 1fr; }
  .split, .split.lean { grid-template-columns: 1fr; gap: 2.2rem; }
}
@media (max-width: 620px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 64px; right: 0; left: 0; flex-direction: column; padding: 1rem; background: var(--glass-strong); backdrop-filter: blur(24px); border: 1px solid var(--glass-border); border-radius: 22px; }
  .nav-burger { display: flex; }
  .g-2,.g-3,.g-4 { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  #landscape { height: 24vh; }
}
@media (prefers-reduced-motion: reduce) { .blob, .walker, .flyer { animation: none !important; } .page-hero-bg, .up-next-bg { animation: none !important; } }

/* ═══════════════════════════════════════════════════════════
   ANIMATED WORDS + PAGE TRANSITION
   ═══════════════════════════════════════════════════════════ */
.word-mask { display: inline-block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; vertical-align: top; }
.words-done .word-mask { overflow: visible; }
.word-rise { display: inline-block; transform: translateY(115%); will-change: transform; }
.words-in .word-rise { animation: wordRise 0.72s cubic-bezier(.16,1,.3,1) both; }
@keyframes wordRise { from { transform: translateY(115%); } to { transform: translateY(0); } }

#pt-overlay {
  position: fixed; inset: 0; z-index: 4000; pointer-events: none;
  background: #06140c;
  display: flex; align-items: center; justify-content: center;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(.76,0,.24,1);
  box-shadow: 0 -30px 80px rgba(0,0,0,0.35);
  overflow: hidden;
}
#pt-overlay .pt-photo {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center 30%;
  transform: scale(1.12); transition: transform 0.9s cubic-bezier(.16,1,.3,1);
}
#pt-overlay.pt-cover .pt-photo { transform: scale(1.0); }
#pt-overlay .pt-tint {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(135deg, rgba(47,191,115,0.80) 0%, rgba(18,179,166,0.74) 52%, rgba(90,170,230,0.72) 100%),
    radial-gradient(ellipse 70% 60% at 50% 52%, rgba(6,20,12,0.30) 0%, transparent 72%);
}
#pt-overlay::after {
  content:''; position:absolute; inset:0; z-index:1; opacity:0.5; mix-blend-mode: soft-light;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}
#pt-overlay.pt-cover { transform: translateY(0); }
#pt-overlay .pt-label {
  position: relative; z-index: 2;
  color: #fff; font-weight: 800; letter-spacing: -0.035em; line-height: 1.02;
  font-size: clamp(2.2rem, 8vw, 5rem);
  display: flex; flex-wrap: wrap; gap: 0 0.32em; justify-content: center;
  padding: 0 6vw; text-align: center; text-shadow: 0 6px 30px rgba(0,0,0,0.28);
}
#pt-overlay .pt-label .word-rise { transform: translateY(120%); }
#pt-overlay.pt-cover .pt-label .word-rise { animation: wordRise 0.5s cubic-bezier(.16,1,.3,1) both; }
#pt-overlay .pt-leaf {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -130%); z-index: 2;
  width: 46px; height: 46px; border-radius: 50% 14px 50% 14px;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  opacity: 0; transition: opacity .4s .1s;
}
#pt-overlay.pt-cover .pt-leaf { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  #pt-overlay { display: none; }
  .word-rise { transform: none !important; animation: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   CURSOR GLOW + CLICK RIPPLE
   ═══════════════════════════════════════════════════════════ */
#cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 2; pointer-events: none;
  width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(64,224,140,0.42) 0%, rgba(38,206,190,0.24) 30%, rgba(140,220,255,0.10) 55%, transparent 72%);
  mix-blend-mode: screen; opacity: 0; transition: opacity .4s;
  will-change: transform;
}
#cursor-core {
  position: fixed; top: 0; left: 0; z-index: 3; pointer-events: none;
  width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%;
  background: radial-gradient(circle, rgba(190,255,220,0.95) 0%, rgba(90,240,190,0.7) 45%, transparent 72%);
  box-shadow: 0 0 18px rgba(80,235,170,0.9), 0 0 42px rgba(60,210,200,0.55);
  mix-blend-mode: screen; opacity: 0; transition: opacity .3s;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) { #cursor-core { display: none !important; } }
.click-ripple {
  position: fixed; z-index: 3500; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  border: 2px solid rgba(47,191,115,0.85);
  box-shadow: 0 0 14px rgba(47,191,115,0.5);
  animation: rippleOut 0.62s cubic-bezier(.22,1,.36,1) forwards;
}
.click-spark {
  position: fixed; z-index: 3500; pointer-events: none;
  width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%;
  background: var(--gold);
  animation: sparkFly 0.6s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes rippleOut {
  from { transform: scale(0.3); opacity: 0.9; }
  to   { transform: scale(6.5); opacity: 0; }
}
@keyframes sparkFly {
  from { transform: translate(0,0) scale(1); opacity: 1; }
  to   { transform: translate(var(--sx), var(--sy)) scale(0.2); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  #cursor-glow, .click-ripple, .click-spark { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   CINEMATIC INTERIOR PAGE HEADER
   ═══════════════════════════════════════════════════════════ */
.page-hero {
  position: relative; overflow: hidden;
  min-height: 78vh; display: flex; align-items: flex-end;
  margin-bottom: 1rem;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center 32%;
  transform: scale(1.06);
  animation: heroZoom 30s ease-in-out infinite alternate;
}
.page-hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,20,12,0.52) 0%, rgba(6,20,12,0.24) 26%, rgba(6,20,12,0.48) 58%, rgba(6,20,12,0.88) 100%),
    radial-gradient(ellipse 90% 70% at 20% 92%, rgba(6,20,12,0.66) 0%, transparent 74%);
}
.page-hero-inner {
  position: relative; z-index: 2; width: 100%;
  padding-top: 10rem; padding-bottom: 3.6rem;
}
.page-hero .eyebrow { color: #8ef0b8; }
.page-hero h1 { color: #fff; margin: 0.4rem 0 0; text-shadow: 0 2px 28px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.4); max-width: 15ch; }
.page-hero .lead { color: rgba(255,255,255,0.94); margin-top: 1.2rem; max-width: 620px; text-shadow: 0 1px 16px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.4); }
.page-hero .pill { background: rgba(255,255,255,0.92); }
@media (max-width: 620px) {
  .page-hero { min-height: 66vh; }
  .page-hero-inner { padding-top: 8rem; padding-bottom: 2.4rem; }
}

/* ═══════════════════════════════════════════════════════════
   UP-NEXT BAND — pulls the visitor to the next page
   ═══════════════════════════════════════════════════════════ */
.up-next {
  position: relative; display: block; overflow: hidden;
  border-radius: 28px; min-height: 400px;
  box-shadow: var(--glass-shadow-lg);
  border: 1px solid var(--glass-border);
}
.up-next-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  transform: scale(1.04);
  transition: transform 1.1s cubic-bezier(.16,1,.3,1);
}
.up-next:hover .up-next-bg { transform: scale(1.12); }
.up-next-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(6,20,12,0.88) 0%, rgba(6,20,12,0.66) 42%, rgba(6,20,12,0.30) 100%),
              linear-gradient(0deg, rgba(6,20,12,0.62) 0%, transparent 48%);
}
.up-next-inner {
  position: relative; z-index: 2;
  padding: 3rem 3.4rem; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 400px;
}
.up-next-kicker {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: #8ef0b8; margin-bottom: 0.7rem; display: flex; align-items: center; gap: 0.5rem;
}
.up-next-kicker::before { content:''; width: 26px; height: 2px; background: #8ef0b8; border-radius: 2px; }
.up-next h2 { color: #fff; max-width: 16ch; text-shadow: 0 2px 24px rgba(0,0,0,0.6), 0 1px 4px rgba(0,0,0,0.4); }
.up-next p { color: rgba(255,255,255,0.88); max-width: 40ch; margin-top: 0.8rem; font-size: 0.95rem; text-shadow: 0 1px 12px rgba(0,0,0,0.5); }
.up-next-go {
  display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1.6rem;
  padding: 0.85rem 1.7rem; border-radius: 999px; align-self: flex-start;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #fff; font-weight: 600; font-size: 0.9rem;
  transition: background .25s, gap .25s, transform .25s;
}
.up-next:hover .up-next-go { background: linear-gradient(135deg,var(--green),var(--teal)); border-color: transparent; gap: 0.9rem; }
.up-next-go::after { content:'→'; }
@media (max-width: 620px) {
  .up-next-inner { padding: 2.2rem 1.6rem; }
  .up-next, .up-next-inner { min-height: 340px; }
}
