/* GTFU — Adan Castillo | Brand palette */
:root {
  --maroon: #800000;
  --black: #000000;
  --white: #ffffff;
  --maroon-dim: #5c0000;
  --maroon-glow: rgba(128, 0, 0, 0.45);
  --surface: #0a0a0a;
  --text-muted: rgba(255, 255, 255, 0.72);
  --font-display: "Bebas Neue", "Impact", sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 5.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10001;
  padding: 0.75rem 1.25rem;
  background: var(--maroon);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--white);
  background: var(--black);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--maroon);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

a:hover {
  color: #a02020;
}

/* ----- Layout ----- */
.wrap {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.section--tight {
  padding-top: clamp(2rem, 5vw, 3rem);
}

/* ----- Header ----- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.75) 70%, transparent);
  border-bottom: 1px solid rgba(128, 0, 0, 0.25);
  transition: background 0.35s var(--ease-out), border-color 0.35s;
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(128, 0, 0, 0.4);
}

.header-inner {
  width: min(1120px, 92vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  flex-shrink: 0;
}

.logo img {
  height: clamp(2.1rem, 5.2vw, 3rem);
  width: auto;
  max-width: min(12.5rem, 52vw);
  object-fit: contain;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0.65rem 1rem;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--maroon);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(128, 0, 0, 0.5);
  color: var(--white);
  padding: 0.55rem 0.85rem;
  cursor: pointer;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.97);
    border-bottom: 1px solid rgba(128, 0, 0, 0.35);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease-out), opacity 0.35s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav a::after {
    display: none;
  }
}

/* ----- Hero ----- */
.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: calc(var(--header-h) + 0.5rem);
  padding-bottom: clamp(2rem, 6vw, 3.5rem);
  position: relative;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, var(--maroon-glow), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(128, 0, 0, 0.2), transparent 50%),
    linear-gradient(180deg, #0d0d0d 0%, var(--black) 45%, #050505 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 85%);
  animation: grid-drift 28s linear infinite;
}

@keyframes grid-drift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-48px, -48px);
  }
}

/* Home hero: desktop = two columns + blended figure; mobile = figure behind centered copy */
.home-page .hero__layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "stack";
  align-items: center;
  position: relative;
  min-height: calc(100vh - var(--header-h) - 1rem);
  padding-top: 0.5rem;
  padding-bottom: clamp(1.5rem, 5vw, 2.5rem);
}

.home-page .hero__content {
  grid-area: stack;
  position: relative;
  z-index: 2;
}

.home-page .hero__glow {
  grid-area: stack;
  position: relative;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
  min-height: min(72vh, 560px);
  margin: 0 auto;
  width: 100%;
  max-width: min(100%, 400px);
}

.home-page .hero__glow img {
  width: auto;
  max-width: 130%;
  height: min(68vh, 540px);
  object-fit: contain;
  object-position: center bottom;
}

@media (max-width: 900px) {
  .home-page .hero {
    padding-top: 0;
    padding-bottom: 0;
  }

  .home-page .hero__layout {
    text-align: center;
    align-content: center;
    padding-top: calc(var(--header-h) + 0.75rem);
    padding-bottom: clamp(2rem, 6vw, 3rem);
  }

  .home-page .hero__content {
    justify-self: center;
    max-width: 36rem;
    width: 100%;
    margin-inline: auto;
  }

  .home-page .hero__brand img {
    margin-inline: auto;
    object-position: center center;
  }

  .home-page .hero__lead {
    margin-inline: auto;
  }

  .home-page .hero__eyebrow {
    justify-content: center;
  }

  .home-page .hero__eyebrow i {
    color: #ff8a8a;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.95)) drop-shadow(0 2px 12px rgba(0, 0, 0, 0.8))
      drop-shadow(0 0 10px rgba(128, 0, 0, 0.45));
  }

  .home-page .hero__actions {
    justify-content: center;
  }

  .home-page .hero__glow {
    align-items: flex-end;
    min-height: min(75vh, 600px);
    max-width: 100%;
  }

  .home-page .hero__glow img {
    height: min(72vh, 580px);
    max-width: min(115vw, 520px);
    margin-inline: auto;
    transform: scale(1.08);
    transform-origin: center bottom;
  }
}

