/* ============================================
   NIAH'S HOUSE — Static Portfolio CSS
   ============================================ */

/* --- Google Fonts are loaded in HTML head --- */

/* ============================================
   CSS Variables / Design Tokens
   ============================================ */
:root {
  --background: hsl(340, 60%, 96%);
  --foreground: hsl(20, 40%, 20%);
  --border: hsl(340, 30%, 85%);
  --card: hsl(40, 50%, 98%);
  --card-foreground: hsl(20, 40%, 20%);
  --primary: hsl(270, 50%, 85%);
  --primary-foreground: hsl(20, 40%, 20%);
  --secondary: hsl(340, 70%, 92%);
  --secondary-foreground: hsl(20, 40%, 20%);
  --muted: hsl(40, 30%, 90%);
  --muted-foreground: hsl(20, 30%, 40%);
  --accent: hsl(45, 80%, 85%);
  --accent-foreground: hsl(20, 40%, 20%);
  --radius: 1.5rem;
  --font-sans: 'Outfit', sans-serif;
  --font-serif: 'Fraunces', serif;
  --font-mono: Menlo, monospace;
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  cursor: none;
  overflow-x: hidden;
}

@media (pointer: coarse) {
  body { cursor: auto; }
}

img { max-width: 100%; display: block; }
button { cursor: none; }
a { text-decoration: none; color: inherit; }

/* ============================================
   Keyframe Animations
   ============================================ */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes float-house {
  0%, 100% { transform: translateY(-15px); }
  50% { transform: translateY(15px); }
}

@keyframes cloud-drift {
  0%   { transform: translateX(-10vw); opacity: 0; }
  10%  { opacity: 0.8; }
  90%  { opacity: 0.8; }
  100% { transform: translateX(110vw); opacity: 0; }
}

