:root {
  --bg:         #f5f5f3;
  --ink:        #141414;
  --ink-soft:   #4a4a47;
  --paper:      #ffffff;
  --line:       #141414;
  --accent:     #2f6f4f;
  --accent-dim: rgba(47,111,79,.08);
  --warn:       #a3431f;
  --maxw:       1180px;
  --nav-h:      68px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Source Serif 4", Georgia, serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}

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

/* ---- Global type ---- */
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.022em;
}

.eyebrow {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.measure { max-width: 66ch; }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* Scroll offset for sticky nav on all anchor targets */
#hero, #status, #needed, #process, #contact {
  scroll-margin-top: var(--nav-h);
}

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(245,245,243,.95);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 3px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-mark {
  width: 22px;
  height: 22px;
  background: var(--accent);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  flex: none;
}

.brand-mark.sm {
  width: 16px;
  height: 16px;
}

.brand-text {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.brand-text em {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-soft);
}

.brand-text.small { font-size: 15px; }

.menu-toggle {
  display: none;
  font-family: ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  background: none;
  border: 2px solid var(--ink);
  color: var(--ink);
  height: 42px;
  padding: 0 14px;
  cursor: pointer;
  border-radius: 0;
  flex-shrink: 0;
}

.menu-toggle:active { background: var(--ink); color: #fff; }

.primary-nav { display: flex; gap: 28px; align-items: center; }

.primary-nav a {
  text-decoration: none;
  color: var(--ink);
  font-family: ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 11px;
  padding: 6px 2px;
  position: relative;
  white-space: nowrap;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after { width: 100%; }

/* ---- Hero ---- */
.hero { padding: 96px 0 80px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Left accent rule — editorial anchor */
.hero-copy {
  padding-left: 22px;
  border-left: 4px solid var(--accent);
  padding-top: 4px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  margin-bottom: 24px;
  letter-spacing: -.025em;
  line-height: 1.03;
}

.hl { color: var(--accent); }

.lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 52ch;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* Card offset creates depth asymmetry against the copy column */
.hero-card {
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 16px 16px 0 var(--ink);
  padding: 26px;
  margin-top: 28px;
}

.card-head {
  font-family: ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 4px;
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--warn);
  display: inline-block;
  flex-shrink: 0;
}

.report { list-style: none; }

.report li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e0e0dc;
  font-size: 14px;
}

.report li:last-child { border-bottom: none; }

.report span {
  color: var(--ink-soft);
  font-family: ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.report strong { font-family: Georgia, serif; }
.report .warn { color: var(--warn); }

.card-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e0e0dc;
  font-size: 12px;
  color: var(--ink-soft);
  font-style: italic;
}

/* ---- Section divider ---- */
.rule { height: 3px; background: var(--line); }

/* ---- Sections ---- */
.section { padding: 80px 0; }
.section.alt { background: var(--paper); }

.section-head { margin-bottom: 48px; }

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  margin-bottom: 14px;
}

.section-head .measure {
  color: var(--ink-soft);
  margin-top: 6px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 0;
  cursor: pointer;
  border: 2px solid var(--ink);
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .12s ease;
}

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-primary:active { transform: translateY(1px); }

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

.btn.full { width: 100%; }

/* ---- Status grid ---- */
/* Tight 2px gaps with ink background showing through = editorial grid lines */
.status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--ink);
  border: 2px solid var(--ink);
}

.status-tile {
  background: var(--paper);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

/* Hover accent — left rule slides in */
.status-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: height .35s ease;
}

.status-tile:hover::before { height: 100%; }

.status-tile.recovered { background: var(--bg); }

.tile-num {
  display: block;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.status-tile h3 { font-size: 1.2rem; margin-bottom: 10px; }
.status-tile p { color: var(--ink-soft); line-height: 1.6; }

.asset-figure {
  margin-top: 16px;
  border: 1px dashed var(--ink);
  padding: 20px;
  background: #fff;
  text-align: center;
}

.asset-figure img {
  margin: 0 auto 12px;
  max-width: 180px;
  opacity: .8;
}

.asset-figure figcaption {
  font-family: ui-monospace, monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-soft);
}

/* ---- Steps ---- */
.steps { list-style: none; border-top: 2px solid var(--ink); }

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 2px solid var(--ink);
  transition: background .2s ease;
}

.step:hover { background: var(--accent-dim); }

