:root {
  --cream: #f5ede0;
  --cream-deep: #ede1ce;
  --caramel: #c08552;
  --caramel-deep: #a56a3a;
  --sienna: #8b4513;
  --rust: #6d3410;
  --ink: #2a1810;
  --ink-soft: #4a3525;
  --accent: #d4a574;
  --shadow: rgba(45, 24, 16, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  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.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: multiply;
}

main {
  position: relative;
  z-index: 2;
}

/* Typography */
.display {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.display-italic {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
}

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--caramel-deep);
}

/* HERO */
.hero {
  min-height: 100vh;
  position: relative;
  padding: 2rem 5vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-deep) 100%);
  overflow: hidden;
}

.hero-bg-text {
  position: absolute;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(15rem, 35vw, 40rem);
  color: var(--caramel);
  opacity: 0.06;
  bottom: -8vw;
  right: -2vw;
  font-weight: 400;
  pointer-events: none;
  user-select: none;
  line-height: 0.8;
}

.hero-content {
  position: relative;
  z-index: 3;
  animation: fadeUp 1.2s ease-out;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.hero-meta-line {
  width: 3rem;
  height: 1px;
  background: var(--caramel-deep);
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.hero h1 .italic {
  font-style: italic;
  color: var(--sienna);
}

.hero-tagline {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-weight: 300;
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 30rem;
  margin-bottom: 3rem;
}

.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  background: var(--rust);
  color: var(--cream);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.urgency-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1.1rem 2.2rem;
  border: none;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--rust);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn:focus-visible,
.contact-method:focus-visible,
.burger-nav a:focus-visible,
.back-to-top:focus-visible {
  outline: 2px solid var(--caramel);
  outline-offset: 3px;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Hero image */
.hero-image-wrap {
  position: relative;
  z-index: 2;
  height: 80vh;
  max-height: 700px;
}

.hero-image-frame {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(45, 24, 16, 0.25);
  animation: imageReveal 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-image-caption {
  position: absolute;
  bottom: -3rem;
  left: 1rem;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

@keyframes imageReveal {
  from {
    clip-path: inset(0 0 100% 0);
    -webkit-clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0 0 0% 0);
    -webkit-clip-path: inset(0 0 0% 0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section base */
section {
  padding: 8rem 5vw;
  position: relative;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-eyebrow::before {
  content: '';
  width: 3rem;
  height: 1px;
  background: var(--caramel-deep);
}

/* QUICK FACTS */
.quick-facts {
  background: var(--ink);
  color: var(--cream);
  padding: 4rem 5vw;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.fact {
  border-left: 1px solid rgba(245, 237, 224, 0.2);
  padding-left: 1.5rem;
}

.fact-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.fact-value {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 400;
}

.fact-value .italic {
  font-style: italic;
}

/* STORY SECTION */
.story {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10rem 5vw;
}

.story-intro {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 5rem;
  max-width: 50rem;
  color: var(--ink);
}

.story-intro .accent {
  font-style: italic;
  color: var(--sienna);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.story-text {
  position: sticky;
  top: 4rem;
}

.story-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  color: var(--ink-soft);
}

.story-text p:first-child::first-letter {
  font-family: 'Fraunces', serif;
  font-size: 4.5rem;
  float: left;
  line-height: 0.85;
  margin: 0.4rem 0.6rem 0 0;
  color: var(--sienna);
  font-weight: 400;
}

.story-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.story-img {
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 15px 40px var(--shadow);
}

.story-img:nth-child(2) {
  margin-top: 4rem;
}

.story-img:nth-child(3) {
  aspect-ratio: 4/3;
  grid-column: span 2;
  margin-top: 1rem;
}

.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.story-img:hover img {
  transform: scale(1.04);
}

/* PERSONALITY */
.personality {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  padding: 10rem 5vw;
}

.personality-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.personality-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 5rem;
  max-width: 50rem;
}

.personality-title .italic {
  font-style: italic;
  color: var(--sienna);
}

.traits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.trait {
  background: var(--cream);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  border: 1px solid rgba(139, 69, 19, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.trait:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px var(--shadow);
  border-color: var(--caramel);
}

.trait-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 3rem;
  color: var(--caramel);
  opacity: 0.4;
  margin-bottom: 1rem;
  line-height: 1;
}

.trait h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--ink);
}

.trait p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* HEALTH */
.health {
  padding: 10rem 5vw;
  background: var(--ink);
  color: var(--cream);
}

.health-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.health .section-eyebrow::before {
  background: var(--accent);
}

.health .eyebrow {
  color: var(--accent);
}

.health-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 4rem;
  max-width: 50rem;
}

.health-title .italic {
  font-style: italic;
  color: var(--accent);
}

.health-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.health-list {
  list-style: none;
}

.health-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(245, 237, 224, 0.1);
  align-items: start;
}

.health-icon {
  width: 32px;
  height: 32px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.health-item h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.health-item p {
  font-size: 0.9rem;
  color: rgba(245, 237, 224, 0.7);
  line-height: 1.5;
}

.health-note {
  background: rgba(245, 237, 224, 0.05);
  border-left: 2px solid var(--accent);
  padding: 2rem;
  border-radius: 0 4px 4px 0;
}

.health-note h4 {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.health-note p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(245, 237, 224, 0.85);
}

.health-cta {
  margin-top: 3rem;
  text-align: center;
}

.health-cta .btn {
  background: var(--accent);
  color: var(--ink);
  font-weight: 600;
}

.health-cta .btn:hover {
  background: var(--cream);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(45, 24, 16, 0.3);
}

/* GALLERY */
.gallery {
  padding: 0;
  background: var(--cream);
}

/* Scroll container: tall enough for animation travel */
.gallery-scroll-container {
  height: 300vh;
  position: relative;
  background: var(--cream);
}

/* Sticky panel that stays in view while container scrolls */
.gallery-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.gallery-inner {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 5vw;
  position: relative;
}

.gallery-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 2.5rem;
}

.gallery-title .italic {
  font-style: italic;
  color: var(--sienna);
}

/* Group label row */
.gallery-group-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
}

.gallery-group-line {
  flex: 1;
  height: 1px;
  background: var(--caramel-deep);
  opacity: 0.35;
}

/* Stack wrapper: both groups share the same grid cell */
.gallery-groups-stack {
  display: grid;
  grid-template-areas: "stack";
}

/* Group base */
.gallery-group {
  grid-area: stack;
  transition: opacity 0.7s ease, transform 0.7s ease;
  min-width: 0;
}

/* Before: visible by default, exits upward */
.gallery-group--before {
  opacity: 1;
  transform: translateY(0);
}
.gallery-group--before.exit {
  opacity: 0;
  transform: translateY(-60px);
  pointer-events: none;
}

/* Now: hidden below, enters upward */
.gallery-group--now {
  opacity: 0;
  transform: translateY(60px);
  pointer-events: none;
}
.gallery-group--now.enter {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Shared grid base */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 80px;
  gap: 1rem;
}

.gallery-item {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--shadow);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Before grid: 2 equal columns */
.gallery-grid--before {
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 120px;
}
.gallery-grid--before .gallery-item { grid-column: span 1; grid-row: span 3; }

/* Now grid: masonry */
.gallery-grid--now .gallery-item:nth-child(1) { grid-column: span 5; grid-row: span 4; }
.gallery-grid--now .gallery-item:nth-child(2) { grid-column: span 4; grid-row: span 3; }
.gallery-grid--now .gallery-item:nth-child(3) { grid-column: span 3; grid-row: span 4; }
.gallery-grid--now .gallery-item:nth-child(4) { grid-column: span 4; grid-row: span 4; }
.gallery-grid--now .gallery-item:nth-child(5) { grid-column: span 3; grid-row: span 2; }

/* WHY LEAVING / ADOPTION */
.why {
  background: var(--caramel);
  color: var(--cream);
  padding: 10rem 5vw;
  position: relative;
  overflow: hidden;
}

.why::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, var(--caramel-deep) 0%, transparent 70%);
  opacity: 0.6;
}

