:root {
  --yellow: #ffd500;
  --yellow-soft: #ffe45b;
  --black: #101010;
  --gray-900: #1c1c1c;
  --gray-700: #4c4c4c;
  --gray-200: #dedede;
  --gray-100: #f2f2f0;
  --white: #ffffff;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: inline-flex; align-items: center; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 30px; letter-spacing: .03em; }
.brand-mark { background: var(--yellow); padding: 5px 9px; line-height: 1; }
.brand-name { padding-left: 6px; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 700; }
.main-nav a:not(.nav-cta):hover { box-shadow: inset 0 -3px 0 var(--yellow); }
.nav-cta { background: var(--black); color: white; padding: 13px 18px; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle span { display: block; width: 25px; height: 2px; background: var(--black); margin: 5px; }

.hero {
  min-height: 690px;
  background: var(--yellow);
  position: relative;
  overflow: hidden;
  padding: 110px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  align-items: center;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,0,0,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.08) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to right, transparent, black 42%, black);
}
.hero::after {
  content: "";
  position: absolute;
  right: -130px; bottom: -260px;
  width: 680px; height: 680px;
  border: 95px solid rgba(0,0,0,.1);
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 2; max-width: 850px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; margin: 0 0 18px; }
h1, h2, h3 { font-family: "Barlow Condensed", sans-serif; line-height: .98; margin-top: 0; }
h1 { font-size: clamp(64px, 8.7vw, 126px); max-width: 970px; margin-bottom: 28px; letter-spacing: -.025em; }
.hero-copy { font-size: clamp(18px, 2vw, 24px); max-width: 730px; margin: 0 0 38px; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 54px; padding: 0 24px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 6px 6px 0 rgba(0,0,0,.18); }
.button-dark { background: var(--black); color: var(--white); }
.button-light { background: var(--white); color: var(--black); }
.text-link { font-weight: 800; border-bottom: 2px solid var(--black); }
.text-link span { margin-left: 8px; }
.hero-panel { position: absolute; z-index: 3; right: max(24px, calc((100vw - var(--max)) / 2)); bottom: 0; background: var(--black); color: white; padding: 24px 28px; width: min(430px, calc(100% - 48px)); display: flex; gap: 20px; }
.panel-number { color: var(--yellow); font: 800 28px/1 "Barlow Condensed"; }
.hero-panel strong, .hero-panel span { display: block; }
.hero-panel span { color: #c9c9c9; font-size: 13px; margin-top: 3px; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); max-width: var(--max); margin: 0 auto; border-left: 1px solid var(--gray-200); }
.facts article { padding: 42px 36px; border-right: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.facts strong { display: block; font: 800 31px/1 "Barlow Condensed"; margin-bottom: 10px; }
.facts span { color: var(--gray-700); font-size: 14px; }

.section { max-width: var(--max); margin: 0 auto; padding: 120px 24px; }
.section-heading { display: grid; grid-template-columns: .75fr 2fr; gap: 30px; margin-bottom: 58px; }
h2 { font-size: clamp(46px, 6vw, 78px); letter-spacing: -.015em; margin-bottom: 25px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--gray-200); border-left: 1px solid var(--gray-200); }
.card { min-height: 330px; padding: 34px; border-right: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); transition: background .2s ease, transform .2s ease; }
.card:hover { background: var(--yellow); transform: translateY(-5px); }
.card-index { display: block; font-weight: 800; margin-bottom: 72px; }
.card h3 { font-size: 34px; margin-bottom: 20px; }
.card p { color: var(--gray-700); }
.card:hover p { color: var(--black); }

.solutions { background: var(--black); color: white; padding: 120px max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: .9fr 1.35fr; gap: 80px; }
.solutions-copy { position: sticky; top: 130px; align-self: start; }
.solutions-copy p:last-child { color: #bdbdbd; max-width: 520px; }
.solution-list { border-top: 1px solid #383838; }
.solution-list article { padding: 32px 0; border-bottom: 1px solid #383838; display: grid; grid-template-columns: 55px 1fr; gap: 22px; }
.solution-list > article > span { color: var(--yellow); font-weight: 800; }
.solution-list h3 { font-size: 34px; margin-bottom: 10px; }
.solution-list p { margin: 0; color: #bdbdbd; }

.about { display: grid; grid-template-columns: 1fr 1.5fr; align-items: center; gap: 90px; }
.about-badge { aspect-ratio: 1; display: grid; place-items: center; background: var(--yellow); font: 800 clamp(70px, 10vw, 150px)/1 "Barlow Condensed"; }
.about-copy > p:not(.eyebrow) { font-size: 18px; color: var(--gray-700); }
.about-copy ul { list-style: none; padding: 0; margin-top: 35px; }
.about-copy li { padding: 15px 0 15px 28px; border-top: 1px solid var(--gray-200); position: relative; }
.about-copy li::before { content: "→"; position: absolute; left: 0; font-weight: 800; }

.contact { background: var(--yellow); padding: 105px max(24px, calc((100vw - var(--max)) / 2)); display: grid; grid-template-columns: 1.5fr .75fr; gap: 80px; align-items: end; }
.contact h2 { margin-bottom: 0; }
.contact-action p { font-size: 14px; margin-top: 24px; }

footer { max-width: var(--max); margin: auto; min-height: 150px; padding: 38px 24px; display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 30px; font-size: 13px; }
footer div { display: flex; gap: 20px; }

@media (max-width: 850px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 84px; left: 0; right: 0; background: white; padding: 25px; flex-direction: column; align-items: stretch; gap: 16px; border-bottom: 1px solid var(--gray-200); }
  .main-nav.open { display: flex; }
  .hero { min-height: 720px; padding-top: 80px; align-items: start; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .facts, .cards, .section-heading, .solutions, .about, .contact { grid-template-columns: 1fr; }
  .facts article { padding: 28px 24px; }
  .section { padding-top: 85px; padding-bottom: 85px; }
  .section-heading { gap: 0; }
  .card { min-height: 250px; }
  .card-index { margin-bottom: 38px; }
  .solutions { gap: 35px; padding-top: 85px; padding-bottom: 85px; }
  .solutions-copy { position: static; }
  .about { gap: 45px; }
  .about-badge { max-width: 430px; width: 100%; }
  .contact { gap: 35px; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .site-header { height: 72px; }
  .main-nav { top: 72px; }
  .hero { min-height: 760px; }
  h1 { font-size: 58px; }
  .hero-panel { left: 24px; right: 24px; width: auto; }
  .facts { grid-template-columns: 1fr; }
  .button { width: 100%; }
  footer div { flex-direction: column; gap: 8px; }
}
