/* ===========================================================
   KINETIQ — Engineered for Performance
   Premium sports infrastructure website
   =========================================================== */

:root {
  --ink: #0d0d0f;
  --charcoal: #161719;
  --charcoal-2: #1d1f23;
  --charcoal-3: #25282d;
  --red: #e2231a;
  --red-dark: #bf130c;
  --red-soft: rgba(226, 35, 26, 0.08);
  --yellow: #f5b400;
  --paper: #ffffff;
  --mist: #f4f5f7;
  --mist-2: #eceef1;
  --line: #e3e6eb;
  --line-dark: rgba(255, 255, 255, 0.10);
  --ink-soft: #34373d;
  --muted: #6c717b;
  --muted-dark: #9aa0ab;

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --shadow-sm: 0 2px 10px rgba(13, 13, 15, 0.06);
  --shadow-md: 0 14px 38px rgba(13, 13, 15, 0.12);
  --shadow-lg: 0 30px 70px rgba(13, 13, 15, 0.22);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 88px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0; line-height: 1.04; letter-spacing: 0.01em; }
.eyebrow {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.26em; font-size: 13px; color: var(--red);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--red); display: inline-block; }
.eyebrow.center { justify-content: center; }

.section-title { font-size: clamp(28px, 3.4vw, 44px); text-transform: uppercase; letter-spacing: 0.015em; }
.title-accent { position: relative; display: inline-block; padding-bottom: 16px; }
.title-accent::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; background: var(--red); }
.center .title-accent::after,
.title-accent.center::after { left: 50%; transform: translateX(-50%); }

.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); line-height: 1.75; }
.text-red { color: var(--red); }

section { position: relative; }
.pad { padding-block: clamp(64px, 8vw, 108px); }
.bg-mist { background: var(--mist); }
.bg-ink { background: var(--ink); color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 13.5px;
  padding: 15px 26px; background: var(--bg); color: var(--fg);
  border: 2px solid var(--bg); border-radius: var(--radius);
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s;
  position: relative; overflow: hidden;
}
.btn svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(226,35,26,.28); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; box-shadow: var(--shadow-md); }
.btn--dark { --bg: var(--ink); border-color: var(--ink); }
.btn--dark:hover { background: #000; border-color: #000; box-shadow: var(--shadow-md); }

.link-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.13em; font-size: 12.5px; color: var(--ink);
  transition: color .2s, gap .2s var(--ease);
}
.link-more svg { width: 15px; height: 15px; color: var(--red); transition: transform .25s var(--ease); }
.link-more:hover { color: var(--red); gap: 12px; }

/* ---------- Icons ---------- */
.ico { display: inline-flex; }
.ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ===========================================================
   HEADER
   =========================================================== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, height .3s;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(13,13,15,.08); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 14px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 0; flex: 1; justify-content: center; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.05em; font-size: 13.5px; color: var(--ink-soft);
  padding: 12px 10px; transition: color .2s; white-space: nowrap;
}
.nav__link svg { width: 13px; height: 13px; opacity: .65; transition: transform .25s; }
.nav__link:hover, .nav__link.active { color: var(--red); }
.nav__item.active > .nav__link::after,
.nav__link.active::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; background: var(--red);
}
.nav__item:hover .nav__link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 232px;
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  box-shadow: var(--shadow-md); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 10px 14px; border-radius: 4px; font-size: 14.5px; color: var(--ink-soft);
  font-weight: 500; transition: background .15s, color .15s;
}
.dropdown a:hover { background: var(--red-soft); color: var(--red); }

.call-btn {
  display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0;
  background: var(--red); color: #fff; padding: 12px 18px 12px 18px;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.04em; font-size: 14px;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 0 100%);
  transition: background .25s, transform .25s var(--ease);
}
.call-btn .ico { width: 18px; height: 18px; }
.call-btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.call-btn small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; opacity: .82; margin-bottom: -2px; }

.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; border-radius: 5px; color: var(--ink); align-items: center; justify-content: center; }
.burger .ico { width: 22px; height: 22px; }

/* ===========================================================
   HERO
   =========================================================== */