.why-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}

.why .eyebrow {
  color: var(--cream);
  opacity: 0.8;
}

.why .section-eyebrow {
  justify-content: center;
}

.why .section-eyebrow::before,
.why .section-eyebrow::after {
  content: '';
  width: 3rem;
  height: 1px;
  background: var(--cream);
  opacity: 0.6;
}

.why-quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.3;
  margin-bottom: 3rem;
  font-weight: 300;
}

.why-text {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 40rem;
  margin: 0 auto;
  opacity: 0.95;
}

/* IDEAL HOME */
.home-section {
  padding: 10rem 5vw;
}

.home-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.home-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 5rem;
  max-width: 60rem;
}

.home-title .italic {
  font-style: italic;
  color: var(--sienna);
}

.home-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
}

.home-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(139, 69, 19, 0.15);
}

.home-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--caramel-deep);
  min-width: 2.5rem;
}

.home-item h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.home-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* SOCIAL */
.social-section {
  background: var(--cream-deep);
  padding: 8rem 5vw;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.social-bg-icon {
  position: absolute;
  width: clamp(220px, 32vw, 420px);
  height: clamp(220px, 32vw, 420px);
  top: 50%;
  color: var(--caramel);
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}

.social-bg-icon--l {
  left: 4vw;
  transform: translateY(-50%);
}

.social-bg-icon--r {
  right: 4vw;
  transform: translateY(-50%);
}

.social-inner {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.social-section .eyebrow {
  color: var(--caramel-deep);
}

.social-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 0 0 1.5rem;
  color: var(--ink);
}

.social-title .italic {
  font-style: italic;
  color: var(--sienna);
}

.social-desc {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 3rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.social-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 560px;
  margin: 0 auto;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 2rem 1.75rem;
  background: var(--cream);
  border: 1px solid rgba(139, 69, 19, 0.12);
  border-radius: 4px;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all 0.35s ease;
  text-align: left;
}

.social-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px var(--shadow);
  border-color: var(--caramel);
}