@media (min-width: 901px) {
  .home-page .hero__layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    grid-template-areas: "copy glow";
    gap: clamp(0.5rem, 2vw, 1.5rem);
    align-items: center;
    min-height: calc(100vh - var(--header-h) - 1rem);
    padding-top: 0;
  }

  .home-page .hero__content {
    grid-area: copy;
    text-align: left;
  }

  .home-page .hero__glow {
    grid-area: glow;
    align-items: center;
    justify-content: center;
    min-height: 0;
    max-width: none;
    width: 100%;
    position: relative;
    overflow: visible;
  }

  .home-page .hero__glow img {
    width: 100%;
    max-width: min(100%, 460px);
    height: auto;
    max-height: min(78vh, 720px);
    object-fit: contain;
    object-position: center center;
  }

  .home-page .hero__eyebrow i {
    color: var(--maroon);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.95)) drop-shadow(0 2px 12px rgba(0, 0, 0, 0.82));
  }
}

/* Home hero copy: readable on non-black areas (figure, gradients) */
.home-page .hero__lead {
  color: rgba(255, 255, 255, 0.94);
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.98),
    0 1px 2px rgba(0, 0, 0, 0.92),
    0 2px 16px rgba(0, 0, 0, 0.88),
    0 4px 36px rgba(0, 0, 0, 0.72);
}

.home-page .hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.97);
  text-shadow:
    0 0 1px rgba(0, 0, 0, 0.98),
    0 1px 2px rgba(0, 0, 0, 0.92),
    0 2px 14px rgba(0, 0, 0, 0.88),
    0 3px 28px rgba(0, 0, 0, 0.75);
}

.home-page .hero__eyebrow i {
  font-size: 1rem;
}

.hero__content {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 52rem;
  min-width: 0;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--maroon);
  animation: fade-up 0.9s var(--ease-out) 0.1s both;
}

.hero__brand {
  margin: 0;
  line-height: 0;
  animation: fade-up 0.95s var(--ease-out) 0.2s both;
}

.hero__brand img {
  width: min(100%, 32rem);
  height: auto;
  max-height: min(28vh, 200px);
  object-fit: contain;
  object-position: left center;
  display: block;
}

@media (max-width: 768px) {
  .hero__brand img {
    max-height: min(24vh, 160px);
  }
}

.hero__lead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 36rem;
  margin: 0;
  animation: fade-up 1s var(--ease-out) 0.35s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fade-up 1.05s var(--ease-out) 0.45s both;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.95rem 1.75rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s;
}

.btn--primary {
  background: var(--maroon);
  color: var(--white);
  box-shadow: 0 0 0 0 var(--maroon-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--maroon-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  border-color: var(--maroon);
  color: var(--white);
  transform: translateY(-2px);
}

/* Home hero: keep label/icon color stable, grow on hover, black ghost CTA */
.home-page .hero__actions .btn:hover,
.home-page .hero__actions .btn:focus-visible {
  color: var(--white);
}

.home-page .hero__actions .btn:hover i,
.home-page .hero__actions .btn:focus-visible i {
  color: inherit;
}

.home-page .hero__actions .btn--primary:hover,
.home-page .hero__actions .btn--primary:focus-visible {
  transform: scale(1.045);
  box-shadow: 0 12px 40px var(--maroon-glow);
}

.home-page .hero__actions .btn--ghost {
  background: var(--black);
  border-color: rgba(255, 255, 255, 0.3);
}

.home-page .hero__actions .btn--ghost:hover,
.home-page .hero__actions .btn--ghost:focus-visible {
  background: var(--black);
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  transform: scale(1.045);
}

/* ----- Stats strip ----- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(128, 0, 0, 0.35);
  border-bottom: 1px solid rgba(128, 0, 0, 0.35);
}

@media (max-width: 700px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat {
  text-align: center;
  padding: 0.5rem;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--maroon);
  line-height: 1;
}

.stat__label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* ----- Section titles ----- */
.section-head {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  max-width: 36rem;
}

/* ----- Cards / pillars ----- */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.75rem;
  row-gap: 0.75rem;
  align-items: start;
  background: linear-gradient(145deg, var(--surface), #111);
  border: 1px solid rgba(128, 0, 0, 0.25);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}

.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--maroon-glow), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
}

.pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(128, 0, 0, 0.55);
}

.pillar:hover::before {
  opacity: 1;
}

.pillar h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  min-width: 0;
  position: relative;
}

.pillar p {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
}

.pillar__link {
  grid-column: 1 / -1;
  grid-row: 3;
  display: inline-block;
  margin-top: 0.25rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maroon);
  position: relative;
}

.pillar__link:hover {
  color: var(--white);
}

.pillar__icon {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(128, 0, 0, 0.22);
  border: 1px solid rgba(128, 0, 0, 0.45);
  border-radius: 12px;
  color: var(--maroon);
  font-size: 1.15rem;
  margin-bottom: 0;
  transition: transform 0.4s var(--ease-out), background 0.4s, box-shadow 0.4s;
}

.pillar:hover .pillar__icon {
  transform: scale(1.06) translateY(-3px);
  background: rgba(128, 0, 0, 0.45);
  box-shadow: 0 10px 28px var(--maroon-glow);
}

.pillar__link i {
  font-size: 0.72rem;
  margin-left: 0.2rem;
  transition: transform 0.3s var(--ease-out);
  vertical-align: middle;
}

.pillar__link:hover i {
  transform: translateX(5px);
}

/* Light band — breaks up dark pages (e.g. home “What GTFU stands for”) */
.section--pillars-light {
  background: var(--white);
  color: var(--black);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.section--pillars-light .section-head h2 {
  color: var(--black);
}

.section--pillars-light .section-head p {
  color: rgba(0, 0, 0, 0.68);
}

.section--pillars-light .pillar {
  background: #f4f4f4;
  border-color: rgba(0, 0, 0, 0.08);
}

.section--pillars-light .pillar::before {
  background: radial-gradient(circle at 100% 0%, rgba(128, 0, 0, 0.14), transparent 55%);
}

.section--pillars-light .pillar:hover {
  border-color: rgba(128, 0, 0, 0.45);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.section--pillars-light .pillar h3 {
  color: var(--black);
}

.section--pillars-light .pillar p {
  color: rgba(0, 0, 0, 0.7);
}

.section--pillars-light .pillar__link:hover {
  color: var(--maroon-dim);
}

.section--pillars-light .pillar__icon {
  background: rgba(128, 0, 0, 0.12);
  border-color: rgba(128, 0, 0, 0.35);
}

.section--pillars-light .pillar:hover .pillar__icon {
  background: rgba(128, 0, 0, 0.2);
  box-shadow: 0 8px 22px rgba(128, 0, 0, 0.2);
}

.section-head__title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.section-head__icon {
  font-size: 0.5em;
  line-height: 1;
  color: var(--maroon);
  animation: icon-soft-pulse 3.5s ease-in-out infinite;
}

@keyframes icon-soft-pulse {
  0%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

.stat__icon {
  color: var(--maroon);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  opacity: 0.92;
  transition: transform 0.35s var(--ease-out);
}

.home-page .stat:hover .stat__icon {
  transform: scale(1.12);
}

.split__title--icon {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.split__title--icon i {
  color: var(--maroon);
  font-size: 0.55em;
  line-height: 1;
}

/* ----- Featured split ----- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: center;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.split__img {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(128, 0, 0, 0.35);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.split__img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.split:hover .split__img img {
  transform: scale(1.03);
}

.split__body h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.split__body.prose > h2:first-of-type {
  margin-top: 0;
}

.split__body p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.split__body code {
  font-size: 0.95em;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.12em 0.4em;
  border-radius: 3px;
}

/* About: portrait fits the column; image left / text right; quote below */
.split--about {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3rem);
}

@media (max-width: 860px) {
  .split--about {
    grid-template-columns: 1fr;
  }
}

.split--about .split__img {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: rgba(8, 8, 8, 0.55);
}

.split--about .split__img img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(85vh, 720px);
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
  margin-inline: auto;
  transition: transform 0.5s var(--ease-out);
}

@media (max-width: 860px) {
  .split--about .split__img img {
    max-height: min(70vh, 560px);
  }
}

.split--about:hover .split__img img {
  transform: scale(1.02);
}

.split--about .split__body {
  padding-top: 0.15rem;
}

.quote-block--about {
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  max-width: none;
}

/* About page — “The short version” band (Path & milestones stays default dark) */
.section--about-light {
  background: linear-gradient(180deg, #ffffff 0%, #f9f8f8 18%, #fafafa 50%, #f9f8f8 82%, #ffffff 100%);
  color: var(--black);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.section--about-light .split__body h2 {
  color: var(--black);
}

.section--about-light .split__body p {
  color: rgba(0, 0, 0, 0.72);
}

.section--about-light .split__body code {
  background: rgba(0, 0, 0, 0.06);
  color: var(--black);
}

.section--about-light .split__img {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.12);
}

.section--about-light .split--about .split__img {
  background: rgba(0, 0, 0, 0.035);
}

.section--about-light .quote-block {
  background: #f0f0f0;
  color: rgba(0, 0, 0, 0.88);
  border-left-color: var(--maroon);
}

.section--about-light .quote-block cite {
  color: var(--maroon-dim);
}

/* About — “My Story” alternating image / text */
.about-story {
  max-width: 70rem;
  margin-inline: auto;
}

.about-story__title {
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 8.5vw, 4.75rem);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 auto clamp(2.35rem, 5.5vw, 3.75rem);
  line-height: 1.05;
  position: relative;
  padding-bottom: 0.2em;
}

.about-story__title::after {
  content: "";
  display: block;
  width: min(5.75rem, 34vw);
  height: 4px;
  margin: 0.65rem auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, rgba(128, 0, 0, 0.35), var(--maroon), rgba(128, 0, 0, 0.35), transparent);
}

.section--about-light .about-story__title {
  color: var(--black);
}

.section--about-light .about-story .prose p {
  color: rgba(0, 0, 0, 0.78);
  font-size: clamp(0.98rem, 2.1vw, 1.07rem);
  line-height: 1.72;
}

.about-story__text.prose > p:first-of-type {
  margin-top: 0;
}

.about-story__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4.5vw, 3.25rem);
  align-items: center;
  margin-bottom: clamp(2.5rem, 5.5vw, 4rem);
}

