/* =========================================================
   Malhar Powertronics LLP — site styles
   ========================================================= */

:root {
  --ink: #0a0f1d;
  --ink-2: #111829;
  --ink-3: #1a2338;
  --amber: #f6b100;
  --amber-2: #ffc94a;
  --amber-deep: #d99100;
  --paper: #f6f4ef;
  --white: #ffffff;
  --text: #182033;
  --muted: #5d6578;
  --muted-light: #a3abbd;
  --line: rgba(10, 15, 29, 0.09);
  --line-light: rgba(255, 255, 255, 0.1);

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 8px rgba(10, 15, 29, 0.06);
  --shadow: 0 18px 50px -18px rgba(10, 15, 29, 0.25);
  --shadow-lg: 0 40px 80px -30px rgba(10, 15, 29, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
  --header-h: 84px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

::selection {
  background: var(--amber);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  background: var(--amber);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: var(--ink);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
}

.preloader__mark {
  width: 96px;
  height: 96px;
}

.preloader__bar {
  fill: var(--amber);
  transform-origin: bottom;
  transform-box: fill-box;
  animation: bar-grow 0.9s var(--ease) both;
}

.preloader__bar:nth-child(2) {
  animation-delay: 0.12s;
}

.preloader__bar:nth-child(3) {
  animation-delay: 0.24s;
}

.preloader__arc {
  fill: none;
  stroke: var(--white);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 260;
  stroke-dashoffset: 260;
  animation: draw 1.1s 0.3s var(--ease) forwards;
}

@keyframes bar-grow {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 200;
  background: linear-gradient(90deg, var(--amber), var(--amber-2));
  transform-origin: left;
  transform: scaleX(0);
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--amber);
  --fg: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.3s;
  white-space: nowrap;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--amber-2);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
  border-radius: inherit;
}

.btn:hover::before {
  transform: translateY(0);
}

.btn:hover {
  box-shadow: 0 14px 30px -12px rgba(246, 177, 0, 0.7);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--ghost {
  --bg: transparent;
  --fg: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35);
}

.btn--ghost::before {
  background: var(--white);
}

.btn--ghost:hover {
  color: var(--ink);
  box-shadow: none;
}

.btn--dark {
  --bg: var(--ink);
  --fg: var(--white);
}

.btn--dark::before {
  background: var(--ink-3);
}

.btn--dark:hover {
  box-shadow: 0 14px 30px -12px rgba(10, 15, 29, 0.6);
}

.btn--sm {
  padding: 11px 20px;
  font-size: 14px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  transition: gap 0.3s var(--ease), color 0.3s;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
}

.link-arrow:hover {
  gap: 14px;
  color: var(--amber-deep);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: transform 0.5s var(--ease), background 0.4s, height 0.4s var(--ease),
    box-shadow 0.4s;
}

.site-header.is-scrolled {
  --header-h: 70px;
  background: rgba(10, 15, 29, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-light);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand__logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--white);
  padding: 5px;
  flex-shrink: 0;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.brand__name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  position: relative;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.3s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--white);
}

.nav__link:hover::after,
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.25);
  position: relative;
  z-index: 120;
}

.menu-toggle span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}

.menu-toggle span:nth-child(1) {
  top: 17px;
}

.menu-toggle span:nth-child(2) {
  top: 22px;
}

.menu-toggle span:nth-child(3) {
  top: 27px;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ---------- Products mega menu ---------- */
.nav__caret {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 4px;
}

.nav__caret svg {
  width: 15px;
  height: 15px;
  transition: transform 0.35s var(--ease);
}

.nav__link[aria-expanded="true"] {
  color: var(--white);
}

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

.site-header.mega-open {
  background: var(--ink);
  box-shadow: 0 1px 0 var(--line-light);
}

.mega {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: var(--header-h);
  z-index: 98;
  background: rgba(6, 9, 18, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

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

.mega__panel {
  background: var(--white);
  box-shadow: 0 30px 60px -30px rgba(10, 15, 29, 0.45);
  max-height: calc(100% - 24px);
  overflow: auto;
  transform: translateY(-14px);
  transition: transform 0.45s var(--ease);
}

.mega.is-open .mega__panel {
  transform: none;
}

.mega__grid {
  display: grid;
  grid-template-columns: 330px 1fr;
}

.mega__side {
  padding: 34px 28px 34px 0;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.mega__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.mega__tabs {
  display: grid;
  gap: 4px;
}

.mega__tab {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px 14px 18px;
  border-radius: 12px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  transition: background 0.25s, color 0.25s;
}

.mega__tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 3px;
  background: var(--amber);
  transform: scaleY(0);
  transition: transform 0.35s var(--ease);
}

.mega__tab:hover,
.mega__tab.is-active {
  background: var(--paper);
}

.mega__tab.is-active::before {
  transform: scaleY(1);
}

.mega__tab-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--ink);
  transition: background 0.25s, color 0.25s;
}

.mega__tab.is-active .mega__tab-icon {
  background: var(--ink);
  color: var(--amber);
}

.mega__tab-icon svg {
  width: 20px;
  height: 20px;
}

.mega__tab-text {
  flex: 1;
}

.mega__tab > svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s, transform 0.35s var(--ease);
}

