:root {
  color-scheme: light;
  --paper: #f7f3e9;
  --paper-warm: #efe7d7;
  --ink: #183a2a;
  --muted: #667064;
  --line: #c9c5b5;
  --olive: #737641;
  --accent: #cf624d;
  --accent-dark: #a94738;
  --blue: #9ab7c8;
  --yellow: #d7b858;
  --shadow: rgba(65, 60, 43, .13);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  --hand: "Chalkboard SE", "Bradley Hand", "Segoe Print", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 1rem; line-height: 1.65; overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .24; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.62' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.11'/%3E%3C/svg%3E"); mix-blend-mode: multiply; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 50; background: var(--ink); color: var(--paper); padding: .7rem 1rem; border-radius: 999px; }
.skip-link:focus { top: 1rem; }

.site-header { width: min(100% - 3rem, 88rem); min-height: 6.5rem; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; position: relative; z-index: 10; }
.brand { display: inline-flex; align-items: center; gap: .7rem; width: fit-content; color: var(--ink); text-decoration: none; }
.brand-symbol { width: 4.15rem; height: 3.75rem; object-fit: contain; flex: 0 0 auto; }
.brand-word { font-family: var(--serif); font-size: 2.2rem; line-height: 1; letter-spacing: -.055em; transform: translateY(.03em); }
.nav-links { display: flex; align-items: center; gap: clamp(1.3rem, 3vw, 2.7rem); font-family: var(--serif); font-size: 1.05rem; white-space: nowrap; }
.nav-links a, .text-link { text-decoration-thickness: 1px; text-underline-offset: .42em; text-decoration-color: transparent; transition: text-decoration-color .25s ease; }
.nav-links a:hover, .text-link:hover { text-decoration-color: currentColor; }
.site-header > .button { justify-self: end; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.4rem; padding: .8rem 1.55rem; border: 0; border-radius: 999px; background: var(--accent); color: #fffaf3; font-family: var(--serif); font-size: 1.08rem; font-weight: 650; text-decoration: none; white-space: nowrap; box-shadow: 0 11px 28px rgba(151, 70, 55, .18); transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease, background .25s ease; }
.button::after { content: "→"; margin-left: .65rem; font-family: var(--sans); font-weight: 450; }
.button:hover { transform: translateY(-2px); background: var(--accent-dark); box-shadow: 0 15px 34px rgba(151, 70, 55, .23); }
.button:active { transform: translateY(1px) scale(.985); }
.button-small { min-height: 3rem; padding: .6rem 1.25rem; font-size: 1rem; }
.button-light { background: var(--paper); color: var(--ink); box-shadow: 0 12px 30px rgba(8, 24, 18, .16); }
.button-light:hover { background: #fffdf8; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

.hero { width: min(100% - 3rem, 92rem); min-height: min(49rem, calc(100dvh - 6.5rem)); margin: 0 auto; display: grid; grid-template-columns: minmax(27rem, .78fr) minmax(34rem, 1.22fr); align-items: center; gap: clamp(1rem, 2vw, 2.5rem); padding: clamp(2.5rem, 5vw, 4.8rem) 0 clamp(4rem, 7vw, 7rem); }
.hero-copy { position: relative; z-index: 2; padding-left: clamp(0rem, 2vw, 1.75rem); }
.eyebrow { margin: 0 0 1.35rem; color: var(--olive); font-size: .77rem; text-transform: uppercase; letter-spacing: .2em; font-weight: 800; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--serif); }
h1 { margin: 0; max-width: 9ch; font-size: clamp(3.7rem, 5.5vw, 5.6rem); line-height: .98; letter-spacing: -.055em; font-weight: 500; }
h1 > span { display: contents; }
h1 em { font-family: inherit; font-weight: inherit; font-style: normal; color: inherit; position: relative; }
h1 em::after { content: ""; position: absolute; left: 0; right: -.06em; bottom: -.12em; height: .09em; border-radius: 50%; background: var(--accent); transform: rotate(-1.2deg); opacity: .8; }
.hero-lede { margin: 1.8rem 0 0; max-width: 29rem; color: var(--muted); font-size: clamp(1.05rem, 1.35vw, 1.23rem); line-height: 1.6; }
.hero-actions { margin-top: 2rem; display: flex; align-items: center; gap: 1.45rem; flex-wrap: wrap; }
.text-link { font-family: var(--serif); font-size: 1.05rem; font-weight: 650; }
.garden-motto { width: fit-content; margin: 2.5rem 0 0 4rem; color: var(--olive); font-family: var(--hand); font-size: 1.05rem; transform: rotate(-5deg); }
.hero-art { position: relative; min-width: 0; width: 100%; aspect-ratio: 4 / 3; }
.hero-art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 22px 27px rgba(89, 75, 43, .09)); }
.scribble-note, .hand-note { font-family: var(--hand); color: var(--accent); letter-spacing: .02em; }
.scribble-note { position: absolute; z-index: 2; top: 5%; right: 3%; font-size: clamp(.95rem, 1.5vw, 1.2rem); transform: rotate(-6deg); }
.scribble-note::after { content: ""; display: block; width: 4.2rem; height: .6rem; margin: -.12rem 0 0 1.4rem; border-bottom: 2px solid currentColor; border-radius: 50%; transform: rotate(5deg); }