.hero { position: relative; min-height: min(68vh, 600px); display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,10,.93) 0%, rgba(8,8,10,.72) 38%, rgba(8,8,10,.30) 72%, rgba(8,8,10,.45) 100%),
    linear-gradient(0deg, rgba(8,8,10,.82) 0%, rgba(8,8,10,0) 42%);
}
.hero__inner { position: relative; z-index: 2; padding-block: 90px 64px; max-width: 760px; }
.hero__logo { width: clamp(290px, 38vw, 460px); margin-bottom: 30px; filter: drop-shadow(0 6px 20px rgba(0,0,0,.4)); }
.hero h1 {
  color: #fff; font-size: clamp(38px, 6vw, 76px); line-height: 0.98; text-transform: uppercase;
  letter-spacing: 0.005em; margin-bottom: 22px;
}
.hero h1 .text-red { color: var(--red); }
.hero__sub { color: rgba(255,255,255,.82); font-size: clamp(16px, 1.5vw, 19px); max-width: 480px; margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badge {
  position: absolute; right: var(--gutter); bottom: 38px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(13,13,15,.42); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px); color: #fff; padding: 11px 18px; border-radius: 40px;
  font-family: var(--font-display); font-weight: 500; letter-spacing: .05em; font-size: 14px;
}
.hero__badge .ico { width: 17px; height: 17px; color: var(--red); }

/* ===========================================================
   PARTNER RIBBON
   =========================================================== */
.partner-ribbon {
  position: relative; background: var(--ink); border-bottom: 1px solid rgba(255,255,255,.07);
  height: 72px; display: flex; align-items: center; overflow: hidden;
}
.partner-ribbon__label {
  position: absolute; left: 0; top: 0; bottom: 0; z-index: 3;
  display: flex; align-items: center; padding: 0 24px 0 clamp(16px, 4vw, 56px);
  font-family: var(--font-display); font-weight: 700; font-size: 10px; letter-spacing: .28em;
  text-transform: uppercase; color: rgba(255,255,255,.38); white-space: nowrap;
  background: linear-gradient(to right, var(--ink) 70%, transparent 100%);
  pointer-events: none;
}
.partner-ribbon__track {
  flex: 1; overflow: hidden; mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.partner-ribbon__inner {
  display: flex; align-items: center; gap: 0;
  width: max-content;
  animation: ribbonScroll 28s linear infinite;
}
.partner-ribbon:hover .partner-ribbon__inner { animation-play-state: paused; }
@keyframes ribbonScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.partner-slot {
  display: flex; align-items: center; gap: 12px;
  padding: 0 36px; border-right: 1px solid rgba(255,255,255,.09);
  height: 72px; flex-shrink: 0;
}
.partner-slot__logo {
  width: 80px; height: 34px; border-radius: 4px;
  border: 1.5px dashed rgba(255,255,255,.18); background: rgba(255,255,255,.04);
  display: flex; align-items: center; justify-content: center;
}
.partner-slot__logo::after {
  content: "LOGO"; font-family: var(--font-display); font-weight: 700;
  font-size: 9px; letter-spacing: .18em; color: rgba(255,255,255,.2);
}
.partner-slot__name {
  font-family: var(--font-display); font-weight: 500; font-size: 12px;
  letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.28);
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .partner-ribbon__inner { animation: none; }
}

/* ===========================================================
   FEATURE STRIP
   =========================================================== */
.features { background: #fff; border-bottom: 1px solid var(--line); }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature {
  display: flex; gap: 18px; padding: 46px clamp(20px, 2.6vw, 38px);
  border-right: 1px solid var(--line);
}
.feature:last-child { border-right: 0; }
.feature__ico { flex-shrink: 0; width: 50px; height: 50px; color: var(--red); }
.feature h3 { font-size: 17px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; color: var(--ink); }
.feature p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

/* ===========================================================
   WHAT ARE YOU BUILDING — homepage pillar cards
   =========================================================== */
.build-sec {
  padding-block: clamp(52px, 7vw, 90px);
  background: #f4f5f7;
}
.build-sec__head {
  text-align: center;
  margin-bottom: clamp(32px, 4.5vw, 52px);
}
.build-sec__q {
  font-size: clamp(28px, 4.2vw, 52px);
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: .95;
  margin: 10px 0 0;
  color: var(--ink);
}
.build-sec__q .text-red { color: var(--red); }
.build-sec__sub {
  font-size: clamp(14px, 1.2vw, 16.5px);
  color: var(--muted);
  max-width: 52ch;
  margin: 14px auto 0;
  line-height: 1.55;
}

.build-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.build-card {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  background: var(--charcoal);
  text-decoration: none;
  color: #fff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: box-shadow .38s var(--ease), transform .38s var(--ease);
}
.build-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.build-card__img {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.build-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .5s var(--ease);
  filter: brightness(.78);
}
.build-card:hover .build-card__img img {
  transform: scale(1.07);
  filter: brightness(.55);
}
.build-card__img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,8,10,.88) 0%, rgba(8,8,10,.1) 55%, transparent 100%);
}

