/* AltTune marketing site v3 — Late sections */

/* ------------------------------------------------------------------
   SECTION: SOLUTIONS banner (full-bleed orange streak photo)
   ------------------------------------------------------------------ */
.at-solutions {
  position: relative;
  background: transparent;
  padding: 0;
  overflow: visible;
}
.at-solutions-banner {
  height: 200px;
  background: url('../img/photos/strip-accent.jpg') center/cover no-repeat,
              linear-gradient(180deg, #2E2D2B, #1a1917);
  position: relative;
  /* Grow-on-scroll: width interpolates from 64% → 100% as the banner
     approaches viewport center; border radius shrinks to 0 in sync.
     A damped spring drives --banner-grow which can briefly overshoot
     past 1 — that overshoot translates into a tiny vertical swell via
     scaleY so the arrival feels satisfyingly bouncy. */
  --banner-grow: 0;
  width: calc(64% + 36% * min(var(--banner-grow), 1));
  margin: 0 auto;
  border-radius: calc(28px * max(0, 1 - var(--banner-grow)));
  transform: none;
  transform-origin: center center;
  overflow: hidden;
  will-change: width, border-radius, transform;
}
.at-solutions-banner::after {
  content: "";
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, 50%);
  width: 120px; height: 32px; border-radius: 999px;
  background: #fff; color: var(--performance-orange);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.2em;
  z-index: 2;
}
.at-solutions-pill {
  display: inline-flex; align-items: center;
  background: transparent;
  color: #C3C3C3;
  border: 1px solid #C3C3C3;
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 8px 18px; border-radius: 999px;
  margin: 0 auto 18px;
}
.at-solutions-content {
  background: #fff;
  padding: 80px 32px 64px;
  text-align: center;
}
.at-solutions-title {
  font-family: var(--font-display); font-weight: 900;
  /* Desktop: 42px. Mobile (≤480px viewport): ~26px. Smoothly scales. */
  font-size: clamp(26px, 2.6vw + 14px, 42px);
  line-height: 1.05; letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--rubber-black);
  max-width: 1100px; margin: 0 auto;
}
/* Optional CTA under the solutions title (used on the Become-a-dealer page). */
.at-solutions-cta { margin-top: 28px; }

/* Hide the pseudo banner pill version; keep only the real one */
.at-solutions-banner::after { display: none; }

/* ------------------------------------------------------------------
   SECTION: Horizontal accordion (two cards)
   - Open card: 1.6fr, shows full content (eyebrow/title/body/CTA)
   - Closed card: 1fr, shows only title at bottom over a dark gradient
   - Click closed card to expand it; the other smoothly collapses
   ------------------------------------------------------------------ */
.at-twocards {
  background: #fff;
  padding: 0 0 80px;
}
.at-twocards-inner {
  max-width: 1408px; margin: 0 auto; padding: 0 32px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 14px;
  transition: grid-template-columns 480ms cubic-bezier(.4,0,.2,1);
}
.at-twocards-inner[data-open="0"] { grid-template-columns: 1.6fr 1fr 1fr; }
.at-twocards-inner[data-open="1"] { grid-template-columns: 1fr 1.6fr 1fr; }
.at-twocards-inner[data-open="2"] { grid-template-columns: 1fr 1fr 1.6fr; }

.at-accordion-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 380px;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  transition: transform 320ms, box-shadow 320ms;
}
.at-accordion-card.closed:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,0.15); }

/* === CLOSED STATE === */
.at-accordion-closed {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 28px 32px;
  opacity: 1;
  transition: opacity 280ms cubic-bezier(.4,0,.2,1) 120ms;
  z-index: 2;
}
.at-accordion-closed-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 21px; line-height: 1.05; letter-spacing: -0.01em;
  text-transform: capitalize; color: #fff; margin: 0;
  max-width: 240px;
}
.at-accordion-card.open .at-accordion-closed {
  opacity: 0;
  transition: opacity 200ms cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}

