:root {
  --black: #111111;
  --ink: #1f1f1f;
  --muted: #5b5b5b;
  --paper: #f7f3ec;
  --white: #ffffff;
  --line: #ded8ce;
  --yellow: #ffb600;
  --gold: #e6a400;
  --orange: #eb8c00;
  --red: #e0301e;
  --rose: #db536a;
  --max: 1180px;
  --shadow: 0 24px 70px rgba(17, 17, 17, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

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

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

p {
  color: var(--muted);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1rem max(1rem, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(17, 17, 17, 0.96);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  background:
    linear-gradient(90deg, var(--yellow) 0 48%, var(--red) 48% 72%, var(--orange) 72%);
  color: var(--black);
  font-weight: 900;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0;
}

.brand small {
  color: #cfcfcf;
  font-size: 0.7rem;
  font-weight: 800;
}

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

.site-nav a {
  position: relative;
  padding: 0.8rem 0.9rem;
  color: #d8d8d8;
  font-size: 0.92rem;
  font-weight: 800;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.35rem;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 0.3rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--black);
  font-size: 0.9rem;
  font-weight: 900;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0.25rem auto;
  background: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(22rem, 1.05fr);
  min-height: calc(100vh - 4.8rem);
  background: var(--black);
  color: var(--white);
}

.hero-copy {
  align-self: center;
  padding: clamp(4rem, 9vw, 8rem) max(1rem, calc((100vw - var(--max)) / 2));
  padding-right: 3rem;
}

.hero-visual {
  position: relative;
  min-height: 34rem;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.62), transparent 36%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.page-hero .eyebrow,
.dark-band .eyebrow {
  color: var(--yellow);
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 4px;
  background: currentColor;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.3rem;
  font-size: clamp(3.4rem, 8vw, 6.5rem);
  line-height: 0.91;
  letter-spacing: 0;
}

.hero-text,
.page-hero p {
  max-width: 44rem;
  color: #e5e0d6;
  font-size: 1.15rem;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.9rem 1.15rem;
  border: 1px solid transparent;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.btn-primary {
  background: var(--yellow);
  color: var(--black);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.42);
  color: var(--white);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.section,
.page-hero,
.cta {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

.page-hero {
  width: 100%;
  max-width: none;
  padding: 6.4rem max(1rem, calc((100vw - var(--max)) / 2)) 4.5rem;
  background:
    linear-gradient(135deg, rgba(255, 182, 0, 0.18), transparent 44%),
    var(--black);
  color: var(--white);
}

.page-hero h1,
.section h2,
.cta h2 {
  max-width: 12ch;
  font-size: clamp(2.45rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.page-hero h1 {
  max-width: 13ch;
}

.section-heading {
  max-width: 52rem;
  margin-bottom: 2.3rem;
}

.section-heading h2 {
  max-width: 14ch;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 4rem;
  align-items: start;
}

.section-copy p {
  font-size: 1.05rem;
}

.section-copy p:last-child {
  margin-bottom: 0;
}

.band {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100vw - var(--max)) / 2));
  border-block: 1px solid var(--line);
  background: var(--white);
}

.dark-band {
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100vw - var(--max)) / 2));
  background: var(--black);
  color: var(--white);
}

.dark-band p {
  color: #d7d1c7;
}

.metrics,
.issue-grid,
.card-grid,
.insight-grid,
.journey-grid {
  display: grid;
  gap: 1rem;
}

.metrics {
  grid-template-columns: repeat(4, 1fr);
  width: min(100% - 2rem, var(--max));
  margin: -3.2rem auto 0;
  position: relative;
  z-index: 3;
}

.metric,
.issue-card,
.service-card,
.info-card,
.insight-card,
.contact-panel,
.contact-form,
.journey-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 16px 44px rgba(17, 17, 17, 0.08);
}

.metric {
  min-height: 10.5rem;
  padding: 1.4rem;
  border-top: 6px solid var(--yellow);
}

.metric:nth-child(2) {
  border-top-color: var(--orange);
}

.metric:nth-child(3) {
  border-top-color: var(--red);
}

.metric:nth-child(4) {
  border-top-color: var(--rose);
}

