/* Nutrition By Jessi — colors and fonts carried over from the Squarespace theme */
:root {
  --cream: #ebe5da;
  --light: #ebede6;
  --ink: #2d2d2a;
  --teal: #7fb2ae;
  --teal-dark: #5e938f;
  --slate: #8798a9;
  --white: #ffffff;
  --heading: "Young Serif", Georgia, serif;
  --body: "Bitter", Georgia, serif;
  --max: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--heading);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }

p { margin: 0 0 1em; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid rgba(45, 45, 42, 0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
  flex-wrap: wrap;
}
.logo img { height: 64px; width: auto; }
.nav { display: flex; gap: 28px; flex-wrap: wrap; }
.nav a {
  text-decoration: none;
  font-size: 1rem;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a[aria-current="page"] { border-bottom-color: var(--teal); }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--teal);
  color: #000;
  text-decoration: none;
  font-family: var(--body);
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 4px;
  transition: background 0.2s;
}
.btn:hover { background: var(--teal-dark); color: var(--white); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--ink);
  padding: 12px 28px;
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* Sections */
section { padding: 88px 0; }
.section-light { background: var(--light); }
.section-slate { background: var(--slate); color: var(--white); }

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background: url("/images/hero.jpg") center / cover no-repeat;
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 30, 28, 0.45);
}
.hero .wrap { position: relative; }
.hero-text { max-width: 640px; }
.hero p { font-size: 1.2rem; margin-bottom: 1.6em; }

/* Two-column layout */
.split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1fr 1.2fr; }
.split img { border-radius: 6px; width: 100%; object-fit: cover; }

ul.ticks { padding-left: 1.2em; margin: 0 0 1.2em; }
ul.ticks li { margin-bottom: 0.3em; }

/* Services */
.rates {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 24px 0 32px;
}
.rate {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  padding: 18px 24px;
  min-width: 220px;
}
.rate strong { display: block; font-family: var(--heading); font-weight: 400; font-size: 1.3rem; }
.section-slate .btn { background: var(--white); }
.section-slate .btn:hover { background: var(--ink); }

/* Shop */
.book {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}
.book-cover img { border-radius: 4px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18); }
.formats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.format {
  background: var(--white);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.format h3 { margin: 0; }
.format p { margin: 0 0 12px; font-size: 0.95rem; }
.format .btn { margin-top: auto; text-align: center; }

/* Contact */
.contact-card {
  background: var(--white);
  border-radius: 6px;
  padding: 40px;
  max-width: 640px;
}
.contact-card .btn { margin: 8px 12px 8px 0; }
.email-line { font-size: 1.15rem; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 48px 0;
  font-size: 0.95rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.site-footer a { color: var(--cream); }
.footer-links { display: flex; gap: 24px; }

@media (max-width: 800px) {
  section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .split, .split.reverse, .book { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-img { order: 2; }
  .book-cover { max-width: 280px; }
  .formats { grid-template-columns: 1fr; }
  .logo img { height: 52px; }
  .nav { gap: 20px; }
  .hero { min-height: 64vh; }
  .contact-card { padding: 28px 20px; }
}

/* Privacy policy */
.policy { max-width: 780px; }
.policy h3 { margin-top: 1.6em; }
.policy ul { padding-left: 1.2em; margin: 0 0 1em; }