.about-story__row:last-of-type {
  margin-bottom: 0;
}

.about-story__text {
  min-width: 0;
  padding: clamp(1.35rem, 3.2vw, 2.1rem) clamp(1.3rem, 3vw, 1.95rem);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(0, 0, 0, 0.055);
  border-radius: clamp(14px, 2.2vw, 22px);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.04),
    0 14px 40px -14px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.about-story__text.prose p:last-child {
  margin-bottom: 0;
}

.about-story__figure {
  margin: 0;
  position: relative;
  border-radius: clamp(14px, 2.2vw, 22px);
  overflow: hidden;
  border: none;
  background: linear-gradient(155deg, #ebe9e8 0%, #e3e1e0 45%, #f0eeed 100%);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.05),
    0 20px 50px -12px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  isolation: isolate;
}

.about-story__figure:not(.about-story__figure--book) {
  aspect-ratio: 4 / 5;
  max-height: min(72vh, 540px);
}

.about-story__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  z-index: 1;
}

.about-story__figure:not(.about-story__figure--book) img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.65s var(--ease-out);
}

.about-story__row:hover .about-story__figure:not(.about-story__figure--book) img {
  transform: scale(1.03);
}

.about-story__figure--book {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.9rem, 2.2vw, 1.4rem);
  min-height: min(52vh, 420px);
  background: linear-gradient(165deg, #efedec 0%, #e6e4e3 50%, #f3f1f0 100%);
}

.about-story__figure--book img {
  width: auto;
  max-width: 100%;
  min-height: 0;
  max-height: min(62vh, 500px);
  object-fit: contain;
  object-position: center;
  border-radius: 4px;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.14);
  position: relative;
  z-index: 0;
}

.about-story__row:hover .about-story__figure--book img {
  transform: none;
}

