:root {
  color-scheme: light;
  --bg: #fff5f1;
  --bg-alt: #ffe7de;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --ink: #4b2340;
  --muted: #7d5b71;
  --pink: #ff4ea2;
  --pink-deep: #e71f84;
  --coral: #ff8a68;
  --peach: #ffd0be;
  --shell: #fff5d6;
  --aqua: #68dccd;
  --shadow: 0 24px 70px rgba(229, 46, 118, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --border: 1px solid rgba(255, 255, 255, 0.7);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 78, 162, 0.18), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(255, 138, 104, 0.18), transparent 22%),
    radial-gradient(circle at 12% 84%, rgba(104, 220, 205, 0.14), transparent 22%),
    linear-gradient(180deg, #fff8f5 0%, #fff1eb 48%, #ffe8df 100%);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255, 122, 174, 0.2) 1px, transparent 0);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15));
  opacity: 0.32;
}

body::after {
  content: "";
  position: fixed;
  right: -2rem;
  top: 10rem;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
  filter: blur(6px);
  pointer-events: none;
  transform: rotate(-10deg);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a.button {
  font: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 3rem;
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0 1.2rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  border: var(--border);
}

.brand strong,
.section-heading h2,
.hero h1,
.story-card h2,
.note-card h3,
.highlight-card h3,
.quote-card blockquote,
.friend-card h2,
.pet-card h2,
.hobby-card h2,
.scrap-card h2,
.profile-stat strong {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.02em;
}

.brand strong {
  display: block;
  font-size: 1rem;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.brand-mark {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 800;
  background: linear-gradient(145deg, var(--pink) 0%, var(--coral) 100%);
  box-shadow: 0 14px 30px rgba(255, 78, 162, 0.32);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.site-nav a {
  padding: 0.78rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--muted);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(255, 78, 162, 0.14), rgba(255, 138, 104, 0.18));
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(231, 31, 132, 0.12);
}

.hero,
.section,
.split {
  display: grid;
  gap: 1.35rem;
}

.hero {
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
  align-items: stretch;
  margin-top: 0.5rem;
}

.hero-copy,
.hero-panel,
.card,
.memory-board,
.scrapbook-tools {
  background: var(--surface);
  backdrop-filter: blur(18px);
  border: var(--border);
  box-shadow: var(--shadow);
}

.card,
.memory-board,
.scrapbook-tools {
  border-radius: var(--radius-xl);
}

.surface-glow {
  position: relative;
  overflow: hidden;
}

.surface-glow::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(255, 78, 162, 0.2), rgba(255, 78, 162, 0));
  pointer-events: none;
}

.hero-copy,
.story-card,
.quote-card,
.profile-card,
.note-card,
.highlight-card,
.hobby-card,
.friend-card,
.pet-card,
.scrap-card {
  padding: 1.4rem;
}

.hero h1,
.section-heading h2 {
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: 0.96;
  margin: 0 0 1rem;
}

.lede,
.story-card p,
.quote-card p,
.profile-card p,
.note-card p,
.highlight-card p,
.hobby-card p,
.friend-card p,
.pet-card p,
.scrap-card p,
.pet-banner p,
.tool-note,
.mini-card p,
.memory-note,
.vibe-strip p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1rem;
}

.eyebrow,
.card-label,
.pet-tag,
.sticker,
.big-badge,
.chip,
.filter-chip,
.pet-chip,
.profile-stat span {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 800;
}

.eyebrow {
  color: var(--pink-deep);
  margin: 0 0 0.55rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.4rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.15rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.button:hover,
.filter-chip:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--pink) 0%, var(--coral) 100%);
  box-shadow: 0 16px 34px rgba(231, 31, 132, 0.24);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.vibe-strip,
.soft-card {
  padding: 1.1rem 1.1rem 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.75);
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 78, 162, 0.12);
  color: var(--pink-deep);
  margin: 0 0.35rem 0.4rem 0;
}

.hero-panel {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.portrait-window {
  position: relative;
  min-height: 24rem;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)),
    linear-gradient(145deg, #ffb8dd 0%, #ff8a68 52%, #fef0cf 100%);
}

.portrait-badge {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 2;
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  font-weight: 800;
  color: var(--ink);
}

.portrait-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.portrait-art::before {
  content: "";
  position: absolute;
  inset: 18% 16% 18% 16%;
  border-radius: 45% 55% 50% 50% / 46% 46% 54% 54%;
  background: rgba(255, 255, 255, 0.3);
  filter: blur(10px);
}

.sun {
  position: absolute;
  right: 14%;
  top: 10%;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.14);
}

.shell,
.palm {
  position: absolute;
  opacity: 0.95;
}

.shell {
  width: 4rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 55% 45% 50% 50% / 55% 55% 45% 45%;
  box-shadow: inset 0 -0.35rem 0 rgba(255, 138, 104, 0.22);
}

