/* ==========================================================================
   DuraFlux — KPS Volt Systems Pvt. Ltd.
   Single shared stylesheet. Design tokens + base + components.
   Tokens sourced from design.md (do not alter hex values).
   ========================================================================== */

/* ---------------------------------------------------------------- Tokens -- */
:root {
  --df-blue: #1E6FE8;
  --df-blue-bright: #2E9BFF;
  --df-blue-deep: #0B4FC2;
  --df-navy: #0E2540;
  --df-navy-900: #081A30;
  --df-ink: #13161C;
  --df-ink-700: #2B313B;
  --df-steel-600: #5A6B82;
  --df-steel-400: #8E9BAD;
  --df-line: #D8DEE7;
  --df-surface: #FFFFFF;
  --df-bg: #F4F6F9;
  --df-bg-2: #EAEEF3;
  --df-success: #1FA463;
  --df-warn: #E0A100;
  --df-on-dark: #E7EDF5;
  --df-on-dark-mut: #9FB1C7;

  --df-grad-brand: linear-gradient(135deg, #2E9BFF 0%, #1E6FE8 55%, #0B4FC2 100%);
  --df-grad-hero: linear-gradient(90deg, rgba(11, 30, 54, .92) 0%, rgba(11, 30, 54, .55) 45%, rgba(11, 30, 54, .15) 100%);

  /* spacing 8pt */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;
  --container: 1200px;
  --container-wide: 1320px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(13, 22, 40, .06), 0 1px 3px rgba(13, 22, 40, .08);
  --shadow-md: 0 8px 24px rgba(13, 22, 40, .10);
  --shadow-lg: 0 18px 48px rgba(13, 22, 40, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: .28s;

  --font-display: "Saira Condensed", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 72px;
}

/* ----------------------------------------------------------------- Reset -- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
}

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

img,
svg,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--df-blue);
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid rgba(46, 155, 255, .45);
  outline-offset: 2px;
  border-radius: 3px;
}

/* --------------------------------------------------------------- Layout -- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-5);
}

@media (min-width:768px) {
  .container {
    padding-inline: var(--s-6);
  }
}

.section {
  padding-block: 48px;
}

@media (min-width:640px) {
  .section {
    padding-block: 64px;
  }
}

@media (min-width:1024px) {
  .section {
    padding-block: 96px;
  }
}

.section--tight {
  padding-block: 40px;
}

.bg-alt {
  background: var(--df-bg);
}

.bg-alt-2 {
  background: var(--df-bg-2);
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: 1000;
  background: var(--df-blue);
  color: #fff;
  padding: var(--s-3) var(--s-5);
  border-radius: var(--radius);
  font-weight: 600;
  transition: top var(--dur) var(--ease);
}

.skip-link:focus {
  top: var(--s-4);
}

/* ------------------------------------------------------------ Typography -- */
.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--df-ink);
}

.hero h1,
.h1 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 9vw, 4rem);
  line-height: .98;
  letter-spacing: -.01em;
  margin: 0;
}

.h1--sm {
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.02;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.7rem, 5vw, 2.125rem);
  line-height: 1.06;
  letter-spacing: .01em;
  color: var(--df-ink);
  margin: 0;
}

.h3 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: .02em;
  color: var(--df-ink);
  margin: 0;
}

.h4 {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.1875rem;
  line-height: 1.15;
  letter-spacing: .02em;
  color: var(--df-ink);
  margin: 0;
}

.lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--df-steel-600);
  max-width: 68ch;
}

.muted {
  color: var(--df-steel-600);
}

.measure {
  max-width: 68ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--df-blue);
  margin: 0 0 var(--s-4);
}

.eyebrow svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.eyebrow--light {
  color: var(--df-blue-bright);
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--s-7);
}

.section-head .eyebrow {
  justify-content: center;
}

.section-head .lead {
  margin-inline: auto;
}

.on-dark {
  color: var(--df-on-dark);
}

.on-dark .h2,
.on-dark .h3,
.on-dark .h4,
.on-dark h1,
.on-dark h2,
.on-dark h3 {
  color: #fff;
}

.on-dark .lead,
.on-dark p {
  color: var(--df-on-dark);
}

.on-dark .muted {
  color: var(--df-on-dark-mut);
}

/* -------------------------------------------------------------- Buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: 0 var(--s-5);
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform var(--dur) var(--ease);
}

.btn .arrow {
  transition: transform var(--dur) var(--ease);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--df-blue);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--df-blue-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--primary:active {
  transform: translateY(0);
  background: var(--df-blue-deep);
}

.btn--outline {
  background: transparent;
  border-color: var(--df-blue);
  color: var(--df-blue);
}

.btn--outline:hover {
  background: var(--df-blue);
  color: #fff;
  transform: translateY(-2px);
}

.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, .65);
  color: #fff;
}

.btn--outline-light:hover {
  background: #fff;
  color: var(--df-navy);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn--lg {
  min-height: 54px;
  padding: 0 var(--s-6);
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

@media (prefers-reduced-motion:reduce) {

  .btn,
  .btn:hover,
  .btn:active {
    transform: none;
  }
}

/* ------------------------------------------------------------- Header --- */
.df-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--df-line);
  transition: box-shadow var(--dur) var(--ease);
}

.df-header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.df-nav {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  height: var(--header-h);
}

.df-nav__brand {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.df-nav__brand img {
  height: 40px;
  width: auto;
}

.df-nav__links {
  display: none;
  align-items: center;
  gap: var(--s-5);
}

.df-nav__link {
  position: relative;
  font-size: .9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--df-ink-700);
  padding: var(--s-2) 0;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.df-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  height: 2px;
  width: 0;
  background: var(--df-blue);
  transition: width var(--dur) var(--ease);
}

.df-nav__link:hover::after,
.df-nav__link.is-active::after {
  width: 100%;
}

