:root {
  color-scheme: dark;
  --bg: #09090c;
  --bg-elevated: rgba(18, 18, 22, 0.8);
  --surface: rgba(23, 24, 30, 0.85);
  --surface-strong: rgba(34, 36, 46, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4efe8;
  --muted: rgba(244, 239, 232, 0.72);
  --muted-soft: rgba(244, 239, 232, 0.52);
  --primary: #ff8f75;
  --primary-deep: #c7563c;
  --secondary: #58a8ff;
  --gold: #ffd574;
  --cover-sky: #31a6ff;
  --cover-sky-soft: #9bd3ff;
  --cover-pink: #f2a7c5;
  --cover-yellow: #f3cb57;
  --cover-green: #8eb28b;
  --cover-ink: #12100f;
  --hero-shadow: 0 42px 140px rgba(0, 0, 0, 0.5);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --section-stack-overlap: 1.6rem;
  --hero-cover-repaint-z: 0px;
  --hero-cover-wrap-repaint-z: 0px;
  --stack-width-hero: min(1380px, calc(100vw - 1rem));
  --stack-width-about: min(1346px, calc(100vw - 2.25rem));
  --stack-width-legacy: min(1312px, calc(100vw - 3.25rem));
  --stack-width-contact: min(1278px, calc(100vw - 4.25rem));
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1120px, calc(100vw - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(88, 168, 255, 0.18), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(255, 143, 117, 0.18), transparent 24%),
    linear-gradient(180deg, #09090c 0%, #0f0d12 38%, #09090c 100%);
  color: var(--text);
  font-family: "Newsreader", Georgia, serif;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

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

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 90%);
  opacity: 0.14;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(860px, calc(100vw - 2rem));
  margin: 1rem auto 0;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background-color 180ms ease, border-color 180ms ease,
    transform 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(10, 10, 14, 0.75);
  backdrop-filter: blur(18px);
  border-color: var(--line);
  transform: translateY(0.15rem);
}

.brand,
.site-nav a,
.menu-button,
.button,
.text-button,
.footer-brand {
  font-family: "Epilogue", Arial, sans-serif;
}

.brand {
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  color: var(--cover-sky);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 999px;
  min-height: 44px;
  padding: 0 1rem;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #1e0805;
  font-weight: 700;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 5rem 0;
}

.section-alt {
  position: relative;
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 1rem -1rem;
  border-radius: 40px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
  border: 1px solid rgba(255, 255, 255, 0.04);
  z-index: -1;
}

.hero {
  min-height: calc(100vh - 5rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding-top: 4rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-family: "Epilogue", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.bio-panel h2 {
  margin: 0;
  font-family: "Epilogue", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.95;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(3.2rem, 8vw, 6.6rem);
  max-width: 10ch;
}

.lead,
.section-heading p,
.bio-panel p,
.expand-panel,
.contact-form span,
.contact-form input,
.contact-form select,
.form-note,
.form-status,
.footer-copy,
.footer-meta,
.panel p,
.feature-list li,
.hero-highlights li,
.book-stage p {
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.7;
}

.lead {
  max-width: 56ch;
  margin: 1.4rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, border-color 180ms ease,
    background-color 180ms ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible,
.text-button:hover,
.text-button:focus-visible,
.menu-button:hover,
.menu-button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #250a05;
  box-shadow: 0 12px 30px rgba(199, 86, 60, 0.3);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
  color: var(--text);
}

.hero-highlights {
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.hero-highlights li {
  position: relative;
  padding-left: 1.35rem;
}

.hero-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  box-shadow: 0 0 18px rgba(255, 143, 117, 0.5);
}

.hero-stage {
  position: relative;
  min-height: 620px;
  padding: 2.5rem;
  display: grid;
  place-items: center;
  isolation: isolate;
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(16, 16, 21, 0.58), rgba(16, 16, 21, 0.82)),
    radial-gradient(circle at top right, rgba(255, 143, 117, 0.18), transparent 35%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
}

.hero-stage > * {
  transform: translate3d(
      calc((var(--pointer-x, 0.5) - 0.5) * var(--depth, 0px)),
      calc((var(--pointer-y, 0.5) - 0.5) * var(--depth, 0px)),
      0
    );
  transition: transform 160ms ease;
}

.hero-glow,
.stage-orbit,
.stage-grid,
.floating-note,
.book-stage {
  position: absolute;
}

.hero-glow {
  width: 28rem;
  aspect-ratio: 1;
  filter: blur(32px);
  border-radius: 999px;
}

.hero-glow-primary {
  --depth: 26px;
  top: -10%;
  right: -6%;
  background: radial-gradient(circle, rgba(255, 143, 117, 0.38), transparent 70%);
}

.hero-glow-secondary {
  --depth: -20px;
  bottom: -12%;
  left: -10%;
  background: radial-gradient(circle, rgba(88, 168, 255, 0.22), transparent 70%);
}

.stage-grid {
  --depth: -8px;
  inset: 12%;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.34;
}

.stage-orbit {
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
}

.orbit-a {
  --depth: 10px;
  width: 78%;
  aspect-ratio: 1;
  top: 10%;
}

.orbit-b {
  --depth: 14px;
  width: 44%;
  aspect-ratio: 1;
  bottom: 12%;
  right: 8%;
}

.book-stage {
  --depth: 24px;
  position: relative;
  width: min(360px, 82%);
  padding: 2rem;
  border-radius: 34px 34px 24px 24px;
  background:
    linear-gradient(180deg, rgba(21, 31, 43, 0.85), rgba(17, 15, 21, 0.92)),
    linear-gradient(135deg, rgba(255, 143, 117, 0.12), rgba(88, 168, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.book-stage::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 143, 117, 0.16), transparent 36%),
    radial-gradient(circle at bottom right, rgba(88, 168, 255, 0.16), transparent 40%);
  pointer-events: none;
}

.book-kicker {
  margin: 0 0 0.8rem;
  position: relative;
  z-index: 1;
  font-family: "Epilogue", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--gold);
}

.book-stage h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "Epilogue", Arial, sans-serif;
  font-size: clamp(2.5rem, 8vw, 3.8rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.book-stage p {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0;
}

.book-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.3rem;
}

.book-meta span,
.tag-row span,
.placeholder-card {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-family: "Epilogue", Arial, sans-serif;
  font-size: 0.8rem;
  color: var(--text);
}

.book-spine {
  position: absolute;
  inset: auto 1rem 1rem auto;
  width: 120px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  box-shadow: 0 0 24px rgba(255, 143, 117, 0.3);
}

.floating-note {
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-family: "Epilogue", Arial, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note-a {
  --depth: 20px;
  top: 16%;
  left: 2rem;
}

.note-b {
  --depth: -16px;
  right: 2rem;
  bottom: 14%;
}

.hero-book {
  position: relative;
  z-index: 0;
  width: min(1260px, calc(100vw - 1.75rem));
  min-height: clamp(720px, 54vw, 830px);
  margin-top: 1.25rem;
  padding: clamp(1.45rem, 2.6vw, 2.45rem);
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(1.3rem, 2vw, 2.5rem);
  border-radius: 42px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--hero-shadow);
  background: linear-gradient(
    90deg,
    rgba(10, 10, 12, 0.98) 0%,
    rgba(10, 10, 12, 0.95) 31%,
    rgba(10, 10, 12, 0.78) 54%,
    rgba(10, 10, 12, 0.88) 100%
  );
}

.hero-book::before,
.hero-book::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-book::before {
  inset: -10% -8% -10% 24%;
  background:
    radial-gradient(circle at 76% 24%, rgba(49, 166, 255, 0.22), transparent 18%),
    radial-gradient(circle at 72% 72%, rgba(118, 197, 125, 0.16), transparent 18%),
    radial-gradient(circle at 62% 46%, rgba(242, 167, 197, 0.12), transparent 16%);
  filter: blur(4px);
  z-index: -2;
}

.hero-book::after {
  background:
    linear-gradient(
      90deg,
      rgba(10, 10, 12, 0.08) 0%,
      rgba(10, 10, 12, 0.18) 42%,
      rgba(10, 10, 12, 0.02) 100%
    ),
    radial-gradient(circle at 76% 18%, rgba(49, 166, 255, 0.14), transparent 16%),
    radial-gradient(circle at 64% 74%, rgba(118, 197, 125, 0.12), transparent 20%),
    linear-gradient(
      135deg,
      rgba(242, 167, 197, 0.08),
      transparent 24%,
      rgba(49, 166, 255, 0.08) 80%
    );
  z-index: -1;
}

.hero-book .hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 30rem;
}

.hero-book .hero-book__title {
  max-width: 5.8ch;
  color: var(--cover-sky);
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
  font-size: clamp(3.35rem, 7vw, 5.95rem);
  line-height: 0.86;
  letter-spacing: -0.05em;
}

.hero-book__line {
  display: block;
}

.hero-book__text,
.hero-book__question,
.hero-book__cta {
  max-width: 41ch;
}

.hero-book__text {
  margin: 1rem 0 0;
  color: rgba(154, 212, 255, 0.92);
  font-size: clamp(1rem, 1.1vw, 1.18rem);
  line-height: 1.58;
}

.hero-book__text strong,
.hero-book__question strong {
  color: #d7f0ff;
  font-weight: 600;
}

.hero-book__underline {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.12em;
}

.hero-book__question {
  margin: 1.25rem 0 0;
  color: #d2edff;
  font-size: clamp(1.2rem, 1.38vw, 1.48rem);
  line-height: 1.38;
}

.hero-book__cta {
  margin: 1.45rem 0 0;
  color: var(--cover-sky);
  font-family: "Epilogue", Arial, sans-serif;
  font-size: clamp(1rem, 1.15vw, 1.16rem);
  font-weight: 800;
  line-height: 1.25;
}

.hero-book__amazon {
  position: relative;
  display: grid;
  gap: 0.22rem;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin-top: 0;
  padding: 1.08rem 1.18rem 1.12rem 1.35rem;
  border-radius: 1.2rem;
  background:
    linear-gradient(180deg, rgba(255, 153, 0, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(18, 18, 22, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease,
    background-color 180ms ease, box-shadow 180ms ease;
}

.hero-book__amazon::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #ff9900, #ffd574);
  opacity: 0.95;
}

.hero-book__amazon:hover,
.hero-book__amazon:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 153, 0, 0.22);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28);
}

