:root {
  --gold: #f5bd22;
  --gold-deep: #dc9910;
  --gold-soft: #ffe08a;
  --ink: #11100d;
  --night: #17130f;
  --charcoal: #28231c;
  --muted: #6b604f;
  --paper: #fffaf1;
  --mist: #f5eee2;
  --aqua: #fbf4e9;
  --white: #ffffff;
  --red: #bf2d1d;
  --line: rgba(17, 16, 13, 0.14);
  --shadow: 0 26px 70px rgba(51, 36, 8, 0.2);
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at var(--mx, 78%) var(--my, 10%), rgba(245, 189, 34, 0.13), transparent 20rem),
    linear-gradient(90deg, rgba(17, 16, 13, 0.026) 1px, transparent 1px),
    linear-gradient(rgba(17, 16, 13, 0.022) 1px, transparent 1px),
    radial-gradient(circle at 78% 10%, rgba(255, 255, 255, 0.9), transparent 28rem),
    linear-gradient(135deg, #fffaf1 0%, #f8efe2 48%, #ffffff 100%);
  background-size: auto, 64px 64px, 64px 64px, auto, auto;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: -20%;
  z-index: -2;
  background:
    conic-gradient(from 160deg at 50% 50%, transparent 0deg, rgba(191, 45, 29, 0.06) 54deg, transparent 122deg, rgba(245, 189, 34, 0.08) 210deg, transparent 300deg),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.82), transparent 38%);
  content: "";
  filter: blur(14px);
  opacity: 0.9;
  pointer-events: none;
  animation: ambientSpin 28s linear infinite;
}

body.nav-open {
  overflow: hidden;
}

.motion-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.motion-field span {
  position: absolute;
  color: rgba(17, 16, 13, 0.06);
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 7rem);
  font-weight: 700;
  animation: drift 18s linear infinite;
  text-shadow: 0 18px 42px rgba(72, 49, 17, 0.08);
}

.motion-field span:nth-child(1) {
  top: 14%;
  left: 7%;
}

.motion-field span:nth-child(2) {
  top: 26%;
  right: 8%;
  animation-duration: 22s;
}

.motion-field span:nth-child(3) {
  right: 18%;
  bottom: 12%;
  animation-duration: 26s;
}

.motion-field span:nth-child(4) {
  bottom: 20%;
  left: 11%;
  animation-duration: 20s;
}

.motion-field span:nth-child(5) {
  top: 58%;
  left: 52%;
  animation-duration: 24s;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 36px));
  margin: 18px auto 0;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
    rgba(23, 19, 15, 0.92);
  box-shadow: 0 18px 44px rgba(17, 16, 13, 0.22);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: #fffaf1;
  color: var(--ink);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(17, 16, 13, 0.12);
}

.brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand strong,
.footer-brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.15;
}

.site-header .brand strong {
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 10px 14px;
  position: relative;
  overflow: hidden;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

main {
  overflow: hidden;
}

.section-grid,
.about-section,
.featured-book,
.why-section,
.collaboration-section,
.plans-section,
.enquiry-section {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
  min-height: calc(100vh - 110px);
  padding: clamp(38px, 5.4vw, 72px) 0 66px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  line-height: 1.08;
}

h1 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: 4.45rem;
  letter-spacing: 0;
}

h2 {
  font-size: 3.35rem;
  letter-spacing: 0;
}

h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.32;
}

.hero-subhead {
  max-width: 690px;
  color: #3e3529;
  font-size: 1.13rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font: 800 0.94rem / 1 var(--sans);
  padding: 15px 20px;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.32) 45%, transparent 70%);
  content: "";
  transform: translateX(-120%);
  transition: transform 520ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:hover::after {
  transform: translateX(120%);
}

.button-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 18px 34px rgba(17, 16, 13, 0.18);
}

