/* =============================================================
   EL MENSAJE EN LA BOTELLA — styles.css
   Archetype: Editorial Dark Warm (recolored violeta/naranja)
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
@property --mesh-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --mesh-x { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --mesh-y { syntax: "<percentage>"; inherits: false; initial-value: 40%; }

:root {
  --bg: #0e0b1a;
  --bg-2: #15112a;
  --bg-3: #1d1838;
  --card: #1d1838;
  --cream: #f4f2fb;
  --cream-2: #d7d2ee;
  --cream-3: #938dbd;
  --violet: #747ee7;
  --violet-light: #aa8cfe;
  --violet-deep: #4a3f86;
  --accent: #ff7f16;
  --accent-2: #ffa057;
  --line: rgba(244, 242, 251, 0.12);
  --line-soft: rgba(244, 242, 251, 0.07);

  --display: "Outfit", "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 76px;
  --container: 1240px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--cream-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--cream);
  text-wrap: balance;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
::selection { background: var(--accent); color: var(--bg); }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem;
  padding: .6rem 1rem; background: var(--cream); color: var(--bg);
  z-index: 9999; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.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;
}
.section { padding-block: 5rem; position: relative; }
@media (min-width: 960px) { .section { padding-block: 7.5rem; } }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.is-center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-size: .75rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2);
  margin-bottom: 1rem;
}
.kicker::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.eyebrow-line { flex: 1; height: 1px; background: var(--line); max-width: 3rem; }

/* =============================================================
   4. Typography
   ============================================================= */
.h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
.h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--cream-2); line-height: 1.6; }
.eyebrow-text { color: var(--cream-3); font-size: .95rem; }

/* =============================================================
   5. Components
   ============================================================= */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem; border-radius: 999px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background-color .35s var(--ease-out);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent); color: #1a1206;
  box-shadow: 0 4px 20px rgba(255, 127, 22, 0.28);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(255, 127, 22, 0.35);
  background: var(--accent-2);
}
.btn-ghost {
  border: 1px solid var(--line); color: var(--cream);
}
.btn-ghost:hover { border-color: var(--violet-light); background: rgba(170,140,254,.08); transform: translateY(-3px); }
.btn-sm { padding: .65rem 1.2rem; font-size: .85rem; }
.btn-full { width: 100%; }

/* Nav */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(14, 11, 26, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: .55rem; font-family: var(--display); font-weight: 700; }
.brand-mark {
  height: 26px; width: auto; flex-shrink: 0;
}
.brand-word { font-size: 1rem; line-height: 1.05; color: var(--cream); }
.brand-word em { display: block; font-style: normal; font-weight: 400; font-size: .68em; color: var(--cream-3); }
.brand-wordmark { height: 43px; width: auto; flex-shrink: 0; }

.nav-links { display: none; align-items: center; gap: 2rem; }
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-link {
  position: relative; padding: .3rem 0; font-size: .92rem; font-weight: 500; color: var(--cream-2);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-link:hover { color: var(--cream); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-link.is-active { color: var(--cream); }

.nav-actions { display: flex; align-items: center; gap: .75rem; }
.nav-cta { display: none; }
@media (min-width: 720px) { .nav-cta { display: inline-flex; } }

.hamburger {
  display: grid; place-items: center; width: 44px; height: 44px;
}
@media (min-width: 960px) { .hamburger { display: none; } }
.hamburger-lines { position: relative; width: 20px; height: 14px; }
.hamburger-lines span {
  position: absolute; left: 0; right: 0; height: 2px; background: var(--cream);
  transition: transform .35s var(--ease-soft), opacity .3s;
}
.hamburger-lines span:nth-child(1) { top: 0; }
.hamburger-lines span:nth-child(2) { top: 6px; }
.hamburger-lines span:nth-child(3) { top: 12px; }
.nav-mobile.is-open ~ .nav-inner .hamburger-lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-mobile.is-open ~ .nav-inner .hamburger-lines span:nth-child(2) { opacity: 0; }
.nav-mobile.is-open ~ .nav-inner .hamburger-lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .6s var(--ease-soft);
}
.nav-mobile[data-open="true"] { clip-path: inset(0); }
.nav-mobile a { font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--cream); }

/* Cards */
.card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  transition: box-shadow .5s var(--ease-soft), border-color .5s var(--ease-soft);
}
.card:hover {
  border-color: rgba(255,127,22,.35);
  box-shadow:
    0 40px 80px -30px rgba(255, 127, 22, 0.22),
    0 20px 50px -20px rgba(0,0,0,0.5);
}
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-soft), filter .55s; }
.card:hover .card-media img { transform: scale(1.08); filter: saturate(1.15) brightness(1.03); }
.card-body { padding: 1.5rem; }
.card-eyebrow { display: flex; align-items: center; gap: .5rem; font-size: .78rem; color: var(--cream-3); margin-bottom: .6rem; }
.card-title { font-size: 1.15rem; margin-bottom: .55rem; }
.card-text { font-size: .92rem; color: var(--cream-3); line-height: 1.55; }
.card-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.tag {
  font-size: .72rem; padding: .3rem .65rem; border-radius: 999px;
  background: rgba(116,126,231,.14); color: var(--violet-light);
  border: 1px solid rgba(116,126,231,.25);
}

