:root {
  --ink: #21180f;
  --ink-soft: #5e5145;
  --paper: #f7f0e5;
  --paper-2: #fffaf2;
  --stone: #b79c76;
  --stone-dark: #806546;
  --gold: #c5963d;
  --line: rgba(33, 24, 15, 0.14);
  --shadow: 0 24px 70px rgba(33, 24, 15, 0.14);
  --radius: 28px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(197, 150, 61, 0.15), transparent 30rem),
    radial-gradient(circle at 80% 30%, rgba(128, 101, 70, 0.16), transparent 28rem),
    var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  border-radius: 999px;
  z-index: 50;
}
.skip-link:focus { left: 12px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 240, 229, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(33, 24, 15, 0.08);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 12px 40px rgba(33, 24, 15, 0.09);
  background: rgba(255, 250, 242, 0.92);
}

.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand strong, .footer-brand strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: .02em;
}
.brand small {
  color: var(--ink-soft);
  display: block;
  font-size: .72rem;
  margin-top: 3px;
}
.brand-mark { filter: drop-shadow(0 12px 18px rgba(33, 24, 15, .15)); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  font-size: .92rem;
}
.site-nav a { color: var(--ink-soft); transition: color .2s ease; }
.site-nav a:hover { color: var(--ink); }
.nav-cta {
  color: var(--ink) !important;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.35);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.35);
  padding: 10px;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 10px;
}

.section { padding: 96px 0; }
.hero { padding-top: 110px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .76fr);
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--stone-dark);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 800;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: .98;
  margin: 0;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(4.4rem, 8vw, 7.8rem); max-width: 850px; }
h2 { font-size: clamp(2.6rem, 5vw, 5rem); }
h3 { font-size: 2rem; }
p { color: var(--ink-soft); margin: 0; }

.hero-text {
  margin-top: 24px;
  max-width: 680px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}
.hero-actions, .contact-actions, .book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary {
  background: var(--ink);
  color: #fffaf2;
  box-shadow: 0 14px 30px rgba(33, 24, 15, .22);
}
.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255,255,255,.4);
}
.trust-line { margin-top: 24px; font-size: .95rem; font-weight: 700; }

.hero-card {
  min-height: 540px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,250,242,.95), rgba(238,224,205,.72)),
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(33,24,15,.03) 10px, rgba(33,24,15,.03) 11px);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 30px;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(33,24,15,.1);
  border-radius: calc(var(--radius) - 8px);
}

