:root {
  --cream: #fffdf5;
  --ink: #000000;
  --brand: #ce4e4d;
  --brand-dark: #9f3635;
  --yellow: #ffd93d;
  --violet: #c4b5fd;
  --white: #ffffff;
  --shadow-sm: 4px 4px 0 #000000;
  --shadow-md: 8px 8px 0 #000000;
  --shadow-lg: 12px 12px 0 #000000;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  overflow-x: clip;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

p,
li,
span,
strong,
summary {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  overflow-wrap: normal;
  word-break: normal;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 4px solid var(--ink);
  background: var(--cream);
}

.header-actions {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex: 0 0 auto;
}

.language-select {
  position: relative;
  display: flex;
  min-width: 82px;
}

.language-select::after {
  position: absolute;
  top: 50%;
  right: 12px;
  content: "▼";
  font-size: 0.7rem;
  pointer-events: none;
  transform: translateY(-50%);
}

.language-select select {
  width: 100%;
  min-height: 52px;
  appearance: none;
  border: 4px solid var(--ink);
  border-radius: 0;
  background: var(--yellow);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  padding: 0 34px 0 14px;
  text-transform: uppercase;
}

.language-select select:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-logo,
.nav-cta,
.button {
  border: 4px solid var(--ink);
  background: var(--brand);
  box-shadow: var(--shadow-sm);
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-logo {
  display: inline-flex;
  width: 170px;
  min-width: 150px;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
}

.brand-logo img {
  width: 100%;
  height: 70px;
  object-fit: contain;
  background: var(--brand);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  min-width: 0;
}

nav a {
  border: 2px solid transparent;
  padding: 8px 10px;
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover {
  border-color: var(--ink);
  background: var(--yellow);
  box-shadow: var(--shadow-sm);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  transition:
    transform 100ms linear,
    box-shadow 100ms linear;
}

.nav-cta:hover,
.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--ink);
}

.nav-cta:active,
.button:active {
  transform: translate(4px, 4px);
  box-shadow: none;
}

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

.section,
.hero {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  border: 4px solid var(--ink);
  background: var(--yellow);
  box-shadow: var(--shadow-sm);
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.inverted {
  background: var(--ink);
  color: var(--white);
  box-shadow: 4px 4px 0 var(--white);
}

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

h1,
h2,
h3 {
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 24px;
  max-width: 980px;
  font-size: clamp(3rem, 6vw, 6.25rem);
  line-height: 0.94;
}

h2 {
  max-width: 920px;
  margin-bottom: 28px;
  font-size: clamp(2.35rem, 5vw, 5.2rem);
  line-height: 0.92;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1;
}

p {
  font-size: 1.08rem;
  line-height: 1.55;
}

.lead {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.hero-copy {
  position: relative;
  min-width: 0;
}

.hero-media,
.section-heading,
.black-panel,
.reason-list,
.demo-block > *,
.contact-section > * {
  min-width: 0;
}

.hero-copy::before {
  position: absolute;
  right: 8%;
  top: -36px;
  width: 110px;
  height: 110px;
  border: 4px solid var(--ink);
  background: var(--violet);
  box-shadow: var(--shadow-md);
  content: "";
  transform: rotate(12deg);
  z-index: -1;
}

.hero-logo {
  width: min(280px, 70vw);
  margin-bottom: 24px;
  border: 4px solid var(--ink);
  box-shadow: var(--shadow-md);
  transform: rotate(-1deg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero-media {
  display: grid;
  gap: 22px;
}

.video-card {
  border: 4px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  transform: rotate(1deg);
}

.video-screen {
  position: relative;
  display: grid;
  min-height: clamp(230px, 28vw, 360px);
  place-items: center;
  border: 4px solid var(--ink);
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0.22) 2px, transparent 2.5px),
    var(--violet);
  background-size: 26px 26px;
  text-align: center;
  padding: 28px;
  overflow: hidden;
}

.video-screen.has-video {
  aspect-ratio: 16 / 9;
  background: var(--ink);
  min-height: 0;
  padding: 0;
}

.video-screen strong {
  display: block;
  margin-top: 78px;
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.video-screen small {
  display: block;
  max-width: 420px;
  font-size: 1rem;
  font-weight: 900;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 4px solid var(--ink);
  background: var(--brand);
  box-shadow: var(--shadow-md);
  color: var(--white);
  font-size: 2.2rem;
  transform: translate(-50%, -50%);
}

.video-meta {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 4px 0;
  font-weight: 900;
  text-transform: uppercase;
}

.video-meta a {
  color: var(--brand-dark);
}

.hero-video-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--ink);
  object-fit: contain;
  z-index: 2;
}

.hero-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: var(--ink);
  object-fit: contain;
  z-index: 1;
}

.hero-board {
  display: grid;
  gap: 18px;
}

.board-card,
.card,
.service-card,
.product-card,
.case-card,
details,
.trust-grid div,
.contact-card,
.final-cta,
.demo-form {
  border: 4px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-md);
  max-width: 100%;
}

