:root {
  --forest: #173f35;
  --forest-deep: #0e2e27;
  --lime: #9bc51b;
  --lime-soft: #d9ea9a;
  --ivory: #f6f1e7;
  --paper: #fffdf8;
  --gold: #c6a45b;
  --ink: #18211e;
  --muted: #68716d;
  --line: rgba(23, 63, 53, 0.18);
  --shadow: 0 24px 70px rgba(14, 46, 39, 0.16);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.skip-link { position: absolute; top: -80px; left: 1rem; z-index: 100; background: var(--paper); padding: .8rem 1rem; border-radius: 999px; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem clamp(1rem, 4vw, 4rem);
  background: rgba(246, 241, 231, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 118px; height: 54px; object-fit: contain; object-position: left center; }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: .65rem .9rem; font: inherit; font-weight: 750; }
.nav-links { display: flex; align-items: center; gap: clamp(.85rem, 2vw, 1.7rem); }
.nav-links a { text-decoration: none; font-size: .92rem; font-weight: 720; }
.nav-links a:hover, .nav-links a:focus-visible { color: #527006; }
.button, .button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .82rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button { color: white; background: var(--forest); box-shadow: 0 10px 25px rgba(14, 46, 39, .22); }
.button:hover, .button:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(14, 46, 39, .28); }
.button.lime { color: var(--forest-deep); background: var(--lime); box-shadow: none; }
.button-outline { border: 1px solid currentColor; color: var(--forest); }

.hero {
  min-height: calc(100svh - 78px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  overflow: hidden;
  background: var(--forest-deep);
  color: white;
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(3.2rem, 8vw, 8rem) clamp(1.2rem, 6vw, 6.5rem); }
.eyebrow { margin: 0 0 1.2rem; color: var(--lime-soft); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 850; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.02; }
h1 { margin: 0; font-size: clamp(3.1rem, 7vw, 7.3rem); letter-spacing: -.055em; font-weight: 500; }
.hero-copy > p:not(.eyebrow) { max-width: 620px; margin: 1.5rem 0 0; color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero .button-outline { color: white; }
.hero-note { margin-top: 2.5rem !important; font-size: .86rem !important; color: var(--lime-soft) !important; }
.hero-memories { position: relative; min-height: 680px; padding: clamp(1.4rem, 4vw, 3.8rem); background: #dce6b8; overflow: hidden; }
.hero-memories::before { content: "our days at La Vita"; position: absolute; right: -1rem; top: 1.2rem; color: rgba(23,63,53,.13); font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 6vw, 6.7rem); font-style: italic; white-space: nowrap; transform: rotate(3deg); }
.memory { position: absolute; z-index: 1; margin: 0; padding: .65rem .65rem 2.5rem; background: #fffdf8; box-shadow: 0 22px 50px rgba(14,46,39,.24); }
.memory img { width: 100%; height: 100%; object-fit: cover; }
.memory figcaption { position: absolute; left: .9rem; right: .8rem; bottom: .55rem; color: #395044; font-family: "Bradley Hand", "Segoe Print", cursive; font-size: .88rem; line-height: 1.2; }
.memory-main { inset: 6% 20% 10% 10%; transform: rotate(-3deg); }
.memory-small { width: 42%; height: 34%; }
.memory-friends { right: 2%; top: 7%; transform: rotate(4deg); }
.memory-mountains { right: 4%; bottom: 4%; transform: rotate(2deg); }

.marquee { overflow: hidden; background: var(--lime); color: var(--forest-deep); border-block: 1px solid rgba(23,63,53,.22); }
.marquee div { display: flex; width: max-content; gap: 2.2rem; padding: .9rem 0; font-size: .82rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; animation: move 30s linear infinite; }
@keyframes move { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .marquee div { animation: none; } }

.section { padding: clamp(4rem, 9vw, 8rem) clamp(1.1rem, 6vw, 6rem); }
.section-inner { max-width: 1220px; margin: 0 auto; }
.section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; align-items: end; margin-bottom: 2.6rem; }
.section-head h2 { margin: 0; color: var(--forest); font-size: clamp(2.5rem, 5.7vw, 5.4rem); letter-spacing: -.045em; font-weight: 500; }
.section-head p { max-width: 650px; margin: 0 0 .6rem auto; color: var(--muted); font-size: 1.08rem; }
.kicker { color: #577209; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 900; }

.menu-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.menu-card { position: relative; min-height: 380px; padding: clamp(1.5rem, 4vw, 3.2rem); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: white; background: var(--forest); box-shadow: var(--shadow); }
.menu-card:nth-child(2) { color: var(--forest-deep); background: var(--lime-soft); }
.menu-card .index { font-size: .8rem; font-weight: 900; letter-spacing: .14em; }
.menu-card h3 { margin: 4.5rem 0 1rem; font-size: clamp(2.6rem, 5vw, 5rem); font-weight: 500; }
.menu-card p { max-width: 470px; color: rgba(255,255,255,.78); }
.menu-card:nth-child(2) p { color: rgba(14,46,39,.72); }
.menu-card .arrow { position: absolute; right: 1.4rem; bottom: 1.4rem; display: grid; place-items: center; width: 58px; aspect-ratio: 1; border-radius: 50%; background: var(--lime); color: var(--forest-deep); font-size: 1.6rem; }
.menu-card:nth-child(2) .arrow { color: white; background: var(--forest); }

.story-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(1.2rem, 5vw, 5rem); align-items: center; }
.story-image { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.personal-photo { overflow: visible; padding: .7rem .7rem 3rem; border-radius: 3px; background: var(--paper); transform: rotate(-1.5deg); }
.personal-photo img { border-radius: 2px; }
.hand-note { position: absolute; left: 1.3rem; bottom: .7rem; color: var(--forest); font-family: "Bradley Hand", "Segoe Print", cursive; font-size: .95rem; transform: rotate(-1deg); }
.story-copy h2 { margin: .5rem 0 1.3rem; color: var(--forest); font-size: clamp(2.8rem, 5.8vw, 5.8rem); font-weight: 500; letter-spacing: -.045em; }
.story-copy p { font-size: 1.08rem; color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 2rem; }
.value { padding: 1.1rem; border-top: 2px solid var(--lime); font-size: .9rem; font-weight: 800; color: var(--forest); }

.moments-section { background: #efe8db; }
.memory-wall { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 110px; gap: 1rem; }
.moment-card { position: relative; grid-column: span 4; grid-row: span 3; margin: 0; padding: .55rem .55rem 2.9rem; background: var(--paper); box-shadow: 0 15px 36px rgba(55,45,32,.13); transform: rotate(-.7deg); }
.moment-card:nth-child(2n) { transform: rotate(.8deg); }
.moment-card:nth-child(3n) { transform: rotate(-.25deg); }
.moment-card.tall { grid-row: span 5; }
.moment-card.wide { grid-column: span 8; grid-row: span 4; }
.moment-card img { width: 100%; height: 100%; object-fit: cover; }
.moment-card figcaption { position: absolute; left: 1rem; right: .8rem; bottom: .6rem; color: #3e4d43; font-family: "Bradley Hand", "Segoe Print", cursive; font-size: .93rem; line-height: 1.2; }
.memory-invitation { max-width: 760px; margin: 3rem auto 0; text-align: center; color: var(--muted); font-size: 1.05rem; }
.memory-invitation a { color: var(--forest); font-weight: 800; }

.visit { color: white; background: var(--forest-deep); }
.visit-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1.3rem; }
.visit-card { padding: clamp(1.4rem, 4vw, 3rem); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); background: rgba(255,255,255,.055); }
.visit-card h2 { margin: .4rem 0 1.4rem; font-size: clamp(2.8rem, 5vw, 5rem); font-weight: 500; }
.visit-card h3 { margin: 0 0 1rem; font-size: 1.65rem; }
.visit-card p, .visit-card address { color: rgba(255,255,255,.76); font-style: normal; }
.visit-list { display: grid; gap: .75rem; margin: 1.5rem 0 2rem; }
.visit-list div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .7rem; border-bottom: 1px solid rgba(255,255,255,.13); }
.visit-list strong { color: var(--lime-soft); }
.cta-strip { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }

.event-card { display: grid; grid-template-columns: 1.1fr .9fr; border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.event-copy { padding: clamp(1.6rem, 5vw, 4rem); }
.event-copy h2 { margin: .4rem 0 1rem; color: var(--forest); font-size: clamp(2.7rem, 5vw, 5rem); font-weight: 500; }
.event-copy p { color: var(--muted); }
.event-image { min-height: 440px; }
.event-image img { width: 100%; height: 100%; object-fit: cover; }

.site-footer { padding: 2.4rem clamp(1rem, 5vw, 4rem); color: white; background: #081f1a; }
.footer-inner { max-width: 1220px; margin: auto; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; }
.footer-logo { width: 135px; }
.site-footer p { margin: .8rem 0 0; color: rgba(255,255,255,.62); font-size: .86rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem; }
.footer-links a { color: var(--lime-soft); font-weight: 750; text-decoration: none; }

.page-hero { padding: clamp(4rem, 9vw, 8rem) clamp(1.1rem, 6vw, 6rem); color: white; background: var(--forest-deep); }
.page-hero-inner { max-width: 1220px; margin: auto; }
.page-hero h1 { max-width: 960px; }
.page-hero p { max-width: 680px; color: rgba(255,255,255,.75); font-size: 1.08rem; }
.page-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.page-hero .button-outline { color: white; }
.menu-layout { max-width: 1220px; margin: auto; padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem); }
.menu-nav { position: sticky; top: 79px; z-index: 20; display: flex; gap: .55rem; padding: .7rem; overflow-x: auto; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,253,248,.94); box-shadow: 0 10px 35px rgba(14,46,39,.09); backdrop-filter: blur(14px); }
.menu-nav a { flex: 0 0 auto; padding: .55rem .8rem; border-radius: 999px; color: var(--forest); text-decoration: none; font-size: .83rem; font-weight: 850; }
.menu-nav a:hover, .menu-nav a:focus-visible { background: var(--lime-soft); }
.menu-section { scroll-margin-top: 160px; padding: 3.2rem 0; border-bottom: 1px solid var(--line); }
.menu-section h2 { margin: 0 0 .5rem; color: var(--forest); font-size: clamp(2.1rem, 4vw, 3.8rem); font-weight: 500; }
.menu-section > p { margin: 0 0 1.6rem; color: var(--muted); }
.menu-columns { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.25rem; align-items: start; }
.menu-stack { display: grid; gap: 1.25rem; align-content: start; }
.menu-group { break-inside: avoid; margin: 0; padding: 1.25rem 1.35rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,253,248,.74); box-shadow: 0 8px 24px rgba(14,46,39,.045); }
.menu-group h3 { margin: 0 0 .75rem; color: #577209; font-family: inherit; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.group-note { margin: -.25rem 0 .75rem; color: var(--muted); font-size: .86rem; font-style: italic; }
.menu-item { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .8rem; padding: .52rem 0; border-bottom: 1px dotted rgba(23,63,53,.19); }
.menu-item strong { min-width: 0; overflow-wrap: anywhere; font-size: .96rem; }
.menu-item .price { padding: .16rem .48rem; border-radius: 999px; color: var(--forest); background: var(--lime-soft); font-weight: 850; white-space: nowrap; }
.menu-item small { grid-column: 1/-1; margin-top: -.35rem; color: var(--muted); font-style: italic; }
.menu-note { margin-top: 2rem; padding: 1.2rem; border-left: 4px solid var(--lime); background: var(--paper); color: var(--muted); }
.diet-legend { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; margin: 1.2rem 0 0; padding: .9rem 1rem; border-radius: 16px; background: var(--paper); color: var(--muted); font-size: .82rem; font-weight: 750; }
.diet-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.diet-dot { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; vertical-align: middle; }
.diet-dot.egg { background: #e5b72f; }
.diet-dot.meat { background: #bd3b35; }
.menu-item strong .diet-dot { margin-left: .4rem; }
.special-mark { display: inline-flex; height: 1.35rem; margin-left: .22rem; align-items: center; gap: .12rem; overflow: visible; vertical-align: -.35rem; white-space: nowrap; }
.special-mark::before { content: ""; width: 1.08rem; height: 1.35rem; flex: 0 0 1.08rem; background: url("assets/la-vita-logo.png") no-repeat -.24rem center / 4.05rem 1.35rem; }
.special-mark::after { content: "Special"; color: #6f9416; font-size: .58rem; font-weight: 900; letter-spacing: .07em; line-height: 1; text-transform: uppercase; }
.menu-trust-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-top: 2rem; }
.menu-trust-grid > div { padding: 1.2rem; border-radius: 18px; background: var(--paper); }
.menu-trust-grid strong { color: var(--forest); text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; }
.menu-trust-grid p { margin: .55rem 0 0; color: var(--muted); }
.drinks-trust { grid-template-columns: minmax(0,420px); }
.coffee-story { max-width: 820px; padding: 1rem 1.2rem; border-left: 4px solid var(--lime); background: var(--paper); }

@media (max-width: 900px) {
  .hero, .story-grid, .visit-grid, .event-card { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-memories { min-height: 68svh; order: -1; }
  .hero-copy { padding-block: 3.5rem; }
  .section-head { grid-template-columns: 1fr; }
  .section-head p { margin-left: 0; }
  .memory-wall { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .moment-card, .moment-card.tall, .moment-card.wide { grid-column: span 1; grid-row: span 1; }
  .moment-card.wide { grid-column: span 2; }
  .event-image { min-height: 360px; order: -1; }
}

@media (max-width: 720px) {
  .menu-trust-grid { grid-template-columns: 1fr; }
  .site-header { padding-block: .55rem; }
  .brand img { width: 98px; height: 48px; }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 68px; left: .75rem; right: .75rem; flex-direction: column; align-items: stretch; padding: 1rem; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links .button { text-align: center; }
  .menu-cards, .menu-columns, .values { grid-template-columns: 1fr; }
  .menu-stack { gap: 1rem; }
  .menu-card { min-height: 270px; }
  .menu-group { padding: 1rem; }
  .menu-item { gap: .55rem; }
  .menu-item .price { padding-inline: .42rem; font-size: .9rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .menu-nav { top: 69px; border-radius: 18px; }
  .hero-memories { min-height: 58svh; }
  .memory-main { inset: 5% 13% 8% 5%; }
  .memory-small { width: 45%; height: 31%; }
  .memory-friends { right: 1%; top: 4%; }
  .memory-mountains { right: 2%; bottom: 3%; }
  .memory-wall { grid-template-columns: 1fr; grid-auto-rows: 330px; }
  .moment-card, .moment-card.tall, .moment-card.wide { grid-column: span 1; grid-row: span 1; }
  .visit-list div { flex-direction: column; gap: .2rem; }
}

@media print {
  .site-header, .menu-nav, .page-actions, .site-footer { display: none !important; }
  body { background: white; color: black; }
  .page-hero { padding: 1rem 0; color: black; background: white; }
  .page-hero p { color: #333; }
  .menu-layout { padding: 0; }
  .menu-section { break-before: page; }
}

/* La Vita experience homepage */
.experience-home { background: #f5efe4; }
.home-header { position: absolute; inset: 0 0 auto; color: white; background: linear-gradient(180deg, rgba(5,25,20,.76), transparent); border: 0; backdrop-filter: none; }
.home-header .brand img { filter: drop-shadow(0 2px 10px rgba(0,0,0,.28)); }
.home-header .nav-links > a:not(.button) { color: white; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.home-header .button { color: var(--forest-deep); background: var(--lime); box-shadow: none; }

.life-hero { position: relative; min-height: 100svh; overflow: hidden; color: white; background: var(--forest-deep); }
.life-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .32s ease; }
.life-slide.active { opacity: 1; z-index: 1; }
.life-slide.is-front { z-index: 2; }
.life-slide.is-entering { opacity: 0; }
.life-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.025); transition: transform 4s ease; }
.life-slide.active img { transform: scale(1); }
.life-slide.portrait-photo img { object-fit: cover; object-position: center 40%; }
.hero-shade { position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg, rgba(5,25,20,.88), rgba(5,25,20,.28) 62%, rgba(5,25,20,.08)), linear-gradient(0deg, rgba(5,25,20,.76), transparent 55%); }
.life-hero-content { position: relative; z-index: 3; display: flex; min-height: 100svh; max-width: 900px; flex-direction: column; justify-content: center; padding: 9rem clamp(1.2rem, 7vw, 7rem) 7.5rem; }
.life-hero h1 { max-width: 850px; margin: .2rem 0 1.2rem; font-size: clamp(4rem, 9vw, 9rem); letter-spacing: -.065em; }
.life-hero-content > p:not(.eyebrow) { max-width: 720px; margin: 0; color: rgba(255,255,255,.84); font-size: clamp(1.05rem, 1.7vw, 1.35rem); }
.life-hero .hero-actions { align-items: center; }
.life-hero .button-outline, .life-hero .text-link { color: white; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-weight: 800; text-underline-offset: 4px; }
.text-link.dark { display: flex; width: max-content; color: var(--forest); }
.hero-controls { position: absolute; z-index: 4; left: clamp(1.2rem,7vw,7rem); right: clamp(1.2rem,7vw,7rem); bottom: 1.3rem; display: flex; align-items: center; gap: .45rem; }
.hero-controls button, .chapter-controls button { min-width: 40px; min-height: 38px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; color: white; background: rgba(5,25,20,.36); backdrop-filter: blur(9px); cursor: pointer; }
.hero-controls span { margin-left: auto; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.meaning-section { padding: clamp(5rem,11vw,10rem) clamp(1.2rem,7vw,7rem); background: var(--paper); }
.meaning-inner { max-width: 1180px; margin: auto; }
.meaning-section h2 { max-width: 980px; margin: .5rem 0 2.5rem; color: var(--forest); font-size: clamp(3.2rem,7vw,7.2rem); font-weight: 500; letter-spacing: -.055em; }
.meaning-copy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,5vw,5rem); margin-left: min(18vw,220px); color: var(--muted); font-size: 1.08rem; }
.meaning-copy p { margin: 0; }
.life-words { display: grid; grid-template-columns: repeat(4,1fr); gap: .8rem; margin-top: 4rem; }
.life-words span { padding: 1rem 0; border-top: 2px solid var(--lime); color: var(--forest); font-size: .84rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }

.experience-section { color: white; background: var(--forest-deep); }
.experience-intro { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(280px,.7fr); gap: 1.5rem clamp(2rem,7vw,7rem); align-items: end; max-width: 1180px; margin: auto; padding: clamp(5rem,10vw,9rem) clamp(1.2rem,7vw,7rem); }
.experience-intro .eyebrow { grid-column: 1/-1; margin-bottom: 0; }
.experience-intro h2 { margin: 0; font-size: clamp(3.2rem,7vw,7rem); font-weight: 500; letter-spacing: -.055em; }
.experience-intro > p:last-child { max-width: 520px; margin: 0 0 .7rem; padding-left: 1.4rem; border-left: 2px solid var(--lime); color: rgba(255,255,255,.72); font-size: 1.08rem; }
.story-chapter { display: grid; grid-template-columns: minmax(0,42fr) minmax(0,58fr); min-height: 90svh; border-top: 1px solid rgba(255,255,255,.12); }
.chapter-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem,6vw,6rem); }
.chapter-number { display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 3rem; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: var(--lime-soft); font: 500 1.2rem Georgia,serif; }
.chapter-copy h3, .dog-copy h3, .sunset-copy h3, .mountain-pause h3 { margin: .5rem 0 1.2rem; font: 500 clamp(3rem,6vw,6rem)/.95 Georgia,serif; letter-spacing: -.05em; }
.chapter-copy > p:not(.eyebrow), .dog-copy > p:not(.eyebrow) { color: rgba(255,255,255,.7); }
.chapter-show { position: relative; min-height: 76svh; overflow: hidden; background: #1a3e34; }
.chapter-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .32s ease; }
.chapter-slide.active { opacity: 1; z-index: 1; }
.chapter-slide.is-front { z-index: 2; }
.chapter-slide.is-entering { opacity: 0; }
.chapter-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 4s ease; }
.chapter-slide.active img { transform: scale(1); }
.chapter-slide.portrait-photo img { object-fit: cover; object-position: center 42%; }
.chapter-slide.portrait-photo.active img { transform: scale(1); }
.chapter-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(5,20,16,.62),transparent 55%); }
.chapter-slide figcaption { position: absolute; z-index: 2; left: clamp(1rem,4vw,3rem); right: 1rem; bottom: 4.6rem; color: white; font: 500 clamp(1.4rem,3vw,2.4rem)/1.1 Georgia,serif; }
.chapter-controls { position: absolute; z-index: 3; left: clamp(1rem,4vw,3rem); right: clamp(1rem,4vw,3rem); bottom: 1rem; display: flex; align-items: center; gap: .45rem; color: white; }
.chapter-controls span { margin-left: auto; font-size: .78rem; font-weight: 800; letter-spacing: .1em; }

.mountain-pause { position: relative; min-height: 92svh; display: flex; align-items: end; overflow: hidden; }
.mountain-pause > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mountain-pause::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(5,25,20,.82),transparent 70%); }
.mountain-pause > div { position: relative; z-index: 1; max-width: 980px; padding: clamp(2rem,7vw,7rem); }
.mountain-pause h3 { max-width: 900px; }
.mountain-pause p:last-child { max-width: 560px; color: rgba(255,255,255,.76); }

