/* =========================================================
   Base
   ========================================================= */
:root {
  --navy: #07122e;
  --navy-deep: #001737;
  --blue: #123a7d;
  --accent: #3b82f6;
  --green: #23996a;
  --green-light: #5cc392;
  --text: #16223f;
  --muted: #4a5672;
  --tint: #f5f8fd;
  --line: #e3e9f3;
  --white: #fff;
  --header-h: 82px;
  --header-h-small: 68px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --pop: cubic-bezier(.34, 1.56, .64, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h-small) + 1px); }
/* Lenis does the easing when it is running; native smoothing would fight it */
html.lenis { scroll-behavior: auto; }

body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--navy); line-height: 1.25; letter-spacing: -.015em; }

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

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 6px;
}
.skip-link:focus { top: 12px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--navy); color: var(--white);
  border-radius: 6px; font-weight: 600; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
}
/* light sweep on hover */
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .22) 50%, transparent 70%);
  transform: translateX(-100%);
}
.btn:hover { background: #10275a; transform: translateY(-2px); box-shadow: 0 12px 24px rgb(7 18 46 / .25); }
.btn:hover::after { transform: translateX(100%); transition: transform .7s ease; }
.btn--sm { padding: 10px 24px; font-size: .875rem; }
.btn--lg { padding: 15px 28px; font-size: .95rem; }
.btn--lg i { font-size: 1.2rem; transition: transform .3s var(--ease); }
.btn--lg:hover i { transform: translateX(6px); }

/* =========================================================
   Header
   ========================================================= */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 110;
  background: linear-gradient(90deg, var(--accent), var(--green-light));
  transform-origin: left; transform: scaleX(var(--progress, 0));
}

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgb(255 255 255 / .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, margin-bottom .3s var(--ease);
  animation: header-in .7s var(--ease) both;
}
.header.is-scrolled {
  border-color: var(--line); box-shadow: 0 6px 24px rgb(7 18 46 / .08);
  /* gives back the height lost by shrinking, so the page below doesn't jump */
  margin-bottom: calc(var(--header-h) - var(--header-h-small));
}

.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  transition: height .3s var(--ease);
}
.header.is-scrolled .header__inner { height: var(--header-h-small); }

.logo {
  display: inline-flex; align-items: flex-end;
  color: var(--navy); font-weight: 800; font-size: 1.7rem; line-height: 1;
  letter-spacing: .04em;
}
.logo__mark { width: .85em; height: .76em; margin: 0 .06em .13em 0; }
.logo--light { color: var(--white); font-size: 1.45rem; }

.nav { display: flex; align-items: center; gap: 36px; font-size: .875rem; font-weight: 600; }
.nav a:not(.btn) { position: relative; padding: 6px 0; transition: color .25s; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover, .nav a.is-active:not(.btn) { color: var(--blue); }
.nav a:not(.btn):hover::after, .nav a.is-active:not(.btn)::after { transform: scaleX(1); }
.nav .btn { margin-left: 16px; }

.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  font-size: 1.8rem; color: var(--navy); padding: 4px;
}

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; background: linear-gradient(120deg, #fcfcfe 0%, var(--tint) 100%); overflow: hidden; }

.hero__glow {
  position: absolute; width: 520px; height: 520px; top: -180px; left: -160px;
  background: radial-gradient(circle, rgb(59 130 246 / .14), transparent 68%);
  animation: float 12s ease-in-out infinite alternate;
}

.hero__inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 40px;
  /* left edge lines up with .container, photo runs closer to the right edge */
  padding: 26px max(24px, (100% - 1320px) / 2) 26px max(24px, (100% - 1180px) / 2);
}

.hero__title { font-size: clamp(2rem, 3.6vw, 3.1rem); font-weight: 800; line-height: 1.22; margin-bottom: 26px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: block; animation: line-up .9s var(--ease) backwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .1s; }
.hero__title .line:nth-child(3) > span { animation-delay: .2s; }
.hero__title .line:nth-child(4) > span { animation-delay: .3s; }

.hero__text { max-width: 460px; font-size: 1.05rem; margin-bottom: 22px; }
.hero__strong { font-weight: 700; color: var(--navy); margin-bottom: 32px; }