.mega__tab.is-active > svg {
  opacity: 1;
  transform: none;
  color: var(--amber-deep);
}

.mega__all {
  margin-top: auto;
  padding-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text);
  transition: gap 0.3s var(--ease), color 0.3s;
}

.mega__all svg {
  width: 16px;
  height: 16px;
}

.mega__all:hover {
  gap: 14px;
  color: var(--amber-deep);
}

.mega__main {
  position: relative;
  padding: 36px 0 32px 44px;
  display: flex;
  flex-direction: column;
}

.mega__close {
  position: absolute;
  top: 26px;
  right: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  transition: background 0.3s, transform 0.4s var(--ease);
}

.mega__close:hover {
  background: var(--paper);
  transform: rotate(90deg);
}

.mega__close svg {
  width: 20px;
  height: 20px;
}

.mega__pane {
  display: none;
}

.mega__pane.is-active {
  display: block;
  animation: mega-in 0.4s var(--ease);
}

@keyframes mega-in {
  from {
    opacity: 0;
    transform: translateX(10px);
  }
}

.mega__title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  padding-right: 60px;
  transition: color 0.3s;
}

.mega__title svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease);
}

.mega__title:hover {
  color: var(--amber-deep);
}

.mega__title:hover svg {
  transform: translateX(4px);
}

.mega__desc {
  margin-top: 10px;
  max-width: 760px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

.mega__links {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 28px;
}

.mega__links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 10px 8px 8px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: background 0.25s, color 0.25s;
}

.mega__links a:hover {
  background: var(--paper);
  color: var(--amber-deep);
}

.mega__thumb {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 40%, #fff, #eef0f4);
  display: grid;
  place-items: center;
  padding: 4px;
  overflow: hidden;
}

.mega__thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.4s var(--ease);
}

.mega__links a:hover .mega__thumb img {
  transform: scale(1.12);
}

.mega__promo {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  border-radius: 16px;
  background: linear-gradient(110deg, var(--ink) 55%, #2a1606);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.mega__promo::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 26, 0.35), transparent 65%);
}

.mega__promo-text {
  position: relative;
  z-index: 1;
}

.mega__promo-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16.5px;
  color: #ff9a4d;
}

.mega__promo-text span {
  font-size: 14px;
  color: var(--muted-light);
}

.mega__promo-btn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  padding: 11px 20px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
}

.mega__promo:hover .mega__promo-btn {
  background: var(--white);
  color: var(--ink);
  box-shadow: none;
}

.mobile-menu .mobile-sub {
  display: grid;
  gap: 2px;
  margin: 6px 0 10px 4px;
  padding-left: 16px;
  border-left: 2px solid rgba(246, 177, 0, 0.5);
}

.mobile-menu .mobile-sub a {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--muted-light);
  padding: 4px 0;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--ink);
  padding: 110px 32px 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: circle(0 at calc(100% - 47px) 42px);
  transition: clip-path 0.8s var(--ease);
  visibility: hidden;
}

.menu-open .mobile-menu {
  clip-path: circle(150% at calc(100% - 47px) 42px);
  visibility: visible;
}

.mobile-menu ul {
  display: grid;
  gap: 6px;
}

.mobile-menu a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 8vw, 44px);
  font-weight: 600;
  color: var(--white);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.3s;
}

.mobile-menu a[aria-current="page"],
.mobile-menu a:hover {
  color: var(--amber);
}

.menu-open .mobile-menu a {
  opacity: 1;
  transform: none;
}

.menu-open .mobile-menu li:nth-child(1) a { transition-delay: 0.15s; }
.menu-open .mobile-menu li:nth-child(2) a { transition-delay: 0.2s; }
.menu-open .mobile-menu li:nth-child(3) a { transition-delay: 0.25s; }
.menu-open .mobile-menu li:nth-child(4) a { transition-delay: 0.3s; }
.menu-open .mobile-menu li:nth-child(5) a { transition-delay: 0.35s; }
.menu-open .mobile-menu li:nth-child(6) a { transition-delay: 0.4s; }