/* Grid halo tilt (episodes/blog) */
.has-tilt {
  --rx: 0deg; --ry: 0deg;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .55s var(--ease-soft);
}
.has-tilt:hover { transition-duration: .15s; }

/* Reveal */
[data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal][data-split] { opacity: 1; transform: none; }

/* Footer */
.footer { padding-block: 4rem 2.5rem; border-top: 1px solid var(--line-soft); background: var(--bg-2); }
.footer-top { display: grid; gap: 2.5rem; margin-bottom: 3rem; }
@media (min-width: 720px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand p { color: var(--cream-3); margin-top: 1rem; max-width: 32ch; font-size: .92rem; }
.footer-col h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--cream-3); margin-bottom: 1rem; font-weight: 600; }
.footer-col ul { display: flex; flex-direction: column; gap: .7rem; }
.footer-col a { font-size: .92rem; color: var(--cream-2); transition: color .3s; }
.footer-col a:hover { color: var(--accent-2); }
.footer-bottom {
  display: flex; flex-direction: column; gap: 1rem;
  padding-top: 2rem; border-top: 1px solid var(--line-soft);
  font-size: .82rem; color: var(--cream-3);
}
@media (min-width: 720px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-credits a { color: var(--cream-3); text-decoration: underline; text-underline-offset: 3px; }

/* Forms */
.field { position: relative; margin-bottom: 1.3rem; }
.field input, .field textarea {
  width: 100%; padding: 1.4rem 1rem .6rem; border: 1px solid var(--line);
  background: var(--bg-2); color: var(--cream); border-radius: 12px;
  font-family: var(--sans); font-size: .98rem;
  transition: border-color .3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--violet-light); outline: none; }
.field label {
  position: absolute; left: 1rem; top: 1.05rem;
  pointer-events: none; transition: all .25s var(--ease-out);
  color: var(--cream-3); font-size: .95rem;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: .45rem; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2);
}
.cta-form { position: relative; }
.cta-form.is-sent { opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .5s, transform .5s; }
.cta-submit { position: relative; }
.cta-form-spinner, .cta-form-check {
  position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; pointer-events: none;
}
.cta-form.is-sending .cta-form-label { opacity: 0; }
.cta-form.is-sending .cta-form-spinner { opacity: 1; }
.cta-form-spinner::after {
  content: ""; width: 16px; height: 16px;
  border: 2px solid rgba(0,0,0,.25); border-top-color: #1a1206;
  border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.cta-success {
  margin-top: 1.5rem; padding: 1.2rem 1.4rem; border-radius: 14px;
  background: rgba(116,126,231,.12); border: 1px solid rgba(116,126,231,.3);
  opacity: 0; transform: translateY(8px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-soft);
  pointer-events: none;
}
.cta-success.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* =============================================================
   6. Sections
   ============================================================= */

/* Splash */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .8s, clip-path 1s;
  animation: splashSafety .01s 3.2s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-mark { width: 100px; height: auto; animation: splashPulse 1.4s ease-in-out infinite; }
@keyframes splashPulse { 0%,100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.08); opacity: 1; } }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  isolation: isolate;
}
.hero-mesh {
  position: absolute; inset: -15%; z-index: -2;
  background:
    radial-gradient(48% 40% at var(--mesh-x) var(--mesh-y), rgba(255,127,22,.4), transparent 62%),
    conic-gradient(from var(--mesh-angle), rgba(170,140,254,.28), rgba(74,63,134,.12), rgba(255,127,22,.22), rgba(170,140,254,.28)),
    var(--bg);
  filter: blur(90px) saturate(130%);
  opacity: .85;
  animation: meshShift 26s linear infinite;
}
@keyframes meshShift {
  0%   { --mesh-angle: 0deg;   --mesh-x: 28%; --mesh-y: 38%; }
  50%  { --mesh-angle: 180deg; --mesh-x: 68%; --mesh-y: 62%; }
  100% { --mesh-angle: 360deg; --mesh-x: 28%; --mesh-y: 38%; }
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .1; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}
.hero-inner { display: grid; gap: 3rem; align-items: center; padding-block: 3rem; }
@media (min-width: 960px) { .hero-inner { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }
.hero-meta { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem; font-size: .85rem; color: var(--cream-3); }
.hero-meta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,127,22,.18); }
.hero-title { max-width: 15ch; }
.hero-title em { font-style: normal; color: var(--accent-2); }
.hero-sub { margin-top: 1.4rem; max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-platforms { display: flex; align-items: center; gap: 1.1rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero-platforms span { font-size: .78rem; color: var(--cream-3); text-transform: uppercase; letter-spacing: .12em; }
.hero-platforms a { font-size: .85rem; color: var(--cream-2); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.hero-platforms a:hover { color: var(--accent-2); border-color: var(--accent-2); }

.hero-visual {
  position: relative; border-radius: 28px; overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.7);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14,11,26,.75) 100%);
}
.hero-visual-tag {
  position: absolute; left: 1.4rem; bottom: 1.4rem; z-index: 2;
  display: flex; align-items: center; gap: .6rem;
  padding: .6rem 1rem; border-radius: 999px;
  background: rgba(14,11,26,.7); backdrop-filter: blur(10px);
  border: 1px solid var(--line); font-size: .82rem;
}

