/*
 * REKINDO V2
 * Industrial editorial direction inspired by the supplied construction reference.
 * All company content and photography remain Rekindo-owned source material.
 */

.theme-v2 {
  --color-brand: #303236;
  --color-dark: #25282b;
  --color-dark-deep: #1e2023;
  --color-ink: #242629;
  --color-slate: #55595e;
  --color-muted: #777b80;
  --color-bg: #f5f5f4;
  --color-bg-soft: #eeeeec;
  --color-border: #dededb;
  --color-accent: #ffc600;
  --color-accent-light: #ffd23b;
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --header-height: 7.5rem;
  color: var(--color-ink);
  font-family: "Arial", "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
}

.theme-v2 h1,
.theme-v2 h2,
.theme-v2 h3 {
  font-weight: 800;
  letter-spacing: -0.045em;
}

.theme-v2 h2 {
  font-size: clamp(2.25rem, 4.6vw, 4.5rem);
}

.theme-v2 .container {
  width: min(calc(100% - 2rem), 1120px);
}

.theme-v2 .section {
  padding-block: clamp(4.75rem, 8vw, 7.75rem);
}

.theme-v2 .section-label {
  color: #777;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.theme-v2 .section-label span,
.theme-v2 .project-category,
.theme-v2 .approach-index,
.theme-v2 .gallery-heading p {
  color: var(--color-accent);
}

.theme-v2 .section-label::after {
  width: 2.25rem;
  height: 3px;
  background: var(--color-accent);
}

.theme-v2 .btn {
  min-height: 3.15rem;
  padding: 0.9rem 1.55rem;
  border-radius: 0;
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.theme-v2 .btn-primary,
.theme-v2 .btn-header,
.theme-v2 .btn-form {
  color: #25282b;
  background: var(--color-accent);
  box-shadow: none;
}

.theme-v2 .btn-primary:hover,
.theme-v2 .btn-header:hover,
.theme-v2 .btn-form:hover {
  color: #25282b;
  background: #ffd335;
  box-shadow: none;
}

/* Header and information bar */
.theme-v2 .site-header {
  height: auto;
  color: #fff;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.theme-v2 .topbar {
  height: 2.4rem;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(12, 14, 15, 0.52);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.theme-v2 .topbar-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}

.theme-v2 .topbar a,
.theme-v2 .topbar span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.theme-v2 .topbar a:hover {
  color: var(--color-accent);
}

.theme-v2 .topbar .icon {
  width: 0.8rem;
  height: 0.8rem;
  color: var(--color-accent);
}

.theme-v2 .header-inner {
  height: 5.1rem;
}

.theme-v2 .brand {
  width: 8.5rem;
  height: 4rem;
  padding: 0;
  align-self: center;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.theme-v2 .brand-logo {
  position: absolute;
  inset: 0;
  object-fit: contain;
  transition: opacity 180ms ease;
}

.theme-v2 .brand-logo-white {
  opacity: 1;
}

.theme-v2 .brand-logo-black {
  opacity: 0;
}

.theme-v2 .primary-nav {
  gap: 1.6rem;
}

.theme-v2 .primary-nav ul {
  gap: 1.8rem;
}

.theme-v2 .primary-nav li a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.theme-v2 .primary-nav li:first-child a,
.theme-v2 .primary-nav li a:hover {
  color: var(--color-accent);
}

.theme-v2 .primary-nav li a::after {
  background: var(--color-accent);
}

.theme-v2 .site-header.is-scrolled {
  height: auto;
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.1);
  backdrop-filter: none;
}

.theme-v2 .site-header.is-scrolled .topbar {
  display: none;
}

.theme-v2 .site-header.is-scrolled .header-inner {
  height: 4.75rem;
}

.theme-v2 .site-header.is-scrolled .brand {
  width: 7.5rem;
  height: 3.75rem;
  padding: 0;
  box-shadow: none;
  transform: none;
}

.theme-v2 .site-header.is-scrolled .brand-logo-white {
  opacity: 0;
}

.theme-v2 .site-header.is-scrolled .brand-logo-black {
  opacity: 1;
}

.theme-v2 .site-header.is-scrolled .primary-nav li a {
  color: #303236;
}

.theme-v2 .site-header.is-scrolled .primary-nav li:first-child a,
.theme-v2 .site-header.is-scrolled .primary-nav li a:hover {
  color: #b78f00;
}

/* Hero: actual Rekindo engineering photography */
.theme-v2 .hero {
  min-height: max(45rem, 100svh);
  padding-top: 10rem;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(19, 22, 24, 0.88) 0%, rgba(19, 22, 24, 0.67) 48%, rgba(19, 22, 24, 0.35) 100%),
    linear-gradient(0deg, rgba(18, 20, 21, 0.28), rgba(18, 20, 21, 0.28)),
    url("../assets/images/hero-lab-ev-battery-tester.webp") center 50% / cover no-repeat;
}

.theme-v2 .hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), transparent 30%, rgba(0, 0, 0, 0.16));
  content: "";
  pointer-events: none;
}

