:root {
  --bg: #0b0f12;
  --bg-2: #111920;
  --ink: #f5f1e9;
  --muted: #b6bdc5;
  --soft: #7d8791;
  --line: rgba(245, 241, 233, 0.16);
  --line-strong: rgba(245, 241, 233, 0.28);
  --red: #c73232;
  --red-dark: #8e2021;
  --red-on-dark: #d94747;
  --blue: #607b94;
  --white: #fbfaf6;
  --paper: #ede7db;
  --charcoal: #151b20;
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(11, 15, 18, 0.96), rgba(11, 15, 18, 0.98)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 160px);
  color: var(--ink);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(11, 15, 18, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 250px;
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand strong,
.site-footer strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1.05;
}

.brand small,
.site-footer span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: clamp(14px, 2vw, 34px);
  align-items: center;
}

nav a,
.header-cta {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover,
.header-cta:hover,
.text-link:hover {
  color: var(--ink);
}

.header-cta {
  padding: 12px 16px;
  border: 1px solid var(--red);
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 1fr);
  min-height: clamp(720px, 86vh, 900px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(64px, 9vw, 132px) clamp(20px, 6vw, 84px);
  position: relative;
  z-index: 2;
}

.hero-copy h1,
.section-heading h2,
.cta h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3rem, 5.2vw, 6rem);
  line-height: .94;
}

.hero-title-line {
  display: block;
}

.mobile-stack {
  display: inline;
}

.hero-copy p {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.4vw, 1.25rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

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

.button.primary {
  border-color: var(--red);
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  box-shadow: 0 16px 40px rgba(199, 50, 50, .2);
}

.button.secondary {
  background: rgba(255,255,255,.03);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 50px 0 0;
  max-width: 760px;
}

.proof-strip div {
  border-left: 2px solid var(--red);
  padding-left: 14px;
}

.proof-strip dt {
  color: var(--soft);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.proof-strip dd {
  margin: 5px 0 0;
  color: var(--ink);
  line-height: 1.35;
}

.hero-media {
  min-height: 580px;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(11, 15, 18, .62) 18%, rgba(11, 15, 18, .08) 55%);
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}

.hero-media picture {
  display: block;
  height: 100%;
  min-height: inherit;
}

.section {
  padding: clamp(72px, 9vw, 132px) clamp(20px, 6vw, 84px);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) minmax(240px, 420px);
  gap: clamp(18px, 4vw, 58px);
  align-items: start;
  margin-bottom: 54px;
}

.section-heading.compact {
  grid-template-columns: 80px minmax(0, 1fr);
}

.section-number {
  color: var(--red-on-dark);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.section-heading h2,
.cta h2,
.page-hero h1,
.contact-page h1 {
  font-size: clamp(2rem, 4vw, 4.35rem);
  line-height: 1.02;
}

.section-heading p,
.pricing-grid p,
.service-grid p,
.proof-panel p,
.proof-list span,
.method-steps span,
.cta p,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.service-grid,
.pricing-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-grid article,
.pricing-grid article,
.case-grid article {
  min-height: 270px;
  padding: 34px 30px;
  background: linear-gradient(180deg, rgba(21, 27, 32, .98), rgba(13, 18, 22, .98));
}

.service-icon {
  display: block;
  color: var(--blue);
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 38px;
}

.service-grid h3,
.proof-panel h3,
.pricing-grid h3,
.case-grid h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.18;
}

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

.case-grid article {
  min-height: 320px;
}

