:root {
  --background: #0a0a0a;
  --foreground: #fafafa;
  --muted: #1a1a1a;
  --muted-foreground: #737373;
  --accent: #ff3d00;
  --accent-foreground: #0a0a0a;
  --border: #262626;
  --input: #1a1a1a;
  --card: #0f0f0f;
  --card-foreground: #fafafa;
  --ring: #ff3d00;
  --container: 1200px;
  --ease: cubic-bezier(0.25, 0, 0, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

main,
header,
footer {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 12px;
  z-index: 50;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 8px 12px;
}

.skip-link:focus-visible {
  top: 12px;
}

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

.section-divider {
  border-bottom: 1px solid var(--border);
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(8px);
  background: color-mix(in srgb, var(--background) 84%, transparent);
}

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

.mono-label {
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.brand {
  color: var(--foreground);
  font-weight: 600;
}

.nav-list {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: clamp(14px, 2.6vw, 30px);
}

.nav-list a {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-block: 10px;
  border-bottom: 2px solid transparent;
  transition: border-color 150ms var(--ease), color 150ms var(--ease);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
  outline: none;
}

.hero {
  padding: clamp(88px, 14vw, 160px) 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif;
  font-weight: 800;
}

h1 {
  margin-top: 18px;
  max-width: 11ch;
  font-size: clamp(3rem, 12vw, 8rem);
  line-height: 1;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.lead {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  max-width: 54ch;
  color: color-mix(in srgb, var(--foreground) 88%, var(--muted-foreground));
}

.hero-grid {
  margin-top: 36px;
  display: grid;
  gap: 26px;
  align-items: end;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-self: start;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  min-height: 48px;
  transition: all 150ms var(--ease);
}

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

.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
.faq-item button:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.btn-primary {
  color: var(--accent);
  padding: 10px 0;
}

.btn-underline {
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform-origin: left center;
  transition: transform 150ms var(--ease);
}

.btn-primary:hover .btn-underline,
.btn-primary:focus-visible .btn-underline {
  transform: scaleX(1.1);
}

.btn-outline {
  border: 1px solid var(--foreground);
  color: var(--foreground);
  background: transparent;
  padding: 10px 24px;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  color: var(--background);
  background: var(--foreground);
}

.btn-ghost {
  color: var(--muted-foreground);
  padding: 10px 0;
}

.btn-ghost .btn-underline {
  height: 1px;
  transform: scaleX(0);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: var(--foreground);
}

.btn-ghost:hover .btn-underline,
.btn-ghost:focus-visible .btn-underline {
  transform: scaleX(1);
}

.stats {
  margin: clamp(42px, 8vw, 70px) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats li {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.stat-value {
  margin: 0;
  font-family: "Inter Tight", sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.stat-label {
  margin: 8px 0 0;
  color: var(--muted-foreground);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.services,
.approach,
.results,
.faq,
.contact {
  padding: clamp(80px, 11vw, 120px) 0;
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: 42px;
}

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

.service-card {
  border: 1px solid var(--border);
  padding: clamp(24px, 3.5vw, 32px);
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 12px;
  transition: border-color 150ms var(--ease), background-color 150ms var(--ease);
}

.service-card:hover {
  border-color: color-mix(in srgb, var(--foreground) 48%, var(--border));
  background: color-mix(in srgb, var(--muted) 45%, transparent);
}

.service-card p {
  margin: 0;
  color: color-mix(in srgb, var(--foreground) 84%, var(--muted-foreground));
}

.featured {
  border: 2px solid var(--accent);
  position: relative;
}

.badge {
  width: fit-content;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 4px 10px;
}

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

.steps li {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.step-number {
  margin: 0;
  font-family: "JetBrains Mono", monospace;
  color: var(--border);
  font-size: clamp(2rem, 4vw, 3rem);
  transition: color 150ms var(--ease);
  line-height: 1;
}

.steps li:hover .step-number {
  color: var(--accent);
}

.steps p {
  margin: 12px 0 0;
  max-width: 60ch;
  color: color-mix(in srgb, var(--foreground) 86%, var(--muted-foreground));
}

.results {
  background: var(--muted);
}

.split {
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: start;
}

blockquote {
  margin: 0;
  padding: clamp(24px, 4vw, 32px);
  border: 1px solid var(--border);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2.05rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
}

cite {
  display: block;
  margin-top: 22px;
  font-family: "JetBrains Mono", monospace;
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  font: inherit;
  background: transparent;
  border: 0;
  width: 100%;
  text-align: left;
  color: inherit;
  padding: 20px 0;
  cursor: pointer;
  letter-spacing: -0.02em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item button::after {
  content: "+";
  font-family: "JetBrains Mono", monospace;
  font-size: 1.2rem;
  color: var(--muted-foreground);
}

.faq-item button[aria-expanded="true"]::after {
  content: "-";
  color: var(--accent);
}

.faq-item [role="region"] {
  color: color-mix(in srgb, var(--foreground) 85%, var(--muted-foreground));
  max-width: 70ch;
  padding: 0 0 18px;
}

.contact {
  background: var(--foreground);
  color: var(--background);
}

.contact .mono-label {
  color: color-mix(in srgb, var(--background) 70%, white);
}

.contact-form {
  margin-top: 24px;
  display: grid;
  gap: 12px;
  max-width: 760px;
}

label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

input,
textarea {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--background) 32%, white);
  background: transparent;
  color: var(--background);
  padding: 12px 14px;
  font: inherit;
  min-height: 48px;
  border-radius: 0;
  transition: border-color 150ms var(--ease);
}

input::placeholder,
textarea::placeholder {
  color: color-mix(in srgb, var(--background) 60%, white);
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.contact .btn-outline {
  border-color: var(--background);
  color: var(--background);
  justify-self: start;
}

.contact .btn-outline:hover,
.contact .btn-outline:focus-visible {
  background: var(--background);
  color: var(--foreground);
}

footer {
  padding: 22px 0;
}

.footer-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-wrap p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted-foreground);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .container {
    width: min(var(--container), 100% - 38px);
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-wrap {
    min-height: 70px;
    align-items: flex-start;
    padding: 14px 0;
    flex-direction: column;
  }

  .nav-list {
    flex-wrap: wrap;
    gap: 8px 16px;
  }

  .hero-actions {
    width: 100%;
  }

  .btn,
  .btn-outline {
    width: fit-content;
    min-height: 44px;
  }

  .service-grid,
  .stats {
    grid-template-columns: 1fr;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}