/* GAGA Maquinaria Pesada public site: dark industrial, exact logo colors (assets/logo.svg). */

:root {
  color-scheme: dark;
  --ink: #000000;
  --steel: #15171a;
  --steel-2: #1f2226;
  --line: #33373d;
  --text: #f4f4f2;
  --muted: #b9bdc2;
  --red: #e30808;
  --red-bright: #f50202;
  --red-deep: #c00606;
  --yellow: #e0a536;
  --grey: #676767;
  --navy: #0f2340;

  --display: 'Anton', 'Impact', 'Arial Narrow', sans-serif;
  --condensed: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', 'Segoe UI', system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  scrollbar-color: var(--line) var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  caret-color: var(--yellow);
}

::selection {
  background: var(--red);
  color: #fff;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}

h2 {
  font: 400 clamp(2.5rem, 5.5vw, 4.5rem) / 1.12 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

h3 {
  font: 700 clamp(1.5rem, 2.4vw, 1.9rem) / 1.1 var(--condensed);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

p {
  margin: 0;
  max-width: 62ch;
}

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ico {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: currentColor;
}

.ico--lg {
  width: 44px;
  height: 44px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
}

.skip:focus {
  top: 12px;
}

/* ---------- buttons and links ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 2px solid var(--red);
  border-radius: 2px;
  background: var(--red);
  color: #fff;
  font: 700 1.125rem/1 var(--condensed);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 120ms ease;
}

.button:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
}

.button:active {
  transform: scale(0.97);
}

.button--ghost {
  background: transparent;
  border-color: rgb(255 255 255 / 0.6);
}

.button--ghost:hover {
  background: rgb(255 255 255 / 0.1);
  border-color: #fff;
}

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

.button--yellow:hover {
  background: #ebb24a;
  border-color: #ebb24a;
}

.button--small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 1rem;
}

.link {
  color: var(--yellow);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.link:hover {
  text-decoration-thickness: 2px;
}

/* ---------- top bar ---------- */

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    transform 360ms var(--ease-out);
}

.topbar.is-hidden {
  transform: translateY(-100%);
}

.topbar.is-over-hero {
  background: linear-gradient(rgb(0 0 0 / 0.7), rgb(0 0 0 / 0)) border-box;
  border-bottom-color: transparent;
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  width: min(100% - 2 * var(--gutter), 1320px);
  height: 76px;
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}

.brand__logo {
  width: 52px;
  height: 52px;
}

.brand__name {
  display: flex;
  flex-direction: column;
  font: 400 1.6rem/0.9 var(--display);
  letter-spacing: 0.02em;
}

.brand__name span {
  font: 600 0.8rem/1.3 var(--condensed);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font: 600 1.05rem/1 var(--condensed);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 160ms ease;
}

.nav a:hover,
.nav a[aria-current='true'] {
  border-bottom-color: var(--red);
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 2px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle .ico {
  width: 26px;
  height: 26px;
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 19;
  display: grid;
  align-content: space-between;
  gap: 32px;
  padding: 104px var(--gutter) max(32px, env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--ink);
  visibility: hidden;
  opacity: 0;
  transition:
    opacity 260ms ease,
    visibility 0s 260ms;
}

.menu::before {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--ink) 14px 28px);
}

.menu.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 260ms ease;
}

.menu__nav {
  display: grid;
}

.menu__nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font: 400 clamp(2.25rem, 10vw, 3rem) / 1.15 var(--display);
  text-transform: uppercase;
  text-decoration: none;
}

.menu__nav a[aria-current='true'] {
  color: var(--yellow);
}

.menu__actions {
  display: grid;
  gap: 12px;
}

.menu__nav a,
.menu__actions .button {
  transform: translateY(24px);
  opacity: 0;
  transition:
    transform 520ms var(--ease-out),
    opacity 360ms ease;
}

.menu.is-open .menu__nav a,
.menu.is-open .menu__actions .button {
  transform: none;
  opacity: 1;
  transition-delay: calc(80ms + var(--i, 0) * 45ms);
}

body.menu-open {
  overflow: hidden;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(640px, 100svh);
  padding: 140px 0 clamp(56px, 9vh, 104px);
  overflow: hidden;
  isolation: isolate;
}

.hero__cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(56px, 9vh, 104px);
  display: grid;
  justify-items: center;
  gap: 14px;
  color: rgb(255 255 255 / 0.8);
  text-decoration: none;
}