/* Hero — foto completa como fondo, sin caja, bordes en degradé */
.hero--photobg { isolation: isolate; }
.hero-photo-bg {
  position: absolute; inset: 0; z-index: -1;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.hero-photo-fade-y {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  display: flex;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 22%, black 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 22%, black 78%, transparent 100%);
}
.hero-photo-bg img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-position: center;
  opacity: .85;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 18%, black 82%, transparent 100%);
}
@media (max-width: 959px) {
  .hero-photo-fade-y {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 72%, transparent 100%);
  }
  .hero-photo-bg img {
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 20%, black 80%, transparent 100%);
    opacity: .4;
  }
}
/* Scrim extra para legibilidad del texto sobre la foto de ancho completo */
.hero--photobg .hero-inner::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(14,11,26,.65) 30%, transparent 60%);
}
@media (max-width: 959px) {
  .hero--photobg .hero-inner::before { background: linear-gradient(180deg, transparent 45%, var(--bg) 92%); }
}
.hero-inner--single { grid-template-columns: 1fr !important; }
.hero-inner--single > div { max-width: 46ch; }
.hero-visual-tag--float {
  position: absolute; left: 6vw; bottom: 2.4rem; z-index: 2;
}
@media (min-width: 960px) { .hero-visual-tag--float { left: auto; right: 6vw; } }

/* Values strip */
.values-strip { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .values-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .values-strip { grid-template-columns: repeat(4, 1fr); } }
.value-card {
  padding: 1.8rem; border-radius: 18px; border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, rgba(116,126,231,.07), transparent 60%);
}
.value-card .value-num { font-family: var(--display); font-size: .8rem; color: var(--accent-2); letter-spacing: .1em; }
.value-card h3 { margin-top: .8rem; margin-bottom: .6rem; font-size: 1.1rem; }
.value-card p { font-size: .9rem; color: var(--cream-3); }

/* Episode grid */
.grid-3 { display: grid; gap: 1.75rem; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 1.75rem; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.episode-row {
  display: grid; gap: 1.25rem; align-items: center;
  grid-template-columns: 96px 1fr;
  padding: 1.25rem; border-radius: 20px; border: 1px solid var(--line-soft);
  transition: border-color .4s, background-color .4s, transform .4s var(--ease-soft);
}
.episode-row:hover { border-color: rgba(255,127,22,.3); background: rgba(255,127,22,.04); }
@media (min-width: 720px) { .episode-row { grid-template-columns: 120px 1fr auto; gap: 1.5rem; padding: 1.5rem; } }
.episode-thumb {
  width: 96px; height: 96px; border-radius: 14px; overflow: hidden; flex-shrink: 0;
  background: var(--bg-2); grid-row: 1 / 3;
}
@media (min-width: 720px) { .episode-thumb { width: 120px; height: 120px; grid-row: auto; } }
.episode-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-soft); }
.episode-row:hover .episode-thumb img { transform: scale(1.08); }
.episode-content { min-width: 0; }
.episode-eyebrow {
  display: flex; align-items: center; gap: .5rem; font-size: .76rem;
  color: var(--violet-light); font-weight: 600; letter-spacing: .04em; margin-bottom: .4rem;
}
.episode-row h3 { font-size: 1.1rem; margin-bottom: .4rem; line-height: 1.3; }
.episode-excerpt {
  font-size: .88rem; color: var(--cream-3); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.episode-action { grid-column: 1 / 3; margin-top: .3rem; }
@media (min-width: 720px) { .episode-action { grid-column: auto; margin-top: 0; } }

/* Section with mesh accent (secondary) */
.section-mesh { position: relative; isolation: isolate; }
.section-mesh::before {
  content: ""; position: absolute; inset: -60% -10% -80% -10%; z-index: -1;
  background:
    radial-gradient(40% 34% at 70% 30%, rgba(116,126,231,.32), transparent 70%),
    radial-gradient(36% 32% at 20% 80%, rgba(255,127,22,.4), transparent 72%);
  filter: blur(130px);
  opacity: .9;
  pointer-events: none;
}

/* Book section */
.book-layout { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .book-layout { grid-template-columns: .8fr 1.2fr; gap: 4.5rem; } }
.book-cover {
  position: relative; border-radius: 16px; overflow: hidden;
  box-shadow: 0 50px 100px -30px rgba(0,0,0,.65), 0 0 0 1px var(--line);
  max-width: 340px; margin-inline: auto;
}
.book-cover img { width: 100%; aspect-ratio: 3/4.4; object-fit: cover; }
.book-formats { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1.6rem 0 2rem; }
.book-price { font-family: var(--display); font-size: 1.6rem; color: var(--accent-2); margin-bottom: 1.6rem; }
.book-quote {
  margin: 2rem 0; padding-left: 1.4rem; border-left: 2px solid var(--accent);
  font-family: var(--display); font-style: normal; font-size: 1.15rem; color: var(--cream);
  line-height: 1.5;
}

/* Blog article page */
.article-hero { padding-top: calc(var(--nav-h) + 3rem); padding-bottom: 3rem; }
.article-media { border-radius: 20px; overflow: hidden; margin-top: 2rem; aspect-ratio: 16/8; }
.article-media img { width: 100%; height: 100%; object-fit: cover; }
.article-media.video-embed { aspect-ratio: 16/9; background: #000; }
.article-media.video-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.article-body { max-width: 68ch; margin-inline: auto; padding-block: 3rem; }
.article-body p { margin-bottom: 1.4rem; font-size: 1.05rem; color: var(--cream-2); }
.article-body h2 { margin: 2.4rem 0 1rem; font-size: 1.5rem; }
.article-meta { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; color: var(--cream-3); font-size: .88rem; margin-top: 1rem; }
.article-meta .dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--cream-3); }

