/* Proteluxe — Plant Protein Solutions by Aspire Biozymes | proteiningredient.com */

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

:root {
  --color-teal: #004452;
  --color-teal-dark: #003340;
  --color-teal-light: #006878;
  --color-primary: #004452;
  --color-primary-dark: #003340;
  --color-primary-light: #006878;
  --color-accent: #007a8c;
  --color-text: #1a1a1a;
  --color-text-muted: #555;
  --color-bg: #ffffff;
  --color-bg-alt: #f7f9f3;
  --color-border: #e8ece4;
  --color-mild-green: #eff4de;
  --color-mild-green-soft: #f7f9f3;
  --color-mild-green-border: #e3ead8;
  --color-green-glass: rgba(239, 244, 222, 0.42);
  --color-green-glass-strong: rgba(239, 244, 222, 0.68);
  --color-green-glass-border: rgba(255, 255, 255, 0.58);
  --color-green-glass-shadow: rgba(239, 244, 222, 0.35);
  --btn-radius: 999px;
  --font-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", Times, serif;
  --max-width: 1140px;
  --header-height: 72px;
  --utility-height: 36px;
  --radius-md: 6px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --color-footer: #366d73;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--color-primary-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 9999;
}

.skip-link:focus {
  top: 1rem;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
}

.utility-bar {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  height: var(--utility-height);
}

.utility-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.utility-nav {
  display: flex;
  gap: 1.75rem;
}

.utility-nav a {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-decoration: none;
}

.utility-nav a:hover {
  color: var(--color-teal);
  text-decoration: underline;
}

.header-main {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(54, 109, 115, 0.14);
  box-shadow: 0 4px 24px rgba(0, 51, 64, 0.06);
}

/* Home: liquid glass nav over hero video */
body.home-page .hero-banner--video {
  margin-top: calc(-1 * var(--header-height));
}

body.home-page .hero-banner__content {
  padding-top: calc(var(--header-height) + 5rem);
}

body.home-page .header-main {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.58) 0%,
    rgba(255, 255, 255, 0.46) 100%
  );
  backdrop-filter: blur(22px) saturate(1.9);
  -webkit-backdrop-filter: blur(22px) saturate(1.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    0 8px 32px rgba(0, 40, 50, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

body.home-page .logo {
  color: #fff;
}

body.home-page .logo:hover {
  color: rgba(255, 255, 255, 0.92);
}

body.home-page .nav-link {
  color: #fff;
  font-weight: 600;
}

body.home-page .nav-link:hover,
body.home-page .nav-item.active > .nav-link {
  color: #fff;
}

body.home-page .nav-toggle {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-height);
  gap: 1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
  color: var(--color-teal);
  flex-shrink: 0;
  line-height: 1.2;
}

.logo:hover {
  text-decoration: none;
  color: var(--color-teal-light);
}

.logo-brand {
  display: block;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-tagline {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--color-text-muted);
}

body.home-page .logo-tagline {
  color: rgba(255, 255, 255, 0.82);
}

body.home-page .logo:hover .logo-tagline {
  color: rgba(255, 255, 255, 0.72);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 2px solid var(--color-teal);
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  color: var(--color-teal);
  font-size: 0.875rem;
  font-weight: 600;
  position: relative;
  z-index: 1102;
  -webkit-tap-highlight-color: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: center;
  gap: 0.15rem;
  overflow: visible;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 0.55rem 0.65rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover,
.nav-item.active > .nav-link {
  color: var(--color-teal);
  text-decoration: none;
}

/* Mega menu */
.mega-menu {
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 640px;
  max-width: min(960px, calc(100vw - 2rem));
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0, 51, 64, 0.12);
  padding: 1.25rem 1.5rem 1.35rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem 1.75rem;
  align-items: start;
  z-index: 1100;
}

.mega-menu--3col {
  min-width: 780px;
  max-width: min(980px, calc(100vw - 2rem));
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 1.25rem 2rem;
}

.mega-menu--solutions,
.mega-menu--applications {
  min-width: min(720px, calc(100vw - 2rem));
  max-width: min(820px, calc(100vw - 2rem));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  padding: 1.1rem 1.25rem 1.2rem;
}

.mega-menu--learn {
  min-width: min(780px, calc(100vw - 2rem));
  max-width: min(920px, calc(100vw - 2rem));
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  padding: 1.1rem 1.25rem 1.2rem;
}

.mega-menu--learn .mega-col {
  min-width: 0;
}

.mega-menu--learn .mega-col--split ul {
  column-count: 1;
}

.mega-menu--learn .mega-col a {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
  padding: 0.22rem 0;
}

.mega-menu--wide {
  min-width: 860px;
  max-width: min(1080px, calc(100vw - 2rem));
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.75rem;
}

/* About / Contact — compact single-column under the label */
.mega-menu--compact {
  min-width: 220px;
  width: max-content;
  max-width: min(280px, calc(100vw - 2rem));
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0.9rem 1.1rem 1rem;
}

.mega-menu--compact .mega-col h3 {
  margin-bottom: 0.5rem;
}

/* Dropdown alignment per nav item */
.nav-item--mega-left .mega-menu {
  left: 0;
  right: auto;
  transform: none;
}

.nav-item--mega-center .mega-menu {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
}

.nav-item--mega-right .mega-menu,
.nav-item--mega-end .mega-menu {
  left: auto;
  right: 0;
  transform: none;
}

/* Keep About/Contact flush with the nav label and main nav edge */
.nav-item--mega-end .mega-menu--compact {
  left: auto;
  right: 0;
  transform: none;
  top: calc(100% + 2px);
}

@media (min-width: 961px) {
  .nav-item:hover .mega-menu {
    display: grid;
  }
}

.mega-col {
  min-width: 0;
}

.mega-col h3 {
  margin: 0 0 0.65rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-teal);
  line-height: 1.3;
}