.board-card {
  display: grid;
  gap: 8px;
  padding: clamp(18px, 2.3vw, 24px);
}

.board-card strong {
  font-size: clamp(1.8rem, 3.2vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.accent,
.red {
  background: var(--brand) !important;
  color: var(--white);
}

.yellow {
  background: var(--yellow) !important;
}

.violet {
  background: var(--violet) !important;
}

.marquee {
  overflow: hidden;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  background: var(--ink);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
  will-change: transform;
}

.marquee-content {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.marquee-content span {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 18px 34px;
  color: var(--white);
  font-size: clamp(1.4rem, 3vw, 3rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.marquee-content span::after {
  margin-left: 68px;
  color: var(--brand);
  content: "✦";
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  to {
    transform: translateX(-50%);
  }
}

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

.quad-grid,
.case-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.service-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(22px, 2.8vw, 34px);
}

.card,
.service-card,
.product-card,
.case-card {
  min-width: 0;
  padding: clamp(22px, 2.4vw, 30px);
  transition:
    transform 150ms linear,
    box-shadow 150ms linear;
}

.card:nth-child(2n),
.service-card:nth-child(2n),
.product-card:nth-child(2n),
.case-card:nth-child(2n) {
  transform: rotate(1deg);
}

.card:nth-child(2n + 1),
.service-card:nth-child(2n + 1),
.product-card:nth-child(2n + 1),
.case-card:nth-child(2n + 1) {
  transform: rotate(-1deg);
}

.card:hover,
.service-card:hover,
.product-card:hover,
.case-card:hover {
  transform: translateY(-8px) rotate(0deg);
  box-shadow: var(--shadow-lg);
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

.color-block {
  width: 100%;
  max-width: none;
  border-top: 6px solid var(--ink);
  border-bottom: 6px solid var(--ink);
  background: var(--brand);
  padding-right: max(16px, calc((100vw - 1280px) / 2));
  padding-left: max(16px, calc((100vw - 1280px) / 2));
}

.color-block h2,
.color-block p,
.color-block li {
  color: var(--white);
}

.service-card {
  background: var(--cream);
  color: var(--ink);
  min-height: 0;
}

.service-card h3,
.product-card h3,
.case-card h3,
.board-card strong {
  overflow-wrap: anywhere;
}

.service-card p,
.service-card li {
  color: var(--ink);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: stretch;
}

.black-panel {
  border: 4px solid var(--ink);
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  color: var(--white);
  padding: clamp(28px, 4vw, 52px);
  overflow: hidden;
}

.black-panel h2 {
  max-width: 100%;
  font-size: clamp(2.4rem, 4.45vw, 5.1rem);
  line-height: 0.95;
}

.reason-list {
  display: grid;
  gap: 14px;
}

.reason-list div {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border: 4px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 16px;
}

.reason-list strong {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 4px solid var(--ink);
  background: var(--yellow);
  font-size: 1.35rem;
  font-weight: 900;
}

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

.process-list li {
  border: 4px solid var(--ink);
  background: var(--cream);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  padding: 18px;
}

.process-list strong,
.process-list span {
  display: block;
  color: var(--ink);
}

.process-list strong {
  margin-bottom: 8px;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.demo-block,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 28px;
  align-items: start;
}

.demo-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--yellow);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 4px solid var(--ink);
  background: var(--white);
  padding: 14px;
  font-weight: 700;
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus {
  background: var(--violet);
  box-shadow: var(--shadow-sm);
}

.faq-list {
  display: grid;
  gap: 16px;
}

details {
  padding: 0;
  background: var(--white);
}

summary {
  cursor: pointer;
  border-bottom: 4px solid var(--ink);
  padding: 18px;
  font-size: 1.2rem;
  font-weight: 900;
  text-transform: uppercase;
}

details p {
  margin: 0;
  padding: 18px;
}

.trust-grid div {
  padding: 22px;
}

.trust-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.35rem;
  text-transform: uppercase;
}

.contact-card,
.final-cta {
  padding: 28px;
}

.final-cta {
  background: var(--ink);
  color: var(--white);
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  border-bottom: 3px solid var(--ink);
  padding: 12px 0;
}

.form-status {
  margin: 0;
  font-weight: 900;
  text-transform: none;
}

.hidden {
  display: none !important;
}

@media (max-width: 920px) {
  .site-header,
  .hero,
  .split-section,
  .demo-block,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: relative;
    align-items: stretch;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
    width: 100%;
  }

  .nav-cta,
  .button {
    width: 100%;
  }

  .header-actions {
    display: grid;
    grid-template-columns: minmax(82px, 0.35fr) minmax(0, 1fr);
    width: 100%;
  }

  .brand-logo {
    width: 210px;
  }
}

@media (max-width: 560px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .site-header {
    padding: 16px 10px;
    overflow: hidden;
    align-items: center;
  }

  .site-header > * {
    width: min(330px, calc(100vw - 40px));
    max-width: min(330px, calc(100vw - 40px));
  }

  .header-actions {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .language-select,
  .language-select select {
    width: 100%;
  }

  .brand-logo {
    width: 210px;
    max-width: 210px;
  }

  nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  nav a {
    min-width: 0;
    padding: 8px 4px;
    text-align: center;
    font-size: 0.76rem;
  }

  h1 {
    font-size: 2.7rem;
    line-height: 1;
  }

  h2 {
    font-size: 2.35rem;
  }

  h3 {
    font-size: 1.45rem;
  }

  .section,
  .hero {
    width: min(330px, calc(100vw - 48px));
    max-width: min(330px, calc(100vw - 48px));
    margin-right: auto;
    margin-left: 16px;
    padding: 64px 0;
  }

  .hero-copy,
  .hero-media,
  .section-heading,
  .quad-grid,
  .service-grid,
  .product-grid,
  .case-grid,
  .trust-grid,
  .reason-list,
  .process-list,
  .faq-list,
  .demo-form,
  .contact-card,
  .final-cta {
    width: 100%;
    max-width: 100%;
  }

  .site-header,
  .marquee,
  .color-block {
    max-width: 100vw;
    overflow: hidden;
  }

  .color-block {
    padding-right: 24px;
    padding-left: 16px;
  }

  p,
  li,
  span,
  strong,
  summary {
    word-break: normal;
    overflow-wrap: break-word;
  }

  .hero-copy::before {
    display: none;
  }

  .hero-logo,
  .video-card,
  .card:nth-child(n),
  .service-card:nth-child(n),
  .product-card:nth-child(n),
  .case-card:nth-child(n) {
    transform: none;
  }

  .video-card,
  .board-card,
  .card,
  .service-card,
  .product-card,
  .case-card,
  details,
  .trust-grid div,
  .contact-card,
  .final-cta,
  .demo-form {
    box-shadow: 6px 6px 0 var(--ink);
  }

  .video-card {
    padding: 12px;
  }

  .video-screen {
    min-height: 230px;
    padding: 18px 12px;
  }

  .video-screen strong {
    font-size: 1.75rem;
  }

  .video-screen small {
    font-size: 0.9rem;
  }

  .video-screen strong,
  .video-screen small {
    max-width: 100%;
  }

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

  .video-meta {
    flex-direction: column;
  }

  .board-card strong {
    font-size: 1.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