/* === OPEN STATE === */
.at-accordion-open {
  position: absolute;
  inset: 0;
  padding: 36px 36px 32px;
  display: flex; flex-direction: column;
  justify-content: end;
  color: #fff;
  opacity: 0;
  transition: opacity 320ms cubic-bezier(.4,0,.2,1);
  z-index: 3;
  pointer-events: none;
}
.at-accordion-card.open .at-accordion-open {
  opacity: 1;
  transition: opacity 380ms cubic-bezier(.4,0,.2,1) 200ms;
  pointer-events: auto;
}
.at-accordion-eyebrow {
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.at-accordion-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 26px; line-height: 1.05; letter-spacing: -0.01em;
  text-transform: capitalize; color: #fff; margin: 12px 0 0;
  max-width: 520px;
}
.at-accordion-body {
  font-size: 14px; line-height: 1.55;
  color: var(--steel-silver); margin: 14px 0 0;
  max-width: 460px;
}
.at-accordion-open .at-prodcard-cta { margin-top: 22px; }

/* Stagger fade-in of inner elements when opening */
.at-accordion-card.open .at-accordion-eyebrow {
  animation: accIn 480ms cubic-bezier(.4,0,.2,1) 240ms both;
}
.at-accordion-card.open .at-accordion-title {
  animation: accIn 540ms cubic-bezier(.4,0,.2,1) 300ms both;
}
.at-accordion-card.open .at-accordion-body {
  animation: accIn 600ms cubic-bezier(.4,0,.2,1) 360ms both;
}
.at-accordion-card.open .at-prodcard-cta {
  animation: accIn 600ms cubic-bezier(.4,0,.2,1) 420ms both;
}

/* CTA pill (used inside accordion open state).
   Hover mirrors .at-btn-primary: an orange wipe-in from the left (::before)
   while the label + arrow nudge right inside the fixed frame. */
.at-prodcard-cta {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  padding: 6px 8px 6px 18px;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.at-prodcard-cta::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--performance-orange);
  transform: translate3d(-101%, 0, 0) skewX(-8deg);
  transform-origin: left center;
  transition: transform 540ms cubic-bezier(.32,.72,0,1);
  z-index: -1;
}
.at-prodcard-cta > * {
  transition: transform 540ms cubic-bezier(.32,.72,0,1),
              background 340ms cubic-bezier(.32,.72,0,1);
  position: relative;
  z-index: 1;
}
.at-prodcard-cta:hover { border-color: var(--performance-orange); }
.at-prodcard-cta:hover::before { transform: translate3d(0, 0, 0) skewX(0deg); }
.at-prodcard-cta:hover > * { transform: translate3d(4px, 0, 0); }
/* Arrow circle is orange by default — turn it dark on hover so it stays
   legible once the pill itself wipes orange. */
.at-prodcard-cta:hover .at-arrow-circle { background: var(--rubber-black); }
.at-prodcard-cta-label {
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #fff;
}
@keyframes accIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------------------------------
   SECTION: Trusted industry partnerships
   ------------------------------------------------------------------ */
.at-partners {
  background: #fff;
  padding: 80px 32px 96px;
  text-align: center;
}
.at-partners-eyebrow {
  font-family: var(--font-display); font-weight: 800;
  font-size: 32px; line-height: 1; letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--rubber-black);
  margin: 0 0 14px;
}
.at-partners-sub {
  font-size: 14px; line-height: 1.5;
  color: var(--fg-2); max-width: 540px; margin: 0 auto 48px;
}
.at-partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1100px; margin: 0 auto;
  padding: 0 32px;
}
.at-partners-card {
  background: var(--steel-silver-100);
  border-radius: 14px;
  padding: 28px;
  height: 120px;
  display: flex; align-items: center; justify-content: center;
}
/* Constrain logos to the card so they always show (they previously had no
   sizing and overflowed / vanished in the squished mobile columns). */
.at-partners-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* Mobile marquee container — hidden on desktop (grid is used there). */
.at-partners-marquee { display: none; }
.at-partners-card .ph {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--rubber-black);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  text-align: center;
}
.at-partners-card .ph small {
  font-size: 9px; font-weight: 500; letter-spacing: 0.2em;
  color: var(--fg-3); margin-top: 4px;
}

/* Mobile: swap the squished 5-up grid for a seamless infinite marquee (same
   technique as the brand scroller — two identical groups, -50% loop). */
