:root {
  --ink: #161413;
  --body: #423b38;
  --muted: #6f6764;
  --bg: #ffffff;
  --wash: #f6f4f4;
  --wash-2: #faf9f9;
  --line: #e7e3e2;
  --red: #f81d3d;
  --red-dark: #d81432;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --max: 1160px;
  --header: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}

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

a { color: inherit; }

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

h1, h2, h3 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 { font-size: clamp(2.7rem, 5.4vw, 4.55rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.35rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; letter-spacing: -0.03em; }

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  z-index: 80;
}

.skip:focus { top: 0.6rem; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.045em;
}

.logo svg { width: 18px; height: 18px; color: var(--red); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav > a,
.drop > button {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}

.site-nav > a[aria-current="page"],
.drop > button[aria-current="page"] { color: var(--red); }

.drop { position: relative; }
.drop::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
}

.drop > button { display: inline-flex; align-items: center; gap: 0.3rem; }

.chevron {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
}

.drop-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 16px 50px rgba(22, 20, 19, 0.12);
  padding: 0.45rem;
  display: none;
}

.drop.is-open .drop-panel,
.drop:hover .drop-panel,
.drop:focus-within .drop-panel { display: grid; }

.drop-panel a {
  display: grid;
  gap: 0.15rem;
  text-decoration: none;
  padding: 0.75rem 0.8rem;
  border-radius: 12px;
}

.drop-panel a:hover { background: var(--wash); }
.drop-panel strong { color: var(--ink); font-weight: 700; }
.drop-panel span { color: var(--muted); font-size: 0.92rem; font-weight: 500; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: white;
  text-decoration: none;
  border: 0;
  border-radius: 12px;
  padding: 14px 24px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
}

.btn:hover { background: var(--red-dark); }

.btn-small { padding: 10px 16px; font-size: 0.95rem; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.hero { padding: 4.2rem 0 0; }

.hero h1 { max-width: 11em; }

.lede {
  margin-top: 1.35rem;
  max-width: 38rem;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--body);
}

.hero .btn { margin-top: 1.8rem; }

.rail {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 4.5rem 0 0;
  padding: 0 0 3rem;
  position: relative;
}

.rail::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 5px;
  height: 2px;
  background: linear-gradient(90deg, #f81d3d 0%, #f7b2a4 70%, #f3ddd8 100%);
}

.rail li { padding-top: 1.35rem; position: relative; }

.rail li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--red);
}

.rail strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.rail span { color: var(--muted); font-size: 0.98rem; }

.band { background: var(--wash-2); padding: 4.5rem 0; }

.band-head { max-width: 40rem; margin-bottom: 2rem; }

.band-head p,
.split-copy p,
.cycle p,
.story-copy p,
.step p,
.page-hero .lede { margin-top: 0.85rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}

.stats b {
  display: block;
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stats span { display: block; margin-top: 0.45rem; color: var(--muted); }

.block { padding: 4.6rem 0; }
.flush { padding-top: 0; }
.footer-blurb { margin-top: 0.7rem; max-width: 28rem; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 1.6rem;
}

.section-head p { max-width: 28rem; color: var(--body); }

.text-link {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.text-link:hover { color: var(--red); }

.sol-grid,
.cycle,
.note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 1.2rem;
}

.sol,
.note,
.cycle article,
.step {
  background: var(--wash);
  border-radius: 16px;
  padding: 1.35rem 1.3rem 1.4rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

a.sol:hover { background: #efecec; }

.sol p,
.note p,
.cycle p { color: var(--body); font-size: 0.98rem; margin-top: 0.45rem; }

.sol .more {
  margin-top: 1.2rem;
  color: var(--red);
  font-weight: 700;
  font-size: 0.95rem;
}

.cycle article { background: transparent; border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; }
.cycle .index { color: var(--red); font-weight: 700; font-size: 0.92rem; margin-bottom: 0.7rem; }
.cycle ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.45rem; }
.cycle a { color: var(--ink); font-weight: 700; text-decoration: none; }
.cycle a:hover { color: var(--red); }

.stories { display: grid; gap: 14px; }

.story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: var(--wash);
  border-radius: 20px;
  overflow: hidden;
  min-height: 320px;
}

.story img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.story-copy { padding: 2rem 1.8rem; display: flex; flex-direction: column; justify-content: center; }
.kicker { color: var(--red); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.story-copy h3 { font-size: clamp(1.45rem, 2vw, 1.85rem); margin: 0.45rem 0 0.7rem; }
.story-copy p { color: var(--body); }

.how { background: var(--wash-2); }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1.8rem; }
.step { background: white; }
.step b { color: var(--red); font-size: 1.4rem; letter-spacing: -0.04em; }
.step h3 { margin: 0.55rem 0 0.4rem; }

.closer { padding: 0 0 4.5rem; }
.closer-inner {
  background: var(--wash);
  border-radius: 24px;
  padding: 3rem 2.4rem;
}
.closer h2 { max-width: 12em; }
.closer p { margin: 0.9rem 0 1.4rem; max-width: 34rem; }

.page-hero { padding: 3.4rem 0 0.4rem; }
.page-hero h1 { max-width: 14em; font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
.page-hero .lede { margin-bottom: 0.4rem; }

.service-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.6rem 0;
  border-top: 1px solid var(--line);
}

.service-block.reverse .service-copy { order: 2; }
.frame img { width: 100%; border-radius: 18px; aspect-ratio: 4 / 3; object-fit: cover; }

.checklist { list-style: none; padding: 0; margin: 1rem 0 0; }
.checklist li { position: relative; padding-left: 1.1rem; margin: 0.45rem 0; }
.checklist li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  position: absolute;
  left: 0;
  top: 0.55em;
}