@keyframes sparkle-rot {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes curtain-sway {
  0%, 100% { transform: rotate(0deg) skew(0deg); }
  25%       { transform: rotate(1deg) skew(1deg); }
  75%       { transform: rotate(-1deg) skew(-1deg); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes nav-slide-in {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

@keyframes shimmer {
  from { transform: skewX(-12deg) translateX(-100%); }
  to   { transform: skewX(-12deg) translateX(200%); }
}

@keyframes particle-fall {
  from { opacity: 1; transform: translateY(0px) scale(1); }
  to   { opacity: 0; transform: translateY(22px) scale(0.6); }
}

/* ============================================
   Utility Classes
   ============================================ */
.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-slow { animation: float 10s ease-in-out infinite; }
.animate-cloud-drift { animation: cloud-drift 40s linear infinite; }
.animate-fade-up { animation: fade-up 0.8s ease-out forwards; }
.animate-scale-in { animation: scale-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }

.font-serif { font-family: var(--font-serif); }
.font-sans  { font-family: var(--font-sans); }
.font-mono  { font-family: var(--font-mono); }

.italic { font-style: italic; }
.text-center { text-align: center; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ============================================
   Paper Texture Overlay
   ============================================ */
.paper-texture {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ============================================
   Sticker Border Effect
   ============================================ */
.sticker-border {
  filter:
    drop-shadow(0 2px 0 rgba(255,255,255,1))
    drop-shadow(0 -2px 0 rgba(255,255,255,1))
    drop-shadow(2px 0 0 rgba(255,255,255,1))
    drop-shadow(-2px 0 0 rgba(255,255,255,1));
}

/* ============================================
   Lace Edge
   ============================================ */
.lace-edge {
  background-image: radial-gradient(circle at 10px 0, transparent 10px, var(--card) 11px);
  background-size: 20px 20px;
  background-repeat: repeat-x;
  height: 10px;
  width: 100%;
}

/* ============================================
   Wallpaper / Dotted BG
   ============================================ */
.wallpaper-bg {
  background-color: var(--background);
  background-image: radial-gradient(hsla(270,50%,85%,0.2) 2px, transparent 2px);
  background-size: 30px 30px;
}

/* ============================================
   Wood Frame (for posters / cards)
   ============================================ */
.wood-frame {
  box-shadow:
    inset 0 0 10px rgba(0,0,0,0.1),
    0 4px 15px rgba(0,0,0,0.05),
    0 1px 3px rgba(0,0,0,0.05);
  border: 8px solid var(--muted);
}

/* ============================================
   Shelf Line
   ============================================ */
.shelf-line {
  height: 12px;
  background: linear-gradient(to bottom, var(--border), var(--muted));
  border-radius: 4px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  position: relative;
}
.shelf-line::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 5%; right: 5%;
  height: 10px;
  background: radial-gradient(circle at top, rgba(0,0,0,0.05) 0%, transparent 70%);
}

/* ============================================
   Video
   ============================================ */
video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.video-placeholder {
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(255,245,248,0.92) 0%, rgba(253,232,239,0.95) 100%);
  color: var(--muted-foreground);
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
}

/* ============================================
   Custom Cursor & Particles
   ============================================ */
#custom-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 84px; height: 84px;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-62px, -10px);
  transition: transform 0.05s linear;
  image-rendering: pixelated;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.18));
}

.cursor-particle {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  image-rendering: pixelated;
  animation: particle-fall 0.7s ease-out forwards;
}

/* ============================================
   Floating Nav
   ============================================ */
#floating-nav {
  position: fixed;
  top: 1.5rem;
  left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 1rem;
  transform: translateY(-120%);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
  opacity: 0;
}
#floating-nav.visible {
  transform: translateY(0);
  opacity: 1;
}
.nav-inner {
  background: rgba(255, 253, 249, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-radius: 9999px;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  pointer-events: auto;
  filter:
    drop-shadow(0 2px 0 rgba(255,255,255,1))
    drop-shadow(0 -2px 0 rgba(255,255,255,1))
    drop-shadow(2px 0 0 rgba(255,255,255,1))
    drop-shadow(-2px 0 0 rgba(255,255,255,1));
}
.nav-btn {
  position: relative;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-sans);
  letter-spacing: 0.025em;
  color: var(--muted-foreground);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.nav-btn:hover { color: var(--foreground); background: hsla(40,30%,90%,0.5); }
.nav-btn.active {
  color: var(--primary-foreground);
  background: var(--primary);
}

/* Nav pill slide animation */
.nav-btn.active { transition: background 0.3s cubic-bezier(0.34,1.56,0.64,1); }

/* ============================================
   Layout
   ============================================ */
.page-wrap {
  min-height: 100vh;
  background-color: hsl(340,60%,96%);
  overflow-x: hidden;
  position: relative;
}

/* ============================================
   Cloud Layer
   ============================================ */
.cloud-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}
.cloud {
  position: absolute;
  object-fit: contain;
}
.cloud-1 { top: 10%; left: 10%; width: 300px; height: 200px; opacity: 0.6; animation: cloud-drift 40s linear infinite; }
.cloud-2 { top: 40%; right: 10%; width: 400px; height: 250px; animation: cloud-drift 50s linear infinite; animation-delay: -15s; }
.cloud-3 { bottom: 20%; left: 5%; width: 250px; height: 150px; animation: cloud-drift 45s linear infinite; animation-delay: -30s; }

/* ============================================
   Section Common
   ============================================ */
section { position: relative; z-index: 10; }
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .section-inner { padding: 0 2rem; }
}

.section-title {
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--foreground);
}

.section-title.in-view {
  animation: fade-up 0.6s ease-out forwards;
}

/* ============================================
   1. Landing / Hero
   ============================================ */
#welcome {
  height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-house-wrap {
  position: absolute;
  top: 2vh;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  z-index: -1;
  overflow: hidden;
}
.hero-house-float {
  animation: float-house 6s ease-in-out infinite;
}
.hero-house-img {
  width: 78vw;
  max-width: 560px;
  height: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

.hero-card {
  position: relative;
  z-index: 10;
  margin-top: 40vh;
  background: rgba(255,253,249,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.5rem 1.75rem;
  border-radius: 1rem;
  border: 2px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  text-align: center;
  opacity: 0;
  animation: fade-up 0.8s ease-out 0.5s forwards;
  filter:
    drop-shadow(0 2px 0 rgba(255,255,255,1))
    drop-shadow(0 -2px 0 rgba(255,255,255,1))
    drop-shadow(2px 0 0 rgba(255,255,255,1))
    drop-shadow(-2px 0 0 rgba(255,255,255,1));
}

.hero-sparkle-spin {
  position: absolute;
  top: -0.75rem; right: -0.75rem;
  color: var(--accent);
  animation: sparkle-rot 10s linear infinite;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--primary-foreground);
  margin-bottom: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.hero-subtitle {
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--muted-foreground);
  font-style: italic;
  margin-bottom: 1rem;
}

.btn-enter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-family: var(--font-sans);
  border: 2px solid rgba(255,255,255,0.2);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-enter:hover { transform: scale(1.05); }
.btn-enter:active { transform: scale(0.95); }
.btn-enter .shimmer {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.2);
  transform: skewX(-12deg) translateX(-100%);
  transition: none;
}
.btn-enter:hover .shimmer {
  animation: shimmer 0.5s forwards;
}

