:root {
  --ars-black: #0d0d0d;
  --ars-green: #d7df23;
  --ars-off: #f6f6f2;
  --ars-white: #fff;
  --ars-muted: #6f746c;
  --ars-line: #dfe1d8;
  --ars-max: 1280px;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Saira", sans-serif;
  background: #fff;
  color: #181a18;
}
.mono {
  font-family: "IBM Plex Mono", monospace;
}
.container-ars {
  width: min(calc(100% - 2rem), var(--ars-max));
  margin-inline: auto;
}
.text-balance {
  text-wrap: balance;
}
.focus-ring:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--ars-green);
  outline-offset: 3px;
}
.site-header {
  background: rgba(13, 13, 13, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-link {
  position: relative;
  color: #d9dbd5;
  transition: 0.25s;
}
.nav-link:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--ars-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-link:hover,
.nav-link.active {
  color: #fff;
}
.nav-link:hover:after,
.nav-link.active:after {
  transform: scaleX(1);
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-mark .symbol {
  width: 38px;
  height: 38px;
  border: 3px solid var(--ars-green);
  border-left-color: transparent;
  border-radius: 999px;
  position: relative;
}
.brand-mark .symbol:after {
  content: "";
  position: absolute;
  right: -3px;
  top: 2px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 9px solid var(--ars-green);
  transform: rotate(-22deg);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
}
.eyebrow:before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--ars-green);
}
.btn-primary,
.btn-secondary,
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.25rem;
  border-radius: 0.7rem;
  font-weight: 700;
  transition: 0.25s;
}
.btn-primary {
  background: var(--ars-green);
  color: #111;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(215, 223, 35, 0.2);
}
.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}
.btn-secondary:hover {
  border-color: var(--ars-green);
  color: var(--ars-green);
  transform: translateY(-2px);
}
.btn-dark {
  background: #111;
  color: #fff;
}
.btn-dark:hover {
  background: #222;
  transform: translateY(-2px);
}
.section-title {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  font-weight: 850;
  letter-spacing: -0.03em;
}
.lead {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.75;
  color: #4d514c;
}
.dark-lead {
  color: #c7cbc1;
}
.card {
  border: 1px solid var(--ars-line);
  border-radius: 1rem;
  background: #fff;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: #c7cf2b;
  box-shadow: 0 20px 45px rgba(13, 13, 13, 0.08);
}
.footer-link {
  color: #bfc3ba;
  transition: 0.2s;
}
.footer-link:hover {
  color: var(--ars-green);
}
.legal {
  font-family: "IBM Plex Mono", monospace;
  color: #a7aba2;
  font-size: 0.78rem;
  line-height: 1.75;
}
.mobile-menu {
  position: fixed;
  z-index: 60;
  top: 0;
  right: 0;
  width: min(88vw, 390px);
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(circle at 100% 0, rgba(215, 223, 35, 0.13), transparent 34%),
    #11130f !important;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.45);
  visibility: hidden;
  transform: translateX(105%);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.42s;
}
.mobile-menu.open {
  visibility: visible;
  transform: translateX(0);
}
.mobile-menu > .container-ars {
  width: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.mobile-menu a:not(.btn-primary) {
  position: relative;
  padding: 0.9rem 0.85rem !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  color: #d7dad2;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateX(24px);
  transition: color 0.2s, background 0.2s, transform 0.35s, opacity 0.35s;
}
.mobile-menu.open a {
  opacity: 1;
  transform: translateX(0);
  transition-delay: calc(0.055s * var(--drawer-index, 0));
}
.mobile-menu a:not(.btn-primary)::after {
  content: "\2197";
  position: absolute;
  right: 0.75rem;
  color: #696d65;
  font-family: "IBM Plex Mono", monospace;
}
.mobile-menu a:not(.btn-primary):hover,
.mobile-menu a.mobile-current {
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
}
.mobile-menu a.mobile-current::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 22px;
  border-radius: 4px;
  background: var(--ars-green);
  transform: translateY(-50%);
  box-shadow: 0 0 14px rgba(215, 223, 35, 0.45);
}
.mobile-menu .btn-primary {
  margin-top: auto !important;
  opacity: 0;
  transform: translateY(12px);
}
.mobile-menu.open .btn-primary {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}
.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  margin-bottom: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
}
.mobile-drawer-head small {
  display: block;
  color: var(--ars-green);
  font: 600 0.65rem "IBM Plex Mono", monospace;
  letter-spacing: 0.15em;
}
.mobile-drawer-close {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}
.mobile-drawer-close span {
  position: absolute;
  left: 11px;
  top: 20px;
  width: 18px;
  height: 2px;
  background: #fff;
  transform: rotate(45deg);
}
.mobile-drawer-close span:last-child { transform: rotate(-45deg); }
.mobile-menu-backdrop {
  position: fixed;
  z-index: 55;
  inset: 0;
  background: rgba(2, 3, 2, 0.72);
  backdrop-filter: blur(5px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s;
}
.mobile-menu-backdrop.open { visibility: visible; opacity: 1; }
.mobile-menu-trigger {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
}
.mobile-menu-trigger span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s, opacity 0.2s;
}
.mobile-menu-trigger.open span:first-child { transform: translateY(7px) rotate(45deg); }
.mobile-menu-trigger.open span:nth-child(2) { opacity: 0; }
.mobile-menu-trigger.open span:last-child { transform: translateY(-7px) rotate(-45deg); }
body.drawer-open { overflow: hidden; }
@media (min-width: 1280px) {
  .mobile-menu,
  .mobile-menu-backdrop { display: none !important; }
}
.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.tag {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #eff1e7;
  font-size: 0.75rem;
  font-weight: 700;
}
.page-hero {
  background: #0d0d0d;
  color: #fff;
  padding: 7.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero:after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(215, 223, 35, 0.22);
  border-radius: 50%;
  right: -120px;
  top: -110px;
  box-shadow:
    0 0 0 38px rgba(215, 223, 35, 0.03),
    0 0 0 78px rgba(215, 223, 35, 0.02);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .card,
  .btn-primary,
  .btn-secondary,
  .btn-dark,
  .nav-link:after {
    transition: none !important;
  }
  .mobile-menu,
  .mobile-menu-backdrop,
  .mobile-menu a,
  .mobile-menu-trigger span {
    transition: none !important;
  }
}

