:root {
  --ink: #33251f;
  --muted: #6f5b50;
  --paper: #fffaf1;
  --panel: #fff;
  --sun: #f5b04b;
  --rust: #a9563f;
  --forest: #4c6a53;
  --line: #eadcca;
  --max: 980px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

a {
  color: #8a432f;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: #5f2d20; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255,250,241,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.nav {
  max-width: var(--max);
  margin: auto;
  padding: .8rem 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .93rem;
}

.nav-links a:hover { color: var(--ink); }

.hero {
  background:
    linear-gradient(100deg, rgba(62,35,26,.84), rgba(62,35,26,.35)),
    url("/assets/wittle-banner.png") center 55% / cover;
  min-height: 420px;
  display: grid;
  align-items: end;
  color: white;
}

.hero-inner {
  width: 100%;
  max-width: var(--max);
  margin: auto;
  padding: 5rem 1.25rem 3rem;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 .7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 1.02;
  text-wrap: balance;
}

.hero p {
  max-width: 620px;
  font-size: 1.15rem;
  margin: 0;
}

.page-hero {
  background: linear-gradient(135deg, #f8cc7a, #ed9e69);
  border-bottom: 1px solid rgba(70,40,25,.12);
}

.page-hero .wrap {
  padding-top: 3.6rem;
  padding-bottom: 3rem;
}

.page-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 6vw, 3.7rem);
  line-height: 1.1;
}

.page-hero p {
  max-width: 680px;
  margin: .65rem 0 0;
  font-size: 1.08rem;
}

.wrap {
  max-width: var(--max);
  margin: auto;
  padding: 2.4rem 1.25rem;
}

.content {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.25rem, 4vw, 2.6rem);
  box-shadow: 0 16px 45px rgba(78,48,30,.06);
}

.content h1,
.content h2,
.content h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.18;
}

.content h2 {
  margin-top: 2.4rem;
  padding-top: .35rem;
  border-top: 1px solid var(--line);
}

.content h3 { margin-top: 1.7rem; }

.content li { margin: .35rem 0; }

.content p,
.content li {
  max-width: 78ch;
}

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 12px 32px rgba(78,48,30,.05);
}

.card h2, .card h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
}

.image-card {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr);
  overflow: hidden;
  padding: 0;
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.image-card .copy {
  padding: clamp(1.35rem, 4vw, 2.5rem);
}

.callout {
  padding: 1rem 1.15rem;
  border-left: 5px solid var(--sun);
  background: #fff5df;
  border-radius: 6px;
}

.button {
  display: inline-block;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: var(--rust);
  color: white;
  text-decoration: none;
  font-weight: 700;
}

.button:hover {
  color: white;
  background: #7a3a2a;
}

.site-footer {
  margin-top: 3rem;
  background: #3e2c24;
  color: #f8ebdf;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}

.site-footer a { color: #ffe0bd; }

.small {
  font-size: .92rem;
  color: var(--muted);
}

@media (max-width: 720px) {
  .nav { align-items: flex-start; }
  .nav-links { gap: .55rem .8rem; }
  .grid { grid-template-columns: 1fr; }
  .image-card { grid-template-columns: 1fr; }
  .image-card img { max-height: 430px; min-height: 0; }
  .hero { min-height: 360px; }
}
