:root{--dark:#1E3B2F;--dark2:#2C5242;--accent:#A8431F;--highlight:#E0B36A;--paper:#F3EBDD;--ink:#1B1A17;--card:#FFFFFF;--fieldBorder:#6F6A60;--muted:#57524A;--rule:#4E7A64}
/*
  Camp Dads site styles. Source file: tools/styles.css.
  The build prepends a :root block with the brand palette from brands/<id>.json,
  so colors are never hard-coded here.

  Mobile first: base rules target a 390px phone. Breakpoints are 768px and 1200px.
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 18px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

body.menu-open {
  overflow: hidden;
}

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

h1,
h2,
h3,
p,
blockquote,
figure {
  margin: 0;
}

a {
  color: inherit;
}

/* Visible focus ring on every interactive element. The double ring reads on
   both dark and light grounds. */
:focus-visible {
  outline: 3px solid var(--highlight);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--ink);
  border-radius: 6px;
}

.on-light :focus-visible,
.card :focus-visible,
.form-card :focus-visible {
  outline-color: var(--accent);
  box-shadow: 0 0 0 6px var(--card);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 10px;
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Section frame. Padding grows with the viewport and content is capped at
   1248px so very wide screens keep the desktop composition. */
.section {
  --pad-x: 20px;
  padding-left: max(var(--pad-x), calc((100% - 1248px) / 2));
  padding-right: max(var(--pad-x), calc((100% - 1248px) / 2));
  /* Anchors land just under the sticky header. The script measures the real
     header height into --header-h; the number is the no-script fallback. */
  scroll-margin-top: var(--header-h, 72px);
}

.ground-dark {
  background: var(--dark);
  color: var(--paper);
}

.ground-dark2 {
  background: var(--dark2);
  color: var(--paper);
}

.ground-paper {
  background: var(--paper);
  color: var(--ink);
}

.ground-highlight {
  background: var(--highlight);
  color: var(--ink);
}

/* Type */
.eyebrow {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.ground-dark .eyebrow,
.ground-dark2 .eyebrow {
  color: var(--highlight);
}

.ground-paper .eyebrow {
  color: var(--accent);
}

.h1,
.h2,
.h3 {
  font-family: "Alfa Slab One", Georgia, serif;
  font-weight: 400;
}

.h1 {
  font-size: 36px;
  line-height: 1.08;
}

.h2 {
  font-size: 30px;
  line-height: 1.1;
}

.ground-paper .h2 {
  color: var(--dark);
}

.h3 {
  font-size: 28px;
  /* Matches the mockups, which use the font's normal line height (about 1.36). */
  line-height: 1.36;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Buttons */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 1.1;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--card);
}

.btn-outline {
  background: transparent;
  border-color: var(--highlight);
  color: var(--paper);
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--dark);
  padding-top: 12px;
  padding-bottom: 12px;
}

.site-header .section {
  padding-top: 0;
  padding-bottom: 0;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  color: var(--paper);
  text-decoration: none;
}

.brand-link svg {
  width: 40px;
  height: 40px;
  flex: none;
}

.wordmark {
  font-family: "Alfa Slab One", Georgia, serif;
  font-size: 22px;
  line-height: 1;
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 2px solid var(--highlight);
  border-radius: 12px;
  color: var(--paper);
  cursor: pointer;
}

