/* ============================================================
   NOMATEC — O NAS  (an- prefix, clean redesign)
   ============================================================ */

/* ══════════════════════════════════════════════════════════
   1. HERO
══════════════════════════════════════════════════════════ */
.an-hero {
  position: relative;
  height: 100vh;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.an-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/allphoto/nomatec-polska-hero.webp');
  background-size: cover;
  background-position: center 30%;
  transform: scale(1.06);
  transition: transform 9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.an-hero.is-loaded .an-hero__bg { transform: scale(1); }

.an-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,10,0.96) 0%, rgba(10,10,10,0.48) 55%, rgba(10,10,10,0.18) 100%),
    linear-gradient(to right, rgba(10,10,10,0.68) 0%, rgba(10,10,10,0.12) 62%, rgba(10,10,10,0.2) 100%),
    linear-gradient(rgba(10,10,10,0.2), rgba(10,10,10,0.2));
}

.an-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem 5rem;
}

.an-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
}
.an-eyebrow-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--color-red);
  flex-shrink: 0;
}

.an-hero__h1 {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--color-white);
  margin: 0 0 2rem;
}
.an-hero__h1-light {
  color: rgba(255,255,255,0.4);
}
.an-hero__dot {
  color: var(--color-red);
}
.an-hero__dot--sm {
  font-size: 0.75em;
}

.an-hero__sub {
  font-size: clamp(0.875rem, 1.25vw, 1rem);
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 480px;
  margin: 0;
}

/* Scroll indicator */
.an-hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 2;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.an-hero__scroll span {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--color-red), transparent);
  animation: anPulse 2s ease-in-out infinite;
}
@keyframes anPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.6); }
}

/* ══════════════════════════════════════════════════════════
   2. STATS BAR
══════════════════════════════════════════════════════════ */
.an-stats {
  display: flex;
  align-items: stretch;
  background: var(--color-dark);
  border-top: 2px solid var(--color-red);
  border-bottom: 1px solid var(--color-mid);
}
.an-stats__item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 2.5rem 2.5rem;
  transition: background var(--dur-med) var(--ease);
}
.an-stats__item:hover { background: rgba(255,255,255,0.02); }

.an-stats__val {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--color-white);
  line-height: 1;
  white-space: nowrap;
}
.an-stats__val sup {
  font-size: 0.45em;
  color: var(--color-red);
  font-weight: 400;
  vertical-align: super;
  margin-left: 0.1em;
}
.an-stats__lbl {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  line-height: 1.6;
}
.an-stats__sep {
  width: 1px;
  background: var(--color-mid);
  flex-shrink: 0;
  align-self: stretch;
}

/* ══════════════════════════════════════════════════════════
   3. STORY — text left + photo right
══════════════════════════════════════════════════════════ */
.an-story {
  display: grid;
  grid-template-columns: 58% 42%;
  min-height: 620px;
  border-bottom: 1px solid var(--color-mid);
}

.an-story__text {
  background: var(--color-black);
  padding: 5rem 4rem 5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.an-story__text::before,
.an-story__text::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.an-story__text::before {
  background-image: url('/assets/allphoto/nomatec-mapa-process.webp');
  /* Oversized + bottom-left crop: keeps the baked-in "POLSKA FIRMA…" caption
     out of frame and parks the POZNAŃ label under the big heading,
     so paragraphs sit only over the sparse map dots. */
  background-size: auto 132%;
  background-position: left bottom;
  opacity: 0.5;
  filter: saturate(0.8) brightness(0.9);
  z-index: 0;
}
.an-story__text::after {
  background:
    linear-gradient(90deg, rgba(10,10,10,0.6) 0%, rgba(10,10,10,0.66) 45%, rgba(10,10,10,0.97) 72%, rgba(10,10,10,0.97) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.42) 45%, rgba(10,10,10,0.78) 100%);
  z-index: 0;
}
.an-story__text > * {
  position: relative;
  z-index: 1;
}
.an-story__text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-white);
  margin: 0.75rem 0 1.5rem;
}
.an-story__text p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.52);
  max-width: 440px;
  margin-bottom: 1rem;
}