/* 2026 visual refinement: tighter corporate scale + richer industrial imagery */
body {
  font-size: 15px;
  line-height: 1.65;
}
.container-ars {
  --ars-max: 1200px;
}
.section-title {
  font-size: clamp(1.9rem, 3.2vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.lead {
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
  line-height: 1.75;
}
.dark-lead {
  font-size: 1rem;
  line-height: 1.75;
}
.page-hero {
  padding: 6.5rem 0 3.5rem;
}
.page-hero-photo {
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  position: relative;
}
.page-hero-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 45%,
    rgba(215, 223, 35, 0.13)
  );
}
.page-hero-photo img,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.55s ease,
    filter 0.55s ease;
}
.page-hero-photo:hover img,
.media-frame:hover img {
  transform: scale(1.035);
}
.media-frame {
  overflow: hidden;
  border-radius: 18px;
  position: relative;
}
.media-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(13, 13, 13, 0.82);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.55rem 0.75rem;
  border-radius: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: #0d0d0d;
  color: #d7df23;
  display: grid;
  place-items: center;
}
.icon-badge svg {
  width: 21px;
  height: 21px;
}
.card h2,
.card h3 {
  line-height: 1.25;
}
.card p {
  font-size: 0.94rem;
}
.site-header .container-ars {
  height: 72px !important;
}
.photo-credit {
  font-size: 0.68rem;
  color: #8e928a;
  margin-top: 0.45rem;
}
.btn-primary,
.btn-secondary,
.btn-dark {
  padding: 0.78rem 1.1rem;
  font-size: 0.9rem;
}
.page-hero .dark-lead {
  max-width: 42rem;
}
.section-pad {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}
@media (max-width: 1023px) {
  .page-hero-photo {
    height: 250px;
  }
  .page-hero {
    padding-top: 6rem;
  }
  .section-title {
    font-size: clamp(1.8rem, 6vw, 2.75rem);
  }
}
@media (max-width: 640px) {
  body {
    font-size: 14.5px;
  }
  .page-hero {
    padding: 5.75rem 0 2.8rem;
  }
  .page-hero-photo {
    height: 210px;
    border-radius: 15px;
  }
  .section-title {
    font-size: 2rem;
  }
  .lead,
  .dark-lead {
    font-size: 0.96rem;
  }
  .card p {
    font-size: 0.9rem;
  }
}

/* Official ARS logo */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0.28rem 0.48rem;
  background: #fff;
  border-radius: 0.5rem;
  line-height: 0;
}
.brand-mark .brand-logo {
  display: block;
  width: auto;
  height: 44px;
  object-fit: contain;
}
footer .brand-mark .brand-logo {
  height: 52px;
}
@media (max-width: 480px) {
  .brand-mark .brand-logo {
    height: 38px;
  }
  footer .brand-mark .brand-logo {
    height: 46px;
  }
}
