@import url('https://fonts.googleapis.com/css2?family=ABeeZee:ital@0;1&family=Lilita+One&display=swap');

:root {
  --navy: #071935;
  --navy-soft: #10294f;
  --cream: #fdf2de;
  --paper: #fdf2de;
  --amber: #c47c2b;
  --amber-deep: #986021;
  --spot-orange: #d9821f;
  --brown: #2c1f17;
  --keyline: #54290e;
  --moon: #dff9fb;
  --sage: #fdf2de;
  --line: rgba(84, 41, 14, 0.22);
  --shadow: 0 22px 60px rgba(7, 25, 53, 0.14);
  --radius: 24px;
  --display: 'Lilita One', Georgia, serif;
  --body: 'ABeeZee', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--brown);
  background: var(--cream);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: var(--amber-deep); text-underline-offset: 0.2em; }
a:hover { color: var(--keyline); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: var(--paper);
  color: var(--navy);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--moon);
  outline-offset: 4px;
}

.wrap { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 2rem)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section.compact { padding: clamp(2.8rem, 5vw, 4.5rem) 0; }
.section.night { background: var(--navy); color: var(--cream); }
.section.paper { background: var(--paper); }
.section.sage { background: var(--sage); }
.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--amber-deep);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}
.night .eyebrow, .hero .eyebrow { color: #efb866; }
h1, h2, h3 {
  margin: 0 0 0.8rem;
  color: var(--navy);
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: 0.005em;
}
.night h2, .night h3, .hero h1, .hero h2 { color: var(--cream); }
h1 { font-size: clamp(2.65rem, 4.8vw, 3.65rem); }
h2 { font-size: clamp(2.15rem, 4.5vw, 3.75rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.65; }
.small { font-size: 0.88rem; }
.muted { color: #62564d; }
.night .muted, .hero .muted { color: rgba(253, 242, 222, 0.75); }
.center { text-align: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(253, 242, 222, 0.14);
  background: rgba(7, 25, 53, 0.96);
  backdrop-filter: blur(14px);
}
.nav {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand img {
  width: 108px;
  height: auto;
  transform-origin: 45% 70%;
  animation: oms-brand-settle 8s ease-in-out infinite;
}
@keyframes oms-brand-settle {
  0%, 100% { transform: translateY(0) rotate(-0.25deg); }
  50% { transform: translateY(-2px) rotate(0.35deg); }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.78rem;
  border-radius: 999px;
  color: var(--cream);
  font-size: 0.91rem;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a[aria-current='page'] { background: rgba(253, 242, 222, 0.12); }
.nav-links .nav-cta { margin-left: 0.35rem; background: var(--amber); color: var(--cream); }
.nav-links .nav-cta:hover, .nav-links .nav-cta[aria-current='page'] { background: #a96623; }
.menu-button {
  display: none;
  min-width: 46px;
  min-height: 46px;
  border: 1px solid rgba(253, 242, 222, 0.4);
  border-radius: 14px;
  background: transparent;
  color: var(--cream);
}
.menu-button span { display: block; width: 20px; height: 2px; margin: 4px auto; background: currentColor; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 16%, rgba(223, 249, 251, 0.7) 0 1px, transparent 2px),
    radial-gradient(circle at 30% 36%, rgba(253, 242, 222, 0.45) 0 1px, transparent 2px),
    radial-gradient(circle at 62% 13%, rgba(223, 249, 251, 0.55) 0 1px, transparent 2px),
    linear-gradient(145deg, var(--navy) 0%, #0b2345 100%);
  background-size: 150px 150px, 210px 210px, 260px 260px, auto;
  color: var(--cream);
}
.hero-grid {
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy .lead { max-width: 700px; }
.hero-art {
  position: relative;
  align-self: stretch;
  min-height: 500px;
  margin: 0;
  border: 1px solid rgba(253, 242, 222, 0.2);
  border-radius: 180px 180px 34px 34px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero-art img[src*='cover-book'] { padding: clamp(0.75rem, 2vw, 1.4rem); object-fit: contain; background: var(--cream); }
.hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 25, 53, 0.5), transparent 42%);
  pointer-events: none;
}
.hero-badge {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  max-width: 230px;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(7, 25, 53, 0.86);
  color: var(--cream);
  font-size: 0.86rem;
  line-height: 1.45;
}
.hero.simple .hero-grid { min-height: 430px; grid-template-columns: 1fr minmax(250px, 0.42fr); }
.hero.simple .hero-art { min-height: 360px; border-radius: 120px 120px 24px 24px; }

.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.7rem; }
.actions[id] { scroll-margin-top: 6.5rem; }
.text-actions { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1rem; }
.text-actions a { color: var(--cream); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--amber);
  color: var(--cream);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}
.button:hover { color: var(--cream); background: #a96623; transform: translateY(-2px); }
.button.secondary { border-color: rgba(253, 242, 222, 0.65); background: transparent; color: var(--cream); }
.button.secondary:hover { background: rgba(253, 242, 222, 0.1); }
.button.cream { background: var(--cream); color: var(--navy); }
.button.cream:hover { background: var(--cream); color: var(--navy); }
.button.outline { border-color: var(--amber-deep); background: transparent; color: var(--amber-deep); }
.button.outline:hover { background: var(--amber-deep); color: var(--cream); }
.button.disabled { background: #978b7e; pointer-events: none; }

.proof-strip { background: var(--amber); color: var(--cream); }
.proof-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 1.2rem 0;
  list-style: none;
  text-align: center;
}
.proof-list li { padding: 0.35rem 0.8rem; border-right: 1px solid rgba(255, 255, 255, 0.35); }
.proof-list li:last-child { border: 0; }
.proof-list strong { display: block; font-family: var(--display); font-size: 1.4rem; font-weight: 400; }

.section-head { max-width: 760px; margin-bottom: 2.2rem; }
.section-head.center { margin-inline: auto; }
.grid { display: grid; gap: 1.3rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.88fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); }
.split.reverse > :first-child { order: 2; }

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 12px 36px rgba(7, 25, 53, 0.07);
}
.card-body { padding: 1.35rem; }
.card-body > :last-child { margin-bottom: 0; }
.card img.cover { width: 100%; height: auto; padding: 0.75rem; object-fit: contain; background: var(--cream); }
.card img.scene { width: 100%; height: auto; object-fit: contain; background: var(--navy); }
.card-scene-motion {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy);
}
.card-scene-motion img,
.card-scene-motion video,
.hero-art.has-scene-video > .scene-motion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-art.has-scene-video {
  align-self: center;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 34px;
  background: var(--navy);
}
.hero-art.has-scene-video > img { object-fit: contain; object-position: center; }
.hero-art.has-scene-video > .scene-motion { z-index: 1; }
.hero-art.has-scene-video > .hero-badge { z-index: 3; }
.hero-art.has-scene-video.has-portrait-scene,
.hero.simple .hero-art.has-scene-video.has-portrait-scene {
  justify-self: end;
  width: min(100%, 390px);
  min-height: 0;
  aspect-ratio: 9 / 16;
  border-radius: 180px 180px 34px 34px;
}
.hero-art.has-scene-video.has-portrait-scene > .scene-motion { object-fit: contain; }
.card-scene-motion.has-portrait-scene > img {
  object-fit: cover;
  filter: blur(12px);
  transform: scale(1.08);
  opacity: 0.42;
}
.card-scene-motion.has-portrait-scene > video {
  object-fit: contain;
  background: transparent;
}
.tag {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(196, 124, 43, 0.14);
  color: var(--amber-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}
.night .tag { background: rgba(239, 184, 102, 0.16); color: #efb866; }
.card-link { color: var(--navy); font-weight: 700; }
.book-card .cover { background: #e8d5b9; }
.book-card h3 { min-height: 2.05em; }
.book-card .card-body { display: flex; min-height: 305px; flex-direction: column; }
.book-card .card-body .card-link { margin-top: auto; }

.video-shell {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  color: var(--cream);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}
.video-shell img { width: 100%; height: 100%; object-fit: contain; background: var(--navy); opacity: 0.78; }
.video-shell::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 25, 53, 0.82), transparent 65%); }
.video-shell .play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--amber);
  transform: translate(-50%, -50%);
}
.video-shell .play::before { content: ''; position: absolute; top: 24px; left: 30px; border-top: 14px solid transparent; border-bottom: 14px solid transparent; border-left: 22px solid var(--cream); }
.video-shell .video-label { position: absolute; left: 50%; bottom: 1rem; z-index: 2; width: calc(100% - 2.6rem); transform: translateX(-50%); font-weight: 700; text-align: center; }
.video-shell iframe { width: 100%; height: 100%; border: 0; }
.video-thumb { background: var(--navy); }
.video-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.scene-panel {
  min-height: 420px;
  display: grid;
  align-items: end;
  border-radius: var(--radius);
  overflow: hidden;
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}
.scene-panel .scene-copy { padding: clamp(1.5rem, 5vw, 3rem); background: linear-gradient(to top, rgba(7, 25, 53, 0.94), rgba(7, 25, 53, 0.2)); color: var(--cream); }
.scene-panel h2, .scene-panel h3 { color: var(--cream); }
.scene-waterhole { background-image: url('../assets/env-waterhole.jpg'); }
.scene-woodland { background-image: url('../assets/env-woodland.jpg'); }

