/* ===========================================================================
   UAB TECHNOTOOL - stylesheet
   Everything visual is driven by the tokens in :root. Change them first.
   =========================================================================== */

:root {
  /* --- brand colours (sampled from the design mockup) --- */
  --navy-900: #04162b;   /* hero / deep background      */
  --navy-800: #071b31;   /* footer                      */
  --navy-700: #0e2440;   /* dark panels                 */
  --ink:      #101d33;   /* headings                    */
  --body:     #55566b;   /* body text                   */
  --muted:    #8a8fa3;

  --red:      #e5261a;   /* accent: headline, phone, primary CTA */
  --red-dark: #c51d12;
  --blue:     #0e4fe0;   /* UŽKLAUSA button, icons      */
  --blue-ink: #3b6ef4;   /* outline icon colour         */
  --blue-dark:#0a3cb0;

  --bg:       #ffffff;
  --bg-alt:   #f5f6f9;   /* logo strip, stats band      */
  --line:     #e4e7ee;

  /* --- type --- */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* --- layout --- */
  --container: 1200px;
  --gutter: 24px;
  --header-h: 78px;
  --radius: 6px;
  --radius-lg: 10px;
  /* --- service card component ---------------------------------------
     Every card is one fixed size, derived entirely from these tokens:
     a photo of fixed aspect plus a bar sized for --svc-label-lines
     lines of type. Copy length cannot change a card's dimensions.     */
  --radius-card:     10px;   /* the white plate                       */
  --svc-pad:         4px;    /* white frame around the photo          */
  --svc-ratio:       2.69;   /* photo width : height                  */
  --svc-label-lines: 3;      /* bar is sized for this many lines      */
  --svc-label-size:  11.5px;
  --svc-label-lh:    1.35;
  --svc-bar-pad:     9px;
  --svc-bar-h: calc(
    var(--svc-label-lines) * var(--svc-label-size) * var(--svc-label-lh)
    + var(--svc-bar-pad) * 2);

  --shadow-sm: 0 1px 3px rgba(16, 29, 51, .08);
  --shadow-md: 0 6px 20px rgba(16, 29, 51, .10);
  --shadow-lg: 0 18px 44px rgba(16, 29, 51, .16);
  --shadow-card: 0 2px 10px rgba(16, 29, 51, .07);

  --section-y: 76px;

  /* Size of the client's PNG icons in the About block and the stats band.
     Change it here AND in tools/icons.py (DISPLAY), then re-run that script -
     the files are exported at exactly 2x this for retina. */
  --png-ico: 48px;
}

/* ------------------------------- reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); line-height: 1.15; font-weight: 800; }
p { margin: 0 0 1.1em; }
button { font: inherit; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 860px; }
.section { padding-block: var(--section-y); }
.center { text-align: center; }
.is-red { color: var(--red); }

/* icon wrapper: sizes the inline svg */
.ico { display: inline-flex; flex: none; width: 20px; height: 20px; }
.ico svg { width: 100%; height: 100%; }
.ico--xs { width: 14px; height: 14px; }
.ico--lg { width: 38px; height: 38px; color: var(--blue-ink); }

/* ------------------------------ buttons --------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn .ico { width: 16px; height: 16px; }
.btn--lg { padding: 15px 26px; font-size: 14px; }
.btn--red   { background: var(--red);  color: #fff; }
.btn--red:hover   { background: var(--red-dark); }
.btn--blue  { background: var(--blue); color: #fff; }
.btn--blue:hover  { background: var(--blue-dark); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); }

/* ============================== HEADER =================================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 28px;
  height: var(--header-h);
}

/* logo -------------------------------------------------------------------- */
.logo { display: flex; flex-direction: column; justify-content: center; flex: none; }
/* Logo artwork. Natural size is 178x81, so 54px tall renders it at
   1.5x - sharp on most screens, slightly soft on 2x retina. A larger source
   file (or an SVG) would fix that without touching this rule.

   align-self matters: .logo is a column flex container, so its cross axis
   is the horizontal one and the default align-items: stretch pulls the
   image out to the column's width. That once stretched the mark sideways
   at a fixed height. Starting it leaves width:auto to hold the 178:81 ratio. */
.logo__img { display: block; align-self: flex-start; height: 54px; width: auto; }
/* Footer: a recoloured copy of the mark for navy (see logo() in templates.js),
   sized by .logo__img so it always matches the header. */
.logo--light { align-self: flex-start; }

