:root {
  --ink: #080a0c;
  --panel: #101418;
  --panel-soft: #171b20;
  --gold: #c8892e;
  --gold-light: #e0b15f;
  --ivory: #f3eee4;
  --muted: #b8afa3;
  --line: rgba(224, 177, 95, 0.28);
  --steel: #6f7d86;
  --wine: #5b2523;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ivory);
  background: var(--ink);
  line-height: 1.5;
}

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

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px clamp(20px, 4vw, 52px);
  background: rgba(8, 10, 12, 0.78);
  border-bottom: 1px solid rgba(224, 177, 95, 0.18);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 168px;
  height: auto;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(243, 238, 228, 0.82);
  font-size: 0.92rem;
}

.nav-actions a {
  white-space: nowrap;
}

.nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: #111;
  background: var(--gold-light);
  border-radius: 6px;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 132px clamp(20px, 6vw, 82px) 54px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("assets/andrea-con-libro.jpg");
  background-size: cover;
  background-position: 68% center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 10, 12, 0.98) 0%, rgba(8, 10, 12, 0.86) 38%, rgba(8, 10, 12, 0.52) 68%, rgba(8, 10, 12, 0.72) 100%),
    linear-gradient(180deg, rgba(8, 10, 12, 0.2), rgba(8, 10, 12, 0.92));
}

.hero-content {
  width: min(720px, 100%);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 8vw, 6.9rem);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.subtitle {
  max-width: 610px;
  margin-bottom: 18px;
  color: rgba(243, 238, 228, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.38rem);
}

.claim {
  margin-bottom: 28px;
  color: rgba(243, 238, 228, 0.8);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-style: italic;
}

.claim span {
  color: var(--gold-light);
}

.hero-actions,
.final-actions,
.author-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button.primary {
  color: #111;
  background: var(--gold-light);
  border-color: var(--gold-light);
}

.button.secondary {
  color: var(--ivory);
  background: rgba(243, 238, 228, 0.06);
  border-color: rgba(243, 238, 228, 0.34);
}

.button.secondary.dark {
  color: #111;
  background: #f1e5cf;
  border-color: #f1e5cf;
}

.button.text-link {
  min-height: 48px;
  padding: 0 4px;
  border: 0;
  color: var(--gold-light);
}

.button.large {
  min-width: 240px;
}

.release-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(720px, 100%);
  margin: 42px 0 0;
  border: 1px solid var(--line);
  background: var(--line);
}

.release-strip div {
  padding: 16px 18px;
  background: rgba(8, 10, 12, 0.72);
}

.release-strip dt {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.release-strip dd {
  margin: 3px 0 0;
  color: var(--ivory);
  font-weight: 800;
}

.band {
  background: var(--ivory);
  color: #111;
}

.band-dark {
  background: #0c0f12;
}

.intro,
.method,
.book-focus,
.audience,
.author,
.final-cta {
  padding: clamp(74px, 10vw, 126px) 0;
}

.intro-grid,
.book-grid,
.author-grid,
.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.intro .section-label,
.author .section-label {
  color: var(--wine);
}

.intro-copy {
  color: #38322c;
  font-size: 1.08rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading.compact {
  max-width: 640px;
}

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

.method-grid article,
.audience-grid article {
  min-height: 214px;
  padding: 24px;
  background: var(--panel-soft);
  border: 1px solid rgba(224, 177, 95, 0.18);
  border-radius: 8px;
}

.method-grid span {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
}

.method-grid p,
.audience-grid p,
.book-copy p,
.final-cta p {
  color: rgba(243, 238, 228, 0.74);
}

.cover-wrap {
  justify-self: center;
  width: min(340px, 82vw);
  padding: 12px;
  border: 1px solid var(--line);
  background: #050607;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}

.cover-wrap img {
  width: 100%;
}

.book-copy {
  max-width: 640px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: rgba(243, 238, 228, 0.84);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border: 2px solid var(--gold-light);
  transform: rotate(45deg);
}

.audience {
  background: #11161b;
}

.audience-grid article {
  background: #f1e5cf;
  color: #15110d;
  border-color: transparent;
}

.audience-grid p {
  color: #3c342c;
}

.author-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.author-copy p {
  color: #342d27;
  font-size: 1.05rem;
}

.author-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 52% center;
  border-radius: 8px;
  border: 1px solid rgba(91, 37, 35, 0.22);
}

.final-cta {
  background: #080a0c;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.final-grid {
  grid-template-columns: minmax(0, 1fr) auto;
}

.final-actions {
  justify-content: flex-end;
}

.site-footer {
  padding: 30px 0;
  background: #050607;
  color: rgba(243, 238, 228, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 20px;
  align-items: center;
}

.footer-grid img {
  width: 160px;
}

.footer-grid p {
  margin: 0;
}

.footer-grid a {
  color: var(--gold-light);
}

@media (max-width: 920px) {
  .site-header {
    position: absolute;
  }

  .nav-actions a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding-top: 112px;
  }

  .hero-bg {
    background-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 10, 12, 0.98) 0%, rgba(8, 10, 12, 0.82) 58%, rgba(8, 10, 12, 0.46) 100%),
      linear-gradient(180deg, rgba(8, 10, 12, 0.16), rgba(8, 10, 12, 0.94));
  }

  .intro-grid,
  .book-grid,
  .author-grid,
  .final-grid {
    grid-template-columns: 1fr;
  }

  .method-grid,
  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }

  .final-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    min-height: 64px;
    padding: 10px 14px;
  }

  .brand img {
    width: 132px;
  }

  .nav-cta {
    min-height: 38px;
    padding: 0 14px;
  }

  .hero {
    min-height: 100svh;
    padding: 96px 14px 32px;
  }

  .hero-bg {
    background-position: 54% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8, 10, 12, 0.98) 0%, rgba(8, 10, 12, 0.9) 54%, rgba(8, 10, 12, 0.6) 100%),
      linear-gradient(180deg, rgba(8, 10, 12, 0.1), rgba(8, 10, 12, 0.96));
  }

  h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .hero-actions,
  .final-actions,
  .author-actions {
    flex-direction: column;
  }

  .button,
  .button.large {
    width: 100%;
  }

  .release-strip {
    grid-template-columns: 1fr;
  }

  .method-grid,
  .audience-grid {
    grid-template-columns: 1fr;
  }

  .method-grid article,
  .audience-grid article {
    min-height: 0;
  }
}
