:root {
  --ink: #1a1714;
  --ink-soft: #3a342c;
  --mist: #6d665c;
  --paper: #f3eee4;
  --paper-2: #e8e0d2;
  --gold: #c9a44a;
  --gold-deep: #a78420;
  --pine: #355c52;
  --pine-deep: #2a4a42;
  --line: rgba(26, 23, 20, 0.14);
  --header-h: 4.5rem;
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  background-image: radial-gradient(rgba(26, 23, 20, 0.035) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
}

p {
  margin: 0;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--pine);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--pine-deep);
}

.btn-ghost {
  border-color: var(--line);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--pine);
  color: var(--pine);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner,
.hero,
.statement,
.practices,
.stack,
.approach,
.contact,
.site-footer,
.work-with-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 560;
  letter-spacing: 0.04em;
}

.brand img {
  width: 28px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.site-nav a:hover {
  color: var(--pine);
}

.nav-cta {
  background: var(--pine);
  color: var(--paper) !important;
  padding: 0.55rem 1rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--pine-deep);
  color: var(--paper) !important;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  margin: 6px 4px;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  padding: 3rem 0 4rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-optical-sizing: auto;
}

.lede {
  margin-top: 1.4rem;
  max-width: 38rem;
  font-size: 1.12rem;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-mark {
  justify-self: end;
  width: min(100%, 420px);
}

.hero-mark img {
  width: 100%;
  border-radius: 2px;
  filter: drop-shadow(0 18px 40px rgba(26, 23, 20, 0.12));
}

.statement {
  padding: 1rem 0 5rem;
}

.statement p {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  max-width: 46rem;
  color: var(--ink-soft);
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.practices {
  padding-bottom: 5rem;
}

.practice {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line);
}

.practice-index {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold-deep);
  padding-top: 0.3rem;
}

.practice-alt .practice-index {
  color: var(--pine);
}

.practice h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.9rem;
}

.practice-body > p {
  max-width: 42rem;
  color: var(--ink-soft);
}

.capability-list {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 2rem;
}

.capability-list li {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.capability-list strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.stack {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem 1.5rem;
  padding: 1.4rem 0 5rem;
  border-top: 1px solid var(--line);
}

.stack-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist);
}

.stack ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.stack li {
  border: 1px solid var(--line);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.88rem;
  background: color-mix(in srgb, var(--paper-2) 55%, transparent);
}

.approach {
  padding-bottom: 5.5rem;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.steps li {
  padding-top: 1.2rem;
  border-top: 2px solid var(--gold);
}

.steps span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--gold-deep);
  margin-bottom: 0.8rem;
}

.steps h3 {
  font-size: 1.45rem;
  margin-bottom: 0.6rem;
}

.steps p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.work-with {
  background: var(--pine);
  color: var(--paper);
  padding: 5rem 0;
}

.work-with .eyebrow {
  color: var(--gold);
}

.work-with h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  max-width: 18ch;
  margin-bottom: 2rem;
}

.work-with-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.work-with-grid p {
  color: #d8d0c4;
  padding-top: 1rem;
  border-top: 1px solid rgba(243, 238, 228, 0.18);
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  padding: 5.5rem 0 4.5rem;
}

.contact h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

.contact-copy p + p {
  margin-top: 1rem;
}

.contact-invite {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--pine);
  max-width: 32rem;
}

.contact-copy p:last-of-type,
.contact-copy p:nth-of-type(3) {
  color: var(--ink-soft);
  max-width: 32rem;
}

.contact-email {
  color: var(--pine);
  text-decoration: none;
  font-weight: 500;
}

.contact-email:hover {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form label,
.contact-form legend {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 0.85rem;
  border-radius: 4px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.form-note,
.form-success,
.form-error {
  font-size: 0.85rem;
  color: var(--mist);
}

.form-success {
  color: var(--pine);
}

.form-error {
  color: #8a3b2a;
}

.contact-form button {
  justify-self: start;
  margin-top: 0.3rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--mist);
  font-size: 0.9rem;
}

.footer-brand {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  color: var(--ink);
}

.footer-brand strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 560;
}

.footer-brand p {
  color: var(--mist);
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .hero,
  .contact,
  .work-with-grid,
  .steps,
  .capability-list,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-mark {
    order: -1;
    width: min(260px, 70%);
    justify-self: start;
  }

  .practice {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.4rem;
    gap: 1rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-footer {
    flex-direction: column;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover {
    transform: none;
  }
}