.portrait { border-radius: var(--radius); box-shadow: var(--shadow); }
.character { max-height: 480px; margin-inline: auto; object-fit: contain; }
.quote {
  margin: 0;
  padding: clamp(1.8rem, 5vw, 3.5rem);
  border-left: 6px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--paper);
  color: var(--navy);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.55;
  box-shadow: var(--shadow);
}
.quote cite { display: block; margin-top: 1rem; color: var(--amber-deep); font-size: 0.9rem; font-style: normal; }

.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.live-photo-grid { align-items: start; }
.live-photo-grid img { height: auto; aspect-ratio: auto 4 / 3; object-fit: contain; }
.live-photo-grid img:nth-child(2) { aspect-ratio: auto 1600 / 1338; }

.book-detail { display: grid; grid-template-columns: minmax(250px, 420px) minmax(0, 1fr); align-items: start; gap: clamp(2rem, 7vw, 6rem); }
.book-detail .book-cover { width: 100%; border-radius: 18px; box-shadow: var(--shadow); }
.meta-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; margin: 1.4rem 0; }
.meta-item { padding: 1rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(253, 242, 222, 0.72); }
.meta-item strong { display: block; color: var(--navy); }

.form-card { padding: clamp(1.4rem, 5vw, 3rem); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field.full { grid-column: 1 / -1; }
label { color: var(--navy); font-weight: 700; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid #9a8675;
  border-radius: 12px;
  background: var(--cream);
  color: var(--brown);
}
textarea { min-height: 145px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; }

.breadcrumb { margin: 0 0 1.5rem; font-size: 0.88rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 0.4rem; color: #8d7c6f; }
.notice { padding: 1rem 1.2rem; border-left: 4px solid var(--amber); border-radius: 10px; background: rgba(196, 124, 43, 0.1); }
.faq { border-top: 1px solid var(--line); }
.faq details { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.faq summary { color: var(--navy); font-weight: 700; cursor: pointer; }
.faq details p { margin-top: 0.8rem; }

.site-footer { padding: 4rem 0 2rem; background: var(--navy); color: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 0.8fr 0.8fr 0.8fr; gap: 2.5rem; }
.footer-grid h2, .footer-grid h3 { color: var(--cream); }
.footer-logo { width: 190px; margin-bottom: 1rem; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links a { color: rgba(253, 242, 222, 0.8); }
.footer-links li { margin-bottom: 0.45rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 3rem; padding-top: 1.3rem; border-top: 1px solid rgba(253, 242, 222, 0.16); color: rgba(253, 242, 222, 0.66); font-size: 0.82rem; }

.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; }

/* Shared One More Story visual language */
.section,
.hero,
.site-footer {
  isolation: isolate;
}

.section.night {
  overflow: hidden;
}

.site-footer {
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  left: 6%;
  bottom: -150px;
  z-index: 0;
  width: min(700px, 70vw);
  height: 310px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(196, 124, 43, 0.3), rgba(196, 124, 43, 0.08) 44%, transparent 72%);
  filter: blur(8px);
  pointer-events: none;
  transform-origin: 25% 70%;
  animation: oms-fire-glow 7.5s ease-in-out infinite;
}

.hero-grid,
.section > .wrap,
.section > .narrow,
.site-footer > .wrap {
  position: relative;
  z-index: 2;
}

.section-head {
  position: relative;
}

.section-head::after {
  content: '';
  display: block;
  width: 9px;
  height: 9px;
  margin-top: 1.3rem;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 18px 8px 0 rgba(196, 124, 43, 0.72), 37px -2px 0 rgba(196, 124, 43, 0.42);
}

.section-head.center::after {
  margin-inline: auto;
  transform: translateX(-18px);
}

.card,
.form-card,
.quote,
.meta-item {
  border-color: rgba(84, 41, 14, 0.27);
}

.card {
  box-shadow: 0 16px 42px rgba(7, 25, 53, 0.09);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(7, 25, 53, 0.13);
}

.character {
  padding: clamp(0.5rem, 2vw, 1.2rem);
  border-radius: 48% 52% 46% 54%;
  background: radial-gradient(circle at 50% 52%, rgba(196, 124, 43, 0.23), rgba(196, 124, 43, 0.08) 44%, transparent 70%);
  filter: drop-shadow(0 22px 30px rgba(7, 25, 53, 0.14));
}

.hero-art {
  border-color: rgba(253, 242, 222, 0.32);
  outline: 1px solid rgba(196, 124, 43, 0.26);
  outline-offset: 8px;
}

.hero-badge {
  border: 1px solid rgba(253, 242, 222, 0.22);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.oms-ambient {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.oms-star {
  position: absolute;
  width: var(--star-size, 3px);
  height: var(--star-size, 3px);
  border-radius: 50%;
  background: var(--moon);
  box-shadow: 0 0 9px rgba(223, 249, 251, 0.76);
  opacity: var(--star-opacity, 0.55);
  animation: oms-star-breathe var(--star-speed, 8s) ease-in-out var(--star-delay, 0s) infinite;
}

.oms-firefly {
  position: absolute;
  left: var(--fly-left, 8%);
  top: var(--fly-top, 62%);
  width: var(--fly-width, clamp(70px, 9vw, 118px));
  height: auto;
  opacity: 0.7;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 48%, transparent 74%);
  mask-image: radial-gradient(ellipse at center, #000 48%, transparent 74%);
}

.oms-golden-mote {
  position: absolute;
  left: var(--mote-left, 12%);
  top: var(--mote-top, 70%);
  width: var(--mote-size, 3px);
  height: var(--mote-size, 3px);
  border-radius: 50%;
  background: #f8b748;
  box-shadow: 0 0 6px rgba(248, 183, 72, 0.9), 0 0 14px rgba(221, 137, 32, 0.42);
  opacity: 0.72;
  animation: oms-mote-rise var(--mote-speed, 22s) ease-in-out var(--mote-delay, 0s) infinite;
}

.oms-moon {
  position: absolute;
  top: 0.5rem;
  right: clamp(1.25rem, 3vw, 3rem);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: inset -8px 5px 0 0 rgba(253, 242, 222, 0.82), 0 0 18px rgba(223, 249, 251, 0.12);
  opacity: 0.8;
  transform: rotate(-14deg);
}

.oms-amber-dot {
  position: absolute;
  left: var(--dot-left, 8%);
  top: var(--dot-top, 12%);
  width: var(--dot-size, 8px);
  height: var(--dot-size, 8px);
  border-radius: 50%;
  background: var(--amber);
  opacity: var(--dot-opacity, 0.64);
  animation: oms-dot-drift var(--dot-speed, 12s) ease-in-out var(--dot-delay, 0s) infinite;
}

.oms-section-break {
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 6;
  display: grid;
  width: 84px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(84, 41, 14, 0.2);
  border-radius: 999px;
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 9px 22px rgba(7, 25, 53, 0.12);
  transform: translateX(-50%);
}

.section.night .oms-section-break {
  border-color: rgba(253, 242, 222, 0.22);
  background: var(--cream);
  color: var(--amber-deep);
}

.oms-section-break::before {
  content: '✦  •  ✦';
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.oms-fauna {
  position: absolute;
  right: clamp(0.4rem, 3vw, 2.2rem);
  bottom: clamp(0.5rem, 3vw, 2rem);
  z-index: 3;
  width: min(var(--fauna-size, 120px), 24vw);
  max-height: 170px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 12px 18px rgba(7, 25, 53, 0.2));
  transform-origin: 50% 100%;
  animation: oms-fauna-settle 9s ease-in-out 1.5s infinite;
}

.oms-fauna-home,
.oms-character-wrap {
  position: relative;
}

.oms-fauna[data-fauna='sugarglider'] {
  opacity: 0.78;
  filter: drop-shadow(0 8px 12px rgba(7, 25, 53, 0.28));
}

.oms-character-label-art {
  position: absolute;
  right: -1.25rem;
  bottom: 2%;
  z-index: 4;
  width: clamp(116px, 13vw, 160px);
  aspect-ratio: 250 / 255;
  pointer-events: none;
  filter: drop-shadow(0 7px 12px rgba(7, 25, 53, 0.1));
  transform: rotate(-3deg);
}

.oms-character-label-art > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.oms-gerry-label-name { clip-path: inset(47% 0 0 0); }
.oms-gerry-label-arrow { clip-path: inset(0 0 47% 0); transform: scaleX(-1); }

.oms-controls {
  position: fixed;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 88;
  display: flex;
  gap: 0.35rem;
  padding: 0.36rem;
  border: 1px solid rgba(253, 242, 222, 0.23);
  border-radius: 999px;
  background: rgba(7, 25, 53, 0.9);
  box-shadow: 0 12px 32px rgba(7, 25, 53, 0.26);
  backdrop-filter: blur(12px);
}

.oms-controls button {
  min-height: 42px;
  padding: 0.55rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: rgba(253, 242, 222, 0.8);
  font-size: 0.76rem;
  line-height: 1;
}

.oms-controls button[aria-pressed='true'] {
  border-color: rgba(196, 124, 43, 0.55);
  background: rgba(196, 124, 43, 0.18);
  color: var(--cream);
}

.oms-gerry-cameo {
  position: fixed;
  left: clamp(0.2rem, 1.2vw, 0.9rem);
  bottom: -230px;
  z-index: 84;
  width: clamp(96px, 10vw, 150px);
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 14px 22px rgba(7, 25, 53, 0.3));
  transition: bottom 850ms cubic-bezier(.22,.82,.25,1), opacity 450ms ease;
}

.oms-gerry-cameo.is-visiting {
  bottom: -12px;
  opacity: 1;
}

@keyframes oms-star-breathe {
  0%, 100% { opacity: calc(var(--star-opacity, 0.55) * 0.55); transform: scale(0.82); }
  50% { opacity: var(--star-opacity, 0.55); transform: scale(1.15); }
}

@keyframes oms-dot-drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(var(--dot-drift, 7px), -6px, 0); }
}

@keyframes oms-fauna-settle {
  0%, 100% { transform: translateY(0) rotate(0); }
  48% { transform: translateY(-5px) rotate(1.2deg); }
  56% { transform: translateY(-5px) rotate(-0.8deg); }
}

/* Owned illustration accents stay in reserved margins, away from reading/actions. */
.section.oms-spotted-section { padding-top: clamp(5.3rem, 9vw, 7.5rem); padding-bottom: clamp(5.3rem, 9vw, 7.5rem); }
.oms-spot-cluster {
  position: absolute;
  width: clamp(124px, 18vw, 214px);
  height: clamp(58px, 8.4vw, 100px);
  pointer-events: none;
}
.oms-spot-cluster.is-start { left: -10px; top: -12px; }
.oms-spot-cluster.is-end { right: -10px; bottom: 16px; transform: rotate(180deg); }
.oms-spot-cluster.is-start.is-alternate { left: auto; right: -10px; transform: scaleX(-1); }
.oms-spot-cluster.is-end.is-alternate { right: auto; left: -10px; transform: scaleY(-1); }
.oms-spot-cluster i { position: absolute; display: block; border-radius: 47% 53% 45% 55%; background: var(--spot-orange); }
.oms-spot-cluster i:nth-child(4n) { background: var(--spot-orange); }
.section.oms-garden-section { padding-bottom: clamp(8rem, 13vw, 10rem); }
.oms-garden-edge {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: clamp(100px, 12vw, 142px);
  overflow: hidden;
  pointer-events: none;
}
.oms-garden-edge::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 7px;
  background: linear-gradient(90deg, rgba(84, 41, 14, 0.22), rgba(217, 130, 31, 0.12) 45%, transparent 82%);
}
.oms-garden-plant {
  position: absolute;
  bottom: -5px;
  height: auto;
  object-fit: contain;
  transform-origin: 50% 100%;
  animation: oms-plant-sway 18s ease-in-out infinite;
  animation-play-state: paused;
}
.oms-garden-plant.is-corner { left: -8px; width: clamp(112px, 14vw, 180px); }
.oms-garden-plant.is-tuft { right: 17%; bottom: -2px; width: clamp(54px, 6vw, 74px); animation-delay: -8s; }
.oms-garden-plant.is-reed { right: -10px; width: clamp(95px, 11vw, 128px); }
.oms-garden-edge.is-woodland .is-corner { left: auto; right: -8px; }
.oms-garden-edge.is-woodland .is-tuft { right: auto; left: 15%; }
.oms-garden-edge.is-fauna-only::after { display: none; }
.oms-garden-edge.is-fauna-only .oms-garden-visitor:not([data-fauna='magpie']) { display: none; }
.oms-garden-visitor {
  position: absolute;
  left: clamp(95px, 17vw, 220px);
  bottom: 54px;
  width: 32px;
  height: auto;
  animation: oms-garden-flutter 14s ease-in-out infinite;
  animation-play-state: paused;
}
.oms-garden-visitor[data-fauna='butterfly'] { width: 35px; }
.oms-garden-visitor[data-fauna='magpie'] { right: 7%; bottom: 2px; left: auto; width: 58px; animation-name: oms-garden-perch; }
.oms-garden-visitor[data-fauna='frog'] { bottom: 2px; left: 7%; width: 74px; animation-name: oms-garden-bob; }
.oms-garden-edge.is-meadow .oms-garden-visitor.is-secondary { bottom: 72px; left: 32%; animation-delay: -6s; }
.oms-garden-edge.is-waterhole .oms-garden-visitor[data-fauna='dragonfly'] { right: 16%; bottom: 70px; left: auto; width: 44px; }
.oms-garden-edge.is-woodland .oms-garden-visitor[data-fauna='butterfly'] { right: 19%; bottom: 68px; left: auto; width: 34px; }
.oms-garden-edge[data-active='true'] > img { animation-play-state: running; }
.oms-perch-grid { padding-top: 4.5rem; }
.oms-card-perch { position: relative; min-width: 0; height: 100%; }
.oms-card-perch > .card { height: 100%; }
.oms-gerry-perch { position: absolute; z-index: 5; display: block; pointer-events: none; overflow: hidden; }
.oms-gerry-perch.is-peek { right: 20px; bottom: calc(100% - 2px); width: 102px; aspect-ratio: 160 / 163; }
.oms-gerry-perch.is-dangling { top: -1px; right: clamp(24px, 9vw, 140px); width: clamp(108px, 12vw, 152px); aspect-ratio: 200 / 108; transform-origin: 50% 0; }
.oms-gerry-perch.is-dangling[data-active='true'] { animation: oms-legs-dangle 3.8s ease-in-out infinite; }
.oms-gerry-perch > img { display: block; width: 100%; height: auto; }

