:root {
  color-scheme: light;
  --bg: #f7f3ee;
  --bg-ink: #0f1b2d;
  --bg-soft: #fefcf9;
  --ink: #1b2330;
  --ink-muted: #4d5a6b;
  --accent: #0f5e7a;
  --accent-2: #d08b5b;
  --accent-3: #e7c9a9;
  --line: rgba(27, 35, 48, 0.1);
  --shadow: 0 24px 60px rgba(15, 27, 45, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1120px;
  --section-pad: clamp(64px, 8vw, 120px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
}

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

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

.bg-forms {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.bg-forms .grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(15, 27, 45, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 27, 45, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  mask-image: radial-gradient(circle at 30% 20%, rgba(0, 0, 0, 0.7), transparent 70%);
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(1px);
  opacity: 0.7;
}

.orb-a {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(16, 96, 124, 0.45), transparent 70%);
  top: -160px;
  right: -100px;
}

.orb-b {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(208, 139, 91, 0.45), transparent 70%);
  bottom: -200px;
  left: -120px;
}

.orb-c {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(231, 201, 169, 0.7), transparent 70%);
  top: 45%;
  left: 55%;
}

.container {
  width: min(var(--max-width), 92vw);
  margin: 0 auto;
}

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section.alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(247, 243, 238, 0.8);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.monogram {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  color: #fff;
  font-family: "Fraunces", serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-weight: 600;
  font-size: 1.05rem;
}

.brand-sub {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.site-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 0.95rem;
}

.site-nav a {
  padding: 8px 10px;
  border-radius: 999px;
  transition: 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(15, 94, 122, 0.12);
  color: var(--accent);
}

.site-nav .intake-only,
section.intake-only {
  display: none;
}

body.intake-mode .site-nav .intake-only {
  display: inline-flex;
}

body.intake-mode section.intake-only {
  display: block;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 40px;
}

.hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 1.1;
  margin: 12px 0 18px;
}

.eyebrow {
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--accent);
  margin: 0;
}

.lead {
  font-size: 1.1rem;
  color: var(--ink-muted);
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0 28px;
}

.btn {
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn.primary:hover {
  background: #0a4d65;
}

.btn.ghost {
  border-color: var(--line);
  color: var(--ink);
  background: #fff;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.hero-highlights .num {
  font-size: 1.4rem;
  font-weight: 700;
  display: block;
  color: var(--accent);
}

.hero-panel .card {
  padding: 28px;
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.intake-card {
  margin-top: 20px;
  padding: 28px;
  display: inline-flex;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.checklist li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  margin-right: 8px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: start;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.feature {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--line);
}

.adult-focus-box {
  max-width: 520px;
}

.feature ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.callout {
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(15, 94, 122, 0.08);
}

.adults-callout {
  margin-top: 140px;
}

.divider {
  height: 1px;
  background: var(--line);
  margin: 18px 0;
}

.stack {
  display: grid;
  gap: 16px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.pill-row span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 94, 122, 0.12);
  font-size: 0.9rem;
}

.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.testimonial {
  margin-top: 32px;
}

.testimonial blockquote {
  margin: 0;
  padding: 28px;
  background: linear-gradient(135deg, rgba(15, 94, 122, 0.15), rgba(208, 139, 91, 0.2));
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  font-size: 1rem;
}

.game {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.game-panel {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.game-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.game-status .label {
  display: block;
  color: var(--ink-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.inbox {
  background: rgba(15, 94, 122, 0.08);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  min-height: 140px;
  display: grid;
  place-items: center;
  gap: 8px;
  border: 1px dashed rgba(15, 94, 122, 0.35);
}

.paper {
  font-weight: 600;
  font-size: 1.1rem;
}

.paper-meta {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.folder-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.folder {
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 10px 12px;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
}

.folder:hover {
  border-color: var(--accent);
}

.game-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.game-notes {
  background: rgba(208, 139, 91, 0.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--line);
}

.game-notes ol {
  margin: 12px 0 0;
  padding-left: 18px;
}

.tip {
  margin-top: 16px;
  font-weight: 600;
}

.contact {
  display: grid;
  gap: 8px;
  font-size: 1.05rem;
}

.contact a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.contact a:hover,
.contact a:focus-visible {
  color: #0a4d65;
}

.about-photo {
  width: min(100%, 240px);
  float: right;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin: 0 0 16px 24px;
}

#about .container::after {
  content: "";
  display: table;
  clear: both;
}

.site-footer {
  padding: 30px 0 40px;
  color: var(--ink-muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 960px) {
  .site-nav {
    position: fixed;
    inset: 72px 16px auto 16px;
    flex-direction: column;
    background: #fff;
    padding: 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .adults-callout {
    margin-top: 0;
  }

  .about-photo {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
  }

}

@media (max-width: 700px) {
  .adult-focus-box {
    max-width: 100%;
  }

  .hero-highlights {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .brand-sub {
    font-size: 0.8rem;
  }
}
