:root {
  --bg: #f4efe6;
  --paper: #fffdf8;
  --ink: #2a2622;
  --muted: #6b645c;
  --sage: #3f5348;
  --moss: #2c3b34;
  --line: #d9d0c2;
  --cream: #f4efe6;
  --display: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --shadow: 0 18px 40px -24px rgb(42 38 34 / 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  background: var(--bg);
  color: var(--ink);
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  text-wrap: balance;
  font-weight: 500;
}

p {
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 60;
  background: var(--paper);
  padding: 0.5rem 0.75rem;
}

.wrap {
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

@media (min-width: 640px) {
  .wrap {
    width: min(72rem, calc(100% - 4rem));
  }
}

.display {
  font-family: var(--display);
}

.eyebrow {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
}

.muted {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgb(217 208 194 / 0.8);
  background: rgb(244 239 230 / 0.9);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
}

@media (min-width: 640px) {
  .header-inner {
    height: 4.5rem;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}

.brand span {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.nav-desktop a {
  text-decoration: none;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.nav-desktop a:hover {
  background: var(--paper);
  color: var(--ink);
}

.nav-desktop a[aria-current="page"] {
  color: var(--sage);
}

.header-call {
  display: none;
}

@media (min-width: 768px) {
  .nav-desktop,
  .header-call {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

.menu-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 0.5rem;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.drawer.is-open {
  display: block;
}

.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgb(42 38 34 / 0.4);
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 20rem);
  background: var(--paper);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.125rem;
}

.drawer nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1.5rem;
}

.drawer nav a {
  text-decoration: none;
  padding: 0.75rem 0.5rem;
  font-size: 1.125rem;
  border-radius: 0.5rem;
}

.drawer nav a:hover,
.drawer nav a[aria-current="page"] {
  background: var(--bg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.6rem 1.25rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 150ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 150ms cubic-bezier(0.22, 1, 0.36, 1),
    color 150ms cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-lg {
  min-height: 3rem;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
}

.btn-sm {
  min-height: 2.25rem;
  padding: 0.4rem 0.9rem;
}

.btn-primary {
  background: var(--sage);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--moss);
}

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: rgb(63 83 72 / 0.4);
  background: var(--bg);
}

.btn-cream {
  background: var(--cream);
  color: var(--sage);
}

.btn-cream:hover {
  background: var(--bg);
}

.btn-ghost-light {
  background: transparent;
  color: var(--cream);
  border-color: rgb(244 239 230 / 0.3);
}

.btn-ghost-light:hover {
  background: var(--moss);
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--sage);
}

.hero {
  position: relative;
  min-height: 34rem;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade,
.hero-fade {
  position: absolute;
  inset: 0;
}

.hero-shade {
  background: rgb(42 38 34 / 0.45);
}

.hero-fade {
  background: linear-gradient(
    to top,
    rgb(42 38 34 / 0.8),
    rgb(42 38 34 / 0.2),
    rgb(42 38 34 / 0.1)
  );
}

.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 34rem;
  padding: 6rem 0 3rem;
}

.hero-copy .eyebrow {
  color: rgb(244 239 230 / 0.8);
}

.hero-copy h1 {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--cream);
}

.hero-copy p {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgb(244 239 230 / 0.85);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .hero,
  .hero-copy {
    min-height: 40rem;
  }
}

@media (min-width: 1024px) {
  .hero,
  .hero-copy {
    min-height: 46rem;
  }
}

.section {
  padding: 4rem 0;
}

.page-intro {
  padding: 3.5rem 0 5rem;
}

.page-intro h1 {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.1;
}

.page-intro p {
  margin: 1.5rem 0 0;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.feature h2,
.card h2 {
  margin: 1rem 0 0;
  font-size: 1.5rem;
}

.feature p,
.card p,
.prose p {
  margin: 0.5rem 0 0;
  line-height: 1.7;
  color: var(--muted);
}

.band {
  border-block: 1px solid var(--line);
  background: var(--paper);
}

.band h2 {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  line-height: 1.2;
}

.band p {
  margin: 1rem 0 0;
  max-width: 42rem;
  line-height: 1.7;
  color: var(--muted);
}

.reviews h2 {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  font-size: clamp(1.875rem, 3vw, 2.25rem);
}

.quotes {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .quotes {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

blockquote {
  margin: 0;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--paper);
}

blockquote p {
  margin: 0;
  font-family: var(--display);
  font-size: 1.125rem;
  line-height: 1.4;
}

blockquote footer {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.cta {
  background: var(--sage);
  color: var(--cream);
  border-radius: 0.75rem;
  padding: 2.5rem 1.5rem;
}

@media (min-width: 640px) {
  .cta {
    padding: 2.5rem;
  }

  .cta-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
  }
}

.cta h2 {
  margin: 0;
  font-size: 1.875rem;
}

.cta p {
  margin: 0.75rem 0 0;
  max-width: 28rem;
  line-height: 1.7;
  color: rgb(244 239 230 / 0.8);
}

.card {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.card h2 {
  margin: 0;
}

.list {
  margin: 1.25rem 0 0;
  padding: 0;
  max-width: 42rem;
  list-style: none;
}

.list li {
  padding: 0.4rem 0;
  line-height: 1.7;
  color: var(--muted);
}

.map {
  width: 100%;
  height: 20rem;
  border: 0;
  filter: grayscale(1);
  display: block;
}

@media (min-width: 640px) {
  .map {
    height: 28rem;
  }
}

.landscape {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border-radius: 0.75rem;
}

@media (min-width: 640px) {
  .landscape {
    height: 20rem;
  }
}

.book-grid {
  display: grid;
  gap: 3rem;
  padding: 3.5rem 0 5rem;
}

@media (min-width: 1024px) {
  .book-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }
}

.rows {
  margin-top: 2.5rem;
}

.row {
  display: grid;
  gap: 0.25rem;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  margin-top: 1.25rem;
}

@media (min-width: 640px) {
  .row {
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 1.5rem;
  }
}

.row dt {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.row dd {
  margin: 0;
  line-height: 1.6;
}

.row a {
  text-decoration: none;
}

.row a:hover {
  color: var(--sage);
}

.form,
.thanks {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 0.75rem;
  padding: 1.25rem;
}

@media (min-width: 640px) {
  .form,
  .thanks {
    padding: 2rem;
  }
}

.form-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .span-2 {
    grid-column: span 2;
  }
}

.field {
  display: grid;
  gap: 0.5rem;
}

.field label {
  font-size: 0.875rem;
  font-weight: 500;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0.7rem 0.85rem;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.form .hint {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted);
}

.thanks {
  display: none;
}

.form.is-hidden {
  display: none;
}

.thanks.is-visible {
  display: block;
}

.site-footer {
  background: var(--moss);
  color: var(--cream);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 0;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.site-footer .brand span {
  color: var(--cream);
}

.site-footer p,
.site-footer address {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgb(244 239 230 / 0.75);
  font-style: normal;
}

.site-footer h3 {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(244 239 230 / 0.55);
}

.site-footer ul {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.5rem;
}

.site-footer a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.875rem;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 1.5rem;
}

.footer-nav a {
  color: rgb(244 239 230 / 0.75);
}

.footer-copy {
  border-top: 1px solid rgb(244 239 230 / 0.1);
}

.footer-copy p {
  margin: 0;
  padding: 1.25rem 0;
  font-size: 0.75rem;
  color: rgb(244 239 230 / 0.5);
}

body.is-locked {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
