/* Homepage sections — Butti Pipe layout + motion */

.at-section {
  padding: 5rem 0;
  border-top: 1px solid var(--at-line);
}

.at-center-copy {
  text-align: center;
}

.at-center-copy .at-lede,
.at-center-copy p {
  margin-left: auto;
  margin-right: auto;
}

.at-reveal {
  opacity: 0;
  transform: translateY(36px);
}

.at-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--at-header));
  padding: 2.5rem 0 5.5rem;
  overflow: hidden;
  background: #f7f7f7;
}

.at-hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) 1.08fr;
  gap: 0;
  align-items: center;
  padding-left: var(--at-px);
}

.at-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding-right: 1rem;
}

.at-hero-logo {
  width: clamp(148px, 16vw, 210px);
  margin-bottom: 1.8rem;
}

.at-hero-logo .at-logo-full {
  display: block;
  width: 100%;
  height: auto;
}

.at-home .at-hero h1 {
  margin: 0;
  font-family: var(--at-display);
  font-size: clamp(2.6rem, 5.4vw, 4.75rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: #2b2b2b;
}

.at-hero-lead {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
  max-width: 52ch;
  font-size: 1.02rem;
  line-height: 1.65;
  color: #6b737a;
}

.at-hero-lead p {
  margin: 0;
}

.at-hero-lead strong {
  color: #2b2b2b;
  font-weight: 700;
}

.at-hero-diagram {
  position: relative;
  inset: auto;
  margin: 0;
  color: #8a938e;
  will-change: transform, opacity;
  justify-self: end;
  width: 118%;
  max-width: none;
  pointer-events: none;
}

.at-tubes-svg,
.at-hero-diagram svg {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
}

.at-hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0.55rem 0.4rem;
  border: 0;
  background: transparent;
  font-family: var(--at-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  color: #8a938e;
  writing-mode: vertical-rl;
  cursor: pointer;
  transform: translateX(-50%);
  transform-origin: top center;
  transition: color 0.3s ease, transform 0.3s ease;
  animation: at-glimpse 2.6s ease-in-out infinite;
}

.at-hero-scroll:hover,
.at-hero-scroll:focus-visible {
  color: var(--at-blue);
  transform: translateX(-50%) scale(1.06) translateY(0.4rem);
}

@keyframes at-glimpse {
  0%,
  100% {
    opacity: 0.62;
  }
  50% {
    opacity: 1;
  }
}

.at-hero-photo {
  margin: 0;
  overflow: hidden;
  scroll-margin-top: var(--at-header);
}

.at-hero-photo img {
  width: 100%;
  height: min(72vh, 780px);
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.at-stats {
  background: #fff;
  padding: 6.5rem 0 6rem;
}

.at-stats .at-wrap {
  text-align: center;
}

.at-stats .at-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--at-blue);
}

.at-stats .at-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--at-blue);
}

.at-home .at-stats h2 {
  margin: 0 auto 3.4rem;
  max-width: 18ch;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.05;
  color: #2b2b2b;
}

.at-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.5rem;
  margin: 0 auto 3.6rem;
  max-width: 980px;
  text-align: left;
}

.at-stats-row article {
  min-width: 0;
}

.at-home .at-stats-row strong {
  display: block;
  font-family: var(--at-display);
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--at-blue);
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px dashed #a8bdb4;
}

.at-stats-row strong sup {
  font-size: 0.55em;
}

.at-stats-row span {
  display: block;
  font-size: 0.95rem;
  color: #4a5560;
}

.at-btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.65rem 1.6rem;
  border: 1px solid #2b2b2b;
  background: #fff;
  color: #2b2b2b;
  font-family: var(--at-sans);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease;
}

.at-btn-line:hover {
  background: #2b2b2b;
  color: #fff;
}

.at-production {
  background: #fff;
}

.at-prod-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
  align-items: stretch;
  width: 100%;
}

.at-prod-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  padding: 4.5rem clamp(1rem, 3vw, 2.5rem) 4.5rem var(--at-px);
  background: #fff;
}

.at-prod-gallery figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.at-prod-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.at-prod-gallery figure:hover img {
  transform: scale(1.06);
}