/* Two text columns: history (left) + manifesto (right) */
.an-story__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.75rem;
  margin-top: 0.5rem;
}
.an-story__cols p { max-width: none; }
.an-story__col--manifest {
  border-left: 2px solid var(--color-red);
  padding-left: 1.75rem;
  align-self: start;
}
.an-story__col--manifest p {
  color: rgba(255,255,255,0.68);
}
.an-story__col--manifest p:first-child {
  color: rgba(255,255,255,0.86);
}
@media (max-width: 1280px) {
  .an-story__cols { grid-template-columns: 1fr; gap: 0; }
  .an-story__col--manifest { margin-top: 1.5rem; }
}

/* Pillars list */
.an-story__pillars {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  border-top: 1px solid var(--color-mid);
}
.an-story__pillars li {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-mid);
  align-items: flex-start;
}
.an-story__pillar-num {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  color: var(--color-red);
  flex-shrink: 0;
  padding-top: 0.25rem;
  opacity: 0.8;
}
.an-story__pillars strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--color-white);
  margin-bottom: 0.2rem;
  font-weight: 600;
}
.an-story__pillars span {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.5;
}

/* Photo side */
.an-story__photo {
  position: relative;
  overflow: hidden;
}
.an-story__photo-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/allphoto/nomatec-tokarka-w-pracy.webp');
  background-size: cover;
  background-position: center;
  filter: brightness(0.5) saturate(0.55);
  transform: scale(1.04);
  transition: transform 8s var(--ease);
  will-change: transform;
}
.an-story:hover .an-story__photo-bg { transform: scale(1); }
.an-story__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.65) 0%, transparent 35%);
}

.an-story__photo-badge {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  background: rgba(10,10,10,0.75);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 2px solid var(--color-red);
  padding: 1rem 1.5rem;
  text-align: center;
}
.an-story__photo-badge-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.an-story__photo-badge-lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ══════════════════════════════════════════════════════════
   SHARED KEYFRAMES
══════════════════════════════════════════════════════════ */
@keyframes anFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes anFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes anRingCW  { to { transform: rotate(360deg);  } }
@keyframes anRingCCW { to { transform: rotate(-360deg); } }
@keyframes anScan {
  0%   { top: -200px; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 110%; opacity: 0; }
}
@keyframes anLineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Scroll-trigger helpers */
.an-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease, ease), transform 0.7s var(--ease, ease);
}
.an-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Story lead paragraph */
.an-story__lead {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 1.75vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

/* ══════════════════════════════════════════════════════════
   3b. SCOPE — competence grid linking to all services
══════════════════════════════════════════════════════════ */
.an-scope {
  background: var(--color-dark);
  border-top: 1px solid #1e1e1e;
  border-bottom: 1px solid #1e1e1e;
  position: relative;
}
.an-scope__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 2rem;
}
.an-scope__head {
  max-width: 700px;
  margin-bottom: 3.5rem;
}
.an-scope__head h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--color-white);
  margin: 0.75rem 0 1.25rem;
}
.an-scope__head p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  max-width: 580px;
}

.an-scope__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #1e1e1e;
}
.an-scope__tile {
  display: flex;
  flex-direction: column;
  background: #111111;
  padding: 2rem 1.75rem 1.75rem;
  min-height: 215px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: background var(--dur-med) var(--ease);
}
.an-scope__tile:hover { background: #0e0e0e; }
.an-scope__tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  transition: background var(--dur-med) var(--ease);
}
.an-scope__tile:hover::before { background: var(--color-red); }
.an-scope__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  color: var(--color-red);
  margin-bottom: 1.5rem;
  opacity: 0.8;
}
.an-scope__tile h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--color-white);
  margin: 0 0 0.65rem;
}
.an-scope__tile p {
  font-size: 0.845rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.7;
  margin: 0 0 1.25rem;
}
.an-scope__link {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color var(--dur-med) var(--ease);
}
.an-scope__tile:hover .an-scope__link { color: var(--color-red); }