/* ============================================
   Transition Dividers
   ============================================ */
.section-divider {
  width: 100%;
  height: 8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
}
.section-divider .line {
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, var(--border), transparent);
  opacity: 0.5;
}
.section-divider .heart-divider {
  color: var(--border);
  opacity: 0.5;
}

/* ============================================
   2. About
   ============================================ */
#about {
  padding: 8rem 0;
  scroll-margin-top: 2.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* Photo stamp */
.photo-stamp-wrap {
  display: flex;
  justify-content: center;
}
.photo-rotate {
  transform: rotate(-3deg);
  transition: transform 0.5s;
}
.photo-rotate:hover { transform: rotate(-1deg); }

.washi-tape {
  position: absolute;
  top: -1rem; left: 1.5rem;
  width: 6rem; height: 1.5rem;
  background-color: hsla(270,50%,85%,0.7);
  transform: rotate(-8deg);
  z-index: 20;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.4);
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.25) 0 4px, transparent 4px 8px);
}

.stamp-body {
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.stamp-perforation {
  position: absolute;
  inset: 0;
  background: white;
  -webkit-mask-image: radial-gradient(circle at 8px 8px, transparent 5px, black 5.5px);
  mask-image: radial-gradient(circle at 8px 8px, transparent 5px, black 5.5px);
  -webkit-mask-size: 16px 16px;
  mask-size: 16px 16px;
}
.stamp-inner { position: relative; padding: 1rem; }
.stamp-photo-border {
  border: 2px solid rgba(0,0,0,0.15);
  padding: 0.5rem;
  background: white;
}
.stamp-photo {
  width: 260px;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}
@media (min-width: 640px) { .stamp-photo { width: 300px; } }

.stamp-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: saturate(0.92) contrast(1.02);
}
.stamp-tint {
  position: absolute; inset: 0;
  background: var(--primary);
  opacity: 0.05;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.stamp-caption {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding: 0 0.25rem;
  font-family: var(--font-serif);
  color: rgba(80,50,30,0.7);
}
.stamp-caption .label { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.2em; }
.stamp-caption .year { font-size: 0.75rem; font-style: italic; }

.postmark {
  position: absolute;
  bottom: -1rem; right: -1rem;
  width: 5rem; height: 5rem;
  border-radius: 50%;
  border: 2px solid hsla(270,50%,85%,0.6);
  color: hsla(270,50%,85%,0.7);
  display: flex; align-items: center; justify-content: center;
  transform: rotate(12deg);
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  z-index: 10;
  text-align: center;
  font-family: var(--font-serif);
}
.postmark-inner { display: flex; flex-direction: column; gap: 0.125rem; }
.postmark-sincerely { font-size: 0.5rem; text-transform: uppercase; letter-spacing: 0.15em; line-height: 1; }
.postmark-name { font-size: 0.875rem; font-style: italic; line-height: 1.2; }
.postmark-flowers { font-size: 0.5rem; letter-spacing: 0.1em; }

.sparkle-float {
  position: absolute;
  top: -1.5rem; right: -0.5rem;
  color: var(--accent);
  animation: float 6s ease-in-out infinite;
}

/* Letter card */
.letter-card {
  position: relative;
  background: var(--card);
  border-radius: 0.75rem;
  padding: 2rem 2.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid rgba(200,180,180,0.3);
  transform: rotate(1deg);
}
.letter-tape {
  position: absolute;
  top: -1rem;
  left: 50%; transform: translateX(-50%) rotate(-3deg);
  width: 6rem; height: 2rem;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(4px);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  border: 1px solid rgba(255,255,255,0.4);
}
.letter-bow {
  position: absolute;
  top: 0.5rem; right: 1rem;
  color: var(--primary);
  opacity: 0.6;
}
.letter-text {
  font-size: 1.05rem;
  line-height: 1.75;
  font-family: var(--font-sans);
  color: rgba(80,50,30,0.9);
}
.letter-quote-box {
  padding: 1.25rem 1.5rem;
  background: hsla(340,70%,92%,0.3);
  border-radius: 1rem;
  border: 1px solid hsla(340,70%,92%,0.5);
  position: relative;
  margin-top: 1.25rem;
}
.letter-quote-pill {
  position: absolute;
  top: 0; left: 1rem;
  transform: translateY(-50%);
  background: var(--secondary);
  color: var(--secondary-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 1px solid var(--border);
  display: flex; align-items: center; gap: 0.25rem;
}
.letter-quote-text {
  font-style: italic;
  color: var(--muted-foreground);
  font-size: 0.9rem;
  font-family: var(--font-sans);
  line-height: 1.6;
}

/* ============================================
   3. Work / Things I've Made
   ============================================ */
#work {
  padding: 8rem 0;
  scroll-margin-top: 2.5rem;
}

.reels-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 4rem;
}
@media (min-width: 768px) {
  .reels-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Reel Window */
.reel-window {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}
.reel-frame {
  background: white;
  padding: 0.75rem;
  border-radius: 0.75rem 0.75rem 0.25rem 0.25rem;
  border: 2px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
}
.reel-video-wrap {
  position: relative;
  border-radius: 0.375rem;
  overflow: hidden;
  border: 1px solid rgba(200,180,180,0.3);
}
.reel-video-wrap.highlight {
  box-shadow: 0 0 0 2px hsla(270,50%,85%,0.4);
}
.reel-video-inner {
  width: 100%;
  aspect-ratio: 9/16;
  background: hsla(0,0%,0%,0.05);
}
.reel-badge {
  position: absolute;
  top: 0.5rem; right: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  display: flex; align-items: center; gap: 0.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 20;
}
.reel-caption {
  background: var(--card);
  border-radius: 0.375rem;
  padding: 1rem;
  margin-top: 0.75rem;
}
.reel-caption p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(80,50,30,0.8);
  font-family: var(--font-sans);
}
.reel-bow {
  position: absolute;
  top: -1rem; left: 50%; transform: translateX(-50%);
  color: var(--secondary);
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
  z-index: 30;
}