.shell::before,
.shell::after {
  content: "";
  position: absolute;
  inset: 0.5rem 0.9rem;
  border-left: 2px solid rgba(231, 31, 132, 0.2);
  border-right: 2px solid rgba(231, 31, 132, 0.2);
  border-radius: 50%;
}

.shell-a {
  left: 12%;
  bottom: 12%;
  transform: rotate(-18deg);
}

.shell-b {
  right: 18%;
  bottom: 18%;
  transform: rotate(8deg);
}

.palm {
  width: 4px;
  height: 11rem;
  background: rgba(75, 35, 64, 0.2);
  bottom: 0;
  transform-origin: bottom center;
}

.palm::before,
.palm::after {
  content: "";
  position: absolute;
  width: 4rem;
  height: 2px;
  background: rgba(75, 35, 64, 0.18);
  border-radius: 999px;
  transform-origin: left center;
}

.palm::before {
  top: 0.2rem;
  transform: rotate(-30deg);
  box-shadow: 1.5rem 1rem 0 rgba(75, 35, 64, 0.12), 3rem 1.4rem 0 rgba(75, 35, 64, 0.08);
}

.palm::after {
  top: 1rem;
  transform: rotate(24deg);
  box-shadow: 1.2rem -0.7rem 0 rgba(75, 35, 64, 0.12), 2.8rem -1rem 0 rgba(75, 35, 64, 0.08);
}

.palm-a {
  left: 16%;
  transform: rotate(-6deg);
}

.palm-b {
  right: 18%;
  transform: rotate(7deg);
}

.mini-grid,
.grid,
.scrap-grid {
  display: grid;
  gap: 1rem;
}

.mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-card,
.memory-note {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.mini-card strong {
  display: block;
  margin-bottom: 0.4rem;
}

.section {
  margin-top: 1.5rem;
}

.section-heading {
  max-width: 48rem;
}

.grid.four-up {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.two-by-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.highlight-card,
.note-card,
.friend-card,
.pet-card,
.hobby-card,
.scrap-card {
  position: relative;
  overflow: hidden;
}

.highlight-card::before,
.note-card::before,
.friend-card::before,
.pet-card::before,
.hobby-card::before,
.scrap-card::before {
  content: "";
  position: absolute;
  inset: auto -3rem -3rem auto;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 78, 162, 0.08), rgba(255, 78, 162, 0));
}

.icon,
.sticker {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 78, 162, 0.14), rgba(255, 138, 104, 0.16));
  margin-bottom: 0.8rem;
}

.profile-card {
  display: grid;
  gap: 1rem;
}

.profile-stat {
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.74);
}

.profile-stat span,
.pet-tag,
.card-label {
  display: inline-block;
  color: var(--pink-deep);
  margin-bottom: 0.45rem;
}

.quote-card blockquote {
  font-size: clamp(1.5rem, 2vw, 2.3rem);
  margin: 0 0 1rem;
  line-height: 1.05;
}

.badge-stack,
.pet-banner,
.scrapbook-tools,
.memory-board {
    padding: 1rem;
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.big-badge,
.pet-chip,
.filter-chip {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.65);
}

.big-badge {
  color: var(--ink);
}

.bullet-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.bullet-list li + li {
  margin-top: 0.6rem;
}

.memory-board {
  padding: 1rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 240, 229, 0.76));
}

.memory-note {
  transform: rotate(var(--rotate, 0deg));
  box-shadow: 0 16px 36px rgba(229, 46, 118, 0.08);
}

.note-pink {
  --rotate: -2deg;
}

.note-coral {
  --rotate: 1.5deg;
}

.note-cream {
  --rotate: -1deg;
}

.scrapbook-tools {
  padding: 1rem;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.filter-chip.active {
  background: linear-gradient(135deg, var(--pink), var(--coral));
  color: white;
}

.scrap-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scrap-card {
  min-height: 15rem;
}

.scrap-card img {
  display: block;
  width: 50%;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  margin: 0 auto 0.8rem;
}

.scrap-card.hidden {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .hero,
  .split,
  .grid.four-up,
  .grid.three-up,
  .grid.two-by-two,
  .scrap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 1rem, 1180px);
    padding-top: 0.8rem;
  }

  .site-header {
    position: sticky;
    top: 0.4rem;
    z-index: 20;
    padding: 0.4rem 0;
    backdrop-filter: blur(20px);
  }

  .brand {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    white-space: nowrap;
  }

  .hero h1,
  .section-heading h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .grid.four-up,
  .grid.three-up,
  .grid.two-by-two,
  .split,
  .mini-grid,
  .scrap-grid {
    grid-template-columns: 1fr;
  }

  .portrait-window {
    min-height: 20rem;
  }
}