/* ============================================================
   S&S Groundwork — shared styles
   ============================================================ */
:root {
  --paper: #F6F3EC;
  --card: #FDFBF6;
  --border: #E3DCCB;
  --ink: #262319;
  --muted: #6A6353;
  --green: #3D5637;
  --green-dark: #33482E;
  --band: #2A3B25;
  --band-text: #EFEDE3;
  --band-muted: #AEBBA2;
  --clay: #A96F3D;
  --clay-light: #C89B6A;
  --clay-tint: #F0E6D2;
  --clay-tint-border: #E0D3B8;
  --sage: #ECEADF;
  --field: #D8D0BC;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Public Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); }
a:hover { color: var(--green-dark); }
::selection { background: #E5D9BF; }
h1, h2, h3 { font-family: 'Bitter', Georgia, serif; margin: 0; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ---------- Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding-top: 16px; padding-bottom: 16px;
}
.wordmark { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.wordmark .ss { font-family: 'Bitter', Georgia, serif; font-weight: 800; font-size: 23px; color: var(--ink); letter-spacing: -0.01em; }
.wordmark .amp { color: var(--clay); }
.wordmark .gw { font-weight: 700; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }
.nav-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: none; }
.nav-links a:hover { color: var(--green); }
.nav-links a.active { font-weight: 600; color: var(--green); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
/* The header "Start a project" button is an <a> inside .nav-links, so the
   `.nav-links a` color (--ink) out-specifies `.btn-primary`'s white. Restore it. */
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: var(--paper); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center;
  text-decoration: none; font-family: 'Public Sans', system-ui, sans-serif;
  font-weight: 600; font-size: 15.5px;
  padding: 14px 28px; border-radius: 8px;
  border: none; cursor: pointer;
  transition: background .15s;
}
.btn-primary { background: var(--green); color: var(--paper); }
.btn-primary:hover { background: var(--green-dark); color: var(--paper); }
.btn-secondary { background: transparent; color: var(--ink); border: 1px solid #C9C1AC; }
.btn-secondary:hover { background: #EDE8D9; color: var(--ink); }
.btn-light { background: var(--band-text); color: var(--band); font-weight: 700; }
.btn-light:hover { background: var(--card); color: var(--band); }
.btn-small { font-size: 14px; padding: 10px 20px; }

/* ---------- Type helpers ---------- */
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clay); }
.lede { font-size: 17px; line-height: 1.65; color: var(--muted); }
.marker { width: 9px; height: 9px; border-radius: 2px; background: var(--green); flex: none; }

/* ---------- Sections ---------- */
.section { padding-top: 88px; padding-bottom: 88px; }
.page-header { padding-top: 80px; padding-bottom: 56px; }
.page-header h1 { font-weight: 800; font-size: clamp(36px, 4vw, 50px); line-height: 1.08; letter-spacing: -0.015em; margin: 16px 0 18px; }
.page-header .lede { max-width: 36em; margin: 0; }
.section-title { font-weight: 700; font-size: 34px; letter-spacing: -0.01em; margin: 14px 0 40px; }
.alt-band { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sage-band { background: var(--sage); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px; align-items: center;
  padding-top: 84px; padding-bottom: 76px;
}
.hero h1 { font-weight: 800; font-size: clamp(40px, 4.6vw, 56px); line-height: 1.06; letter-spacing: -0.015em; margin: 18px 0 22px; text-wrap: balance; }
.hero .lede { max-width: 30em; margin: 0 0 32px; font-size: 17.5px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Browser mock ---------- */
.mock-wrap { position: relative; }
.browser {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 24px 48px -24px rgba(38, 35, 25, 0.3); overflow: hidden;
}
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 11px 14px; background: #F1ECDF; border-bottom: 1px solid var(--border); }
.dots { display: flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--field); }
.address { flex: 1; display: flex; align-items: center; gap: 7px; background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; font-size: 12px; color: var(--muted); }
.address .lock { width: 8px; height: 8px; border-radius: 2px; background: var(--green); }
.mock-nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; }
.mock-nav .links { display: flex; gap: 10px; }
.skel { display: inline-block; border-radius: 3px; background: var(--field); }
.mock-photo {
  height: 150px; margin: 0 18px; border-radius: 8px;
  background: repeating-linear-gradient(135deg, #EDE7D8 0 10px, #E5DECB 10px 20px);
  display: flex; align-items: center; justify-content: center;
}
.ph-label { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: #8A8270; background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 4px 10px; }
.mock-body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 9px; }
.chip {
  position: absolute; left: -22px; bottom: -18px;
  display: flex; align-items: center; gap: 9px;
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 14px; box-shadow: 0 12px 24px -12px rgba(38, 35, 25, 0.3);
  font-size: 12.5px; font-weight: 600;
}
.chip .marker { background: var(--clay); }

/* ---------- Trust strip ---------- */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #F1EDDF; }
.strip .container { display: flex; gap: 44px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.strip-item { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; }
.strip-item .marker { width: 8px; height: 8px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card-grid-wide { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 30px 28px; }
.card h3 { font-weight: 700; font-size: 20px; margin: 0 0 10px; }
.card p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }
.card .include-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.card .include-head h3 { font-size: 18.5px; margin: 0; }
.strata { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
.strata span { display: block; height: 4px; border-radius: 2px; }
.strata .s1 { width: 30px; background: var(--green); }
.strata .s2 { width: 21px; background: var(--clay); }
.strata .s3 { width: 13px; background: var(--field); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 44px 56px; }
.step { display: flex; gap: 22px; }
.step-num { font-family: 'Bitter', Georgia, serif; font-weight: 800; font-size: 40px; line-height: 1; color: var(--clay); }
.step h3 { font-weight: 700; font-size: 19px; margin: 4px 0 8px; }
.step p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- Dark band ---------- */
.band { background: var(--band); }
.band-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; padding-top: 92px; padding-bottom: 92px; }
.band .eyebrow { color: var(--clay-light); }
.band h2 { font-weight: 800; font-size: 40px; letter-spacing: -0.01em; color: var(--band-text); margin: 16px 0 20px; }
.band .band-copy p { font-size: 16px; line-height: 1.7; color: var(--band-muted); margin: 0 0 14px; max-width: 32em; }
.band .band-copy p:last-child { margin-bottom: 0; }
.checklist { display: flex; flex-direction: column; gap: 22px; }
.check { display: flex; gap: 14px; }
.check .marker { width: 10px; height: 10px; background: var(--clay-light); margin-top: 5px; }
.check strong { display: block; font-weight: 700; font-size: 16px; color: var(--band-text); }
.check span { display: block; font-size: 14px; line-height: 1.55; color: var(--band-muted); margin-top: 3px; }

/* ---------- Work / placeholders ---------- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.work-item { display: flex; flex-direction: column; gap: 14px; }
.work-item .name { font-weight: 700; font-size: 15.5px; }
.work-item .sub { font-size: 14px; color: var(--muted); margin-top: 2px; }
.ph {
  background: repeating-linear-gradient(135deg, #EDE7D8 0 10px, #E5DECB 10px 20px);
  border: 1px dashed #CFC6AE;
  display: flex; align-items: center; justify-content: center;
}
.work-shot { height: 210px; width: 100%; border-radius: 12px; }
.work-shot img, .avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* ---------- Center blocks ---------- */
.center-block { max-width: 760px; margin: 0 auto; padding: 84px 32px; text-align: center; }
.center-block h2 { font-weight: 700; font-size: 36px; letter-spacing: -0.01em; margin: 14px 0 18px; }
.center-block p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 0 0 30px; }
.cta-block { max-width: 760px; margin: 0 auto; padding: 100px 32px; text-align: center; }
.cta-block h2 { font-weight: 800; font-size: 42px; letter-spacing: -0.015em; margin: 0 0 16px; text-wrap: balance; }
.cta-block p { font-size: 16.5px; line-height: 1.65; color: var(--muted); margin: 0 0 30px; }

/* ---------- Pricing (services) ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; align-items: start; }
.price-card { background: var(--band); border-radius: 16px; padding: 36px 34px; }
.price-card .eyebrow { color: var(--clay-light); letter-spacing: 0.16em; display: block; margin-bottom: 14px; }
.price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price { font-family: 'Bitter', Georgia, serif; font-weight: 800; font-size: 54px; line-height: 1; color: var(--band-text); }
.price-unit { font-size: 14px; font-weight: 600; color: var(--band-muted); }
.price-note { font-size: 14px; line-height: 1.6; color: var(--band-muted); margin: 14px 0 24px; }
.price-list { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid rgba(239, 237, 227, 0.15); padding-top: 22px; }
.price-list div { display: flex; gap: 12px; align-items: center; font-size: 14.5px; color: var(--band-text); }
.price-list .marker { width: 8px; height: 8px; background: var(--clay-light); }
.price-card .btn { margin-top: 28px; }
.side-cards { display: flex; flex-direction: column; gap: 24px; }
.side-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 30px 28px; }
.side-card h3 { font-weight: 700; font-size: 19px; margin: 0 0 10px; }
.side-card p { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0; }
.side-card.tint { background: var(--clay-tint); border-color: var(--clay-tint-border); }
.side-card.tint h3 { margin-bottom: 14px; }
.cost-rows { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.cost-row { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; }
.cost-row span { color: #4A4335; }
.cost-row b { font-weight: 700; }
.side-card.tint p { font-size: 13.5px; line-height: 1.6; }
.bigger {
  background: var(--sage); border: 1px solid var(--border); border-radius: 16px;
  padding: 44px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.bigger .copy { max-width: 38em; }
.bigger h2 { font-weight: 700; font-size: 26px; letter-spacing: -0.01em; margin: 0 0 10px; }
.bigger p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0; }
.bigger .btn { flex: none; }

/* ---------- About ---------- */
.founder-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.founder { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 36px; display: flex; align-items: center; gap: 26px; }
.avatar { width: 132px; height: 132px; border-radius: 50%; flex: none; }
.founder h3 { font-weight: 700; font-size: 23px; margin: 0 0 4px; }
.role { font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); margin-bottom: 10px; }
.founder p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: start; padding-bottom: 100px; }
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.field .opt { font-weight: 500; color: #8A8270; }
input, select, textarea {
  padding: 12px 14px; border: 1px solid var(--field); border-radius: 8px;
  background: var(--paper); font-family: 'Public Sans', system-ui, sans-serif;
  font-size: 15px; color: var(--ink); outline: none;
  transition: border-color .15s, box-shadow .15s;
}
textarea { line-height: 1.55; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(61, 86, 55, 0.15); }
.aside { display: flex; flex-direction: column; gap: 24px; }
.aside-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 26px 28px; }
.aside-card.tint { background: var(--sage); padding: 30px 28px; }
.aside-card h3 { font-weight: 700; font-size: 17px; margin: 0 0 8px; }
.aside-card.tint h3 { font-size: 19px; margin-bottom: 20px; }
.aside-card p { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 0; }
.aside-card .mail { font-size: 15px; font-weight: 600; }
.next-steps { display: flex; flex-direction: column; gap: 18px; }
.next { display: flex; gap: 16px; }
.next b { font-family: 'Bitter', Georgia, serif; font-weight: 800; font-size: 22px; line-height: 1.2; color: var(--clay); flex: none; }
.next p { font-size: 14.5px; line-height: 1.6; color: #4A4335; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--band); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-top: 56px; }
.site-footer .wordmark .ss { color: var(--band-text); }
.site-footer .wordmark .amp { color: var(--clay-light); }
.site-footer .wordmark .gw { color: var(--band-muted); }
.footer-tag { font-size: 14px; line-height: 1.6; color: var(--band-muted); margin: 12px 0 0; max-width: 26em; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--band-text); text-decoration: none; }
.footer-col a:hover { color: var(--clay-light); }
.footer-bottom {
  border-top: 1px solid rgba(239, 237, 227, 0.15);
  margin-top: 44px; padding: 20px 0 28px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-bottom span { font-size: 13px; color: var(--band-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 60px; padding-bottom: 56px; }
  .chip { left: 12px; }
  .band-grid { padding-top: 72px; padding-bottom: 72px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .field-row { grid-template-columns: 1fr; }
  .nav-links { gap: 18px; }
  .founder { flex-direction: column; align-items: flex-start; }
}