.df-nav__link.is-active {
  color: var(--df-blue);
}

.df-nav__cta {
  display: none;
}

.df-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--df-line);
  border-radius: var(--radius);
  background: #fff;
  padding: 0 11px;
  margin-left: var(--s-3);
}

.df-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--df-ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.df-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.df-burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.df-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* mobile drawer */
.df-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 auto;
  z-index: 99;
  width: min(82vw, 360px);
  background: var(--df-navy-900);
  transform: translateX(100%);
  transition: transform var(--dur) var(--ease);
  padding: var(--s-6) var(--s-5);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.df-drawer.is-open {
  transform: translateX(0);
}

.df-drawer a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--df-on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.df-drawer a.is-active {
  color: var(--df-blue-bright);
}

.df-drawer .btn {
  margin-top: var(--s-5);
}

.df-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 98;
  background: rgba(8, 26, 48, .5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}

.df-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

@media (min-width:1024px) {
  .df-nav__links {
    display: flex;
  }

  .df-nav__cta {
    display: inline-flex;
  }

  .df-burger {
    display: none;
  }

  .df-drawer,
  .df-backdrop {
    display: none;
  }
}

/* ----------------------------------------------- Products dropdown (desktop) */
.df-nav__item--menu {
  position: relative;
}

.df-nav__toggle {
  background: none;
  border: 0;
  cursor: pointer;
  gap: var(--s-1);
}

.df-nav__caret {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform var(--dur) var(--ease);
}

.df-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 120;
  min-width: 248px;
  background: var(--df-navy-900);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--s-2);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
    visibility var(--dur) var(--ease);
}

/* invisible bridge so the menu doesn't drop while moving the cursor onto it */
.df-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.df-nav__item--menu:hover .df-menu,
.df-nav__item--menu:focus-within .df-menu,
.df-nav__toggle[aria-expanded="true"]+.df-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.df-nav__item--menu:hover .df-nav__caret,
.df-nav__item--menu:focus-within .df-nav__caret,
.df-nav__toggle[aria-expanded="true"] .df-nav__caret {
  transform: rotate(180deg);
}

.df-menu__link {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3);
  min-height: 46px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: none;
  color: var(--df-on-dark);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.df-menu__icon {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--df-blue-bright);
  transition: color var(--dur) var(--ease);
}

.df-menu__link:hover,
.df-menu__link:focus-visible,
.df-menu__link.is-active {
  background: var(--df-blue);
  color: #fff;
}

.df-menu__link:hover .df-menu__icon,
.df-menu__link:focus-visible .df-menu__icon,
.df-menu__link.is-active .df-menu__icon {
  color: #fff;
}

/* ----------------------------------------------- Products group (drawer) --- */
.df-drawer__group {
  display: flex;
  flex-direction: column;
}

.df-drawer__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  width: 100%;
  min-height: 48px;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--df-on-dark);
  cursor: pointer;
}

.df-drawer__toggle.is-active {
  color: var(--df-blue-bright);
}

.df-drawer__toggle .df-nav__caret {
  width: 18px;
  height: 18px;
}

.df-drawer__toggle[aria-expanded="true"] .df-nav__caret {
  transform: rotate(180deg);
}

.df-drawer__sub {
  display: flex;
  flex-direction: column;
  padding-left: var(--s-4);
}

.df-drawer__sub[hidden] {
  display: none;
}

.df-drawer__sub a {
  font-size: 1.1rem;
}

/* --------------------------------------------------------------- Hero --- */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

@media (min-width:1024px) {
  .hero {
    min-height: 88vh;
  }
}

.hero--inner {
  min-height: 56vh;
}

@media (min-width:1024px) {
  .hero--inner {
    min-height: 62vh;
  }
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--df-navy);
  background-size: cover;
  background-position: center;
  filter: saturate(.8);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--df-grad-hero);
}

.hero__media--transformers {
  background-image: linear-gradient(120deg, #0c1f38, #163a63 60%, #1E6FE8);
}

.hero__media--batteries {
  background-image: linear-gradient(120deg, #0c1f38, #10324f 55%, #1FA463);
}

.hero__media--inverters {
  background-image: linear-gradient(120deg, #0c1f38, #15355a 55%, #2E9BFF);
}

.hero__media--about {
  background-image: linear-gradient(120deg, #081A30, #102a4a 70%, #1E6FE8);
}

.hero__media--contact {
  background-image: linear-gradient(120deg, #0c1f38, #123056 65%, #0B4FC2);
}

.hero__media--quality {
  background-image: linear-gradient(120deg, #081A30, #10324f 60%, #1FA463);
}

/* faint engineered grid texture */
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .18;
  background-image: linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
  mask-image: linear-gradient(90deg, transparent, #000 70%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: var(--s-9) var(--s-8);
}

.hero__content {
  max-width: 640px;
}

.hero h1 {
  margin-bottom: var(--s-4);
}

.hero h1 .block {
  display: block;
}

.hero h1 .accent {
  color: var(--df-blue-bright);
}

.hero__sub {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--df-on-dark);
  margin-bottom: var(--s-4);
  max-width: 52ch;
}

.hero__spec {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 600;
  color: var(--df-blue-bright);
  letter-spacing: .02em;
  margin-bottom: var(--s-6);
}

.hero__spec svg {
  width: 18px;
  height: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-7);
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5) 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-top: var(--s-5);
  max-width: 560px;
}

.hero__stat {
  padding-inline: var(--s-5);
  position: relative;
  flex: 1;
  min-width: 120px;
}

.hero__stat:first-child {
  padding-left: 0;
}

.hero__stat+.hero__stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: rgba(255, 255, 255, .18);
}

.hero__stat b {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1;
  color: #fff;
}

.hero__stat span {
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--df-on-dark-mut);
}

/* --------------------------------------------------------- Stat band ---- */
.stat-band {
  position: relative;
  background: var(--df-navy-900);
  color: #fff;
  overflow: hidden;
  padding-block: var(--s-8);
}

.stat-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .06;
  background: linear-gradient(2deg, transparent 45%, var(--df-blue-bright) 50%, transparent 55%);
}