/* Strategy / Meocha */
.strategy-section {
  margin-top: 6rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(200,180,180,0.3);
  position: relative;
}
.strategy-label {
  position: absolute;
  top: 0; left: 50%; transform: translate(-50%, -50%);
  background: hsl(340,60%,96%);
  padding: 0 1rem;
  color: var(--muted-foreground);
  font-style: italic;
  font-family: var(--font-serif);
}
.strategy-intro {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  margin-bottom: 3rem;
}
.strategy-intro h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: rgba(80,50,30,0.9);
  line-height: 1.6;
}
.strategy-intro p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  margin-top: 0.75rem;
  font-family: var(--font-sans);
}

.meocha-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 768px) {
  .meocha-grid { grid-template-columns: 2fr 3fr; }
}

.frame-nail {
  position: absolute;
  top: -0.75rem; left: 50%; transform: translateX(-50%);
  width: 1.25rem; height: 1.25rem;
  background: var(--border);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}
.frame-nail-line {
  position: absolute;
  top: -0.75rem; left: 50%; transform: translateX(-50%) translateY(-1.5rem);
  width: 2px; height: 1.5rem;
  background: rgba(200,180,180,0.5);
}

.meocha-brand-frame {
  background: white;
  padding: 0.75rem;
  position: relative;
}
.meocha-brand-frame img { width: 100%; border-radius: 0.125rem; }
.meocha-caption {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-style: italic;
  font-family: var(--font-serif);
  margin-top: 1rem;
}