.at-prod-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: #f3f5f4;
  padding: 4.5rem var(--at-px) 4.5rem clamp(1.8rem, 4vw, 3.8rem);
  text-align: left;
}

.at-production .at-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--at-blue);
}

.at-production .at-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--at-blue);
}

.at-home .at-production h2 {
  margin: 0 0 1.5rem;
  max-width: 10.5em;
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  line-height: 1.05;
  color: #2b2b2b;
}

.at-prod-copy p {
  margin: 0 0 1rem;
  max-width: 42ch;
  color: #6b737a;
  line-height: 1.65;
}

.at-prod-copy p strong {
  color: #2b2b2b;
}

.at-prod-copy .at-btn-line {
  margin-top: 1.1rem;
}

.at-products {
  background: #f7f7f7;
  padding: 5.5rem 0 5rem;
}

.at-prodintro {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 2.6rem;
  text-align: left;
}

.at-home .at-products h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1;
  color: #2b2b2b;
}

.at-home .at-products .at-subhead {
  margin: 0;
  font-family: var(--at-sans);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--at-blue);
}

.at-prodintro p {
  margin: 0 0 0.85rem;
  color: #5c656c;
  line-height: 1.65;
}

.at-prodintro p strong {
  color: #2b2b2b;
}

.at-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.at-products .at-product-card {
  position: relative;
  flex: none;
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.15rem 1.1rem 1.1rem;
  border: 0;
  background: linear-gradient(180deg, #4f7362 0%, #3f5e4f 48%, #243d37 100%);
  color: #fff;
  text-decoration: none;
  transition: filter 0.3s ease;
}

.at-products .at-product-card:hover {
  filter: brightness(1.12);
}

.at-product-bg {
  position: absolute;
  inset: -8% auto auto -30%;
  width: 145%;
  margin: 0;
  opacity: 0.18;
  transform: rotate(18deg);
  pointer-events: none;
  transition: transform 0.4s ease;
}

.at-products .at-product-card:hover .at-product-bg {
  transform: rotate(18deg) scale(1.08);
}

.at-products .at-product-card img,
.at-product-bg img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(10);
}

.at-product-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: #fff;
  z-index: 2;
  transition: transform 0.25s ease;
}

.at-products .at-product-card:hover .at-product-arrow {
  transform: translateX(4px);
}

.at-home .at-products .at-product-card h3 {
  position: relative;
  z-index: 1;
  margin: auto 0 1.1rem;
  font-size: clamp(1.15rem, 1.5vw, 1.55rem);
  line-height: 1.05;
  color: #fff;
  text-transform: uppercase;
  max-width: 88%;
}

.at-chip {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.85);
  padding: 0.22rem 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: #fff;
}

.at-actions-right {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.6rem;
}

.at-apps {
  background: #f7f7f7;
  padding: 0 0 4.5rem;
}

.at-apps-head {
  position: relative;
  background: linear-gradient(90deg, #fff 50%, #f3f5f4 50%);
  padding: 5.5rem 0 2.4rem;
}

.at-apps-intro {
  max-width: 720px;
  text-align: left;
}

.at-apps .at-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--at-blue);
}

.at-apps .at-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--at-blue);
}

.at-home .at-apps h2 {
  margin: 0 0 1.35rem;
  max-width: 11.5em;
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  line-height: 1.05;
  color: #2b2b2b;
}

.at-apps-intro p {
  margin: 0;
  max-width: 54ch;
  color: #6b737a;
  line-height: 1.65;
}

.at-apps-intro p strong {
  color: #2b2b2b;
}

.at-apps-down {
  position: absolute;
  right: var(--at-px);
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid #c5cdc9;
  border-radius: 50%;
  color: #8a949c;
  display: grid;
  place-items: center;
  background: #fff;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.at-apps-down:hover {
  color: var(--at-blue);
  border-color: var(--at-blue);
}

.at-apps-rail {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1.5rem max(var(--at-px), calc((100% - 1240px) / 2)) 0.4rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  touch-action: pan-x;
}

.at-apps-rail::-webkit-scrollbar {
  display: none;
}