.stat-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-6) var(--s-4);
}

@media (min-width:768px) {
  .stat-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  text-align: center;
  position: relative;
}

@media (min-width:768px) {
  .stat+.stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: rgba(255, 255, 255, .14);
  }
}

.stat__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 8vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--df-blue-bright);
}

.stat__label {
  display: block;
  margin-top: var(--s-2);
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--df-on-dark-mut);
}

/* ----------------------------------------------------- Division cards --- */
.divisions {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}

@media (min-width:768px) {
  .divisions {
    grid-template-columns: repeat(3, 1fr);
  }
}

.dcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--df-surface);
  border: 1px solid var(--df-line);
  overflow: hidden;
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.dcard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--df-grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
  z-index: 2;
}

.dcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.dcard:hover::before {
  transform: scaleX(1);
}

.dcard__media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: var(--s-4);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 92%);
}

.dcard__media--t {
  background: linear-gradient(135deg, #13315a, #1E6FE8);
}

.dcard__media--b {
  background: linear-gradient(135deg, #0f3a2e, #1FA463);
}

.dcard__media--i {
  background: linear-gradient(135deg, #10355c, #2E9BFF);
}

.dcard__media svg {
  width: 96px;
  height: 96px;
  opacity: .9;
  color: rgba(255, 255, 255, .9);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform var(--dur) var(--ease);
}

.dcard:hover .dcard__media svg {
  transform: translate(-50%, -50%) scale(1.06);
}

.dcard__tag {
  position: relative;
  z-index: 1;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #fff;
  background: rgba(8, 26, 48, .55);
  padding: var(--s-1) var(--s-3);
  border-radius: 100px;
  backdrop-filter: blur(2px);
}

.dcard__body {
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex: 1;
}

.dcard__body .h3 {
  margin-bottom: var(--s-1);
}

.dcard__spec {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--df-blue);
  letter-spacing: .02em;
  font-size: 1.05rem;
}

.dcard__list {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.dcard__list li {
  display: flex;
  gap: var(--s-2);
  font-size: .9375rem;
  color: var(--df-steel-600);
}

.dcard__list svg {
  width: 18px;
  height: 18px;
  color: var(--df-blue);
  flex: none;
  margin-top: 3px;
}

.dcard__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .875rem;
  color: var(--df-blue);
}

.dcard__link svg {
  width: 18px;
  height: 18px;
  transition: transform var(--dur) var(--ease);
}

.dcard:hover .dcard__link svg {
  transform: translateX(3px);
}

/* ----------------------------------------------------- Split / about --- */
.split {
  display: grid;
  gap: var(--s-7);
  align-items: center;
}

@media (min-width:900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-8);
  }
}

.split--rev .split__media {
  order: -1;
}

@media (min-width:900px) {
  .split--rev .split__media {
    order: 0;
  }
}

.split__body p {
  margin-bottom: var(--s-4);
}

.split__body .btn {
  margin-top: var(--s-3);
}

.story__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 260px;
  margin: 0 0 var(--s-5);
}

.split__media {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  clip-path: polygon(0 8%, 8% 0, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(135deg, #0e2540, #1E6FE8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.split__media--factory {
  background: linear-gradient(135deg, #13315a, #3b5474);
}

.split__media svg {
  width: 120px;
  height: 120px;
  color: rgba(255, 255, 255, .85);
}

.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 26, 48, .45));
}

/* ----------------------------------------------- Why-choose feature grid */
.features {
  display: grid;
  gap: var(--s-6) var(--s-7);
  grid-template-columns: 1fr;
}

@media (min-width:640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:1024px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--df-line);
}

.feature__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--df-line);
  border-radius: var(--radius);
  color: var(--df-blue);
  background: var(--df-bg);
}

.feature__icon svg {
  width: 26px;
  height: 26px;
}

.feature p {
  font-size: .9375rem;
  color: var(--df-steel-600);
}

/* ----------------------------------------------------- Quality band ---- */
.quality {
  position: relative;
  background: var(--df-navy);
  color: #fff;
}

.quality__wedge {
  position: absolute;
  inset: 0 0 0 auto;
  width: 42%;
  z-index: 0;
  display: none;
  background: linear-gradient(135deg, #13315a, #1E6FE8);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
}

.quality__wedge svg {
  position: absolute;
  top: 50%;
  right: 18%;
  transform: translateY(-50%);
  width: 120px;
  height: 120px;
  color: rgba(255, 255, 255, .85);
}

.quality__wedge img {
  filter: saturate(.85);
}

.quality__wedge::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, var(--df-navy) 0%, rgba(14, 37, 64, .55) 30%, rgba(14, 37, 64, .2) 100%);
}

@media (min-width:900px) {
  .quality {
    overflow: hidden;
  }

  .quality__wedge {
    display: block;
  }
}

.quality__inner {
  position: relative;
  z-index: 1;
}

@media (min-width:900px) {
  .quality__inner {
    max-width: 54%;
  }
}

.chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-6);
}

.chip {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: var(--s-4);
}

.chip__ic {
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 50%;
  border: 1.5px solid var(--df-blue-bright);
  color: var(--df-blue-bright);
  display: flex;
  align-items: center;
  justify-content: center;
}

.chip__ic svg {
  width: 22px;
  height: 22px;
}

.chip b {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #fff;
  font-size: 1.0625rem;
  display: block;
}

.chip span {
  font-size: .8125rem;
  color: var(--df-on-dark-mut);
}