/* nav --------------------------------------------------------------------- */
.main-nav { margin-inline: auto; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a {
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--ink);
  padding-block: 6px; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.main-nav a:hover, .main-nav a.is-active { color: var(--blue); border-color: var(--blue); }

.site-header__actions { display: flex; align-items: center; gap: 18px; flex: none; }
.lang { position: relative; display: inline-flex; align-items: center; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; }
.lang__btn .ico:first-child { color: var(--ink); }
.lang__menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; display: none; min-width: 84px; margin: 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid rgba(0,0,0,.1); border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.lang.is-open .lang__menu { display: block; }
.lang__menu a { display: block; padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; }
.lang__menu a:hover { background: rgba(0,0,0,.04); }
.lang__menu a[aria-current] { color: var(--red); }
.lang-mobile { display: none; }

.nav-toggle { display: none; width: 42px; height: 42px; padding: 9px; background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }

/* =============================== HERO ==================================== */
.hero { position: relative; background: var(--navy-900); overflow: hidden; }
.hero__media {
  position: absolute; inset: 0;
  background: url('../img/hero.jpg') center right / cover no-repeat;
}
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    var(--navy-900) 0%,
    var(--navy-900) 26%,
    rgba(4, 22, 43, .82) 44%,
    rgba(4, 22, 43, .25) 68%,
    rgba(4, 22, 43, 0) 100%);
}
.hero__inner {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  min-height: 520px;
  padding-block: 64px;
}
.hero__title { margin: 0 0 18px; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.01em; }
.hero__title-white { display: block; color: #fff; }
.hero__title-red { display: block; color: var(--red); }
.hero__lead { max-width: 420px; margin-bottom: 28px; color: rgba(255,255,255,.82); font-size: 15.5px; }

/* ============================ CLIENT LOGOS ===============================
   Continuous marquee. Two identical sets sit side by side and the track
   travels exactly -50% (one set width), so the loop is seamless.
   --clients-speed: lower = faster.                                          */
.clients {
  --clients-speed: 60s;
  --clients-gap: 34px;
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
  overflow: hidden;
}
.clients__viewport {
  padding-block: 14px;
  /* fade the logos out at both edges instead of cutting them off */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.clients__track {
  display: flex; width: max-content;
  animation: clients-scroll var(--clients-speed) linear infinite;
}
.clients__set { display: flex; align-items: center; }
.clients__set img {
  height: 58px; width: auto; flex: none;
  margin-inline: var(--clients-gap);
  object-fit: contain;
  filter: saturate(.95);
}
@keyframes clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================== ABOUT ==================================== */
.about__inner { display: grid; grid-template-columns: 400px 1fr; gap: 52px; align-items: start; }
.about__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

.section-head { margin-bottom: 22px; }
.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(21px, 2.2vw, 27px); letter-spacing: .01em; text-transform: uppercase;
}
.section-head .rule { display: block; width: 62px; height: 3px; background: var(--blue); border-radius: 2px; }
.section-head--center { text-align: center; margin-bottom: 34px; }
.section-head--center .rule { margin-inline: auto; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 30px; }
/* Shared by the About features and the stats band. Every one of these icons
   sits on an identical 76px square canvas, so a single size fits them all and
   they line up on a common baseline whatever their shape. */
.png-ico { display: block; flex: none; width: var(--png-ico); height: var(--png-ico); }
.feature h3 {
  margin: 12px 0 6px; min-height: 2.3em;
  font-size: 11.5px; letter-spacing: .03em; text-transform: uppercase; line-height: 1.35;
}
.feature p { margin: 0; font-size: 13px; line-height: 1.55; }

/* ============================= SERVICES ================================== */
/* Uniform tracks: every card in the grid is the same height, because the
   card's own height is fixed by tokens rather than by its label. */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }

/* A white plate with a 4px frame around an inset, rounded photo. No border -
   the card is separated from the page by its shadow alone. */
.svc-card {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius-card);
  padding: var(--svc-pad);
  box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
/* flex:none + aspect-ratio pins the photo's height to the column width, and
   min-height:0 + overflow keeps the crop whatever aspect the source file has
   - so real photos can be dropped in as-is. */
.svc-card__img {
  flex: none;
  display: block; aspect-ratio: var(--svc-ratio);
  min-height: 0; overflow: hidden;
  border-radius: calc(var(--radius-card) - var(--svc-pad));
  background: var(--navy-700);
}
.svc-card__img img { width: 100%; height: 100%; object-fit: cover; }

/* The bar is the only elastic part: it holds the token height as its floor
   and absorbs any slack, so the label stays optically centred in a bar of
   identical height on every card. The badge hangs over the photo above it. */
