:root {
  --ink: #151315;
  --ink-soft: #4f4848;
  --paper: #fffdf8;
  --paper-2: #f7f4ef;
  --line: #ded6cc;
  --wine: #7a1730;
  --wine-dark: #4a0f1f;
  --gold: #bd9847;
  --green: #31594a;
  --shadow: 0 20px 50px rgba(21, 19, 21, 0.16);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  background: var(--wine);
  color: #fff;
  left: 1rem;
  padding: 0.75rem 1rem;
  position: absolute;
  top: -4rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only,
.hidden {
  height: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.site-header {
  background: rgba(255, 253, 248, 0.92);
  border-bottom: 1px solid rgba(222, 214, 204, 0.75);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  min-height: 72px;
  padding: 0 1.4rem;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1.05rem;
  font-weight: 700;
  gap: 0.75rem;
}

.brand-mark {
  align-items: center;
  background: var(--wine);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--wine);
}

.nav-toggle {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: none;
  height: 42px;
  padding: 0;
  position: relative;
  width: 42px;
}

.nav-toggle-line,
.nav-toggle-line::before,
.nav-toggle-line::after {
  background: var(--ink);
  content: "";
  display: block;
  height: 2px;
  left: 11px;
  position: absolute;
  width: 18px;
}

.nav-toggle-line {
  top: 20px;
}

.nav-toggle-line::before {
  left: 0;
  top: -6px;
}

.nav-toggle-line::after {
  left: 0;
  top: 6px;
}

.hero {
  background:
    radial-gradient(circle at 82% 16%, rgba(189, 152, 71, 0.22), transparent 34%),
    linear-gradient(135deg, #171215 0%, #2b151a 52%, #151315 100%);
  color: #fff;
  min-height: calc(100vh - 72px);
  position: relative;
  overflow: hidden;
}

.hero::after {
  background: linear-gradient(180deg, transparent, rgba(21, 19, 21, 0.45));
  bottom: 0;
  content: "";
  height: 24%;
  left: 0;
  position: absolute;
  right: 0;
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  margin: 0 auto;
  max-width: var(--max);
  min-height: calc(100vh - 72px);
  padding: clamp(4rem, 8vw, 7rem) 1.4rem;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 660px;
  position: relative;
  z-index: 1;
}

.hero-inner,
.section,
.section-grid,
.site-footer {
  margin-left: auto;
  margin-right: auto;
  max-width: var(--max);
}

.eyebrow {
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 0.8rem;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.95;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.12rem, 2.1vw, 1.42rem);
  max-width: 620px;
}

.hero-note {
  color: rgba(255, 255, 255, 0.72);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.92rem;
  max-width: 560px;
}

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

.hero-book {
  border-radius: 8px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
  margin-left: auto;
  max-height: min(74vh, 620px);
  object-fit: contain;
  position: relative;
  width: min(82%, 410px);
  z-index: 2;
}

.hero-cards {
  align-items: end;
  bottom: 5%;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  left: 0;
  max-width: 320px;
  position: absolute;
  transform: rotate(-3deg);
  width: 64%;
  z-index: 3;
}

.hero-cards img {
  align-self: end;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.32);
  height: auto;
  padding: 0.22rem;
  width: 100%;
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-actions {
  margin: 2rem 0 1.25rem;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.button-primary {
  background: var(--gold);
  color: #151315;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.section-band {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.4rem;
}

.section-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.section-grid p {
  color: var(--ink-soft);
  font-size: 1.15rem;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 1.4rem;
}

.section-alt {
  background: var(--paper-2);
  box-shadow: 0 0 0 100vmax var(--paper-2);
  clip-path: inset(0 -100vmax);
}

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

.section-heading p {
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.book-layout {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.7fr);
}

.book-feature,
.book-card,
.learning-item,
.contact-form,
.contact-note {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.book-feature {
  align-items: start;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  overflow: hidden;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.book-feature img,
.book-card img {
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.book-cover {
  align-self: start;
  height: auto;
  justify-self: center;
  max-height: 370px;
  object-fit: contain;
  width: min(100%, 247px);
}

.book-feature p,
.book-card p,
.learning-item p,
.service-panel p,
.contact-grid p,
.site-footer p {
  color: var(--ink-soft);
}

.book-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 1rem;
}

.book-card img {
  max-height: 390px;
  object-fit: contain;
}

.pill {
  background: rgba(122, 23, 48, 0.1);
  border-radius: 999px;
  color: var(--wine);
  display: inline-flex;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding: 0.35rem 0.7rem;
}

.pill-muted {
  background: rgba(49, 89, 74, 0.1);
  color: var(--green);
}

.check-list {
  display: grid;
  gap: 0.55rem;
  list-style: none;
  margin: 1.25rem 0 1.5rem;
  padding: 0;
}

.check-list li {
  padding-left: 1.5rem;
  position: relative;
}

.check-list li::before {
  color: var(--wine);
  content: "\2022";
  font-size: 1.4rem;
  left: 0;
  line-height: 1;
  position: absolute;
  top: 0.14rem;
}

.learning-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.learning-item {
  padding: 1.25rem;
}

.learning-item span {
  color: var(--gold);
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.card-strip {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 2rem;
}

.card-strip img {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(21, 19, 21, 0.14);
  height: min(36vw, 360px);
  object-fit: contain;
  padding: 0.45rem;
  width: 100%;
}

.service-panel {
  align-items: center;
  background: var(--wine-dark);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.service-panel p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  margin-bottom: 0;
}

.contact-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
}

.contact-note {
  margin-top: 1.5rem;
  padding: 1.25rem;
}

.contact-form {
  display: grid;
  gap: 0.75rem;
  padding: clamp(1.2rem, 4vw, 2rem);
}

.contact-form label {
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  min-height: 46px;
  padding: 0.75rem 0.85rem;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--wine);
  outline: 3px solid rgba(122, 23, 48, 0.18);
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  padding: 2rem 1.4rem;
}

.site-footer p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  margin: 0.4rem 0 0;
}

.footer-links a {
  color: var(--wine);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

@media (max-width: 900px) {
  .hero-inner {
    gap: 2rem;
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 3.5rem;
    padding-top: 2.5rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    grid-row: 1;
    min-height: 380px;
    order: -1;
  }

  .hero-book {
    margin: 0 auto;
    max-height: 380px;
    width: min(64vw, 280px);
  }

  .hero-cards {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(-2deg);
    width: min(74vw, 320px);
  }

  .section-grid,
  .book-layout,
  .book-feature,
  .contact-grid,
  .service-panel {
    grid-template-columns: 1fr;
  }

  .book-cover {
    max-height: 360px;
    width: min(64vw, 240px);
  }

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

  .service-panel .button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 0.75rem 1.4rem 1rem;
    position: absolute;
    right: 0;
    top: 72px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 0;
    width: 100%;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5rem);
  }

  .hero-inner {
    padding-top: 1.35rem;
  }

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

  .hero-book {
    max-height: 310px;
    width: min(62vw, 230px);
  }

  .hero-cards {
    gap: 0.45rem;
    width: min(78vw, 280px);
  }

  .hero-actions .button,
  .contact-form .button {
    width: 100%;
  }

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

  .card-strip {
    grid-auto-columns: 42%;
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding-bottom: 0.4rem;
  }

  .card-strip img {
    height: 260px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