.mobile-menu__foot {
  color: var(--muted-light);
  font-size: 15px;
  display: grid;
  gap: 6px;
}

.mobile-menu__foot a {
  font-size: 15px;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--white);
  opacity: 1;
  transform: none;
}

/* ---------- Section scaffolding ---------- */
.section {
  padding: clamp(80px, 11vw, 140px) 0;
  position: relative;
}

.section--paper {
  background: var(--paper);
}

.section--dark {
  background: var(--ink);
  color: var(--white);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(44px, 6vw, 70px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.section-head--split > div {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.section--dark .eyebrow,
.page-hero .eyebrow,
.hero .eyebrow {
  color: var(--amber);
}

.section-title {
  font-size: clamp(32px, 4.6vw, 54px);
}

.section-title em {
  font-style: normal;
  color: var(--amber-deep);
}

.section--dark .section-title em {
  color: var(--amber);
}

.section-lead {
  margin-top: 20px;
  font-size: 18px;
  color: var(--muted);
}

.section--dark .section-lead {
  color: var(--muted-light);
}

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

[data-reveal="left"] {
  transform: translateX(-40px);
}

[data-reveal="right"] {
  transform: translateX(40px);
}

[data-reveal="scale"] {
  transform: scale(0.94);
}

[data-reveal="clip"] {
  opacity: 1;
  transform: none;
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.2s var(--ease);
  transition-delay: var(--d, 0s);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

[data-reveal="clip"].is-in {
  clip-path: inset(0 0 0 0);
}

.split-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.split-line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}

.is-ready .split-line > span {
  transform: none;
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: min(100vh, 1000px);
  min-height: min(100svh, 1000px);
  padding: calc(var(--header-h) + 60px) 0 90px;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
}

.hero__glow {
  position: absolute;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 177, 0, 0.28), transparent 65%);
  right: -180px;
  top: -160px;
  filter: blur(20px);
  animation: glow 9s ease-in-out infinite alternate;
}

.hero__glow--2 {
  width: 520px;
  height: 520px;
  left: -200px;
  right: auto;
  top: auto;
  bottom: -220px;
  background: radial-gradient(circle, rgba(64, 110, 255, 0.18), transparent 65%);
  animation-duration: 12s;
}

@keyframes glow {
  to {
    transform: translate(-60px, 50px) scale(1.12);
  }
}

.hero__circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.hero__circuit path {
  fill: none;
  stroke: url(#circuit-grad);
  stroke-width: 1.5;
  stroke-dasharray: 8 1200;
  animation: current 6s linear infinite;
}

.hero__circuit path:nth-child(2) { animation-delay: -1.5s; animation-duration: 7s; }
.hero__circuit path:nth-child(3) { animation-delay: -3s; animation-duration: 8s; }
.hero__circuit path:nth-child(4) { animation-delay: -4.5s; animation-duration: 6.5s; }
.hero__circuit path:nth-child(5) { animation-delay: -2.2s; animation-duration: 9s; }

.hero__circuit .trace {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-dasharray: none;
  animation: none;
}

@keyframes current {
  from {
    stroke-dashoffset: 1208;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 56px;
}

.hero__title {
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero__title .accent {
  background: linear-gradient(100deg, var(--amber), var(--amber-2) 60%, #fff3c4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin-top: 28px;
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--muted-light);
  max-width: 560px;
}

.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__stats {
  margin-top: 56px;
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
}

.hero__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero__stat span {
  font-size: 14px;
  color: var(--muted-light);
}

.hero__visual {
  position: relative;
  height: 600px;
}

.hero__img {
  position: absolute;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__img--main {
  right: 0;
  top: 0;
  width: 78%;
  height: 82%;
}

.hero__img--main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 15, 29, 0.6));
}

.hero__img--sub {
  left: 0;
  bottom: 0;
  width: 46%;
  height: 40%;
  border: 6px solid var(--ink);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}

.float-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--amber);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.float-card__icon svg {
  width: 22px;
  height: 22px;
}

.float-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.25;
}

.float-card span {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.3;
}

.float-card--a {
  left: 4%;
  top: 14%;
}

.float-card--b {
  right: -10px;
  bottom: 6%;
  animation-delay: -3s;
}