/* ══════════════════════════════════════════════════════════
   3c. WHO — prototypes / series / automation
══════════════════════════════════════════════════════════ */
.an-who {
  background: #0b0b0b;
  position: relative;
}
.an-who__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 2rem;
}
.an-who__head { margin-bottom: 3rem; }
.an-who__head h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.0;
  color: var(--color-white);
  margin-top: 0.75rem;
}
.an-who__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.an-who__card {
  background: #111111;
  border: 1px solid #1e1e1e;
  padding: 2.5rem 2.25rem;
  position: relative;
  transition: border-color var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}
.an-who__card:hover {
  border-color: rgba(255,16,28,0.55);
  transform: translateY(-4px);
}
.an-who__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  color: var(--color-red);
  margin-bottom: 1.75rem;
  opacity: 0.8;
}
.an-who__card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--color-white);
  margin: 0 0 1rem;
}
.an-who__card p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.75;
  margin: 0;
}
.an-who__note {
  margin: 2.75rem auto 0;
  max-width: 640px;
  text-align: center;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}

/* ══════════════════════════════════════════════════════════
   4. PROCESS — timeline flow
══════════════════════════════════════════════════════════ */
.an-process {
  background: #101012;
  border-top: 3px solid var(--color-red);
  position: relative;
  overflow: hidden;
}
.an-process::before,
.an-process::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.an-process::before {
  background-image: url('/assets/allphoto/nomatec-mapa-process.webp');
  background-size: cover;
  background-position: center 48%;
  opacity: 0.66;
  filter: saturate(0.78) brightness(0.82);
  transform: scale(1.02);
}
.an-process::after {
  background:
    linear-gradient(90deg, rgba(16,16,18,0.9) 0%, rgba(16,16,18,0.64) 44%, rgba(16,16,18,0.76) 100%),
    linear-gradient(180deg, rgba(16,16,18,0.54) 0%, rgba(16,16,18,0.66) 48%, rgba(16,16,18,0.88) 100%);
}
.an-process__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}
.an-process__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 4.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #1e1e1e;
}
.an-process__head-text { max-width: 440px; }
.an-process__head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-white);
  margin: 0.75rem 0 0;
}
.an-process__head-steps {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.2);
  white-space: nowrap;
  align-self: center;
}
.an-process__head-steps span { color: var(--color-red); }

.an-process__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: transparent;
  position: relative;
}
.an-process__grid--three { grid-template-columns: repeat(3, 1fr); }
.an-process__grid--three::before { right: 33.33%; }
.an-process__more {
  display: inline-block;
  margin-top: 3rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-red);
  text-decoration: none;
  transition: color var(--dur-med) var(--ease);
}
.an-process__more:hover { color: var(--color-red-dark); }

/* Horizontal connecting line through all dots */
.an-process__grid::before {
  content: '';
  position: absolute;
  top: 0.5rem;
  left: 0.625rem;
  right: 0.625rem;
  height: 1px;
  background: linear-gradient(to right,
    var(--color-red) 0%,
    rgba(255,16,28,0.4) 50%,
    rgba(255,16,28,0.1) 100%);
  z-index: 0;
}

.an-process__step {
  background: transparent;
  padding: 0 2.5rem 0 0;
  position: relative;
  z-index: 1;
  isolation: isolate;
  cursor: default;
}

/* Dot at top of each step */
.an-process__num {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.28);
  margin-bottom: 2.25rem;
  position: relative;
  z-index: 1;
  transition: color var(--dur-fast) var(--ease);
}
.an-process__num::before {
  content: '';
  display: block;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255,16,28,0.55);
  background: var(--color-dark);
  flex-shrink: 0;
  transition: background var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}
.an-process__step:hover .an-process__num { color: var(--color-red); }
.an-process__step:hover .an-process__num::before {
  background: var(--color-red);
  border-color: var(--color-red);
  transform: scale(1.25);
}

