:root {
  --ink: #111111;
  --muted: #4c4c4c;
  --paper: #fbfaf6;
  --acid: #d8f25d;
  --cyan: #39c7d8;
  --pink: #e45b91;
  --violet: #4f46c8;
  --red: #e84a35;
  --black: #080808;
  --line: #111111;
  --shadow-hard: 6px 6px 0 #111111;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 26px 26px;
  font-family: Inter, Arial, sans-serif;
  line-height: 1.45;
}

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

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 20;
  width: min(1160px, calc(100% - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.88);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--line);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  padding-right: 8px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink);
  background: var(--acid);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 2px 2px 0 var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 900;
}

.nav a {
  padding: 8px 11px;
  border-radius: 999px;
}

.nav a:hover {
  background: var(--cyan);
}

.nav-cta {
  color: #fff;
  background: var(--black);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 130px clamp(18px, 5vw, 70px) 74px;
  color: #fff;
  background: var(--black);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    repeating-linear-gradient(105deg, rgba(216, 242, 93, 0.14) 0 2px, transparent 2px 22px),
    #080808;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background-image: url("assets/sports-card-operations-hero.png");
  background-position: 72% center;
  background-size: cover;
  clip-path: polygon(44% 0, 100% 0, 100% 100%, 34% 100%);
  filter: saturate(1.24) contrast(1.08);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 1) 0%, rgba(8, 8, 8, 0.88) 36%, rgba(8, 8, 8, 0.24) 74%),
    linear-gradient(0deg, rgba(228, 91, 145, 0.18), transparent 45%);
}

.hero-content {
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker,
.tool-label {
  width: fit-content;
  margin: 0 0 16px;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--acid);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--line);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 800px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 8rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  font-weight: 650;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 4px 4px 0 var(--line);
  font-weight: 950;
}

.button.primary {
  color: var(--ink);
  background: var(--acid);
}

.button.secondary {
  color: var(--ink);
  background: var(--cyan);
}

.hero-slab {
  position: absolute;
  right: clamp(18px, 5vw, 78px);
  bottom: 54px;
  width: min(300px, 38vw);
  padding: 18px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(23, 215, 255, 0.92) 35%, rgba(255, 74, 162, 0.9) 70%, rgba(215, 255, 52, 0.94)),
    #fff;
  border: 3px solid #fff;
  border-radius: 18px;
  outline: 2px solid var(--line);
  box-shadow: -7px 7px 0 var(--pink);
  transform: rotate(3deg);
}

.hero-slab span {
  display: block;
  padding: 10px 0;
  border-bottom: 2px solid rgba(17, 17, 17, 0.44);
  font-size: 1.2rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-slab .slab-tag {
  padding-top: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.platform-band {
  display: flex;
  gap: 0;
  overflow-x: auto;
  color: var(--ink);
  background: var(--acid);
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.platform-band span {
  min-width: max-content;
  padding: 16px clamp(22px, 5vw, 58px);
  border-right: 2px solid var(--line);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 950;
  text-transform: uppercase;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(66px, 10vw, 118px) 0;
}

h2 {
  max-width: 940px;
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 5.4vw, 5.3rem);
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 36px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 290px;
  padding: 24px;
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-hard);
}

.service-card:nth-child(1),
.service-card:nth-child(4) {
  grid-column: span 5;
}

.service-card:nth-child(2),
.service-card:nth-child(3) {
  grid-column: span 3;
}

.service-card:nth-child(1) {
  background: var(--cyan);
}

.service-card:nth-child(2) {
  background: #fff;
}

.service-card:nth-child(3) {
  background: var(--acid);
}

.service-card:nth-child(4) {
  background: var(--pink);
  color: #fff;
}

.card-icon {
  position: absolute;
  right: 18px;
  bottom: -28px;
  color: rgba(17, 17, 17, 0.16);
  font-size: 7.2rem;
  font-weight: 950;
  line-height: 1;
}

h3 {
  max-width: 440px;
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.8vw, 2.75rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-card p,
.process-list li {
  max-width: 420px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 750;
}

.tools {
  width: 100%;
  max-width: none;
  padding-left: max(18px, calc((100% - 1180px) / 2));
  padding-right: max(18px, calc((100% - 1180px) / 2));
  color: #fff;
  background:
    linear-gradient(90deg, rgba(255, 61, 40, 0.24) 0 16%, transparent 16% 100%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 18px),
    var(--black);
  border-top: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.tool-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 22px;
}

.tool-feature {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 42px);
  color: var(--ink);
  background: var(--paper);
  border: 2px solid #fff;
  border-radius: 18px;
  outline: 2px solid var(--line);
  box-shadow: 7px 7px 0 var(--cyan);
  transform: rotate(-0.7deg);
}

.tool-feature.accent {
  color: #fff;
  background: var(--violet);
  box-shadow: 7px 7px 0 var(--acid);
  transform: rotate(0.7deg);
}

.tool-feature h3 {
  font-size: clamp(3rem, 7vw, 6.8rem);
}

.tool-feature p {
  max-width: 560px;
  font-size: 1.08rem;
  font-weight: 750;
}

.tool-feature a {
  width: fit-content;
  padding: 12px 15px;
  color: var(--ink);
  background: var(--acid);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--line);
  font-weight: 950;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 220px;
  padding: 22px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 14px;
  box-shadow: 4px 4px 0 var(--line);
}

