:root {
  --bg: #ffffff;
  --text: #050505;
  --muted: #6f6f6f;
  --line: rgba(5, 5, 5, 0.1);
  --line-strong: rgba(5, 5, 5, 0.18);
  --panel: #fafafa;
  --max: 1400px;
  --serif: "Baskerville Display PT", "Libre Baskerville", Baskerville, serif;
  --sans: "Poppins", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color-scheme: light;
}

body {
  min-height: 100vh;
  background: #fff;
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

.page-shell {
  width: min(var(--max), calc(100% - 136px));
  margin: 0 auto;
  padding: 28px 0 104px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 6px 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 180px;
}

.brand-logo {
  width: 100%;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.site-nav a,
.inline-link,
.contact-link,
.button-primary,
.button-secondary {
  font-size: 0.92rem;
}

.site-nav a {
  color: var(--muted);
  transition: color 0.25s ease;
}

.site-nav a:hover,
.inline-link:hover,
.contact-link:hover {
  color: var(--text);
}

.hero,
.trust-strip,
.impact-section,
.stack-section,
.results-section,
.contact-section {
  border-top: 1px solid var(--line-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(300px, 0.64fr);
  gap: 18px;
  align-items: center;
  padding: 56px 0 88px;
}

.eyebrow,
.feature-kicker,
.work-label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 500;
}

.hero h1,
.impact-copy h2,
.feature-copy h2,
.results-head h2,
.contact-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.hero h1 {
  margin: 18px 0 22px;
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  max-width: none;
  white-space: nowrap;
}

.hero-text,
.impact-card p,
.feature-text,
.feature-list li,
.contact-copy p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

.hero-text {
  max-width: 29rem;
}

.hero-copy {
  display: grid;
  justify-items: start;
  text-align: left;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button-primary,
.button-secondary,
.inline-link,
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button-primary,
.button-secondary {
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--text);
}

.button-primary {
  background: #050505;
  color: #fff;
}

.button-secondary {
  background: transparent;
}

.hero-dashboard {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(210px, 228px);
  gap: 12px;
  max-width: 430px;
  margin-left: 0;
}

.dashboard-card {
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.dashboard-image {
  grid-row: span 2;
  min-height: 330px;
}

.dashboard-image img {
  height: 100%;
  object-fit: cover;
}

.dashboard-metric,
.dashboard-mini {
  padding: 18px;
}

.dashboard-metric span,
.dashboard-mini span {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dashboard-metric strong,
.dashboard-mini strong,
.impact-card strong,
.result-big-number,
.result-stats strong {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.05em;
}

.dashboard-metric strong {
  display: block;
  margin: 10px 0 10px;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 0.9;
  white-space: nowrap;
}

.dashboard-metric p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.dashboard-mini {
  display: grid;
  gap: 18px;
}

.dashboard-mini strong {
  display: block;
  margin-top: 8px;
  font-size: 1.4rem;
  line-height: 0.95;
}

.trust-strip {
  overflow: hidden;
  padding: 18px 0;
}

.trust-marquee {
  display: flex;
  gap: 42px;
  width: max-content;
  animation: drift 32s linear infinite;
}

.trust-marquee span {
  color: var(--muted);
  font-size: 0.94rem;
  white-space: nowrap;
}

.impact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  padding: 56px 0 88px;
}

.impact-copy h2 {
  margin-top: 14px;
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
  max-width: 12ch;
}

.impact-copy,
.results-head,
.contact-head {
  display: grid;
  justify-items: center;
  text-align: center;
}

.impact-copy-left {
  justify-items: start;
  text-align: left;
}

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

.impact-card {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 22px;
}

.impact-graphic {
  margin-bottom: 18px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.impact-graphic-bars {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 112px;
  padding: 16px;
}

.impact-graphic-bars span {
  flex: 1;
  background: linear-gradient(180deg, #1b1b1b, #7b7b7b);
}

.impact-graphic-bars span:nth-child(1) { height: 42%; }
.impact-graphic-bars span:nth-child(2) { height: 78%; }
.impact-graphic-bars span:nth-child(3) { height: 58%; }

.impact-graphic-rings {
  position: relative;
  height: 112px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, transparent 0 16%, rgba(5, 5, 5, 0.08) 16.4% 17%, transparent 17.4% 31%, rgba(5, 5, 5, 0.08) 31.4% 32%, transparent 32.4% 47%, rgba(5, 5, 5, 0.08) 47.4% 48%, transparent 48.4% 100%);
}

.impact-graphic-rings span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #111;
}

.impact-graphic-wave {
  position: relative;
  height: 112px;
  display: grid;
  place-items: center;
}

.impact-graphic-wave::before {
  content: "";
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 10% 80%, #111 0 3px, transparent 3px),
    linear-gradient(180deg, transparent 40%, rgba(5, 5, 5, 0.05) 40% 42%, transparent 42%),
    repeating-linear-gradient(135deg, rgba(5, 5, 5, 0.08) 0 2px, transparent 2px 14px);
  opacity: 0.8;
}

.impact-card strong {
  display: block;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 0.92;
}

.impact-card span {
  display: block;
  margin: 10px 0 10px;
  font-size: 0.88rem;
  font-weight: 500;
}

.stack-section {
  padding: 44px 0 92px;
}

.feature-block {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.feature-block.reverse {
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 0.9fr);
}

.feature-block.reverse .feature-copy {
  order: 2;
}

.feature-block.reverse .feature-media {
  order: 1;
}

.feature-copy h2 {
  margin: 12px 0 16px;
  font-size: clamp(2.1rem, 4.2vw, 3.8rem);
  max-width: 12ch;
}

.feature-text {
  max-width: 40rem;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 22px;
  padding-left: 18px;
}

.feature-media {
  min-height: 290px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--panel);
}

.feature-media img {
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.inline-link,
.contact-link {
  width: fit-content;
  border-bottom: 1px solid var(--text);
  padding-bottom: 4px;
}

.results-section {
  padding: 56px 0 92px;
}

.results-head h2 {
  margin-top: 14px;
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
  max-width: 12ch;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.result-card {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.result-big-number {
  font-size: clamp(3rem, 5.6vw, 5rem);
  line-height: 0.9;
}

.result-subtitle {
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.result-chart {
  border: 1px solid var(--line);
  background: #fff;
}

.result-chart-bars {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.chart-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.chart-row span {
  color: var(--muted);
  font-size: 0.82rem;
}

.chart-track {
  height: 34px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.04) 0 1px, transparent 1px 25%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.04) 0 1px, transparent 1px 50%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.04) 0 1px, transparent 1px 75%),
    #f7f7f7;
}

.chart-fill {
  height: 100%;
  background: linear-gradient(90deg, #050505, #3b3b3b);
  transform-origin: left center;
  animation: growBar 1.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.fill-a { width: 88%; }
.fill-b { width: 82%; }
.fill-c { width: 61%; }

.result-chart-rings {
  min-height: 240px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, transparent 0 22%, rgba(5, 5, 5, 0.06) 22.2% 23%, transparent 23.2% 34%, rgba(5, 5, 5, 0.06) 34.2% 35%, transparent 35.2% 47%, rgba(5, 5, 5, 0.06) 47.2% 48%, transparent 48.2% 60%, rgba(5, 5, 5, 0.06) 60.2% 61%, transparent 61.2% 100%);
}

.rings-core {
  display: grid;
  gap: 6px;
  place-items: center;
  text-align: center;
}

.rings-core strong {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 0.95;
}

.rings-core span {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

.result-stats div {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.result-stats strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
}

.result-stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.84rem;
}

.contact-section {
  padding: 56px 0 0;
}

.contact-head {
  position: relative;
  min-height: 420px;
  margin-bottom: 30px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #111;
  display: grid;
  place-items: center;
}

.contact-head-media {
  position: absolute;
  inset: 0;
}

.contact-head-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  filter: grayscale(1) contrast(1.05) brightness(0.7);
}

.contact-head-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 42px 32px;
}

.contact-head .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.contact-head h2 {
  margin-top: 14px;
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
  max-width: 15ch;
  color: #fff;
}

.contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-copy {
  display: grid;
  gap: 14px;
  max-width: 42rem;
}

.contact-details {
  display: grid;
  align-content: start;
  gap: 14px;
}

.contact-note {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 4px;
}

.contact-socials a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

.contact-socials a:hover {
  color: var(--text);
}

.hero-image:hover img,
.feature-media:hover img {
  transform: scale(1.04);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 38px, 0);
  transition:
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal[data-reveal="fade-left"] {
  transform: translate3d(34px, 0, 0);
}

.reveal[data-reveal="zoom-in"] {
  transform: scale(0.94);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes growBar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .trust-marquee {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1100px) {
  .hero,
  .impact-section,
  .feature-block,
  .feature-block.reverse,
  .contact-row {
    grid-template-columns: 1fr;
  }

  .feature-block.reverse .feature-copy,
  .feature-block.reverse .feature-media {
    order: initial;
  }

  .impact-metrics,
  .results-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-dashboard {
    max-width: 100%;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: min(calc(100% - 32px), var(--max));
    padding: 20px 0 72px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 20px;
  }

  .site-nav {
    gap: 10px 16px;
  }

  .hero-dashboard,
  .result-stats {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 24px;
    padding: 36px 0 56px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 11vw, 4.2rem);
    line-height: 0.94;
  }

  .hero-text {
    font-size: 0.94rem;
    line-height: 1.7;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .button-primary,
  .button-secondary {
    width: 100%;
  }

  .dashboard-metric strong {
    white-space: normal;
  }

  .dashboard-card,
  .impact-card,
  .result-card,
  .contact-head,
  .contact-media,
  .feature-media {
    border-radius: 0;
  }

  .dashboard-image {
    min-height: 300px;
  }

  .dashboard-metric,
  .dashboard-mini,
  .impact-card,
  .result-card {
    padding: 16px;
  }

  .impact-section,
  .stack-section,
  .results-section,
  .contact-section {
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .impact-copy h2,
  .results-head h2,
  .contact-head h2 {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 0.96;
  }

  .feature-copy h2 {
    font-size: clamp(1.9rem, 7vw, 2.8rem);
    line-height: 0.98;
  }

  .feature-media {
    min-height: 240px;
  }

  .contact-head {
    min-height: 260px;
  }

  .hero h1,
  .impact-copy h2,
  .feature-copy h2,
  .results-head h2,
  .contact-head h2 {
    max-width: none;
  }

  .hero h1 {
    white-space: normal;
  }

  .result-stats {
    gap: 10px;
  }

  .result-stats strong {
    font-size: 1.3rem;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--max));
  }

  .eyebrow,
  .feature-kicker,
  .work-label {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .chart-row {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 8px;
  }

  .contact-head-content {
    padding: 28px 18px;
  }
}