.hero__cue-label {
  writing-mode: vertical-rl;
  font: 600 0.8rem/1 var(--condensed);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero__cue-line {
  position: relative;
  width: 2px;
  height: 72px;
  overflow: hidden;
  background: rgb(255 255 255 / 0.25);
}

.hero__cue-line span {
  position: absolute;
  inset: 0;
  background: var(--yellow);
  transform: translateY(-100%);
}

.hero__cue:hover {
  color: var(--yellow);
}

.motion .hero__cue-line span {
  animation: cue 2400ms cubic-bezier(0.7, 0, 0.3, 1) 1200ms infinite;
}

@keyframes cue {
  0% {
    transform: translateY(-100%);
  }
  50% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100%);
  }
}

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 0.86) 0%, rgb(0 0 0 / 0.55) 45%, rgb(0 0 0 / 0.1) 75%),
    linear-gradient(0deg, rgb(0 0 0 / 0.75) 0%, rgb(0 0 0 / 0) 45%);
}

.hero__content {
  display: grid;
  gap: 28px;
}

.hero__title {
  font: 400 clamp(3.4rem, 9.5vw, 8.75rem) / 0.9 var(--display);
  text-transform: uppercase;
  letter-spacing: 0.005em;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-top: 0.14em;
  margin-top: -0.1em;
  padding-bottom: 0.04em;
}

.hero__title .line > span {
  display: block;
}

.hero__title .line:last-child {
  color: var(--yellow);
}

.hero__lead {
  font-size: clamp(1.125rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  max-width: 44ch;
  color: #e6e6e3;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__photo {
    animation: hero-settle 2200ms var(--ease-out) both;
  }

  .hero__title .line > span {
    animation: line-up 900ms var(--ease-out) both;
  }

  .hero__title .line:nth-child(2) > span {
    animation-delay: 120ms;
  }

  .hero__lead,
  .hero__actions {
    animation: fade-in 700ms 420ms ease both;
  }
}

@keyframes hero-settle {
  from {
    transform: scale(1.08);
  }
}

@keyframes line-up {
  from {
    transform: translateY(105%);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

/* ---------- facts strip ---------- */

.strip {
  position: relative;
  background: var(--ink);
  padding: 36px 0;
}

.strip::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--ink) 14px 28px);
  background-position: var(--tape, 0) 0;
}

.strip__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-block: 8px 0;
  padding: 0;
  list-style: none;
}