@keyframes partnersScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 768px) {
  .at-partners-grid { display: none; }
  .at-partners-marquee {
    display: block;
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  }
  .at-partners-track {
    display: flex;
    width: max-content;
    animation: partnersScroll 28s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
  }
  .at-partners-group { display: flex; align-items: stretch; flex: 0 0 auto; }
  .at-partners-group > * { margin-right: 14px; }
  /* Fixed card width in the track so logos keep room instead of squishing. */
  .at-partners-marquee .at-partners-card {
    flex: 0 0 auto;
    width: 168px;
    height: 104px;
    padding: 22px;
  }
  @media (hover: hover) {
    .at-partners-marquee:hover .at-partners-track { animation-play-state: paused; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .at-partners-track { animation: none; }
}

/* ------------------------------------------------------------------
   SECTION: Frequently Asked Questions
   ------------------------------------------------------------------ */
.at-faq {
  background: #fff;
  padding: 0 0 96px;
}
.at-faq-inner {
  max-width: 1408px; margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px;
  align-items: flex-start;
}
.at-faq-left {
  display: flex; flex-direction: column; gap: 24px;
  position: sticky; top: 32px;
}
.at-faq-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: 44px; letter-spacing: -0.015em; line-height: 0.98;
  text-transform: uppercase;
  color: var(--rubber-black); margin: 12px 0 0;
}
.at-faq-photo {
  margin-top: 16px;
  width: 100%; height: 240px;
  border-radius: 18px;
  background: url('../img/photos/workshop-lifters.jpg') center/cover no-repeat;
  position: relative;
}
.at-faq-photo-sm {
  position: absolute; bottom: -28px; right: -16px;
  width: 140px; height: 100px;
  border-radius: 14px;
  background: url('../img/photos/alttune-office.jpg') center/cover no-repeat;
  border: 4px solid #fff;
}

.at-faq-list { display: flex; flex-direction: column; }
.at-faq-item {
  border-bottom: 1px solid var(--border-1);
  padding: 22px 0;
  cursor: pointer;
  transition: padding 520ms cubic-bezier(.32,.72,0,1);
}
.at-faq-item:first-child { border-top: 1px solid var(--border-1); }
.at-faq-q {
  display: flex; align-items: center; gap: 16px;
}
.at-faq-q-num {
  font-family: var(--font-mono); font-size: 18px;
  color: #8D8D8D; font-weight: 700;
  letter-spacing: 0.04em;
  flex: 0 0 42px;
  transition: color 480ms cubic-bezier(.32,.72,0,1);
}
.at-faq-item.open .at-faq-q-num { color: var(--rubber-black); }
.at-faq-q-text {
  flex: 1;
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; color: var(--rubber-black);
  letter-spacing: -0.005em;
  transition: transform 520ms cubic-bezier(.32,.72,0,1);
}
.at-faq-item.open .at-faq-q-text { transform: translateX(2px); }
.at-faq-q-toggle {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--rubber-black);
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 32px;
  background: transparent;
  transition:
    background 480ms cubic-bezier(.32,.72,0,1),
    border-color 480ms cubic-bezier(.32,.72,0,1),
    transform 520ms cubic-bezier(.32,.72,0,1);
}
.at-faq-item:hover .at-faq-q-toggle { transform: scale(1.06); }
.at-faq-item.open .at-faq-q-toggle {
  background: var(--performance-orange);
  border-color: var(--performance-orange);
  transform: rotate(180deg);
}
.at-faq-item.open:hover .at-faq-q-toggle { transform: rotate(180deg) scale(1.06); }
/* Plus → minus: collapse vertical bar by rotating + scaling out. */
.at-faq-q-toggle .v-bar {
  transform-origin: center;
  transition:
    transform 520ms cubic-bezier(.32,.72,0,1),
    opacity 320ms cubic-bezier(.32,.72,0,1);
}
.at-faq-item.open .at-faq-q-toggle .v-bar {
  opacity: 0;
  transform: rotate(90deg) scaleY(0);
}
.at-faq-q-toggle svg {
  width: 14px; height: 14px;
  color: var(--rubber-black);
  transition: color 480ms cubic-bezier(.32,.72,0,1);
}
.at-faq-item.open .at-faq-q-toggle svg { color: #fff; }

/* Answer: grid-row trick = smooth height without magic max-height value.
   Inner content fades+rises so it doesn't pop in. */
.at-faq-a {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 520ms cubic-bezier(.32,.72,0,1);
}
.at-faq-item.open .at-faq-a { grid-template-rows: 1fr; }
.at-faq-a-inner {
  min-height: 0;
  padding: 0 0 0 48px;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 420ms cubic-bezier(.32,.72,0,1) 60ms,
    transform 520ms cubic-bezier(.32,.72,0,1) 40ms,
    padding-top 520ms cubic-bezier(.32,.72,0,1);
}
.at-faq-item.open .at-faq-a-inner {
  padding-top: 14px;
  opacity: 1;
  transform: translateY(0);
}
.at-faq-a-text {
  font-size: 14px; line-height: 1.6;
  color: var(--fg-2); max-width: 640px; margin: 0;
}
.at-faq-a-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--performance-orange); margin-top: 14px;
  text-decoration: none;
}