@keyframes float {
  50% {
    transform: translateY(-14px);
  }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.3);
}

.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 9px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--amber);
  animation: cue 1.8s var(--ease) infinite;
}

@keyframes cue {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 100px;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.32;
  transform: scale(1.08);
  animation: kenburns 18s ease-out forwards;
}

.page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--ink) 15%, rgba(10, 15, 29, 0.6) 60%, rgba(10, 15, 29, 0.85)),
    linear-gradient(0deg, var(--ink), transparent 40%);
}

@keyframes kenburns {
  to {
    transform: scale(1);
  }
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  font-size: clamp(44px, 7vw, 92px);
  letter-spacing: -0.035em;
  line-height: 1;
  max-width: 900px;
}

.page-hero h1 ~ p {
  margin-top: 26px;
  font-size: 19px;
  color: var(--muted-light);
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: var(--muted-light);
  margin-bottom: 26px;
}

.breadcrumb a:hover {
  color: var(--amber);
}

.breadcrumb span[aria-hidden] {
  opacity: 0.5;
}

/* ---------- Client marquee ---------- */
.clients {
  padding: 46px 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.clients__label {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 28px;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

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

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

.marquee {
  padding: 8px 0;
}

.marquee__item {
  flex-shrink: 0;
  width: 200px;
  height: 90px;
  margin: 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marquee__item img {
  width: auto;
  height: auto;
  max-width: 170px;
  max-height: 76px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter 0.4s, opacity 0.4s, transform 0.4s var(--ease);
}

.marquee__item:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.06);
}

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

/* ---------- Forbes feature ---------- */
.forbes {
  position: relative;
  background: #050608;
  color: var(--white);
  overflow: hidden;
}

.forbes::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 500px at 80% 10%, rgba(255, 106, 0, 0.16), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(246, 177, 0, 0.1), transparent 60%);
  pointer-events: none;
}

.forbes__bars {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: repeating-linear-gradient(90deg, rgba(255, 106, 0, 0.5) 0 3px, transparent 3px 9px, rgba(255, 140, 40, 0.35) 9px 10px, transparent 10px 17px);
  mask-image: linear-gradient(0deg, #000, transparent);
  -webkit-mask-image: linear-gradient(0deg, #000, transparent);
  opacity: 0.22;
  pointer-events: none;
}

.forbes .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(48px, 6vw, 90px);
  align-items: center;
}

.forbes__kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.forbes__wordmark {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.forbes__wordmark sup {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  vertical-align: 2.2em;
  margin-left: 3px;
}

.forbes__pill {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 106, 0, 0.55);
  color: #ff8a3d;
}

.forbes__select {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.9;
  letter-spacing: 0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85);
  text-shadow: 0 0 40px rgba(255, 160, 80, 0.35);
}

.forbes__select span {
  color: #ff7a1a;
  -webkit-text-stroke: 0;
}

.forbes__sub {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
}

.forbes__quote {
  position: relative;
  margin-top: 30px;
  padding: 26px 28px 26px 30px;
  border-radius: 18px;
  border: 1px solid rgba(255, 106, 0, 0.3);
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.08), rgba(255, 255, 255, 0.02));
  color: #c9cdd8;
  font-size: 16px;
  line-height: 1.75;
}

.forbes__quote::before {
  content: "\201C";
  position: absolute;
  top: -26px;
  left: 20px;
  font-family: Georgia, serif;
  font-size: 80px;
  line-height: 1;
  color: #ff7a1a;
}

.forbes__quote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff8a3d;
}

.forbes__actions {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.forbes .btn:not(.btn--ghost) {
  --bg: #ff7a1a;
}

.forbes .btn:not(.btn--ghost)::before {
  background: #ff9a4d;
}

.forbes .btn:not(.btn--ghost):hover {
  box-shadow: 0 14px 30px -12px rgba(255, 122, 26, 0.7);
}

.forbes__people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: end;
}

.founder {
  position: relative;
  margin: 0;
}

.founder:nth-child(2) {
  transform: translateY(-36px);
}

.founder__img {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.founder__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.8s var(--ease), transform 1.1s var(--ease);
}

.founder__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 6, 8, 0.85), transparent 45%);
}

.founder:hover .founder__img img {
  filter: grayscale(0.2) sepia(0.25) contrast(1.05);
  transform: scale(1.04);
}

.founder figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 1;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
}

.founder figcaption::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto 8px;
  background: #ff7a1a;
}