@media (max-width: 768px) {
  .about-story__title {
    font-size: clamp(2.2rem, 9.5vw, 3.35rem);
    margin-bottom: clamp(1.65rem, 5vw, 2.4rem);
  }

  .about-story__title::after {
    height: 3px;
    margin-top: 0.55rem;
  }

  .about-story__row {
    grid-template-columns: 1fr;
    gap: clamp(1.2rem, 4vw, 1.65rem);
    margin-bottom: clamp(2rem, 7vw, 2.85rem);
    align-items: stretch;
  }

  .about-story__row--img-right .about-story__figure {
    order: -1;
  }

  .about-story__text {
    padding: 1.2rem 1.15rem;
    border-radius: 16px;
  }

  .about-story__figure:not(.about-story__figure--book) {
    aspect-ratio: 3 / 4;
    max-height: min(62vh, 440px);
  }

  .about-story__figure--book {
    min-height: auto;
    padding: 1rem 0.85rem;
  }

  .about-story__figure--book img {
    max-height: min(52vh, 380px);
  }

  .about-story__row:hover .about-story__figure:not(.about-story__figure--book) img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-story__figure:not(.about-story__figure--book) img {
    transition: none;
  }

  .about-story__row:hover .about-story__figure:not(.about-story__figure--book) img {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .split--about:hover .split__img img {
    transform: none;
  }
}

/* ----- CTA band ----- */
.cta-band {
  background: linear-gradient(90deg, var(--maroon-dim), var(--maroon), var(--maroon-dim));
  background-size: 200% 100%;
  animation: cta-shimmer 8s ease infinite;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  text-align: center;
}

@keyframes cta-shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.cta-band__title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.cta-band__title i {
  font-size: 0.75em;
  opacity: 0.95;
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  opacity: 0.95;
}

.cta-band .btn--ghost {
  border-color: var(--white);
}

.cta-band .btn--ghost:hover {
  background: var(--black);
  border-color: var(--black);
}

/* ----- Footer ----- */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(128, 0, 0, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.footer-brand span {
  color: var(--maroon);
}

.footer-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--maroon);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ----- Inner pages ----- */
.page-hero {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(128, 0, 0, 0.25);
  background: radial-gradient(ellipse 70% 80% at 50% -20%, var(--maroon-glow), transparent);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 40rem;
}

.page-hero--about {
  padding-bottom: clamp(2rem, 5vw, 3.25rem);
}

.page-hero__title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.page-hero__title i {
  color: var(--maroon);
  font-size: 0.55em;
  line-height: 1;
}

.role-badges {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
}

.role-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: clamp(0.78rem, 2vw, 0.9rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(128, 0, 0, 0.14);
  border: 1px solid rgba(128, 0, 0, 0.38);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.role-badges li i {
  color: var(--maroon);
  font-size: 0.95rem;
}

.role-badges li:hover {
  transform: translateY(-3px);
  border-color: rgba(128, 0, 0, 0.55);
  background: rgba(128, 0, 0, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.prose {
  max-width: 42rem;
}

.prose p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

.prose .note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.prose .note i {
  margin-right: 0.4rem;
  color: var(--maroon);
  opacity: 0.9;
}

.prose code {
  font-size: 0.95em;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.12em 0.4em;
  border-radius: 3px;
}

.actions-gap {
  margin-top: 1.5rem;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 2rem 0 0.75rem;
  color: var(--white);
}

.timeline {
  margin: 2rem 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--maroon);
}

.timeline li {
  padding: 0 0 1.5rem 1.5rem;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  background: var(--maroon);
  border-radius: 50%;
}

.timeline strong {
  display: block;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.timeline span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.timeline--icons {
  border-left: none;
  margin-left: 0;
  padding-left: 0;
}

.timeline--icons li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0 0 1.5rem 0;
  position: relative;
}

.timeline--icons li::before {
  display: none;
}

.timeline--icons li::after {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 2.55rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--maroon), rgba(128, 0, 0, 0.25));
  pointer-events: none;
}

.timeline--icons li:last-child::after {
  display: none;
}

.timeline--icons .timeline__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  background: var(--surface);
  border: 2px solid var(--maroon);
  border-radius: 50%;
  color: var(--maroon);
  font-size: 0.75rem;
  box-shadow: 0 0 0 3px var(--black);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.timeline--icons li:hover .timeline__icon {
  transform: scale(1.08);
  box-shadow: 0 0 0 3px var(--black), 0 0 20px var(--maroon-glow);
}

.timeline--icons .timeline__content {
  padding-top: 0.1rem;
  min-width: 0;
}

.timeline--icons .timeline__content span {
  display: block;
  margin-top: 0.2rem;
}

.quote-block {
  margin: 2.5rem 0;
  padding: 1.75rem 1.5rem;
  border-left: 4px solid var(--maroon);
  background: var(--surface);
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.88);
}