/* Footer stack — grows in width as it enters viewport (like solutions banner).
   Same --footer-grow var drives width + radius. Children cascade in via
   .reveal class but are GATED by JS (not the regular IntersectionObserver)
   so the cascade only starts once the grow is mostly complete. */
/* Outer wrapper carries the page-edge padding so the background image
   on .at-footer-stack stays inside the rounded card. */
.at-footer-wrap {
  padding: 0 32px;
}

.at-footer-stack {
  position: relative;
  --footer-grow: 0;
  width: calc(72% + 28% * var(--footer-grow));
  max-width: 1840px;
  margin: 24px auto;
  /* Border + 60px radius all the way around once fully grown. On
     mobile this scales down via the media query below. */
  border-radius: calc(60px * var(--footer-grow));
  border: 1px solid rgba(255, 255, 255, 0.10);
  overflow: hidden;
  background: var(--surface-dark) url('../img/photos/footer-streak.jpg') center top / cover no-repeat;
  will-change: width, border-radius;
}
@media (max-width: 720px) {
  .at-footer-wrap { padding: 0 16px; }
  .at-footer-stack {
    width: calc(88% + 12% * var(--footer-grow));
    max-width: none;
    margin: 0 auto 12px;
    border-radius: calc(24px * var(--footer-grow));
  }
}
.at-footer-stack::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0.25) 0%, rgba(10,9,8,0.55) 55%, rgba(10,9,8,0.92) 100%);
  pointer-events: none;
  z-index: 0;
}
.at-footer-stack > * { position: relative; z-index: 1; }

/* ------------------------------------------------------------------
   SECTION: Boost Your Business — Final CTA
   ------------------------------------------------------------------ */
.at-final-cta {
  position: relative;
  background: transparent;
  padding: 96px 32px;
  color: #fff;
  text-align: center;
}
.at-final-cta::after {
  content: ""; position: absolute; inset: 0;
  background: none;
}
.at-final-cta-inner {
  position: relative; z-index: 2;
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.at-final-cta-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(32px, 4vw, 56px); line-height: 1;
  letter-spacing: -0.02em; text-transform: uppercase;
  color: #fff; margin: 12px 0 6px;
}
.at-final-cta-sub {
  font-size: 16px; color: var(--steel-silver); margin: 0 0 32px;
}
.at-final-cta-row {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  gap: 0;
  max-width: 880px;
  width: 100%;
  margin: 8px auto 0;
}
.at-final-cta-col {
  display: flex; flex-direction: column; align-items: center;
  gap: 18px;
  padding: 0 28px;
}
.at-final-cta-col-h {
  font-family: var(--font-display); font-weight: 700;
  font-size: 15px; letter-spacing: -0.005em;
  color: #fff;
}
.at-final-cta-divider {
  width: 1px; height: 88px;
  background: rgba(255,255,255,0.45);
}

/* Pill button — transparent + white border on the dark final-CTA panel.
   Hover uses the same orange-wipe-in pattern as .at-btn-primary, with the
   inner content (icon + label) sliding right inside a stable outer frame. */