/* ----------------------------------------------------- Industries grid - */
.industries {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width:640px) {
  .industries {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width:1024px) {
  .industries {
    grid-template-columns: repeat(4, 1fr);
  }
}

.ind {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-3);
  padding: var(--s-5) var(--s-3);
  background: var(--df-surface);
  border: 1px solid var(--df-line);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.ind:hover {
  transform: translateY(-3px);
  border-color: var(--df-blue);
}

.ind__ic {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--df-bg);
  color: var(--df-blue);
  border: 1px solid var(--df-line);
}

.ind__ic svg {
  width: 30px;
  height: 30px;
}

.ind span {
  font-size: .875rem;
  font-weight: 600;
  color: var(--df-ink-700);
  line-height: 1.3;
}

/* -------------------------------------------------------- Spec / list --- */
.spec-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}

@media (min-width:768px) {
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.spec-card {
  background: var(--df-surface);
  border: 1px solid var(--df-line);
  border-radius: var(--radius);
  padding: var(--s-6);
  position: relative;
  overflow: hidden;
}

.spec-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--df-grad-brand);
}

.spec-card__photo {
  position: relative;
  margin: calc(-1 * var(--s-6)) calc(-1 * var(--s-6)) var(--s-5);
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--df-navy);
}

.spec-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.85);
  transition: transform var(--dur) var(--ease);
}

.spec-card:hover .spec-card__photo img {
  transform: scale(1.04);
}

.spec-card .h3 {
  margin-bottom: var(--s-3);
}

.spec-card__range {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--df-blue);
  font-size: 1.25rem;
  margin-bottom: var(--s-4);
  letter-spacing: .02em;
}

.ticks {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}

.ticks li {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  color: var(--df-ink-700);
}

.ticks svg {
  width: 20px;
  height: 20px;
  color: var(--df-blue);
  flex: none;
  margin-top: 3px;
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  background: var(--df-surface);
  border: 1px solid var(--df-line);
  border-radius: 100px;
  padding: var(--s-3) var(--s-5);
  font-weight: 500;
  color: var(--df-ink-700);
  font-size: .9375rem;
}

.pill svg {
  width: 18px;
  height: 18px;
  color: var(--df-blue);
}

/* ------------------------------------------------------------ CTA band -- */
.cta-band {
  position: relative;
  background: var(--df-navy-900);
  color: #fff;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--df-grad-hero);
  opacity: .4;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  align-items: flex-start;
}

@media (min-width:900px) {
  .cta-band__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-7);
  }
}

.cta-band .h2 {
  color: #fff;
  max-width: 22ch;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

/* --------------------------------------------------------------- Footer - */
.df-footer {
  background: var(--df-navy-900);
  color: var(--df-on-dark);
}

.df-footer__top {
  display: grid;
  gap: var(--s-7);
  padding-block: var(--s-8);
  grid-template-columns: 1fr;
}

@media (min-width:768px) {
  .df-footer__top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width:1024px) {
  .df-footer__top {
    grid-template-columns: 1.1fr 1fr 1.3fr;
  }
}

.df-footer__brand img {
  height: 40px;
  width: auto;
  margin-bottom: var(--s-4);
}

.df-footer__brand p {
  color: var(--df-on-dark-mut);
  font-size: .9375rem;
  margin-bottom: var(--s-4);
  max-width: 34ch;
}

.kps-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 600;
  color: var(--df-on-dark);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 100px;
  padding: var(--s-2) var(--s-4);
}

.kps-badge svg {
  width: 16px;
  height: 16px;
  color: var(--df-blue-bright);
}

.df-social {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-5);
  list-style: none;
  padding: 0;
}

.df-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  color: var(--df-on-dark);
  transition: color .2s, border-color .2s, background-color .2s, transform .2s;
}

.df-social a:hover {
  color: var(--df-blue-bright);
  border-color: var(--df-blue-bright);
  background-color: rgba(255, 255, 255, .05);
  transform: translateY(-2px);
}

.df-social svg {
  width: 18px;
  height: 18px;
}

.foot-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 1.0625rem;
  color: #fff;
  margin-bottom: var(--s-4);
}

.foot-contact li {
  display: flex;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
  font-size: .9375rem;
}

.foot-contact a {
  color: var(--df-on-dark);
}

.foot-contact a:hover {
  color: var(--df-blue-bright);
}

.foot-contact svg {
  width: 20px;
  height: 20px;
  color: var(--df-blue-bright);
  flex: none;
  margin-top: 2px;
}

.df-footer__media {
  align-self: center;
}

.df-footer__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--s-3);
  border: 1px solid rgba(255, 255, 255, .1);
}

@media (max-width:1023px) {
  .df-footer__media {
    display: none;
  }
}

.df-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  font-size: .8125rem;
  color: var(--df-on-dark-mut);
}

@media (min-width:768px) {
  .df-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.df-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
}

.df-footer__bottom a {
  color: var(--df-on-dark-mut);
}

.df-footer__bottom a:hover {
  color: #fff;
}

/* ----------------------------------------------------------------- Form - */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.form__row {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}

@media (min-width:560px) {
  .form__row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.field label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--df-steel-600);
}

.field .req {
  color: var(--df-blue);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 var(--s-4);
  background: var(--df-surface);
  border: 1px solid var(--df-line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9375rem;
  color: var(--df-ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.field textarea {
  min-height: 120px;
  padding-block: var(--s-3);
  resize: vertical;
  line-height: 1.5;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235A6B82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--s-4) center;
  padding-right: var(--s-7);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--df-steel-400);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--df-blue);
  box-shadow: 0 0 0 3px rgba(46, 155, 255, .2);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--df-warn);
  box-shadow: 0 0 0 3px rgba(224, 161, 0, .18);
}

.field__error {
  font-size: .8125rem;
  color: var(--df-warn);
  min-height: 1em;
  display: none;
}