/* About page */
.about-hero { display: grid; gap: 3rem; align-items: center; padding-top: calc(var(--nav-h) + 3rem); }
@media (min-width: 960px) { .about-hero { grid-template-columns: .7fr 1.3fr; gap: 4rem; } }
.about-portrait { border-radius: 22px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 50px 100px -30px rgba(0,0,0,.6); }
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-bio p { margin-bottom: 1.2rem; font-size: 1.02rem; color: var(--cream-2); }

/* Contact */
.contact-layout { display: grid; gap: 3rem; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: .9fr 1.1fr; gap: 4rem; } }
.contact-info-card {
  padding: 2rem; border-radius: 20px; border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, rgba(116,126,231,.08), transparent 60%);
}
.contact-info-row { display: flex; gap: .9rem; padding-block: 1rem; border-top: 1px solid var(--line-soft); }
.contact-info-row:first-child { border-top: none; padding-top: 0; }
.contact-info-row h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--cream-3); margin-bottom: .3rem; }
.contact-info-row a, .contact-info-row span { font-size: .98rem; color: var(--cream); }

/* Final CTA */
.cta-band {
  border-radius: 28px; padding: 3.5rem 2rem; text-align: center;
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(150deg, rgba(116,126,231,.16), rgba(255,127,22,.1));
  border: 1px solid var(--line);
}
@media (min-width: 720px) { .cta-band { padding: 4.5rem 3rem; } }
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band .lede { margin: 1.2rem auto 2rem; max-width: 46ch; }
.cta-band .hero-actions { justify-content: center; }

/* Page hero (non-home pages) */
.page-hero { padding-top: calc(var(--nav-h) + 4rem); padding-bottom: 3rem; }
.page-hero .h1 { max-width: 22ch; }
.page-hero .lede { margin-top: 1.2rem; }

/* =============================================================
   7. Effects
   ============================================================= */
.cursor {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999;
  display: none; mix-blend-mode: difference; opacity: 0;
  transition: opacity .25s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; will-change: transform; }
.cursor-dot { width: 5px; height: 5px; margin: -2.5px; background: var(--cream); border-radius: 50%; }
.cursor-ring {
  width: 30px; height: 30px; margin: -15px; border: 1px solid var(--cream); border-radius: 50%;
  transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out);
}
.cursor.is-interactive .cursor-ring { width: 46px; height: 46px; margin: -23px; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; background: rgba(255,255,255,.06); pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--violet-light));
  transform-origin: 0 0; transform: scaleX(0); transition: transform .08s linear;
}

/* =============================================================
   8. Responsive helpers
   ============================================================= */
@media (max-width: 719px) {
  .hero-actions .btn { width: 100%; }
}

/* =============================================================
   9. Reduced motion — only intrusive effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation: none; }
  .splash-mark { animation: none; }
  .hero-meta .dot { box-shadow: none; }
}