.menu-toggle .bars {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle .bars span {
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 2px;
  background: var(--paper);
}

.menu-toggle .close {
  display: none;
  font-family: "Alfa Slab One", Georgia, serif;
  font-size: 26px;
  line-height: 1;
}

.menu-toggle[aria-expanded="true"] .bars {
  display: none;
}

.menu-toggle[aria-expanded="true"] .close {
  display: block;
}

.desktop-nav {
  display: none;
}

/* Phone menu drawer: full height under the sticky header. */
.menu-drawer {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h, 72px);
  bottom: 0;
  z-index: 49;
  overflow-y: auto;
  background: var(--dark);
  color: var(--paper);
  padding: 16px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.menu-drawer[hidden] {
  display: none;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
}

.drawer-nav a {
  display: flex;
  align-items: center;
  min-height: 60px;
  border-bottom: 1px solid var(--rule);
  font-family: "Alfa Slab One", Georgia, serif;
  font-size: 26px;
  color: var(--paper);
  text-decoration: none;
}

.drawer-offer {
  font-size: 17px;
  line-height: 1.5;
}

/* Hero */
.hero {
  padding-top: 28px;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.hero-body {
  max-width: 640px;
}

.offer {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: 1px;
  color: var(--highlight);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-badge {
  display: flex;
  justify-content: center;
}

.hero-badge svg {
  width: 200px;
  height: 200px;
}

/* Three legs */
.legs {
  padding-top: 56px;
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.card-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card {
  flex: 1;
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
}

/* An 8px bar clipped by the card's rounded corners, as in the mockups.
   A border-top would leave a curved notch under each corner instead. */
.card::before {
  content: "";
  display: block;
  height: 8px;
  background: var(--accent);
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-num {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 3px;
  color: var(--accent);
}

.card .h3 {
  color: var(--dark);
}

.card p:not(.card-num),
.step p {
  line-height: 1.55;
}

/* How it works */
.how {
  padding-top: 56px;
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 4px solid var(--highlight);
  padding-left: 18px;
}

.step .h3 {
  font-size: 26px;
}

/* Band */
.band {
  padding-top: 48px;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.band-title {
  font-family: "Alfa Slab One", Georgia, serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 1.1;
}

.band-body {
  font-size: 19px;
  max-width: 720px;
}

/* How it started */
.origin {
  padding-top: 52px;
  padding-bottom: 52px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  text-align: left;
}

.origin figure {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.origin blockquote p {
  font-family: "Alfa Slab One", Georgia, serif;
  font-size: 26px;
  line-height: 1.25;
  max-width: 980px;
}

.origin figcaption,
.origin-story {
  font-size: 17px;
}

.origin-story {
  line-height: 1.55;
  max-width: 760px;
}

/* Mission statement, closing the How it started section */
.mission {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  padding-top: 26px;
  border-top: 2px solid var(--highlight);
  max-width: 860px;
}

.mission .eyebrow {
  color: var(--highlight);
  margin: 0;
}

.mission-text {
  font-family: "Alfa Slab One", Georgia, serif;
  font-size: 22px;
  line-height: 1.3;
  color: var(--paper);
}

/* FAQ */
.faq {
  padding-top: 56px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.faq-item dt {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: var(--dark);
}

.faq-item dd {
  margin: 0;
  font-size: 17px;
}

/* Join */
.join {
  padding-top: 56px;
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.join-copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.join-copy p {
  line-height: 1.55;
}

.form-card {
  background: var(--card);
  border-radius: 18px;
  padding: 24px;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.field-label,
.field legend {
  padding: 0;
  line-height: 1.2;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
}

.field legend {
  margin-bottom: 6px;
}

.input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 2px solid var(--fieldBorder);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  font-family: inherit;
  font-size: 17px;
}

.input::placeholder {
  color: var(--fieldBorder);
  opacity: 1;
}

.input[aria-invalid="true"] {
  border-color: var(--accent);
  border-width: 3px;
}

.field-error {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.3;
  color: var(--accent);
}

.field-error:empty {
  display: none;
}

/* Two-option toggle built from real radio buttons. */
.toggle {
  display: flex;
  gap: 8px;
}

.toggle-option {
  flex: 1;
  position: relative;
}

.toggle-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.toggle-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 2px solid var(--fieldBorder);
  border-radius: 10px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  text-align: center;
  padding: 0 8px;
}

.toggle-option input:checked + span {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--paper);
}

.toggle-option input:focus-visible + span {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* Honeypot: off screen, not display:none, so naive bots still fill it. */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.fineprint {
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}

.form-status {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--accent);
}

.form-status:empty {
  display: none;
}

.form-success {
  font-family: "Alfa Slab One", Georgia, serif;
  font-size: 28px;
  line-height: 1.2;
  color: var(--dark);
}

.btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}

/* Footer */
.site-footer {
  padding-top: 40px;
  padding-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.footer-brand svg {
  width: 36px;
  height: 36px;
  flex: none;
}

.footer-statement {
  font-size: 16px;
  line-height: 1.55;
  max-width: 760px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.footer-links a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--highlight);
  text-decoration: none;
}

.footer-small {
  font-size: 15px;
  line-height: 1.3;
}

/* Simple pages: privacy, 404, form result */
.page {
  padding-top: 56px;
  padding-bottom: 72px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 60vh;
}

.page .prose {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.page .prose h2 {
  font-family: "Alfa Slab One", Georgia, serif;
  font-weight: 400;
  font-size: 24px;
  color: var(--dark);
  margin-top: 12px;
}

.page .prose ul {
  margin: 0;
  padding-left: 22px;
}

.page-actions {
  display: flex;
}

/* Founders' documents (charter) */
.doc-status {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
}

.doc h2 {
  scroll-margin-top: calc(var(--header-h, 72px) + 12px);
}

.doc h3 {
  font-family: "Alfa Slab One", Georgia, serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--dark);
  margin-top: 8px;
}

.doc ol {
  margin: 0;
  padding-left: 24px;
}

.doc li + li {
  margin-top: 6px;
}

.doc-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  background: var(--card);
}

.doc-table table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 16px;
}

.doc-table th,
.doc-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--paper);
}

.doc-table th {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--dark);
}

.mission-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--highlight);
}