.field.has-error .field__error {
  display: block;
}

.form__status {
  display: none;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 500;
}

.form__status svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.form__status.is-success {
  display: flex;
  background: rgba(31, 164, 99, .12);
  color: var(--df-success);
  border: 1px solid rgba(31, 164, 99, .4);
}

.form__status.is-error {
  display: flex;
  background: rgba(224, 161, 0, .12);
  color: #9a6f00;
  border: 1px solid rgba(224, 161, 0, .4);
}

.form__status.is-pending {
  display: flex;
  background: rgba(30, 111, 232, .10);
  color: var(--df-blue-deep);
  border: 1px solid rgba(30, 111, 232, .35);
}

/* footer-variant (form on navy) */
.form--dark .field label {
  color: var(--df-on-dark-mut);
}

.form--dark .field input,
.form--dark .field select,
.form--dark .field textarea {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .16);
  color: #fff;
}

.form--dark .field input::placeholder,
.form--dark .field textarea::placeholder {
  color: var(--df-on-dark-mut);
}

.form--dark .field select {
  color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239FB1C7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
}

.form--dark .field select option {
  color: var(--df-ink);
}

.form--dark .field input:focus,
.form--dark .field select:focus,
.form--dark .field textarea:focus {
  border-color: var(--df-blue-bright);
  box-shadow: 0 0 0 3px rgba(46, 155, 255, .25);
}

/* ---------------------------------------------------- Contact page bits - */
.contact-grid {
  display: grid;
  gap: var(--s-7);
  grid-template-columns: 1fr;
}

@media (min-width:900px) {
  .contact-grid {
    grid-template-columns: 1.1fr .9fr;
  }
}

.info-card {
  background: var(--df-surface);
  border: 1px solid var(--df-line);
  border-radius: var(--radius);
  padding: var(--s-6);
}

.info-list li {
  display: flex;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}

.info-list li:last-child {
  margin-bottom: 0;
}

.info-list__ic {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: var(--radius);
  background: var(--df-bg);
  border: 1px solid var(--df-line);
  color: var(--df-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-list__ic svg {
  width: 22px;
  height: 22px;
}

.info-list b {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--df-ink);
  font-size: 1rem;
  margin-bottom: 2px;
}

.info-list a,
.info-list p {
  color: var(--df-steel-600);
  font-size: .9375rem;
}

.info-list a:hover {
  color: var(--df-blue);
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-5);
}

.contact-photo {
  position: relative;
  margin: var(--s-7) 0 0;
  aspect-ratio: 16/8;
  overflow: hidden;
  border: 1px solid var(--df-line);
  border-radius: var(--radius);
  background: var(--df-navy);
}

.contact-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.85);
}

.map-embed {
  border: 1px solid var(--df-line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: var(--s-5);
  aspect-ratio: 16/7;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ----------------------------------------------------- Floating WhatsApp */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .4);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 26px rgba(37, 211, 102, .5);
}

.wa-float svg {
  width: 30px;
  height: 30px;
}

@media (min-width:1024px) {
  .wa-float {
    right: 28px;
    bottom: 28px;
  }
}

/* -------------------------------------------------------- Misc helpers -- */
.lead-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  margin-top: var(--s-4);
}

.lead-list li {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  color: var(--df-steel-600);
}

.lead-list svg {
  width: 20px;
  height: 20px;
  color: var(--df-blue);
  flex: none;
  margin-top: 3px;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-3);
}

@media (min-width:640px) {
  .client-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.client {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--df-ink);
  background: var(--df-surface);
  border: 1px solid var(--df-line);
  border-radius: var(--radius);
  padding: var(--s-5) var(--s-3);
  min-height: 72px;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.client__logo {
  height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.client:hover {
  border-color: var(--df-blue);
  color: var(--df-blue);
}

.vm-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}

@media (min-width:768px) {
  .vm-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width:992px) {
  .vm-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vm-card {
  background: var(--df-surface);
  border: 1px solid var(--df-line);
  border-radius: var(--radius);
  padding: var(--s-6);
  position: relative;
}

.vm-card .feature__icon {
  margin-bottom: var(--s-4);
}

.vm-card__intro {
  font-size: .9375rem;
  color: var(--df-steel-600);
  margin-bottom: var(--s-4);
}

/* ----------------------------------------------------- Process steps ---- */
.steps {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}

@media (min-width:640px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width:992px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step {
  position: relative;
  text-align: center;
  padding: var(--s-6) var(--s-5);
  background: var(--df-surface);
  border: 1px solid var(--df-line);
  border-radius: var(--radius);
}

.step__num {
  font-family: var(--font-head, inherit);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--df-blue);
  margin-bottom: var(--s-3);
}

.step .feature__icon {
  margin: 0 auto var(--s-4);
}

.step .h3 {
  margin-bottom: var(--s-2);
}

.step p {
  font-size: .9375rem;
  color: var(--df-steel-600);
}

.crosslink {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
}

@media (min-width:640px) {
  .crosslink {
    grid-template-columns: 1fr 1fr;
  }
}

.crosslink a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-5);
  background: var(--df-surface);
  border: 1px solid var(--df-line);
  border-radius: var(--radius);
  color: var(--df-ink);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.crosslink a:hover {
  transform: translateY(-3px);
  border-color: var(--df-blue);
}

.crosslink b {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 1.125rem;
}

.crosslink span {
  color: var(--df-steel-600);
  font-size: .875rem;
}

.crosslink svg {
  width: 24px;
  height: 24px;
  color: var(--df-blue);
  flex: none;
}

/* ----------------------------------------------------- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion:reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .dcard,
  .ind,
  .crosslink a,
  .btn {
    transition: none;
  }
}

/* ===================================================== Hero slideshow ==== */
.hero-slider {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  background: var(--df-navy);
  color: #fff;
}

@media (min-width:1024px) {
  .hero-slider {
    min-height: 88vh;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.85);
  z-index: 0;
}

.hero-slide--mobility .hero-slide__img {
  object-position: 35% 55%;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--df-grad-hero);
}