.at-apps-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.at-apps .at-app-card {
  flex: 0 0 320px;
  width: 320px;
  min-height: 0;
  overflow: visible;
  color: #2b2b2b;
  text-decoration: none;
  scroll-snap-align: start;
}

.at-apps .at-app-card::after {
  content: none;
  display: none;
}

.at-apps .at-app-card figure {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #e6ebe8;
}

.at-apps .at-app-card figure > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) brightness(1.18) contrast(0.92);
  opacity: 0.55;
  transition: filter 0.35s ease, opacity 0.35s ease, transform 0.45s ease;
}

.at-app-icon {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(247, 247, 247, 0.72);
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.35s ease, padding-top 0.35s ease;
}

.at-apps .at-app-icon img {
  position: static;
  inset: auto;
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.at-apps .at-app-arrow {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 48px;
  height: 48px;
  background: #fff;
  color: #2b2b2b;
  display: grid;
  place-items: center;
  z-index: 2;
}

.at-home .at-apps .at-app-card h3 {
  position: static;
  margin: 0.85rem 0 0;
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  line-height: 1.15;
  color: #2b2b2b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.at-apps .at-app-card:hover figure > img {
  filter: grayscale(0) brightness(1) contrast(1);
  opacity: 1;
  transform: scale(1.04);
}

.at-apps .at-app-card:hover .at-app-icon {
  opacity: 0;
}

.at-apps .at-app-card:hover .at-app-icon img {
  transform: none;
}

.at-apps-scrollwrap {
  margin-top: 1.8rem;
}

.at-apps-scrollbar {
  position: relative;
  height: 6px;
  background: #d9e0dc;
  cursor: pointer;
}

.at-apps-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 32%;
  background: #2b2b2b;
  pointer-events: none;
}

.at-finishes {
  background: #fff;
  padding: 5.5rem 0 0;
}

.at-finish-intro {
  text-align: left;
  padding-bottom: 2.4rem;
}

.at-finishes .at-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--at-blue);
}

.at-finishes .at-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--at-blue);
}

.at-home .at-finishes .at-finish-intro h2 {
  margin: 0 0 1.25rem;
  max-width: 16em;
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  line-height: 1.05;
  color: #2b2b2b;
}

.at-finish-intro p {
  margin: 0;
  max-width: 62ch;
  color: #6b737a;
  line-height: 1.65;
}

.at-finish-intro p strong {
  color: #2b2b2b;
}

.at-finish-rule {
  height: 1px;
  background: #e4e8e6;
}

.at-finish-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.at-finish-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
}

.at-finish-pair figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1;
}

.at-finish-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.at-finish-pair figure:hover img {
  transform: scale(1.05);
}

.at-finish-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: #f3f5f4;
  padding: 3.5rem clamp(1.6rem, 4vw, 4.5rem);
}

.at-home .at-finishes .at-finish-copy h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  line-height: 1.05;
  color: #2b2b2b;
}

.at-finish-copy p {
  margin: 0 0 1.5rem;
  max-width: 42ch;
  color: #6b737a;
  line-height: 1.65;
}

.at-finish-copy p strong {
  color: #2b2b2b;
}

.at-finish-more {
  background: #f7f7f7;
  padding: 5rem var(--at-px);
}

.at-finish-more-grid {
  width: min(1240px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.at-finish-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.at-finish-mosaic figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1;
  background: #e6ebe8;
}

.at-finish-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.at-finish-mosaic figure:hover img {
  transform: scale(1.06);
}

.at-home .at-finishes .at-finish-points h3 {
  margin: 0 0 1.4rem;
  max-width: 12em;
  font-size: clamp(1.7rem, 2.8vw, 2.45rem);
  line-height: 1.05;
  color: #2b2b2b;
}

.at-finish-points ul {
  margin: 0 0 2rem;
  padding-left: 1.15rem;
  color: #6b737a;
  line-height: 1.55;
}

.at-finish-points li {
  margin: 0 0 0.8rem;
}

.at-finish-points li:last-child {
  margin-bottom: 0;
}

.at-finish-points strong {
  color: #2b2b2b;
  font-weight: 700;
}

.at-home .at-strengths {
  background: #f7f7f7;
  color: var(--at-text);
  padding: 5.5rem 0 5rem;
}

.at-strengths-intro {
  text-align: center;
}

.at-strengths .at-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--at-blue);
}