/* Tablet: 768px and up */
@media (min-width: 768px) {
  .section {
    --pad-x: 40px;
  }

  .h1 {
    font-size: 52px;
  }

  .h2 {
    font-size: 38px;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 72px;
  }

  .hero-actions {
    flex-direction: row;
  }

  .hero-actions .btn {
    width: auto;
  }

  .hero-badge svg {
    width: 280px;
    height: 280px;
  }

  .legs,
  .how,
  .join {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .faq {
    padding-top: 72px;
  }

  .steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .faq-list {
    grid-template-columns: 1fr 1fr;
  }

  .band-title {
    font-size: 46px;
  }

  .band-body {
    font-size: 21px;
  }

  .origin {
    align-items: center;
    text-align: center;
  }

  .origin figure {
    align-items: center;
  }

  .mission {
    align-items: center;
  }

  .mission-text {
    font-size: 26px;
  }

  .origin blockquote p {
    font-size: 32px;
  }

  .origin figcaption,
  .origin-story {
    font-size: 19px;
  }

  .form-card {
    padding: 32px;
  }

  .footer-links {
    flex-direction: row;
    gap: 28px;
  }
}

/* Desktop: 1200px and up */
@media (min-width: 1200px) {
  .section {
    --pad-x: 96px;
    scroll-margin-top: var(--header-h, 88px);
  }

  .site-header {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .menu-toggle,
  .menu-drawer {
    display: none !important;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
  }

  .desktop-nav a:not(.btn) {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 4px;
    font-family: "Barlow Condensed", sans-serif;
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--paper);
    text-decoration: none;
  }

  .h1 {
    font-size: 68px;
  }

  .h2 {
    font-size: 44px;
  }

  .h3 {
    font-size: 30px;
  }

  .hero {
    flex-direction: row;
    align-items: center;
    gap: 72px;
    padding-top: 64px;
    padding-bottom: 96px;
  }

  .hero-copy {
    flex: 1;
    gap: 24px;
  }

  .hero-body,
  .offer {
    font-size: 22px;
  }

  .hero-badge svg {
    width: 420px;
    height: 420px;
  }

  .legs,
  .how,
  .join {
    padding-top: 96px;
    padding-bottom: 96px;
    gap: 40px;
  }

  .card-list {
    flex-direction: row;
    gap: 24px;
  }

  .card-body {
    padding: 32px;
  }

  .steps {
    display: flex;
    flex-direction: row;
    gap: 48px;
  }

  .step {
    flex: 1;
  }

  .step .h3 {
    font-size: 28px;
  }

  .band {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .band-title {
    font-size: 60px;
  }

  .band-body {
    font-size: 24px;
  }

  .origin {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .origin blockquote p {
    font-size: 40px;
  }

  .mission-text {
    font-size: 30px;
  }

  .origin figcaption,
  .origin-story {
    font-size: 20px;
  }

  .faq {
    padding-top: 96px;
    gap: 32px;
  }

  .faq-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .join {
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }

  .join-copy,
  .form-card {
    flex: 1;
  }

  .join-copy p {
    font-size: 20px;
  }

  .site-footer {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}