.quote-block cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--maroon);
}

.quote-block__mark {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--maroon);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.quote-block cite i {
  margin-right: 0.4rem;
  font-size: 0.95em;
  opacity: 0.9;
  text-transform: none;
  letter-spacing: 0;
}

/* ----- Book page ----- */
.book-section {
  padding-bottom: clamp(2.5rem, 8vw, 5rem);
}

.book-section--light {
  background: var(--white);
  color: var(--black);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.book-section--light .book-meta.prose h2 {
  color: var(--black);
}

.book-section--light .book-meta.prose p,
.book-section--light .book-meta.prose .prose-lead {
  color: rgba(0, 0, 0, 0.78);
}

.book-section--light .book-meta .note {
  color: rgba(0, 0, 0, 0.68);
}

.book-section--light .book-meta .note a {
  color: var(--maroon);
}

.book-section--light .book-meta .note a:hover {
  color: var(--maroon-dim);
}

.book-section--light .book-meta .note i {
  color: var(--maroon);
}

.book-section--light .book-cover {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.14);
}

.book-section--light .book-info.book-info--compact {
  background: #f0f0f0;
  border-color: rgba(0, 0, 0, 0.1);
}

.book-section--light .book-info--compact .book-info__row {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.book-section--light .book-info__row dd {
  color: var(--black);
}

.book-section--light .book-info__row dt i {
  color: var(--maroon);
}

.book-section--light .btn-buy:focus-visible {
  outline-color: var(--maroon);
}

.book-layout {
  display: grid;
  grid-template-columns: minmax(220px, min(32vw, 320px)) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.book-aside {
  display: flex;
  flex-direction: column;
  gap: clamp(0.85rem, 2vw, 1.1rem);
  width: 100%;
  min-width: 0;
}

/* Sticky the whole column so text never slides over the cover (desktop+) */
@media (min-width: 721px) {
  .book-aside {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
    align-self: start;
    max-height: calc(100vh - var(--header-h) - 1.5rem);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.25rem;
    scrollbar-gutter: stable;
  }

  .book-aside::-webkit-scrollbar {
    width: 6px;
  }

  .book-aside::-webkit-scrollbar-thumb {
    background: rgba(128, 0, 0, 0.45);
    border-radius: 3px;
  }
}

@media (max-width: 720px) {
  body.book-page .page-hero {
    padding-bottom: 1.75rem;
  }

  .book-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .book-aside {
    position: static;
    max-height: none;
    overflow: visible;
    margin-inline: auto;
    max-width: min(340px, min(92vw, 28rem));
    padding-right: 0;
  }
}

.book-cover {
  position: relative;
  border: 1px solid rgba(128, 0, 0, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  border-radius: 4px;
  animation: book-cover-in 1s var(--ease-out) both;
}

.book-cover img {
  display: block;
  aspect-ratio: 2/3;
  object-fit: cover;
  width: 100%;
  animation: book-float 7s ease-in-out infinite;
  animation-delay: 0.5s;
}

@media (max-width: 720px) {
  .book-cover img {
    animation-duration: 9s;
  }
}

.book-meta .tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 0.75rem;
}

.book-meta .tag i {
  font-size: 0.85rem;
  opacity: 0.95;
}

.book-meta {
  min-width: 0;
}

.book-meta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

/* ----- Book page (animated) ----- */
body.book-page .page-hero {
  position: relative;
  overflow: hidden;
}

body.book-page .page-hero::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(ellipse at 30% 0%, var(--maroon-glow), transparent 55%);
  animation: book-hero-glow 10s ease-in-out infinite;
  pointer-events: none;
}

@keyframes book-hero-glow {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(1) translate(0, 0);
  }
  50% {
    opacity: 1;
    transform: scale(1.08) translate(2%, -2%);
  }
}