.theme-v2 .hero-grid,
.theme-v2 .hero-scanline,
.theme-v2 .hero-visual {
  display: none;
}

.theme-v2 .hero-layout {
  position: relative;
  z-index: 2;
  display: block;
  padding-bottom: 8rem;
}

.theme-v2 .hero-content {
  max-width: 50rem;
}

.theme-v2 .eyebrow {
  margin-bottom: 1.3rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.theme-v2 .eyebrow span {
  width: 2.5rem;
  height: 3px;
  background: var(--color-accent);
}

.theme-v2 .eyebrow b {
  color: var(--color-accent);
}

.theme-v2 .hero h1 {
  max-width: 13ch;
  color: #fff;
  font-size: calc(clamp(2.85rem, 6.4vw, 5.85rem) - 10pt);
  font-weight: 850;
  line-height: 1.02;
  letter-spacing: -0.055em;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.22);
}

.theme-v2 .hero-lead {
  max-width: 39rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.72;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.theme-v2 .hero-actions {
  margin-top: 1.9rem;
}

.theme-v2 .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.theme-v2 .btn-ghost:hover {
  color: #25282b;
  border-color: #fff;
  background: #fff;
}

.theme-v2 .hero-meta {
  max-width: 31rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-color: rgba(255, 255, 255, 0.22);
}

.theme-v2 .hero-meta small {
  color: var(--color-accent);
}

.theme-v2 .hero-keywords {
  z-index: 3;
  border-top-color: rgba(255, 255, 255, 0.2);
  background: rgba(25, 27, 29, 0.72);
  backdrop-filter: blur(8px);
}

.theme-v2 .hero-keywords span {
  padding-block: 1rem;
  color: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.12);
  font-family: inherit;
  font-weight: 800;
  letter-spacing: 0.13em;
}

/* Company split section */
.theme-v2 .about {
  background: #fff;
}