.mega-col h3 a {
  color: var(--color-teal);
  text-decoration: none;
}

.mega-col h3 a:hover {
  color: var(--color-teal-light);
}

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

.mega-col li {
  margin: 0;
  padding: 0;
  line-height: 1.45;
}

.mega-col li + li {
  margin-top: 0.2rem;
}

.mega-col a {
  font-size: 0.875rem;
  color: var(--color-text);
  text-decoration: none;
  display: block;
  padding: 0.28rem 0;
  line-height: 1.4;
}

.mega-col a:hover {
  color: var(--color-teal);
}

.mega-col--split ul {
  column-count: 2;
  column-gap: 1.25rem;
}

.mega-col--split li {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
}

.mega-link--all {
  font-weight: 600;
  color: var(--color-teal) !important;
}

.mega-link--all:hover {
  text-decoration: underline;
}

/* ========== BUTTONS — mild green glass ========== */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--btn-radius);
  border: 1px solid var(--color-mild-green-border);
  backdrop-filter: blur(16px) saturate(1.25);
  -webkit-backdrop-filter: blur(16px) saturate(1.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 4px 18px var(--color-green-glass-shadow);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
}

.btn:focus-visible {
  outline: 2px solid rgba(227, 234, 216, 0.95);
  outline-offset: 3px;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(255, 255, 255, 0.42) 50%,
    transparent 70%
  );
  transform: translateX(-130%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

.btn:hover::before {
  transform: translateX(130%);
}

.btn-teal {
  background: var(--color-green-glass-strong);
  color: var(--color-teal-dark);
  border-color: rgba(227, 234, 216, 0.9);
}

.btn-teal:hover {
  background: rgba(239, 244, 222, 0.88);
  color: var(--color-teal-dark);
  text-decoration: none;
  transform: translateY(-2px);
  border-color: rgba(227, 234, 216, 1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 8px 24px rgba(239, 244, 222, 0.45);
}

.btn-teal--light {
  background: rgba(247, 249, 243, 0.58);
  color: var(--color-teal-dark);
  border-color: rgba(227, 234, 216, 0.75);
}

.btn-teal--light:hover {
  background: rgba(239, 244, 222, 0.72);
  color: var(--color-teal-dark);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 8px 22px rgba(239, 244, 222, 0.38);
}

.btn-outline {
  background: #fff;
  color: var(--color-teal-dark);
  border-color: var(--color-teal);
}

.btn-outline:hover {
  background: var(--color-mild-green-soft);
  color: var(--color-teal-dark);
  text-decoration: none;
  transform: translateY(-2px);
  border-color: var(--color-teal-light);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 8px 22px rgba(0, 68, 82, 0.08);
}

.btn-outline-light {
  background: rgba(239, 244, 222, 0.22);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-outline-light:hover {
  background: rgba(239, 244, 222, 0.36);
  border-color: rgba(255, 255, 255, 0.58);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 8px 20px rgba(0, 0, 0, 0.14);
}

.btn:active {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn::before {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }

  .btn:hover::before {
    transform: translateX(-130%);
  }
}

/* ========== HOME: HERO VIDEO BANNER ========== */
.hero-banner {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-banner--video {
  min-height: 100vh;
  min-height: 100svh;
}

.hero-banner__media {
  position: absolute;
  inset: 0;
  background: var(--color-teal-dark);
}

.hero-banner__video,
.hero-banner__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.hero-banner__canvas.is-active {
  display: block;
}

.hero-banner__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 51, 64, 0.35) 0%,
      rgba(0, 51, 64, 0.5) 18%,
      rgba(0, 51, 64, 0.45) 45%,
      rgba(0, 51, 64, 0.2) 100%
    ),
    rgba(45, 107, 79, 0.22);
  pointer-events: none;
}

.hero-banner__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
  width: 100%;
}