.strip__list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.strip__list li + li {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.strip__list .ico {
  width: 34px;
  height: 34px;
  color: var(--yellow);
}

.strip__list span {
  display: grid;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.strip__list strong {
  color: var(--text);
  font: 700 1.4rem/1.15 var(--condensed);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ---------- sections ---------- */

.section {
  padding-block: var(--section);
  background: var(--steel);
}

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: end;
  gap: 24px 48px;
  margin-bottom: clamp(48px, 7vw, 88px);
}

.section__head p {
  color: var(--muted);
  font-size: 1.15rem;
}

.media {
  overflow: hidden;
  border-radius: 2px;
}

/* services: tabbed showcase on desktop, stacked cards below 981px */

.showcase__tabs {
  display: none;
}

.showcase__stage {
  display: grid;
  gap: 20px;
}

.svc {
  display: grid;
  background: var(--steel-2);
  border: 1px solid var(--line);
}

.svc__media {
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.svc__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc__body {
  display: grid;
  justify-items: start;
  gap: 14px;
  padding: 24px;
}

.svc__body .ico--lg {
  color: var(--red-bright);
}

.svc__body p {
  color: var(--muted);
}

.svc__points {
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 4px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.svc__points li {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.svc__points li::before {
  content: '';
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--yellow);
  transform: translateY(-1px);
}

@media (min-width: 981px) {
  .showcase {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 28px;
  }

  .showcase__tabs {
    display: grid;
    grid-auto-rows: 1fr;
    border-top: 1px solid var(--line);
  }

  .showcase__tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 20px 20px 16px;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition:
      background-color 200ms ease,
      color 200ms ease;
  }

  .showcase__tab .ico {
    width: 34px;
    height: 34px;
    transition: color 200ms ease;
  }

  .showcase__tab span {
    display: grid;
    gap: 4px;
    min-width: 0;
  }

  .showcase__tab strong {
    font: 700 1.6rem/1.05 var(--condensed);
    text-transform: uppercase;
    letter-spacing: 0.01em;
    color: var(--text);
  }

  .showcase__tab small {
    font-size: 0.95rem;
    line-height: 1.35;
  }

  .showcase__tab:hover {
    background: rgb(255 255 255 / 0.03);
  }

  .showcase__tab[aria-selected='true'] {
    background: var(--steel-2);
    color: var(--text);
  }

  .showcase__tab[aria-selected='true'] .ico {
    color: var(--red-bright);
  }

  .showcase__tab:focus-visible {
    outline-offset: -3px;
  }

  .showcase__progress {
    position: absolute;
    inset: auto 0 -1px;
    height: 3px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: left;
  }

  .showcase__tab[aria-selected='true'] .showcase__progress {
    transform: none;
  }

  .showcase.is-auto .showcase__tab[aria-selected='true'] .showcase__progress {
    background: var(--yellow);
    animation: progress var(--showcase-dwell, 7s) linear both;
  }

  .showcase.is-paused .showcase__progress {
    animation-play-state: paused !important;
  }

  .showcase__stage {
    position: relative;
    display: block;
    min-height: clamp(540px, 64vh, 660px);
    overflow: hidden;
    background: var(--steel-2);
  }

  .svc {
    position: absolute;
    inset: 0;
    background: none;
    border: 0;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 700ms ease,
      visibility 0s 700ms;
  }

  .svc.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 700ms ease;
  }

  .svc::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgb(0 0 0 / 0.92) 0%, rgb(0 0 0 / 0.6) 38%, rgb(0 0 0 / 0) 68%);
    pointer-events: none;
  }

  .svc__media {
    position: absolute;
    inset: 0;
    aspect-ratio: auto;
  }

  .svc__media img {
    scale: 1.1;
    transition: scale 0s 700ms;
  }

  .svc.is-active .svc__media img {
    scale: 1;
    transition: scale 9s cubic-bezier(0.2, 0.6, 0.3, 1);
  }

  .svc__body {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    max-width: 680px;
    padding: clamp(28px, 3vw, 44px);
  }

  .svc__body p {
    color: #dcdcd8;
  }

  .svc__body .ico--lg {
    display: none;
  }

  .svc__points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 32px;
    border-top-color: rgb(255 255 255 / 0.25);
  }

  .motion .svc.is-active .svc__body > * {
    animation: rise-soft 700ms var(--ease-out) both;
  }

  .motion .svc.is-active .svc__body > :nth-child(2) {
    animation-delay: 80ms;
  }

  .motion .svc.is-active .svc__body > :nth-child(3) {
    animation-delay: 160ms;
  }

  .motion .svc.is-active .svc__body > :nth-child(4) {
    animation-delay: 240ms;
  }
}

@keyframes progress {
  from {
    transform: scaleX(0);
  }
}

@keyframes rise-soft {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* safety-sign badge */

.badge {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 2px;
  background: var(--yellow);
  color: var(--ink);
}

.badge .ico--lg {
  width: 48px;
  height: 48px;
}

/* moving band of service names */

.ticker {
  overflow: hidden;
  padding-block: clamp(20px, 3vw, 32px);
  background: var(--ink);
  border-block: 1px solid var(--line);
}

.ticker__track {
  display: flex;
  width: max-content;
}

.motion .ticker__track {
  animation: ticker 48s linear infinite;
}

.ticker__row {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 40px);
  padding-right: clamp(24px, 3vw, 40px);
  font: 400 clamp(2.25rem, 5vw, 4rem) / 1.15 var(--display);
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker__row span:nth-of-type(odd) {
  color: transparent;
  -webkit-text-stroke: 1px var(--grey);
}

.ticker__mark {
  width: 0.42em;
  height: 0.42em;
  flex: none;
  color: var(--red);
}

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

/* red band */

.section--red {
  background: var(--red);
  color: #fff;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(40px, 6vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}

.pillars li {
  display: grid;
  align-content: start;
  gap: 14px;
  padding-right: 32px;
}

.pillars li + li {
  padding-left: 32px;
  border-left: 1px solid rgb(255 255 255 / 0.4);
}

.pillars p {
  color: #fff;
}

/* about */

.about {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: stretch;
}

.about__text {
  display: grid;
  align-content: start;
  gap: 20px;
}

.about__text > p {
  color: var(--muted);
}

.about__photo {
  margin: 0;
  min-height: 360px;
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 12px 0 0;
}

.facts div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.facts dt {
  color: var(--muted);
  font-size: 0.9rem;
}

.facts dd {
  margin: 4px 0 0;
  font-weight: 600;
}

.timeline__title {
  margin-top: clamp(64px, 9vw, 112px);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  display: grid;
  gap: 10px;
  padding-top: 28px;
}

.timeline li::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: var(--line);
  transform-origin: left;
}

.timeline li::before {
  content: '';
  position: absolute;
  z-index: 1;
  top: -6px;
  left: 0;
  width: 14px;
  height: 14px;
  background: var(--red);
}

.timeline__year {
  font: 400 3rem/1 var(--display);
  color: var(--yellow);
}

.timeline p {
  color: var(--muted);
}

/* coverage */

.section--steel {
  background: var(--ink);
}

.coverage {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.coverage__text {
  display: grid;
  justify-items: start;
  gap: 20px;
}

.coverage__text > p {
  color: var(--muted);
}

.address {
  display: flex;
  gap: 12px;
  font-style: normal;
  font-weight: 600;
}

.address .ico {
  color: var(--red-bright);
  margin-top: 2px;
}

.map {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--steel-2);
  border: 1px solid var(--line);
  overflow: hidden;
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.6) brightness(0.95);
}