.social-card:focus-visible {
  outline: 2px solid var(--caramel);
  outline-offset: 3px;
}

.social-card-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.social-card-icon {
  color: var(--sienna);
  flex-shrink: 0;
}

.social-card-handle {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.3;
  margin-top: 0.25rem;
}

.social-card-cta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--caramel-deep);
  margin-top: auto;
  padding-top: 0.5rem;
}

/* CONTACT */
.contact {
  background: var(--ink);
  color: var(--cream);
  padding: 10rem 5vw;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: 'Mila';
  position: absolute;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(20rem, 40vw, 50rem);
  color: var(--cream);
  opacity: 0.04;
  bottom: -8vw;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  line-height: 0.8;
}

.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact .eyebrow {
  color: var(--accent);
}

.contact-title {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  margin: 2rem 0 2rem;
}

.contact-title .italic {
  font-style: italic;
  color: var(--accent);
}

.contact-text {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 3rem;
  color: rgba(245, 237, 224, 0.85);
}

.contact-methods {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
}

.contact-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.5rem 2rem;
  background: rgba(245, 237, 224, 0.08);
  border: 1px solid rgba(245, 237, 224, 0.15);
  border-radius: 12px;
  color: var(--cream);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  min-width: 100px;
}

.contact-method svg {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.contact-method:hover {
  background: rgba(245, 237, 224, 0.15);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
}

.contact-method:hover svg {
  transform: scale(1.1);
}

.contract-note {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(245, 237, 224, 0.6);
  max-width: 30rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* BURGER MENU */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: var(--ink);
  z-index: 1100;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  transform: translateY(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 16px rgba(45, 24, 16, 0.3);
}

.mobile-header.hidden {
  transform: translateY(-100%);
}

.mobile-header-logo {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--cream);
  letter-spacing: -0.01em;
}

.burger-btn {
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.burger-btn span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger-btn.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.burger-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.burger-btn.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.burger-nav {
  display: none;
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  background: var(--ink);
  z-index: 1090;
  flex-direction: column;
  transform: translateY(-110%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(45, 24, 16, 0.3);
}

.burger-nav.open {
  transform: translateY(0);
}

.burger-nav a {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
  text-decoration: none;
  padding: 0.95rem 1.25rem;
  opacity: 0.9;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(245, 237, 224, 0.1);
  transition: opacity 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.burger-nav a:last-child {
  border-bottom: none;
}

.burger-nav a:hover,
.burger-nav a:active {
  opacity: 1;
  color: var(--accent);
  background: rgba(245, 237, 224, 0.05);
}

@media (max-width: 1024px) {
  .mobile-header { display: flex; }
  .burger-nav { display: flex; }
}

/* BACK TO TOP */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: var(--cream);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 16px rgba(45, 24, 16, 0.2);
  text-decoration: none;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--rust);
  transform: translateY(-2px);
}

/* FOOTER */
footer {
  padding: 2.5rem 5vw;
  background: var(--rust);
  color: var(--cream);
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.95;
}

footer .heart {
  color: var(--accent);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE: Tablet */
@media (max-width: 1024px) {
  html {
    scroll-padding-top: 52px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: calc(52px + 2rem) 5vw 8rem;
    gap: 3rem;
  }

  .hero-image-wrap {
    height: 60vh;
    max-height: 500px;
    order: -1;
  }

  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .story-text {
    position: relative;
    top: 0;
  }

  .traits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .health-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .home-checklist {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .gallery-sticky {
    top: 52px;
    height: calc(100vh - 52px);
  }

  section {
    padding: 6rem 5vw;
  }
}

/* RESPONSIVE: Mobile */
@media (max-width: 640px) {
  .hero {
    padding: calc(52px + 1rem) 6vw 5rem;
  }

  .hero-meta {
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero-image-wrap {
    height: 70vh;
    max-height: 450px;
  }

  .urgency-badge {
    font-size: 0.7rem;
    padding: 0.55rem 1rem;
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
  }

  section {
    padding: 5rem 6vw;
  }

  .quick-facts {
    padding: 3rem 6vw;
  }

  .facts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .fact {
    border-left: none;
    border-top: 1px solid rgba(245, 237, 224, 0.15);
    padding-left: 0;
    padding-top: 1rem;
  }

  .fact:first-child {
    border-top: none;
    padding-top: 0;
  }

  .story-intro,
  .personality-title,
  .health-title,
  .gallery-title,
  .home-title,
  .why-quote,
  .contact-title {
    font-size: 2rem;
  }

  .story-text p:first-child::first-letter {
    font-size: 3.5rem;
  }

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

  /* Gallery: disable sticky/scroll animation on mobile */
  .gallery-scroll-container { height: auto; background: var(--cream); }
  .gallery-sticky {
    position: static;
    height: auto;
    display: block;
    overflow: visible;
  }
  .gallery-inner { padding: 4rem 6vw 2rem; }
  .gallery-groups-stack { display: block; }
  .gallery-group {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    margin-bottom: 2rem;
  }

  /* Before: 2 portrait photos side by side */
  .gallery-grid--before {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: unset;
    gap: 0.75rem;
  }
  .gallery-grid--before .gallery-item {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 3/4;
    height: auto;
  }

  /* Now: first photo full width landscape, rest 2-col portrait */
  .gallery-grid--now {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: unset;
    gap: 0.75rem;
  }
  .gallery-grid--now .gallery-item:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 4/5;
    height: auto;
  }
  .gallery-grid--now .gallery-item:nth-child(1) {
    grid-column: span 2;
    aspect-ratio: 4/3;
  }

  .social-cards {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .social-bg-icon {
    opacity: 0.05;
  }

  .contact-methods {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .contact-method {
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 120px;
    flex-direction: column;
    gap: 0.3rem;
    padding: 1rem 1rem;
  }

  .health-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .home-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .hero-bg-text {
    font-size: 18rem;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