.process-list li:nth-child(odd) {
  transform: translateY(16px);
}

.process-list span {
  display: block;
  margin-bottom: 54px;
  color: var(--red);
  font-size: 1.35rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contact {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 28px;
  align-items: start;
  padding: clamp(52px, 8vw, 86px) max(18px, calc((100% - 1180px) / 2));
  color: var(--ink);
  background: var(--cyan);
  border-top: 2px solid var(--line);
}

.contact h2 {
  max-width: 860px;
}

.contact p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 750;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--line);
}

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

label {
  display: grid;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

textarea {
  resize: vertical;
}

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

.contact-form .button {
  width: fit-content;
  margin-top: 4px;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(18px, 5vw, 72px);
  color: #fff;
  background: var(--black);
  font-size: 0.92rem;
  font-weight: 750;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--acid);
  font-weight: 950;
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.response-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(17, 17, 17, 0.045) 1px, transparent 1px),
    var(--cyan);
  background-size: 26px 26px;
}

.response-card {
  width: min(760px, 100%);
  padding: clamp(24px, 5vw, 52px);
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 18px;
  box-shadow: 8px 8px 0 var(--line);
}

.response-card h1 {
  color: var(--ink);
  font-size: clamp(3rem, 8vw, 6.4rem);
}

.response-card p:not(.section-kicker) {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 750;
}

@media (max-width: 940px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    border-radius: 24px;
  }

  .nav {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .hero-media {
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
    opacity: 0.72;
  }

  .hero-slab {
    display: none;
  }

  .service-grid,
  .tool-layout,
  .form-row,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(n) {
    grid-column: auto;
  }

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

  .contact .button {
    width: fit-content;
  }
}

@media (max-width: 680px) {
  .site-header {
    display: block;
    top: 10px;
    width: calc(100% - 20px);
    padding: 12px;
  }

  .brand {
    margin-bottom: 10px;
  }

  .nav {
    justify-content: flex-start;
    gap: 4px;
    font-size: 0.78rem;
  }

  .nav a {
    padding: 6px 7px;
  }

  .hero {
    min-height: 820px;
    padding: 210px 16px 46px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(8, 8, 8, 0.98) 0%, rgba(8, 8, 8, 0.78) 68%, rgba(8, 8, 8, 0.2) 100%),
      linear-gradient(90deg, rgba(255, 74, 162, 0.28), transparent);
  }

  h1 {
    font-size: clamp(3.1rem, 16vw, 5.2rem);
  }

  h2 {
    font-size: clamp(2.6rem, 13vw, 4.7rem);
  }

  .button {
    width: 100%;
  }

  .platform-band span {
    padding: 13px 20px;
  }

  .service-card {
    min-height: 240px;
  }

  .tool-feature,
  .tool-feature.accent,
  .process-list li:nth-child(odd) {
    transform: none;
  }

  .process-list {
    grid-template-columns: 1fr;
  }

  .process-list li {
    min-height: 160px;
  }

  .process-list span {
    margin-bottom: 26px;
  }

  .site-footer {
    display: block;
  }

  .site-footer p {
    margin-bottom: 10px;
  }
}