.at-strengths .at-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--at-blue);
}

.at-home .at-strengths h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.05;
  color: #2b2b2b;
}

.at-features {
  --r: min(15vw, 240px);
  --icon-size: 5.5rem;
  --item-size: 42rem;
  --item-gap: calc(var(--icon-size) * 0.8);
  --ring: 3px dashed #c5d6ce;
  position: relative;
  width: calc(var(--r) * 2);
  aspect-ratio: 1;
  margin: 5.5rem auto 4.5rem;
}

.at-features::after,
.at-features-center {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: var(--ring);
  border-radius: 50%;
  box-sizing: border-box;
  pointer-events: none;
}

.at-features::after {
  width: 100%;
  height: 100%;
}

.at-features-center {
  width: 50%;
  height: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  color: var(--at-blue);
  z-index: 1;
}

.at-features-center .at-logo-full {
  width: 72%;
  min-width: 120px;
  height: auto;
  max-width: 196px;
}

.at-feature-item {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: var(--item-size);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  transform: translate(-50%, -50%);
  translate: calc(cos(var(--angle)) * var(--r)) calc(sin(var(--angle)) * var(--r));
}

.at-feature-item[data-direction="rtl"] {
  flex-direction: row-reverse;
}

.at-feature-icon {
  flex: 0 0 var(--icon-size);
  width: var(--icon-size);
  height: var(--icon-size);
  border-radius: 50%;
  background: var(--at-blue);
  color: #fff;
  display: grid;
  place-items: center;
  padding: 1.35rem;
  z-index: 1;
}

.at-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.at-feature-item[data-direction="ltr"] .at-feature-icon {
  transform: translateX(50%);
}

.at-feature-item[data-direction="rtl"] .at-feature-icon {
  transform: translateX(-50%);
}

.at-feature-content {
  width: 50%;
  padding-left: var(--item-gap);
  z-index: 1;
}

.at-feature-item[data-direction="rtl"] .at-feature-content {
  padding-left: 0;
  padding-right: var(--item-gap);
  text-align: right;
}

.at-home .at-strengths .at-feature-content h3 {
  margin: 0 0 0.55rem;
  font-family: var(--at-display);
  font-weight: 400;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
  color: #2b2b2b;
}

.at-feature-content p {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  color: #6b737a;
  line-height: 1.35;
}

.at-home .at-quality {
  background: #f7f7f7;
  padding: 5.5rem 0 5rem;
}

.at-quality-intro {
  text-align: center;
  margin-bottom: 2.6rem;
}

.at-home .at-quality h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.05;
  color: #2b2b2b;
}

.at-home .at-quality h3 {
  margin: 0 0 1.35rem;
  font-family: var(--at-sans);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  color: var(--at-blue);
}

.at-quality-intro p {
  margin: 0 auto;
  max-width: 68ch;
  color: #6b737a;
  line-height: 1.65;
}

.at-quality-intro p strong {
  color: #2b2b2b;
}

.at-certs-band {
  margin: 0;
  padding: 2.2rem 0;
  background: #e8eeeb;
}

.at-certs-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.6rem 1.2rem;
  align-items: center;
  justify-items: center;
}

.at-certs-grid a {
  display: grid;
  place-items: center;
  width: 100%;
  height: 96px;
}

.at-certs-grid img {
  max-height: 72px;
  max-width: 148px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.9;
  mix-blend-mode: multiply;
}

.at-certs-grid .at-cert-sm img {
  max-height: 64px;
  max-width: 92px;
}

.at-quality-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.4rem;
}

.at-home .at-news {
  background: #f7f7f7;
  padding: 5.5rem 0 5rem;
}

.at-news-intro {
  text-align: left;
  margin-bottom: 3rem;
}

.at-news .at-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--at-blue);
}

.at-news .at-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--at-blue);
}