.hero-banner__content h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 1.25rem;
  max-width: 680px;
  letter-spacing: -0.03em;
}

.hero-banner__content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 520px;
  margin: 0 0 2rem;
  line-height: 1.55;
}

.btn-hero {
  background: rgba(239, 244, 222, 0.28);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-color: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.52),
    0 6px 20px rgba(0, 0, 0, 0.14);
}

.btn-hero:hover {
  transform: translateY(-2px);
  background: rgba(239, 244, 222, 0.42);
  color: #fff;
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 10px 26px rgba(0, 0, 0, 0.18);
}

.btn-hero:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 4px 14px rgba(0, 0, 0, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  .btn-hero:hover {
    transform: none;
  }
}

/* ========== HOME: NEWS SECTION ========== */
.news-section {
  padding: 3.5rem 1.5rem;
  background: #fff;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.section-lead {
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.news-card {
  background: #fff;
  border: 1px solid var(--color-mild-green-border);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.15s;
}

.news-card:hover {
  box-shadow: var(--shadow);
}

.news-card__img-wrap {
  overflow: hidden;
}

.news-card__img-wrap.svg-art {
  border: none;
  border-bottom: 1px solid var(--color-mild-green-border);
  border-radius: 0;
  box-shadow: none;
}

.home-app-card--text {
  align-items: flex-end;
}

.home-app-card--text span {
  width: 100%;
}

.news-card--text h3 {
  border-top: 3px solid var(--color-teal);
  padding-top: 1.25rem;
}

.news-card__img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  display: block;
}

.news-card h3 {
  margin: 0;
  padding: 1.25rem 1.5rem 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  flex: 1;
}

.news-card h3 a {
  color: var(--color-text);
  text-decoration: none;
}

.news-card h3 a:hover {
  color: var(--color-teal);
}

.news-card__link {
  margin: 0;
  padding: 1rem 1.5rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-teal);
  text-decoration: none;
}

.news-card__link::after {
  content: " →";
}

.news-card__link:hover {
  text-decoration: underline;
}

/* ========== HOME: FEATURE SPLITS ========== */
.feature-split {
  padding: 3.5rem 1.5rem;
  background: #fff;
}

