:root {
  --ink: #23382f;
  --ink-soft: #52655c;
  --paper: #fffdf6;
  --cream: #f5eedc;
  --sky: #dceff2;
  --green: #6f9270;
  --green-dark: #315e4b;
  --red: #c93436;
  --yellow: #efc95d;
  --line: rgba(35, 56, 47, .15);
  --shadow: 0 24px 70px rgba(58, 72, 52, .18);
  --radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Literata", Georgia, serif;
  line-height: 1.65;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  z-index: 20;
  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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: white; padding: .8rem 1rem; }
.skip-link:focus { top: 1rem; }
.site-header {
  width: min(1240px, calc(100% - 40px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Comfortaa", sans-serif;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.18rem;
}
.brand-mark { color: var(--red); font-size: 1.65rem; line-height: 1; transform: rotate(-8deg); }
.nav { display: flex; gap: clamp(18px, 3vw, 42px); font-family: "Comfortaa", sans-serif; font-size: .88rem; }
.nav a { text-decoration: none; position: relative; }
.nav a::after { content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: -6px; background: var(--red); transition: right .25s; }
.nav a:hover::after, .nav a:focus-visible::after { right: 0; }
.section { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.button {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 0 28px;
  background: var(--red);
  color: white;
  text-decoration: none;
  font: 700 .88rem "Comfortaa", sans-serif;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(201, 52, 54, .22);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); background: #ab292b; box-shadow: 0 14px 30px rgba(201, 52, 54, .3); }
.button-small { min-height: 42px; padding-inline: 21px; font-size: .78rem; }
.eyebrow { margin: 0 0 16px; color: var(--red); text-transform: uppercase; letter-spacing: .16em; font: 700 .72rem "Comfortaa", sans-serif; }
h1, h2 { margin: 0; font-family: "Comfortaa", sans-serif; line-height: 1.12; letter-spacing: -.045em; }
h1 { font-size: clamp(3rem, 6.2vw, 6.2rem); max-width: 780px; }
h1 em { color: var(--red); font-style: normal; display: block; }
h2 { font-size: clamp(2.2rem, 4.2vw, 4.4rem); }

.hero { min-height: calc(100vh - 86px); display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(36px, 5vw, 80px); padding-block: 60px 90px; }
.hero-lead { font-size: clamp(1rem, 1.4vw, 1.22rem); max-width: 640px; color: var(--ink-soft); margin: 28px 0; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.text-link { font-family: "Comfortaa", sans-serif; font-weight: 700; font-size: .85rem; text-decoration: none; }
.text-link span { color: var(--red); margin-left: 5px; }
.hero-note { margin: 28px 0 0; font-size: .82rem; color: var(--green-dark); }
.hero-note span { color: var(--yellow); }
.hero-art { position: relative; min-height: 610px; display: grid; place-items: center; }
.hero-scene { width: 100%; height: 450px; object-fit: cover; border-radius: 48% 52% 42% 58% / 56% 44% 56% 44%; opacity: .77; filter: saturate(.88) contrast(.95); }
.book-cover { position: absolute; right: 6%; width: min(310px, 43%); transform: rotate(5deg); box-shadow: var(--shadow); border: 9px solid white; border-radius: 4px; }
.sun { position: absolute; width: 140px; height: 140px; border-radius: 50%; top: 5%; right: 4%; background: var(--yellow); opacity: .72; }
.doodle { position: absolute; font-family: sans-serif; color: var(--red); }
.doodle-heart { font-size: 4.8rem; left: 4%; top: 10%; transform: rotate(-16deg); }
.doodle-star { font-size: 3rem; right: 2%; bottom: 8%; color: var(--green); }

.manifesto { padding-block: 90px 130px; }
.manifesto-card { position: relative; overflow: hidden; display: grid; grid-template-columns: .08fr .94fr .78fr; align-items: center; min-height: 570px; background: var(--green-dark); color: white; border-radius: var(--radius); padding: clamp(28px, 6vw, 80px); box-shadow: var(--shadow); }
.manifesto-card .eyebrow { color: #f3cb62; }
.manifesto-card h2 { font-size: clamp(2rem, 3.6vw, 3.7rem); max-width: 650px; }
.manifesto-card p:not(.eyebrow) { max-width: 580px; color: rgba(255,255,255,.78); font-size: 1.05rem; }
.meaning { font-family: "Comfortaa", sans-serif; }
.meaning strong { color: #f3cb62; }
.quote-mark { align-self: start; font: 8rem Georgia, serif; color: rgba(255,255,255,.15); line-height: .7; }
.character-shape { justify-self: end; width: min(390px, 100%); aspect-ratio: 4/5; clip-path: polygon(10% 3%, 87% 0, 100% 70%, 73% 100%, 0 89%, 4% 26%); background: var(--cream); padding: 10px; transform: rotate(2deg); }
.character-shape img { width: 100%; height: 100%; object-fit: cover; }

.inside { padding-block: 80px 140px; }
.section-heading { max-width: 770px; margin-bottom: 50px; }
.section-heading > p:last-child { color: var(--ink-soft); max-width: 610px; }
.gallery-wrap { position: relative; }
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 34%); gap: 22px; overflow-x: auto; padding: 15px 4px 35px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery-card { margin: 0; height: 470px; background: white; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; scroll-snap-align: start; box-shadow: 0 16px 36px rgba(49, 94, 75, .09); }
.gallery-card:nth-child(even) { transform: translateY(14px) rotate(1deg); }
.gallery-card img { width: 100%; height: 405px; object-fit: cover; }
.gallery-card figcaption { height: 65px; display: flex; align-items: center; padding: 0 20px; font: 700 .8rem "Comfortaa", sans-serif; color: var(--green-dark); }
.gallery-button { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,253,246,.9); color: var(--ink); font-size: 1.3rem; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.12); }
.gallery-button:hover { background: white; }
.gallery-button:disabled { opacity: .28; cursor: default; box-shadow: none; }
.gallery-button:disabled:hover { background: rgba(255,253,246,.9); }
.previous { left: -24px; }
.next { right: -24px; }

.excerpt { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; min-height: 680px; margin-bottom: 150px; background: var(--sky); border-radius: var(--radius); overflow: hidden; }
.excerpt-image { height: 100%; min-height: 680px; }
.excerpt-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; mix-blend-mode: multiply; }
.excerpt-copy { padding: clamp(35px, 6vw, 85px); }
.excerpt-copy h2 { font-size: clamp(2rem, 3.4vw, 3.5rem); }
.excerpt-copy > p:not(.eyebrow) { color: var(--ink-soft); }
.draft-note { font-size: .75rem; border-top: 1px solid rgba(35,56,47,.18); padding-top: 18px; margin-top: 28px; }

.book { padding-block: 40px 150px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(60px, 10vw, 150px); }
.book-visual { min-height: 620px; display: grid; place-items: center; position: relative; }
.book-visual::before { content: ""; position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; background: var(--cream); }
.book-visual img { position: relative; z-index: 2; max-height: 550px; box-shadow: var(--shadow); transform: rotate(-4deg); border: 8px solid white; }
.cover-shadow { position: absolute; width: 40%; height: 70%; background: rgba(49,94,75,.2); transform: translate(40px, 34px) rotate(8deg); filter: blur(28px); }
.book-copy > p:not(.eyebrow) { color: var(--ink-soft); max-width: 610px; }
.format-list { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.format-list li { display: grid; grid-template-columns: 95px 1fr; gap: 15px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.format-list span { color: var(--red); font: 700 .84rem "Comfortaa", sans-serif; }

.order { padding-bottom: 100px; }
.order-card { min-height: 390px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 50px; padding: clamp(32px, 6vw, 80px); color: white; background: var(--red); border-radius: var(--radius); position: relative; overflow: hidden; }
.order-card::after { content: "♡"; position: absolute; right: 3%; top: -35%; color: rgba(255,255,255,.1); font: 28rem sans-serif; transform: rotate(-12deg); }
.order-card .eyebrow { color: var(--yellow); }
.order-card h2 { font-size: clamp(2.3rem, 4vw, 4.2rem); }
.order-card p:not(.eyebrow) { color: rgba(255,255,255,.8); }
.price-block { z-index: 1; background: var(--paper); color: var(--ink); border-radius: 22px; padding: 30px; text-align: center; box-shadow: var(--shadow); }
.price { margin: 0 0 20px !important; color: var(--ink) !important; }
.price strong { font: 700 4.2rem "Comfortaa", sans-serif; }
.price-block .button { width: 100%; background: var(--green-dark); box-shadow: none; }
.microcopy { font-size: .7rem; color: var(--ink-soft) !important; margin: 14px 0 0; }

.site-footer { width: min(1240px, calc(100% - 40px)); min-height: 130px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .8rem; }
.notice { width: min(500px, calc(100% - 32px)); border: 0; border-radius: 24px; padding: 42px; color: var(--ink); background: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.35); text-align: center; }
.notice::backdrop { background: rgba(21, 42, 33, .66); backdrop-filter: blur(5px); }
.notice h2 { font-size: 2rem; }
.notice p { color: var(--ink-soft); }
.notice-close { position: absolute; right: 14px; top: 10px; border: 0; background: none; font-size: 1.8rem; cursor: pointer; color: var(--ink-soft); }
.notice-heart { color: var(--red); font-size: 2.8rem; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 75px; }
  .hero-art { min-height: 520px; }
  .manifesto-card { grid-template-columns: 1fr; gap: 35px; }
  .quote-mark { display: none; }
  .character-shape { justify-self: center; max-height: 420px; }
  .gallery { grid-auto-columns: 68%; }
  .excerpt, .book, .order-card { grid-template-columns: 1fr; }
  .excerpt-image { min-height: 480px; }
  .book-visual { min-height: 500px; }
}

@media (max-width: 560px) {
  .site-header, .section, .site-footer { width: min(100% - 26px, 1240px); }
  .site-header { min-height: 72px; }
  .site-header .button { display: none; }
  .hero { min-height: auto; padding-block: 62px 80px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  .hero-art { min-height: 390px; }
  .hero-scene { height: 310px; }
  .book-cover { width: 42%; border-width: 5px; }
  .sun { width: 90px; height: 90px; }
  .doodle-heart { font-size: 3rem; }
  .manifesto { padding-block: 45px 90px; }
  .manifesto-card { padding: 28px 22px; border-radius: 22px; }
  .inside { padding-block: 50px 95px; }
  .gallery { grid-auto-columns: 86%; }
  .gallery-card { height: 400px; }
  .gallery-card img { height: 340px; }
  .previous { left: -8px; }
  .next { right: -8px; }
  .excerpt { margin-bottom: 90px; }
  .excerpt-image { min-height: 380px; }
  .excerpt-copy { padding: 34px 24px 44px; }
  .book { padding-bottom: 95px; gap: 25px; }
  .book-visual { min-height: 430px; }
  .book-visual img { max-height: 390px; }
  .order { padding-bottom: 60px; }
  .order-card { padding: 34px 22px; gap: 28px; }
  .price strong { font-size: 3.5rem; }
  .site-footer { min-height: 180px; flex-direction: column; justify-content: center; gap: 8px; text-align: center; }
  .notice { padding: 38px 24px 28px; }
}

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