:root {
  --cream: #fbf6ec;
  --paper: #fffdf8;
  --sand: #d6c4a5;
  --brown: #6e4f36;
  --brown-dark: #382719;
  --orange: #d49a58;
  --coral: #db6d51;
  --yellow: #f4ce52;
  --blue: #4b7f8c;
  --ink: #29231e;
  --muted: #6e655c;
  --radius: 28px;
  --shadow: 0 20px 60px rgba(56, 39, 25, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Trebuchet MS", Arial, sans-serif; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 110px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -80px; padding: 12px 18px; background: var(--brown-dark); color: white; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; z-index: 100; top: 0; background: rgba(255,253,248,.93); border-bottom: 1px solid rgba(110,79,54,.1); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--brown-dark); font-size: 1.15rem; font-weight: 800; text-decoration: none; letter-spacing: .02em; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { position: relative; color: var(--brown-dark); font-size: .95rem; font-weight: 700; text-decoration: none; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; background: var(--coral); transition: right .25s ease; }
.main-nav > a:hover::after, .main-nav > a:focus-visible::after { right: 0; }
.nav-cta { padding: 10px 18px; color: white !important; background: var(--coral); border-radius: 999px; }
.menu-button { display: none; padding: 9px; background: transparent; border: 0; }
.menu-line { display: block; width: 26px; height: 2px; margin: 5px 0; background: var(--brown-dark); }

.hero { position: relative; min-height: 760px; overflow: hidden; background: linear-gradient(135deg, #fff9ec 0%, #f6e9d7 55%, #ecd8ba 100%); }
.hero-grid { min-height: 700px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; padding: 80px 0 110px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 18px; color: var(--coral); font-size: .78rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { color: var(--brown-dark); font-family: Georgia, "Times New Roman", serif; line-height: 1.08; }
h1 { max-width: 730px; margin-bottom: 24px; font-size: clamp(3.2rem, 6.5vw, 6.2rem); letter-spacing: -.055em; }
h2 { margin-bottom: 24px; font-size: clamp(2.4rem, 4vw, 4.2rem); letter-spacing: -.04em; }
.hero-text { max-width: 620px; margin-bottom: 34px; color: var(--muted); font-size: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 24px; border: 2px solid transparent; border-radius: 999px; font-weight: 800; text-align: center; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--brown); box-shadow: 0 12px 28px rgba(110,79,54,.24); }
.button-ghost { color: var(--brown); background: transparent; border-color: rgba(110,79,54,.35); }
.button-light { color: var(--brown-dark); background: white; box-shadow: 0 12px 30px rgba(40,20,10,.16); }
.button-outline-light { color: white; background: transparent; border-color: rgba(255,255,255,.72); }
.values { display: flex; flex-wrap: wrap; gap: 22px; margin: 34px 0 0; padding: 0; list-style: none; color: var(--brown); font-size: .9rem; font-weight: 800; }
.values li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--yellow); border-radius: 50%; }
.hero-art { position: relative; display: grid; place-items: center; }
.logo-halo { position: relative; z-index: 2; width: min(480px, 90vw); padding: 8px; background: rgba(255,255,255,.34); border: 1px solid rgba(255,255,255,.8); border-radius: 50%; box-shadow: var(--shadow); transform: rotate(2deg); }
.logo-halo img { width: 100%; }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 330px; height: 330px; right: -90px; top: 60px; background: rgba(244,206,82,.4); }
.orb-two { width: 240px; height: 240px; left: -80px; bottom: 40px; background: rgba(75,127,140,.16); }
.spark { position: absolute; z-index: 3; color: var(--coral); font-size: 3rem; animation: float 4s ease-in-out infinite; }
.spark-one { top: 2%; right: 2%; }
.spark-two { left: 0; bottom: 14%; color: var(--blue); animation-delay: -1.5s; }
.spark-three { right: 6%; bottom: 6%; color: var(--yellow); animation-delay: -.6s; }
.wave { position: absolute; left: -5%; right: -5%; bottom: -60px; height: 120px; background: var(--paper); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
@keyframes float { 50% { transform: translateY(-14px) rotate(12deg); } }

.story-grid { display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 90px; }
.story-card { position: relative; min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: 42px; color: white; background: transparent; border-radius: var(--radius); box-shadow: var(--shadow); }
.story-card::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(35,18,11,.18) 58%, rgba(35,18,11,.84) 100%); }
.story-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
.story-card p { position: relative; z-index: 2; max-width: 300px; margin: 0; font-family: Georgia, serif; font-size: 2rem; line-height: 1.25; }
.story-number { position: absolute; z-index: 2; top: 30px; left: 35px; color: rgba(255,255,255,.7); font-size: 1rem; font-weight: 900; letter-spacing: .16em; }
.section-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.text-link { display: inline-block; margin-top: 14px; color: var(--coral); font-weight: 900; text-decoration: none; }