.chapter-food { color: var(--ink); background: #efe7d8; }
.chapter-food .eyebrow { color: var(--forest); }
.chapter-food .chapter-copy > p:not(.eyebrow) { color: var(--muted); }
.chapter-food .chapter-number { border-color: rgba(23,63,53,.25); color: var(--forest); }
.food-window { min-height: 76svh; padding: 0; background: #7c522f; }
.chapter-green .chapter-slide.portrait-photo img,
.chapter-food .chapter-slide.portrait-photo img,
.chapter-people .chapter-slide.portrait-photo img,
.gallery-show .chapter-slide.portrait-photo img {
  width: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.chapter-people .chapter-slide.portrait-photo img { object-position: center 34%; }

.chapter-people { background: #14352d; }
.chapter-people .button { width: max-content; margin-top: 1rem; color: var(--forest-deep); background: var(--lime); }
.dog-story { display: grid; grid-template-columns: minmax(0,42fr) minmax(0,58fr); min-height: 90svh; color: var(--ink); background: #dbe7b7; }
.dog-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem,5vw,5rem); }
.dog-copy .chapter-number { margin-bottom: 2rem; border-color: rgba(23,63,53,.22); color: var(--forest); }
.dog-copy > p:not(.eyebrow) { color: #516057; }
.dog-copy .small-note { padding-top: 1rem; border-top: 1px solid rgba(23,63,53,.18); font-size: .91rem; }
.dog-show { min-height: 78svh; background: #6d7e52; }
.dog-show .chapter-slide.portrait-photo img { object-position: center 38%; }

.sunset-story { position: relative; min-height: 96svh; overflow: hidden; background: #472d25; }
.sunset-story .chapter-slide figcaption { bottom: 5rem; }
.sunset-copy { position: absolute; z-index: 3; left: clamp(1.2rem,7vw,7rem); top: clamp(5rem,10vw,8rem); max-width: 760px; text-shadow: 0 3px 24px rgba(0,0,0,.4); }
.sunset-copy .chapter-number { margin-bottom: 1.5rem; }
.sunset-copy h3 { margin-top: .4rem; }
.light-controls { left: clamp(1.2rem,7vw,7rem); right: clamp(1.2rem,7vw,7rem); }
.sunset-story .chapter-slide.portrait-photo img { object-position: center 46%; }

.menu-experience { background: var(--ivory); }
.menu-experience .menu-card h3 { margin: 2rem 0 1rem; }
.cafe-gallery { background: #eee6d8; }
.gallery-show { position: relative; min-height: 78svh; overflow: hidden; border-radius: var(--radius); background: var(--forest); box-shadow: var(--shadow); }
.gallery-show .chapter-slide figcaption { font-size: clamp(1.6rem,4vw,3rem); }
.cafe-gallery .section-head > p { max-width: 560px; padding-left: 1.4rem; border-left: 2px solid var(--lime); }
.brand-primary img { width: 76px; height: 70px; object-fit: contain; }
.footer-logo-wide { width: 190px; }
.practical .review-link { display: inline-flex; margin-top: 1.2rem; color: var(--lime-soft); font-weight: 800; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .meaning-copy { margin-left: 0; }
  .story-chapter { grid-template-columns: 1fr; }
  .chapter-show { min-height: 72svh; }
  .food-window { min-height: 72svh; }
  .dog-story { grid-template-columns: 1fr; }
  .dog-copy { min-height: 60svh; }
  .dog-show { min-height: 72svh; }
}

@media (max-width: 720px) {
  .home-header { position: absolute; background: linear-gradient(180deg,rgba(5,25,20,.82),transparent); }
  .home-header .nav-toggle { color: white; border-color: rgba(255,255,255,.5); background: rgba(5,25,20,.25); }
  .home-header .nav-links { color: var(--ink); background: var(--paper); }
  .home-header .nav-links > a:not(.button) { color: var(--ink); text-shadow: none; }
  .life-hero-content { justify-content: flex-end; padding: 8rem 1.2rem 6.5rem; }
  .life-hero h1 { font-size: clamp(3.7rem,17vw,6rem); }
  .life-hero-content > p:not(.eyebrow) { font-size: 1rem; }
  .life-hero .hero-actions { gap: .55rem; }
  .life-hero .hero-actions .button, .life-hero .hero-actions .button-outline { min-height: 44px; padding: .7rem .9rem; }
  .life-hero .text-link { width: 100%; }
  .hero-controls { left: 1.2rem; right: 1.2rem; }
  .meaning-copy, .life-words { grid-template-columns: 1fr; }
  .meaning-section h2 { font-size: clamp(3rem,14vw,5rem); }
  .life-words { gap: .2rem; }
  .experience-intro { grid-template-columns: 1fr; gap: 1.5rem; }
  .experience-intro .eyebrow { grid-column: auto; }
  .experience-intro h2 { font-size: clamp(3rem,14vw,5rem); }
  .experience-intro > p:last-child { margin-left: 0; }
  .cafe-gallery .section-head > p { padding-left: 0; border-left: 0; }
  .chapter-copy { min-height: auto; padding: 4rem 1.2rem; }
  .chapter-copy h3, .dog-copy h3, .sunset-copy h3, .mountain-pause h3 { font-size: clamp(3rem,13vw,5rem); }
  .food-window { min-height: 78svh; }
  .dog-story { grid-template-columns: 1fr; }
  .dog-copy { min-height: auto; padding: 4rem 1.2rem; }
  .dog-show { min-height: 72svh; }
  .chapter-slide img { object-fit: cover; transform: none; }
  .chapter-slide.active img { transform: none; }
  .mountain-pause { min-height: 78svh; }
  .sunset-story { min-height: 92svh; }
  .sunset-copy { left: 1.2rem; right: 1.2rem; top: 5rem; }
  .light-controls { left: 1.2rem; right: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .life-slide, .life-slide img, .chapter-slide, .chapter-slide img { transition: none; }
}