.feature-split:nth-child(even) {
  background: var(--color-mild-green-soft);
}

.feature-split__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.feature-split--reverse .feature-split__inner {
  direction: rtl;
}

.feature-split--reverse .feature-split__inner > * {
  direction: ltr;
}

.feature-frame {
  position: relative;
  overflow: hidden;
}

.feature-frame::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background: #fff;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: 2;
  opacity: 0.9;
}

.feature-frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 1rem;
  background: #f7f9f3;
}

.feature-split__text .eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
}

.feature-split__text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.feature-split__text p {
  color: var(--color-text-muted);
  margin: 0 0 1.5rem;
  line-height: 1.65;
  font-size: 0.975rem;
}

/* ========== HOME: PARTNER CTA ========== */
.partner-cta {
  background: url("../images/cta-banner.svg") center / cover no-repeat;
  padding: 2.5rem 1.5rem;
}

.partner-cta__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.partner-cta__text {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.hero-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-banner__actions .btn-hero,
.hero-banner__actions .btn-outline-light {
  padding: 0.7rem 1.4rem;
  backdrop-filter: blur(16px) saturate(1.55);
  -webkit-backdrop-filter: blur(16px) saturate(1.55);
}

.home-section {
  padding: 3.5rem 1.5rem;
}

.home-section__cta {
  margin: 1.75rem 0 0;
}

.home-pillar-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-industry-grid--6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-app-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-app-grid--7 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .home-app-grid--7 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .home-app-grid--7 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.home-section--alt {
  background: var(--color-mild-green-soft);
}

/* Styled SVG illustration frames (homepage) */
.svg-art {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, #f7f9f3 0%, #eff4de 50%, #e8efe0 100%);
  border: 1px solid var(--color-mild-green-border);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 8px 28px rgba(0, 68, 82, 0.08);
  transition: box-shadow 0.3s ease;
}

.svg-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 55% at 50% 0%, rgba(255, 255, 255, 0.5) 0%, transparent 65%);
  pointer-events: none;
  z-index: 2;
}

.svg-art:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 36px rgba(0, 68, 82, 0.11);
}

.svg-art img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  transition: transform 0.45s ease;
}

.svg-art:hover img {
  transform: scale(1.03);
}

.home-why-visual {
  margin-bottom: 2rem;
  border-radius: 4px;
}

.home-why-visual img {
  aspect-ratio: 1140 / 360;
  object-fit: cover;
}

/* Real product photo frames (homepage) */
.photo-frame {
  position: relative;
  overflow: hidden;
  background: #f7f9f3;
  border: 1px solid var(--color-mild-green-border);
  box-shadow: 0 6px 24px rgba(0, 68, 82, 0.08);
  transition: box-shadow 0.3s ease;
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 51, 64, 0.04) 0%, transparent 40%);
  pointer-events: none;
  z-index: 2;
}

.photo-frame:hover {
  box-shadow: 0 10px 32px rgba(0, 68, 82, 0.12);
}

.photo-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  transition: transform 0.45s ease;
}

.photo-frame:hover img {
  transform: scale(1.03);
}

.home-portfolio-card__img-wrap.photo-frame img {
  object-fit: cover;
  padding: 0;
  aspect-ratio: 1;
  width: 100%;
  height: 100%;
  background: none;
}

.news-card__img-wrap img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
}

.photo-frame--portrait img {
  aspect-ratio: 1;
  object-fit: contain;
  padding: 1.5rem;
}

.news-card__img-wrap.photo-frame {
  border: none;
  border-bottom: 1px solid var(--color-mild-green-border);
  box-shadow: none;
}

.news-card__img-wrap.photo-frame::after {
  display: none;
}

.home-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.home-pillar {
  background: #fff;
  border: 1px solid var(--color-mild-green-border);
  padding: 1.5rem;
}

.home-section--alt .home-pillar {
  background: #fff;
}

.home-pillar h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--color-primary-dark);
}