.build-card__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(20px, 2.8vw, 30px);
  z-index: 2;
}
.build-card__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 8px;
}
.build-card__body h3 {
  font-size: clamp(20px, 2.1vw, 28px);
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.04;
  margin: 0 0 8px;
  color: #fff;
}
.build-card__body p {
  font-size: 14px;
  color: rgba(255,255,255,.76);
  line-height: 1.5;
  margin: 0 0 16px;
  max-width: 30ch;
  transform: translateY(4px);
  opacity: .85;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.build-card:hover .build-card__body p {
  opacity: 1;
  transform: none;
}
.build-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12.5px;
  color: #fff;
  border-bottom: 1.5px solid rgba(255,255,255,.3);
  padding-bottom: 2px;
  transition: color .25s, border-color .25s, gap .25s var(--ease);
}
.build-card__cta .ico { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.build-card:hover .build-card__cta {
  color: var(--red);
  border-color: var(--red);
}
.build-card:hover .build-card__cta .ico { transform: translateX(4px); }

@media (max-width: 900px) {
  .build-cards { grid-template-columns: 1fr; gap: 16px; }
  .build-card__img { aspect-ratio: 16 / 8; }
}

/* ===========================================================
   ABOUT
   =========================================================== */
.about__top { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.about h2 { font-size: clamp(28px, 3.3vw, 42px); text-transform: uppercase; margin-bottom: 26px; max-width: 14ch; }
.about p + p { margin-top: 16px; }
.about__media { position: relative; }
.about__media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; border-radius: 6px; }
.about__media::before { content: ""; position: absolute; inset: 0; border-radius: 6px; background: linear-gradient(160deg, rgba(13,13,15,0) 55%, rgba(13,13,15,.55)); z-index: 1; }
.about__tag {
  position: absolute; left: 24px; bottom: 24px; z-index: 2; color: #fff;
  border-left: 3px solid var(--red); padding-left: 16px;
}
.about__tag strong { display: block; font-family: var(--font-display); font-size: 22px; text-transform: uppercase; letter-spacing: .03em; }
.about__tag span { font-size: 13px; color: rgba(255,255,255,.8); letter-spacing: .04em; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(44px, 5vw, 64px); }
.stat {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red);
  padding: 26px 24px; border-radius: 4px; transition: transform .3s var(--ease), box-shadow .3s;
}
.stat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stat__ico { width: 34px; height: 34px; color: var(--red); margin-bottom: 16px; }
.stat h4 { font-size: 16px; text-transform: uppercase; letter-spacing: .04em; line-height: 1.25; color: var(--ink); }

/* About — dark variant */
.about--dark {
  background: var(--ink);
  color: rgba(255,255,255,.88);
}
.about--dark .eyebrow { color: var(--red); opacity: 1; }
.about--dark h2 { color: #fff; }
.about--dark p { color: rgba(255,255,255,.76); }
.about--dark .lead { color: rgba(255,255,255,.9); }
.about--dark .about__tagline { color: rgba(255,255,255,.6); }
.about--dark .stat { border-color: rgba(255,255,255,.1); }
.about--dark .stat h4 { color: rgba(255,255,255,.82); }
.about--dark .stat__ico { color: var(--red); }

/* ===========================================================
   PRODUCTS
   =========================================================== */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(34px, 4vw, 52px); flex-wrap: wrap; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }

.products__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.product {
  background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.product:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-color: #fff; }
.product__img { position: relative; aspect-ratio: 4 / 3; background: #f7f8fa; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.product__img img { width: 90%; height: 90%; object-fit: contain; transition: transform .5s var(--ease); }
.product:hover .product__img img { transform: scale(1.07); }
.product__tag { position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 3px; }
.product__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product h3 { font-size: 20px; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
.product__type { font-family: var(--font-display); font-weight: 500; font-size: 12.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--red); margin: 4px 0 12px; }
.product p { font-size: 13.5px; color: var(--muted); line-height: 1.58; margin: 0 0 18px; flex: 1; }
.product .link-more { margin-top: auto; }

.products__foot { display: flex; justify-content: center; margin-top: clamp(34px, 4vw, 48px); }

/* ===========================================================
   TECHNOLOGY
   =========================================================== */
.tech__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 76px); align-items: center; }
.tech__media { position: relative; }
.tech__media .frame {
  background: linear-gradient(160deg, #fff, #eef0f3); border: 1px solid var(--line);
  border-radius: 8px; padding: 30px; box-shadow: var(--shadow-md);
}
.tech__media img { width: 100%; }
.tech__media .chip {
  position: absolute; bottom: -18px; left: 28px; background: var(--ink); color: #fff;
  padding: 14px 22px; border-radius: 5px; box-shadow: var(--shadow-md);
}
.tech__media .chip strong { font-family: var(--font-display); font-size: 26px; display: block; line-height: 1; color: var(--red); }
.tech__media .chip span { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }

.tech h2 { font-size: clamp(28px, 3.2vw, 42px); text-transform: uppercase; margin-bottom: 18px; }
.tech__intro { color: var(--muted); margin-bottom: 14px; }
.tech__criteria { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tech__criteria span { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); background: var(--mist); border: 1px solid var(--line); padding: 6px 12px; border-radius: 30px; }
.props { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 26px; }
.prop { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 15px; color: var(--ink-soft); padding: 8px 0; border-bottom: 1px solid var(--line); }
.prop .ico { width: 22px; height: 22px; flex-shrink: 0; color: var(--red); }

/* ===========================================================
   EQUIPMENT (dark + runner)
   =========================================================== */
.equip { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.equip__bg { position: absolute; inset: 0; }
.equip__bg img { width: 100%; height: 100%; object-fit: cover; object-position: right center; opacity: .55; }
.equip__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 18%, rgba(13,13,15,.86) 44%, rgba(13,13,15,.18) 78%, rgba(13,13,15,.5)); }
.equip__inner { position: relative; z-index: 2; max-width: 720px; }
.equip h2 { font-size: clamp(30px, 4vw, 50px); text-transform: uppercase; margin-bottom: 16px; }
.equip__sub { color: rgba(255,255,255,.78); max-width: 440px; margin-bottom: 34px; }
.equip__cats { display: flex; flex-wrap: nowrap; gap: 12px; margin-bottom: 36px; }
.cat {
  flex: 1 1 0; min-width: 0; padding: 18px 8px; text-align: center; border: 1px solid rgba(255,255,255,.14);
  border-radius: 6px; background: rgba(255,255,255,.02); transition: transform .3s var(--ease), border-color .3s, background .3s;
}
.cat:hover { transform: translateY(-6px); border-color: rgba(226,35,26,.5); background: rgba(226,35,26,.06); }
.cat__circle { width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; transition: background .3s, transform .3s var(--ease); box-shadow: 0 10px 24px rgba(226,35,26,.32); }
.cat:hover .cat__circle { transform: scale(1.07); background: var(--red-dark); }
.cat__circle .ico { width: 24px; height: 24px; }
.cat span { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: .03em; font-size: 11.5px; line-height: 1.2; display: block; }

/* ===========================================================
   SERVICES (dark strip)
   =========================================================== */
.services { position: relative; background: var(--charcoal); color: #fff; overflow: hidden; }
.services__bg { position: absolute; inset: 0; z-index: 0; }
.services__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(18px) brightness(.28) saturate(1.1); transform: scale(1.08); }
.services__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(135deg, rgba(8,8,10,.72) 0%, rgba(8,8,10,.45) 100%); }
.services .sec-head .section-title { color: #fff; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line-dark); border-radius: 8px; overflow: hidden; }
.service { padding: 38px 30px; border-right: 1px solid var(--line-dark); transition: background .3s; position: relative; }
.service:nth-child(3n) { border-right: 0; }
.service:nth-child(-n+3) { border-bottom: 1px solid var(--line-dark); }
.service:hover { background: rgba(255,255,255,.03); }
.service::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--red); transition: width .35s var(--ease); }
.service:hover::before { width: 100%; }
.service__ico { width: 44px; height: 44px; color: var(--red); margin-bottom: 22px; }
.service h3 { font-size: 18px; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 10px; }
.service p { font-size: 13.5px; color: var(--muted-dark); line-height: 1.6; margin: 0; }

/* ===========================================================
   PROJECTS
   =========================================================== */
.projects__grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 240px; gap: 18px; }
.project { position: relative; border-radius: 6px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; }
.project:nth-child(1) { grid-column: span 4; }
.project:nth-child(2) { grid-column: span 2; }
.project:nth-child(3) { grid-column: span 2; }
.project:nth-child(4) { grid-column: span 2; }
.project:nth-child(5) { grid-column: span 2; }
.project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,8,10,.9) 6%, rgba(8,8,10,.25) 55%, rgba(8,8,10,.42)); transition: background .3s; }
.project:hover img { transform: scale(1.07); }
.project:hover::after { background: linear-gradient(0deg, rgba(8,8,10,.92) 10%, rgba(226,35,26,.22) 70%, rgba(8,8,10,.4)); }
.project__body { position: relative; z-index: 2; padding: 26px; }
.project__cat { font-family: var(--font-display); font-weight: 600; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); background: rgba(255,255,255,.96); padding: 4px 10px; border-radius: 3px; display: inline-block; margin-bottom: 12px; }
.project h3 { font-size: 22px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 6px; }
.project p { font-size: 13px; color: rgba(255,255,255,.74); margin: 0; }

