:root {
  --bg: #f6f1e8;
  --bg-alt: #efe6d6;
  --ink: #221d16;
  --ink-soft: #55503f;
  --accent: #c1440e;
  --accent-soft: #e2a186;
  --line: #ddd2ba;
  --white: #fffdf9;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover { background: var(--accent); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--ink); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 232, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.logo .accent { color: var(--accent); font-style: italic; }

.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  margin-right: 24px;
}
.nav a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.nav a:hover { color: var(--ink); }

.nav-cta { flex-shrink: 0; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
}

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

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  letter-spacing: -0.01em;
}
.hero h1 em {
  color: var(--accent);
  font-style: italic;
}

.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 32px;
}

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

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--ink);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual svg { width: 78%; height: 78%; }
.circ {
  mix-blend-mode: screen;
  opacity: 0.85;
}
.circ-a { fill: var(--accent); }
.circ-b { fill: #d98a3d; }
.circ-c { fill: #8a5a3b; }

.hero-visual-label {
  position: absolute;
  left: 20px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
}
.hero-visual-label .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.divider {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 64px 0 56px;
}
.divider span {
  width: 4px;
  border-radius: 2px;
  background: var(--accent-soft);
}
.divider span:nth-child(1) { height: 14px; }
.divider span:nth-child(2) { height: 24px; }
.divider span:nth-child(3) { height: 10px; }
.divider span:nth-child(4) { height: 30px; }
.divider span:nth-child(5) { height: 18px; }
.divider span:nth-child(6) { height: 26px; }
.divider span:nth-child(7) { height: 12px; }
.divider span:nth-child(8) { height: 20px; }

/* Mission */
.mission { padding-bottom: 80px; }

.mission-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}

.mission-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  max-width: 12ch;
}

.mission-body p {
  color: var(--ink-soft);
  font-size: 16.5px;
  max-width: 58ch;
}

.pull-quote {
  margin: 72px 0 0;
  padding: 56px 32px;
  background: var(--ink);
  text-align: center;
}
.pull-quote p {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 3.2vw, 34px);
  line-height: 1.3;
  max-width: 22ch;
  margin: 0 auto;
}

/* Offerings */
.offerings {
  background: var(--bg-alt);
  padding: 88px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.offerings h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 48px;
}

.offering-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}

.offering-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 10px;
}

.offering h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.offering p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
}

/* Get started */
.get-started { padding: 88px 0; }

.get-started-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.get-started-inner > div { max-width: 56ch; }
.get-started h2 { font-size: clamp(26px, 3vw, 36px); }
.get-started p:last-child { color: var(--ink-soft); margin: 0; }

/* Signup */
.signup {
  background: var(--ink);
  color: var(--white);
  padding: 96px 0;
}
.signup .eyebrow { color: var(--accent-soft); }
.signup-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.signup h2 {
  color: var(--white);
  font-size: clamp(30px, 4vw, 44px);
}
.signup-sub {
  color: #cfc7b6;
  font-size: 17px;
  margin-bottom: 36px;
}

.signup-form { text-align: left; }

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.form-row input {
  flex: 1 1 200px;
  padding: 15px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  background: #2c2519;
  border: 1px solid #453a28;
  border-radius: 3px;
  color: var(--white);
}
.form-row input::placeholder { color: #8f866f; }
.form-row input:focus {
  outline: none;
  border-color: var(--accent);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup-submit {
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  font-size: 13px;
}

.form-status {
  min-height: 20px;
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 13px;
}
.form-status[data-state="success"] { color: #8fd19e; }
.form-status[data-state="error"] { color: #e2897a; }

.signup-fineprint {
  margin-top: 20px;
  font-size: 13px;
  color: #8f866f;
  text-align: center;
}

/* Footer */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-nav { display: flex; gap: 24px; }
.footer-nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.footer-nav a:hover { color: var(--ink); }
.footer-tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0;
}

/* Construction modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(34, 29, 22, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay[hidden] { display: none; }

.modal-box {
  position: relative;
  max-width: 440px;
  width: 100%;
  background: var(--bg);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.modal-box .eyebrow { margin-bottom: 10px; }
.modal-box h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 12px;
}
.modal-box p { color: var(--ink-soft); font-size: 15px; }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
}
.modal-close:hover { color: var(--ink); }

.copy-email-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  text-align: left;
}
.copy-email-btn:hover { border-color: var(--accent); }
.copy-email-text {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink);
}
.copy-email-action {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
}

/* Responsive */
@media (max-width: 880px) {
  .nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 380px; }

  .mission-inner { grid-template-columns: 1fr; }
  .mission-head h2 { max-width: none; }

  .offering-grid { grid-template-columns: repeat(2, 1fr); }

  .get-started-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .offering-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .pull-quote { padding: 40px 20px; }
}

/* Mobile nav (open state) */
.mobile-menu {
  display: none;
}
@media (max-width: 880px) {
  .site-header.nav-open .mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 24px 32px 28px;
    border-bottom: 1px solid var(--line);
  }
  .site-header.nav-open .mobile-menu a.nav-cta {
    display: inline-flex;
  }
}