.universe { position: relative; overflow: hidden; color: white; background: #08111f url("assets/hero-bg.png") center / cover fixed; }
.universe::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,12,24,.5), rgba(5,12,24,.9)); }
.universe .container { position: relative; z-index: 1; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: 52px; }
.section-heading > p { max-width: 450px; color: var(--muted); }
.section-heading h2 { max-width: 760px; margin-bottom: 0; }
.section-heading.light h2 { color: white; }
.section-heading.light > p { color: rgba(255,255,255,.72); }
.section-heading.centered { justify-content: center; text-align: center; }
.book-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.book-card { overflow: hidden; color: var(--ink); background: rgba(255,255,255,.96); border: 1px solid rgba(255,255,255,.5); border-radius: 20px; transition: transform .25s ease, box-shadow .25s ease; }
.book-card:hover { transform: translateY(-7px); box-shadow: 0 22px 45px rgba(0,0,0,.28); }
.book-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  padding: 16px;
  background: linear-gradient(145deg, #fffdf8, #eadfcf);
}
.book-info { padding: 22px; }
.book-info span { color: var(--coral); font-size: .72rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.book-info h3 { min-height: 52px; margin: 7px 0 14px; color: var(--brown-dark); font-family: Georgia, serif; font-size: 1.25rem; line-height: 1.22; }
.book-info a { color: var(--brown); font-size: .9rem; font-weight: 900; }

.videos { background: var(--cream); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card { position: relative; overflow: hidden; background: var(--brown-dark); border-radius: 18px; box-shadow: 0 14px 32px rgba(56,39,25,.12); }
.video-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s ease, opacity .35s ease; }
.video-card:hover img { opacity: .72; transform: scale(1.045); }
.play { position: absolute; left: 50%; top: 50%; display: grid; width: 62px; height: 62px; place-items: center; padding-left: 4px; color: var(--brown-dark); background: white; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 12px 25px rgba(0,0,0,.22); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.person { overflow: hidden; background: white; border: 1px solid rgba(110,79,54,.12); border-radius: 22px; box-shadow: 0 12px 35px rgba(56,39,25,.08); }
.person img { width: 100%; aspect-ratio: 1 / .94; object-fit: cover; object-position: center 30%; background: var(--cream); }
.person div { padding: 24px; }
.person h3 { margin-bottom: 5px; color: var(--brown-dark); font-family: Georgia, serif; font-size: 1.45rem; }
.person p { margin: 0; color: var(--muted); }

.cta-section { padding: 20px 0 100px; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 58px 64px; color: white; background: var(--coral); border-radius: var(--radius); box-shadow: var(--shadow); }
.cta-card h2 { max-width: 720px; margin-bottom: 14px; color: white; font-size: clamp(2.2rem, 3.5vw, 3.5rem); }
.cta-card p { max-width: 720px; margin-bottom: 0; color: rgba(255,255,255,.85); }
.cta-card .eyebrow { color: #ffe98c; }
.cta-card .button { flex: 0 0 auto; }
.cta-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 12px; }

.site-footer { padding: 48px 0; color: rgba(255,255,255,.72); background: var(--brown-dark); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr auto; align-items: center; gap: 28px; }
.footer-brand { color: white; }
.footer-brand img { width: 50px; height: 50px; }
.footer-grid p { margin: 0; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: white; font-size: .9rem; text-decoration: none; }
.copyright { font-size: .82rem; }

@media (max-width: 980px) {
  .main-nav { position: absolute; left: 20px; right: 20px; top: 72px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: white; border: 1px solid rgba(110,79,54,.12); border-radius: 18px; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 15px; }
  .nav-cta { margin-top: 7px; text-align: center; }
  .menu-button { display: block; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 25px; }
  h1 { font-size: clamp(3rem, 8vw, 4.7rem); }
  .story-grid { gap: 42px; }
  .book-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1160px); }
  .section { padding: 78px 0; }
  .brand img { width: 48px; height: 48px; }
  .nav-wrap { min-height: 68px; }
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding: 65px 0 100px; text-align: center; }
  .hero-art { grid-row: 1; }
  .logo-halo { width: min(290px, 78vw); padding: 6px; }
  .hero-text { font-size: 1.08rem; }
  .hero-actions, .values { justify-content: center; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card { min-height: 330px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .book-grid, .video-grid, .team-grid { grid-template-columns: 1fr; }
  .book-card { display: grid; grid-template-columns: 42% 58%; align-items: stretch; }
  .book-card img { height: 100%; min-height: 220px; aspect-ratio: auto; padding: 12px; }
  .book-info h3 { min-height: 0; }
  .video-grid { gap: 16px; }
  .cta-card { align-items: flex-start; flex-direction: column; padding: 38px 28px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-links { justify-content: center; }
  .universe { background-attachment: scroll; }
}

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