.at-final-cta-pill {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex; align-items: center;
  gap: 18px;
  padding: 14px 36px;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display); font-weight: 500;
  font-size: 18px; letter-spacing: -0.005em;
  min-width: 280px;
  justify-content: center;
  transition:
    color 220ms ease,
    border-color 280ms cubic-bezier(.32,.72,0,1);
}
.at-final-cta-pill::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--rubber-black);
  transform: translate3d(-101%, 0, 0) skewX(-8deg);
  transform-origin: left center;
  transition: transform 540ms cubic-bezier(.32,.72,0,1);
  z-index: -1;
}
.at-final-cta-pill > * {
  transition: transform 540ms cubic-bezier(.32,.72,0,1);
  position: relative;
  z-index: 1;
}
.at-final-cta-pill:hover {
  border-color: var(--rubber-black);
  color: #fff;
}
.at-final-cta-pill:hover::before {
  transform: translate3d(0, 0, 0) skewX(0deg);
}
.at-final-cta-pill:hover > * {
  transform: translate3d(4px, 0, 0);
}
.at-final-cta-pill-icon {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex: 0 0 28px;
}
.at-final-cta-pill-icon svg { width: 100%; height: 100%; }
.at-final-cta-pill-icon svg .accent { stroke: #fff; }
.at-final-cta-pill-label {
  font-family: var(--font-display); font-weight: 500;
  font-size: 18px; color: #fff; letter-spacing: -0.005em;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .at-final-cta-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .at-final-cta-divider {
    width: 60%; height: 1px;
    justify-self: center;
  }
}

/* ------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------ */
.at-footer {
  background: transparent;
  color: var(--steel-silver);
  padding: 80px 0 32px;
}
.at-footer-inner {
  max-width: 1408px; margin: 0 auto; padding: 0 32px;
}
.at-footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 40px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 1025px) and (max-width: 1240px) {
  .at-footer-top { gap: 28px; }
}
.at-footer-brand img { width: 120px; max-width: 100%; height: auto; margin-bottom: 20px; }
.at-footer-brand p {
  font-size: 13px; line-height: 1.6;
  color: var(--steel-silver); max-width: 280px;
  margin: 0 0 24px;
}
/* Terms link: underline redraws left→right in orange (req-link language). */
.at-footer-terms a {
  position: relative;
  font-size: 12px; color: var(--rubber-black-50);
  text-decoration: none;
  transition: color 240ms cubic-bezier(.22,.61,.36,1);
}
.at-footer-terms a::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: currentColor;
}
.at-footer-terms a::before {
  content: "";
  position: absolute; left: 0; bottom: -4px; z-index: 1;
  width: 100%; height: 1px;
  background: var(--performance-orange);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 360ms cubic-bezier(.22,.61,.36,1);
}
.at-footer-terms a:hover { color: #fff; }
.at-footer-terms a:hover::before { transform: scaleX(1); }
.at-footer-col-h {
  font-family: var(--font-display); font-weight: 700;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #fff; margin-top: 18px;
}
.at-footer-col { display: flex; flex-direction: column; gap: 10px; }
.at-footer-col li { list-style: none; }
/* Column links: an orange dash draws in from the left while the link
   slides over to make room — same accent language as the pill-eyebrow
   dot and the req-link underline elsewhere on the site. */
.at-footer-col a {
  position: relative;
  display: inline-block;
  width: fit-content;
  font-size: 13px; color: var(--steel-silver);
  text-decoration: none;
  /* Slide via padding (not transform): the box's left edge stays put, so
     the pointer never leaves the link mid-animation (no hover flicker). */
  padding-left: 0;
  transition:
    color 240ms cubic-bezier(.22,.61,.36,1),
    padding-left 360ms cubic-bezier(.22,.61,.36,1);
}
.at-footer-col a::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 10px; height: 2px; border-radius: 1px;
  background: var(--performance-orange);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
  transition: transform 360ms cubic-bezier(.22,.61,.36,1);
}
.at-footer-col a:hover {
  color: #fff;
  padding-left: 16px;
}
.at-footer-col a:hover::before { transform: translateY(-50%) scaleX(1); }
.at-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; flex-wrap: wrap; gap: 16px;
}
.at-footer-bottom-text { font-size: 12px; color: var(--rubber-black-50); }
.at-footer-social {
  display: flex; gap: 10px; align-items: center;
}
.at-footer-social-lbl { font-size: 12px; color: var(--steel-silver); margin-right: 6px; }
/* Social chips: orange wipes up from below (same language as the primary
   button wipe), with a small lift + icon pop. */