.at-home .at-news h2 {
  margin: 0 0 1.25rem;
  max-width: 12em;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.05;
  color: #2b2b2b;
}

.at-news-intro p {
  margin: 0 0 1.8rem;
  max-width: 46ch;
  color: #6b737a;
  line-height: 1.65;
}

.at-news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.at-news-grid article {
  overflow: hidden;
}

.at-news-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.at-news-grid article:hover img {
  transform: scale(1.04);
}

.at-news-grid div {
  padding: 1.1rem 0 0;
}

.at-news-grid h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.at-news-grid p {
  margin: 0;
  color: var(--at-muted);
}

.at-contact {
  position: relative;
  padding: 5.5rem 0;
  overflow: hidden;
  background: #1a1a1a;
}

.at-contact-bg {
  position: absolute;
  inset: 0;
}

.at-contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px) brightness(0.52) saturate(0.7);
  transform: scale(1.08);
}

.at-contact-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  background: #f4f5f4;
  padding: clamp(2rem, 4vw, 3.6rem) clamp(1.5rem, 4vw, 3.2rem);
}

.at-contact-copy .at-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--at-blue);
}

.at-contact-copy .at-kicker::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--at-blue);
}

.at-home .at-contact h2 {
  margin: 0 0 1.2rem;
  max-width: 10em;
  font-size: clamp(2rem, 3.6vw, 3.05rem);
  line-height: 1.05;
  color: #2b2b2b;
}

.at-contact-copy p {
  margin: 0;
  max-width: 36ch;
  color: #6b737a;
  line-height: 1.65;
}

.at-form {
  display: grid;
  gap: 0.85rem;
}

.at-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.at-form input,
.at-form textarea {
  width: 100%;
  border: 1px solid #c5cdc9;
  background: #fff;
  padding: 0.85rem 0.95rem;
  font-family: var(--at-sans);
  font-size: 0.95rem;
  color: var(--at-text);
  border-radius: 0;
}

.at-form input::placeholder,
.at-form textarea::placeholder {
  color: #9aa4ab;
}

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

.at-form input:focus,
.at-form textarea:focus {
  outline: none;
  border-color: var(--at-blue);
}

.at-check {
  display: flex !important;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 400 !important;
  color: #5c656c;
}

.at-check input {
  width: auto;
  margin-top: 0.2rem;
  accent-color: var(--at-blue);
}

.at-check a {
  color: var(--at-blue);
  text-decoration: underline;
}

.at-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.4rem;
}

.at-form .at-btn {
  min-width: 160px;
}

.at-hp {
  position: absolute;
  left: -9999px;
}

.at-totop {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 46px;
  height: 46px;
  border: 1px solid var(--at-line);
  background: #fff;
  color: var(--at-blue);
  display: grid;
  place-items: center;
  transform: rotate(-90deg);
  z-index: 90;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.at-totop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1279px) {
  .at-features {
    width: min(1100px, calc(100% - 2rem));
    aspect-ratio: auto;
    height: auto;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2rem;
  }

  .at-features::after,
  .at-features-center {
    display: none;
  }

  .at-feature-item {
    position: static;
    transform: none;
    translate: 0;
    width: auto;
    overflow: visible;
    justify-content: flex-start;
  }

  .at-feature-item[data-direction="ltr"] .at-feature-icon,
  .at-feature-item[data-direction="rtl"] .at-feature-icon {
    transform: none;
  }

  .at-feature-item[data-direction="rtl"] {
    flex-direction: row;
  }

  .at-feature-item[data-direction="rtl"] .at-feature-content {
    text-align: left;
    padding: 0 0 0 1rem;
  }

  .at-feature-icon {
    flex-basis: 3.6rem;
    width: 3.6rem;
    height: 3.6rem;
    padding: 0.7rem;
  }

  .at-feature-content {
    width: auto;
    padding-left: 1rem;
  }
}