.button-secondary {
  border-color: rgba(17, 16, 13, 0.2);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-proof span {
  border: 1px solid rgba(17, 16, 13, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #4d402d;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 8px 12px;
}

.hero-visual {
  position: relative;
}

.book-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: min(620px, calc(100vh - 132px));
  place-items: center;
  transition: transform 260ms ease-out;
}

.book-stage::before,
.book-stage::after {
  position: absolute;
  content: "";
  inset: 10% 8% 8%;
  z-index: -1;
  border: 1px solid rgba(17, 16, 13, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.24) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    rgba(255, 250, 241, 0.72);
  background-size: 28px 28px;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
  animation: floatPanel 7s ease-in-out infinite;
}

.book-stage::after {
  inset: auto 3% 4% 20%;
  height: 24%;
  border: 0;
  background: radial-gradient(ellipse, rgba(33, 22, 4, 0.28), transparent 64%);
  box-shadow: none;
  transform: none;
}

.book-stage img {
  width: min(100%, 430px);
  filter: drop-shadow(0 24px 34px rgba(33, 22, 4, 0.27));
  transform: rotate(1.5deg);
  animation: bookFloat 6s ease-in-out infinite;
}

.formula-tile {
  position: absolute;
  right: 0;
  bottom: 8%;
  border: 1px solid rgba(17, 16, 13, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 44px rgba(51, 36, 8, 0.16);
  color: var(--red);
  font-family: var(--serif);
  font-size: 1.28rem;
  padding: 16px 18px;
  animation: tilePulse 4.8s ease-in-out infinite;
}

.about-section {
  padding: 92px 0;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 6vw, 92px);
  align-items: end;
  border-top: 1px solid rgba(17, 16, 13, 0.18);
  padding-top: 32px;
}

.about-layout p,
.collab-copy p,
.enquiry-intro p {
  color: var(--charcoal);
  font-size: 1.1rem;
}

.featured-book {
  padding: 30px 0 98px;
}

.book-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 5vw, 66px);
  align-items: center;
  border: 1px solid rgba(17, 16, 13, 0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 238, 205, 0.52), transparent 24rem),
    linear-gradient(145deg, rgba(255, 250, 241, 0.95), rgba(255, 255, 255, 0.8));
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 54px);
  position: relative;
  overflow: hidden;
}

.book-panel::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  content: "";
  pointer-events: none;
  transform: translateX(-120%);
  animation: panelSheen 9s ease-in-out infinite;
}

.book-media,
.book-content {
  position: relative;
  z-index: 1;
}

.book-media {
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(17, 16, 13, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(17, 16, 13, 0.04) 1px, transparent 1px),
    var(--gold);
  background-size: 34px 34px;
  min-height: 430px;
  overflow: hidden;
}

.book-media img {
  width: min(90%, 360px);
  filter: drop-shadow(0 24px 32px rgba(17, 16, 13, 0.25));
}

.book-content h2 {
  position: relative;
  margin-bottom: 8px;
}

.subtitle {
  color: var(--red);
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.3;
}

.author {
  color: var(--ink);
  font-weight: 800;
}

.feature-grid,
.card-grid,
.collab-grid {
  display: grid;
  gap: 16px;
}

.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0;
}

.feature-grid article,
.insight-card,
.collab-card {
  border: 1px solid rgba(17, 16, 13, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 14px 34px rgba(51, 36, 8, 0.1);
}

.feature-grid article {
  min-height: 86px;
  color: #30291f;
  font-weight: 800;
  padding: 18px;
}

.why-section {
  padding: 90px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.4fr);
  gap: 28px;
  align-items: start;
  margin-bottom: 36px;
}

.card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.insight-card {
  min-height: 260px;
  padding: 24px;
}

.insight-card span {
  display: inline-flex;
  margin-bottom: 44px;
  color: var(--red);
  font-family: var(--serif);
  font-weight: 700;
}

.insight-card p {
  color: var(--muted);
}

.collaboration-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: start;
  padding: 98px 0;
  border-top: 1px solid rgba(17, 16, 13, 0.16);
}

.plans-section {
  padding: 96px 0;
  border-top: 1px solid rgba(17, 16, 13, 0.16);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.plan-card {
  display: flex;
  min-height: 500px;
  flex-direction: column;
  border: 1px solid rgba(17, 16, 13, 0.13);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.68);
  box-shadow: 0 16px 38px rgba(51, 36, 8, 0.11);
  padding: 26px;
}

.plan-featured {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 28px 70px rgba(17, 16, 13, 0.28);
}

.plan-card > p {
  margin-bottom: 28px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan-featured > p,
.plan-featured li,
.plan-featured h3 span {
  color: var(--gold-soft);
}

.plan-card h3 {
  margin-bottom: 26px;
  font-size: 1.9rem;
}

.plan-card h3 span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.plan-card ul {
  display: grid;
  gap: 13px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.plan-card li {
  position: relative;
  color: #4b4032;
  font-weight: 700;
  padding-left: 22px;
}

.plan-card li::before {
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.plan-featured h3,
.plan-featured li {
  color: var(--white);
}

.plan-card .button {
  margin-top: auto;
}

.royalty-note {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: center;
  margin-top: 18px;
  border: 1px solid rgba(17, 16, 13, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(17, 16, 13, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(17, 16, 13, 0.04) 1px, transparent 1px),
    rgba(255, 255, 255, 0.54);
  background-size: 30px 30px;
  box-shadow: 0 16px 38px rgba(51, 36, 8, 0.11);
  padding: 24px;
}

.royalty-note h3 {
  margin-bottom: 0;
  font-size: 1.32rem;
}

.royalty-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.royalty-metrics span {
  border: 1px solid rgba(17, 16, 13, 0.14);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.82);
  color: #42382b;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 9px 12px;
}

.collab-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.collab-card {
  min-height: 138px;
  display: flex;
  align-items: flex-end;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 700;
  padding: 22px;
}

.enquiry-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding: 30px 0 110px;
}

.enquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border: 1px solid rgba(17, 16, 13, 0.14);
  border-radius: 8px;
  background: rgba(255, 250, 240, 0.86);
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 34px);
}