/* ---------- About split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

.split--reverse > :first-child {
  order: 2;
}

.media-stack {
  position: relative;
  padding: 0 0 60px 0;
}

.media-stack__main {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}

.media-stack__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.media-stack:hover .media-stack__main img {
  transform: scale(1.04);
}

.media-stack__sub {
  position: absolute;
  right: -30px;
  bottom: 0;
  width: 52%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  border: 8px solid var(--white);
  box-shadow: var(--shadow);
}

.section--paper .media-stack__sub {
  border-color: var(--paper);
}

.media-stack__sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-stack__badge {
  position: absolute;
  left: -24px;
  top: 40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  display: grid;
  place-items: center;
  text-align: center;
  box-shadow: var(--shadow);
}

.media-stack__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
}

.media-stack__badge span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
  display: block;
  margin-top: 4px;
}

.media-stack__badge .ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px dashed rgba(217, 145, 0, 0.6);
  animation: spin 22s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.prose p + p {
  margin-top: 18px;
}

.prose p {
  color: var(--muted);
  font-size: 17px;
}

.prose .lead {
  font-size: 20px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.6;
}

.checklist {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 500;
  line-height: 1.45;
}

.checklist svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--amber-deep);
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  margin-top: clamp(60px, 8vw, 100px);
}

.stat {
  padding: 36px 24px 0 0;
}

.stat + .stat {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.stat__num sup {
  color: var(--amber-deep);
  font-size: 0.55em;
  vertical-align: 0.6em;
}

.stat__label {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

#featured-products {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: left;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
  cursor: pointer;
  width: 100%;
}

.section--dark .product-card {
  background: var(--ink-2);
  border-color: var(--line-light);
  color: var(--white);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(246, 177, 0, 0.55);
}

.section--dark .product-card:hover {
  box-shadow: 0 30px 60px -30px rgba(246, 177, 0, 0.35);
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: radial-gradient(circle at 50% 40%, #ffffff, #eef0f4);
  display: grid;
  place-items: center;
  padding: 26px;
  overflow: hidden;
}

.product-card__media img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.8s var(--ease);
  mix-blend-mode: multiply;
}

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

.product-card__tag {
  position: absolute;
  z-index: 1;
  left: 16px;
  top: 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--amber);
}

.product-card__body {
  padding: 22px 24px 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex: 1;
}

.product-card__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.product-card__arrow {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  transition: background 0.4s, border-color 0.4s, transform 0.5s var(--ease);
}

.section--dark .product-card__arrow {
  border-color: var(--line-light);
}

.product-card__arrow svg {
  width: 18px;
  height: 18px;
  transform: rotate(-45deg);
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card__arrow {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
}

.product-card:hover .product-card__arrow svg {
  transform: rotate(0);
}

/* Filter tabs */
.filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  margin-bottom: 44px;
}

.filter {
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  transition: color 0.3s, background 0.3s, box-shadow 0.3s;
}

.filter:hover {
  color: var(--ink);
}

.filter.is-active {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.filter .count {
  font-size: 12px;
  opacity: 0.6;
  margin-left: 4px;
}

.is-filtered-out {
  display: none !important;
}

.fade-in {
  animation: fade-in 0.6s var(--ease) both;
}

@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}

/* ---------- Capabilities ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.cap {
  position: relative;
  padding: 34px 28px 32px;
  border-radius: var(--radius);
  background: var(--ink-2);
  border: 1px solid var(--line-light);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.4s;
}

.cap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(246, 177, 0, 0.16), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s;
}

.cap:hover {
  transform: translateY(-6px);
  border-color: rgba(246, 177, 0, 0.4);
}

.cap:hover::before {
  opacity: 1;
}

.cap > * {
  position: relative;
}

.cap__num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-light);
  letter-spacing: 0.1em;
}

.cap__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(246, 177, 0, 0.12);
  color: var(--amber);
  display: grid;
  place-items: center;
  margin: 26px 0 24px;
  transition: background 0.4s, color 0.4s, transform 0.5s var(--ease);
}

.cap:hover .cap__icon {
  background: var(--amber);
  color: var(--ink);
  transform: rotate(-6deg) scale(1.05);
}

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

.cap h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.cap p {
  color: var(--muted-light);
  font-size: 15px;
  line-height: 1.65;
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
  position: relative;
}

.process::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: var(--line);
}

.process__line {
  position: absolute;
  top: 27px;
  left: 28px;
  right: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--amber-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 2s var(--ease) 0.3s;
}

.process.is-in .process__line {
  transform: scaleX(1);
}

.step {
  position: relative;
  padding-right: 26px;
}

.step__dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  position: relative;
  transition: background 0.5s, border-color 0.5s;
  transition-delay: var(--d, 0s);
}

.section--paper .step__dot {
  background: var(--paper);
}

.process.is-in .step__dot {
  background: var(--amber);
  border-color: var(--amber);
}

.step h3 {
  font-size: 19px;
  margin: 26px 0 10px;
}

.step p {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Team teaser mosaic ---------- */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 260px 260px;
  gap: 16px;
}