/* Brand polish: warm Adriana-style panels with contained character cards. */
.warm-story-panel {
  background:
    linear-gradient(180deg, rgba(253, 242, 222, 0) 64%, var(--cream) 100%),
    linear-gradient(135deg, #f2ba70 0%, #f6cf9b 34%, #fae4c3 68%, var(--cream) 100%);
}
.warm-story-panel h2 { color: var(--navy); }
.warm-story-panel .eyebrow { color: var(--keyline); }
.warm-story-panel p { color: #3f281a; }
.about-character-card {
  min-height: 520px;
  display: grid;
  place-items: end center;
  overflow: hidden;
  border: 1px solid rgba(84, 41, 14, 0.18);
  border-radius: 30px;
  background: var(--cream);
  box-shadow: var(--shadow);
}
.about-character-card .portrait {
  width: 100%;
  height: 100%;
  max-height: 570px;
  padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 3vw, 2.5rem) 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center bottom;
  box-shadow: none;
}
.about-campfire-art .oms-ambient { z-index: 3; }
.about-campfire-art .oms-firefly { opacity: 0.8; }
.about-campfire-art::after { z-index: 2; }
.oms-garden-section .oms-spot-cluster.is-end { bottom: clamp(106px, 12vw, 142px); }
.page-about .about-intro .oms-spot-cluster.is-end { right: 12px; bottom: 12px; }
.page-about .sage.oms-garden-section { padding-bottom: clamp(5.3rem, 9vw, 7.5rem); }

/* Cream card fields use the palest end of the Instagram gradient, never a hard split. */
.section.oms-card-field {
  background:
    linear-gradient(180deg, rgba(253, 242, 222, 0) 62%, var(--cream) 100%),
    linear-gradient(135deg, #f2c78d 0%, #f7d9ad 36%, #fbe8cc 70%, var(--cream) 100%);
}
.section.oms-card-field .card {
  border-color: rgba(196, 124, 43, 0.3);
  background: linear-gradient(145deg, var(--cream) 0%, #f8e4c5 100%);
}
@keyframes oms-plant-sway {
  0%, 100% { transform: rotate(-0.7deg); }
  50% { transform: rotate(0.9deg); }
}
@keyframes oms-garden-flutter {
  0%, 100% { transform: translate(0, 0) rotate(-3deg); }
  45% { transform: translate(13px, -8px) rotate(4deg); }
  75% { transform: translate(5px, -3px) rotate(-1deg); }
}
@keyframes oms-garden-perch {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-3px) rotate(0.8deg); }
}
@keyframes oms-garden-bob {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-3px) rotate(-0.7deg); }
}
@keyframes oms-legs-dangle {
  0%, 100% { transform: rotate(-1deg) translateY(0); }
  50% { transform: rotate(1.4deg) translateY(3px); }
}
@keyframes oms-mote-rise {
  0%, 100% { opacity: 0.18; transform: translate3d(0, 12px, 0) scale(0.7); }
  45% { opacity: 0.82; }
  75% { opacity: 0.5; transform: translate3d(var(--mote-drift, 12px), -34px, 0) scale(1); }
}
@keyframes oms-fire-glow {
  0%, 100% { opacity: 0.66; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.08); }
}
html[data-motion='off'] .oms-garden-edge > img,
html[data-save-data='on'] .oms-garden-edge > img,
html[data-motion='off'] .oms-gerry-perch,
html[data-save-data='on'] .oms-gerry-perch,
html[data-motion='off'] .brand img,
html[data-save-data='on'] .brand img,
html[data-motion='off'] .oms-golden-mote,
html[data-save-data='on'] .oms-golden-mote,
html[data-motion='off'] .hero::after,
html[data-save-data='on'] .hero::after { animation: none; }