/* entrance: the frame fades and rises while the photo inside settles from a slight zoom */
.hero__media {
  border-radius: 10px; overflow: hidden; box-shadow: 0 24px 50px rgb(7 18 46 / .16);
  animation: media-in 1.2s var(--ease) .2s backwards;
}
.hero__media img {
  width: 100%; height: auto;
  animation: media-settle 2s var(--ease) .2s backwards;
}

/* =========================================================
   Sections
   ========================================================= */
.section { padding: 64px 0; }
.section--tint { background: var(--tint); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.section__head h2 { font-size: clamp(1.6rem, 2.6vw, 2.05rem); font-weight: 800; }
.section__head p { margin-top: 14px; color: var(--muted); }

/* --- What we do --- */
.needs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; text-align: center; }
.need {
  position: relative; padding: 20px 10px; border-radius: 12px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .35s;
}
.need:hover { transform: translateY(-8px); background: var(--white); box-shadow: 0 18px 40px rgb(18 58 125 / .12); }
.need i { display: inline-block; font-size: 3rem; color: var(--blue); margin-bottom: 18px; transition: color .3s; }
.need.is-visible i { animation: icon-pop .7s var(--pop) calc(var(--d, 0ms) + 250ms) backwards; }
/* Wiggle the glyph, not the <i>: replacing the <i>'s animation would replay the entrance pop on mouse-out */
.need i::before { display: inline-block; }
.need:hover i { color: var(--accent); }
.need:hover i::before { animation: wiggle .6s ease; }
/* keeps the card hovered when the cursor is in the gap it leaves behind by lifting */
.need::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 8px; }
.need h3 { font-size: .875rem; margin-bottom: 12px; }
.need p { font-size: .84rem; color: var(--muted); }

.pipeline__note { text-align: center; font-weight: 700; color: var(--navy); margin-top: 30px; }

/* --- Capability --- */
.capability__grid { display: grid; grid-template-columns: 9fr 10fr; gap: 24px; }
.panel {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 18px;
  box-shadow: 0 8px 24px rgb(18 58 125 / .05);
}
.panel > h3 { text-align: center; font-size: .98rem; margin-bottom: 18px; }

.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.areas li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  min-height: 92px; border: 1px solid var(--line); border-radius: 8px;
  font-weight: 700; font-size: .85rem; color: var(--navy);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.areas li:hover { transform: translateY(-5px); border-color: var(--green-light); box-shadow: 0 12px 24px rgb(35 153 106 / .14); }
.areas i { font-size: 1.8rem; color: var(--green); transition: transform .4s var(--pop); }
.areas li:hover i { transform: scale(1.22); }

.skills { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; gap: 18px 24px; padding: 8px 4px; }
.skills li { display: flex; align-items: flex-start; gap: 12px; font-size: .875rem; }
.skills i { color: var(--green); font-size: 1.05rem; margin-top: .2em; flex: none; }
.skills li.is-visible i { animation: icon-pop .6s var(--pop) calc(var(--d, 0ms) + 300ms) backwards; }

.capability__cert { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; font-size: .92rem; }
.capability__cert i { font-size: 1.9rem; color: var(--green); flex: none; animation: pulse 2.6s ease-in-out infinite; }

/* --- How we work: vertical, scroll-driven timeline --- */
.process { padding-block: 56px; }
.timeline { position: relative; max-width: 980px; margin-inline: auto; --node: 64px; }
.timeline ol { position: relative; display: grid; gap: 28px; padding-block: 20px; }

.timeline__rail { position: absolute; top: 0; bottom: 0; left: calc(50% - 3px); width: 6px; }
/* moving dots: the part still ahead */
.timeline__rail::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle, #9fb0cf 2.2px, transparent 2.8px) 50% 0 / 6px 14px repeat-y;
  animation: flow .9s linear infinite;
}
/* solid line: the part already scrolled through. --fill is set by main.js */
.timeline__fill {
  position: absolute; top: 0; bottom: 0; left: 1px; width: 4px; border-radius: 4px;
  background: linear-gradient(var(--accent), var(--green-light));
  clip-path: inset(0 0 calc(100% - var(--fill, 100%)) 0);
}
.timeline__head {
  position: absolute; left: -4px; top: calc(var(--fill, 100%) - 7px);
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--accent);
  box-shadow: 0 0 0 6px rgb(59 130 246 / .18), 0 0 18px var(--accent);
}

