:root {
  --paper: #f5efe3;
  --paper-2: #eee4d3;
  --card: #fffaf0;
  --ink: #1f211c;
  --muted: #65685f;
  --line: #292c24;
  --soft-line: rgba(31, 33, 28, 0.16);
  --clay: #b75d3a;
  --olive: #5d6c4b;
  --mustard: #d7b94e;
  --blueprint: #27384a;
  --shadow: 8px 8px 0 rgba(31, 33, 28, 0.16);
  --shadow-strong: 10px 10px 0 rgba(31, 33, 28, 0.22);
  --radius: 18px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(31,33,28,.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(31,33,28,.03) 1px, transparent 1px),
    var(--paper);
  background-size: 34px 34px;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(31,33,28,.05) 1px, transparent 1px);
  background-size: 7px 7px;
  opacity: .55;
  mix-blend-mode: multiply;
}

a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.site-shell { overflow: hidden; }

.site-header {
  width: min(var(--max), calc(100% - 32px));
  position: sticky;
  top: 16px;
  z-index: 50;
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 2px solid var(--line);
  background: rgba(255, 250, 240, .92);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--mustard);
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 900;
  letter-spacing: -.06em;
  box-shadow: 4px 4px 0 rgba(31,33,28,.18);
}
.brand strong { display: block; font-family: "Space Grotesk", sans-serif; line-height: 1; letter-spacing: -.02em; }
.brand small { color: var(--muted); font-size: 12px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  padding: 10px 12px;
  border-radius: 14px;
  transition: .18s ease;
}
.main-nav a:hover { color: var(--ink); background: var(--paper-2); }
.main-nav .nav-cta { color: var(--card); background: var(--ink); border: 2px solid var(--line); }
.main-nav .nav-cta:hover { color: var(--card); background: var(--clay); }

.nav-toggle { display: none; background: transparent; border: 0; width: 44px; height: 44px; }
.nav-toggle span { display: block; height: 2px; width: 24px; background: var(--ink); margin: 5px auto; }

.section-pad { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; padding: 86px 0; }
.hero { min-height: 720px; display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; }
.eyebrow, .section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow span { width: 40px; height: 2px; background: var(--clay); }
h1, h2, h3 { font-family: "Space Grotesk", Inter, sans-serif; margin: 0; line-height: 1.02; letter-spacing: -.045em; color: var(--ink); }
h1 { font-size: clamp(46px, 7.2vw, 84px); margin-top: 18px; max-width: 780px; }
h2 { font-size: clamp(33px, 4.8vw, 58px); margin-top: 10px; }
h3 { font-size: 23px; }
p { color: var(--muted); margin: 0; }
.hero-lede { font-size: 19px; max-width: 690px; margin: 24px 0 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid var(--line);
  border-radius: 14px;
  font-weight: 1000;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 rgba(31,33,28,.2); }
.btn-primary { color: var(--card); background: var(--ink); }
.btn-primary:hover { background: var(--clay); }
.btn-secondary { color: var(--ink); background: var(--card); }
.cred-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cred-row span, .tag-row span {
  border: 1.5px solid var(--line);
  color: var(--ink);
  background: var(--paper-2);
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.console-card {
  width: min(520px, 100%);
  border: 2px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  transform: rotate(-1deg);
}
.console-top { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-bottom: 2px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 900; background: var(--paper-2); }
.window-dots { display: flex; gap: 7px; }
.window-dots i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); }
.window-dots i:nth-child(1) { background: var(--clay); }
.window-dots i:nth-child(2) { background: var(--mustard); }
.window-dots i:nth-child(3) { background: var(--olive); }
.console-body { padding: 22px; }
.project-status { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 22px; }
.project-status small, .ai-note span { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; font-weight: 1000; }
.project-status strong { display: block; margin-top: 6px; font-size: 22px; font-family: "Space Grotesk", sans-serif; }
.status-pill { color: var(--card); background: var(--olive); padding: 8px 12px; border: 2px solid var(--line); border-radius: 999px; font-size: 12px; font-weight: 1000; }
.module-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.module-grid div { padding: 13px; border: 1.5px solid var(--line); background: var(--paper); border-radius: 14px; color: var(--blueprint); font-weight: 900; font-size: 14px; }
.ai-note { margin-top: 20px; padding: 18px; border: 2px dashed var(--clay); border-radius: 18px; background: #fbecd6; }
.ai-note p { margin-top: 8px; color: var(--ink); }
.floating-chip { position: absolute; padding: 10px 14px; border-radius: 14px; border: 2px solid var(--line); background: var(--card); font-weight: 1000; box-shadow: 5px 5px 0 rgba(31,33,28,.16); }
.chip-one { top: 78px; left: 10px; }
.chip-two { right: 18px; top: 150px; }
.chip-three { bottom: 95px; left: 38px; }

.section-heading { max-width: 780px; margin-bottom: 34px; }
.section-heading.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-heading p { margin-top: 18px; font-size: 18px; }
.problem { padding-top: 20px; }
.problem .section-heading { background: var(--card); border: 2px solid var(--line); border-radius: 28px; padding: clamp(24px, 5vw, 44px); box-shadow: var(--shadow); }

.path-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.path-tab { border: 2px solid var(--line); background: var(--card); color: var(--muted); padding: 18px; border-radius: 16px; font-weight: 1000; cursor: pointer; transition: .18s ease; text-align: left; }
.path-tab.active, .path-tab:hover { color: var(--card); background: var(--blueprint); box-shadow: 5px 5px 0 rgba(31,33,28,.14); }
.path-panel { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: center; border: 2px solid var(--line); border-radius: 24px; background: var(--card); padding: 28px; box-shadow: var(--shadow); }
.path-panel h3 { margin-bottom: 10px; }
.path-panel ul { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-left: 0; list-style: none; }
.path-panel li { padding: 12px 14px; border-radius: 14px; background: var(--paper); border: 1.5px solid var(--soft-line); color: var(--blueprint); font-weight: 900; }

.card-grid.six { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card, .project-card, .price-card, .timeline-item {
  border: 2px solid var(--line);
  background: var(--card);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 6px 6px 0 rgba(31,33,28,.11);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.service-card:hover, .project-card:hover, .price-card:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 rgba(31,33,28,.18); }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--paper-2); border: 1.5px solid var(--line); font-size: 22px; margin-bottom: 22px; }