.home-pillar p {
  margin: 0;
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.home-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.home-portfolio-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-portfolio-card {
  border: 1px solid var(--color-mild-green-border);
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease;
}

.home-portfolio-card:hover {
  box-shadow: var(--shadow);
}

.home-portfolio-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #eef2e8;
}

.home-portfolio-card__img-wrap.photo-frame::after {
  display: none;
}

.home-portfolio-card__img-wrap.photo-frame {
  border: none;
  border-bottom: 1px solid var(--color-mild-green-border);
  box-shadow: none;
}

.home-portfolio-card__img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  display: block;
  padding: 0;
  background: none;
  transition: transform 0.45s ease;
}

.home-portfolio-card:hover .home-portfolio-card__img {
  transform: scale(1.03);
}

.home-portfolio-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-portfolio-card__body h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.home-portfolio-card__body h3 a {
  color: var(--color-primary-dark);
  text-decoration: none;
}

.home-portfolio-card__body h3 a:hover {
  color: var(--color-teal);
}

.home-portfolio-card__body ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  flex: 1;
}

.home-portfolio-card__body li {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.home-portfolio-card__body li a {
  color: var(--color-text);
  text-decoration: none;
}

.home-portfolio-card__body li a:hover {
  color: var(--color-teal);
}

.home-portfolio-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-teal);
  text-decoration: none;
}

.home-portfolio-card__link::after {
  content: " →";
}

.home-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.home-industry-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-industry-card {
  display: block;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid var(--color-mild-green-border);
  text-decoration: none;
  color: var(--color-text);
  transition: box-shadow 0.15s, border-color 0.15s;
}

.home-industry-card:hover {
  border-color: #c8d4b8;
  box-shadow: var(--shadow);
  text-decoration: none;
}

.home-industry-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--color-primary-dark);
}

.home-industry-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.home-app-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.home-app-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(155deg, #f7f9f3 0%, #eff4de 100%);
}

.home-app-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-app-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 51, 64, 0.88) 0%, rgba(0, 51, 64, 0.2) 70%);
}

.home-app-card span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1.25rem;
}

.home-prose {
  max-width: 820px;
}

.home-prose p {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0 0 1.25rem;
  font-size: 0.975rem;
}

.home-prose h3 {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
  color: var(--color-primary-dark);
}

.home-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 2rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.home-check-grid li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 0.5rem;
}

.home-check-grid li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-teal);
  font-weight: 700;
}

.home-knowledge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.home-sku-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  align-items: center;
  margin: 1.5rem 0 0;
}

.home-sku-strip a {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.35rem 0.15rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.35);
}

.home-sku-strip a:hover {
  border-bottom-color: #fff;
  color: #fff;
}

.home-sku-strip__sep {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 300;
}

.home-sku-strip + .hero-banner__actions {
  margin-top: 1.5rem;
}