/* ===========================================================
   PARTNERS
   =========================================================== */
.partners__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.partners p { color: var(--muted); font-size: 17px; line-height: 1.75; }
.partners__logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plogo {
  aspect-ratio: 16 / 9; border: 1px dashed var(--line); border-radius: 6px; background: var(--mist);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 6px;
  color: var(--muted); transition: border-color .3s, background .3s;
}
.plogo:hover { border-color: var(--red); background: var(--red-soft); }
.plogo .ico { width: 26px; height: 26px; color: #b9bec7; }
.plogo span { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 11px; letter-spacing: .05em; }

/* ===========================================================
   CHAMPIONING SRI LANKAN TALENT
   =========================================================== */
.talent {
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.talent .eyebrow { color: var(--red); opacity: 1; }
.talent h2 { color: #fff; font-size: clamp(32px, 4.8vw, 62px); text-transform: uppercase; line-height: .95; margin: 14px 0 28px; }
.talent h2 .text-red { color: var(--red); }
.talent p { color: rgba(255,255,255,.75); }
.talent p + p { margin-top: 14px; }
.talent .lead { color: rgba(255,255,255,.92); font-size: clamp(15px, 1.3vw, 17.5px); }

.talent__layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.talent__text { padding-block: clamp(8px, 2vw, 24px); }
.talent__gallery { padding-top: clamp(40px, 6vw, 80px); }

.talent__gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.talent__collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.talent__collage .talent__img {
  aspect-ratio: 1 / 1;
}
.talent__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .7s var(--ease), filter .5s var(--ease);
  filter: brightness(.88) saturate(.92);
}
.talent__img:hover img {
  transform: scale(1.04);
  filter: brightness(1) saturate(1);
}

@media (max-width: 900px) {
  .talent__layout { grid-template-columns: 1fr; }
  .talent__collage { grid-template-columns: repeat(4, 1fr); }
  .talent__collage .talent__img { aspect-ratio: 1 / 1; }
  .talent__img--featured { aspect-ratio: 16 / 8; }
}
@media (max-width: 560px) {
  .talent__collage { grid-template-columns: 1fr 1fr; }
}

/* ===========================================================
   NEWS
   =========================================================== */
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.article { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.article:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.article__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.article__img .ph { position: absolute; inset: 0; }
.article__cat { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 3px; }
.article__body { padding: 22px 24px 26px; }
.article__meta { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.article__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--red); }
.article h3 { font-size: 21px; text-transform: uppercase; letter-spacing: .01em; line-height: 1.15; margin-bottom: 14px; color: var(--ink); }
.article:hover h3 { color: var(--red); }

/* Striped placeholder */
.ph {
  background-color: #e9ebef;
  background-image: repeating-linear-gradient(135deg, #e3e6eb 0 14px, #eef0f3 14px 28px);
  display: flex; align-items: center; justify-content: center;
}
.ph span { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 11px; letter-spacing: .06em; color: #9aa0ab; text-transform: uppercase; }

/* ===========================================================
   CONTACT
   =========================================================== */
.contact { background: var(--mist); }
.contact__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(34px, 5vw, 64px); align-items: stretch; }
.contact__info h2 { font-size: clamp(28px, 3.2vw, 42px); text-transform: uppercase; margin-bottom: 20px; }
.contact__info > p { color: var(--muted); margin-bottom: 30px; max-width: 42ch; }
.contact__list { display: flex; flex-direction: column; gap: 4px; }
.cline { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cline__ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--red); display: flex; align-items: center; justify-content: center; }
.cline__ico .ico { width: 20px; height: 20px; }
.cline strong { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; color: var(--muted); display: block; margin-bottom: 2px; }
.cline a, .cline p { font-size: 16px; color: var(--ink); margin: 0; font-weight: 500; }
.cline a:hover { color: var(--red); }

.form { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: clamp(26px, 3vw, 40px); box-shadow: var(--shadow-sm); }
.form h3 { font-size: 24px; text-transform: uppercase; margin-bottom: 6px; }
.form > p { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.field { margin-bottom: 16px; }
.field.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
.field label { display: block; font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 5px;
  font-family: var(--font-body); font-size: 15px; color: var(--ink); background: var(--mist);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(226,35,26,.1); }
.form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form__note { font-size: 12.5px; color: var(--muted); text-align: center; margin: 14px 0 0; }
.form__success { display: none; align-items: center; gap: 10px; background: var(--red-soft); border: 1px solid rgba(226,35,26,.25); color: var(--red-dark); padding: 14px 16px; border-radius: 6px; font-weight: 600; font-size: 14.5px; margin-bottom: 18px; }
.form__success.show { display: flex; }
.form__success .ico { width: 20px; height: 20px; }

/* ===========================================================
   FOOTER
   =========================================================== */
.contactbar { background: var(--ink); border-top: 3px solid var(--red); }
.contactbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.cbitem { display: flex; align-items: center; gap: 14px; padding: 26px clamp(18px, 2.4vw, 34px); border-right: 1px solid var(--line-dark); color: #fff; }
.cbitem:last-child { border-right: 0; }
.cbitem .ico { width: 24px; height: 24px; color: var(--red); flex-shrink: 0; }
.cbitem small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); }
.cbitem span { font-weight: 500; font-size: 14.5px; }

.footer { background: #0a0a0c; color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(30px, 4vw, 56px); padding-block: clamp(54px, 6vw, 78px); }
.footer__logo { width: 200px; margin-bottom: 22px; background: #fff; border-radius: 10px; padding: 14px 18px; box-sizing: border-box; }
.footer__about { color: var(--muted-dark); font-size: 14.5px; line-height: 1.7; max-width: 34ch; margin-bottom: 24px; }
.footer__social { display: flex; gap: 10px; }
.fsoc { width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 5px; display: flex; align-items: center; justify-content: center; color: #fff; transition: background .25s, border-color .25s; }
.fsoc:hover { background: var(--red); border-color: var(--red); }
.fsoc .ico { width: 18px; height: 18px; }
.footer h4 { font-size: 16px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 22px; color: #fff; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--red); }
.footer__links li { margin-bottom: 11px; }
.footer__links a { color: var(--muted-dark); font-size: 14.5px; transition: color .2s, padding-left .2s; display: inline-block; }
.footer__links a:hover { color: var(--red); padding-left: 5px; }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 16px; color: var(--muted-dark); font-size: 14.5px; line-height: 1.5; }
.footer__contact .ico { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; margin-top: 3px; }
.footer__contact a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid var(--line-dark); padding-block: 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer__bottom p { margin: 0; color: var(--muted-dark); font-size: 13px; }
.footer__bottom .tag { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--muted-dark); }
.footer__bottom .tag b { color: var(--red); }

/* ===========================================================
   MOBILE MENU
   =========================================================== */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: rgba(8,8,10,.55); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(380px, 86vw); background: #fff;
  padding: 24px; transform: translateX(100%); transition: transform .35s var(--ease); overflow-y: auto;
  display: flex; flex-direction: column;
}
.mobile-menu.open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.mobile-menu__head img { height: 40px; }
.mclose { width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 5px; display: flex; align-items: center; justify-content: center; color: var(--ink); }
.mclose .ico { width: 22px; height: 22px; }
.mobile-menu__panel nav a { display: block; padding: 15px 6px; font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: 18px; color: var(--ink); border-bottom: 1px solid var(--mist-2); }
.mobile-menu__panel nav a:hover { color: var(--red); }
.mobile-menu__panel .call-btn { clip-path: none; border-radius: 5px; justify-content: center; margin-top: 22px; }

/* ===========================================================
   REVEAL ANIMATION
   =========================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1180px) {
  .products__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .nav, .header .call-btn { display: none; }
  .burger { display: inline-flex; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: 0; }
  .feature { border-bottom: 1px solid var(--line); }
  .about__top { grid-template-columns: 1fr; }
  .about__media img { min-height: 280px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .tech__grid { grid-template-columns: 1fr; }
  .partners__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .hero__inner { margin-left: 0; }
  .equip__cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contactbar__grid { grid-template-columns: 1fr 1fr; }
  .cbitem:nth-child(2) { border-right: 0; }
  .cbitem { border-bottom: 1px solid var(--line-dark); }
}
@media (max-width: 760px) {
  :root { --header-h: 74px; }
  .brand img { height: 40px; }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .services__grid .service { border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
  .services__grid .service:nth-child(2n) { border-right: 0; }
  .services__grid .service:nth-child(5), .services__grid .service:nth-child(6) { border-bottom: 0; }
  .news__grid { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .project:nth-child(1) { grid-column: span 2; }
  .partners__logos { grid-template-columns: 1fr 1fr; }
  .hero__badge { display: none; }
}
@media (max-width: 520px) {
  .products__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .services__grid .service { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .services__grid .service:last-child { border-bottom: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .contactbar__grid { grid-template-columns: 1fr; }
  .cbitem { border-right: 0; }
  .field.row { grid-template-columns: 1fr; gap: 0; }
  .field.row .field { margin-bottom: 16px; }
  .projects__grid { grid-template-columns: 1fr; }
  .project, .project:nth-child(1) { grid-column: span 1; }
  .equip__cats { gap: 10px; grid-template-columns: repeat(2, 1fr); }
}

/* ===========================================================
   ADDITIONS — small button, tagline, modal, animations
   =========================================================== */

/* Small button variant */
.btn--sm { padding: 12px 20px; font-size: 12.5px; letter-spacing: .1em; }
.btn--sm svg { width: 15px; height: 15px; }

/* Ensure inline text-icons are sized (the .ico span has no intrinsic width) */
.btn .ico { width: 17px; height: 17px; flex: 0 0 auto; }
.btn--sm .ico { width: 15px; height: 15px; }
.link-more .ico { width: 15px; height: 15px; flex: 0 0 auto; }
.nav__link .ico { width: 13px; height: 13px; flex: 0 0 auto; }
.call-btn .ico { width: 18px; height: 18px; flex: 0 0 auto; }
.ahero__back .ico { width: 16px; height: 16px; flex: 0 0 auto; }
.ameta .ico { width: 16px; height: 16px; flex: 0 0 auto; }

/* Hero — left aligned, no logo; nudged slightly left of the gutter */
.hero__inner { padding-block: 68px 48px; padding-left: max(14px, calc(var(--gutter) - 30px)); }
.hero h1 { margin-top: 0; }

/* Hero slow ken-burns zoom */
.hero__bg img { animation: kenburns 24s ease-out forwards; transform-origin: 60% 40%; }
@keyframes kenburns { from { transform: scale(1.001); } to { transform: scale(1.09); } }
@media (prefers-reduced-motion: reduce) { .hero__bg img { animation: none; } }

/* Hero badge pulsing pin */
.hero__badge .ico { animation: pinPulse 2.4s var(--ease) infinite; }
@keyframes pinPulse { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* About tagline */
.about__tagline {
  margin-top: 22px; font-family: var(--font-display); font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em; font-size: clamp(16px, 1.5vw, 19px);
  color: var(--ink); line-height: 1.3; border-left: 4px solid var(--red); padding-left: 18px;
}

/* News article cards as links */
a.article { color: inherit; display: block; }
.article__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.article:hover .article__img img { transform: scale(1.07); }
.article .link-more { margin-top: 2px; }
a.article:hover .link-more { color: var(--red); gap: 12px; }

/* Stat card sheen on hover */
.stat { position: relative; overflow: hidden; }
.stat::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(226,35,26,.07), transparent);
  transform: skewX(-18deg); transition: left .7s var(--ease);
}
.stat:hover::after { left: 140%; }

/* Feature icon nudge on hover */
.feature { transition: background .3s; }
.feature:hover { background: var(--mist); }
.feature__ico { transition: transform .3s var(--ease); }
.feature:hover .feature__ico { transform: translateY(-3px) scale(1.06); }

/* Product view button (reset native button) */
.product__view { border: 0; background: none; padding: 0; cursor: pointer; }

/* ===========================================================
   PRODUCT MODAL
   =========================================================== */
.modal {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.modal.open { opacity: 1; visibility: visible; }
.modal__overlay { position: absolute; inset: 0; background: rgba(8,8,10,.62); backdrop-filter: blur(4px); }
.modal__dialog {
  position: relative; z-index: 2; width: min(880px, 100%); max-height: 90vh; overflow: hidden;
  background: #fff; border-radius: 10px; box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 42% 1fr;
  transform: translateY(24px) scale(.97); transition: transform .35s var(--ease);
}
.modal.open .modal__dialog { transform: none; }
.modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 4; width: 42px; height: 42px;
  border: 1px solid var(--line); background: rgba(255,255,255,.92); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--ink); transition: background .2s, transform .2s;
}
.modal__close .ico { width: 20px; height: 20px; }
.modal__close:hover { background: var(--red); color: #fff; border-color: var(--red); transform: rotate(90deg); }
#pmImgWrap {
  position: relative;
  min-height: 300px;
  background: #f4f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
  cursor: zoom-in;
  overflow: hidden;
  user-select: none;
}
#pmImgWrap img {
  width: 86%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
  transition: transform .5s cubic-bezier(.2,.6,.4,1);
  will-change: transform;
  transform-origin: center center;
}
#pmImgWrap:hover img {
  transform: scale(1.15);
  cursor: zoom-in;
}
.modal__tag {
  position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--red); color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; padding: 6px 12px; border-radius: 3px;
}
.modal__body { padding: clamp(26px, 3vw, 40px); overflow-y: auto; }
.modal__code { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; color: var(--red); }
.modal__body h3 { font-size: clamp(24px, 3vw, 32px); text-transform: uppercase; margin: 8px 0 4px; line-height: 1.05; }
.modal__type { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.modal__body > p { color: var(--ink-soft); font-size: 15px; line-height: 1.7; margin: 0 0 22px; }
.modal__ideal { background: var(--mist); border-left: 3px solid var(--red); border-radius: 4px; padding: 16px 18px; margin-bottom: 26px; }
.modal__ideal-label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; color: var(--ink); margin-bottom: 6px; }
.modal__ideal-label .ico { width: 18px; height: 18px; color: var(--red); }
.modal__ideal p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.modal__cta { width: 100%; justify-content: center; }

