:root {
  color-scheme: dark;
  --bg: #0f1012;
  --panel: #181a1f;
  --panel-strong: #22252b;
  --ink: #f4efe6;
  --muted: #b8b0a3;
  --line: rgba(244, 239, 230, 0.14);
  --gold: #d9a441;
  --teal: #55b7b2;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(15, 16, 18, 0.86), rgba(15, 16, 18, 0.92)),
    url("../images/Dort_Labelsv2.jpg") center top / cover fixed,
    radial-gradient(circle at top left, rgba(85, 183, 178, 0.16), transparent 34rem),
    radial-gradient(circle at 85% 8%, rgba(217, 164, 65, 0.13), transparent 26rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(16px);
}

.brand,
.site-nav,
.hero-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 2px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
}

.site-nav {
  gap: 8px;
}

.site-nav a {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--gold);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100svh - 86px);
  margin: 0 auto;
  padding: 44px 0 70px;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow,
.book-type {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.98;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.7rem);
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
}

h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-text,
.section-heading p,
.book-copy p,
.about-card p,
.contact-panel p:not(.contact-address) {
  color: var(--muted);
}

.hero-text {
  max-width: 620px;
  margin-bottom: 28px;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.text-link {
  min-height: 44px;
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 800;
}

.button.primary {
  border-color: transparent;
  background: var(--gold);
  color: #1b1307;
}

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

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

.hero-showcase {
  position: relative;
  min-height: 560px;
}

.cover {
  position: absolute;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #050506;
  box-shadow: var(--shadow);
  object-fit: cover;
}

.cover-main {
  right: 7%;
  bottom: 6%;
  width: min(390px, 80%);
  z-index: 3;
}

.cover-top {
  top: 4%;
  left: 0;
  width: min(310px, 62%);
  z-index: 2;
}

.cover-bottom {
  right: 0;
  top: 42%;
  width: min(285px, 58%);
  z-index: 1;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 78px 0;
}

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

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

.book-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(24, 26, 31, 0.86);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.book-card.featured {
  grid-column: span 2;
  flex-direction: row;
}

.book-image {
  display: block;
  background: #050506;
}

.book-card:not(.featured) .book-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.book-card.featured .book-image {
  flex: 0 0 48%;
}

.book-card.featured .book-image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.book-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.book-copy p {
  margin-bottom: 18px;
}

.book-copy .text-link {
  margin-top: auto;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--gold);
  font-weight: 800;
}

.text-link::after {
  content: ">";
  margin-left: 8px;
  color: var(--teal);
}

.about-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(34, 37, 43, 0.92), rgba(19, 20, 23, 0.9));
  box-shadow: var(--shadow);
}

.about-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: clamp(22px, 4vw, 42px);
}

.about-card img {
  width: 220px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.about-card h2,
.contact-panel h2 {
  max-width: 820px;
  font-size: clamp(2rem, 3.5vw, 3.6rem);
}

.contact-panel {
  padding: clamp(28px, 5vw, 56px);
}

.contact-panel .button {
  margin-top: 10px;
}

.contact-address {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  min-height: 44px;
  margin: 10px 0 0;
  border-radius: 8px;
  background: var(--gold);
  padding: 11px 18px;
  color: #1b1307;
  font-weight: 800;
}

.contact-address span {
  user-select: text;
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 34px;
  }

  .hero-showcase {
    min-height: 470px;
  }

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

  .book-card.featured {
    grid-column: span 2;
  }
}

@media (max-width: 700px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav a {
    padding-left: 0;
  }

  .hero {
    padding-bottom: 42px;
  }

  .hero-showcase {
    min-height: 390px;
  }

  .cover-main {
    right: 0;
    width: 74%;
  }

  .cover-top {
    width: 58%;
  }

  .cover-bottom {
    width: 52%;
  }

  .section {
    padding: 54px 0;
  }

  .book-grid,
  .book-card.featured,
  .about-card {
    display: block;
  }

  .book-card.featured {
    grid-column: auto;
  }

  .book-card.featured .book-image img {
    min-height: auto;
    aspect-ratio: 3 / 2;
  }

  .book-card + .book-card {
    margin-top: 16px;
  }

  .about-card img {
    width: 140px;
    margin-bottom: 22px;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 2.62rem;
  }

  .hero-showcase {
    min-height: 320px;
  }

  .button {
    width: 100%;
  }
}