.home-maker-block {
  padding: 3.25rem 1.5rem;
  background: linear-gradient(135deg, #003340 0%, #004452 55%, #1a5c3a 100%);
  color: #fff;
}

.home-maker-block__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.home-maker-block .eyebrow {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.home-maker-block h2 {
  color: #fff;
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}

.home-maker-block p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  margin: 0 0 1rem;
}

.home-maker-block ul {
  margin: 0;
  padding-left: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

.home-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.home-choose-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.5rem 1.25rem;
  background: #fff;
  border: 1px solid var(--color-border);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-choose-card:hover {
  border-color: var(--color-teal);
  box-shadow: 0 8px 24px rgba(0, 68, 82, 0.08);
  text-decoration: none;
  color: inherit;
}

.home-choose-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: var(--color-teal);
}

.home-choose-card .sku {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.65rem;
}

.home-choose-card p {
  margin: 0;
  font-size: 0.925rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.home-portfolio-card__body p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.home-compare-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2rem 1.75rem;
  background: linear-gradient(135deg, var(--color-mild-green) 0%, var(--color-mild-green-soft) 100%);
  border: 1px solid var(--color-mild-green-border);
}

.home-compare-banner h2 {
  margin: 0 0 0.4rem;
  font-size: 1.5rem;
}

.home-compare-banner p {
  margin: 0;
  color: var(--color-text-muted);
  max-width: 540px;
  line-height: 1.55;
}

.home-enquiry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.home-enquiry-grid a {
  display: block;
  text-align: center;
  padding: 1rem 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.home-enquiry-grid a:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.home-cta-block {
  background: var(--color-teal-dark);
  color: #fff;
  padding: 3.5rem 1.5rem;
  text-align: center;
}

@media (max-width: 960px) {
  .home-maker-block__inner,
  .home-choose-grid,
  .home-enquiry-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .home-choose-grid,
  .home-enquiry-grid,
  .home-maker-block__inner {
    grid-template-columns: 1fr;
  }
}

.home-cta-block__inner {
  max-width: 720px;
  margin: 0 auto;
}

.home-cta-block h2 {
  color: #fff;
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.home-cta-block p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 1.75rem;
  line-height: 1.6;
}

.home-cta-block .hero-banner__actions {
  justify-content: center;
}

.home-seo-block {
  padding: 4rem 1.5rem 4.5rem;
  background: #fff;
}

.home-seo-block__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
}

.home-seo-block h2 {
  grid-column: 1 / -1;
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  color: var(--color-primary-dark);
}

.home-seo-block__lead {
  grid-column: 1 / -1;
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  max-width: 720px;
  line-height: 1.65;
}

.home-seo-col p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  font-size: 0.95rem;
}

.home-seo-col p:last-child {
  margin-bottom: 0;
}

.feature-split__text ul {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
  color: var(--color-text-muted);
  font-size: 0.925rem;
  line-height: 1.65;
}

.feature-split__text li {
  margin-bottom: 0.4rem;
}

/* ========== INNER PAGES ========== */
.section {
  padding: 4rem 1.5rem;
}

.section-alt {
  background: var(--color-mild-green-soft);
}

.section h2 {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  color: var(--color-primary-dark);
}

.section-intro {
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 0 2.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--color-mild-green-border);
  padding: 1.5rem;
  transition: box-shadow 0.15s, border-color 0.15s;
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: #d4dfc8;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.card h3 a {
  color: var(--color-primary-dark);
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--color-teal);
}

.card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.page-main {
  min-height: 50vh;
}

.page-header {
  background: linear-gradient(180deg, var(--color-mild-green-soft) 0%, #fff 100%);
  padding: 2.5rem 1.5rem 2rem;
  border-bottom: 1px solid var(--color-mild-green-border);
}

.page-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}

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

.page-header h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--color-primary-dark);
}

.page-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.page-content h2 {
  color: var(--color-primary-dark);
  margin-top: 2rem;
}

.page-content ul {
  padding-left: 1.25rem;
}

.page-content li {
  margin-bottom: 0.5rem;
}

.link-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.75rem;
}

.link-list a {
  display: block;
  padding: 0.75rem 1rem;
  background: var(--color-mild-green-soft);
  color: var(--color-text);
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--color-mild-green-border);
}

.link-list a:hover {
  border-color: #c8d4b8;
  background: var(--color-mild-green);
  color: var(--color-teal);
}

.cta-box {
  background: var(--color-teal-dark);
  color: #fff;
  padding: 2rem;
  margin-top: 2.5rem;
}

.cta-box h2 {
  color: #fff;
  margin-top: 0;
}

.cta-box .btn-teal,
.cta-box .btn-teal--light,
.cta-box .btn-hero,
.cta-box .btn-outline,
.cta-box .btn-outline-light {
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
}

.cta-box .btn-teal,
.cta-box .btn-hero {
  background: rgba(239, 244, 222, 0.32);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.48);
}