.metric strong {
  display: block;
  color: var(--black);
  font-size: 2.25rem;
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

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

.issue-card,
.insight-card,
.journey-card {
  min-height: 16rem;
  padding: 1.55rem;
}

.issue-card strong,
.insight-card strong {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.service-card,
.info-card {
  position: relative;
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  padding: 1.55rem;
  overflow: hidden;
}

.service-card::before,
.info-card::before,
.journey-card::before {
  content: "";
  display: block;
  width: 4.4rem;
  height: 0.5rem;
  margin-bottom: 1.4rem;
  background: var(--yellow);
}

.service-card:nth-child(2)::before,
.info-card:nth-child(2)::before,
.journey-card:nth-child(2)::before {
  background: var(--orange);
}

.service-card:nth-child(3)::before,
.info-card:nth-child(3)::before,
.journey-card:nth-child(3)::before {
  background: var(--red);
}

.service-card:nth-child(4)::before,
.info-card:nth-child(4)::before,
.journey-card:nth-child(4)::before {
  background: var(--rose);
}

.service-card h3,
.info-card h2,
.info-card h3,
.service-detail h2,
.insight-card h3,
.journey-card h3 {
  margin-bottom: 0.85rem;
  color: var(--black);
  line-height: 1.14;
  letter-spacing: 0;
}

.service-card p,
.info-card p,
.service-detail p,
.insight-card p,
.journey-card p {
  margin-bottom: 0;
}

.service-card::after {
  content: "Explore";
  margin-top: auto;
  padding-top: 1.4rem;
  color: var(--red);
  font-weight: 900;
}

.service-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
}

.card-code {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 1.1rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.insight-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.insight-feature {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  background: var(--black);
  color: var(--white);
}

.insight-feature p {
  color: #d9d3c9;
}

.insight-art {
  min-height: 22rem;
  background:
    linear-gradient(135deg, var(--red) 0 24%, transparent 24%),
    linear-gradient(45deg, var(--orange) 0 38%, transparent 38%),
    linear-gradient(135deg, transparent 0 55%, var(--yellow) 55% 78%, var(--rose) 78%);
}

.insight-copy {
  padding: 2rem;
}

.journey-grid {
  grid-template-columns: repeat(4, 1fr);
}

.frameworks,
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.frameworks span,
.pill-grid span {
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.feature-list {
  display: grid;
  gap: 1rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--ink);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--red);
}

.service-detail-list {
  display: grid;
  gap: 1rem;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  padding: 2rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.service-detail ul {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(17rem, 0.78fr) minmax(0, 1.22fr);
  gap: 1rem;
  align-items: start;
}

.contact-panel,
.contact-form {
  padding: 2rem;
}

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

.contact-list a {
  color: var(--red);
  font-weight: 900;
}

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

.form-row {
  display: grid;
  gap: 0.45rem;
}

.form-row.full,
.contact-form .btn,
.form-note {
  grid-column: 1 / -1;
}

label {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c9c1b5;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  padding: 0.9rem 1rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.88rem;
}

.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  margin-bottom: 5.5rem;
  padding: 2.4rem;
  background:
    linear-gradient(90deg, var(--yellow) 0 1rem, transparent 1rem),
    var(--black);
  color: var(--white);
}

.cta p {
  max-width: 46rem;
  margin-bottom: 0;
  color: #ddd6ca;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.55fr 1.25fr;
  gap: 3rem;
  padding: 3.5rem max(1rem, calc((100vw - var(--max)) / 2));
  background: var(--black);
  color: var(--white);
}

.site-footer h2 {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 0.94rem;
}

.site-footer a,
.site-footer p {
  display: block;
  margin-bottom: 0.55rem;
  color: #cfcfcf;
  font-size: 0.94rem;
}

.site-footer a:hover {
  color: var(--yellow);
}

.footer-brand {
  margin-bottom: 1rem;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 4.85rem;
    right: 1rem;
    display: none;
    width: min(22rem, calc(100vw - 2rem));
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    background: var(--black);
    box-shadow: var(--shadow);
  }

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

  .nav-cta {
    display: none;
  }

  .hero,
  .split,
  .service-detail,
  .contact-layout,
  .site-footer,
  .insight-grid,
  .insight-feature {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-right: max(1rem, calc((100vw - var(--max)) / 2));
  }

  .hero-visual {
    min-height: 24rem;
  }

  .metrics,
  .issue-grid,
  .card-grid,
  .journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    padding-inline: 0.75rem;
  }

  h1 {
    font-size: 3.1rem;
  }

  .page-hero h1,
  .section h2,
  .cta h2 {
    font-size: 2.2rem;
  }

  .metrics,
  .issue-grid,
  .card-grid,
  .journey-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .metrics {
    margin-top: 0;
    padding-top: 1rem;
  }

  .section,
  .page-hero {
    padding-block: 3.8rem;
  }

  .contact-panel,
  .contact-form,
  .service-detail,
  .cta {
    padding: 1.3rem;
  }

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