:root {
  --surface: #f3ebe2;
  --surface-soft: #f8f4ee;
  --surface-card: #fffaf4;
  --ink: #1a1a1a;
  --ink-soft: #3d3d3d;
  --muted: #6b6b6b;
  --line: #c5beb6;
  --line-soft: #e5dcd1;
  --sage: #5e7f73;
  --sage-deep: #38584e;
  --clay: #d4916e;
  --clay-deep: #a76143;
  --radius: 10px;
  --wrap: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--surface);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::selection {
  background: rgba(94, 127, 115, 0.24);
}

a {
  color: inherit;
  text-decoration-color: rgba(26, 26, 26, 0.32);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

main {
  flex: 1;
}

.wrap {
  width: var(--wrap);
  max-width: 100%;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(197, 190, 182, 0.7);
  background: rgba(243, 235, 226, 0.92);
  backdrop-filter: blur(12px);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--ink);
  color: var(--surface);
  font-size: 12px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--ink-soft);
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--ink);
  font-weight: 650;
}

.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  gap: 72px;
  align-items: center;
  padding: 74px 0 84px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--sage-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.display {
  font-family: "Funnel Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 730px;
  margin: 0 0 22px;
  font-size: clamp(46px, 7vw, 76px);
  line-height: 0.94;
  overflow-wrap: break-word;
}

.lead {
  max-width: 660px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  overflow-wrap: anywhere;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.studio-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  padding: 18px;
  box-shadow: 0 28px 80px rgba(26, 26, 26, 0.08);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 16px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--line);
}

.dot:nth-child(2) {
  background: #bdb3a8;
}

.dot:nth-child(3) {
  background: var(--clay);
}

.mock-window {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
}

.mock-panel,
.mock-note,
.project-preview {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fdfbf8;
}

.mock-panel {
  min-height: 248px;
  padding: 18px;
}

.mock-note {
  min-height: 116px;
  padding: 16px;
}

.line {
  height: 8px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: #cfc5b9;
}

.line.dark {
  height: 12px;
  background: var(--ink);
}

.line.short {
  width: 56%;
}

.line.medium {
  width: 74%;
}

.preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.swatches {
  display: flex;
  gap: 9px;
  margin-top: 28px;
}

.swatch {
  width: 44px;
  height: 34px;
  border-radius: 7px;
  background: var(--sage);
}

.swatch:nth-child(2) {
  background: var(--clay);
}

.swatch:nth-child(3) {
  background: #ded5c9;
}

.section {
  padding: 72px 0;
  border-top: 1px solid rgba(197, 190, 182, 0.72);
}

.section.tight {
  padding: 56px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.02;
}

.section-head p,
.plain-copy {
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  overflow-wrap: anywhere;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  padding: 22px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.15;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.project-preview {
  height: 142px;
  margin-bottom: 18px;
  padding: 14px;
  overflow: hidden;
}

.project-preview.split {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 10px;
}

.project-preview.stack {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 9px;
}

.preview-block {
  border-radius: 7px;
  background: #e7ddd2;
}

.preview-block.sage {
  background: var(--sage);
}

.preview-block.clay {
  background: var(--clay);
}

.quote-band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ink);
  color: var(--surface);
}

.quote-band .eyebrow {
  color: var(--clay);
}

.quote-band h2 {
  margin-bottom: 0;
}

.quote-list {
  display: grid;
  gap: 12px;
}

.quote-item {
  border: 1px solid rgba(243, 235, 226, 0.18);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  color: #f3ebe2;
}

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.footer {
  padding: 28px 0;
  border-top: 1px solid rgba(197, 190, 182, 0.72);
  color: var(--muted);
  font-size: 13px;
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.page-hero {
  padding: 72px 0 54px;
}

.page-hero h1 {
  max-width: 860px;
}

.small-list {
  display: grid;
  gap: 18px;
  max-width: 820px;
}

.contact-box {
  width: 100%;
  max-width: 780px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  padding: 28px;
}

@media (max-width: 900px) {
  .hero,
  .two-col,
  .quote-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    gap: 42px;
    padding-top: 48px;
  }

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

@media (max-width: 640px) {
  :root {
    --wrap: calc(100% - 28px);
  }

  .wrap {
    width: calc(100% - 28px);
    max-width: calc(100% - 28px);
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .site-header {
    position: static;
  }

  .nav {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 0;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px 22px;
    font-size: 13px;
  }

  h1 {
    font-size: 34px;
    line-height: 1;
  }

  .contact-box {
    padding: 24px;
  }

  .lead {
    font-size: 16px;
    max-width: 32ch;
  }

  .plain-copy,
  .section-head p,
  .card p {
    max-width: 32ch;
  }

  .mock-window {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .quote-band {
    padding: 24px;
  }

  .footer .wrap {
    flex-direction: column;
  }
}