.enquiry-form label {
  display: grid;
  gap: 8px;
}

.enquiry-form span {
  color: #42382b;
  font-size: 0.82rem;
  font-weight: 800;
}

.wide {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(17, 16, 13, 0.18);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: 500 1rem / 1.4 var(--sans);
  padding: 14px 14px;
  outline: 0;
  transition: border 180ms ease, box-shadow 180ms ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(191, 45, 29, 0.6);
  box-shadow: 0 0 0 4px rgba(191, 45, 29, 0.12);
}

.form-success {
  min-height: 1.5em;
  margin: 0;
  color: #246737;
  font-weight: 800;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr auto 1fr;
  gap: 28px;
  align-items: start;
  width: 100%;
  max-width: none;
  border-top: 0;
  background:
    linear-gradient(135deg, rgba(245, 189, 34, 0.1), transparent 36%),
    radial-gradient(circle at 86% 14%, rgba(191, 45, 29, 0.13), transparent 22rem),
    var(--night);
  color: var(--white);
  margin-top: 28px;
  padding: 42px max(18px, calc((100vw - 1180px) / 2)) 52px;
}

.site-footer nav,
.site-footer address {
  display: grid;
  gap: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  font-style: normal;
}

.site-footer a:hover {
  color: var(--gold-soft);
}

.footer-brand .brand-mark {
  background: #fffaf1;
  color: var(--ink);
}

.footer-brand strong {
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition: opacity 780ms ease, transform 780ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.insight-card,
.collab-card,
.plan-card,
.feature-grid article {
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.insight-card:hover,
.collab-card:hover,
.plan-card:hover,
.feature-grid article:hover {
  border-color: rgba(191, 45, 29, 0.24);
  box-shadow: 0 24px 54px rgba(72, 49, 17, 0.14);
  transform: translateY(-6px);
}

@keyframes drift {
  0% {
    opacity: 0.38;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    opacity: 0.14;
    transform: translate3d(18px, -28px, 0) rotate(5deg);
  }

  100% {
    opacity: 0.38;
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

@keyframes ambientSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.04);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

@keyframes bookFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(1.5deg);
  }

  50% {
    transform: translate3d(0, -14px, 0) rotate(0.4deg);
  }
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-3deg);
  }

  50% {
    transform: translate3d(0, 10px, 0) rotate(-1.4deg);
  }
}

@keyframes tilePulse {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    box-shadow: 0 18px 44px rgba(51, 36, 8, 0.16);
  }

  50% {
    transform: translate3d(0, -8px, 0);
    box-shadow: 0 26px 56px rgba(51, 36, 8, 0.22);
  }
}

@keyframes panelSheen {
  0%,
  62% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(120%);
  }
}

@media (max-width: 960px) {
  .site-header {
    width: min(100% - 24px, 760px);
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 78px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
      rgba(23, 19, 15, 0.98);
    box-shadow: var(--shadow);
    padding: 12px;
  }

  body.nav-open .nav-links {
    display: flex;
  }

  .hero,
  .about-layout,
  .book-panel,
  .section-heading,
  .collaboration-section,
  .royalty-note,
  .enquiry-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 58px;
  }

  h1 {
    font-size: 3.85rem;
  }

  h2 {
    font-size: 2.7rem;
  }

  .book-stage {
    min-height: 520px;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    min-height: 0;
  }

  .site-footer {
    gap: 22px;
  }
}

@media (max-width: 640px) {
  .section-grid,
  .about-section,
  .featured-book,
  .why-section,
  .collaboration-section,
  .plans-section,
  .enquiry-section {
    width: min(100% - 24px, 520px);
  }

  .site-header {
    margin-top: 12px;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .hero-subhead,
  .about-layout p,
  .collab-copy p,
  .enquiry-intro p {
    font-size: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .book-stage {
    min-height: 430px;
  }

  .book-stage img {
    width: min(96%, 340px);
  }

  .formula-tile {
    right: 4px;
    bottom: 3%;
  }

  .book-media {
    min-height: 340px;
  }

  .feature-grid,
  .card-grid,
  .collab-grid,
  .plans-grid,
  .enquiry-form {
    grid-template-columns: 1fr;
  }

  .wide {
    grid-column: auto;
  }

  .insight-card {
    min-height: 210px;
  }

  .insight-card span {
    margin-bottom: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