.tstep { display: grid; grid-template-columns: 1fr var(--node) 1fr; column-gap: 40px; align-items: center; }
.tstep > * { grid-row: 1; }
.tstep__card { grid-column: 1; text-align: right; }
.tstep__node { grid-column: 2; }
.tstep__big  { grid-column: 3; }
.tstep:nth-child(even) .tstep__card { grid-column: 3; text-align: left; }
.tstep:nth-child(even) .tstep__big  { grid-column: 1; justify-self: end; }

.tstep__card {
  position: relative; padding: 24px 28px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 8px 24px rgb(18 58 125 / .06);
  transition: border-color .4s, box-shadow .4s, transform .4s var(--ease);
}
/* pointer towards the line */
.tstep__card::after {
  content: ""; position: absolute; top: calc(50% - 7px); right: -8px; width: 14px; height: 14px;
  background: inherit; border: solid var(--line); border-width: 1px 1px 0 0;
  transform: rotate(45deg); transition: border-color .4s;
}
.tstep:nth-child(even) .tstep__card::after { right: auto; left: -8px; border-width: 0 0 1px 1px; }
.tstep__card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgb(18 58 125 / .14); }
.tstep__label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.tstep__card h3 { font-size: 1.08rem; margin: 6px 0 8px; }
.tstep__card p { font-size: .9rem; color: var(--muted); }

.tstep__node {
  position: relative; display: grid; place-items: center;
  width: var(--node); height: var(--node); border-radius: 50%;
  background: var(--white); color: var(--navy); font-size: 1.7rem;
  border: 2px solid #c5d0e4; box-shadow: 0 0 0 8px var(--white);
  transition: background-color .4s, color .4s, border-color .4s, transform .45s var(--pop);
}
.tstep__big {
  font-size: clamp(4rem, 9vw, 7rem); font-weight: 800; line-height: 1; justify-self: start;
  color: transparent; -webkit-text-stroke: 1.5px #c5d0e4;
  transition: color .6s, -webkit-text-stroke-color .6s;
}

