:root {
  --orange: #d05a3b;
  --charcoal: #2f3f41;
  --mid-gray: #6d6e71;
  --black: #0a0a0a;
  --white: #ffffff;
  --text-primary: rgba(255, 255, 255, 0.92);
  --text-secondary: rgba(255, 255, 255, 0.54);
  --text-tertiary: rgba(255, 255, 255, 0.28);
  --rule: rgba(255, 255, 255, 0.09);
  --font: "Neue Haas Grotesk Display Pro", "Neue Haas Grotesk Text Pro", "Neue Haas Grotesk", "Helvetica Neue", Figtree, Arial, sans-serif;
  --max: 1200px;
  --pad: clamp(24px, 5vw, 64px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  padding-top: 128px;
  background: var(--black);
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    url("assets/second-order-mark-black.png");
  background-size: 72px 72px, 72px 72px, min(54vw, 760px) auto;
  background-position: 0 0, 0 0, calc(100% + 120px) 112px;
  background-repeat: repeat, repeat, no-repeat;
  opacity: 0.32;
}

body::selection {
  background: var(--orange);
  color: var(--white);
}

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

ul {
  list-style: none;
}

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

header {
  position: relative;
  z-index: 300;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.eyebrow {
  display: block;
  margin-bottom: 20px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  border-bottom: 1px solid var(--rule);
  background: rgba(10, 10, 10, 0.68);
  backdrop-filter: blur(18px) saturate(0.85);
  -webkit-backdrop-filter: blur(18px) saturate(0.85);
}

#nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 72px);
  min-height: 128px;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
}

.logo-mark {
  display: block;
  width: 58px;
  height: auto;
  flex: 0 0 auto;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-name {
  color: var(--text-primary);
  font-size: clamp(20px, 1.45vw, 24px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}

.logo-sub {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.38);
  font-size: clamp(11px, 0.82vw, 14px);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta,
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.nav-cta {
  padding: 9px 22px;
}

.btn-primary {
  padding: 14px 32px;
}

.nav-cta:hover,
.btn-primary:hover {
  opacity: 0.84;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 128px;
  left: 0;
  right: 0;
  z-index: 190;
  flex-direction: column;
  background: var(--black);
  border-bottom: 1px solid var(--rule);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 16px var(--pad);
  border-bottom: 1px solid var(--rule);
  color: var(--text-secondary);
  font-size: 14px;
}

.mobile-menu .mob-cta {
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.05em;
}

#hero {
  padding: clamp(72px, 10vw, 120px) 0 clamp(64px, 9vw, 108px);
  border-bottom: 1px solid var(--rule);
}

#hero h1 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: clamp(38px, 5.6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.04;
}

#hero h1 em,
.section-header h2 em,
#cta h2 em,
.point-cell em {
  color: var(--orange);
  font-style: normal;
}

.hero-body {
  max-width: 620px;
  margin-bottom: 44px;
  color: var(--text-secondary);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.btn-ghost {
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text-secondary);
  font-size: 13px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.5);
}

.point-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.point-header {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: 0;
}

.point-cell {
  padding: clamp(28px, 3vw, 44px);
  border-right: 1px solid var(--rule);
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.72;
}

.point-cell:last-child {
  border-right: 0;
}

.point-cell strong {
  color: var(--text-primary);
  font-weight: 600;
}

.section {
  padding: clamp(56px, 7vw, 96px) 0;
  border-bottom: 1px solid var(--rule);
}

.section-header {
  margin-bottom: clamp(36px, 4vw, 56px);
}

.section-header h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.section-intro {
  max-width: 560px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.72;
}

.clients-grid,
.engage-grid {
  display: grid;
  gap: 1px;
  background: var(--rule);
}

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

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

.client-card,
.engage-card {
  background: rgba(10, 10, 10, 0.86);
  padding: clamp(28px, 3vw, 44px);
}

.client-card {
  position: relative;
}

