:root {
  --paper: #f3efe6;
  --paper-2: #e7e0d2;
  --ink: #1a2330;
  --muted: #5c6570;
  --teal: #0e6b66;
  --teal-dark: #0a3f3c;
  --coral: #c45c38;
  --line: rgba(26, 35, 48, 0.12);
  --night: #122028;
  --cream: #f7f3ea;
  --shadow: 0 18px 50px rgba(26, 35, 48, 0.08);
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
a:hover { color: var(--coral); }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(1120px, calc(100% - 2.4rem)); margin: 0 auto; }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.8rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
}
.brand { text-decoration: none; color: var(--ink); }
.brand strong {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 620;
  display: block;
  line-height: 1;
}
.brand span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font: inherit;
  cursor: pointer;
}
.nav { display: flex; gap: 0.2rem 1.05rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.98rem;
}
.nav a[aria-current="page"] { color: var(--teal); font-weight: 600; }
.nav .nav-cta {
  background: var(--teal);
  color: white;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}
.nav .nav-cta:hover { background: var(--teal-dark); color: white; }

.hero {
  display: grid;
  grid-template-columns: minmax(280px, 40rem) 1fr;
  min-height: calc(100vh - 4.4rem);
  background: var(--paper);
}
.hero-copy {
  padding: clamp(2rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy .lead { font-size: 1.2rem; color: var(--ink); max-width: 38rem; }
.hero-photo { min-height: 28rem; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 28rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.btn {
  display: inline-block;
  text-decoration: none;
  background: var(--teal);
  color: white;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
}
.btn:hover { background: var(--teal-dark); color: white; }
.btn-line {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(26, 35, 48, 0.28);
}
.btn-line:hover { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-light { background: var(--cream); color: var(--night); }
.btn-light:hover { background: white; color: var(--night); }

.section { padding: 4.5rem 0; }
.section-muted { background: #efeae0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.split h2 { margin-top: 0; }
.kicker { color: var(--coral); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.35rem; }

.learnnet {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--night);
  color: var(--cream);
  min-height: 28rem;
}
.learnnet a { color: #f0c7b6; }
.learnnet-copy {
  padding: clamp(2rem, 5vw, 4.2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.learnnet .eyebrow { color: #e7b199; }
.learnnet p { color: #e6e0d4; max-width: 38rem; }
.learnnet img { width: 100%; height: 100%; object-fit: cover; min-height: 22rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.card:hover { color: inherit; transform: translateY(-2px); }
.card img { height: 210px; width: 100%; object-fit: cover; }
.card div { padding: 1.15rem 1.2rem 1.35rem; }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--muted); margin: 0; font-size: 1.02rem; }

.page-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: end;
  padding: 2.5rem 0 1rem;
}
.page-hero img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 18px;
}
.prose { max-width: 44rem; }
.prose h2 { margin-top: 2rem; }
.note {
  background: white;
  border-left: 4px solid var(--teal);
  padding: 1rem 1.15rem;
  border-radius: 0 12px 12px 0;
}

.band {
  background: var(--teal-dark);
  color: var(--cream);
  padding: 2.2rem 0;
}
.band .wrap { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; }
.band p { margin: 0; max-width: 40rem; }
.band a { color: #f3d2c4; }

.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; }
.contact-card {
  background: white;
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}
.contact-card a { display: block; margin: 0.35rem 0; font-weight: 600; text-decoration: none; }

.site-footer {
  background: var(--night);
  color: #d9d3c7;
  padding: 2.6rem 0 2rem;
  font-size: 0.98rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.5rem; }
.site-footer a { color: #f0e6d8; text-decoration: none; }
.site-footer a:hover { color: white; }
.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.site-footer p { margin: 0 0 0.35rem; }
.legal { margin-top: 1.6rem; color: #9aa3ab; font-size: 0.9rem; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    top: 4.4rem;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.2rem 1.1rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .nav.is-open { display: flex; }
  .hero, .learnnet, .split, .cards, .page-hero, .contact-grid, .footer-grid, .band .wrap {
    grid-template-columns: 1fr;
    display: grid;
  }
  .band .wrap { display: grid; }
  .hero { min-height: 0; }
  .hero-photo { order: -1; }
  .hero-photo img { min-height: 16rem; max-height: 22rem; }
  .cards { grid-template-columns: 1fr; }
}