.faq { margin-top: 0.4rem; }
.faq-item { border-top: 1px solid var(--line); padding: 1.15rem 0; }
.faq-item h3 { font-size: 1.15rem; }
.faq-item p { margin-top: 0.4rem; color: var(--body); }

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2.5rem;
  align-items: start;
  padding: 2rem 0 4.5rem;
}

.aside-card {
  background: var(--wash);
  border-radius: 16px;
  padding: 1.15rem 1.2rem;
  margin-top: 1.2rem;
}

.aside-card a { color: var(--red); font-weight: 700; text-decoration: none; }

form {
  background: var(--wash-2);
  border-radius: 20px;
  padding: 1.2rem;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.full { grid-column: 1 / -1; }

label { display: grid; gap: 0.35rem; color: var(--ink); font-weight: 700; font-size: 0.92rem; }

input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.85rem;
}

textarea { min-height: 140px; resize: vertical; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; }
.fine { color: var(--muted); font-size: 0.92rem; margin: 0; }
.form-note, .form-error { margin: 0.8rem 0 0; }
.form-error { color: var(--red); font-weight: 600; }

.site-footer { border-top: 1px solid var(--line); padding: 2.2rem 0 1.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr; gap: 1.5rem; }
.footer-label { color: var(--muted); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.55rem; }
.footer-links { display: grid; gap: 0.35rem; }
.footer-links a { text-decoration: none; font-weight: 600; color: var(--ink); }
.footer-links a:hover { color: var(--red); }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.8rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

@media (max-width: 980px) {
  .stats,
  .sol-grid,
  .cycle,
  .note-grid,
  .how-grid,
  .rail,
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .story,
  .service-block,
  .service-block.reverse,
  .contact-layout { grid-template-columns: 1fr; }

  .service-block.reverse .service-copy { order: 0; }
}

@media (max-width: 800px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-cta { display: none; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 0.4rem 1.25rem 1rem;
  }

  .site-nav.is-open { display: flex; }
  .site-nav > a,
  .drop > button { padding: 0.85rem 0; text-align: left; }

  .drop-panel {
    position: static;
    transform: none;
    width: auto;
    box-shadow: none;
    padding: 0 0 0.4rem 0.2rem;
    display: none;
  }

  .drop.is-open .drop-panel { display: grid; }
  .drop:hover .drop-panel { display: none; }
  .drop.is-open:hover .drop-panel { display: grid; }

  .stats,
  .sol-grid,
  .cycle,
  .note-grid,
  .how-grid,
  .rail,
  .footer-grid,
  .form-grid { grid-template-columns: 1fr; }

  .full { grid-column: auto; }
  .section-head, .footer-base { display: grid; }
  .hero { padding-top: 2.2rem; }
  .rail { margin-top: 2.4rem; }
  .rail::before {
    display: block;
    left: 5px;
    right: auto;
    top: 6px;
    bottom: 1.2rem;
    width: 2px;
    height: auto;
    background: linear-gradient(#f81d3d, #f3ddd8);
  }
  .rail li { padding-left: 1.5rem; padding-top: 0; margin-bottom: 1.1rem; }
  .rail li::before { top: 0.2rem; }
  .block { padding: 3rem 0; }
}

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