.mosaic__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink-3);
}

.mosaic__item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.mosaic__item:nth-child(4) {
  grid-column: span 2;
}

.mosaic__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.6s;
}

.mosaic__item:hover img {
  transform: scale(1.07);
}

.mosaic__item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 50px 22px 18px;
  background: linear-gradient(0deg, rgba(10, 15, 29, 0.85), transparent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  transform: translateY(12px);
  opacity: 0;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.mosaic__item:hover figcaption {
  opacity: 1;
  transform: none;
}

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  border-radius: 28px;
  padding: clamp(44px, 6vw, 80px);
  background: var(--amber);
  color: var(--ink);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.3fr auto;
  align-items: center;
  gap: 40px;
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(10, 15, 29, 0.12);
}

.cta::before {
  width: 520px;
  height: 520px;
  right: -140px;
  top: -260px;
}

.cta::after {
  width: 340px;
  height: 340px;
  right: -50px;
  top: -170px;
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.cta p {
  margin-top: 14px;
  font-size: 18px;
  color: rgba(10, 15, 29, 0.72);
  max-width: 560px;
}

.cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta .btn--outline {
  --bg: transparent;
  --fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.cta .btn--outline::before {
  background: var(--ink);
}

.cta .btn--outline:hover {
  color: var(--white);
  box-shadow: none;
}

/* ---------- Cards (vision / values / contact) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  padding: 38px 34px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--amber), var(--amber-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.card:hover::after {
  transform: scaleX(1);
}

.card__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--amber);
  display: grid;
  place-items: center;
  margin-bottom: 26px;
}

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

.card h3 {
  font-size: 23px;
  margin-bottom: 14px;
}

.card p {
  color: var(--muted);
}

.card--feature {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.card--feature .card__icon {
  background: var(--amber);
  color: var(--ink);
}

.card--feature p {
  color: var(--muted-light);
}

/* ---------- Certificates ---------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cert {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 14px;
  cursor: zoom-in;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  width: 100%;
}

.cert:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: var(--shadow);
}

.cert img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
}

.cert__zoom {
  position: absolute;
  right: 26px;
  top: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.4s, transform 0.4s var(--ease);
}

.cert__zoom svg {
  width: 20px;
  height: 20px;
}

.cert:hover .cert__zoom {
  opacity: 1;
  transform: none;
}

/* ---------- Awards & certification badges ---------- */
.award-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.award {
  display: flex;
  flex-direction: column;
  text-align: left;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: zoom-in;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.award:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.award__media {
  aspect-ratio: 4 / 4.2;
  overflow: hidden;
  background: #e9e7e2;
}

.award__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.award:hover .award__media img {
  transform: scale(1.06);
}

.award__body {
  padding: 24px 26px 28px;
}

.award__year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--amber-deep);
}

.award h3 {
  font-size: 19px;
  line-height: 1.3;
  margin: 8px 0 8px;
}

.award p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.badges--center {
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 600;
  font-size: 14px;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}

.badge:hover {
  border-color: var(--amber);
  transform: translateY(-3px);
}

.badge svg {
  width: 22px;
  height: 22px;
  color: var(--amber-deep);
}

.badge small {
  font-weight: 500;
  color: var(--muted);
  font-size: 13px;
}

.award-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.cert__label {
  display: block;
  padding: 14px 4px 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  text-align: left;
}

.cert__label small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--muted);
}

/* Scope list (dark) */
.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.scope-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid var(--line-light);
  background: var(--ink-2);
  font-weight: 500;
  transition: border-color 0.4s, transform 0.5s var(--ease), background 0.4s;
}

.scope-item:hover {
  border-color: rgba(246, 177, 0, 0.5);
  background: var(--ink-3);
  transform: translateY(-4px);
}

.scope-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--amber);
}

[id] {
  scroll-margin-top: 100px;
}

/* ---------- Gallery (masonry) ---------- */
.gallery {
  columns: 3 320px;
  column-gap: 18px;
}

.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  margin-bottom: 18px;
  break-inside: avoid;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--ink-3);
}

