:root {
  --red: #e10600;
  --red-deep: #a80400;
  --ink: #161311;
  --paper: #f6f1ea;
  --muted: #6d645c;
  --line: rgba(22, 19, 17, 0.14);
  --white: #fffaf6;
  --shadow: 0 18px 40px rgba(22, 19, 17, 0.08);
  --header: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(225, 6, 0, 0.12), transparent 28%),
    var(--paper);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header);
  padding: 16px 6vw;
  background: rgba(246, 241, 234, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Syne", "Arial Black", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.25rem;
}

.mark {
  width: 14px;
  height: 14px;
  background: var(--red);
  border-radius: 3px;
  box-shadow: 6px 6px 0 rgba(225, 6, 0, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--red);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: white;
  cursor: pointer;
  font-weight: 600;
}

.nav-cta:hover,
.button:hover {
  background: var(--red-deep);
  color: white;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.hero,
.work,
.contact,
.site-footer {
  padding: 72px 6vw;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - var(--header));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Syne", "Arial Black", sans-serif;
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 7vw, 6.6rem);
}

h2 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.lede {
  max-width: 38rem;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.2rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 32px;
}

.text-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--ink);
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-panel {
  padding: 28px;
  background: var(--ink);
  color: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.panel-kicker,
.card-index {
  margin: 0 0 18px;
  color: var(--red);
  font-family: "Syne", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-line {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 250, 246, 0.14);
}

.panel-line span {
  color: rgba(255, 250, 246, 0.62);
  font-size: 0.85rem;
}

.section-heading {
  margin-bottom: 32px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  min-height: 240px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.7rem;
}

.card p:last-child {
  margin: 0;
  color: var(--muted);
}

.approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin: 0 6vw 12px;
  padding: 64px;
  background: var(--red);
  color: white;
  border-radius: 32px;
}

.eyebrow-light {
  color: rgba(255, 250, 246, 0.78);
}

.approach h2 {
  max-width: 12ch;
}

.approach ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 22px;
}

.approach li {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 250, 246, 0.28);
}

.approach strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Syne", sans-serif;
  font-size: 1.2rem;
}

.contact-form,
.form-success {
  max-width: 760px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: 28px;
  border: 1px solid var(--line);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
}

.full,
.contact-form .button,
.form-error,
.form-success h3,
.form-success p,
.reset-form {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
}

input:focus,
textarea:focus,
.menu-toggle:focus-visible,
.button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(225, 6, 0, 0.35);
  outline-offset: 2px;
}

.form-error {
  margin: 0;
  color: var(--red-deep);
  font-weight: 600;
}

.form-success {
  display: block;
}

.form-success[hidden],
.form-error[hidden],
.contact-form[hidden] {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
}

.site-footer p:last-child {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 6vw 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .approach,
  .cards,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  .approach {
    margin-inline: 0;
    border-radius: 0;
    padding: 48px 6vw;
  }

  .site-footer {
    flex-direction: column;
  }
}