@media (max-width: 720px) {
  .modal__dialog { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .modal__media { min-height: 200px; }
}

/* ===========================================================
   ARTICLE PAGES
   =========================================================== */
.ahero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.ahero__bg { position: absolute; inset: 0; }
.ahero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 26s ease-out forwards; }
.ahero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,8,10,.92) 4%, rgba(8,8,10,.45) 48%, rgba(8,8,10,.55)); }
.ahero__inner { position: relative; z-index: 2; padding-block: 56px; max-width: 920px; }
.ahero__back { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.78); font-family: var(--font-display); font-weight: 500; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; margin-bottom: 22px; transition: gap .2s var(--ease), color .2s; }
.ahero__back .ico { width: 16px; height: 16px; transform: rotate(180deg); color: var(--red); }
.ahero__back:hover { color: #fff; gap: 12px; }
.acat { display: inline-block; background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; padding: 6px 13px; border-radius: 3px; margin-bottom: 18px; }
.ahero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 58px); text-transform: uppercase; line-height: 1.02; max-width: 18ch; }
.ameta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 22px; color: rgba(255,255,255,.72); font-size: 13.5px; }
.ameta span { display: inline-flex; align-items: center; gap: 8px; }
.ameta .ico { width: 16px; height: 16px; color: var(--red); }
.ameta .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.4); }