/* A step is "reached" when the line gets to it. Without JavaScript every step shows as reached. */
.tstep.is-active .tstep__node, html:not(.js) .tstep__node {
  background: var(--navy); color: var(--white); border-color: var(--navy); transform: scale(1.08);
}
.tstep.is-active .tstep__node::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid var(--accent); opacity: 0; animation: node-ring 2s ease-out infinite;
}
.tstep.is-active .tstep__card { border-color: #a9c6fb; box-shadow: 0 16px 36px rgb(59 130 246 / .14); }
.tstep.is-active .tstep__card::after { border-color: #a9c6fb; }
.tstep.is-active .tstep__big { color: #dbe7fd; -webkit-text-stroke-color: transparent; }

.process__note {
  display: flex; align-items: center; justify-content: center; gap: 26px;
  max-width: 730px; margin: 36px auto 0; padding: 14px 24px;
  background: var(--tint); border-radius: 8px; font-size: .92rem;
}
.process__note i { font-size: 2rem; color: var(--blue); flex: none; }

/* --- Why Axomir --- */
.why { position: relative; background: var(--navy-deep); color: #d5deee; padding: 52px 0 60px; overflow: hidden; }
.why h2, .why h3 { color: var(--white); }

.why__orb { position: absolute; border-radius: 50%; pointer-events: none; animation: float 11s ease-in-out infinite alternate; }
.why__orb--1 { width: 480px; height: 480px; top: -200px; right: -80px; background: radial-gradient(circle, rgb(59 130 246 / .22), transparent 68%); }
.why__orb--2 { width: 420px; height: 420px; bottom: -230px; left: -100px; background: radial-gradient(circle, rgb(92 195 146 / .16), transparent 68%); animation-delay: -5s; }

.why__grid { position: relative; display: grid; grid-template-columns: 1.75fr 1fr; gap: 56px; align-items: center; }
.why h2 { font-size: clamp(1.6rem, 2.6vw, 2.05rem); font-weight: 800; margin-bottom: 14px; }
.why__intro { max-width: 520px; margin-bottom: 34px; }

.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 36px; }
.reasons li { display: flex; gap: 18px; }
.reasons i { flex: none; font-size: 1.5rem; color: var(--green-light); }
.reasons li.is-visible i { animation: icon-pop .6s var(--pop) calc(var(--d, 0ms) + 250ms) backwards; }
.reasons h3 { font-size: .9rem; margin-bottom: 10px; }
.reasons p { font-size: .85rem; color: #bcc8de; }

.quote {
  background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .06);
  border-radius: 10px; padding: 34px 36px;
  transition: transform .35s var(--ease), background-color .35s;
}
.quote:hover { transform: translateY(-6px); background: rgb(255 255 255 / .09); }
.quote > i { font-size: 2.6rem; color: #9fb0cf; margin-bottom: 8px; }
.quote p { font-size: 1.08rem; line-height: 1.85; color: var(--white); }
.quote__rule { display: block; width: 62px; height: 3px; border-radius: 3px; background: var(--green-light); margin-top: 22px; transform-origin: left; }
.quote.is-visible .quote__rule { animation: grow-x .9s var(--ease) 1.1s backwards; }

/* --- Contact --- */
.contact { padding: 26px 0; }
.contact__box {
  display: grid; grid-template-columns: 1.15fr .9fr 1.15fr; gap: 32px; align-items: center;
  background: var(--tint); border-radius: 12px; padding: 36px 40px;
}
.contact h2 { font-size: clamp(1.35rem, 2vw, 1.65rem); font-weight: 800; margin-bottom: 16px; }
.contact__intro p { font-size: .9rem; color: var(--muted); }

.contact__list { display: grid; gap: 14px; }
.contact__list a { display: flex; align-items: center; gap: 16px; font-size: .84rem; color: var(--muted); overflow-wrap: anywhere; }
.contact__list strong { display: block; color: var(--navy); font-size: .875rem; }
.contact__icon {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 8px;
  background: var(--white); color: var(--blue); font-size: 1.5rem;
  box-shadow: 0 4px 14px rgb(18 58 125 / .08);
  transition: background-color .3s, color .3s, transform .4s var(--pop);
}
.contact__list a:hover .contact__icon { background: var(--navy); color: var(--white); transform: scale(1.1) rotate(-6deg); }

.map { position: relative; width: 100%; max-width: 440px; justify-self: end; }
.map img { width: 100%; height: auto; }
.map__route { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--accent); stroke-width: .8; stroke-linecap: round; }
.map__route path { stroke-dasharray: 1; }
.map.is-visible .map__route path { animation: draw 1.1s var(--ease) 1.4s backwards; }

/* the pin's tip sits exactly on left/top */
.pin { position: absolute; width: 0; height: 0; color: var(--navy); }
.pin--uae { left: 42.9%; top: 39.8%; }
.pin--pk  { left: 51.4%; top: 34.6%; }
.pin i { position: absolute; left: -13px; bottom: -3px; font-size: 26px; line-height: 1; }
.pin::before {
  content: ""; position: absolute; left: -9px; top: -9px; width: 18px; height: 18px;
  border-radius: 50%; border: 2px solid var(--accent); opacity: 0;
  animation: ping 2.2s ease-out infinite;
}
.pin--pk::before { animation-delay: 1.1s; }
.pin span {
  position: absolute; top: 14px; white-space: nowrap; font-size: .74rem; font-weight: 700;
  background: var(--white); padding: 3px 9px; border-radius: 5px; box-shadow: 0 4px 12px rgb(18 58 125 / .1);
}
.pin--uae span { right: -6px; top: 18px; }
.pin--pk span { left: 2px; top: 10px; }
.map.is-visible .pin--uae i { animation: pin-drop .8s var(--pop) .8s backwards; }
.map.is-visible .pin--pk i { animation: pin-drop .8s var(--pop) 1.15s backwards; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--navy-deep); color: #bcc8de; font-size: .82rem; border-top: 1px solid rgb(255 255 255 / .08); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 18px 0; }
.footer__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }

.to-top {
  position: fixed; right: 20px; bottom: 72px; z-index: 90;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white); border: 1px solid rgb(255 255 255 / .2);
  box-shadow: 0 8px 20px rgb(7 18 46 / .25);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }

/* =========================================================
   Scroll reveal
   Elements stay hidden until JS adds .is-visible. Animations use
   "backwards" fill so hover transforms keep working afterwards.
   ========================================================= */
.js [data-anim]:not(.is-visible) { opacity: 0; }
[data-anim="up"].is-visible    { animation: reveal-up .8s var(--ease) var(--d, 0ms) backwards; }
[data-anim="left"].is-visible  { animation: reveal-left .85s var(--ease) var(--d, 0ms) backwards; }
[data-anim="right"].is-visible { animation: reveal-right .85s var(--ease) var(--d, 0ms) backwards; }
[data-anim="zoom"].is-visible  { animation: reveal-zoom .7s var(--ease) var(--d, 0ms) backwards; }
[data-anim="fade"].is-visible  { animation: reveal-fade 1s ease var(--d, 0ms) backwards; }

@keyframes reveal-up    { from { opacity: 0; transform: translateY(34px); } }
@keyframes reveal-left  { from { opacity: 0; transform: translateX(-44px); } }
@keyframes reveal-right { from { opacity: 0; transform: translateX(44px); } }
@keyframes reveal-zoom  { from { opacity: 0; transform: scale(.88); } }
@keyframes reveal-fade  { from { opacity: 0; } }

@keyframes header-in { from { opacity: 0; transform: translateY(-100%); } }
@keyframes line-up   { from { transform: translateY(105%); } }
@keyframes media-in     { from { opacity: 0; transform: translateY(24px); } }
@keyframes media-settle { from { transform: scale(1.07); } }
@keyframes icon-pop  { from { opacity: 0; transform: scale(.3); } }
@keyframes grow-x    { from { transform: scaleX(0); } }
@keyframes draw      { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes float     { to { transform: translate(60px, 40px) scale(1.12); } }
@keyframes pulse     { 50% { transform: scale(1.14); } }
@keyframes wiggle    { 25% { transform: rotate(-10deg); } 60% { transform: rotate(8deg); } }
@keyframes ping      { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.2); } }
@keyframes pin-drop  { from { opacity: 0; transform: translateY(-34px); } }
@keyframes flow      { to { background-position: 50% 14px; } }
@keyframes node-ring { 0% { opacity: .8; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.4); } }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .needs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .why__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact__box { grid-template-columns: 1fr 1fr; }
  .map { grid-column: 1 / -1; justify-self: center; max-width: 520px; }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 24px 24px;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgb(7 18 46 / .12);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 10px 0; }
  .nav .btn { margin: 10px 0 0; }

  .hero__inner { grid-template-columns: 1fr; padding-block: 44px; }
  .capability__grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .section { padding: 48px 0; }
  .needs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .need { padding: 14px 4px; }
  .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skills, .reasons { grid-template-columns: 1fr; }
  .skills { grid-template-rows: none; grid-auto-flow: row; gap: 14px; }
  /* timeline: line on the left, every card to its right */
  .timeline { --node: 48px; }
  .timeline__rail { left: calc(var(--node) / 2 - 3px); }
  .tstep { grid-template-columns: var(--node) minmax(0, 1fr); column-gap: 22px; }
  .tstep__node { grid-column: 1; font-size: 1.35rem; }
  .tstep__card, .tstep:nth-child(even) .tstep__card { grid-column: 2; text-align: left; padding: 18px; }
  .tstep__card::after, .tstep:nth-child(even) .tstep__card::after { right: auto; left: -8px; border-width: 0 0 1px 1px; }
  .tstep__big { display: none; }
  .capability__cert { align-items: flex-start; }
  .process__note { gap: 16px; }
  .contact__box { grid-template-columns: 1fr; padding: 28px 20px; }
  .pin span { font-size: .65rem; padding: 2px 6px; }
  .footer__inner { flex-direction: column; text-align: center; }
  .footer__dot { display: none; }
  .footer__meta { flex-direction: column; }
}

/* =========================================================
   Reduced motion
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
  }
}