@media (max-width: 920px) {
  .menu-button { display: block; }
  .nav-links {
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    display: none;
    padding: 0.8rem 1rem 1rem;
    border-top: 1px solid rgba(253, 242, 222, 0.14);
    background: var(--navy);
  }
  .nav-links.open { display: grid; }
  .nav-links a { width: 100%; padding-inline: 1rem; }
  .nav-links .nav-cta { margin: 0.4rem 0 0; }
  .hero-grid, .hero.simple .hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .hero-art, .hero.simple .hero-art { min-height: 470px; margin-top: 0; border-radius: 130px 130px 24px 24px; }
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .book-detail { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: initial; }
  .book-detail .book-cover { max-width: 420px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .wrap, .narrow { width: min(100% - 1.25rem, 1180px); }
  .section { padding: 3.8rem 0; }
  .brand img { width: 96px; }
  .hero-grid { padding-block: 3rem 4rem; }
  .hero-art, .hero.simple .hero-art { min-height: 420px; }
  .hero-art.has-scene-video.has-portrait-scene { justify-self: center; width: min(100%, 360px); }
  .actions .button { width: 100%; }
  .proof-list { grid-template-columns: repeat(2, 1fr); }
  .proof-list li:nth-child(2) { border-right: 0; }
  .proof-list li:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
  .grid.two, .grid.three, .grid.four, .form-grid, .photo-grid, .meta-list { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live-photo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
  .oms-controls { right: 0.45rem; bottom: 0.45rem; }
  .oms-controls button { min-height: 40px; padding-inline: 0.62rem; font-size: 0.7rem; }
  .oms-gerry-cameo { width: 94px; }
  .oms-character-label-art { right: -0.5rem; bottom: 0; width: 120px; }
  .about-character-card { min-height: 430px; }
  .oms-fauna { opacity: 0.84; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .oms-firefly, .scene-motion { display: none !important; }
  .card-scene-motion.has-portrait-scene > img { object-fit: contain; filter: none; transform: none; opacity: 1; }
}

html[data-motion='off'] .oms-star,
html[data-motion='off'] .oms-firefly,
html[data-motion='off'] .oms-fauna,
html[data-motion='off'] .oms-song-fauna,
html[data-motion='off'] .oms-amber-dot {
  animation: none;
}

html[data-motion='off'] .oms-firefly,
html[data-motion='off'] .oms-gerry-cameo,
html[data-motion='off'] .scene-motion,
html[data-save-data='on'] .oms-firefly,
html[data-save-data='on'] .scene-motion {
  display: none;
}

html[data-motion='off'] .card-scene-motion.has-portrait-scene > img,
html[data-save-data='on'] .card-scene-motion.has-portrait-scene > img {
  object-fit: contain;
  filter: none;
  transform: none;
  opacity: 1;
}