.hero-book__amazon-label,
.hero-book__amazon-title,
.hero-book__amazon-meta {
  position: relative;
  z-index: 1;
  font-family: "Sora", Arial, sans-serif;
}

.hero-book__amazon-label {
  color: rgba(255, 213, 116, 0.9);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-book__amazon-title {
  color: #f5f4ef;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero-book__amazon-title::after {
  content: "↗";
  display: inline-block;
  margin-left: 0.4rem;
  color: #ffb347;
  font-size: 0.95em;
}

.hero-book__amazon-meta {
  color: rgba(244, 239, 232, 0.7);
  font-size: 0.9rem;
  line-height: 1.45;
}

.hero-book__form {
  margin-top: 0.9rem;
  max-width: 31.5rem;
}

.hero-book__form-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-book__field {
  flex: 1 1 15rem;
  min-height: 3.55rem;
  padding: 0 1.15rem;
  border: 1px solid rgba(155, 211, 255, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  color: #f6fbff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease,
    background-color 180ms ease;
}

.hero-book__field::placeholder {
  color: rgba(215, 240, 255, 0.58);
}

.hero-book__field:focus {
  border-color: rgba(49, 166, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(49, 166, 255, 0.16);
  background: rgba(255, 255, 255, 0.13);
}

.hero-book__submit {
  min-width: 8.5rem;
  background: linear-gradient(135deg, var(--cover-sky), #1f7bcc);
  color: #08121a;
  box-shadow: 0 18px 44px rgba(49, 166, 255, 0.24);
}

.hero-book__status {
  margin-top: 0.55rem;
}

.hero-book .hero-stage {
  position: relative;
  width: min(24.25rem, 82%);
  min-width: 0;
  min-height: 648px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.95rem;
  background: none;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.hero-book .hero-stage > .hero-book__layer {
  transition: transform 180ms ease;
}

.hero-book__aura {
  --depth: -12px;
  position: absolute;
  top: 39%;
  left: 50%;
  transform: translate3d(
      calc((var(--pointer-x, 0.5) - 0.5) * -12px),
      calc((var(--pointer-y, 0.5) - 0.5) * -12px),
      0
    )
    translate(-50%, -50%);
  width: min(33rem, 96%);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%, rgba(49, 166, 255, 0.32), transparent 34%),
    radial-gradient(circle at 58% 68%, rgba(118, 197, 125, 0.22), transparent 26%),
    radial-gradient(circle at 40% 18%, rgba(242, 167, 197, 0.18), transparent 20%);
  filter: blur(16px);
  opacity: 0.9;
}

.hero-book__cover-wrap {
  --cover-bleed: clamp(1rem, 1.9vw, 2.2rem);
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 720 / 1225;
  display: grid;
  place-items: center;
  overflow: visible;
  transform: translate3d(
    calc((var(--pointer-x, 0.5) - 0.5) * 18px),
    calc((var(--pointer-y, 0.5) - 0.5) * 18px + var(--hero-wrap-lift, 0px)),
    var(--hero-cover-wrap-repaint-z)
  );
  transition: transform 220ms ease;
  will-change: transform;
  text-decoration: none;
  cursor: pointer;
}

.hero-book__cover-shadow {
  position: absolute;
  inset: 15% 14% 7%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 50% 46%,
    rgba(3, 8, 14, 0.62) 0%,
    rgba(3, 8, 14, 0.34) 38%,
    rgba(3, 8, 14, 0.1) 58%,
    rgba(3, 8, 14, 0) 74%
  );
  filter: blur(30px);
  opacity: 0.92;
  transform: translateY(1.85rem);
}

.hero-book__cover-filter {
  position: absolute;
  inset: calc(var(--cover-bleed) * -1);
  display: grid;
  place-items: center;
  overflow: visible;
  filter: saturate(0.98) brightness(0.98)
    drop-shadow(0 30px 80px rgba(0, 0, 0, 0.5));
  transform: scale(1.02) translate3d(0, 0, var(--hero-cover-repaint-z));
  transform-origin: center;
  transition: filter 220ms ease, transform 220ms ease;
  will-change: transform, filter;
}

.hero-book__cover {
  position: relative;
  width: calc(100% - (var(--cover-bleed) * 2));
  height: calc(100% - (var(--cover-bleed) * 2));
  object-fit: contain;
  border-radius: 22px;
  filter: none;
  transition: opacity 240ms ease, transform 240ms ease;
  user-select: none;
  -webkit-user-drag: none;
  will-change: opacity;
}

html.is-safari .hero-book__cover-wrap {
  --cover-bleed: clamp(1.9rem, 3vw, 3.4rem);
  contain: none;
  transform: translateY(var(--hero-wrap-lift, 0px));
  transition: none;
  will-change: auto;
}

html.is-safari .hero-book__cover-shadow {
  transform: translateY(1.5rem);
}

html.is-safari .hero-book__cover-filter {
  filter: saturate(0.98) brightness(0.98)
    drop-shadow(0 30px 80px rgba(0, 0, 0, 0.5));
  -webkit-filter: saturate(0.98) brightness(0.98)
    drop-shadow(0 30px 80px rgba(0, 0, 0, 0.5));
  backface-visibility: visible;
  -webkit-backface-visibility: visible;
  transform: none;
  transform-style: flat;
  -webkit-transform-style: flat;
  transition: none;
  will-change: auto;
}

html.is-safari .hero-book__cover {
  transform: none;
  transition: opacity 240ms ease;
  will-change: auto;
}

html.is-safari .hero-book .hero-stage:hover .hero-book__cover-wrap,
html.is-safari .hero-book .hero-stage:focus-within .hero-book__cover-wrap {
  --hero-wrap-lift: -0.35rem;
}

.hero-book .hero-stage:hover .hero-book__cover-wrap,
.hero-book .hero-stage:focus-within .hero-book__cover-wrap {
  --hero-wrap-lift: -0.35rem;
}

.home-about {
  --home-about-min-height: clamp(660px, 46vw, 790px);
  --home-about-pad-x: clamp(2rem, 4vw, 4rem);
  --home-about-pad-top: clamp(2rem, 4vw, 4rem);
  --home-about-pad-bottom: clamp(4rem, 6vw, 5.5rem);
  position: relative;
  z-index: 1;
  width: var(--stack-width-about);
  min-height: var(--home-about-min-height);
  margin: calc(var(--section-stack-overlap) * -1) auto -2.25rem;
  padding: var(--home-about-pad-top) var(--home-about-pad-x) 0;
  border-radius: 42px 42px 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow);
}

.home-about::before {
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(
      180deg,
      rgba(14, 11, 18, 0.72) 0%,
      rgba(14, 11, 18, 0.84) 9%,
      rgba(14, 11, 18, 0.92) 22%,
      rgba(14, 11, 18, 0.96) 100%
    ),
    radial-gradient(circle at 22% 22%, rgba(49, 166, 255, 0.1), transparent 18%),
    radial-gradient(circle at 85% 82%, rgba(242, 167, 197, 0.06), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.home-about::after {
  content: "";
  position: absolute;
  inset: auto 54% -18% 6%;
  height: 58%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 166, 255, 0.12), transparent 68%);
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
}

.home-about__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(2rem, 3.4vw, 4.4rem);
  padding-inline: clamp(1.35rem, 2.8vw, 2.8rem);
  align-items: stretch;
  min-height: calc(var(--home-about-min-height) - var(--home-about-pad-top));
}

.home-about__grid > * {
  min-width: 0;
}

.home-about__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 35rem;
  margin-left: auto;
  min-height: 100%;
  padding-top: clamp(1.25rem, 2.5vw, 2.4rem);
  padding-bottom: var(--home-about-pad-bottom);
  padding-left: clamp(0.5rem, 1.5vw, 1.5rem);
}