.svc-card__bar {
  position: relative;
  flex: 1 0 auto;
  display: flex; align-items: center;
  min-height: var(--svc-bar-h);
  padding: var(--svc-bar-pad) 12px var(--svc-bar-pad) 61px;
}
.svc-card__badge {
  position: absolute; left: 5px; top: -15px;
  width: 44px; height: 44px; padding: 11px;
  display: grid; place-items: center;
  background: #fff; border-radius: 50%;
  color: var(--blue-ink);
  box-shadow: 0 2px 8px rgba(16, 29, 51, .12);
}
.svc-card__badge svg { width: 100%; height: 100%; }
/* The clamp is a guarantee, not a crop: at --svc-label-lines: 3 nothing in
   services.js is truncated today. It exists so a longer label added later
   cannot silently push one card taller than the rest. */
.svc-card__label {
  display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--svc-label-lines); overflow: hidden;
  font-size: var(--svc-label-size); font-weight: 700; letter-spacing: .03em;
  line-height: var(--svc-label-lh);
  color: var(--ink); text-transform: uppercase;
}

/* =============================== STATS =================================== */
.stats { background: var(--bg-alt); border-block: 1px solid var(--line); }
.stats__inner { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat {
  display: flex; align-items: center; gap: 14px;
  padding: 26px 20px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; }
.stat__body { display: flex; flex-direction: column; }
.stat__value { font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.stat__label { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.stat__sub { font-size: 11.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }

/* ============================== GALLERY ================================== */
.gal-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 32px; }
.gal-grid--page { grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gal-item { display: block; border-radius: var(--radius); overflow: hidden; background: var(--navy-700); aspect-ratio: 1.75 / 1; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gal-item:hover img { transform: scale(1.06); }

/* ============================= PAGE HERO ================================= */
.page-hero {
  position: relative;
  padding-block: 58px 54px;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #fff;
}
.page-hero h1 { color: #fff; font-size: clamp(26px, 3vw, 38px); margin: 0 0 12px; }
.page-hero__lead { max-width: 720px; margin: 0; color: rgba(255,255,255,.8); font-size: 16px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; font-size: 12.5px; color: rgba(255,255,255,.55); }
.crumbs a:hover { color: #fff; }
.crumbs em { font-style: normal; color: rgba(255,255,255,.9); }

/* =============================== PROSE =================================== */
.prose { color: var(--body); font-size: 16px; }
.prose h2 { margin: 34px 0 14px; font-size: 21px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1.2em; padding-left: 0; }
.prose li { position: relative; padding-left: 22px; margin-bottom: 7px; }
.prose li::before {
  content: ''; position: absolute; left: 4px; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue-ink);
}
.svc-hero-img { margin-bottom: 30px; border-radius: var(--radius-lg); overflow: hidden; }
.svc-hero-img img { width: 100%; aspect-ratio: 2.6 / 1; object-fit: cover; }

.about-photo img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* ------------------------- service page sidebar -------------------------- */
.svc-layout { display: grid; grid-template-columns: 1fr 320px; gap: 46px; align-items: start; }
.svc-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 18px; }
.svc-aside__box { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.svc-aside__box h3 { font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.svc-aside__list li + li { border-top: 1px solid var(--line); }
.svc-aside__list a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; font-size: 13.5px; color: var(--body);
  transition: color .15s;
}
.svc-aside__list a:hover { color: var(--blue); }
.svc-aside__list .ico { color: var(--blue-ink); width: 18px; height: 18px; }

/* The contacts page and its inquiry form were removed - the footer is now the
   site's only contact surface. .map-pin
   stays: the footer map placeholder uses it. */
.map-pin { width: 30px; height: 30px; color: var(--red); }
.map-pin svg { width: 100%; height: 100%; }

/* =============================== FOOTER ================================== */
/* scroll-margin keeps the sticky header off the footer when #kontaktai lands. */
.site-footer {
  background: var(--navy-800); color: rgba(255,255,255,.7);
  padding-top: 44px;
  scroll-margin-top: var(--header-h);
}
/* Top tier: brand, address, map. The contact people get their own row of
   cards below (.people), so none of these three columns has to grow tall. */
.site-footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; align-items: start; }
.site-footer__brand p { margin: 16px 0; font-size: 13.5px; line-height: 1.6; max-width: 330px; }
.socials { display: flex; gap: 10px; }
.socials a {
  display: grid; place-items: center; width: 34px; height: 34px; padding: 8px;
  border-radius: 50%; background: rgba(255,255,255,.1); color: #fff;
  transition: background .18s;
}
.socials a:hover { background: var(--blue); }
.socials svg { width: 100%; height: 100%; }

/* A static OpenStreetMap render of the address, drawn at 2x for retina and
   cropped from the centre - so the pin keeps marking the right building at
   every column width. Clicking still opens the real map in a new tab.
   Regenerate the image with the snippet in README.md. */
.site-footer__map {
  position: relative; display: block; overflow: hidden;
  height: 130px; border-radius: var(--radius);
  background: #e8e4dd;
}
.site-footer__map img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s ease;
}
.site-footer__map:hover img { transform: scale(1.05); }
/* the pin's tip - not its box - sits on the centre point */
.site-footer__map .map-pin {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -92%);
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45));
}
.site-footer__mapnote { margin: 6px 0 0; font-size: 11px; color: rgba(255,255,255,.4); }
.site-footer__mapnote a { text-decoration: underline; }
.site-footer__mapnote a:hover { color: #fff; }
.site-footer__people {
  margin-top: 34px; padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.site-footer__contact h2,
.site-footer__people h2 {
  margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: #fff;
}
.site-footer__contacts li { display: flex; align-items: flex-start; gap: 12px; padding: 7px 0; font-size: 14px; }
.site-footer__contacts .ico { color: rgba(255,255,255,.55); margin-top: 3px; }
.site-footer__contacts a:hover { color: #fff; }

/* Contact people: one card each, side by side across the full width, so the
   block is one card tall however many people there are. */
.people {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
  margin-top: 10px;
}
.people li {
  display: grid; align-content: start; gap: 4px; padding: 14px;
  border-radius: var(--radius); background: rgba(255,255,255,.04);
  font-size: 13px;
}
.people__role {
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.people a { overflow-wrap: anywhere; }
.people__link { display: flex; align-items: center; gap: 8px; }
.people__link .ico { color: rgba(255,255,255,.55); }
.people a:hover { color: #fff; }

/* The copyright: deliberately quiet, in a thin bar in the bottom-right corner. */
.site-footer__bar { margin-top: 34px; border-top: 1px solid rgba(255,255,255,.08); }
.site-footer__bar .container { display: flex; justify-content: flex-end; padding-block: 14px; }
.site-footer__bar p { margin: 0; font-size: 11.5px; letter-spacing: .02em; color: rgba(255,255,255,.38); }

/* ============================== RESPONSIVE =============================== */
@media (max-width: 1120px) {
  .main-nav ul { gap: 20px; }
  .site-header__actions { gap: 12px; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .about__inner { grid-template-columns: 320px 1fr; gap: 34px; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .site-footer__brand { grid-column: 1 / -1; }
  .people { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  :root { --section-y: 56px; }

  .nav-toggle { display: block; }
  .site-header__inner { gap: 14px; }
  /* The nav is position:fixed here, so it no longer sits between logo and
     actions as the auto-margin spacer - push the burger to the far edge. */
  .site-header__actions { margin-left: auto; }
  .main-nav.is-open + .site-header__actions { z-index: 1; }
  .site-header__actions .lang { display: none; }
  .lang-mobile { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 2px; }
  .lang-mobile__label { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .main-nav .lang-mobile__list { display: flex; flex-direction: row; gap: 0; margin: 0; padding: 3px; list-style: none; border: 1px solid var(--line); border-radius: 999px; }
  /* .main-nav prefix: outranks the mobile ".main-nav a" row styling below. */
  .main-nav .lang-mobile__list a { min-width: 48px; padding: 8px 14px; border: 0; border-radius: 999px; font-size: 13px; text-align: center; color: var(--ink); }
  .main-nav .lang-mobile__list a[aria-current] { background: var(--blue); color: #fff; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px var(--gutter) 18px;
    display: none; box-shadow: var(--shadow-lg);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .main-nav a:hover, .main-nav a.is-active { border-color: var(--line); }

  .hero__inner { min-height: 440px; }
  .hero__media::after {
    background: linear-gradient(180deg, rgba(4,22,43,.92) 0%, rgba(4,22,43,.78) 60%, rgba(4,22,43,.86) 100%);
  }

  .about__inner { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .gal-grid { grid-template-columns: repeat(3, 1fr); }
  .gal-grid--page { grid-template-columns: repeat(3, 1fr); }
  .svc-layout { grid-template-columns: 1fr; gap: 34px; }
  .svc-aside { position: static; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .logo__img { height: 46px; }
  .btn { padding: 12px 18px; }
  .hero__lead { max-width: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .stats__inner { grid-template-columns: 1fr; }
  .stat { border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .gal-grid, .gal-grid--page { grid-template-columns: repeat(2, 1fr); }
  .site-footer__inner { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  .site-footer__bar .container { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

  /* the marquee is frozen above, so let the strip be scrolled by hand instead */
  .clients__viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
            mask-image: none;
  }
  .clients__set:not(:first-child) { display: none; }
}