.client-card .eyebrow,
.engage-card .eyebrow {
  margin-bottom: 12px;
}

.client-num {
  position: absolute;
  top: 28px;
  right: 32px;
  color: var(--text-tertiary);
  font-size: 48px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
}

.client-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 500;
}

.client-buyers {
  margin-bottom: 16px;
  color: var(--mid-gray);
  font-size: 11px;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.client-card p,
.engage-card p,
.case-row-text,
.about-body,
.diff-list li,
#cta p {
  color: var(--text-secondary);
}

.client-card p {
  max-width: 390px;
  font-size: 13px;
  line-height: 1.7;
}

.engage-card {
  display: flex;
  flex-direction: column;
}

.engage-card h3 {
  margin-bottom: 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.engage-card p {
  flex: 1;
  font-size: 13px;
  line-height: 1.7;
}

.engage-format {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  color: var(--mid-gray);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-card {
  border: 1px solid var(--rule);
  background: rgba(10, 10, 10, 0.64);
  padding: clamp(28px, 3vw, 44px);
}

.case-context {
  display: block;
  margin-bottom: 20px;
  color: var(--mid-gray);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-card h3 {
  margin-bottom: 24px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}

.case-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.case-row-label {
  padding-top: 3px;
  color: var(--mid-gray);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-row-text {
  font-size: 13px;
  line-height: 1.65;
}

.case-result {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  color: var(--orange);
  font-size: 12px;
  line-height: 1.65;
}

.inner-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

#about h2 {
  margin-bottom: 20px;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.about-body {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.78;
}

.creds {
  margin-top: 36px;
}

.cred-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--rule);
}

.cred-org {
  color: var(--orange);
  font-size: 11px;
}

.cred-role {
  color: var(--text-secondary);
  font-size: 11px;
  line-height: 1.5;
}

.pull-quote {
  margin-bottom: 36px;
  padding-left: 24px;
  border-left: 3px solid var(--orange);
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 300;
  line-height: 1.5;
}

.diff-list li {
  position: relative;
  padding: 13px 0 13px 18px;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
  line-height: 1.65;
}

.diff-list li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--orange);
}

#cta {
  padding: clamp(72px, 10vw, 120px) 0;
  text-align: center;
}

#cta h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

#cta p {
  max-width: 460px;
  margin: 0 auto 40px;
  font-size: 15px;
  line-height: 1.72;
}

.contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px, 4vw, 60px);
  margin-top: 48px;
}

.ci-label {
  margin-bottom: 6px;
  color: var(--mid-gray);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-item a {
  color: var(--text-primary);
  font-size: 13px;
  transition: color 0.2s;
}

.contact-item a:hover {
  color: var(--orange);
}

footer {
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}

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

footer p,
footer a {
  color: var(--mid-gray);
  font-size: 11px;
}

footer a:hover {
  color: var(--text-primary);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (max-width: 900px) {
  body::before {
    background-size: 72px 72px, 72px 72px, 96vw auto;
    background-position: 0 0, 0 0, 50vw 8rem;
  }

  .point-strip,
  .clients-grid,
  .engage-grid,
  .cases-grid,
  .inner-about {
    grid-template-columns: 1fr;
  }

  .point-cell {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .point-cell:last-child {
    border-bottom: 0;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}

@media (max-width: 560px) {
  body {
    padding-top: 92px;
  }

  #nav .inner {
    min-height: 92px;
  }

  .logo-mark {
    width: 42px;
  }

  .logo-name {
    font-size: 18px;
  }

  .logo-sub {
    font-size: 10px;
  }

  .mobile-menu {
    top: 92px;
  }

  #hero h1 {
    font-size: clamp(42px, 15vw, 72px);
  }

  .hero-actions,
  .contact-row {
    align-items: stretch;
    flex-direction: column;
  }

  .btn-primary {
    text-align: center;
  }

  .case-row,
  .cred-row {
    grid-template-columns: 1fr;
  }
}