.service-card p { margin-top: 12px; }

.idea-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -12px 0 28px;
}
.idea-strip span {
  border: 2px solid var(--line);
  background: var(--olive);
  color: var(--card);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 1000;
}
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-grid.expanded .project-card { min-height: 300px; }
.project-card:nth-child(4n+1) { background: #fff6df; }
.project-card:nth-child(4n+2) { background: #f3ead7; }
.project-card:nth-child(4n+3) { background: #fbf7ed; }
.project-card:nth-child(4n+4) { background: #eef0df; }
.project-top { display: flex; justify-content: space-between; gap: 14px; color: var(--clay); font-size: 12px; font-weight: 1000; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 28px; }
.project-top strong { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 32px; border: 2px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--mustard); letter-spacing: 0; }
.project-card p { margin: 14px 0 22px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

.stack-board { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; border: 2px solid var(--line); padding: 16px; border-radius: 24px; background: var(--paper-2); box-shadow: var(--shadow); }
.stack-board div { padding: 22px; background: var(--card); border: 2px solid var(--line); border-radius: 18px; }
.stack-board h3 { font-size: 20px; margin-bottom: 8px; color: var(--blueprint); }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.timeline-item span { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 50%; color: var(--card); background: var(--clay); border: 2px solid var(--line); font-weight: 1000; margin-bottom: 22px; }
.timeline-item p { margin-top: 12px; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price { font-size: 38px; font-family: "Space Grotesk", sans-serif; color: var(--ink); font-weight: 900; margin: 14px 0 8px; }
.price-card.featured { background: var(--blueprint); color: var(--card); }
.price-card.featured h3, .price-card.featured .price { color: var(--card); }
.price-card.featured p { color: rgba(255,250,240,.78); }

.contact-card { display: grid; grid-template-columns: .9fr 1.1fr; gap: 34px; border: 2px solid var(--line); border-radius: 28px; background: var(--card); padding: clamp(24px, 5vw, 48px); box-shadow: var(--shadow-strong); }
.contact-card p { margin-top: 18px; }
.project-form { display: grid; gap: 16px; }
.project-form label { display: grid; gap: 7px; color: var(--ink); font-size: 14px; font-weight: 1000; }
.project-form input, .project-form textarea, .project-form select {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}
.project-form input:focus, .project-form textarea:focus, .project-form select:focus { box-shadow: 0 0 0 4px rgba(183,93,58,.18); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.site-footer { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; padding: 34px 0 46px; display: flex; justify-content: space-between; gap: 18px; color: var(--muted); border-top: 2px solid var(--line); }
.site-footer a { font-weight: 1000; color: var(--ink); }

.reveal { opacity: 0; transform: translateY(18px); transition: .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 980px) {
  .site-header { align-items: flex-start; }
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px; border: 2px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 14px; }
  .hero, .path-panel, .contact-card { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 72px; }
  .card-grid.six, .project-grid, .stack-board, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .path-tabs { grid-template-columns: repeat(2, 1fr); }
  .floating-chip { display: none; }
}

@media (max-width: 640px) {
  .section-pad { width: min(100% - 24px, var(--max)); padding: 62px 0; }
  .site-header { width: min(100% - 24px, var(--max)); top: 10px; margin-top: 10px; }
  h1 { font-size: clamp(40px, 14vw, 58px); }
  h2 { font-size: clamp(31px, 11vw, 44px); }
  .hero-actions, .site-footer { flex-direction: column; }
  .card-grid.six, .project-grid, .stack-board, .pricing-grid, .timeline, .path-tabs, .path-panel ul, .form-row, .module-grid { grid-template-columns: 1fr; }
  .console-card { transform: none; }
  .project-grid.expanded .project-card { min-height: auto; }
}

.hidden-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}
.optional-label {
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.form-note {
  font-size: 13px;
  margin-top: -4px !important;
  color: var(--muted);
}
.success-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.simple-header {
  justify-content: flex-start;
}
.success-main {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 620px;
}
.success-card {
  width: min(760px, 100%);
  border: 2px solid var(--line);
  border-radius: 30px;
  background: var(--card);
  box-shadow: var(--shadow-strong);
  padding: clamp(28px, 6vw, 58px);
  text-align: center;
}
.success-card h1 {
  margin: 14px auto 18px;
  font-size: clamp(48px, 8vw, 86px);
}
.success-card p {
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: 18px;
}
.success-mark {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--olive);
  color: var(--card);
  font-size: 34px;
  font-weight: 1000;
  box-shadow: 5px 5px 0 rgba(31,33,28,.14);
}