.calendar-frame {
  background: white;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: 0.375rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.calendar-topbar {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.5rem 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(200,180,180,0.3);
}
.dot-red, .dot-yellow, .dot-green {
  width: 0.625rem; height: 0.625rem;
  border-radius: 50%;
}
.dot-red    { background: #ff6058; }
.dot-yellow { background: #ffbe2f; }
.dot-green  { background: #28c93f; }
.calendar-filename {
  font-size: 0.625rem;
  font-family: var(--font-mono);
  color: var(--muted-foreground);
  margin-left: 0.75rem;
}
.calendar-frame img { width: 100%; border-radius: 0.125rem; }

/* ============================================
   4. Brand Work
   ============================================ */
#brand-work {
  padding: 8rem 0;
  scroll-margin-top: 2.5rem;
}

.brand-cards {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 5rem;
  justify-content: center;
  align-items: center;
}
@media (min-width: 768px) {
  .brand-cards {
    flex-direction: row;
    align-items: flex-start;
    gap: 4rem;
  }
}

.brand-card-btn {
  width: 100%;
  max-width: 360px;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
@media (min-width: 768px) {
  .brand-card-btn:nth-child(2) { transform: translateY(3rem); }
}
.brand-card-inner {
  background: white;
  padding: 1rem;
  position: relative;
  transition: transform 0.3s;
}
.brand-card-btn:hover .brand-card-inner { transform: translateY(-4px); }

.brand-pattern {
  aspect-ratio: 4/3;
  margin-bottom: 1rem;
  overflow: hidden;
  position: relative;
  background: #fff1f5;
}
.brand-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  text-align: center;
}
.brand-card-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.6;
  font-family: var(--font-sans);
  text-align: center;
}
.brand-card-cta {
  font-size: 0.6875rem;
  color: hsla(270,50%,65%,0.8);
  font-style: italic;
  font-family: var(--font-serif);
  text-align: center;
  margin-top: 0.75rem;
}

/* ============================================
   5. Creative Work (Posters)
   ============================================ */
#creative-work {
  padding: 8rem 0;
  scroll-margin-top: 2.5rem;
}
.work-instagram-intro {
  font-size: 1rem;
  font-family: var(--font-serif);
  text-align: center;
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 1.25rem auto 0;
  font-style: italic;
  line-height: 1.7;
}

.creative-intro {
  font-size: 1.1rem;
  font-family: var(--font-serif);
  text-align: center;
  color: var(--muted-foreground);
  max-width: 40rem;
  margin: 0 auto 4rem;
  font-style: italic;
  line-height: 1.7;
}

.posters-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .posters-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

.poster-item {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s;
}
.poster-item.rot-neg-2 { transform: rotate(-2deg); }
.poster-item.rot-pos-1 { transform: rotate(1deg); }
.poster-item.rot-neg-1 { transform: rotate(-1deg); }
.poster-item:hover { transform: rotate(0deg); }

.poster-btn {
  background: white;
  padding: 0.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  cursor: pointer;
  aspect-ratio: 3/4;
  overflow: hidden;
  display: block;
  width: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}
.poster-btn:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.1); transform: translateY(-4px); }
.poster-btn img { width: 100%; height: 100%; object-fit: cover; }

.poster-label {
  margin-top: 1rem;
  text-align: center;
  padding: 0 0.5rem;
}
.poster-title {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}
.poster-sub { color: var(--muted-foreground); font-style: italic; font-size: 0.75rem; font-family: var(--font-sans); }
.poster-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-family: var(--font-sans);
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* ============================================
   6. Projects
   ============================================ */
#projects {
  padding: 8rem 0;
  scroll-margin-top: 2.5rem;
}

.project-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  max-width: 48rem;
  margin: 0 auto;
  transform: rotate(-1deg);
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .project-card { flex-direction: row; }
}
.project-card:hover { transform: rotate(-0.5deg); }

.project-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  background: white;
  border-radius: 0.75rem;
  border: 1px solid rgba(200,180,180,0.3);
  padding: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
@media (min-width: 768px) { .project-img-wrap { width: 33%; } }
.project-img-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
  transition: transform 0.5s;
}
.project-card:hover .project-img-wrap img { transform: scale(1.05); }