.at-footer-social a {
  position: relative; overflow: hidden;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: transform 320ms cubic-bezier(.22,.61,.36,1);
}
.at-footer-social a::before {
  content: "";
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--performance-orange);
  transform: translateY(101%);
  transition: transform 320ms cubic-bezier(.22,.61,.36,1);
}
.at-footer-social a:hover {
  transform: translateY(-3px);
}
.at-footer-social a:hover::before { transform: translateY(0); }
.at-footer-social svg {
  width: 14px; height: 14px;
  position: relative; z-index: 1;
  transition: transform 320ms cubic-bezier(.22,.61,.36,1);
}
.at-footer-social a:hover svg { transform: scale(1.12); }
@media (prefers-reduced-motion: reduce) {
  .at-footer-col a, .at-footer-col a::before,
  .at-footer-terms a, .at-footer-terms a::before,
  .at-footer-social a, .at-footer-social a::before, .at-footer-social svg {
    transition: none !important;
  }
  .at-footer-col a:hover { padding-left: 0; }
  .at-footer-social a:hover { transform: none; }
}

/* ------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------ */
@media (max-width: 1100px) {
  .at-pitch-inner, .at-workflow-card, .at-dealers-inner, .at-twocards-inner,
  .at-faq-inner { grid-template-columns: 1fr; }

  /* Two-cards accordion → stacked cards. The horizontal hover-to-expand
     interaction doesn't translate to touch, so every card renders in its
     full "open" state, stacked vertically and full width. The data-open
     variants are more specific than the rule above, so override them here. */
  .at-twocards-inner,
  .at-twocards-inner[data-open="0"],
  .at-twocards-inner[data-open="1"],
  .at-twocards-inner[data-open="2"] { grid-template-columns: 1fr; }
  .at-accordion-card { min-height: 360px; cursor: default; }
  /* Smaller card titles on mobile (the open-state title is the visible one). */
  .at-accordion-title { font-size: 20px; }
  .at-accordion-closed-title { font-size: 18px; }
  .at-accordion-closed { display: none; }
  .at-accordion-open {
    position: absolute; inset: 0; opacity: 1; pointer-events: auto;
    animation: none;
  }
  .at-accordion-card .at-accordion-eyebrow,
  .at-accordion-card .at-accordion-title,
  .at-accordion-card .at-accordion-body,
  .at-accordion-card .at-prodcard-cta { animation: none; }
  .at-partners-grid { grid-template-columns: repeat(2, 1fr); }
  .at-hero-strip { grid-template-columns: repeat(2, 1fr); }

  /* Footer: brand spans full width on top, then 4 link cols become a 2×2 grid */
  .at-footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }
  .at-footer-brand { grid-column: 1 / -1; }

  /* FAQ — drop the sticky left rail so the questions don't slide behind it */
  .at-faq-left { position: static; gap: 18px; }
  .at-faq-inner { gap: 40px; padding: 0 24px; }
}

/* ------------------------------------------------------------------
   GLOBAL MOBILE TYPE & LAYOUT PASS
   Scales big headlines down, reduces section paddings, fixes overlap
   between the FAQ left rail (photos) and the question list.
   ------------------------------------------------------------------ */
