:root {
  --ink: #060b0e;
  --ink-soft: #0c1317;
  --panel: #11191d;
  --panel-2: #141d22;
  --line: #273239;
  --green: #45d900;
  --green-bright: #58f20e;
  --white: #f2f5f5;
  --muted: #929da4;
  --shell: min(1344px, calc(100vw - 96px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--ink); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  height: 94px;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(215, 225, 228, .2);
}

.brand-link { display: inline-flex; align-items: center; }
.brand-mark { display: block; width: 224px; height: 52px; overflow: hidden; }
.brand-mark img {
  width: 230px;
  max-width: none;
  height: auto;
  transform: translateY(-34px);
  filter: invert(1) hue-rotate(180deg) contrast(1.18) saturate(1.1);
  mix-blend-mode: screen;
}

.desktop-nav { display: flex; align-items: center; gap: 54px; }
.desktop-nav a {
  position: relative;
  font-size: 15px;
  font-weight: 600;
  color: #e4e9e9;
  transition: color .25s ease;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -12px;
  height: 2px;
  background: var(--green);
  transition: right .25s ease;
}
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: var(--green-bright); }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { right: 0; }
.mobile-nav { display: none; }

.hero {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  padding-top: 94px;
  background: #050a0d;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #050a0d 0%, rgba(5,10,13,.97) 23%, rgba(5,10,13,.4) 57%, rgba(5,10,13,.08) 100%),
    linear-gradient(0deg, #050a0d 0%, transparent 24%);
}

.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 27%;
  background: url("kasson-hero.png") center right / cover no-repeat;
}

.hero-grid {
  position: absolute;
  z-index: -1;
  inset: 94px 0 0 46%;
  opacity: .17;
  background-image:
    linear-gradient(rgba(255,255,255,.17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.17) 1px, transparent 1px);
  background-size: 176px 176px;
  mask-image: linear-gradient(90deg, transparent, black 28%, transparent 86%);
}

.hero-content {
  flex: 1;
  position: relative;
  z-index: 2;
  padding-top: 86px;
  padding-bottom: 54px;
}

.eyebrow, .section-kicker {
  margin: 0 0 24px;
  color: var(--green-bright);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
}
.eyebrow { display: flex; align-items: center; gap: 12px; color: #aeb9bd; }
.eyebrow span { width: 42px; height: 2px; background: var(--green); box-shadow: 0 0 18px rgba(69,217,0,.7); }

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(58px, 5.5vw, 78px);
  line-height: .99;
  letter-spacing: -.055em;
  font-weight: 720;
}

.hero-copy {
  max-width: 570px;
  margin: 34px 0 30px;
  color: #a1abb0;
  font-size: 20px;
  line-height: 1.55;
}

.primary-button {
  width: fit-content;
  min-width: 316px;
  min-height: 66px;
  padding: 0 28px 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--green);
  color: #071006;
  font-size: 17px;
  font-weight: 800;
  border: 1px solid var(--green);
  box-shadow: 0 0 0 rgba(69,217,0,0);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}
.primary-button span { font-size: 26px; transition: transform .25s ease; }
.primary-button:hover, .primary-button:focus-visible {
  transform: translateY(-2px);
  background: var(--green-bright);
  box-shadow: 0 12px 40px rgba(69,217,0,.17);
}
.primary-button:hover span, .primary-button:focus-visible span { transform: translateX(5px); }

.audience-line { display: flex; align-items: center; gap: 13px; margin: 26px 0 0; color: #8e999e; font-size: 16px; }
.audience-line i { width: 4px; height: 4px; background: var(--green); border-radius: 50%; }

.section { padding: 132px 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .7fr); gap: 80px; align-items: end; margin-bottom: 64px; }
.section-heading .section-kicker { grid-column: 1 / -1; margin-bottom: -48px; }
.section-heading h2, .contact h2, .process h2 {
  margin: 0;
  font-size: clamp(42px, 4.4vw, 64px);
  line-height: 1.03;
  letter-spacing: -.045em;
  font-weight: 680;
}
.section-heading > p:not(.section-kicker), .process-intro > p:last-child, .contact-copy > p:not(.section-kicker) {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}