.cta-box .btn-teal--light {
  background: rgba(239, 244, 222, 0.22);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.cta-box .btn-outline,
.cta-box .btn-outline-light {
  background: rgba(239, 244, 222, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-box .btn-teal:hover,
.cta-box .btn-hero:hover {
  background: rgba(239, 244, 222, 0.46);
  color: #fff;
}

.cta-box .btn-teal--light:hover {
  background: rgba(239, 244, 222, 0.34);
  color: #fff;
}

.cta-box .btn-outline:hover,
.cta-box .btn-outline-light:hover {
  background: rgba(239, 244, 222, 0.28);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.cta-box a:not(.btn),
.home-cta-block a:not(.btn) {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.cta-box a:not(.btn):hover,
.home-cta-block a:not(.btn):hover {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

/* ========== PRODUCT DETAIL PAGES ========== */
.product-content {
  max-width: 820px;
}

.product-content > h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 2.5rem 0 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-border);
}

.product-content > h2:first-child {
  margin-top: 0;
  border-top: none;
  padding-top: 0;
}

.product-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 1.75rem 0 0.75rem;
}

.product-content p {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: var(--color-text);
}

.product-content ul,
.product-content ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.product-content li {
  margin-bottom: 0.4rem;
  line-height: 1.65;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.spec-grid li {
  background: var(--color-mild-green-soft);
  border: 1px solid var(--color-mild-green-border);
  padding: 1rem 1.25rem;
  margin: 0;
}

.spec-grid strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-teal);
  margin-bottom: 0.25rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.925rem;
}

.data-table th,
.data-table td {
  border: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
  text-align: left;
}

.data-table th {
  background: var(--color-teal-dark);
  color: #fff;
  font-weight: 600;
}

.data-table tbody tr:nth-child(even) {
  background: var(--color-mild-green-soft);
}

.data-table-caption {
  caption-side: bottom;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  text-align: left;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0;
  line-height: 1.55;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 1rem;
  text-align: center;
  color: var(--color-teal);
  font-weight: 700;
  line-height: 1;
}

.faq-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.faq-list dt {
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-top: 1.25rem;
}

.faq-list dt:first-child {
  margin-top: 0;
}

.faq-list dd {
  margin: 0.35rem 0 0;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.product-cta {
  margin-top: 3rem;
}

.site-footer {
  background: var(--color-footer);
  color: rgba(255, 255, 255, 0.88);
  padding: 2.75rem 1.5rem 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 2rem 2.5rem;
  align-items: start;
  padding-bottom: 2rem;
}

.logo--footer {
  color: #fff;
  font-size: 1rem;
  display: inline-block;
}

.logo--footer:hover {
  color: rgba(255, 255, 255, 0.85);
}

.footer-tagline {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  max-width: 300px;
}

.footer-maker {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.footer-address {
  font-style: normal;
  margin: 1rem 0 0;
  max-width: 280px;
}

.footer-address__line {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.footer-address__line:last-child {
  margin-bottom: 0;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0 0 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.footer-col li {
  margin-bottom: 0.4rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  text-decoration: none;
  line-height: 1.45;
}

.footer-col a:hover {
  color: #fff;
}

.footer-contact {
  font-style: normal;
  margin: 0;
}

.footer-contact__line {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
}

.footer-contact__line a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.footer-contact__line a:hover {
  color: #fff;
}

.footer-contact__hours {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 1rem 0 1.25rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.62);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-legal a:hover {
  color: #fff;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1100px) {
  .home-portfolio-grid,
  .home-portfolio-grid--4,
  .home-pillar-grid,
  .home-industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-app-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .utility-bar {
    display: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-toggle {
    display: block;
  }

  .site-header,
  .header-main,
  .header-inner {
    overflow: visible;
  }

  .header-main {
    position: relative;
    z-index: 1200;
  }

  .main-nav {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1201;
    background: #f0f7f5;
    flex-direction: column;
    align-items: stretch;
    flex: none;
    border-bottom: 1px solid rgba(54, 109, 115, 0.14);
    box-shadow: 0 12px 32px rgba(0, 51, 64, 0.12);
    max-height: calc(100dvh - var(--header-height));
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0.5rem 0 1rem;
    justify-content: flex-start;
  }

  .main-nav.is-open {
    display: flex !important;
  }

  body.home-page .main-nav,
  body.home-page .main-nav.is-open {
    background: #f0f7f5;
    border-bottom: 1px solid rgba(54, 109, 115, 0.14);
  }

  body.home-page .main-nav .nav-link {
    color: var(--color-text);
  }

  body.home-page .main-nav .nav-link::after {
    color: var(--color-text-muted);
  }

  body.home-page .main-nav .nav-link:hover,
  body.home-page .main-nav .nav-item.active > .nav-link {
    color: var(--color-teal);
  }

  .nav-item {
    border-bottom: 1px solid rgba(54, 109, 115, 0.1);
  }

  .mega-menu,
  .mega-menu--3col,
  .mega-menu--wide,
  .mega-menu--solutions,
  .mega-menu--applications,
  .mega-menu--learn,
  .mega-menu--compact {
    position: static !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    width: 100%;
    box-shadow: none;
    border: none;
    border-radius: 0;
    border-top: 1px solid var(--color-border);
    padding: 0.75rem 1rem 0.85rem 1.25rem;
    display: none !important;
    grid-template-columns: 1fr;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.55);
  }

  .nav-item.is-open > .mega-menu,
  .nav-item.is-open > .mega-menu--3col,
  .nav-item.is-open > .mega-menu--wide,
  .nav-item.is-open > .mega-menu--solutions,
  .nav-item.is-open > .mega-menu--applications,
  .nav-item.is-open > .mega-menu--learn,
  .nav-item.is-open > .mega-menu--compact {
    display: grid !important;
  }

  .mega-col--split ul {
    column-count: 1;
  }

  .mega-col h3 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0.4rem;
  }

  .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
  }

  .nav-link::after {
    content: "+";
    font-size: 1.25rem;
    line-height: 1;
    color: var(--color-text-muted);
    pointer-events: none;
  }

  .nav-item.is-open > .nav-link::after {
    content: "−";
  }

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

  .home-pillar-grid,
  .home-portfolio-grid,
  .home-portfolio-grid--4,
  .home-industry-grid {
    grid-template-columns: 1fr;
  }

  .home-app-grid,
  .home-knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-seo-block__inner {
    grid-template-columns: 1fr;
  }

  .home-check-grid {
    grid-template-columns: 1fr;
  }

  .feature-split__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-split--reverse .feature-split__inner {
    direction: ltr;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .partner-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-banner--video {
    min-height: 85svh;
  }

  .hero-banner__content {
    padding: 5rem 1.5rem 3rem;
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .home-app-grid,
  .home-knowledge-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- B2B enquiry forms ---- */
.enquiry-form {
  max-width: 720px;
  margin: 0 auto;
}

.enquiry-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
}

.enquiry-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.enquiry-form__field--full {
  grid-column: 1 / -1;
}

.enquiry-form__field label {
  font-weight: 600;
  font-size: 0.9rem;
}

.enquiry-form__field input,
.enquiry-form__field select,
.enquiry-form__field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--color-border, #d8dee6);
  border-radius: 6px;
  font: inherit;
  background: #fff;
}

.enquiry-form__field textarea {
  min-height: 120px;
  resize: vertical;
}

.enquiry-form__field--error input,
.enquiry-form__field--error select,
.enquiry-form__field--error textarea {
  border-color: #c0392b;
}

.enquiry-form__error {
  color: #c0392b;
  font-size: 0.82rem;
}

.enquiry-form__message {
  padding: 0.85rem 1rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.enquiry-form__message--success {
  background: #e8f6ef;
  color: #1e6b45;
}

.enquiry-form__message--error {
  background: #fdecea;
  color: #922b21;
}

.enquiry-form__message--info {
  background: #eef4fb;
  color: #1a5276;
}

.enquiry-form__actions {
  margin-top: 1.25rem;
}

@media (max-width: 640px) {
  .enquiry-form__grid {
    grid-template-columns: 1fr;
  }
}