.home-about__title,
.home-legacy__title {
  margin: 0;
  font-family: "Epilogue", Arial, sans-serif;
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.home-about__title {
  font-size: clamp(3rem, 5vw, 4.35rem);
}

.home-about__heading {
  display: block;
}

.home-about__intro,
.home-about__bio,
.home-legacy__subtitle,
.home-legacy__video figcaption {
  color: rgba(244, 239, 232, 0.9);
}

.home-about__intro,
.home-about__bio,
.home-about__card-header,
.home-about__contact-label,
.home-about__contact-value {
  font-size: clamp(0.98rem, 1.02vw, 1.08rem);
  line-height: 1.68;
}

.home-about__intro {
  margin: 0.85rem 0 0;
  color: rgba(244, 239, 232, 0.7);
}

.home-about__bio,
.home-about__card-group,
.home-about__contact-card,
.home-about__social-group,
.home-about__tags {
  margin: 0.95rem 0 0;
}

.home-about__bio mark {
  background: rgba(113, 112, 110, 0.92);
  color: #f4efe8;
  padding: 0.08em 0.26em;
}

.home-about__card-group {
  display: grid;
  gap: 0.8rem;
  max-width: 31rem;
}

.home-about__card-header,
.home-about__contact-label {
  font-family: "Epilogue", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
  color: rgba(244, 239, 232, 0.66);
}

.home-about__channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.home-about__social-group {
  display: grid;
  gap: 0.75rem;
  max-width: 31rem;
}

.home-about__socials {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.home-about__channel-card,
.home-about__contact-card,
.home-about__social-icon {
  position: relative;
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 0.95rem;
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03)),
    rgba(18, 18, 22, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease,
    background-color 180ms ease;
}

.home-about__channel-card::before,
.home-about__contact-card::before,
.home-about__social-icon::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cover-sky), var(--cover-pink));
  opacity: 0.9;
}

