:root {
  --ink: #14241c;
  --muted: #5c6a62;
  --cream: #f7f4ee;
  --paper: #fff;
  --line: #e4ddd0;
  --green: #123528;
  --serif: Fraunces, Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(247, 244, 238, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--green);
  color: #f4f1ea;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.92rem;
}

.nav a {
  color: var(--muted);
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--ink);
}

.header-book {
  margin-left: auto;
  flex: 0 0 auto;
  width: 9.5rem;
}

.hero {
  position: relative;
  min-height: 34rem;
  display: flex;
  align-items: flex-end;
  color: #f8f6f1;
  background:
    linear-gradient(180deg, rgba(10, 24, 18, 0.15) 20%, rgba(10, 24, 18, 0.62) 100%),
    url("images/hero.jpg") center 42% / cover no-repeat;
}

.hero-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto 6.5rem;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 14ch;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 560;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: rgba(248, 246, 241, 0.86);
  font-size: 1.05rem;
}

.hero-bar {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2.5rem));
  margin: -3.4rem auto 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(18rem, 32rem) minmax(0, 1fr);
  gap: 0;
  margin-top: 4.5rem;
  background: #efeae0;
}

.split-copy {
  padding: 3.5rem 2.5rem;
}

.split-copy h2 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 560;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.split-copy .lede {
  margin: 0.9rem 0 1.4rem;
  max-width: 34rem;
  color: var(--muted);
}

.split-photo {
  min-height: 100%;
  background: url("images/fairway.jpg") center / cover no-repeat;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.book-page {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.5rem 0 4rem;
}

.book-page h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.book-page .lede {
  margin: 0.75rem 0 1.5rem;
  max-width: 36rem;
  color: var(--muted);
}

@media (max-width: 860px) {
  .nav-quiet {
    display: none;
  }

  .hero {
    min-height: 26rem;
  }

  .hero-inner {
    margin-bottom: 5.5rem;
  }

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

  .split-photo {
    min-height: 16rem;
    order: -1;
  }

  .split-copy {
    padding: 2rem 1.25rem 2.5rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 0.75rem;
    padding-inline: 0.85rem;
  }

  .brand span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
}
