:root {
  --ink: #17211f;
  --muted: #5c6763;
  --paper: #f7f4ee;
  --white: #fffdf8;
  --teal: #174d4a;
  --teal-soft: #d7e5e0;
  --gold: #e7b83e;
  --line: #d9d5cb;
  --shadow: 0 18px 45px rgba(17, 28, 26, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 253, 248, 0.7);
  border-radius: 8px;
  background: rgba(23, 77, 74, 0.72);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.4vw, 28px);
  font-size: 0.94rem;
  font-weight: 650;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--gold);
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 108px clamp(20px, 5vw, 72px) 64px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(12, 21, 20, 0.74) 0%, rgba(12, 21, 20, 0.54) 38%, rgba(12, 21, 20, 0.1) 70%),
    rgba(12, 21, 20, 0.16);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(4rem, 11vw, 8.75rem);
  line-height: 0.92;
}

.hero-copy {
  max-width: 58ch;
  margin: 26px 0 0;
  color: rgba(255, 253, 248, 0.92);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
}

.book-link:hover,
.book-link:focus-visible {
  transform: translateY(-1px);
}

.band {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.intro {
  padding: 28px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 28px;
}

.intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.services {
  padding: 76px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 30px;
}

h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.02;
}

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

.service-card {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card h3 {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 1.2rem;
}

.service-card p,
.book p {
  color: var(--muted);
}

.book {
  padding: 62px 0;
}

.book-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.book p {
  max-width: 680px;
  margin: 18px 0 0;
}

.book-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  padding: 12px 18px;
  font-weight: 750;
  text-decoration: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding: 22px clamp(20px, 5vw, 72px);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer a {
  color: var(--teal);
  font-weight: 700;
}

@media (max-width: 760px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    padding: 16px 18px;
  }

  .brand span:last-child {
    max-width: 10ch;
    line-height: 1.1;
  }

  .nav {
    gap: 10px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 78svh;
    padding: 112px 20px 44px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(12, 21, 20, 0.78) 0%, rgba(12, 21, 20, 0.55) 48%, rgba(12, 21, 20, 0.36) 100%),
      rgba(12, 21, 20, 0.2);
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(2.85rem, 14vw, 5.1rem);
  }

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

  .service-card {
    min-height: 168px;
  }

  .book-link {
    width: 100%;
  }
}