body.book-page .page-hero h1 {
  animation: book-title-in 0.85s var(--ease-out) both;
}

body.book-page .page-hero > .wrap > p {
  animation: book-title-in 0.85s var(--ease-out) 0.12s both;
}

@keyframes book-title-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes book-cover-in {
  from {
    opacity: 0;
    transform: perspective(900px) rotateY(-12deg) scale(0.96);
  }
  to {
    opacity: 1;
    transform: perspective(900px) rotateY(0) scale(1);
  }
}

@keyframes book-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.book-info {
  margin: 1.75rem 0 2rem;
  padding: 0;
  display: grid;
  gap: 0;
  border: 1px solid rgba(128, 0, 0, 0.35);
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.95));
}

/* Compact block under cover — sidebar only (readable at all breakpoints) */
.book-info--compact {
  margin: 0;
  border-color: rgba(128, 0, 0, 0.28);
  background: rgba(12, 12, 12, 0.92);
  border-radius: 6px;
}

.book-info--compact .book-info__row {
  padding: clamp(0.55rem, 1.8vw, 0.7rem) clamp(0.65rem, 2vw, 0.9rem);
  gap: 0.5rem 0.85rem;
  border-bottom-color: rgba(255, 255, 255, 0.06);
  grid-template-columns: minmax(6.75rem, 40%) minmax(0, 1fr);
  align-items: center;
}

.book-info--compact .book-info__row dt {
  font-size: clamp(0.62rem, 1.65vw, 0.72rem);
  letter-spacing: 0.06em;
  gap: 0.45rem;
  line-height: 1.35;
  min-width: 0;
}

.book-info--compact .book-info__row dt i {
  font-size: clamp(0.78rem, 2vw, 0.9rem);
  width: 1.1rem;
  min-width: 1.1rem;
  flex-shrink: 0;
  text-align: center;
  line-height: 1;
  opacity: 0.9;
}

.book-info--compact .book-info__row dd {
  font-size: clamp(0.82rem, 2.15vw, 0.95rem);
  font-weight: 600;
  line-height: 1.45;
  word-break: break-word;
  text-align: left;
}

.book-info__row {
  display: grid;
  /* Same label column width every row so all <dd> values line up */
  grid-template-columns: minmax(7.5rem, 38%) minmax(0, 1fr);
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.book-info__row:last-child {
  border-bottom: none;
}

.book-info__row dt {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  min-width: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--maroon);
}

.book-info__row dt i {
  font-size: 1rem;
  width: 1.25rem;
  min-width: 1.25rem;
  flex-shrink: 0;
  text-align: center;
  line-height: 1;
  color: var(--white);
  opacity: 0.9;
}

.book-info__row dd {
  margin: 0;
  min-width: 0;
  font-weight: 600;
  text-align: left;
  color: rgba(255, 255, 255, 0.92);
}

.book-info__row[data-animate] {
  transition-delay: calc(var(--stagger, 0) * 0.1s);
}

.book-buy-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

@media (min-width: 721px) {
  .book-buy-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
  }
}

.book-buy-buttons[data-animate] .btn-buy {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s;
}

.book-buy-buttons[data-animate].is-visible .btn-buy {
  opacity: 1;
  transform: translateY(0);
}

.book-buy-buttons[data-animate].is-visible .btn-buy:nth-child(1) {
  transition-delay: 0.08s;
}

.book-buy-buttons[data-animate].is-visible .btn-buy:nth-child(2) {
  transition-delay: 0.2s;
}

.btn-buy {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  min-width: 0;
  padding: 0.62rem 0.75rem;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.72rem, 1.75vw, 0.84rem);
  letter-spacing: 0.02em;
  text-transform: none;
  color: #111827;
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.28);
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