.section { width: min(100% - 3rem, 80rem); margin: 0 auto; padding: clamp(5rem, 9vw, 9rem) 0; }
h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 5.1rem); line-height: 1.02; letter-spacing: -.05em; font-weight: 500; }
h3 { margin: 0; font-size: clamp(1.45rem, 2vw, 1.95rem); line-height: 1.15; letter-spacing: -.035em; font-weight: 550; }

.story-sample { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; position: relative; }
.story-sample::before { content: ""; position: absolute; left: 0; right: 0; top: 1rem; border-top: 1px solid var(--line); transform: rotate(-.35deg); }
.sample-intro h2 { font-size: clamp(2.8rem, 4.8vw, 4.8rem); }
.sample-intro p, .how-heading p, .keeps-title p { max-width: 34rem; color: var(--muted); font-size: 1.12rem; }
.story-player { position: relative; }
.story-paper { padding: clamp(2rem, 5vw, 4.4rem); background: #fbf7eb; border: 1px solid #d8d0bd; box-shadow: 0 24px 60px var(--shadow); transform: rotate(1deg); }
.story-paper::before { content: "“"; position: absolute; top: -.3rem; right: 1.3rem; color: color-mix(in srgb, var(--accent) 28%, transparent); font-family: var(--serif); font-size: 8rem; line-height: 1; }
.story-question { margin: 0 0 2.4rem; color: var(--olive); font-weight: 700; }
blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.75rem, 3.1vw, 3rem); line-height: 1.25; letter-spacing: -.03em; }
.story-byline { margin: 2.2rem 0 0; font-weight: 700; }
.story-byline span { color: var(--muted); font-weight: 450; }
.player-controls { display: grid; grid-template-columns: auto 1fr auto auto; gap: 1.1rem; align-items: center; margin-top: 1.5rem; }
.play-button, .story-arrows button { min-height: 2.8rem; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; font-family: var(--serif); font-weight: 650; }
.play-button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.waveform { height: 2.4rem; display: flex; align-items: center; gap: 3px; overflow: hidden; }
.waveform i, .mini-wave span { display: block; width: 3px; border-radius: 999px; background: var(--ink); opacity: .28; }
.waveform i:nth-child(3n+1) { height: 28%; }.waveform i:nth-child(3n+2) { height: 70%; }.waveform i:nth-child(3n) { height: 46%; }
.story-player.is-playing .waveform i { animation: wave .75s ease-in-out infinite alternate; }
.story-player.is-playing .waveform i:nth-child(2n) { animation-delay: -.28s; }
.player-count { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.story-arrows { display: flex; gap: .45rem; }

.memory-window { width: min(100% - 3rem, 86rem); display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(21rem, .92fr); gap: clamp(3rem, 6vw, 6rem); align-items: center; }
.memory-image-wrap { position: relative; aspect-ratio: 4 / 3; transform: rotate(-1deg); }
.memory-image-wrap::before { content: ""; position: absolute; inset: -1rem; border: 1px solid var(--accent); border-radius: 49% 51% 48% 52% / 52% 47% 53% 48%; transform: rotate(1.3deg); opacity: .52; }
.memory-image-wrap img { position: relative; width: 100%; height: 100%; object-fit: cover; box-shadow: 0 25px 60px var(--shadow); }
.memory-copy { max-width: 30rem; }
.memory-copy .hand-note { margin: 0 0 .8rem; font-size: 1.2rem; transform: rotate(-3deg); }
.memory-copy p:last-child { color: var(--muted); font-size: 1.15rem; }

.how { width: min(100% - 3rem, 72rem); }
.how-heading { max-width: 54rem; }
.steps { margin-top: 4.5rem; display: grid; }
.step { display: grid; grid-template-columns: 7rem 1fr; gap: 2.5rem; padding: 2.8rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.step:first-child { border-top: 1px solid var(--line); }
.step:nth-child(2) { margin-left: 7vw; }.step:nth-child(3) { margin-left: 14vw; }
.step-glyph { color: var(--accent); font-family: var(--serif); font-size: 2.5rem; font-style: italic; line-height: 1; }
.step p { margin: .7rem 0 0; max-width: 36rem; color: var(--muted); }

.keeps { width: min(100% - 3rem, 88rem); }
.keeps-title { max-width: 44rem; margin-bottom: 3.8rem; }
.keeps-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; grid-template-areas: "voice photo photo" "voice object family"; gap: 1rem; }
.keep { min-height: 20rem; padding: clamp(1.6rem, 3vw, 3rem); border: 1px solid #d3cdbd; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; background: rgba(255, 252, 244, .48); }
.keep p { max-width: 28rem; color: var(--muted); }
.keep-voice { grid-area: voice; min-height: 34rem; background: var(--ink); color: var(--paper); }
.keep-voice p { color: #d9ddcf; }
.keep-voice .hand-note { margin-bottom: auto; color: #e0c76e; font-size: 1.4rem; }
.keep-photo { grid-area: photo; background: #dbe4e4; color: var(--ink); }
.keep-object { grid-area: object; background: #eee4c8; }
.keep-family { grid-area: family; background: #ead9d0; }
.keep-family .hand-note { margin: 0 0 auto; font-size: 1.2rem; }
.mini-wave { margin: 3rem 0 0; display: flex; gap: .45rem; align-items: center; }
.mini-wave span { width: .45rem; background: var(--paper); opacity: .55; }
.mini-wave span:nth-child(1) { height: 2rem; }.mini-wave span:nth-child(2) { height: 4rem; }.mini-wave span:nth-child(3) { height: 2.7rem; }.mini-wave span:nth-child(4) { height: 5rem; }.mini-wave span:nth-child(5) { height: 3.6rem; }.mini-wave span:nth-child(6) { height: 1.7rem; }.mini-wave span:nth-child(7) { height: 3.2rem; }

.promise { width: min(100% - 2rem, 84rem); display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; padding-inline: clamp(2rem, 6vw, 6rem); background: var(--ink); color: var(--paper); box-shadow: 0 24px 60px rgba(38, 50, 36, .14); }
.promise-copy { position: sticky; top: 5rem; }
.promise-copy .eyebrow { color: #d9c96d; }
.promise-copy p:last-child { margin-top: 1.6rem; color: #c8d2c6; font-size: 1.12rem; }
.promise-list { display: grid; }
.promise-list div { padding: 2.2rem 0; border-bottom: 1px solid #4a6758; }
.promise-list div:first-child { border-top: 1px solid #4a6758; }
.promise-list strong, .promise-list span { display: block; }
.promise-list strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 550; }
.promise-list span { margin-top: .6rem; color: #c8d2c6; }

.faq { width: min(100% - 3rem, 70rem); display: grid; grid-template-columns: .65fr 1.35fr; gap: 5rem; align-items: start; }
.faq-heading { position: sticky; top: 5rem; }
.faq-heading h2 { font-size: clamp(2.7rem, 4.7vw, 4.7rem); }
.faq-list details { padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-family: var(--hand); font-size: 1.45rem; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 42rem; color: var(--muted); }

.closing { width: min(100% - 2rem, 90rem); padding: 2rem 0 5rem; }
.closing-inner { min-height: 36rem; border: 1px solid #d4cbb8; background: #efe8d7; color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 4rem 2rem; position: relative; overflow: hidden; }
.closing-botanical { position: absolute; width: min(42rem, 58vw); left: -8rem; bottom: -13rem; opacity: .72; pointer-events: none; }
.closing-inner .hand-note { margin: 0 0 1rem; color: var(--accent); font-size: 1.3rem; position: relative; z-index: 1; }
.closing-inner h2 { max-width: 13ch; position: relative; z-index: 1; }
.closing-inner > p:not(.hand-note) { color: var(--muted); font-size: 1.18rem; position: relative; z-index: 1; }
.closing-inner .button { margin-top: 1.4rem; position: relative; z-index: 1; background: var(--ink); }
.closing-inner .button:hover { background: #28523e; }

footer { width: min(100% - 3rem, 88rem); min-height: 9rem; margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center; color: var(--muted); }
footer .brand-symbol { width: 3rem; height: 2.7rem; }
footer .brand-word { font-size: 1.8rem; }
footer p { margin: 0; }
footer p:last-child { justify-self: end; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes wave { from { transform: scaleY(.55); opacity: .3; } to { transform: scaleY(1.2); opacity: .75; } }

@media (max-width: 1050px) {
  .hero { grid-template-columns: minmax(24rem, .82fr) minmax(29rem, 1.18fr); }
  .brand-symbol { width: 3.45rem; height: 3.2rem; }
  .brand-word { font-size: 1.9rem; }
}

@media (max-width: 900px) {
  .site-header { width: min(100% - 2rem, 88rem); grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero { width: min(100% - 2rem, 46rem); min-height: auto; grid-template-columns: 1fr; padding: 4rem 0 3rem; }
  .hero-copy { padding-left: 0; }
  h1 { max-width: 10ch; font-size: clamp(3.5rem, 11vw, 5.4rem); }
  .garden-motto { margin-left: auto; margin-right: 2rem; }
  .hero-art { width: 100%; margin-top: 1.4rem; }
  .story-sample, .memory-window, .promise, .faq { grid-template-columns: 1fr; }
  .sample-intro { max-width: 38rem; }
  .memory-window { width: min(100% - 2rem, 46rem); }
  .memory-copy { order: -1; }
  .step:nth-child(2), .step:nth-child(3) { margin-left: 0; }
  .keeps-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "voice photo" "voice object" "family family"; }
  .promise-copy, .faq-heading { position: static; }
  footer { grid-template-columns: 1fr; text-align: center; padding: 2rem 0 3rem; }
  footer .brand, footer p:last-child { justify-self: center; }
}

@media (max-width: 620px) {
  .site-header { min-height: 5.2rem; }
  .brand-symbol { width: 2.8rem; height: 2.6rem; }
  .brand-word { font-size: 1.65rem; }
  .site-header .button-small { min-height: 2.65rem; padding: .48rem .85rem; font-size: .92rem; }
  .site-header .button-small::after { display: none; }
  .section { width: min(100% - 2rem, 40rem); padding: 4.8rem 0; }
  .hero { width: min(100% - 2rem, 40rem); padding-top: 2.7rem; }
  h1 { font-size: clamp(3.25rem, 15vw, 4.5rem); }
  .hero-actions { align-items: flex-start; }
  .hero-art { aspect-ratio: 4 / 3; }
  .scribble-note { top: 2%; right: 2%; }
  .story-paper { transform: none; }
  .player-controls { grid-template-columns: auto 1fr auto; }
  .story-arrows { grid-column: 1 / -1; justify-content: flex-end; }
  .step { grid-template-columns: 3rem 1fr; gap: 1.2rem; }
  .keeps-grid { grid-template-columns: 1fr; grid-template-areas: "voice" "photo" "object" "family"; }
  .keep, .keep-voice { min-height: 21rem; }
  .promise { width: min(100% - 1rem, 40rem); padding-inline: 1.5rem; }
  .closing { width: min(100% - 1rem, 40rem); padding-bottom: 2rem; }
  .closing-inner { min-height: 34rem; padding: 3.5rem 1.4rem; }
  .closing-botanical { width: 30rem; left: -12rem; bottom: -8rem; opacity: .5; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
