/* The Simple Home Project — static site styles */

:root {
  --accent: #2F5D4A;
  --accent-dark: #1E3F31;
  --ink: #1E2B25;
  --muted: #4A5751;
  --bg: #F4F5F1;
  --white: #FFFFFF;
  --line: #DCDFD6;
  --placeholder: #E3E1D8;
  --deep: #1E3A2F;
  --deep-text: #DCE5DF;
  --deep-muted: #C9D6CE;
  --serif: 'Newsreader', Georgia, serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 16px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3, p { margin-top: 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section--white { background: var(--white); }
.section--ruled { border-top: 1px solid var(--line); }

.serif { font-family: var(--serif); font-weight: 400; }
h1, h2 { font-family: var(--serif); font-weight: 400; }

h2 { font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.15; margin-bottom: 12px; }
h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 6px; }

.eyebrow {
  margin-bottom: 14px;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.lede { color: var(--muted); max-width: 40rem; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  font-size: 0.975rem;
}
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; font-weight: 600; }
.site-nav a.btn { color: var(--white); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  background: var(--accent);
  color: var(--white);
  border: 1.5px solid var(--accent);
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.btn--small { padding: 11px 20px; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--light { background: var(--bg); color: var(--deep); border-color: var(--bg); }
.btn--light:hover { background: var(--white); color: var(--deep); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero */
.hero .wrap {
  padding-top: 88px;
  padding-bottom: 96px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}
.hero .copy { flex: 1 1 440px; min-width: 0; }
.hero .media { flex: 1 1 420px; min-width: 0; }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}
.hero p.sub { font-size: 1.25rem; color: var(--muted); max-width: 34rem; margin-bottom: 36px; }
.hero--families h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.1; }
.hero--families .wrap { padding-bottom: 80px; }
.hero--families p.sub { font-size: 1.2rem; }

/* Photo placeholders */
.photo {
  width: 100%;
  min-height: 320px;
  background: var(--placeholder);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  color: #5B6660;
  font-size: 0.95rem;
}
.photo--tall { height: 520px; }
.photo--mid { height: 460px; }
.photo--img { object-fit: cover; padding: 0; }

/* Trust strip */
.strip { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip .wrap {
  padding-top: 28px;
  padding-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 40px;
  font-size: 0.975rem;
  color: var(--muted);
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.card { background: var(--white); border-radius: 20px; padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin: 0; }
.card p { margin: 0; color: var(--muted); }
.card svg { width: 32px; height: 32px; }

/* SPACE method */
.space { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px 28px; margin-top: 56px; }
.space .letter { font-family: var(--serif); font-size: 3.5rem; line-height: 1; color: var(--accent); display: block; margin-bottom: 8px; }
.space h3 { margin-bottom: 8px; }
.space p { margin: 0; color: var(--muted); font-size: 0.975rem; }

.steps {
  margin-top: 72px;
  background: var(--bg);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 48px;
}
.steps .intro { flex: 1 1 260px; min-width: 0; }
.steps .intro h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin-bottom: 6px; }
.steps .intro p { margin: 0; color: var(--muted); font-size: 0.975rem; }
.steps .list { flex: 2 1 420px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.steps .list strong { display: block; font-size: 1.15rem; }
.steps .list span { display: block; margin-top: 4px; color: var(--muted); font-size: 0.95rem; }

/* Dark band */
.band {
  background: var(--deep);
  color: var(--bg);
  border-radius: 28px;
  padding: 64px 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 64px;
}
.band .copy { flex: 1 1 420px; min-width: 0; }
.band .eyebrow { color: var(--deep-muted); }
.band h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: 16px; }
.band p { margin: 0; color: var(--deep-text); }
.band .actions { flex: 0 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.band--center { display: block; text-align: center; }

/* About */
.about .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.about .media { flex: 1 1 360px; min-width: 0; }
.about .copy { flex: 1 1 460px; min-width: 0; }
.about h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); margin-bottom: 20px; }
.about p { color: var(--muted); margin-bottom: 16px; }
.about p.creds { font-size: 0.95rem; margin: 0; }

/* Contact */
.contact .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.contact .copy { flex: 1 1 360px; min-width: 0; }
.contact .methods { flex: 1 1 440px; min-width: 0; display: grid; gap: 20px; }
.method { background: var(--bg); border-radius: 20px; padding: 28px 32px; }
.method .label { margin: 0 0 4px; font-size: 0.875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.method a { font-size: 1.35rem; font-weight: 600; text-decoration: none; word-break: break-word; }
.method a:hover { text-decoration: underline; }
.method p.note { margin: 6px 0 0; color: var(--muted); font-size: 0.95rem; }

/* Families page */
.signs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 44px; }
.sign { background: var(--bg); border-radius: 16px; padding: 24px 26px; font-weight: 600; }
.support { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 48px; margin-top: 44px; }
.support .item { display: flex; gap: 18px; }
.support svg { flex: none; width: 28px; height: 28px; margin-top: 4px; }
.support h3 { font-size: 1.2rem; }
.support p { margin: 0; color: var(--muted); }

.faq { max-width: 820px; margin: 0 auto; }
.faq h2 { margin-bottom: 36px; }
.faq .q { border-top: 1px solid var(--line); padding: 24px 0; }
.faq .q:last-child { border-bottom: 1px solid var(--line); }
.faq .q p { margin: 0; color: var(--muted); }

.final { text-align: center; }
.final p { margin: 0 auto 32px; color: var(--muted); max-width: 36rem; }

/* Footer */
.site-footer { background: var(--ink); color: var(--deep-muted); }
.site-footer .wrap {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.925rem;
}
.site-footer .name { font-family: var(--serif); font-size: 1.25rem; color: var(--bg); }
.site-footer a { color: var(--deep-muted); }
.site-footer a:hover { color: var(--white); }

/* Small screens */
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero .wrap { padding-top: 56px; padding-bottom: 64px; gap: 40px; }
  .photo--tall, .photo--mid { height: 340px; }
  .band { padding: 44px 28px; }
  .card { padding: 28px 24px; }
}

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