.theme-v2 .about-layout {
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.theme-v2 .section-intro h2 {
  position: relative;
  padding-bottom: 1rem;
}

.theme-v2 .section-intro h2::after,
.theme-v2 .section-heading h2::after,
.theme-v2 .contact-details h2::after {
  display: block;
  width: 2.6rem;
  height: 3px;
  margin-top: 0.8rem;
  background: var(--color-accent);
  content: "";
}

.theme-v2 .section-intro .lead-copy {
  color: #414449;
  font-weight: 600;
}

.theme-v2 .capability-panel {
  min-height: 31rem;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(24, 27, 29, 0.08) 20%, rgba(24, 27, 29, 0.92) 100%),
    url("../assets/images/project-lab-ev-01.webp") center / cover no-repeat;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.theme-v2 .capability-panel .panel-head {
  position: absolute;
  z-index: 2;
  top: 1.3rem;
  right: 1.3rem;
  left: 1.3rem;
  color: rgba(255, 255, 255, 0.75);
}

.theme-v2 .capability-panel ol {
  position: absolute;
  z-index: 2;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
}

.theme-v2 .capability-panel li {
  padding: 0.72rem 0;
  border-color: rgba(255, 255, 255, 0.2);
  font-weight: 750;
}

.theme-v2 .capability-panel li span {
  color: var(--color-accent);
}

.theme-v2 .panel-diagram {
  display: none;
}

/* Capabilities: spacious construction-service presentation */
.theme-v2 .capabilities {
  background: #f7f7f6;
}

.theme-v2 .section-heading {
  margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.theme-v2 .section-heading > p {
  color: #777;
}

.theme-v2 .capability-grid {
  gap: 1px;
  background: #dededb;
  border: 1px solid #dededb;
}

.theme-v2 .capability-card {
  min-height: 20rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: #fff;
  border: 0;
  border-top: 4px solid transparent;
  box-shadow: none;
}

.theme-v2 .capability-card:hover {
  border-top-color: var(--color-accent);
  box-shadow: none;
  transform: none;
}

.theme-v2 .card-top {
  margin-bottom: 2.6rem;
}

.theme-v2 .card-icon,
.theme-v2 .service-icon,
.theme-v2 .contact-icon {
  width: 3.75rem;
  height: 3.75rem;
  padding: 0.55rem;
  color: #a3a3a0;
  background: transparent;
  border-radius: 0;
  stroke-width: 1;
}

.theme-v2 .capability-card:hover .card-icon {
  color: var(--color-accent);
}

.theme-v2 .card-number {
  color: #aaa;
  font-family: inherit;
  font-weight: 800;
}

.theme-v2 .capability-card h3 {
  margin-bottom: 0.85rem;
  font-size: 1.28rem;
}

.theme-v2 .capability-card h3::after,
.theme-v2 .service-category h3::after,
.theme-v2 .project-card h3::after {
  display: block;
  width: 1.5rem;
  height: 3px;
  margin-top: 0.7rem;
  background: var(--color-accent);
  content: "";
}

/* Vision: dark editorial block */
.theme-v2 .vision {
  background: #2d3033;
}

.theme-v2 .vision-grid,
.theme-v2 .vision::after {
  display: none;
}

.theme-v2 .section-label-light {
  color: rgba(255, 255, 255, 0.62);
}

.theme-v2 .vision-layout {
  gap: clamp(3.5rem, 7vw, 6.5rem);
}

.theme-v2 .vision-statement {
  padding-left: clamp(1.25rem, 3vw, 2.25rem);
  border-left: 7px solid var(--color-accent);
}

.theme-v2 .vision-kicker,
.theme-v2 .mission-item > span {
  color: var(--color-accent);
  font-family: inherit;
  font-weight: 850;
}

.theme-v2 .vision-statement h2 {
  font-size: calc(clamp(1.9rem, 3.93vw, 3.5rem) - 5pt);
}

.theme-v2 .mission-item h3 {
  font-weight: 800;
}

/* Products and services */
.theme-v2 .services {
  background: #fff;
}

.theme-v2 .service-categories {
  gap: 0;
  border: 1px solid var(--color-border);
}

.theme-v2 .service-category {
  padding: clamp(1.5rem, 3vw, 2.3rem);
  background: #f7f7f6;
  border: 0;
  border-right: 1px solid var(--color-border);
}

.theme-v2 .service-category:last-child {
  border-right: 0;
}

.theme-v2 .service-category-featured {
  color: #25282b;
  background: var(--color-accent);
}

.theme-v2 .service-category-featured .service-icon {
  color: #303236;
  background: transparent;
}

.theme-v2 .service-category-head span,
.theme-v2 .service-category-featured .service-category-head span {
  color: #777;
  font-family: inherit;
  font-weight: 800;
}

.theme-v2 .service-category h3,
.theme-v2 .service-category-featured h3 {
  color: #25282b;
}

.theme-v2 .service-category-featured h3::after {
  background: #25282b;
}

.theme-v2 .service-category li,
.theme-v2 .service-category-featured li {
  color: #565a5e;
  border-color: rgba(46, 48, 51, 0.14);
}

.theme-v2 .service-category li .icon {
  color: #4c5054;
}

.theme-v2 .service-line {
  display: none;
}

/* Approach: yellow statement section */
.theme-v2 .approach {
  color: #25282b;
  background: var(--color-accent);
}

.theme-v2 .approach-index {
  color: rgba(37, 40, 43, 0.65);
  font-family: inherit;
}

.theme-v2 .approach-intro > p,
.theme-v2 .approach-item p {
  color: rgba(37, 40, 43, 0.7);
}

.theme-v2 .approach-axis::before,
.theme-v2 .approach-list,
.theme-v2 .approach-item {
  border-color: rgba(37, 40, 43, 0.25);
}

.theme-v2 .approach-axis::before {
  background: rgba(37, 40, 43, 0.25);
}

.theme-v2 .approach-axis span {
  background: #25282b;
  border-color: #25282b;
}

.theme-v2 .approach-item > span {
  color: #25282b;
  font-family: inherit;
  font-weight: 850;
}

/* Experience cards and portfolio gallery */
.theme-v2 .projects {
  background: #f4f4f3;
}

.theme-v2 .timeline {
  gap: 4.25rem;
}

.theme-v2 .year-marker {
  border-color: #303236;
}

.theme-v2 .year-marker span {
  font-weight: 850;
}

.theme-v2 .year-marker small,
.theme-v2 .project-index {
  font-family: inherit;
  font-weight: 800;
}

.theme-v2 .year-projects {
  gap: 1.25rem;
}

.theme-v2 .project-card {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: #fff;
  border: 0;
  border-bottom: 4px solid transparent;
  box-shadow: 0 9px 25px rgba(0, 0, 0, 0.055);
  transition: border-color 240ms ease, transform 240ms ease, box-shadow 240ms ease;
}

.theme-v2 .project-card:hover {
  border-bottom-color: var(--color-accent);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.theme-v2 .project-card::before {
  display: none;
}

.theme-v2 .project-card dl div {
  border-color: #e6e6e3;
}

.theme-v2 .project-gallery {
  margin-top: clamp(3.5rem, 6vw, 5.5rem);
  gap: 0;
  background: #2d3033;
}

.theme-v2 .gallery-heading {
  display: flex;
  min-height: 18rem;
  padding: 2.25rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: #fff;
  background: #2d3033;
}

.theme-v2 .gallery-heading p {
  color: var(--color-accent);
  font-family: inherit;
  font-weight: 850;
}

.theme-v2 .gallery-heading h3 {
  max-width: 100%;
  color: #fff;
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  line-height: 1.08;
}

.theme-v2 .gallery-item {
  min-height: 18rem;
  border-radius: 0;
}

.theme-v2 .gallery-item img {
  min-height: 18rem;
  filter: grayscale(1) contrast(1.04);
  transition: filter 350ms ease, transform 550ms ease;
}

.theme-v2 .gallery-item:hover img {
  filter: grayscale(0);
  transform: scale(1.03);
}

.theme-v2 .gallery-item figcaption {
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.85rem 1rem;
  background: rgba(37, 40, 43, 0.9);
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
}

.theme-v2 .gallery-item figcaption span {
  color: var(--color-accent);
  font-family: inherit;
  font-weight: 850;
}

/* CTA */
.theme-v2 .engineering-cta {
  color: #25282b;
  background: var(--color-accent);
}

.theme-v2 .engineering-cta::after,
.theme-v2 .cta-grid {
  display: none;
}

.theme-v2 .cta-kicker {
  color: rgba(37, 40, 43, 0.62);
  font-family: inherit;
  font-weight: 850;
}

.theme-v2 .engineering-cta h2,
.theme-v2 .engineering-cta h2 + p {
  color: #25282b;
}

.theme-v2 .engineering-cta h2 + p {
  opacity: 0.7;
}

.theme-v2 .engineering-cta .btn-primary {
  color: #fff;
  background: #2d3033;
}

.theme-v2 .engineering-cta .btn-primary:hover {
  background: #141617;
}

.theme-v2 .engineering-cta .btn-outline-light {
  color: #25282b;
  border-color: rgba(37, 40, 43, 0.45);
}

.theme-v2 .engineering-cta .btn-outline-light:hover {
  color: #fff;
  border-color: #2d3033;
  background: #2d3033;
}

.theme-v2 .engineering-cta .container {
  position: relative;
  z-index: 1;
}

.theme-v2 .cta-contact-details {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.theme-v2 .cta-contact-details address {
  margin-top: 0;
}

.theme-v2 .engineering-cta .contact-item {
  border-color: rgba(37, 40, 43, 0.28);
}

.theme-v2 .engineering-cta .contact-icon {
  color: #25282b;
  background: rgba(255, 255, 255, 0.28);
}

.theme-v2 .engineering-cta .contact-item span {
  color: rgba(37, 40, 43, 0.62);
}

.theme-v2 .engineering-cta .contact-item strong,
.theme-v2 .engineering-cta .contact-item p,
.theme-v2 .engineering-cta .contact-item a {
  color: #25282b;
}

.theme-v2 .engineering-cta .contact-item a:hover {
  color: #fff;
}

/* Contact */
.theme-v2 .contact {
  background: #fff;
}

.theme-v2 .contact-layout {
  gap: clamp(3rem, 7vw, 6rem);
}

.theme-v2 .contact-item {
  border-color: #e2e2df;
}

.theme-v2 .contact-icon {
  color: #909090;
}

.theme-v2 .contact-item a:hover {
  color: #a07d00;
}

.theme-v2 .inquiry-panel {
  background: #2d3033;
  border-top: 7px solid var(--color-accent);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

.theme-v2 .inquiry-head p,
.theme-v2 .form-field label span {
  color: var(--color-accent);
}

.theme-v2 .form-field input:focus,
.theme-v2 .form-field select:focus,
.theme-v2 .form-field textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(255, 198, 0, 0.18);
}

/* Footer */
.theme-v2 .site-footer {
  background: #202225;
  border-top: 8px solid var(--color-accent);
}

.theme-v2 .footer-links a:hover {
  color: var(--color-accent);
}

/* Floating action follows the V2 industrial construction language */
.theme-v2 .floating-whatsapp {
  height: 3.5rem;
  padding-inline: 1.05rem;
  color: #fff;
  background: #25d366;
  border: 1px solid #25d366;
  border-radius: 0;
  box-shadow: 7px 7px 0 rgba(37, 40, 43, 0.2);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theme-v2 .floating-whatsapp:hover {
  color: #fff;
  background: #128c7e;
  border-color: #128c7e;
  transform: translateY(-2px);
}

.theme-v2 .floating-whatsapp svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 1.9;
}

.theme-v2 .floating-whatsapp span {
  font-family: inherit;
  font-size: 0.69rem;
  font-weight: 850;
}

/* Responsive */
@media (max-width: 59.99rem) {
  .theme-v2 {
    --header-height: 6.5rem;
  }

  .theme-v2 .topbar {
    height: 2rem;
  }

  .theme-v2 .topbar-inner {
    justify-content: flex-end;
  }

  .theme-v2 .topbar span,
  .theme-v2 .topbar a:last-child {
    display: none;
  }

  .theme-v2 .header-inner {
    height: 4.5rem;
  }

  .theme-v2 .brand {
    width: 7rem;
    height: 3.5rem;
    padding: 0;
    transform: none;
  }

  .theme-v2 .menu-toggle {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.42);
    border-radius: 0;
  }

  .theme-v2 .site-header.is-scrolled .menu-toggle {
    color: #2d3033;
    border-color: #cfcfcb;
  }

  .theme-v2 .primary-nav {
    padding-top: 7rem;
    color: #fff;
    background: #25282b;
  }

  .theme-v2 .primary-nav ul {
    gap: 0;
  }

  .theme-v2 .primary-nav li a,
  .theme-v2 .site-header.is-scrolled .primary-nav li a {
    color: #fff;
    font-size: clamp(1.35rem, 6vw, 2rem);
    text-transform: none;
  }

  .theme-v2 .primary-nav li:first-child a,
  .theme-v2 .site-header.is-scrolled .primary-nav li:first-child a {
    color: var(--color-accent);
  }

  .theme-v2 .hero {
    min-height: max(47rem, 100svh);
    padding-top: 9rem;
    background-position: 60% center;
  }

  .theme-v2 .hero::after {
    background: rgba(15, 17, 18, 0.25);
  }

  .theme-v2 .hero h1 {
    max-width: 12ch;
  }

  .theme-v2 .service-category {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .theme-v2 .service-category:last-child {
    border-bottom: 0;
  }
}

@media (min-width: 48rem) {
  .theme-v2 .about-layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(25rem, 1.08fr);
  }

  .theme-v2 .vision-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(22rem, 0.92fr);
  }

  .theme-v2 .contact-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(27rem, 1.2fr);
  }

  .theme-v2 .cta-contact-details address {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .theme-v2 .cta-contact-details .contact-item {
    padding: 1.6rem clamp(1rem, 2.4vw, 2rem);
    border-top: 1px solid rgba(37, 40, 43, 0.28);
  }

  .theme-v2 .cta-contact-details .contact-item:first-child {
    padding-left: 0;
  }

  .theme-v2 .cta-contact-details .contact-item + .contact-item {
    border-left: 1px solid rgba(37, 40, 43, 0.28);
  }
}

@media (min-width: 60rem) {
  .theme-v2 .site-header.is-scrolled {
    backdrop-filter: blur(12px);
  }

  .theme-v2 .hero-layout {
    display: block;
  }

  .theme-v2 .capability-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .theme-v2 .service-categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 35.99rem) {
  .theme-v2 .container {
    width: min(calc(100% - 1.5rem), 1120px);
  }

  .theme-v2 .topbar a {
    font-size: 0.57rem;
  }

  .theme-v2 .hero {
    padding-top: 8rem;
  }

  .theme-v2 .hero h1 {
    font-size: calc(clamp(2.55rem, 12vw, 3.65rem) - 10pt);
  }

  .theme-v2 .hero-actions .btn,
  .theme-v2 .cta-actions .btn {
    width: 100%;
  }

  .theme-v2 .hero-keywords span {
    font-size: 0.52rem;
  }

  .theme-v2 .capability-panel {
    min-height: 27rem;
  }

  .theme-v2 .gallery-heading {
    min-height: 13rem;
  }
}

/* JavaScript-off fallback accommodates the extra topbar. */
html:not(.js) .theme-v2 .site-header {
  position: relative;
  background: #25282b;
}

html:not(.js) .theme-v2 .brand {
  transform: none;
}

html:not(.js) .theme-v2 .hero {
  padding-top: 5rem;
}