.hero-slide__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: var(--s-9) var(--s-8);
}

.hero-slide__content {
  max-width: 640px;
}

.hero-slide__content h1,
.hero-slide__content .hero-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 9vw, 4rem);
  line-height: .98;
  letter-spacing: -.01em;
  margin: 0 0 var(--s-4);
  color: #fff;
}

.hero-slide__content .block {
  display: block;
}

.hero-slide__content .accent {
  color: var(--df-blue-bright);
}

.hero-slide__content .hero__sub {
  margin-bottom: var(--s-6);
}

/* Slider controls */
.hero-slider__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--s-6);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
}

.hero-slider__dots {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.hero-dot {
  width: 36px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 100px;
  background: rgba(255, 255, 255, .28);
  transition: background var(--dur) var(--ease), width var(--dur) var(--ease);
}

.hero-dot[aria-current="true"] {
  background: var(--df-blue-bright);
  width: 48px;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, .55);
}

.hero-arrow {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 26, 48, .4);
  border: 1.5px solid rgba(255, 255, 255, .4);
  color: #fff;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.hero-arrow:hover {
  background: var(--df-blue);
  border-color: var(--df-blue);
  transform: scale(1.06);
}

.hero-arrow svg {
  width: 22px;
  height: 22px;
}

@media (max-width:639px) {
  .hero-arrow {
    width: 42px;
    height: 42px;
  }

  .hero-slider__controls {
    gap: var(--s-3);
    bottom: var(--s-5);
  }

  .hero-dot {
    width: 28px;
  }

  .hero-dot[aria-current="true"] {
    width: 38px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .hero-slide {
    transition: none;
  }

  .hero-arrow:hover {
    transform: none;
  }
}

/* ===================================================== Image media ======= */
/* Environmental/field shots: cover, navy overlay OK for legibility. */
.img-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Replaces the CSS-gradient hero on inner pages with a real photo. */
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: saturate(.85);
}

.hero__media--photo {
  background: var(--df-navy);
  background-image: none;
}

.hero__media--photo::before {
  display: none;
}

/* Division/split cards now hold real photos behind the chevron clip. */
.dcard__media {
  padding: 0;
}

.dcard__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: transform var(--dur) var(--ease);
}

.dcard:hover .dcard__media img {
  transform: scale(1.04);
}

.dcard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 26, 48, .05) 40%, rgba(8, 26, 48, .55));
}

.dcard__media .dcard__tag {
  position: absolute;
  left: var(--s-4);
  bottom: var(--s-4);
  z-index: 2;
}

.split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.split__media--photo {
  background: var(--df-navy);
}

/* WHITE-bg studio shots: contain on a light/steel panel, never duotone. */
.studio-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 120% at 50% 25%, #fff 0%, var(--df-bg) 70%, var(--df-bg-2) 100%);
  border: 1px solid var(--df-line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: var(--s-6);
}

.studio-panel img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.dcard__media.studio-panel {
  aspect-ratio: 16/10;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 92%);
}

.dcard__media.studio-panel::after {
  display: none;
}

.dcard__media.studio-panel img {
  position: static;
  transition: transform var(--dur) var(--ease);
}

.dcard:hover .dcard__media.studio-panel img {
  transform: scale(1.04);
}

.split__media.studio-panel {
  aspect-ratio: 4/3;
}

.split__media.studio-panel::after {
  display: none;
}

.split__media.studio-panel img {
  position: static;
}

/* ===================================================== Product gallery === */
.gallery {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width:640px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width:1024px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery__item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--df-line);
  border-radius: var(--radius);
  background: var(--df-navy);
}

.gallery__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--dur) var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item--studio {
  background: radial-gradient(120% 120% at 50% 25%, #fff 0%, var(--df-bg) 70%, var(--df-bg-2) 100%);
}

.gallery__item--studio img {
  object-fit: contain;
  padding: var(--s-4);
}

/* ================================= Customer logo marquee ================ */
.logo-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.logo-marquee__track {
  display: flex;
  width: max-content;
  animation: logo-marquee 36s linear infinite;
}

.logo-marquee:hover .logo-marquee__track {
  animation-play-state: paused;
}

.logo-marquee__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 120px;
  padding: 0 var(--s-5);
}

.logo-marquee__item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform var(--dur) var(--ease);
}

.logo-marquee__item img:hover {
  transform: scale(1.05);
}

@keyframes logo-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion:reduce) {
  .logo-marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }
}

/* ============================ Capability showcase (16:9 infographics) === */
.showcase {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}

@media (min-width:640px) {
  .showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:1024px) {
  .showcase {
    grid-template-columns: repeat(3, 1fr);
  }
}

.showcase__item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--df-navy);
  border: 1px solid var(--df-line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(14, 37, 64, .06);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.showcase__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--dur) var(--ease);
}

.showcase__item:hover {
  transform: translateY(-4px);
  border-color: var(--df-accent);
  box-shadow: 0 14px 32px rgba(14, 37, 64, .16);
}

.showcase__item:hover img {
  transform: scale(1.04);
}

/* Product card with a studio photo + caption (battery packs, EV, inverter). */
.product-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width:640px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width:1024px) {
  .product-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width:1024px) {
  .product-grid--5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--df-surface);
  border: 1px solid var(--df-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.product-card__media {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-5);
  background: radial-gradient(120% 120% at 50% 25%, #fff 0%, var(--df-bg) 72%, var(--df-bg-2) 100%);
  border-bottom: 1px solid var(--df-line);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform var(--dur) var(--ease);
}

.product-card:hover .product-card__media img {
  transform: scale(1.04);
}

.product-card__body {
  padding: var(--s-4) var(--s-5) var(--s-5);
}

.product-card__body b {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--df-ink);
  font-size: 1.0625rem;
  line-height: 1.15;
}