/* jobs */

.section--jobs {
  background: var(--navy);
}

.jobs {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.jobs__text {
  display: grid;
  justify-items: start;
  gap: 20px;
}

.jobs__text > p {
  color: #d3dae4;
}

.jobs .hero__actions {
  margin-top: 8px;
}

.docs {
  padding: 32px;
  background: rgb(0 0 0 / 0.3);
  border: 1px solid rgb(255 255 255 / 0.14);
}

.docs h3 {
  font-size: 1.35rem;
}

.docs ul {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.docs li {
  display: flex;
  gap: 12px;
  line-height: 1.4;
}

.docs .ico {
  color: var(--yellow);
}

/* contact over photo */

.contact {
  position: relative;
  padding-block: var(--section);
  isolation: isolate;
  overflow: hidden;
}

.contact__photo {
  position: absolute;
  inset: -12% 0 auto;
  z-index: -2;
  width: 100%;
  height: 124%;
  object-fit: cover;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(0 0 0 / 0.92) 0%, rgb(0 0 0 / 0.78) 55%, rgb(0 0 0 / 0.6) 100%);
}

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact__text {
  display: grid;
  gap: 20px;
}

.contact__text > p {
  color: #dcdcd8;
  font-size: 1.15rem;
}

.channels {
  display: grid;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.channels li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgb(255 255 255 / 0.18);
}

.channels .ico {
  grid-row: span 2;
  width: 28px;
  height: 28px;
  color: var(--red-bright);
  margin-top: 4px;
}

.channels span {
  color: var(--muted);
  font-size: 0.9rem;
}

.channels a {
  font: 700 1.3rem/1.3 var(--condensed);
  letter-spacing: 0.02em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.channels a:hover {
  color: var(--yellow);
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(24px, 4vw, 40px);
  background: rgb(0 0 0 / 0.88);
  border: 1px solid var(--line);
}

.form label {
  display: grid;
  gap: 8px;
}

.form label > span {
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 160ms ease;
}

.form label:focus-within > span {
  color: var(--yellow);
}

.form em {
  color: var(--muted);
  font-style: normal;
  font-weight: 400;
}

.form__wide {
  grid-column: 1 / -1;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--steel-2);
  color: var(--text);
  font: inherit;
  transition: border-color 160ms ease;
}

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

.form input:hover,
.form select:hover,
.form textarea:hover {
  border-color: var(--grey);
}

.form input:focus-visible,
.form select:focus-visible,
.form textarea:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 0;
  border-color: var(--yellow);
}

.form__error {
  color: #ff8a80;
  font-weight: 600;
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 4px;
}

.form__hint {
  color: var(--muted);
  font-size: 0.9rem;
}

/* footer */