.project-content { width: 100%; }
.project-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--secondary);
  color: var(--secondary-foreground);
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.project-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.project-desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted-foreground);
  font-family: var(--font-sans);
  margin-bottom: 1rem;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: hsla(270,50%,85%,0.2);
  color: var(--foreground);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid hsla(270,50%,85%,0.3);
  transition: background 0.2s;
}
.project-link:hover { background: hsla(270,50%,85%,0.4); }

.project-future {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(4px);
  border: 1px dashed rgba(100,80,80,0.3);
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  max-width: 28rem;
  margin: 0 auto;
  transform: rotate(1deg);
}
.project-future .future-label {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}
.project-future h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
}
.project-future p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
  font-family: var(--font-sans);
}

/* ============================================
   7. Skills
   ============================================ */
#skills {
  padding: 5rem 0;
}
.skills-wrap { max-width: 56rem; margin: 0 auto; text-align: center; padding: 0 1rem; }
.skills-heading {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--muted-foreground);
  font-style: italic;
  margin-bottom: 2.5rem;
}
.skills-category-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(100,80,80,0.8);
  font-family: var(--font-sans);
  margin-bottom: 1.25rem;
}
.pills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 3rem;
}

.skill-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  font-weight: 500;
  font-size: 0.875rem;
  font-family: var(--font-sans);
  transition: transform 0.2s;
  position: relative;
  z-index: 10;
}
.skill-pill:hover { transform: translateY(-4px); }
.skill-pill .pill-icon {
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s;
}
.skill-pill:hover .pill-icon { color: var(--accent); }

/* ============================================
   8. Art & Writing
   ============================================ */
#art-writing {
  padding: 6rem 0;
  scroll-margin-top: 2.5rem;
}
.art-intro {
  max-width: 36rem;
  margin: 1.5rem auto 3.5rem;
  font-size: 1rem;
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(80,50,30,0.8);
  line-height: 1.7;
  text-align: center;
}

.art-doors {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 42rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .art-doors { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.art-door-btn {
  background: white;
  border-radius: 1.5rem;
  border: 2px solid var(--border);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s;
  filter:
    drop-shadow(0 2px 0 rgba(255,255,255,1))
    drop-shadow(0 -2px 0 rgba(255,255,255,1))
    drop-shadow(2px 0 0 rgba(255,255,255,1))
    drop-shadow(-2px 0 0 rgba(255,255,255,1));
  width: 100%;
}
.art-door-btn:hover { transform: translateY(-4px); }
@media (min-width: 768px) {
  .art-door-btn:nth-child(2) { transform: translateY(1.5rem); }
  .art-door-btn:nth-child(2):hover { transform: translateY(1rem); }
}

.door-top-icon {
  position: absolute;
  top: -0.75rem; left: 50%; transform: translateX(-50%);
  background: white;
  padding: 0 0.5rem;
  color: var(--primary);
}
.door-icon-wrap {
  display: flex; align-items: center; justify-content: center;
  width: 5rem; height: 5rem;
  margin: 0 auto 1.25rem;
  border-radius: 1rem;
  background: #fde8ef;
  border: 1px solid rgba(200,180,180,0.3);
}
.door-icon-wrap svg { width: 2.5rem; height: 2.5rem; color: var(--primary); fill: currentColor; }
.door-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 0.25rem;
}
.door-subtitle {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-style: italic;
  font-family: var(--font-serif);
  text-align: center;
}
.door-cta {
  font-size: 0.6875rem;
  color: hsla(270,50%,65%,0.8);
  font-style: italic;
  font-family: var(--font-serif);
  text-align: center;
  margin-top: 0.75rem;
}

/* ============================================
   9. Contact
   ============================================ */
#contact {
  padding: 5rem 0 8rem;
  scroll-margin-top: 2.5rem;
}
.contact-inner { max-width: 48rem; margin: 0 auto; text-align: center; padding: 0 1rem; }