.product-card__body span {
  display: block;
  margin-top: var(--s-1);
  font-size: .875rem;
  color: var(--df-steel-600);
}

/* Two-up image strip (manufacturing accents, etc.). */
.img-duo {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr;
  margin-bottom: var(--s-6);
}

@media (min-width:768px) {
  .img-duo {
    grid-template-columns: 1fr 1fr;
  }
}

.img-duo figure {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--df-navy);
  margin: 0;
}

.img-duo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.85);
  transition: transform var(--dur) var(--ease);
}

.img-duo figure:hover img {
  transform: scale(1.04);
}

/* Logo knockout for navy footer/hero surfaces. */
.logo-knockout {
  filter: brightness(0) invert(1);
}

/* ===================================================== Batteries page ==== */

/* At-a-glance key specs (mini grid) */
.keyspecs {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(2, 1fr);
  margin-top: var(--s-6);
}

@media (min-width:768px) {
  .keyspecs {
    grid-template-columns: repeat(3, 1fr);
  }
}

.keyspec {
  padding: var(--s-4);
  background: var(--df-surface);
  border: 1px solid var(--df-line);
  border-radius: var(--radius);
  border-left: 3px solid var(--df-blue);
}

.keyspec b {
  display: block;
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--df-steel-600);
  margin-bottom: var(--s-1);
}

.keyspec span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: .01em;
  color: var(--df-ink);
  line-height: 1.15;
  display: block;
}

/* Navy highlight strip (icon + label) */
.highlight-band {
  position: relative;
  background: var(--df-navy-900);
  color: #fff;
  overflow: hidden;
}

.highlight-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .06;
  background: linear-gradient(2deg, transparent 45%, var(--df-blue-bright) 50%, transparent 55%);
}

.highlight-grid {
  position: relative;
  display: grid;
  gap: var(--s-6) var(--s-4);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width:640px) {
  .highlight-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width:1024px) {
  .highlight-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-3);
}

.highlight__ic {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--df-blue-bright);
  color: var(--df-blue-bright);
  background: rgba(46, 155, 255, .08);
}

.highlight__ic svg {
  width: 28px;
  height: 28px;
}

.highlight b {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  color: #fff;
  font-size: 1.0625rem;
  line-height: 1.1;
}

.highlight span {
  font-size: .8125rem;
  color: var(--df-on-dark-mut);
}

/* spec-grid 3-up + studio photo header (product / application cards) */
.spec-grid--3 {
  grid-template-columns: 1fr;
}

@media (min-width:640px) {
  .spec-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width:1024px) {
  .spec-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.spec-card__photo--studio {
  background: radial-gradient(120% 120% at 50% 25%, #fff 0%, var(--df-bg) 72%, var(--df-bg-2) 100%);
}

.spec-card__photo--studio img {
  object-fit: contain;
  padding: var(--s-4);
  filter: none;
}

/* Data table (model range) */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--df-line);
  border-radius: var(--radius-lg);
  -webkit-overflow-scrolling: touch;
}

.df-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: .9375rem;
}

.df-table thead th {
  background: var(--df-navy);
  color: #fff;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 600;
  font-size: .8125rem;
  text-align: left;
  padding: var(--s-3) var(--s-4);
  white-space: nowrap;
}

.df-table tbody td {
  padding: var(--s-3) var(--s-4);
  border-top: 1px solid var(--df-line);
  color: var(--df-ink-700);
}

.df-table tbody tr:nth-child(even) {
  background: var(--df-bg);
}

.df-table tbody tr:hover {
  background: rgba(30, 111, 232, .06);
}

.df-table td:first-child {
  font-weight: 700;
  color: var(--df-ink);
  font-family: var(--font-display);
  letter-spacing: .02em;
  white-space: nowrap;
}

.table-note {
  margin-top: var(--s-4);
  font-size: .8125rem;
  color: var(--df-steel-600);
}

/* Spec sheet (definition rows) */
.specsheet {
  border: 1px solid var(--df-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--df-surface);
}

.specsheet__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-1);
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--df-line);
}

@media (min-width:480px) {
  .specsheet__row {
    grid-template-columns: minmax(150px, 42%) 1fr;
    gap: var(--s-4);
    align-items: baseline;
  }
}

.specsheet__row:last-child {
  border-bottom: 0;
}

.specsheet__row:nth-child(even) {
  background: var(--df-bg);
}

.specsheet__row dt {
  margin: 0;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--df-steel-600);
}

.specsheet__row dd {
  margin: 0;
  color: var(--df-ink);
  font-weight: 500;
}

/* Use-case cards (4-up) */
.usecases {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width:900px) {
  .usecases {
    grid-template-columns: repeat(4, 1fr);
  }
}

.usecase {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-5);
  background: var(--df-surface);
  border: 1px solid var(--df-line);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.usecase:hover {
  transform: translateY(-3px);
  border-color: var(--df-blue);
}

.usecase__ic {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  margin-bottom: var(--s-2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--df-bg);
  border: 1px solid var(--df-line);
  color: var(--df-blue);
}

.usecase__ic svg {
  width: 26px;
  height: 26px;
}

.usecase b {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--df-ink);
  font-size: 1.0625rem;
  line-height: 1.15;
}

.usecase span {
  font-size: .875rem;
  color: var(--df-steel-600);
}

/* ===================================================== About — additions == */