.home-about__channel-card:hover,
.home-about__channel-card:focus-visible,
.home-about__contact-card:hover,
.home-about__contact-card:focus-visible,
.home-about__social-icon:hover,
.home-about__social-icon:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(49, 166, 255, 0.18);
}

.home-about__channel-name,
.home-about__contact-value,
.home-about__social-name {
  font-family: "Epilogue", Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: #f5f4ef;
  line-height: 1.35;
}

.home-about__channel-meta {
  color: rgba(244, 239, 232, 0.72);
  font-size: 0.9rem;
  line-height: 1.45;
}

.home-about__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  min-width: 3rem;
  height: 3rem;
  min-height: 3rem;
  padding: 0;
  border-radius: 999px;
  text-decoration: none;
}

.home-about__social-icon svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: rgba(244, 239, 232, 0.92);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-about__contact-card {
  gap: 0.35rem;
  max-width: 31rem;
}

.home-about__contact-label {
  color: rgba(155, 211, 255, 0.9);
}

.home-about__contact-value {
  font-size: 1.08rem;
  color: var(--cover-sky-soft);
}

.home-about__tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.3rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.home-about__tags::-webkit-scrollbar {
  display: none;
}

.home-about__tag {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 1.75rem;
  padding: 0 0.52rem;
  border-radius: 999px;
  background: rgba(242, 167, 197, 0.08);
  border: 1px solid rgba(242, 167, 197, 0.16);
  color: rgba(242, 167, 197, 0.94);
  font-family: "Epilogue", Arial, sans-serif;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.home-about__media {
  position: relative;
  display: flex;
  order: -1;
  justify-content: flex-start;
  align-items: flex-end;
  align-self: stretch;
  min-height: 100%;
  overflow: hidden;
}

.home-about__image {
  position: absolute;
  bottom: 0;
  left: clamp(0.45rem, 0.95vw, 0.9rem);
  width: auto;
  height: calc(100% - 0.65rem);
  max-width: min(calc(100% - 0.9rem), 35rem);
  max-height: calc(100% - 0.65rem);
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 34px 80px rgba(0, 0, 0, 0.46));
}

.home-legacy {
  position: relative;
  z-index: 2;
  width: var(--stack-width-legacy);
  min-height: 860px;
  margin: -2.25rem auto 0;
  padding: clamp(2rem, 4vw, 4rem);
  padding-top: clamp(4.5rem, 6vw, 5.75rem);
  border-radius: 24px 24px 42px 42px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow);
}

.home-legacy__backdrop,
.home-legacy__overlay {
  position: absolute;
  inset: 0;
}

.home-legacy__backdrop {
  background: url("./live-site/desde-mato.jpg") center center / cover no-repeat;
  transform: scale(1.02);
  opacity: 0.94;
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.66) 0%,
    rgba(0, 0, 0, 0.88) 70px,
    #000 152px
  );
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.66) 0%,
    rgba(0, 0, 0, 0.88) 70px,
    #000 152px
  );
}

.home-legacy__overlay {
  background:
    linear-gradient(
      180deg,
      rgba(7, 7, 10, 0.12) 0%,
      rgba(7, 7, 10, 0.22) 10%,
      rgba(7, 7, 10, 0.3) 24%,
      rgba(0, 0, 0, 0.28) 100%
    ),
    linear-gradient(90deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.46) 42%, rgba(0, 0, 0, 0.18) 100%);
}

.home-legacy__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 3vw, 4rem);
  align-items: start;
  min-height: 660px;
}

.home-legacy__content > * {
  min-width: 0;
}

