/* fastwombat.ai: a sibling of fastwombat.com. Same type and wombat mark, a
   cooler and quieter palette, and light/dark aware. */
:root {
  --bg:        #f8f6f2;
  --bg-soft:   #efebe4;
  --bg-card:   #ffffff;
  --ink:       #1c1d1f;
  --ink-soft:  #515357;
  --ink-mute:  #707276;
  --rule:      #e3ded5;
  --accent:    #9c4a1a;
  --sage:      #56786a;
  --on-ink:    #ffffff;
  --shadow:    0 1px 2px rgba(28,29,31,0.05), 0 12px 32px rgba(28,29,31,0.06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #16171a;
    --bg-soft:   #202226;
    --bg-card:   #1d1f22;
    --ink:       #ece9e3;
    --ink-soft:  #b8b5ae;
    --ink-mute:  #8f8c85;
    --rule:      #2f3135;
    --accent:    #e39a66;
    --sage:      #8fb3a2;
    --on-ink:    #16171a;
    --shadow:    0 1px 2px rgba(0,0,0,0.3), 0 12px 32px rgba(0,0,0,0.25);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

/* Smooth scrolling for in-page links only once something has focus, so a
   fresh load with a #fragment jumps straight there (see fastwombat.com). */
@media (prefers-reduced-motion: no-preference) {
  html:focus-within { scroll-behavior: smooth; }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--on-ink);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 10;
}
.skip:focus { left: 8px; }

/* ---------- LAYOUT ---------- */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- NAV ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  padding: 24px 0 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.brand-mark { height: 44px; width: auto; display: block; }
.brand-name { font-size: 16px; }
.brand-name em,
.h1 em, .page h1 em, .section-title em {
  font-family: "Newsreader", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.nav-links a { text-decoration: none; transition: color .2s ease; }
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a.btn { color: var(--on-ink); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--on-ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 14px 22px;
  border-radius: 999px;
  transition: transform .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-1px); opacity: .9; }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--rule);
}
.btn--ghost:hover { background: var(--bg-soft); opacity: 1; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.actions--left { justify-content: flex-start; }

.text-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- HERO ---------- */
.hero {
  padding: 72px 0 80px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  background: var(--bg-soft);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 20%, transparent);
}
.h1 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 auto 24px;
  max-width: 20ch;
}
.h1 em { color: var(--accent); }
.lead {
  font-size: clamp(18px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 auto 36px;
}

/* ---------- HOME SECTIONS ---------- */
.section {
  padding: 64px 0;
  border-top: 1px solid var(--rule);
}
.section-title {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.section-lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 28px;
}
.section .section-note {
  color: var(--ink-soft);
  max-width: 64ch;
  margin: 28px 0 0;
}
.section-note strong { color: var(--ink); font-weight: 500; }
.section h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 8px;
}
.section p { margin-top: 0; }

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  max-width: 64ch;
}
.checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-soft);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .62em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.tile, .work-card {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.tile p { color: var(--ink-soft); margin: 0; font-size: 16px; }

.caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 36px;
}
.cap h3 { font-size: 16.5px; margin-bottom: 6px; }
.cap p { color: var(--ink-soft); margin: 0; font-size: 15.5px; }

.offers {
  display: grid;
  gap: 0;
  margin: 0;
}
.offer {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.offer:first-child { border-top: 1px solid var(--rule); }
.offer:last-child { border-bottom: 0; }
.offer dt { font-weight: 500; }
.offer dd { margin: 0; color: var(--ink-soft); max-width: 62ch; }

.steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--accent);
  font-family: "Newsreader", Georgia, serif;
  font-size: 18px;
  margin-bottom: 14px;
}
.steps p { color: var(--ink-soft); }

.band {
  background: var(--bg-soft);
  border-top: 0;
  border-radius: 24px;
  padding: 48px;
  margin: 16px 0;
}
.band .eyebrow { background: var(--bg); }
.band + .section { border-top: 0; }
.band .pilot-fit { margin: -8px 0 28px; }

.work-list { display: grid; gap: 20px; }
.work-card h3 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
  font-size: 28px;
  margin: 0 0 8px;
}
.work-card h3 a { text-decoration: none; }
.work-card p { color: var(--ink-soft); max-width: 64ch; }
.card-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 10px;
}
.stack { font-size: 14px; color: var(--ink-mute); }
.work-subhead { margin-top: 56px; }

.about {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: start;
}
.about-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
}
.about-text p { color: var(--ink-soft); max-width: 62ch; }
.about-photo--page {
  display: block;
  width: 144px;
  height: 144px;
  margin-bottom: 28px;
}
.career-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 15px;
}
.career-list li { display: grid; grid-template-columns: 52px 1fr; }
.career-list li span { color: var(--ink-mute); font-variant-numeric: tabular-nums; }

.faq { max-width: 760px; }
.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
}
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-mute); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-soft); margin: 12px 0 0; max-width: 66ch; }

.cta {
  text-align: center;
  padding: 72px 0 88px;
  border-top: 1px solid var(--rule);
}
.cta .lead { margin-bottom: 28px; }

/* ---------- INTERIOR PAGES ---------- */
.page {
  padding: 48px 0 72px;
  max-width: 720px;
  margin: 0 auto;
}
.page--wide { max-width: 900px; }
.page h1 {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 400;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.page h1 em { color: var(--accent); }
.page .lead { margin: 0 0 32px; }
.note { font-size: 15px; color: var(--ink-mute); }
.note a { color: var(--accent); }

.prose { font-size: 16.5px; line-height: 1.65; color: var(--ink-soft); }
.prose p { margin: 0 0 16px; }
.prose h2 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 36px 0 12px;
}
.prose a { color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose .numbered { padding-left: 22px; margin: 0 0 16px; display: grid; gap: 8px; }

.back {
  display: flex;
  width: fit-content;
  gap: 6px;
  font-size: 13.5px;
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: 28px;
}
.back:hover { color: var(--ink); }

/* The Cal.com booker sizes its own iframe; this only reserves room so the
   page doesn't jump while it loads. */
.cal-embed {
  width: 100%;
  min-height: 560px;
  margin: 8px 0 20px;
  overflow: auto;
}

/* ---------- FOOTER ---------- */
.footer {
  border-top: 1px solid var(--rule);
  padding: 32px 0 40px;
  color: var(--ink-mute);
  font-size: 13.5px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { text-decoration: none; transition: color .2s ease; }
.footer a:hover { color: var(--ink); }

/* ---------- SMALL SCREENS ---------- */
@media (max-width: 860px) {
  .tiles, .steps { grid-template-columns: 1fr; }
  .caps { grid-template-columns: 1fr 1fr; }
  .offer { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .nav-links { gap: 8px 18px; }
  .hero { padding: 40px 0 56px; }
  .section { padding: 48px 0; }
  .band { padding: 32px 24px; }
  .about { grid-template-columns: 1fr; gap: 24px; }
  .caps { grid-template-columns: 1fr; }
  .about-photo { width: 140px; height: 140px; }
}
