/* Asuba design system tokens (from the Asuba design system's tokens.json) */
:root {
  --asuba-red: #c32025;
  --asuba-black: #181818;
  --asuba-white: #ffffff;
  --red-50: #fbeceb;
  --red-600: #a81b20;
  --red-700: #8c161a;
  --ink-700: #333333;
  --ink-500: #6b6b6b;
  --ink-300: #b8b8b8;
  --ink-200: #dadada;
  --ink-100: #ececec;

  --surface-page: var(--asuba-white);
  --surface-brand: var(--asuba-red);
  --surface-inverse: var(--asuba-black);
  --text-body: var(--asuba-black);
  --text-muted: var(--ink-500);
  --text-brand: var(--asuba-red);
  --border-default: var(--ink-200);

  --font-display: "Big Shoulders Display", "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Work Sans", system-ui, sans-serif;
  --lh-display: 0.86;
  --lh-body: 1.45;
  --ls-tagline: 0.42em;
  --ls-label: 0.08em;

  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-tab-down: 0 0 var(--radius-lg) var(--radius-lg);

  --ease-standard: cubic-bezier(.2, 0, 0, 1);
  --dur-fast: 120ms;
  --container-max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-body);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img { display: block; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  padding: 10px 16px;
  background: var(--asuba-black);
  color: var(--asuba-white);
  border-radius: var(--radius-sm);
  z-index: 10;
}
.skip-link:focus { top: 16px; }

a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .6);
}

/* Tagline: spaced caps */
.tagline {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--ls-tagline);
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-standard);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--inverse { background: var(--asuba-white); color: var(--asuba-red); }
.btn--inverse:hover { background: var(--red-50); }
.btn--inverse:active { background: var(--ink-100); }
.btn--outline { border: 1.5px solid var(--asuba-white); color: var(--asuba-white); }
.btn--outline:hover { background: rgba(255, 255, 255, .12); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--surface-brand);
  color: var(--asuba-white);
}
.hero__face {
  position: absolute;
  right: -14%;
  top: -18%;
  width: 78%;
  max-width: 980px;
  min-width: 520px;
  opacity: .07;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  padding: 0 var(--gutter);
}
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.brand-tab {
  display: inline-flex;
  padding: 26px 22px 16px;
  background: var(--asuba-black);
  border-radius: var(--radius-tab-down);
}
.brand-tab img { height: 34px; width: auto; }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 24px;
  padding-top: 30px;
}
.site-nav a {
  color: var(--asuba-white);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.site-nav a:hover { text-decoration: underline; }

.hero__body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 48px;
  padding: 80px 0 104px;
}
.hero__headline { flex: 1 1 420px; min-width: 0; margin: 0; }
.hero__copy {
  flex: 1 1 340px;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero__lead { margin: 0; font-size: 20px; line-height: var(--lh-body); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Word stack: condensed caps on a staircase indent */
.word-stack {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 128px;
  line-height: var(--lh-display);
  text-transform: uppercase;
  --step: 64px;
}
.word-stack span:nth-child(2) { padding-left: var(--step); }
.word-stack span:nth-child(3) { padding-left: calc(var(--step) * 2); }

/* Emphasis: bold italic for the emotional phrase */
.emphasis { font-style: italic; font-weight: 700; }

/* Services */
.services { padding: 96px var(--gutter); }
.services .container { display: flex; flex-direction: column; gap: 48px; }
.services__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.services__title-group { display: flex; flex-direction: column; gap: 16px; }
.services__eyebrow { color: var(--text-brand); }
.services__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 64px;
  line-height: var(--lh-display);
  text-transform: uppercase;
  color: var(--asuba-red);
}
.services__intro {
  margin: 0;
  max-width: 440px;
  font-size: 16px;
  line-height: var(--lh-body);
  color: var(--text-muted);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Card */
.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 426px;
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-default);
  background: var(--asuba-white);
  color: var(--text-body);
}
.card--brand {
  background: var(--asuba-red);
  border-color: transparent;
  color: var(--asuba-white);
}
.card__top { display: flex; justify-content: space-between; align-items: center; }
.card__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  line-height: var(--lh-display);
  color: var(--asuba-red);
}
.card--brand .card__num { color: inherit; }
.card__word {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 88px;
  line-height: var(--lh-display);
  text-transform: uppercase;
}
.card__title { margin: 0; font-size: 24px; line-height: 1.2; font-weight: 700; }
.card__text { margin: 0; font-size: 16px; line-height: var(--lh-body); color: var(--text-muted); }
.card--brand .card__text { color: inherit; }
.card__spacer { flex-grow: 1; }
.card .btn { align-self: flex-start; }
.card__status {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  border-top: 1px solid var(--border-default);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}
.card__status svg { width: 20px; height: 20px; flex: none; }

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-xs);
  background: var(--ink-100);
  color: var(--ink-700);
  font: 700 11px/1 var(--font-body);
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  white-space: nowrap;
}
.badge--dark { background: var(--asuba-black); color: var(--asuba-white); }

/* Footer */
.site-footer {
  background: var(--surface-inverse);
  color: var(--asuba-white);
  padding: 72px var(--gutter) 40px;
}
.site-footer .container { display: flex; flex-direction: column; gap: 56px; }
.triad {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 22px;
  line-height: 1.5;
}
.triad strong { font-weight: 800; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--ink-700);
}
.site-footer__bottom img { height: 40px; width: auto; }
.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 14px;
  color: var(--ink-300);
}

@media (max-width: 639px) {
  .word-stack { font-size: 80px; --step: 28px; }
  .hero__body { padding: 56px 0 72px; gap: 40px; }
  .services { padding-top: 72px; padding-bottom: 72px; }
  .services__title { font-size: 52px; }
  .card { padding: 24px; min-height: 0; }
  .card__word { font-size: 72px; }
}

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