.gallery__item img {
  width: 100%;
  height: auto;
  transition: transform 1.1s var(--ease);
}

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

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 15, 29, 0.85), transparent 55%);
  opacity: 0;
  transition: opacity 0.5s;
}

.gallery__item:hover::after {
  opacity: 1;
}

.gallery__cap {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  color: var(--white);
  text-align: left;
  transform: translateY(14px);
  opacity: 0;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.gallery__cap strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
}

.gallery__cap span {
  font-size: 13px;
  color: var(--amber);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery__item:hover .gallery__cap {
  opacity: 1;
  transform: none;
}

/* ---------- Video feature ---------- */
.video-feature {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-lg);
}

.video-feature video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-feature__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(0deg, rgba(10, 15, 29, 0.55), rgba(10, 15, 29, 0.15));
  transition: opacity 0.5s;
}

.video-feature.is-playing .video-feature__overlay {
  opacity: 0;
  pointer-events: none;
}

.play-btn {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  display: grid;
  place-items: center;
  position: relative;
  transition: transform 0.4s var(--ease);
}

.play-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 2.2s ease-out infinite;
  z-index: -1;
}

.play-btn:hover {
  transform: scale(1.08);
}

.play-btn svg {
  width: 30px;
  height: 30px;
  margin-left: 4px;
}

@keyframes pulse {
  from {
    transform: scale(1);
    opacity: 0.6;
  }
  to {
    transform: scale(1.9);
    opacity: 0;
  }
}

/* ---------- Modal & lightbox ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 9, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

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

.modal__dialog {
  position: relative;
  width: min(1040px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border-radius: 24px;
  background: var(--white);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.5s var(--ease);
}

.modal.is-open .modal__dialog {
  transform: none;
}

.modal__close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--paper);
  display: grid;
  place-items: center;
  transition: background 0.3s, transform 0.4s var(--ease);
}

.modal__close:hover {
  background: var(--amber);
  transform: rotate(90deg);
}

.modal__close svg {
  width: 20px;
  height: 20px;
}

.modal__media {
  background: radial-gradient(circle at 50% 40%, #ffffff, #eceef3);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}

.modal__main-img {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.modal__main-img img {
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  animation: fade-in 0.5s var(--ease);
}

.modal__thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.modal__thumbs button {
  width: 68px;
  height: 68px;
  border-radius: 12px;
  background: var(--white);
  padding: 6px;
  border: 2px solid transparent;
  transition: border-color 0.3s;
}

.modal__thumbs button.is-active {
  border-color: var(--amber);
}

.modal__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal__body {
  padding: 56px 48px 48px;
  display: flex;
  flex-direction: column;
}

.modal__body h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 18px;
}

.modal__desc {
  color: var(--muted);
  font-size: 16.5px;
}

.page-hero .accent {
  background: linear-gradient(100deg, var(--amber), var(--amber-2) 60%, #fff3c4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.modal__body .btn {
  margin-top: 32px;
  align-self: flex-start;
}

.modal__meta {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  font-size: 15px;
}

.modal__meta li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--text);
}

.modal__meta svg {
  width: 18px;
  height: 18px;
  color: var(--amber-deep);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(6, 9, 18, 0.94);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

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

.lightbox__figure {
  max-width: min(1200px, 90vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lightbox__figure img {
  max-height: 78vh;
  width: auto;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  animation: fade-in 0.5s var(--ease);
}

.lightbox__figure figcaption {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 16px;
  text-align: center;
}

.lightbox__figure figcaption span {
  color: var(--muted-light);
  font-family: var(--font-body);
  margin-left: 10px;
  font-size: 14px;
}

.lightbox__btn {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background 0.3s, color 0.3s;
}

.lightbox__btn:hover {
  background: var(--amber);
  color: var(--ink);
}

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

.lightbox__btn--close {
  top: 24px;
  right: 24px;
}

.lightbox__btn--prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
}

.lightbox__btn--next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 0.4s, transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

a.contact-item:hover {
  border-color: var(--amber);
  transform: translateX(6px);
  box-shadow: var(--shadow-sm);
}

.contact-item__icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--ink);
  color: var(--amber);
  display: grid;
  place-items: center;
}

.contact-item__icon svg {
  width: 22px;
  height: 22px;
}

.contact-item small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-item strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.45;
  display: block;
}

.contact-item p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.form-card {
  padding: clamp(32px, 4vw, 52px);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.form-card h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.form-card > p {
  color: var(--muted);
  margin-bottom: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  position: relative;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 15px 18px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  font: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235d6578' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 46px;
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--amber);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(246, 177, 0, 0.16);
}

.form-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}

.form-actions {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.form-status {
  font-size: 14px;
  font-weight: 500;
  color: #1f8a4c;
}

.map {
  margin-top: 22px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  height: 440px;
  position: relative;
  box-shadow: var(--shadow);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.35) contrast(1.05);
}

.offices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 22px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--muted-light);
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 177, 0, 0.1), transparent 65%);
  left: -200px;
  top: -300px;
}

.footer-top {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 70px;
}

.footer-about p {
  margin-top: 22px;
  font-size: 15px;
  max-width: 340px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 22px;
}

.footer-col ul {
  display: grid;
  gap: 12px;
  font-size: 15px;
}

.footer-col a {
  transition: color 0.3s, padding 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--amber);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.55;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--amber);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}

.socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-light);
  color: var(--white);
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}

.socials a:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink);
  transform: translateY(-4px);
}

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

.footer-bottom {
  position: relative;
  border-top: 1px solid var(--line-light);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-wordmark {
  position: relative;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 7.6vw, 116px);
  letter-spacing: -0.04em;
  line-height: 0.8;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  margin-bottom: -0.12em;
  user-select: none;
  white-space: nowrap;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s, transform 0.4s var(--ease), background 0.3s, color 0.3s;
}

.to-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.to-top:hover {
  background: var(--amber);
  color: var(--ink);
}

.to-top svg {
  width: 20px;
  height: 20px;
  transform: rotate(-90deg);
  position: relative;
}

.to-top__ring {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.to-top__ring circle {
  fill: none;
  stroke: var(--amber);
  stroke-width: 2.5;
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
}

/* ---------- Misc ---------- */
.note-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}