.fine-print {
  color: var(--soft);
  font-size: .86rem;
  line-height: 1.55;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(260px, .28fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  background: linear-gradient(180deg, rgba(11, 15, 18, .96), rgba(17, 25, 32, .95));
}

.page-hero h1,
.contact-page h1 {
  margin: 14px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

.page-hero p,
.contact-page p {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.faq-list details {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  padding: 22px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 800;
}

.faq-list p {
  color: var(--muted);
  line-height: 1.65;
}

.method {
  background: linear-gradient(180deg, #111920, #0b0f12);
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}

.method-steps li {
  padding: 32px 26px;
  min-height: 220px;
  background: rgba(11, 15, 18, .74);
}

.method-steps strong {
  display: block;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: .9rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.proof {
  background: var(--white);
  color: #111920;
}

.proof .section-number,
.pricing .section-number {
  color: var(--red-dark);
}

.cta .section-number {
  color: var(--red-on-dark);
}

.proof .section-heading p,
.proof-panel p,
.proof-list span {
  color: #52606b;
}

.proof-layout {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  gap: 1px;
  background: rgba(17, 25, 32, .18);
  border: 1px solid rgba(17, 25, 32, .16);
}

.proof-panel,
.proof-list {
  background: #f8f6ef;
}

.proof-panel {
  padding: clamp(34px, 5vw, 60px);
}

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

.proof-list div {
  min-height: 170px;
  padding: 34px;
  border-left: 1px solid rgba(17, 25, 32, .12);
  border-bottom: 1px solid rgba(17, 25, 32, .12);
}

.proof-list strong {
  display: block;
  margin-bottom: 10px;
  color: #0b0f12;
}

.text-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--red-dark);
  font-weight: 800;
  text-decoration: none;
}

.pricing {
  background: var(--paper);
  color: #111920;
}

.pricing .section-heading p,
.pricing-grid p {
  color: #52606b;
}

.pricing-grid {
  background: rgba(17, 25, 32, .18);
  border-color: rgba(17, 25, 32, .16);
}

.pricing-grid article {
  min-height: 250px;
  background: #fbfaf6;
}

.pricing-grid article.featured {
  background: #111920;
  color: var(--ink);
}

.pricing-grid article.featured p {
  color: var(--muted);
}

.price {
  margin: 0 0 18px;
  color: #111920;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 1;
}

.featured .price {
  color: var(--ink);
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  background: linear-gradient(90deg, rgba(11, 15, 18, .96), rgba(17, 25, 32, .94));
}

.cta h2 {
  margin-top: 20px;
  max-width: 900px;
}

.cta p {
  max-width: 740px;
  font-size: 1.08rem;
}

.intake {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
}

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

.intake label {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.intake input,
.intake select,
textarea {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: rgba(255,255,255,.05);
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
  padding: 12px 14px;
}

.intake select option {
  background: #111920;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

textarea::placeholder {
  color: #7d8791;
}

.consent {
  align-items: start;
  grid-template-columns: 20px 1fr;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.honeypot {
  position: absolute;
  left: -10000px;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.form-status[data-state="success"] {
  color: #b7f0c1;
}

.form-status[data-state="error"] {
  color: #ffc5c5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 28px clamp(20px, 6vw, 84px);
  color: var(--muted);
  background: #070a0c;
}

.site-footer nav {
  gap: 18px;
}

.site-footer p {
  max-width: 720px;
  margin: 0;
  font-size: .86rem;
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 360px;
    order: -1;
  }

  .hero-copy {
    padding-top: 54px;
  }

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

  .section-heading,
  .section-heading.compact,
  .proof-layout,
  .cta,
  .page-hero {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 18px;
  }

  .site-header {
    flex-wrap: wrap;
  }

  .site-header nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .header-cta {
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .brand {
    min-width: 0;
  }

  nav {
    padding-bottom: 4px;
  }

  .header-cta {
    display: none;
  }

  .hero-copy h1 {
    max-width: calc(100vw - 60px);
    font-size: clamp(2.35rem, 10vw, 2.9rem);
    line-height: .98;
  }

  .mobile-stack {
    display: block;
  }

  .hero-actions,
  .proof-strip {
    width: 100%;
    max-width: calc(100vw - 60px);
  }

  .hero-copy p {
    max-width: min(100%, 310px);
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding: 42px 30px 54px;
  }

  .hero-media {
    min-height: 300px;
  }

  .proof-strip {
    margin-top: 34px;
    gap: 14px;
  }

  .proof-strip,
  .service-grid,
  .pricing-grid,
  .method-steps,
  .proof-list,
  .case-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article,
  .pricing-grid article,
  .method-steps li {
    min-height: auto;
  }

  .site-footer {
    display: grid;
  }
}

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