@media (max-width: 720px) {
  /* Section paddings — unify all -inner containers to 16px gutters,
     matching the desktop 32px. The .at-hero outer also drops to 16px
     so everything keeps the same edge alignment. */
  .at-pitch-inner,
  .at-workflow-inner,
  .at-dealers-inner,
  .at-twocards-inner,
  .at-partners,
  .at-faq-inner,
  .at-final-cta-inner,
  .at-footer-inner { padding-left: 16px; padding-right: 16px; }
  .at-hero { padding: 16px; }
  .at-pitch-inner { gap: 36px; }
  .at-faq-inner { gap: 28px; }
  .at-faq { padding: 0 0 64px; }
  .at-partners { padding-top: 56px; padding-bottom: 56px; }
  .at-twocards { padding-top: 56px; padding-bottom: 56px; }

  /* Footer — the 80px / 64px vertical paddings are oversized on phones. */
  .at-footer { padding: 40px 0 24px; }
  .at-footer-top { padding-bottom: 32px; gap: 28px 24px; }
  .at-footer-bottom { padding-top: 20px; }

  /* Display headlines step down a tier */
  .at-faq-title           { font-size: 30px; line-height: 1.02; }
  .at-final-cta-title     { font-size: 30px; line-height: 1.02; }
  .at-partners-eyebrow    { font-size: 24px; line-height: 1.05; }
  .at-pitch-title         { font-size: 30px; line-height: 1.02; }
  .at-workflow-title      { font-size: 28px; line-height: 1.05; }

  /* FAQ list — tighter rows, smaller question text, smaller circular
     toggle, less left padding on the answer so it never collides with
     the photo above it. */
  .at-faq-item   { padding: 16px 0; }
  .at-faq-q      { gap: 12px; align-items: flex-start; }
  .at-faq-q-num  { font-size: 13px; flex: 0 0 28px; padding-top: 3px; }
  .at-faq-q-text { font-size: 15px; line-height: 1.25; }
  .at-faq-q-toggle { width: 26px; height: 26px; flex: 0 0 26px; }
  .at-faq-q-toggle svg { width: 11px; height: 11px; }
  .at-faq-a-inner { padding-left: 40px; }
  .at-faq-a-text { font-size: 13px; }

  /* FAQ left rail — make the secondary photo overlap visible only as a
     decorative tile (no negative bottom that pokes into the question list). */
  .at-faq-photo      { height: 180px; margin-top: 8px; margin-bottom: 24px; }
  .at-faq-photo-sm   { width: 90px; height: 64px; bottom: -16px; right: 12px; border-width: 3px; }

  /* Final CTA pills — keep them readable on small screens. */
  .at-final-cta-row     { max-width: 100%; gap: 0; }
  .at-final-cta-col     { padding: 0 8px; gap: 12px; }
  .at-final-cta-pill    { min-width: 0; width: 100%; padding: 12px 18px; font-size: 16px; }
  .at-final-cta-pill-label { font-size: 16px; }
  .at-final-cta-pill-icon  { width: 22px; height: 22px; flex: 0 0 22px; }
  .at-final-cta-col-h   { font-size: 13px; }
}
@media (max-width: 768px) {
  .at-nav-links { display: none; }
  .at-hero-photo {
    aspect-ratio: 4/3;
    /* Drop the curved clip on mobile so the photo doesn't get cropped
       into the bottom-right notch shape (the strip lives below now). */
    -webkit-mask: none;
            mask: none;
    clip-path: none;
    border-radius: 16px;
  }
  .at-hero-content { position: static; padding: 120px 24px 24px; max-width: none; }
  .at-hero-ctas    { position: static; width: auto; padding: 0 24px 24px; }
  .at-prodcard.large { grid-template-columns: 1fr; }

  /* Hero strip moves below the hero on mobile — each card on its own row,
     full width, stacked vertically with a comfortable gap. */
  .at-hero-strip {
    position: static; transform: none;
    width: auto; margin: 16px;
    display: flex; flex-direction: column;
    gap: 10px;
    overflow: visible;
    padding: 0;
  }
  .at-hero-strip-card,
  .at-hero-strip-card.years {
    flex: 1 1 auto;
    width: 100%;
    min-height: 76px;
    scroll-snap-align: none;
  }
  /* Restore the years card to a normal block (its desktop SVG-mask
     would only show the curved silhouette on mobile widths). */
  .at-hero-strip-card.years {
    aspect-ratio: auto;
    height: auto;
    -webkit-mask: none;
            mask: none;
    background: var(--surface-dark);
    border-radius: 14px;
    padding: 20px 22px;
  }
}
}