.stone-orbit {
  width: min(280px, 70vw);
  aspect-ratio: 1;
  border: 1px dashed rgba(128, 101, 70, .42);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
}
.stone-core {
  width: 154px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 46% 54% 54% 46% / 48% 42% 58% 52%;
  background: linear-gradient(145deg, #c7ad83, #765b3f);
  color: white;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.7rem;
  font-weight: 700;
  box-shadow: inset 18px 18px 28px rgba(255,255,255,.16), inset -18px -18px 34px rgba(33,24,15,.22), 0 24px 50px rgba(33,24,15,.18);
}
.orbit-dot {
  position: absolute;
  width: 16px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
}
.orbit-dot.one { top: 18px; left: 72px; }
.orbit-dot.two { right: 22px; top: 128px; }
.orbit-dot.three { bottom: 30px; left: 104px; }

.quote-card {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  background: rgba(255, 250, 242, .82);
  border: 1px solid rgba(33,24,15,.1);
  border-radius: 22px;
  padding: 20px;
  backdrop-filter: blur(14px);
}
.quote-card p {
  color: var(--ink);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  line-height: 1.1;
}

.intro-band { padding: 34px 0 0; }
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.intro-grid > div {
  background: rgba(255,250,242,.62);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
}
.stat {
  display: inline-flex;
  color: var(--stone-dark);
  font-weight: 900;
  letter-spacing: .12em;
  margin-bottom: 12px;
}
.intro-grid h2 {
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 38px;
}
.section-heading p:last-child { margin-top: 16px; font-size: 1.08rem; }

.book-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.book-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 16px;
  box-shadow: 0 18px 48px rgba(33, 24, 15, .09);
  display: flex;
  flex-direction: column;
}
.book-cover {
  min-height: 320px;
  border-radius: 22px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  overflow: hidden;
  position: relative;
}
.book-cover::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 16px;
}
.book-cover span, .book-cover small {
  position: relative;
  z-index: 1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
}
.book-cover strong {
  position: relative;
  z-index: 1;
  font-family: "Cormorant Garamond", serif;
  font-size: 3.2rem;
  line-height: .9;
  text-shadow: 0 8px 22px rgba(0,0,0,.22);
}
.book-cover.wordfind { background: linear-gradient(145deg, #795d3e, #b89054); }
.book-cover.crossword { background: linear-gradient(145deg, #2b2117, #8f714e); }
.book-cover.tree { background: linear-gradient(145deg, #314227, #b0864a); }
.book-cover.wordfind::before, .book-cover.crossword::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
}
.book-cover.tree::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  border: 30px solid rgba(255,255,255,.12);
  border-radius: 50% 45% 54% 42%;
  right: -44px;
  top: 40px;
}
.book-content { padding: 22px 8px 8px; flex: 1; display: flex; flex-direction: column; }
.book-type {
  color: var(--stone-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .73rem;
  margin-bottom: 10px;
}
.book-content h3 { font-size: 2rem; margin-bottom: 12px; }
.book-content p:nth-of-type(2) { flex: 1; }
.text-link {
  color: var(--ink);
  font-weight: 900;
  border-bottom: 2px solid var(--gold);
}
.notice-box {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255,250,242,.72);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.notice-box strong { color: var(--ink); }

.about-section { background: rgba(255,250,242,.35); border-top: 1px solid rgba(33,24,15,.06); border-bottom: 1px solid rgba(33,24,15,.06); }
.about-grid, .puzzle-grid {
  display: grid;
  grid-template-columns: 1fr .78fr;
  gap: 42px;
  align-items: center;
}
.about-copy p { margin-top: 18px; font-size: 1.08rem; }
.values-card, .puzzle-card, .mini-features, .contact-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.values-card { padding: 34px; }
.values-card h3 { font-size: 2.3rem; margin-bottom: 18px; }
ul { padding: 0; margin: 0; list-style: none; }
.values-card li {
  padding: 13px 0 13px 30px;
  border-bottom: 1px solid rgba(33,24,15,.08);
  color: var(--ink-soft);
  position: relative;
  font-weight: 650;
}
.values-card li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
}
.values-card li:last-child { border-bottom: 0; }

.puzzle-card { padding: 42px; }
.puzzle-card p:not(.eyebrow) { margin-top: 18px; font-size: 1.08rem; }
.puzzle-card .button { margin-top: 28px; }
.mini-features { padding: 18px; display: grid; gap: 14px; }
.mini-features div {
  padding: 24px;
  border-radius: 22px;
  background: rgba(247,240,229,.72);
  border: 1px solid rgba(33,24,15,.08);
}
.mini-features strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
}
.mini-features span { color: var(--ink-soft); display: block; margin-top: 8px; }

.quote-section { text-align: center; padding-top: 30px; }
blockquote {
  margin: 0 auto;
  max-width: 920px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  line-height: .98;
}
.quote-section p { margin: 22px auto 0; max-width: 700px; font-size: 1.05rem; }

.contact-card { text-align: center; padding: 54px 30px; }
.contact-card h2 { max-width: 820px; margin: 0 auto; }
.contact-card p:not(.eyebrow) { max-width: 690px; margin: 18px auto 0; }
.contact-actions { justify-content: center; }
.small-note { font-size: .86rem; }

.site-footer {
  background: #21180f;
  color: #fffaf2;
  padding: 56px 0 30px;
}
.site-footer p, .site-footer a { color: rgba(255,250,242,.72); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .6fr .6fr;
  gap: 30px;
}
.footer-brand strong { color: #fffaf2; }
.site-footer h3 {
  font-family: Inter, sans-serif;
  font-size: .88rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 12px;
}
.site-footer a { display: block; margin: 8px 0; }
.site-footer a:hover { color: #fffaf2; }
.legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,250,242,.12);
  font-size: .82rem;
}
.legal p + p { margin-top: 10px; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: 82px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: rgba(255,250,242,.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 8px; }
  .nav-cta { text-align: center; }
  .hero-grid, .about-grid, .puzzle-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 70px; }
  .hero-card { min-height: 460px; }
  .intro-grid, .book-grid, .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--container)); }
  .header-inner { height: 74px; }
  .brand small { display: none; }
  .brand strong { font-size: 1.16rem; }
  .site-nav { top: 74px; left: 14px; right: 14px; }
  .section { padding: 70px 0; }
  .hero { padding-top: 60px; }
  h1 { font-size: clamp(3.4rem, 17vw, 4.7rem); }
  h2 { font-size: 2.55rem; }
  .hero-actions, .contact-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .book-cover { min-height: 260px; }
  .book-cover strong { font-size: 2.6rem; }
  .values-card, .puzzle-card, .contact-card { padding: 28px 20px; }
}
