:root {
  --burgund: #641c2a;
  --burgund-dark: #2b0d13;
  --ink: #182327;
  --petrol: #174b55;
  --paper: #f5f0e8;
  --cream: #fffaf2;
  --copper: #c98758;
  --line: rgba(43, 13, 19, .15);
}

body {
  background: var(--paper);
  color: var(--ink);
}

.hero {
  min-height: 760px;
  display: block;
  background:
    linear-gradient(90deg, rgba(26, 7, 11, .92) 0%, rgba(45, 11, 17, .82) 42%, rgba(14, 37, 43, .2) 72%),
    url("hero-mallorca.jpg") 62% center / cover no-repeat;
}

.hero::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .34) 0, transparent 28%, rgba(0, 0, 0, .22) 100%);
}

.topbar {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid rgba(255,255,255,.22);
  background: rgba(24, 7, 10, .2);
  backdrop-filter: blur(10px);
}

.topbar-inner {
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 17px;
  color: #fff;
  text-decoration: none;
}

.wordmark img {
  width: 62px;
  padding: 4px;
  background: rgba(255,255,255,.96);
}

.wordmark-text {
  display: grid;
  gap: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  letter-spacing: .025em;
}

.wordmark-text small {
  color: rgba(255,255,255,.58);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  color: rgba(255,255,255,.82);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
}

.hero-grid {
  min-height: 662px;
  padding-block: 92px 108px;
}

.brand-panel {
  display: none;
}

.hero-heading {
  position: relative;
  padding-left: 28px;
}

.hero-heading::before {
  position: absolute;
  inset: 2px auto 2px 0;
  width: 2px;
  background: var(--copper);
  content: "";
}

.hero-heading h1 {
  max-width: 760px;
  font-size: clamp(4rem, 6.2vw, 6.6rem);
  letter-spacing: -.052em;
}

.hero .lead {
  max-width: 610px;
  padding-left: 30px;
  color: rgba(255,255,255,.82);
}

.hero-actions {
  padding-left: 30px;
}

.cta {
  min-height: 56px;
  border-color: rgba(255,255,255,.46);
  letter-spacing: .15em;
}

.cta::after {
  margin-left: 16px;
  content: "→";
  font-size: 1rem;
}

.program {
  position: relative;
  padding: 135px 0 150px;
  background:
    linear-gradient(90deg, transparent 0 49.9%, rgba(104,22,36,.07) 50%, transparent 50.1%),
    var(--paper);
}

.section-head {
  align-items: start;
  margin-bottom: 92px;
}

.section-head h2 {
  max-width: 700px;
  color: var(--burgund-dark);
  font-size: clamp(3rem, 5.3vw, 5rem);
}

.section-head > p {
  padding-top: 38px;
  border-top: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
}

.books {
  gap: clamp(55px, 8vw, 112px);
}

.book {
  gap: 46px;
  padding: 0;
  border: 0;
}

.book:nth-child(2) {
  padding-top: 100px;
}

.cover-shell {
  width: min(84%, 430px);
}

.cover-shell::before {
  inset: 5% -10% -6% 9%;
  background: var(--burgund);
  opacity: .11;
}

.book:nth-child(2) .cover-shell::before {
  background: var(--petrol);
}

.cover {
  box-shadow: 0 30px 75px rgba(28, 19, 16, .22);
  transition: transform .35s ease, box-shadow .35s ease;
}

.book:hover .cover {
  transform: translateY(-7px);
  box-shadow: 0 38px 82px rgba(28, 19, 16, .28);
}

.release {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--burgund);
}

.book h3 {
  font-size: clamp(2.3rem, 3.5vw, 3.5rem);
}

.book .copy {
  font-size: 1.1rem;
  line-height: 1.75;
}

.text-link {
  color: var(--burgund);
  letter-spacing: .03em;
}

.about {
  position: relative;
  padding: 125px 0;
  background:
    radial-gradient(circle at 80% 25%, rgba(201,135,88,.22), transparent 20rem),
    var(--burgund-dark);
  overflow: hidden;
}

.about::after {
  position: absolute;
  right: -8vw;
  bottom: -26vw;
  width: 50vw;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  content: "";
}

.about h2 {
  max-width: 760px;
  font-size: clamp(3rem, 4.8vw, 5rem);
}

.about p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  line-height: 1.8;
}

footer {
  padding: 46px 0;
  background: #e9e1d5;
}

@media (max-width: 760px) {
  .topbar-inner {
    min-height: 80px;
  }

  .wordmark img {
    width: 50px;
  }

  .wordmark-text {
    font-size: 1rem;
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav a:not(:last-child) {
    display: none;
  }

  .hero {
    min-height: 0;
    background-position: 66% center;
  }

  .hero-grid {
    min-height: 600px;
    padding-block: 72px 82px;
  }

  .hero-heading {
    padding-left: 19px;
  }

  .hero-heading h1 {
    max-width: 10.4em;
    font-size: clamp(3rem, 13vw, 4.2rem);
  }

  .hero .lead,
  .hero-actions {
    padding-left: 21px;
  }

  .program {
    padding: 90px 0 105px;
    background: var(--paper);
  }

  .section-head > p {
    padding-top: 24px;
  }

  .book:nth-child(2) {
    padding-top: 34px;
  }

  .about {
    padding: 90px 0;
  }
}