.step-num {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.4rem;
  width: 52px;
  height: 52px;
  flex: none;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  transition: background .2s ease;
}

.step:hover .step-num { background: var(--ink); }

.step-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step-body p { color: var(--ink-soft); max-width: 62ch; }

/* ---- Process grid ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--ink);
  border: 2px solid var(--ink);
}

.proc {
  background: var(--paper);
  padding: 32px 26px;
  transition: background .2s ease;
}

.proc:hover { background: var(--accent-dim); }

.proc-k {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .04em;
  border: 2px solid var(--ink);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--bg);
  transition: background .2s ease, color .2s ease;
}

.proc:hover .proc-k { background: var(--ink); color: #fff; }

.proc h3 { font-size: 1.08rem; margin-bottom: 10px; line-height: 1.2; }
.proc p  { color: var(--ink-soft); font-size: .92rem; line-height: 1.55; }

/* ---- Contact ---- */
.contact {
  background: var(--ink);
  color: #fff;
  padding: 96px 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-copy .eyebrow { color: rgba(255,255,255,.45); }

.contact-copy h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #fff;
  margin-bottom: 18px;
  line-height: 1.1;
}

.contact-copy .measure {
  color: rgba(255,255,255,.6);
  margin-top: 0;
}

/* Options list on contact left column */
.contact-opts {
  list-style: none;
  margin-top: 36px;
  border-top: 1px solid rgba(255,255,255,.18);
}

.contact-opts li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
  font-family: ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}

.co-num {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,.35);
  display: grid;
  place-items: center;
  font-size: 11px;
  flex-shrink: 0;
}

/* Lead form */
.lead-form {
  background: var(--paper);
  color: var(--ink);
  padding: 32px;
  display: grid;
  gap: 20px;
}

.form-hd {
  font-family: ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 11px;
  color: var(--ink-soft);
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ink);
}

.field { display: grid; gap: 8px; }

.field-lbl {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-soft);
}

.lead-form input,
.lead-form select {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 16px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--bg);
  color: var(--ink);
  min-height: 48px;
  width: 100%;
  transition: border-color .2s ease, background .2s ease;
}

.lead-form input::placeholder { color: #aaa; }

.lead-form input:focus,
.lead-form select:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}

.err {
  color: var(--warn);
  font-family: Georgia, serif;
  font-size: 13px;
  min-height: 1.2em;
}

.form-note {
  font-family: Georgia, serif;
  font-size: 14px;
  color: var(--accent);
  min-height: 1.4em;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--bg);
  border-top: 3px solid var(--line);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

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

.disclaimer {
  font-size: 12px;
  color: var(--ink-soft);
  max-width: 60ch;
  font-style: italic;
}

/* ---- Reveal animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* Stagger grid children */
.status-grid .reveal:nth-child(2) { transition-delay: .08s; }
.status-grid .reveal:nth-child(3) { transition-delay: .16s; }
.status-grid .reveal:nth-child(4) { transition-delay: .24s; }

.process-grid .reveal:nth-child(2) { transition-delay: .08s; }
.process-grid .reveal:nth-child(3) { transition-delay: .16s; }
.process-grid .reveal:nth-child(4) { transition-delay: .24s; }

.steps .reveal:nth-child(2) { transition-delay: .1s; }
.steps .reveal:nth-child(3) { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .status-grid .reveal,
  .process-grid .reveal,
  .steps .reveal { transition-delay: 0s; }
}

/* ---- Responsive — 900px ---- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { padding-left: 18px; }
  .hero-card { margin-top: 0; box-shadow: 8px 8px 0 var(--ink); }

  .status-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}

/* ---- Responsive — 640px ---- */
@media (max-width: 640px) {
  .menu-toggle { display: inline-flex; align-items: center; }

  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 3px solid var(--line);
    padding: 0 24px 16px;
    z-index: 40;
  }

  .primary-nav.open { display: flex; }

  .primary-nav a {
    padding: 14px 0;
    border-bottom: 1px solid #e0e0dc;
    font-size: 13px;
  }

  .primary-nav a:last-child { border-bottom: none; }

  .header-inner { position: relative; }

  .hero { padding: 56px 0 48px; }

  .process-grid { grid-template-columns: 1fr; }

  .section { padding: 64px 0; }
  .contact { padding: 64px 0; }

  .step { gap: 18px; }
  .step-num { width: 46px; height: 46px; }

  .lead-form { padding: 24px; }

  .contact-opts { margin-top: 28px; }
}