/* Ghost large number watermark */
.an-process__step::after {
  content: attr(data-n);
  position: absolute;
  bottom: -0.15rem;
  left: clamp(7rem, 42%, 14rem);
  font-family: var(--font-heading);
  font-size: clamp(6rem, 8vw, 7.25rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,0.095);
  line-height: 1;
  z-index: -1;
  text-shadow:
    0 0 1px rgba(255,255,255,0.18),
    0 0 28px rgba(255,16,28,0.08);
  pointer-events: none;
  user-select: none;
}

.an-process__step h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-white);
  margin: 0 0 0.75rem;
  transition: color var(--dur-fast) var(--ease);
}
.an-process__step:hover h3 { color: var(--color-red); }

.an-process__step p {
  position: relative;
  z-index: 1;
  font-size: 0.8125rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.4);
  margin: 0;
  max-width: 200px;
}

/* ══════════════════════════════════════════════════════════
   6. CTA
══════════════════════════════════════════════════════════ */
.an-cta {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--color-mid);
}
.an-cta__bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/allphoto/nomatec-pomiar-detalu-suwmiarka.webp');
  background-size: cover;
  background-position: center;
  filter: brightness(0.2) saturate(0.25);
  transition: filter 8s ease;
}
.an-cta:hover .an-cta__bg { filter: brightness(0.28) saturate(0.3); }
.an-cta__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 50%, rgba(255,16,28,0.07), transparent 50%),
    linear-gradient(135deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.65) 100%);
}
.an-cta__inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem 2rem;
  width: 100%;
}
.an-cta__inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-white);
  margin: 0.75rem 0 1rem;
}
.an-cta__inner h2 span { color: var(--color-red); }
.an-cta__inner p {
  font-size: 0.9375rem;
  color: var(--color-light);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 2.5rem;
}
.an-cta__actions {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.an-cta__contact {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.an-cta__contact a {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.an-cta__contact a::before { content: '→'; color: var(--color-red); font-size: 0.75rem; }
.an-cta__contact a:hover { color: var(--color-white); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .an-process__grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .an-process__grid::before { right: 33.33%; }
}

@media (max-width: 1024px) {
  .an-stats { flex-wrap: wrap; }
  .an-stats__sep { display: none; }
  .an-stats__item { flex: none; width: 50%; border-bottom: 1px solid var(--color-mid); }
  .an-story { grid-template-columns: 1fr; }
  .an-story__photo { height: 360px; }
  .an-story__text { padding: 3.5rem 2rem; }
  .an-story__cols { grid-template-columns: 1fr; gap: 0; }
  .an-story__col--manifest { margin-top: 1.5rem; }
  .an-scope__grid { grid-template-columns: repeat(2, 1fr); }
  .an-who__cards { grid-template-columns: 1fr; }
  .an-process__grid { grid-template-columns: repeat(3, 1fr); }
  .an-process__head { flex-direction: column; align-items: flex-start; }
  .an-process__head-steps { display: none; }
}

@media (max-width: 768px) {
  .an-hero { height: 55vh; min-height: 400px; }
  .an-hero__h1 { font-size: clamp(2.5rem, 11vw, 4rem); }
  .an-hero__inner { padding: 0 1.5rem 3rem; }
  .an-hero__scroll { display: none; }
  .an-stats__item { width: 100%; }
  .an-story__text { padding: 3rem 1.5rem; }
  .an-scope__inner { padding: 3.5rem 1.5rem; }
  .an-scope__grid { grid-template-columns: 1fr; }
  .an-scope__tile { min-height: 0; }
  .an-who__inner { padding: 3.5rem 1.5rem; }
  .an-process__inner { padding: 3.5rem 1.5rem 4rem; }
  .an-process__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #1a1a1a;
  }
  .an-process__grid::before { display: none; }
  .an-process__step {
    background: var(--color-dark);
    padding: 2rem 1.5rem;
  }
  .an-process__step p { max-width: none; }
  .an-cta__inner { padding: 4rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .an-hero__bg,
  .an-story__photo-bg { transition: none; }
  .an-hero__scroll span { animation: none; }
}