.abody { padding-block: clamp(48px, 6vw, 84px); }
.abody__wrap { max-width: 760px; margin: 0 auto; }
.alead { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.6; color: var(--ink); font-weight: 500; margin: 0 0 30px; }
.abody h2 { font-size: clamp(22px, 2.4vw, 30px); text-transform: uppercase; letter-spacing: .01em; margin: 42px 0 14px; padding-top: 8px; }
.abody h2:first-of-type { margin-top: 8px; }
.abody p { font-size: 16.5px; line-height: 1.8; color: var(--ink-soft); margin: 0 0 18px; }
.abody p strong { color: var(--ink); }

.apull { border-left: 4px solid var(--red); background: var(--mist); border-radius: 4px; padding: 22px 26px; margin: 30px 0; }
.apull p { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.4; text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }

.alist { display: grid; gap: 14px; margin: 26px 0 30px; }
.alist .ai { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 18px 20px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.alist .ai:hover { transform: translateX(5px); box-shadow: var(--shadow-sm); border-color: var(--red); }
.alist .ai__ico { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: flex; align-items: center; justify-content: center; }
.alist .ai__ico .ico { width: 22px; height: 22px; }
.alist .ai h3 { font-size: 17px; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 5px; color: var(--ink); }
.alist .ai p { font-size: 14.5px; margin: 0; line-height: 1.6; }

.abenefits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 24px 0 30px; }
.abenefits .b { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 15.5px; color: var(--ink-soft); padding: 10px 0; border-bottom: 1px solid var(--line); }
.abenefits .b .ico { width: 22px; height: 22px; flex-shrink: 0; color: var(--red); }

.afig { margin: 32px 0; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-md); }
.afig img { width: 100%; display: block; }
.afig figcaption { font-size: 13px; color: var(--muted); padding: 12px 16px; background: var(--mist); border: 1px solid var(--line); border-top: 0; }

.acta { background: var(--ink); color: #fff; border-radius: 10px; padding: clamp(30px, 4vw, 48px); margin-top: 44px; text-align: center; }
.acta h3 { font-size: clamp(22px, 2.6vw, 32px); text-transform: uppercase; margin-bottom: 10px; }
.acta p { color: var(--muted-dark); max-width: 48ch; margin: 0 auto 26px; }

.arelated { border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 72px); background: var(--mist); }
.arelated h4 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.arelated__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .arelated__grid { grid-template-columns: 1fr; } .abenefits { grid-template-columns: 1fr; } }