@media (max-width: 991.98px) {
  .at-hero-grid,
  .at-stats-row,
  .at-prod-grid,
  .at-prodintro,
  .at-apps-grid,
  .at-finish-band,
  .at-finish-band-rev,
  .at-finish-more-grid,
  .at-news-grid,
  .at-contact-card,
  .at-form-row,
  .at-features {
    grid-template-columns: 1fr;
  }

  .at-certs-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem 1rem;
  }

  .at-prod-gallery {
    grid-template-columns: 1fr 1fr;
    padding: 1.6rem var(--at-px) 0.4rem;
    gap: 8px;
  }

  .at-prod-copy {
    padding: 1.8rem var(--at-px) 2.6rem;
  }

  .at-hero {
    min-height: 0;
    padding: 1.4rem 0 4.8rem;
  }

  .at-hero-grid {
    padding-right: var(--at-px);
    gap: 1.1rem;
  }

  .at-hero-copy {
    max-width: none;
    padding-right: 0;
  }

  .at-hero-diagram {
    width: 100%;
    justify-self: stretch;
    max-width: 100%;
    margin-top: 0.4rem;
  }

  .at-home .at-hero h1 {
    font-size: clamp(2rem, 9vw, 2.85rem);
  }

  .at-hero-lead {
    margin-top: 1.1rem;
    font-size: 0.98rem;
  }

  .at-tubes-svg,
  .at-hero-diagram svg {
    width: 100%;
  }

  .at-hero-scroll {
    bottom: 0.85rem;
  }

  .at-hero-photo img {
    height: min(42vh, 320px);
  }

  .at-stats {
    padding: 3.4rem 0 3.2rem;
  }

  .at-home .at-stats h2 {
    margin-bottom: 2rem;
  }

  .at-stats-row {
    gap: 1.6rem;
    margin-bottom: 2.2rem;
  }

  .at-products {
    padding: 3.2rem 0 3rem;
  }

  .at-prodintro {
    gap: 1.2rem;
    margin-bottom: 1.6rem;
  }

  .at-finish-band-rev .at-finish-pair {
    order: -1;
  }

  .at-finish-copy {
    padding: 1.8rem var(--at-px) 2.2rem;
  }

  .at-finish-more {
    padding: 2.6rem var(--at-px);
  }

  .at-finish-mosaic {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .at-slider {
    grid-template-columns: 1fr;
  }

  .at-slider-btn {
    display: none;
  }

  .at-product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .at-apps-head {
    background: #fff;
    padding: 2.8rem 0 1.2rem;
  }

  .at-apps-intro {
    max-width: none;
    padding-right: 3.2rem;
  }

  .at-apps-rail {
    padding-left: var(--at-px);
    padding-right: var(--at-px);
  }

  .at-apps .at-app-card {
    flex-basis: 72vw;
    width: 72vw;
    max-width: 280px;
  }

  .at-products .at-actions-right,
  .at-actions-right {
    justify-content: stretch;
  }

  .at-actions-right .at-btn-line {
    width: 100%;
  }

  .at-features {
    margin: 1.6rem auto 2.4rem;
    gap: 1.1rem;
  }

  .at-contact {
    padding: 2.8rem 0;
  }

  .at-contact-card {
    padding: 1.5rem 1.15rem;
  }
}

@media (max-width: 640px) {
  .at-certs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 0.6rem;
  }

  .at-certs-grid a {
    height: 80px;
  }

  .at-certs-grid img {
    max-height: 56px;
    max-width: 110px;
  }

  .at-prod-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .at-apps-grid,
  .at-footer-grid {
    grid-template-columns: 1fr;
  }

  .at-product-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .at-home .at-products .at-product-card h3 {
    font-size: 1.35rem;
  }

  .at-apps .at-app-card {
    flex-basis: 78vw;
    width: 78vw;
  }

  .at-apps-down {
    top: 1.1rem;
    right: 0.85rem;
    transform: none;
    width: 36px;
    height: 36px;
  }

  .at-apps-intro {
    padding-right: 2.6rem;
  }

  .at-finish-mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .at-form .at-btn,
  .at-btn-line {
    width: 100%;
  }

  .at-home .at-contact h2,
  .at-home .at-stats h2,
  .at-home .at-products h2,
  .at-home .at-production h2,
  .at-home .at-apps h2 {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .at-reveal {
    opacity: 1;
    transform: none;
  }

  .at-hero-scroll {
    animation: none;
  }
}