.note-box svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--amber-deep);
}

.perks {
  display: grid;
  gap: 22px;
  margin-top: 36px;
}

.perk {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.perk__icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(246, 177, 0, 0.14);
  color: var(--amber-deep);
  display: grid;
  place-items: center;
}

.perk__icon svg {
  width: 24px;
  height: 24px;
}

.perk h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.perk p {
  color: var(--muted);
  font-size: 15px;
}

.text-center {
  text-align: center;
}

.mt-48 {
  margin-top: 48px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav,
  .header-actions .btn,
  .mega {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    height: 520px;
    max-width: 640px;
  }

  .cap-grid,
  .award-grid--4,
  .scope-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .process {
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 0;
  }

  .process::before,
  .process__line {
    display: none;
  }
}

@media (max-width: 900px) {
  .split,
  .contact-grid,
  .modal__dialog,
  .cta,
  .forbes .container {
    grid-template-columns: 1fr;
  }

  .founder:nth-child(2) {
    transform: none;
  }

  .split--reverse > :first-child {
    order: 0;
  }

  .media-stack {
    max-width: 520px;
  }

  .media-stack__sub {
    right: 0;
  }

  .media-stack__badge {
    left: -8px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 200px 200px;
  }

  .mosaic__item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .mosaic__item:nth-child(4) {
    grid-column: span 2;
  }

  .cert-grid,
  .award-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal__media {
    padding: 28px;
  }

  .modal__main-img {
    aspect-ratio: 4 / 3;
  }

  .modal__body {
    padding: 32px 28px 36px;
  }

  .offices {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 36px, var(--container));
  }

  .brand__name small {
    display: none;
  }

  .hero__visual {
    height: 420px;
  }

  .float-card--b {
    display: none;
  }

  .float-card--a {
    left: auto;
    top: auto;
    right: 0;
    bottom: 6%;
  }

  .hero__stats {
    gap: 28px;
  }

  .cap-grid,
  .form-grid,
  .checklist,
  .scope-grid {
    grid-template-columns: 1fr;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .award-grid {
    grid-template-columns: 1fr;
  }

  .forbes__people {
    gap: 8px;
  }

  .founder figcaption {
    font-size: 12px;
    bottom: 10px;
  }

  .media-stack__badge {
    width: 118px;
    height: 118px;
  }

  .media-stack__badge strong {
    font-size: 30px;
  }

  .lightbox__btn--prev,
  .lightbox__btn--next {
    top: auto;
    bottom: 24px;
  }

  .lightbox__btn--prev {
    transform: rotate(180deg);
  }

  .filters {
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal],
  [data-reveal="clip"],
  .split-line > span {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .marquee__track {
    animation: none;
  }
}