.door-illustration {
  width: 8rem; height: 8rem;
  margin: 0 auto 2.5rem;
}
.door-ring {
  width: 100%; height: 100%;
  background: white;
  border-radius: 50% 50% 0 0;
  border: 6px solid var(--secondary);
  box-shadow: inset 0 4px 12px rgba(0,0,0,0.06);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.door-knob {
  position: absolute; top: 50%; right: 1rem;
  width: 0.75rem; height: 0.75rem;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.door-img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }

.contact-card {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 1rem;
  padding: 2rem 3rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  position: relative;
}
.contact-bow {
  position: absolute;
  top: -1rem; left: 50%; transform: translateX(-50%);
  background: hsl(340,60%,96%);
  padding: 0 0.5rem;
  color: var(--primary);
}
.contact-quote {
  font-size: 1.1rem;
  font-family: var(--font-serif);
  font-style: italic;
  margin-bottom: 2rem;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}
@media (min-width: 640px) {
  .contact-links { flex-direction: row; }
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  font-size: 0.875rem;
  font-family: var(--font-sans);
  transition: box-shadow 0.2s, transform 0.2s;
  width: 100%;
  justify-content: center;
}
@media (min-width: 640px) { .contact-link { width: auto; } }
.contact-link:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); transform: translateY(-4px); }
.contact-link svg { color: var(--primary); width: 1rem; height: 1rem; flex-shrink: 0; }

/* ============================================
   10. Closing Beach Scene
   ============================================ */
#closing {
  padding: 2rem 1rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.closing-img-wrap {
  position: relative;
  width: 220px;
  transform: rotate(2deg);
  background: white;
  padding: 0.625rem 0.625rem 2.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  border: 1px solid rgba(200,180,180,0.3);
}
.closing-img {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) brightness(1.02);
}
.closing-tint-1 {
  position: absolute; inset: 0.625rem 0.625rem 2.5rem;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,225,232,0.2) 0%, rgba(247,184,201,0.15) 100%);
  mix-blend-mode: soft-light;
}
.closing-tint-2 { display: none; }
.closing-text {
  text-align: center;
  pointer-events: none;
}
.closing-text p {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
}

/* ============================================
   11. Footer
   ============================================ */
footer {
  padding: 1rem 1rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}
footer .footer-line { width: 2.5rem; height: 1px; background: rgba(200,180,180,0.6); margin-bottom: 0.75rem; }
footer .footer-main {
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(80,50,30,0.8);
  font-size: clamp(0.875rem, 2vw, 1rem);
}
footer .footer-copy {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: rgba(100,80,80,0.8);
}

/* ============================================
   Modals
   ============================================ */
.modal-overlay {
  position: fixed; inset: 0;
  z-index: 9000;
  background: rgba(80,50,30,0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #fef5f8;
  border: 2px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  padding: 1.5rem 2rem;
  position: relative;
  width: 100%;
  max-width: 56rem;
  margin: auto;
  transform: scale(0.95) translateY(20px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), opacity 0.25s;
}
.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: -0.75rem; right: -0.75rem;
  width: 2.25rem; height: 2.25rem;
  background: white;
  border: 2px solid var(--border);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-family: var(--font-serif);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 10;
}
.modal-close:hover { background: var(--primary); color: var(--primary-foreground); }

.modal-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
  text-align: center;
  margin-bottom: 0.25rem;
}
.modal-subtitle {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-style: italic;
  font-family: var(--font-serif);
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Reels modal videos */
.reels-videos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 1.5rem;
}
.reel-modal-item {
  background: white;
  padding: 0.625rem;
  width: 200px;
  border: 8px solid var(--muted);
  box-shadow: inset 0 0 10px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.05);
}
@media (min-width: 640px) { .reel-modal-item { width: 220px; } }
.reel-modal-video {
  aspect-ratio: 9/16;
  background: rgba(0,0,0,0.04);
  overflow: hidden;
  border-radius: 0.125rem;
}

/* Poster lightbox */
.poster-modal-box {
  background: none;
  border: none;
  box-shadow: none;
  max-width: 48rem;
  padding: 0;
}
.poster-modal-box img {
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 0.125rem;
}