.home-legacy__copy {
  padding-top: clamp(5rem, 12vw, 10rem);
  max-width: 30rem;
}

.home-legacy__title {
  font-size: clamp(3.8rem, 7vw, 6.25rem);
  text-transform: uppercase;
}

.home-legacy__subtitle {
  margin: 1.5rem 0 0;
  font-size: clamp(1.14rem, 1.35vw, 1.35rem);
  line-height: 1.6;
}

.home-legacy__media {
  display: flex;
  justify-content: center;
  padding-top: clamp(2rem, 7vw, 7rem);
}

.home-legacy__video {
  margin: 0;
  width: min(34rem, 100%);
  padding: 1rem;
  border-radius: 1.6rem;
  background: rgba(17, 17, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
}

.home-legacy__video img {
  width: 100%;
  border-radius: 1rem;
}

.home-legacy__video figcaption {
  padding: 1rem 0.3rem 0.2rem;
  text-align: center;
  font-size: 1.08rem;
  line-height: 1.45;
}

.home-legacy__badge {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 0;
}

.home-legacy__badge img {
  width: 16rem;
  max-width: 100%;
}

.contact-section {
  position: relative;
  z-index: 3;
  width: var(--stack-width-contact);
  margin: -1.5rem auto 0;
  padding: 0 0 5rem;
}

.contact-section__shell {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 2.7vw, 2.3rem);
  border-radius: 42px;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 143, 117, 0.12), transparent 20%),
    radial-gradient(circle at 86% 24%, rgba(49, 166, 255, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(16, 16, 21, 0.96), rgba(10, 10, 14, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
}

.contact-section__shell::before,
.contact-section__shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.contact-section__shell::before {
  inset: auto auto -22% -6%;
  width: 26rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 143, 117, 0.14), transparent 68%);
  filter: blur(28px);
}

.contact-section__shell::after {
  inset: 12% -4% auto auto;
  width: 24rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 166, 255, 0.12), transparent 70%);
  filter: blur(28px);
}

.contact-section__intro,
.contact-section__grid {
  position: relative;
  z-index: 1;
}

.contact-section__intro {
  max-width: none;
}

.contact-section__eyebrow,
.contact-section__label {
  margin: 0;
  font-family: "Epilogue", Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-section__eyebrow {
  color: rgba(255, 213, 116, 0.86);
}

.contact-section__title {
  margin: 0;
  font-family: "Epilogue", Arial, sans-serif;
  font-size: clamp(3rem, 6vw, 5.1rem);
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.contact-section__lead,
.contact-section__text,
.contact-section__note,
.contact-section__meta,
.contact-section__list li,
.contact-section__social-handle {
  color: rgba(244, 239, 232, 0.76);
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.7;
}

.contact-section__lead {
  max-width: 44ch;
  margin: 1.2rem 0 0;
}

.contact-section__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 2vw, 1.8rem);
  margin-top: 1.2rem;
}

.contact-section__grid > * {
  min-width: 0;
}

.contact-section__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: clamp(1.15rem, 1.8vw, 1.45rem);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.26);
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-section__card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
}

.contact-section__card--commercial {
  background:
    linear-gradient(180deg, rgba(255, 143, 117, 0.1), transparent 40%),
    linear-gradient(180deg, rgba(24, 16, 17, 0.9), rgba(10, 10, 12, 0.96));
}

.contact-section__card--commercial::before {
  background: linear-gradient(180deg, var(--primary), var(--gold));
}

.contact-section__card--general {
  background:
    linear-gradient(180deg, rgba(49, 166, 255, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(14, 19, 28, 0.92), rgba(10, 10, 12, 0.96));
}

.contact-section__card--general::before {
  background: linear-gradient(180deg, var(--cover-sky), var(--cover-pink));
}

.contact-section__card:hover,
.contact-section__card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 72px rgba(0, 0, 0, 0.3);
}

.contact-section__label {
  color: rgba(244, 239, 232, 0.6);
}

.contact-section__card h3 {
  margin: 0.55rem 0 0;
  font-family: "Epilogue", Arial, sans-serif;
  font-size: clamp(1.4rem, 1.9vw, 1.9rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.contact-section__text {
  margin: 1rem 0 0;
  max-width: 34ch;
}

.contact-section__list {
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.contact-section__list li {
  position: relative;
  padding-left: 1.35rem;
}

.contact-section__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--gold));
  box-shadow: 0 0 18px rgba(255, 143, 117, 0.35);
}

.contact-section__meta {
  margin: 0.85rem 0 0;
  color: rgba(255, 213, 116, 0.88);
  font-family: "Epilogue", Arial, sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
}

.contact-section__socials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.35rem;
}

.contact-section__social {
  display: grid;
  gap: 0.22rem;
  min-height: 92px;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  text-decoration: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    rgba(15, 16, 22, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, border-color 180ms ease;
}

.contact-section__social:hover,
.contact-section__social:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(49, 166, 255, 0.18);
}

.contact-section__social-name {
  font-family: "Epilogue", Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.35;
}

.contact-section__social-handle {
  color: rgba(155, 211, 255, 0.82);
  font-family: "Epilogue", Arial, sans-serif;
  font-size: 0.96rem;
  line-height: 1.45;
}

.contact-section__note {
  margin: 1rem 0 0;
  max-width: 34ch;
}

.section-heading {
  max-width: 720px;
}

.section-heading h2,
.bio-panel h2 {
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  margin-bottom: 1rem;
}

.book-grid,
.contact-layout,
.split-layout {
  display: grid;
  gap: 1.35rem;
}

.book-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2.2rem;
}

.panel,
.portrait-panel,
.bio-panel,
.ecosystem-card,
.contact-form {
  position: relative;
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel h3,
.ecosystem-card h3 {
  margin: 0;
  font-family: "Epilogue", Arial, sans-serif;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.8rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.35rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--secondary);
}

.placeholder-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.split-layout {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
}