.services { background: #091014; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card {
  min-height: 330px;
  padding: 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(17,25,29,.55);
  transition: background .3s ease, transform .3s ease, border-color .3s ease;
}
.service-card:hover { background: var(--panel-2); transform: translateY(-4px); border-color: rgba(69,217,0,.55); }
.card-topline { display: flex; align-items: center; justify-content: space-between; color: var(--green); font-size: 12px; letter-spacing: .16em; }
.card-topline i { width: 9px; height: 9px; border: 1px solid var(--green); border-radius: 50%; }
.service-card h3 { margin: 82px 0 18px; font-size: 25px; letter-spacing: -.025em; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.7; font-size: 15px; }

.solutions { background: var(--ink); }
.split-heading { align-items: end; }
.split-heading .section-kicker { grid-column: auto; margin-bottom: 24px; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.audience-card {
  position: relative;
  min-height: 520px;
  padding: 36px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #121a1f, #0b1115);
}
.audience-card::after {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  right: -155px;
  bottom: -155px;
  border: 1px solid rgba(69,217,0,.34);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(69,217,0,.025), 0 0 0 96px rgba(69,217,0,.02);
  transition: transform .5s ease;
}
.audience-card:hover::after { transform: scale(1.12); }
.audience-index { color: #68747a; font-size: 12px; letter-spacing: .18em; }
.audience-label { margin: 116px 0 14px !important; color: var(--green) !important; font-size: 12px !important; text-transform: uppercase; letter-spacing: .18em; font-weight: 800; }
.audience-card h3 { margin: 0 0 18px; max-width: 320px; font-size: 28px; line-height: 1.2; letter-spacing: -.025em; }
.audience-card > p:last-of-type { margin: 0; max-width: 330px; color: var(--muted); line-height: 1.65; font-size: 15px; }
.audience-card a { margin-top: auto; width: fit-content; color: #dce4e1; font-size: 14px; font-weight: 700; border-bottom: 1px solid #536158; padding-bottom: 6px; position: relative; z-index: 2; }
.audience-card a span { color: var(--green); margin-left: 8px; }

.process { background: #0a1115; border-top: 1px solid var(--line); }
.process-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 110px; }
.process-intro { position: sticky; top: 70px; align-self: start; }
.process-intro > p:last-child { margin-top: 28px; max-width: 500px; }
.step-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.step-list li { display: grid; grid-template-columns: 70px 1fr; gap: 30px; padding: 33px 0; border-bottom: 1px solid var(--line); }
.step-list li > span { color: var(--green); font-size: 12px; letter-spacing: .15em; padding-top: 5px; }
.step-list h3 { margin: 0 0 9px; font-size: 21px; }
.step-list p { margin: 0; color: var(--muted); line-height: 1.6; }

.contact { padding: 138px 0; background: var(--white); color: #0b1114; }
.contact-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 110px; align-items: center; }
.contact .section-kicker { color: #298d00; }
.contact-copy > p:not(.section-kicker) { color: #5e686d; max-width: 630px; margin-top: 28px; }
.contact-actions { display: flex; align-items: center; gap: 32px; margin-top: 38px; }
.contact .primary-button { min-width: 210px; }
.text-link { color: #152019; font-weight: 750; border-bottom: 1px solid #7d8d82; padding: 10px 0 8px; }
.text-link span { color: #298d00; margin-left: 10px; }
.contact-card { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #cdd4d0; background: #fff; }
.contact-block { min-height: 310px; padding: 34px; display: flex; flex-direction: column; }
.contact-block + .contact-block { border-left: 1px solid #cdd4d0; background: #f2f4f2; }
.contact-block > p { margin: 0 0 42px; color: #65706b; font-size: 11px; text-transform: uppercase; font-weight: 800; letter-spacing: .16em; }
.contact-block h3 { margin: 0 0 24px; font-size: 22px; }
.contact-block a, .contact-block span, .contact-block address { color: #303a35; font-size: 14px; line-height: 1.9; font-style: normal; }
.contact-block a:hover { color: #298d00; }
.billing address { margin-bottom: 18px; }

footer { background: #05090b; }
.footer-main { min-height: 160px; display: grid; grid-template-columns: 240px 1fr auto; align-items: center; gap: 56px; border-bottom: 1px solid var(--line); }
.footer-main p { margin: 0; color: #707c82; font-size: 14px; }
.footer-main > a { color: #aab4b7; font-size: 13px; }
.footer-bottom { min-height: 72px; display: flex; justify-content: space-between; align-items: center; color: #667278; font-size: 12px; }

a:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }

@media (max-width: 1050px) {
  :root { --shell: min(100% - 48px, 940px); }
  .desktop-nav { gap: 26px; }
  .hero-media { left: 12%; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading, .contact-grid { gap: 52px; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-card { min-height: 370px; }
  .audience-label { margin-top: 70px !important; }
  .process-layout { gap: 64px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 36px); }
  .site-header { height: 78px; }
  .brand-mark { width: 184px; height: 42px; }
  .brand-mark img { width: 190px; transform: translateY(-28px); }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { width: 44px; height: 44px; list-style: none; display: grid; place-content: center; gap: 5px; cursor: pointer; border: 1px solid var(--line); }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { display: block; width: 19px; height: 1px; background: #eef2f2; }
  .mobile-nav nav { position: absolute; top: 54px; right: 0; width: 220px; padding: 12px; display: grid; background: #0b1216; border: 1px solid var(--line); box-shadow: 0 18px 42px rgba(0,0,0,.45); }
  .mobile-nav nav a { padding: 14px; border-bottom: 1px solid var(--line); font-weight: 650; }
  .mobile-nav nav a:last-child { border-bottom: 0; }

  .hero { min-height: 820px; padding-top: 78px; }
  .hero::before { background: linear-gradient(90deg, rgba(5,10,13,.96), rgba(5,10,13,.61)), linear-gradient(0deg, #050a0d 0%, transparent 34%); }
  .hero-media { inset: 78px 0 0 0; opacity: .7; background-position: 69% center; }
  .hero-grid { display: none; }
  .hero-content { padding-top: 66px; padding-bottom: 50px; }
  .eyebrow { font-size: 10px; margin-bottom: 22px; }
  .hero h1 { font-size: clamp(45px, 13vw, 62px); max-width: 600px; }
  .hero-copy { font-size: 17px; max-width: 470px; margin: 28px 0; }
  .primary-button { min-width: min(100%, 316px); }
  .audience-line { flex-wrap: wrap; font-size: 14px; }
  .section { padding: 88px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; margin-bottom: 42px; }
  .section-heading .section-kicker { margin: 0 0 3px; }
  .section-heading h2, .contact h2, .process h2 { font-size: clamp(38px, 10vw, 52px); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 280px; }
  .service-card h3 { margin-top: 60px; }
  .split-heading .section-kicker { margin-bottom: 20px; }
  .audience-card { padding: 28px; min-height: 390px; }
  .process-layout { grid-template-columns: 1fr; gap: 44px; }
  .process-intro { position: static; }
  .step-list li { grid-template-columns: 44px 1fr; gap: 18px; }

  .contact { padding: 92px 0; }
  .contact-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-block { min-height: auto; }
  .contact-block + .contact-block { border-left: 0; border-top: 1px solid #cdd4d0; }
  .contact-block > p { margin-bottom: 28px; }

  .footer-main { grid-template-columns: 1fr; gap: 22px; padding: 42px 0; }
  .footer-main > a { justify-self: start; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; }
}

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