.footer {
  padding: 48px 0;
  background: var(--ink);
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__logo {
  width: 84px;
  height: 84px;
}

.footer__body {
  margin-right: auto;
}

.footer__esr {
  width: 150px;
  opacity: 0.85;
}

.footer p {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer__name {
  color: var(--text) !important;
  font-weight: 600;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 8px;
}

.footer__links a {
  color: var(--text);
}

/* privacy notice */

.legal {
  display: grid;
  gap: 16px;
  max-width: 760px;
  padding-block: 140px var(--section);
}

.legal h1 {
  font: 400 clamp(2.75rem, 6vw, 4.25rem) / 0.95 var(--display);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.legal h2 {
  font: 700 1.5rem/1.2 var(--condensed);
  margin-top: 20px;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}

.legal section {
  display: grid;
  gap: 14px;
  padding-top: 8px;
  scroll-margin-top: 96px;
}

.legal h3 {
  margin-top: 6px;
  font-size: 1.2rem;
  color: var(--yellow);
}

.legal__meta {
  margin-top: -16px;
  font-size: 0.95rem;
}

.legal__toc {
  padding: 24px 28px;
  background: var(--steel-2);
  border: 1px solid var(--line);
}

.legal__toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 32px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
}

.legal__toc a {
  color: var(--text);
  text-underline-offset: 3px;
}

.legal__toc a:hover {
  color: var(--yellow);
}

@media (max-width: 600px) {
  .legal__toc ol {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- scroll reveals (only with .motion, set in <head> when motion is allowed) ---------- */

.motion [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 800ms ease,
    transform 1000ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.motion [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* heading rises out of a fixed mask: clip moves opposite to the translate */
.motion [data-reveal='rise'] {
  opacity: 1;
  transform: translateY(100%);
  clip-path: polygon(-10% -100%, 110% -100%, 110% 0%, -10% 0%);
  transition:
    transform 1000ms var(--ease-out),
    clip-path 1000ms var(--ease-out);
}

.motion [data-reveal='rise'].is-in {
  transform: none;
  clip-path: polygon(-10% -30%, 110% -30%, 110% 130%, -10% 130%);
}

.motion [data-reveal='wipe'] {
  opacity: 1;
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1200ms cubic-bezier(0.7, 0, 0.2, 1);
}

.motion [data-reveal='wipe'].is-in {
  clip-path: inset(0);
}

.motion [data-reveal='wipe'] img {
  transform: scale(1.18);
  transition:
    transform 1600ms var(--ease-out),
    scale 900ms var(--ease-out);
}

.motion [data-reveal='wipe'].is-in img {
  transform: none;
}

/* large icons pop in once their block is revealed */
.motion [data-reveal] .ico--lg {
  transform: scale(0.4);
  opacity: 0;
  transition:
    transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1) 250ms,
    opacity 300ms ease 250ms;
}

.motion [data-reveal].is-in .ico--lg {
  transform: none;
  opacity: 1;
}

.motion .timeline[data-reveal] {
  opacity: 1;
  transform: none;
}

.motion .timeline li::after {
  transform: scaleX(0);
  transition: transform 900ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 160ms);
}

.motion .timeline li::before {
  transform: scale(0) rotate(45deg);
  transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: calc(300ms + var(--i, 0) * 160ms);
}

.motion .timeline li.is-in::after,
.motion .timeline li.is-in::before {
  transform: none;
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .section__head,
  .about,
  .coverage,
  .jobs,
  .contact__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about__photo {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .pillars {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .pillars li,
  .pillars li + li {
    padding: 0;
    border: 0;
  }

  .pillars li + li {
    padding-top: 28px;
    border-top: 1px solid rgb(255 255 255 / 0.4);
  }
}

@media (min-width: 821px) {
  .menu {
    display: none;
  }
}

@media (max-width: 820px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .strip__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .strip__list li + li {
    padding: 18px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 600px) {
  .topbar__inner {
    height: 64px;
    gap: 12px;
  }

  .brand__logo {
    width: 42px;
    height: 42px;
  }

  .brand__name {
    font-size: 1.35rem;
  }

  .hero {
    min-height: max(600px, 92svh);
    padding-top: 112px;
  }

  .hero::before {
    background: linear-gradient(0deg, rgb(0 0 0 / 0.92) 0%, rgb(0 0 0 / 0.6) 55%, rgb(0 0 0 / 0.25) 100%);
  }

  .hero__actions .button {
    flex: 1 1 100%;
  }

  .hero__cue {
    display: none;
  }

  .facts,
  .timeline,
  .form {
    grid-template-columns: minmax(0, 1fr);
  }

  .docs {
    padding: 24px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .topbar__cta {
    display: none;
  }
}