@media (min-width: 721px) {
  .btn-buy {
    padding: 0.68rem 0.82rem;
    justify-content: center;
    text-align: center;
  }

  .btn-buy > span:last-child {
    flex: 1;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .btn-buy {
    width: 100%;
  }
}

.btn-buy:hover {
  transform: scale(1.045) translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.btn-buy--amazon:hover {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.btn-buy--ku:hover {
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.btn-buy:active {
  transform: scale(1.01) translateY(-1px);
  transition-duration: 0.12s;
}

.btn-buy:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

.btn-buy__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 5.75rem;
  min-height: 2.65rem;
  max-height: 3.25rem;
  padding: 0.12rem 0.28rem;
}

.btn-buy__logo img {
  width: auto;
  height: auto;
  max-width: min(9.5rem, 38vw);
  max-height: 2.85rem;
  min-height: 2.1rem;
  object-fit: contain;
  object-position: center;
}

.btn-buy--amazon {
  background: #ff9900;
  color: #111827;
  border-color: rgba(0, 0, 0, 0.1);
}

.btn-buy--ku {
  background: #ffffff;
  color: #111827;
  border-color: rgba(0, 0, 0, 0.14);
}

.book-meta .prose-lead {
  font-size: clamp(0.95rem, 2.4vw, 1.08rem);
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  body.book-page .page-hero::before,
  .book-cover,
  .book-cover img,
  body.book-page .page-hero h1,
  body.book-page .page-hero > .wrap > p {
    animation: none;
  }

  .book-cover {
    transform: none;
  }

  .book-buy-buttons[data-animate] .btn-buy {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .book-buy-buttons[data-animate].is-visible .btn-buy:nth-child(1),
  .book-buy-buttons[data-animate].is-visible .btn-buy:nth-child(2) {
    transition-delay: 0s;
  }

  body.book-page .book-buy-buttons[data-animate] .btn-buy {
    transition: box-shadow 0.25s ease;
  }

  body.book-page .btn-buy:hover,
  body.book-page .btn-buy:active {
    transform: none;
  }
}

/* ----- Merch / product grid ----- */
.section--merch-products {
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid rgba(128, 0, 0, 0.25);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(128, 0, 0, 0.55);
}

.product-card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.product-card:hover .product-card__img img {
  transform: scale(1.06);
}

.product-card__img--carousel {
  padding: 0;
}

.product-card:hover .product-card__img--carousel img {
  transform: none;
}

.product-carousel {
  height: 100%;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(128, 0, 0, 0.5) rgba(0, 0, 0, 0.2);
  outline: none;
}

.product-carousel:focus-visible {
  box-shadow: inset 0 0 0 2px var(--maroon);
}

.product-carousel__track {
  display: flex;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.product-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  transition: background 0.2s var(--ease-out), opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.product-carousel__arrow:hover:not(:disabled) {
  background: rgba(128, 0, 0, 0.88);
}

.product-carousel__arrow:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.product-carousel__arrow:active:not(:disabled) {
  transform: translateY(-50%) scale(0.96);
}

.product-carousel__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.product-carousel__arrow--prev {
  left: 0.45rem;
}

.product-carousel__arrow--next {
  right: 0.45rem;
}

.product-carousel__arrow-icon {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.product-carousel__hint {
  position: absolute;
  left: 50%;
  bottom: 0.5rem;
  transform: translateX(-50%);
  padding: 0.35rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.72);
  border-radius: 2px;
  pointer-events: none;
  white-space: nowrap;
  z-index: 2;
}

.product-card__body {
  padding: 1.25rem;
}

.product-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}

.product-card__body .price {
  color: var(--maroon);
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.product-card__body p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ----- Scroll animations ----- */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(var(--stagger, 0) * 0.09s);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__grid,
  .cta-band {
    animation: none;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pillar:hover,
  .product-card:hover,
  .split:hover .split__img img {
    transform: none;
  }

  .section-head__icon {
    animation: none;
  }

  .home-page .stat:hover .stat__icon,
  .timeline--icons li:hover .timeline__icon,
  .role-badges li:hover {
    transform: none;
  }

  .pillar:hover .pillar__icon {
    transform: none;
  }

  .product-carousel {
    scroll-behavior: auto;
  }
}