.portrait-panel {
  min-height: 420px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top, rgba(255, 143, 117, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(17, 20, 30, 0.9), rgba(10, 11, 14, 0.98));
}

.portrait-orbit {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
}

.portrait-core {
  display: grid;
  place-items: center;
  width: 200px;
  aspect-ratio: 1;
  border-radius: 40px;
  font-family: "Epilogue", Arial, sans-serif;
  font-size: 6rem;
  font-weight: 900;
  background:
    linear-gradient(145deg, rgba(255, 143, 117, 0.22), rgba(88, 168, 255, 0.08)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.bio-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.3rem 0;
}

.bio-note {
  margin-top: auto;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.ecosystem-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-index {
  color: var(--gold);
  font-family: "Epilogue", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.text-button {
  margin-top: auto;
  align-self: flex-start;
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.expand-panel {
  padding-top: 0.5rem;
}

.contact-layout {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form span {
  font-family: "Epilogue", Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 52px;
  padding: 0 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input::placeholder {
  color: var(--muted-soft);
}

.contact-form input:focus,
.contact-form select:focus {
  border-color: rgba(255, 143, 117, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 143, 117, 0.12);
}

.form-note,
.form-status {
  margin: 0;
  font-size: 0.95rem;
}

.form-status {
  min-height: 1.7rem;
}

.form-status.is-success {
  color: var(--gold);
}

.form-status.is-error {
  color: #ff9d9d;
}

.site-footer {
  width: var(--container);
  margin: 1rem auto 3rem;
  padding: 2rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  margin: 0;
  color: var(--primary);
  font-weight: 900;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  font-size: 1.35rem;
}

.footer-copy,
.footer-meta {
  max-width: 54ch;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

/* Typography option 2: Literata + Sora */
body,
.hero-book .hero-book__title,
.hero-book__text,
.hero-book__question,
.home-about__intro,
.home-about__bio,
.home-legacy__subtitle,
.home-legacy__video figcaption,
.contact-section__lead,
.contact-section__text,
.contact-section__meta,
.form-note,
.form-status {
  font-family: "Literata", Georgia, serif;
}

.brand,
.site-nav a,
.menu-button,
.button,
.text-button,
.footer-brand,
.hero-book__cta,
.hero-book__field,
.hero-book__submit,
.hero-book__status,
.home-about__title,
.home-legacy__title,
.home-about__card-header,
.home-about__contact-label,
.home-about__contact-value,
.home-about__channel-name,
.home-about__channel-meta,
.home-about__social-name,
.home-about__social-icon,
.home-about__tag,
.contact-section__eyebrow,
.contact-section__label,
.contact-section__title,
.contact-section__card h3,
.contact-section__social-name,
.contact-section__social-handle,
.contact-form span,
.contact-form input,
.contact-form select {
  font-family: "Sora", Arial, sans-serif;
}

@media (max-width: 1024px) {
  .hero,
  .book-grid,
  .split-layout,
  .contact-layout,
  .ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 540px;
  }

  .hero-book {
    width: min(1080px, calc(100vw - 1rem));
    min-height: auto;
    padding: 1.8rem;
    gap: 1.45rem;
  }

  .hero-book::before {
    inset: -8% -10% -6% 30%;
  }

  .hero-book .hero-copy {
    max-width: 34rem;
  }

  .hero-book .hero-stage {
    width: min(23rem, 84%);
    min-height: 610px;
  }

  .hero-book__cover-wrap {
    width: min(23rem, 100%);
  }

  .hero-book__aura {
    width: min(30rem, 84vw);
  }

  .home-about__grid,
  .home-legacy__content,
  .contact-section__grid {
    grid-template-columns: 1fr;
  }

  .home-about,
  .home-legacy {
    min-height: auto;
  }

  .home-about {
    width: min(1120px, calc(100vw - 1.6rem));
    padding: 2.25rem 2.25rem 2.5rem;
    margin: calc(var(--section-stack-overlap) * -0.75) auto -1.2rem;
    border-radius: 32px 32px 20px 20px;
  }

  .home-legacy {
    width: min(1088px, calc(100vw - 2.2rem));
    margin-top: -1.2rem;
    border-radius: 20px 20px 32px 32px;
    padding-top: 3rem;
  }

  .home-about__grid {
    min-height: 0;
    padding-inline: 0;
  }

  .home-about__copy,
  .home-legacy__copy {
    max-width: none;
  }

  .home-about__copy {
    padding: 0;
  }

  .home-about__media {
    order: -1;
    min-height: 31rem;
    justify-content: center;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 1.5rem;
    background:
      radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.06), transparent 26%),
      linear-gradient(180deg, rgba(18, 18, 22, 0.92), rgba(8, 8, 10, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
  }

  .home-about__image {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: min(92%, 23rem);
    height: calc(100% + 1.8rem);
    object-position: center bottom;
  }

  .home-legacy {
    min-height: auto;
  }

  .home-legacy__content {
    min-height: 0;
  }

  .home-legacy__copy {
    padding-top: 3.5rem;
  }

  .home-legacy__media {
    justify-content: flex-start;
    padding-top: 0;
  }

  .contact-section {
    width: min(1056px, calc(100vw - 2.8rem));
    margin-top: -0.8rem;
    padding-bottom: 4rem;
  }

  .contact-section__shell {
    padding: 1.35rem 1.35rem 1.45rem;
    border-radius: 32px;
  }

  .contact-section__socials {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    width: min(calc(100vw - 1rem), 100%);
    margin-top: 0.6rem;
    padding: 0.7rem 0.8rem;
    gap: 0.8rem;
    border-radius: 22px;
  }

  .menu-button {
    display: inline-flex;
    min-height: 40px;
    padding: 0 0.95rem;
    font-size: 0.8rem;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.85rem 0.9rem 0.95rem;
    border-radius: 22px;
    background: rgba(10, 10, 14, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.65rem 0;
    font-size: 0.74rem;
    letter-spacing: 0.13em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .nav-cta {
    margin-top: 0.25rem;
    justify-content: center;
  }

  .section {
    padding: 3rem 0;
  }

  .hero {
    min-height: auto;
    padding-top: 1.35rem;
  }

  .hero-stage {
    min-height: 0;
    padding: 0;
  }

  .hero-book {
    --hero-mobile-stage-slot: min(38vw, 8.8rem);
    --hero-mobile-stage-height: clamp(15.2rem, 59vw, 16.8rem);
    --hero-mobile-stage-offset: clamp(0.78rem, 3vw, 1rem);
    width: min(100vw - 0.75rem, 100%);
    padding: 1rem 1rem 1.2rem;
    border-radius: 26px;
    gap: 0;
  }

  .hero-book::before {
    inset: 35% -18% -12% 26%;
    opacity: 0.82;
  }

  .hero-book .hero-copy {
    max-width: none;
    display: block;
  }

  .hero-book__title {
    position: relative;
    max-width: calc(
      100% - var(--hero-mobile-stage-slot) - var(--hero-mobile-stage-offset) - 0.45rem
    );
    min-height: calc(var(--hero-mobile-stage-height) + 1.65rem);
    padding-right: 0.15rem;
    margin-bottom: 0.25rem;
    font-size: clamp(2.85rem, 12.8vw, 3.8rem);
    line-height: 0.88;
    text-wrap: balance;
  }

  .hero-book__line {
    display: inline;
  }

  .hero-book__line:not(:last-child)::after {
    content: " ";
  }

  .hero-book__text,
  .hero-book__question,
  .hero-book__cta {
    max-width: none;
  }

  .hero-book__text {
    margin-top: 0.4rem;
    font-size: 0.95rem;
    line-height: 1.52;
  }

  .hero-book__question {
    margin-top: 0.55rem;
    font-size: 1.03rem;
    line-height: 1.34;
  }

  .hero-book__cta {
    margin-top: 0.7rem;
    max-width: 23ch;
    font-size: 0.92rem;
  }

  .hero-book__amazon {
    width: 100%;
    max-width: none;
    margin-top: 0.45rem;
    gap: 0.14rem;
    padding: 0.76rem 0.8rem 0.8rem 0.9rem;
    border-radius: 0.95rem;
  }

  .hero-book__amazon-label {
    font-size: 0.72rem;
  }

  .hero-book__amazon-title {
    font-size: 0.88rem;
    line-height: 1.18;
  }

  .hero-book__amazon-meta {
    display: none;
  }

  .hero-book__form {
    margin-top: 0.35rem;
    max-width: min(21.5rem, 100%);
  }

  .hero-book__form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0.55rem;
  }

  .hero-book__field {
    min-width: 0;
    min-height: 2.95rem;
    padding-inline: 0.95rem;
    border-radius: 14px;
  }

  .hero-book__submit {
    width: auto;
    min-width: 6.8rem;
    min-height: 2.95rem;
    padding-inline: 1.1rem;
    border-radius: 14px;
  }

  .hero-book .hero-stage {
    position: absolute;
    top: 0.55rem;
    right: var(--hero-mobile-stage-offset);
    width: var(--hero-mobile-stage-slot);
    min-height: var(--hero-mobile-stage-height);
    height: auto;
    gap: 0.55rem;
    margin-top: 0;
    padding: 0;
    overflow: visible;
    border-radius: 0;
    background: none;
  }

  .hero-book__aura {
    left: 48%;
    width: calc(var(--hero-mobile-stage-slot) + 1.35rem);
    top: 50%;
    bottom: auto;
    translate: -50% -50%;
  }

  .hero-book__cover-wrap {
    width: min(calc(var(--hero-mobile-stage-slot) - 0.75rem), 7.35rem);
  }

  .home-about {
    --about-mobile-media-width: min(37vw, 8.8rem);
    --about-mobile-media-height: clamp(10.6rem, 43vw, 12.7rem);
    --about-mobile-media-gap: 0.9rem;
    width: min(100vw - 1rem, 100%);
    padding: 1rem 0.95rem 1.25rem;
    border-radius: 26px;
    margin: calc(var(--section-stack-overlap) * -0.5) auto -0.8rem;
  }

  .home-about__grid {
    position: relative;
    gap: 1rem;
    min-height: 0;
    padding-inline: 0;
  }

  .home-about__heading {
    position: absolute;
    top: 0.15rem;
    left: calc(var(--about-mobile-media-width) + var(--about-mobile-media-gap));
    right: 0;
    min-height: var(--about-mobile-media-height);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .home-about__title {
    max-width: 5.6ch;
    font-size: clamp(2rem, 9.4vw, 2.85rem);
    line-height: 0.92;
  }

  .home-about__intro,
  .home-about__bio,
  .home-about__card-header,
  .home-about__contact-label,
  .home-about__contact-value {
    font-size: 0.9rem;
    line-height: 1.56;
  }

  .home-about__copy {
    margin: 0;
    padding: calc(var(--about-mobile-media-height) + 0.85rem) 0 0.15rem;
  }

  .home-about__intro {
    margin-top: 0.55rem;
  }

  .home-about__bio,
  .home-about__card-group,
  .home-about__social-group,
  .home-about__tags {
    margin-top: 0.75rem;
  }

  .home-about__channels {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .home-about__socials {
    gap: 0.5rem;
  }

  .home-about__media {
    position: absolute;
    top: 0.15rem;
    left: 0;
    width: var(--about-mobile-media-width);
    min-height: var(--about-mobile-media-height);
    height: var(--about-mobile-media-height);
    justify-content: center;
    align-items: flex-end;
    border-radius: 1.15rem;
  }

  .home-about__tag {
    min-height: 1.55rem;
    padding: 0 0.42rem;
    font-size: 0.58rem;
  }

  .home-about__channel-card {
    padding: 0.8rem 0.85rem;
    border-radius: 0.95rem;
  }

  .home-about__channel-name {
    font-size: 0.92rem;
  }

  .home-about__channel-meta {
    font-size: 0.8rem;
    line-height: 1.38;
  }

  .home-about__social-icon {
    width: 2.7rem;
    min-width: 2.7rem;
    height: 2.7rem;
    min-height: 2.7rem;
  }

  .home-about__image {
    left: 50%;
    width: min(131%, 13.2rem);
    height: calc(100% + 0.15rem);
    transform: translateX(-50%);
    object-position: center bottom;
  }

  .home-legacy {
    width: min(100vw - 1.25rem, 100%);
    min-height: auto;
    padding: 1.15rem 1rem 1.25rem;
    padding-top: 2rem;
    margin-top: -0.2rem;
    border-radius: 18px 18px 26px 26px;
    scroll-margin-top: 5.5rem;
  }

  .home-legacy__content {
    gap: 0.65rem;
  }

  .contact-section {
    width: min(100vw - 1.5rem, 100%);
    margin-top: -0.25rem;
    padding-bottom: 2.35rem;
  }

  .contact-section__shell {
    padding: 1rem 0.92rem 1.05rem;
    border-radius: 24px;
  }

  .contact-section__title {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .contact-section__card {
    padding: 0.92rem 0.95rem;
    border-radius: 18px;
  }

  .contact-section__card h3 {
    font-size: 1.05rem;
    line-height: 1.1;
  }

  .contact-section__meta {
    font-size: 0.76rem;
    line-height: 1.45;
    word-break: break-word;
  }

  .home-legacy__copy {
    padding-top: 0;
  }

  .home-legacy__title {
    max-width: none;
    font-size: clamp(1.2rem, 5vw, 1.45rem);
    line-height: 1.04;
    white-space: nowrap;
  }

  .home-legacy__subtitle {
    display: none;
  }

  .home-legacy__video {
    width: 100%;
    padding: 0.62rem;
    border-radius: 1.15rem;
  }

  .home-legacy__video figcaption {
    padding: 0.58rem 0.15rem 0.05rem;
    font-size: 0.84rem;
    line-height: 1.34;
  }

  .home-legacy__badge img {
    width: 9.4rem;
  }

  .site-footer {
    width: min(calc(100vw - 1.25rem), 100%);
    margin: 0.75rem auto 2rem;
    padding-top: 1.15rem;
  }

  .footer-brand {
    font-size: 1.1rem;
  }

  .footer-meta {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .note-a,
  .note-b {
    display: none;
  }
}

@media (max-width: 460px) {
  .hero-book {
    --hero-mobile-stage-slot: min(36vw, 7.9rem);
    --hero-mobile-stage-height: clamp(14.1rem, 56vw, 15.2rem);
    --hero-mobile-stage-offset: clamp(0.7rem, 2.8vw, 0.88rem);
    padding: 0.95rem 0.9rem 1.1rem;
  }

  .hero-book__title {
    max-width: calc(
      100% - var(--hero-mobile-stage-slot) - var(--hero-mobile-stage-offset) - 0.32rem
    );
    min-height: calc(var(--hero-mobile-stage-height) + 1.45rem);
    font-size: clamp(2.65rem, 13.7vw, 3.55rem);
  }

  .hero-book__cover-wrap {
    width: min(calc(var(--hero-mobile-stage-slot) - 0.58rem), 6.65rem);
  }

  .hero-book .hero-stage {
    top: 0.35rem;
    right: var(--hero-mobile-stage-offset);
    width: var(--hero-mobile-stage-slot);
    min-height: var(--hero-mobile-stage-height);
    height: auto;
  }

  .hero-book__aura {
    left: 46.5%;
  }

  .hero-book__amazon {
    width: 100%;
    max-width: none;
    gap: 0.12rem;
    padding: 0.68rem 0.72rem 0.72rem 0.8rem;
  }

  .hero-book__amazon-title {
    font-size: 0.78rem;
    line-height: 1.14;
  }

  .hero-book__amazon-meta {
    display: none;
  }

  .hero-book__form {
    max-width: min(19.5rem, 100%);
  }

  .hero-book__form-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.48rem;
  }

  .hero-book__field,
  .hero-book__submit {
    min-height: 2.8rem;
    border-radius: 13px;
  }

  .hero-book__submit {
    min-width: 6.15rem;
    padding-inline: 0.95rem;
  }

  .home-about {
    --about-mobile-media-width: min(36vw, 8rem);
    --about-mobile-media-height: clamp(9.7rem, 42vw, 11.5rem);
    --about-mobile-media-gap: 0.8rem;
    padding: 0.95rem 0.82rem 1.15rem;
  }

  .home-legacy {
    padding: 0.95rem 0.82rem 0.95rem;
    padding-top: 1.62rem;
  }

  .home-legacy__copy {
    padding-top: 0;
  }

  .home-legacy__title {
    font-size: clamp(0.98rem, 4.15vw, 1.14rem);
  }

  .home-legacy__video {
    padding: 0.52rem;
    border-radius: 1rem;
  }

  .home-legacy__video figcaption {
    padding-top: 0.5rem;
    font-size: 0.8rem;
  }

  .home-legacy__badge img {
    width: 8.7rem;
  }

  .home-about__title {
    font-size: clamp(1.9rem, 9.8vw, 2.55rem);
  }

  .home-about__media {
    min-height: var(--about-mobile-media-height);
    height: var(--about-mobile-media-height);
  }

  .home-about__image {
    width: min(133%, 12rem);
  }

  .home-about__tag {
    font-size: 0.54rem;
  }

  .home-legacy {
    padding-inline: 0.92rem;
  }

  .contact-section {
    width: min(calc(100vw - 1rem), 100%);
  }

  .contact-section__shell {
    padding-inline: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .hero-stage > *,
  .hero-book__cover,
  .hero-book__cover-wrap,
  .button,
  .text-button,
  .menu-button,
  .site-header {
    transition: none;
  }
}