/* Art / Poetry modal */
.art-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.art-frame {
  position: relative;
  background: white;
  padding: 0.75rem;
  border-radius: 0.375rem;
  box-shadow: 0 0 0 2px #f7c8d6, 0 4px 14px rgba(231,140,170,0.18);
}
.art-frame-inner {
  aspect-ratio: 1;
  background: #fde8ef;
  border-radius: 0.125rem;
  display: flex; align-items: center; justify-content: center;
}
.art-frame-inner p {
  font-size: 0.75rem;
  color: hsla(270,50%,65%,0.7);
  font-style: italic;
  font-family: var(--font-serif);
  padding: 1rem;
  text-align: center;
}
.art-frame-inner.has-image {
  background: #fde8ef;
  overflow: hidden;
  padding: 0.5rem;
}
.art-frame-inner.has-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.art-caption {
  margin: 0.6rem 0 0;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.85rem;
  color: #b86a8a;
  letter-spacing: 0.03em;
}
.art-coming-soon {
  grid-column: 1/-1;
  text-align: center;
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  font-style: italic;
  font-family: var(--font-serif);
  margin-top: 0.5rem;
}

.poetry-list { display: flex; flex-direction: column; gap: 1.5rem; }
.poetry-scroll {
  position: relative;
  background: #fff5f8;
  border: 1px solid #f7c8d6;
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  box-shadow: 0 2px 8px rgba(231,140,170,0.08);
  background-image: linear-gradient(180deg, rgba(247,200,214,0.18) 0%, rgba(255,245,248,0) 12%, rgba(255,245,248,0) 88%, rgba(247,200,214,0.18) 100%);
}
.poetry-scroll::before, .poetry-scroll::after {
  content: '';
  position: absolute;
  left: 50%; transform: translateX(-50%);
  width: 2rem; height: 0.5rem;
  border-radius: 9999px;
  background: #f7c8d6;
}
.poetry-scroll::before { top: 0; transform: translate(-50%, -50%); }
.poetry-scroll::after  { bottom: 0; transform: translate(-50%, 50%); }
.poetry-text {
  font-family: var(--font-serif);
  font-style: italic;
  text-align: center;
  color: rgba(80,50,30,0.7);
  line-height: 2;
  white-space: pre-line;
}
.poetry-title {
  font-family: var(--font-serif);
  text-align: center;
  color: #b86a8a;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
  font-weight: 600;
}

.poem-titles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.poem-titles li { margin: 0; }
.poem-title-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff5f8;
  border: 1px solid #f7c8d6;
  border-radius: 9999px;
  padding: 0.85rem 1.4rem;
  cursor: pointer;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: #8a4a64;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 1px 4px rgba(231,140,170,0.08);
}
.poem-title-btn:hover {
  background: #fde8ef;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(231,140,170,0.18);
}
.poem-title-btn[aria-expanded="true"] {
  background: #fde8ef;
  color: #b86a8a;
}
.poem-title-glyph {
  color: #d99cb5;
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}
.poem-title-btn[aria-expanded="true"] .poem-title-glyph {
  transform: rotate(45deg);
}
.poem-panel {
  overflow: hidden;
  margin-top: 0.6rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.poem-panel.open {
  opacity: 1;
  transform: translateY(0);
}
.poem-scroll {
  position: relative;
  background: #fff5f8;
  border: 1px solid #f7c8d6;
  border-radius: 1rem;
  padding: 20px;
  line-height: 1.6;
  font-size: 1rem;
  white-space: pre-line;
  box-shadow: 0 2px 8px rgba(231,140,170,0.08);
  background-image: linear-gradient(180deg, rgba(247,200,214,0.18) 0%, rgba(255,245,248,0) 12%, rgba(255,245,248,0) 88%, rgba(247,200,214,0.18) 100%);
}
.poem-scroll::before, .poem-scroll::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 2rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #f7c8d6;
}
.poem-scroll::before { top: 0; transform: translate(-50%, -50%); }
.poem-scroll::after  { bottom: 0; transform: translate(-50%, 50%); }
.poem-scroll .poetry-text {
  margin: 0;
  padding: 0.5rem 0.25rem;
}
@media (max-width: 480px) {
  .poem-title-btn { font-size: 0.95rem; padding: 0.75rem 1.1rem; }
  .poem-scroll { padding: 16px; font-size: 0.95rem; }
}
.poetry-coming-soon {
  text-align: center;
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  font-style: italic;
  font-family: var(--font-serif);
}

/* ============================================
   Scroll Reveal (JS-applied)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