/* KPS Group journey — division pillars */
.journey {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width:640px) {
  .journey {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width:1024px) {
  .journey {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillar {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: var(--s-5);
  background: var(--df-surface);
  border: 1px solid var(--df-line);
  border-radius: var(--radius);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.pillar:hover {
  transform: translateY(-3px);
}

/* On hover, non-core cards adopt the dark "core" card look */
.pillar:not(.pillar--core):hover {
  background: var(--df-navy);
  border-color: var(--df-navy);
}

.pillar:not(.pillar--core):hover b {
  color: #fff;
}

.pillar:not(.pillar--core):hover span {
  color: var(--df-on-dark-mut);
}

.pillar:not(.pillar--core):hover .pillar__ic {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .16);
  color: var(--df-blue-bright);
}

/* When another card is hovered, the default core card reverts to the light look */
.journey:has(.pillar:not(.pillar--core):hover) .pillar--core {
  background: var(--df-surface);
  border-color: var(--df-line);
}

.journey:has(.pillar:not(.pillar--core):hover) .pillar--core b {
  color: var(--df-ink);
}

.journey:has(.pillar:not(.pillar--core):hover) .pillar--core span {
  color: var(--df-steel-600);
}

.journey:has(.pillar:not(.pillar--core):hover) .pillar--core .pillar__ic {
  background: var(--df-bg);
  border-color: var(--df-line);
  color: var(--df-blue);
}

.pillar__ic {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  margin-bottom: var(--s-2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--df-bg);
  border: 1px solid var(--df-line);
  color: var(--df-blue);
}

.pillar__ic svg {
  width: 26px;
  height: 26px;
}

.pillar b {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--df-ink);
  font-size: 1.0625rem;
  line-height: 1.15;
}

.pillar span {
  font-size: .875rem;
  color: var(--df-steel-600);
}

.pillar--core {
  background: var(--df-navy);
  border-color: var(--df-navy);
}

.pillar--core b {
  color: #fff;
}

.pillar--core span {
  color: var(--df-on-dark-mut);
}

.pillar--core .pillar__ic {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .16);
  color: var(--df-blue-bright);
}

/* Our Legacy — vertical timeline */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  max-width: 760px;
  margin-inline: auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--df-line);
}

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--s-5);
  align-items: start;
}

.tl-item__dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--df-grad-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  box-shadow: 0 0 0 4px var(--df-surface);
  position: relative;
  z-index: 1;
}

.tl-item__year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--df-navy);
  line-height: 1.1;
}

.tl-item__text {
  color: var(--df-steel-600);
  font-size: .9375rem;
  margin-top: var(--s-1);
}

/* Legacy timeline + photo strip layout */
.legacy-grid {
  display: grid;
  gap: var(--s-7);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width:768px) {
  .legacy-grid {
    grid-template-columns: 280px 1fr;
    gap: var(--s-7);
  }
}

@media (min-width:1024px) {
  .legacy-grid {
    grid-template-columns: 300px 1fr;
    gap: var(--s-8);
  }
}

.legacy-grid .timeline {
  margin-inline: 0;
  max-width: none;
}

.legacy-grid__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--df-navy);
  border: 1px solid var(--df-line);
  box-shadow: 0 12px 32px rgba(14, 37, 64, .14);
}

.legacy-grid__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width:767px) {
  .legacy-grid__media {
    max-width: 320px;
    margin-inline: auto;
  }
}

@media (min-width:768px) {
  .legacy-grid__media {
    position: sticky;
    top: var(--s-8);
  }
}

/* Leadership / board of directors */
.team {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}

@media (min-width:640px) {
  .team {
    grid-template-columns: repeat(3, 1fr);
  }
}

.member {
  text-align: center;
  padding: 0 0 15px 0px;
  background: var(--df-surface);
  border: 1px solid var(--df-line);
  border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.member:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--df-blue);
}

.member__avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto var(--s-4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.875rem;
  letter-spacing: .02em;
  color: #fff;
  background: var(--df-grad-brand);
  box-shadow: var(--shadow-sm);
}

/* Photo avatar: portrait inside a thin gold frame (sample-matched) */
.member__avatar--photo {
  position: relative;
  display: block;
  width: 100%;
  height: 420px;
  /* margin: 0 auto var(--s-4); */
  padding: 0;
  border-radius: 14px;
  background: var(--df-navy);
  border: 2px solid #c9a14a;
  box-shadow: 0 4px 16px rgba(201, 161, 74, .18), var(--shadow-sm);
  overflow: hidden;
}

.member__avatar--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0;
  object-fit: cover;
  object-position: center 18%;
  background: transparent;
}

.member__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--df-ink);
  letter-spacing: .01em;
}

.member__role {
  display: inline-block;
  margin-top: var(--s-2);
  font-size: .8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--df-blue);
}

/* ==========================================================================
   Image lightbox — click any tagged content image to view it full-size.
   Enhanced by main.js (adds .df-zoomable to qualifying images). No-JS: images
   stay as normal inline images, so this is purely additive.
   ========================================================================== */
.df-zoomable {
  cursor: zoom-in;
}

.df-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-6);
  background: rgba(8, 26, 48, .86);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}

.df-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.df-lightbox__img {
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--df-surface);
  transform: scale(.96);
  transition: transform var(--dur) var(--ease);
  cursor: default;
}

.df-lightbox.is-open .df-lightbox__img {
  transform: scale(1);
}

.df-lightbox__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--s-5);
  margin: 0 auto;
  max-width: min(1100px, 94vw);
  padding: 0 var(--s-4);
  text-align: center;
  color: var(--df-on-dark);
  font-size: .875rem;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}

.df-lightbox__close {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.df-lightbox__close:hover {
  background: rgba(255, 255, 255, .22);
  transform: rotate(90deg);
}

.df-lightbox__close svg {
  width: 24px;
  height: 24px;
}

@media (prefers-reduced-motion:reduce) {

  .df-lightbox,
  .df-lightbox__img,
  .df-lightbox__close {
    transition: none;
  }

  .df-lightbox.is-open .df-lightbox__img {
    transform: none;
  }
}