/* :::SECTION:Design Tokens::: */
:root {
  --font-display: 'Archivo Black', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --li-brand-ink: var(--wp--custom--brand--ink, #0a0a0a);
  --li-brand-navy-deep: var(--wp--custom--brand--navy-deep, #0A1628);
  --li-brand-navy: var(--wp--custom--brand--navy, #0F2035);
  --li-brand-blue: var(--wp--custom--brand--electric-blue, #00BFFF);
  --li-brand-orange: var(--wp--custom--brand--orange, #FF5D3A);
  --li-brand-green: var(--wp--custom--brand--miami-green, #006D5B);
  --li-gradient-tag: var(--wp--custom--gradients--tag, linear-gradient(135deg, #00BFFF 0%, #00A676 20%, #FFFFFF 35%, #00BFFF 50%, #FFFFFF 65%, #00A676 80%, #00BFFF 100%));
  --li-gradient-highlight: var(--wp--custom--gradients--highlight, linear-gradient(135deg, #FF5D3A 0%, #00A676 20%, #FFFFFF 35%, #00BFFF 50%, #FFFFFF 65%, #00A676 80%, #FF5D3A 100%));
  --li-gradient-interior-hero-overlay: var(--wp--custom--gradients--interior-hero-overlay, linear-gradient(135deg, rgba(0, 115, 184, 0.85) 0%, rgba(255, 93, 58, 0.85) 100%));

  /* RGB shorthand aliases — sourced from theme.json custom.colorRgb
     WordPress generates: --wp--custom--color-rgb--electric-blue, etc.
     These aliases keep gradient/overlay declarations shorter.
     To change a color: edit theme.json only (palette hex + colorRgb triplet). */
  --color-electric-blue-rgb: var(--wp--custom--color-rgb--electric-blue);
  --color-electric-blue-deep-rgb: var(--wp--custom--color-rgb--electric-blue-deep);
  --color-electric-blue-bold-rgb: var(--wp--custom--color-rgb--electric-blue-bold);
  --color-electric-blue-hover-rgb: var(--wp--custom--color-rgb--electric-blue-hover);
  --color-dark-blue-rgb: var(--wp--custom--color-rgb--dark-blue);
  --color-orange-rgb: var(--wp--custom--color-rgb--orange);
  --color-orange-hover-rgb: var(--wp--custom--color-rgb--orange-hover);
  --color-miami-green-rgb: var(--wp--custom--color-rgb--miami-green);
  --color-miami-green-hover-rgb: var(--wp--custom--color-rgb--miami-green-hover);
  --color-white-rgb: var(--wp--custom--color-rgb--white);
}

/* :::SECTION:Reset & Base::: */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--li-brand-ink);
  color: var(--wp--preset--color--white);
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--base);
  line-height: 1.7;
}

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

/* Custom cursor — 3D printer crosshair nozzle */
@media (pointer: fine) and (hover: hover) {
  html.has-custom-cursor *,
  html.has-custom-cursor *::before,
  html.has-custom-cursor *::after {
    cursor: none !important;
  }
}

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

/* :::SECTION:Scroll Animations::: */
.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

.js .animate-on-scroll:not(.is-visible) {
  opacity: 0;
  transform: translateY(30px);
}

.js .animate-on-scroll {
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.js .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.js .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.js .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.js .animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* Shared section tag */
.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--wp--preset--spacing--30);
  background: var(--li-gradient-tag);
  background-size: 200% 200%;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: gradientShift 5s ease-in-out infinite;
}

.section-tag--light {
  color: var(--wp--preset--color--white);
}

.highlight {
  background: var(--li-gradient-highlight);
  background-size: 200% 200%;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: gradientShift 5s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

.highlight--blue {
  color: var(--wp--preset--color--white);
}

/* :::SECTION:Sticky Header::: */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.is-scrolled {
  background-color: rgba(var(--color-electric-blue-bold-rgb), 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(var(--color-electric-blue-rgb), 0.1), 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* :::SECTION:Site Navigation::: */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.4s ease;
  padding: 0 var(--wp--preset--spacing--40);
  min-height: 0;
}

.admin-bar .site-nav {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-nav {
    top: 46px;
  }
}

.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.5rem 0;
}

/* Logo with gradient text */
.logo-text {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem);
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0;
  white-space: nowrap;
}

.logo-text a {
  background: linear-gradient(130deg,
    #FF5D3A 0%,
    #FF7A45 28%,
    #FF5D3A 58%,
    #FF8A54 74%,
    #00BFFF 86%,
    #FF5D3A 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: gradientShift 5s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  text-decoration: none;
}

/* Nav links */
.site-nav-links {
  display: flex;
  align-items: center;
  gap: var(--wp--preset--spacing--30);
}

.site-nav-links .wp-block-navigation-item__content {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  color: rgba(var(--color-white-rgb), 0.82);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.site-nav-links .wp-block-navigation-item__content:hover,
.site-nav-links .wp-block-navigation-item__content:focus {
  color: var(--wp--preset--color--white);
}

.site-nav-links .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content {
  color: var(--wp--preset--color--electric-blue);
}

.site-nav-links .wp-block-navigation__responsive-container-open {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(var(--color-white-rgb), 0.2);
  border-radius: 0;
  color: var(--wp--preset--color--white);
  transition: border-color 0.3s ease;
}

.site-nav-links .wp-block-navigation__responsive-container-open:hover,
.site-nav-links .wp-block-navigation__responsive-container-open:focus {
  border-color: var(--wp--preset--color--white);
}

.site-nav-links .wp-block-navigation__responsive-container {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(var(--color-electric-blue-rgb), 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 90%, rgba(var(--color-orange-rgb), 0.09) 0%, transparent 40%),
    var(--wp--preset--color--electric-blue-bold, #0077B6);
}

.site-nav-links .wp-block-navigation__responsive-container.is-menu-open {
  position: fixed;
  inset: 0;
  width: 100vw;
  min-height: 100dvh;
  height: 100dvh;
  margin: 0;
  padding: clamp(1rem, 2.8vw, 1.5rem);
  box-sizing: border-box;
  overflow-y: auto;
  z-index: 100002;
  background-color: #005C99 !important;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(var(--color-electric-blue-rgb), 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 90%, rgba(var(--color-orange-rgb), 0.09) 0%, transparent 40%) !important;
  color: var(--wp--preset--color--white);
}

.site-nav-links .wp-block-navigation__responsive-container-content {
  padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
}

.site-nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 100%;
  width: 100%;
  padding-top: max(4.5rem, env(safe-area-inset-top));
}

.site-nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  width: 100%;
}

.site-nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  color: var(--wp--preset--color--white);
  -webkit-text-fill-color: currentColor;
}

.site-nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content {
  color: var(--wp--preset--color--electric-blue);
}

.site-nav-links .wp-block-navigation__responsive-container .wp-block-navigation-item__content {
  font-family: var(--font-display);
  font-size: var(--wp--preset--font-size--2xl);
  letter-spacing: 0.08em;
}

.site-nav-links
  .wp-block-navigation__responsive-container
  .wp-block-navigation-item:last-child
  .wp-block-navigation-item__content {
  color: var(--wp--preset--color--orange);
  border: 2px solid var(--wp--preset--color--orange);
  padding: 0.55rem 1.5rem;
}

.site-nav-links
  .wp-block-navigation__responsive-container
  .wp-block-navigation-item:last-child
  .wp-block-navigation-item__content:hover {
  background: var(--wp--preset--color--orange);
  color: var(--wp--preset--color--white);
  -webkit-text-fill-color: var(--wp--preset--color--white);
}

/* Responsive nav */
@media (max-width: 1200px) {
  .site-nav-links .wp-block-navigation__container {
    display: none;
  }

  .site-nav-inner {
    justify-content: space-between;
  }
}

.hero-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
  animation: fadeIn 0.8s ease both;
  animation-delay: 1.2s;
}

.hero-logo {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--base);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(var(--color-white-rgb), 0.8);
  transition: color 0.3s ease;
}

.hero-logo:hover {
  color: var(--wp--preset--color--white);
}

.hero-nav-links {
  display: flex;
  gap: var(--wp--preset--spacing--40);
}

.hero-nav-links a {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  color: rgba(var(--color-white-rgb), 0.85);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.hero-nav-links a:hover {
  color: var(--wp--preset--color--white);
}

/* :::SECTION:Hero::: */
.hero {
  min-height: 75vh;
  display: grid;
  grid-template-rows: minmax(4rem, 1fr) auto;
  gap: var(--wp--preset--spacing--40);
  background: rgba(0, 0, 0, 0.65) !important;
  color: var(--wp--preset--color--white);
  font-family: var(--font-mono);
  overflow: clip;
  position: relative;
}

/* Animated grid — same as products section */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--color-white-rgb), 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--color-white-rgb), 0.14) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
  animation: gridShift 25s linear infinite;
}

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

/* Main content */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
  padding-left: calc(var(--wp--preset--spacing--50) + 2rem);
  gap: var(--wp--preset--spacing--40);
  z-index: 2;
}

.hero-overline {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  background: linear-gradient(135deg,
    #00BFFF 0%,
    #00A676 20%,
    #FFFFFF 35%,
    #00BFFF 50%,
    #FFFFFF 65%,
    #00A676 80%,
    #00BFFF 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: cascadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both, gradientShift 3s ease-in-out 0.7s infinite;
  animation-delay: 0.15s;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--wp--preset--font-size--display);
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: var(--wp--preset--color--white);
  margin: 0;
  font-weight: 400;
}

/* hero-line-1 and hero-line-2 styles in :root :where() section below */

.hero-description {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--lg);
  color: rgba(var(--color-white-rgb), 0.8);
  line-height: 1.7;
  max-width: 36ch;
  margin: 0;
  animation: cascadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.7s;
}

/* Product gallery — cascading shelf */
.hero-gallery {
  display: flex;
  align-items: flex-end;
  gap: var(--wp--preset--spacing--30);
  margin-top: var(--wp--preset--spacing--30);
  width: 100%;
  max-width: 760px;
}

.hero-img {
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow:
    0 4px 20px rgba(0,0,0,0.4),
    0 0 0 1px rgba(var(--color-white-rgb), 0.05);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

.hero-img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.5),
    0 0 0 1px rgba(var(--color-electric-blue-rgb), 0.2),
    0 0 30px var(--wp--preset--color--electric-blue-glow);
}

.hero-img-1 {
  width: 220px;
  height: 280px;
  animation: cascadeScale 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.85s;
}

.hero-img-2 {
  width: 240px;
  height: 320px;
  animation: cascadeScale 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 1.0s;
}

.hero-img-3 {
  width: 200px;
  height: 240px;
  animation: cascadeScale 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 1.15s;
}

/* Orange glow behind gallery */
.hero-gallery-wrap {
  position: relative;
  animation: fadeIn 1s ease both;
  animation-delay: 1.3s;
}

.hero-gallery-wrap::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 20px;
  right: 20px;
  height: 60%;
  background: radial-gradient(ellipse at center bottom, var(--wp--preset--color--electric-blue-glow), transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  z-index: -1;
}

/* CTA */
.hero-cta {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--base);
  font-weight: 700;
  color: var(--wp--preset--color--white);
  background-color: var(--wp--preset--color--orange);
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
  border-radius: 6px;
  letter-spacing: 0.04em;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  animation: cascadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 1.35s;
}

.hero-cta:hover {
  background-color: var(--wp--preset--color--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(var(--color-orange-rgb), 0.35);
}

/* Footer bar */
.hero-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
  animation: fadeIn 0.8s ease both;
  animation-delay: 1.5s;
}

.hero-footer-names {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  color: rgba(var(--color-white-rgb), 0.85);
  letter-spacing: 0.06em;
}

.hero-footer-scroll {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  color: rgba(var(--color-white-rgb), 0.85);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: var(--wp--preset--spacing--20);
}

.hero-scroll-indicator {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--wp--preset--color--electric-blue), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
  animation-delay: 2s;
}

/* Ambient image — positioned right */
.hero-ambient {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  z-index: 0;
  background-image: url('/wp-content/themes/lovable-idiots/assets/images/prints/maker-blue-shirt-dragon.webp');
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: ambientReveal 1.8s ease both;
  animation-delay: 0.1s;
}

.hero-ambient::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(var(--color-electric-blue-bold-rgb), 0.6) 0%,
    rgba(var(--color-electric-blue-deep-rgb), 0.4) 15%,
    rgba(var(--color-electric-blue-rgb), 0.2) 35%,
    rgba(var(--color-electric-blue-rgb), 0.1) 60%,
    transparent 100%
  );
}

/* Vertical accent line */
.hero-accent-line {
  position: absolute;
  left: var(--wp--preset--spacing--50);
  top: 15%;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, var(--wp--preset--color--electric-blue), var(--wp--preset--color--orange) 60%, transparent);
  z-index: 2;
  animation: lineGrow 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.6s;
}

/* Hero Keyframes */
@keyframes cascadeUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cascadeScale {
  from { opacity: 0; transform: scale(0.88) translateY(40px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes lineGrow {
  from { height: 0; opacity: 0; }
  to { height: 70%; opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}

/* Clean back-and-forth gradient shimmer — matches willschmierer.com */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* :::SECTION:3D Printing Background Animations::: */

/* Grid shift — simulates build plate movement */
@keyframes gridShift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}

/* Layer build — horizontal lines filling up like layers being printed */
@keyframes layerBuild {
  0% { transform: translateY(0); opacity: 0.3; }
  50% { opacity: 0.6; }
  100% { transform: translateY(-20px); opacity: 0.3; }
}

/* Nozzle sweep — horizontal movement like print head */
@keyframes nozzleSweep {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Filament flow — gradient color shift */
@keyframes filamentFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Print scan — vertical scanning effect */
@keyframes printScan {
  0% { transform: translateY(-100%); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(100%); opacity: 0; }
}

@keyframes liSheenSweep {
  0% { transform: translateX(-120%) skewX(-18deg); opacity: 0; }
  12% { opacity: 0.75; }
  44% { opacity: 0.38; }
  100% { transform: translateX(140%) skewX(-18deg); opacity: 0; }
}

@keyframes liSignalDrift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Hero responsive */
@media (max-width: 1024px) {
  .hero {
    --font-size-display: clamp(3.5rem, 12vw, 7rem);
    --space-lg: 2.5rem;
  }

  .hero-ambient { width: 65%; }

  .hero-img-1 { width: 180px; height: 230px; }
  .hero-img-2 { width: 200px; height: 260px; }
  .hero-img-3 { width: 160px; height: 200px; }
}

@media (max-width: 768px) {
  .hero {
    --font-size-display: clamp(3rem, 15vw, 5rem);
    --space-lg: 1.5rem;
    --space-md: 1.25rem;
  }

  .hero-nav { padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40); }

  .hero-content {
    padding: 0 var(--wp--preset--spacing--40);
    justify-content: flex-end;
    padding-bottom: var(--wp--preset--spacing--50);
  }

  .hero-ambient {
    width: 100%;
    height: 50%;
    top: 0;
  }

  .hero-ambient::after {
    background: linear-gradient(180deg, rgba(var(--color-electric-blue-bold-rgb), 0.15) 0%, rgba(var(--color-electric-blue-bold-rgb), 0.5) 70%, rgba(var(--color-electric-blue-bold-rgb), 0.7) 100%);
  }

  .hero-accent-line { display: none; }

  .hero-gallery {
    gap: var(--wp--preset--spacing--20);
    overflow-x: auto;
    padding-bottom: var(--wp--preset--spacing--20);
    -webkit-overflow-scrolling: touch;
  }

  .hero-img-1 { width: 150px; height: 190px; }
  .hero-img-2 { width: 170px; height: 220px; }
  .hero-img-3 { width: 140px; height: 170px; }

  .hero-footer {
    padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
    flex-direction: column;
    gap: var(--wp--preset--spacing--20);
    align-items: flex-start;
  }

  .hero-description { max-width: 100%; }
}

@media (max-width: 480px) {
  .hero {
    --font-size-display: clamp(2.5rem, 16vw, 4rem);
  }

  .hero-headline { line-height: 0.98; }
  .hero-nav-links { gap: var(--wp--preset--spacing--30); }

  .hero-img-1 { width: 120px; height: 155px; }
  .hero-img-2 { width: 140px; height: 180px; }
  .hero-img-3 { width: 110px; height: 140px; }
}

/* :::SECTION:Products::: */
.products {
  background:
    linear-gradient(135deg, rgba(var(--color-electric-blue-deep-rgb), 0.8) 0%, rgba(var(--color-electric-blue-rgb), 0.7) 40%, rgba(var(--color-electric-blue-hover-rgb), 0.7) 70%, rgba(var(--color-orange-rgb), 0.75) 100%);
  padding: var(--wp--preset--spacing--65) var(--wp--preset--spacing--50);
  position: relative;
  overflow: clip;
  color: var(--wp--preset--color--white);
}

.products.is-bg-ready,
html:not(.js) .products {
  background:
    linear-gradient(135deg, rgba(var(--color-electric-blue-deep-rgb), 0.8) 0%, rgba(var(--color-electric-blue-rgb), 0.7) 40%, rgba(var(--color-electric-blue-hover-rgb), 0.7) 70%, rgba(var(--color-orange-rgb), 0.75) 100%),
    url('../images/products-bg.webp') center / cover no-repeat;
}

/* Animated blueprint grid */
.products::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--color-white-rgb), 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--color-white-rgb), 0.14) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  animation: gridShift 25s linear infinite;
}

/* Nozzle trace animation */
.products::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 78px,
    rgba(var(--color-white-rgb), 0.06) 78px,
    rgba(var(--color-white-rgb), 0.06) 80px
  );
  animation: nozzleSweep 12s ease-in-out infinite alternate;
  pointer-events: none;
}

.products-header {
  max-width: 600px;
  margin-bottom: var(--wp--preset--spacing--60);
  position: relative;
}

.products-title {
  font-family: var(--font-display);
  font-size: var(--wp--preset--font-size--huge);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--wp--preset--color--white);
  margin-bottom: var(--wp--preset--spacing--30);
}

.products-intro {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--lg);
  color: rgba(var(--color-white-rgb), 0.85);
  line-height: 1.7;
  max-width: 48ch;
}

/* Mosaic grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: var(--wp--preset--spacing--30);
  position: relative;
}

.product-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background-color: rgba(var(--color-electric-blue-deep-rgb), 0.7);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15), 0 0 0 1px rgba(var(--color-electric-blue-rgb), 0.1);
}

.product-card--dragon-panorama.is-bg-ready,
html:not(.js) .product-card--dragon-panorama {
  background-image: url('../images/prints/dragon-table-panorama.webp');
}

.product-card--maker-dragon.is-bg-ready,
html:not(.js) .product-card--maker-dragon {
  background-image: url('../images/prints/maker-thumbs-up-dragon.webp');
}

.product-card--dragon-angle.is-bg-ready,
html:not(.js) .product-card--dragon-angle {
  background-image: url('../images/prints/dragon-angle-wide.webp');
}

.product-card--dragon-top.is-bg-ready,
html:not(.js) .product-card--dragon-top {
  background-image: url('../images/prints/dragon-top.webp');
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--color-dark-blue-rgb), 0.6) 0%, rgba(var(--color-electric-blue-bold-rgb), 0.15) 40%, transparent 70%);
  z-index: 1;
  transition: opacity 0.4s ease;
}

.product-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 16px 50px rgba(0,0,0,0.25),
    0 0 0 1px rgba(var(--color-electric-blue-rgb), 0.2),
    0 0 40px var(--wp--preset--color--electric-blue-glow);
}

.product-card:hover::before {
  opacity: 0.85;
}

.product-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--wp--preset--spacing--40);
  z-index: 2;
  transform: translateY(8px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-card-info {
  transform: translateY(0);
}

.product-card-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  color: var(--wp--preset--color--white);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--wp--preset--spacing--20);
  padding: 3px 8px;
  border: 1px solid rgba(var(--color-white-rgb), 0.35);
  border-radius: 4px;
}

.product-card-name {
  font-family: var(--font-display);
  font-size: var(--wp--preset--font-size--2xl);
  color: var(--wp--preset--color--white);
  margin-bottom: 4px;
  line-height: 1.2;
}

.product-card-desc {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  color: rgba(var(--color-white-rgb), 0.8);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.product-card:hover .product-card-desc {
  opacity: 1;
  transform: translateY(0);
}

/* Card size variations */
.product-card--tall {
  grid-row: span 2;
}

.product-card--wide {
  grid-column: span 2;
}

/* CTA card */
.product-card--cta {
  background: linear-gradient(135deg, var(--wp--preset--color--electric-blue-deep), var(--wp--preset--color--dark-blue));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--wp--preset--spacing--40);
  border: 1px dashed rgba(var(--color-electric-blue-rgb), 0.3);
}

.product-card--cta::before {
  display: none;
}

.product-card--cta:hover {
  border-color: var(--wp--preset--color--electric-blue);
  background: linear-gradient(135deg, var(--wp--preset--color--electric-blue-deep), var(--wp--preset--color--electric-blue));
}

.product-cta-label {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  color: rgba(var(--color-white-rgb), 0.7);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--wp--preset--spacing--20);
}

.product-cta-headline {
  font-family: var(--font-display);
  font-size: var(--wp--preset--font-size--3xl);
  color: var(--wp--preset--color--white);
  margin-bottom: var(--wp--preset--spacing--30);
  line-height: 1.1;
}

.product-cta-btn {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  color: var(--wp--preset--color--white);
  letter-spacing: 0.04em;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.product-cta-btn:hover {
  color: var(--wp--preset--color--white);
  transform: translateX(4px);
  text-shadow: 0 0 8px rgba(var(--color-white-rgb), 0.5);
}

/* Products responsive */
@media (max-width: 1024px) {
  .products {
    padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
  }

  .products-grid {
    grid-auto-rows: 220px;
  }
}

@media (max-width: 768px) {
  .products {
    padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--30);
  }

  .products-header {
    padding: 0 var(--wp--preset--spacing--20);
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .product-card--tall {
    grid-row: span 2;
  }

  .product-card--wide {
    grid-column: span 2;
  }

  .product-card-desc {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .product-card--tall {
    grid-row: span 1;
  }

  .product-card--wide {
    grid-column: span 1;
  }
}

/* :::SECTION:Learn / Start Here::: */
.learn {
  background:
    linear-gradient(160deg, rgba(var(--color-orange-rgb), 0.8) 0%, rgba(var(--color-orange-hover-rgb), 0.7) 30%, rgba(var(--color-electric-blue-rgb), 0.7) 70%, rgba(var(--color-electric-blue-deep-rgb), 0.8) 100%);
  padding: var(--wp--preset--spacing--65) var(--wp--preset--spacing--50);
  position: relative;
  overflow: clip;
  color: var(--wp--preset--color--white);
}

.learn.is-bg-ready,
html:not(.js) .learn {
  background:
    linear-gradient(160deg, rgba(var(--color-orange-rgb), 0.8) 0%, rgba(var(--color-orange-hover-rgb), 0.7) 30%, rgba(var(--color-electric-blue-rgb), 0.7) 70%, rgba(var(--color-electric-blue-deep-rgb), 0.8) 100%),
    url('../images/learn-bg.webp') center / cover no-repeat;
}

/* Animated layer-by-layer build lines */
.learn::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 58px,
      rgba(var(--color-white-rgb), 0.08) 58px,
      rgba(var(--color-white-rgb), 0.08) 60px
    );
  animation: layerBuild 10s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

/* Glowing orb accent */
.learn::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--wp--preset--color--electric-blue-glow) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

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

.learn-intro {
  max-width: 550px;
  margin-bottom: var(--wp--preset--spacing--60);
}

.learn-title {
  font-family: var(--font-display);
  font-size: var(--wp--preset--font-size--huge);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--wp--preset--color--white);
  margin-bottom: var(--wp--preset--spacing--30);
}

.learn-subtitle {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--lg);
  color: rgba(var(--color-white-rgb), 0.9);
  line-height: 1.7;
  max-width: 48ch;
}

/* Steps layout */
.learn-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: var(--wp--preset--spacing--60);
  border-left: 2px solid rgba(var(--color-white-rgb), 0.4);
  margin-left: var(--wp--preset--spacing--40);
}

.learn-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--wp--preset--spacing--40);
  align-items: start;
  padding: var(--wp--preset--spacing--50) 0;
  padding-left: var(--wp--preset--spacing--50);
  position: relative;
  border-bottom: 1px solid rgba(var(--color-white-rgb), 0.15);
}

.learn-step:last-child {
  border-bottom: none;
}

/* Dot on the timeline */
.learn-step::before {
  content: '';
  position: absolute;
  left: -7px;
  top: var(--wp--preset--spacing--50);
  width: 12px;
  height: 12px;
  background-color: var(--wp--preset--color--white);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(var(--color-white-rgb), 0.3), 0 0 0 4px rgba(var(--color-white-rgb), 0.2);
}

.learn-step-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: rgba(var(--color-white-rgb), 0.2);
  line-height: 1;
  letter-spacing: -0.03em;
  user-select: none;
  transition: color 0.4s ease;
  min-width: 80px;
}

.learn-step:hover .learn-step-number {
  color: rgba(var(--color-white-rgb), 0.35);
}

.learn-step-content {
  padding-top: var(--wp--preset--spacing--20);
}

.learn-step-title {
  font-family: var(--font-display);
  font-size: var(--wp--preset--font-size--3xl);
  color: var(--wp--preset--color--white);
  margin-bottom: var(--wp--preset--spacing--20);
  line-height: 1.15;
}

.learn-step-text {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--base);
  color: rgba(var(--color-white-rgb), 0.85);
  line-height: 1.7;
  max-width: 50ch;
  margin-bottom: var(--wp--preset--spacing--30);
}

.learn-step-link {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  color: var(--wp--preset--color--white);
  letter-spacing: 0.04em;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.learn-step-link:hover {
  color: var(--wp--preset--color--white);
  transform: translateX(4px);
  text-shadow: 0 0 8px rgba(var(--color-white-rgb), 0.5);
}

/* Large image */
.learn-image {
  width: calc(100% + var(--wp--preset--spacing--50) * 2);
  margin-left: calc(var(--wp--preset--spacing--50) * -1);
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.learn-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--color-dark-blue-rgb), 0.35) 0%, rgba(var(--color-electric-blue-bold-rgb), 0.08) 50%, transparent 100%);
  z-index: 1;
}

.learn-image-caption {
  position: absolute;
  bottom: var(--wp--preset--spacing--40);
  left: var(--wp--preset--spacing--40);
  z-index: 2;
}

.learn-image-caption-text {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  color: rgba(var(--color-white-rgb), 0.8);
  font-style: italic;
}

/* Learn responsive */
@media (max-width: 1024px) {
  .learn {
    padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
  }

  .learn-image {
    width: calc(100% + var(--wp--preset--spacing--40) * 2);
    margin-left: calc(var(--wp--preset--spacing--40) * -1);
  }
}

@media (max-width: 768px) {
  .learn {
    padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--30);
  }

  .learn-intro {
    padding: 0 var(--wp--preset--spacing--20);
  }

  .learn-steps {
    margin-left: var(--wp--preset--spacing--30);
  }

  .learn-step {
    grid-template-columns: 1fr;
    gap: var(--wp--preset--spacing--20);
    padding-left: var(--wp--preset--spacing--40);
  }

  .learn-step-number {
    font-size: clamp(2rem, 8vw, 3rem);
    min-width: auto;
  }

  .learn-image {
    width: calc(100% + var(--wp--preset--spacing--30) * 2);
    margin-left: calc(var(--wp--preset--spacing--30) * -1);
    height: 280px;
  }
}

/* :::SECTION:About::: */
.about {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: var(--wp--preset--spacing--65) var(--wp--preset--spacing--50);
}

.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(var(--color-electric-blue-bold-rgb), 0.55) 0%,
    rgba(var(--color-electric-blue-deep-rgb), 0.3) 30%,
    rgba(var(--color-electric-blue-rgb), 0.15) 60%,
    rgba(var(--color-electric-blue-rgb), 0.08) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.about-overlay {
  display: none;
}

.about-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.about-title {
  font-family: var(--font-display);
  font-size: var(--wp--preset--font-size--huge);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--wp--preset--color--white);
  margin-bottom: var(--wp--preset--spacing--40);
}

.about-text {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--lg);
  color: rgba(var(--color-white-rgb), 0.8);
  line-height: 1.7;
  max-width: 55ch;
  margin-bottom: var(--wp--preset--spacing--30);
}

.about-stats {
  display: flex;
  gap: var(--wp--preset--spacing--50);
  margin-top: var(--wp--preset--spacing--50);
  padding-top: var(--wp--preset--spacing--40);
  border-top: 1px solid rgba(var(--color-white-rgb), 0.15);
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-stat-num {
  font-family: var(--font-display);
  font-size: var(--wp--preset--font-size--3xl);
  color: var(--wp--preset--color--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  line-height: 1;
}

.about-stat-label {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  color: rgba(var(--color-white-rgb), 0.85);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
  max-width: 16ch;
}

.project-preview-intro,
.project-preview-grid,
.project-preview-stack {
  margin-bottom: 0;
}

.project-preview-intro {
  margin-bottom: var(--wp--preset--spacing--40);
}

.project-preview-title {
  margin: 0 0 var(--wp--preset--spacing--30);
  font-family: var(--font-display);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 10ch;
}

.project-preview-copy {
  margin: 0;
  max-width: 56ch;
  font-family: var(--font-mono);
  color: rgba(var(--color-white-rgb), 0.88);
  line-height: 1.7;
}

.project-preview-card,
.project-preview-note {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(var(--color-white-rgb), 0.14);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  box-shadow: 0 18px 40px rgba(4, 18, 34, 0.18);
  backdrop-filter: blur(8px);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.project-preview-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--color-white-rgb), 0.26);
  box-shadow: 0 24px 52px rgba(4, 18, 34, 0.26), 0 0 28px rgba(var(--color-electric-blue-rgb), 0.16);
}

.project-preview-card--feature {
  height: 100%;
}

.project-preview-image {
  margin: 0 0 0.95rem;
}

.project-preview-image img {
  display: block;
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(var(--color-white-rgb), 0.12);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.project-preview-card--feature .project-preview-image img {
  aspect-ratio: 16 / 11;
}

.project-preview-card:not(.project-preview-card--feature) .project-preview-image img {
  aspect-ratio: 4 / 3;
}

.project-preview-eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(var(--color-white-rgb), 0.74);
}

.project-preview-card-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  line-height: 1.06;
  color: var(--wp--preset--color--white);
}

.project-preview-card-copy,
.project-preview-note p {
  margin: 0;
  font-family: var(--font-mono);
  color: rgba(var(--color-white-rgb), 0.84);
  line-height: 1.65;
}

.project-preview-note {
  margin-top: 1rem;
  background: linear-gradient(160deg, rgba(var(--color-orange-rgb), 0.18), rgba(255, 255, 255, 0.08));
}

/* About responsive */
@media (max-width: 1024px) {
  .about {
    padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
  }
}

@media (max-width: 768px) {
  .about {
    padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--30);
    min-height: 60vh;
  }

  .about-stats {
    flex-direction: column;
    gap: var(--wp--preset--spacing--40);
  }

  .about-stat {
    flex-direction: row;
    align-items: baseline;
    gap: var(--wp--preset--spacing--30);
  }

  .about-stat-label {
    max-width: none;
  }

  .project-preview-title {
    max-width: none;
  }

  .project-preview-card,
  .project-preview-note {
    padding: 0.9rem;
  }

  .project-preview-grid {
    align-items: stretch;
  }
}

/* :::SECTION:About Pages::: */
.about-intro {
  position: relative;
  background: linear-gradient(135deg, rgba(0, 92, 153, 0.95) 0%, rgba(0, 106, 166, 0.9) 100%);
}

.about-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--color-white-rgb), 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--color-white-rgb), 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  animation: gridShift 40s linear infinite;
}

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

.about-intro .wp-block-heading {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--wp--preset--spacing--40);
  background: var(--li-gradient-highlight);
  background-size: 200% 200%;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: gradientShift 5s ease-in-out infinite;
}

.about-intro .has-lg-font-size {
  font-family: var(--font-mono);
  color: rgba(var(--color-white-rgb), 0.8);
  line-height: 1.7;
  max-width: 55ch;
  margin-bottom: var(--wp--preset--spacing--30);
}

.about-values {
  position: relative;
  background:
    linear-gradient(135deg, rgba(var(--color-orange-rgb), 0.15) 0%, rgba(var(--color-electric-blue-rgb), 0.15) 100%);
}

.about-values::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 58px,
      rgba(var(--color-white-rgb), 0.04) 58px,
      rgba(var(--color-white-rgb), 0.04) 60px
    );
  animation: layerBuild 10s ease-in-out infinite alternate;
  pointer-events: none;
}

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

.about-values .wp-block-heading {
  font-family: var(--font-display);
  color: var(--wp--preset--color--white);
  margin-bottom: var(--wp--preset--spacing--50);
}

.about-values .wp-block-column .wp-block-heading {
  color: var(--wp--preset--color--orange);
  margin-bottom: var(--wp--preset--spacing--20);
}

.about-values .wp-block-column p {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--base);
  color: rgba(var(--color-white-rgb), 0.8);
  line-height: 1.6;
}

/* Responsive About */
@media (max-width: 768px) {
  .about-intro,
  .about-values {
    padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--30);
  }
}

/* :::SECTION:Contact::: */
.contact {
  background:
    linear-gradient(135deg, rgba(var(--color-electric-blue-bold-rgb), 0.78) 0%, rgba(var(--color-electric-blue-rgb), 0.62) 38%, rgba(var(--color-orange-rgb), 0.58) 100%);
  padding: var(--wp--preset--spacing--65) var(--wp--preset--spacing--50);
  position: relative;
  overflow: clip;
  color: var(--wp--preset--color--white);
}

.contact.is-bg-ready,
html:not(.js) .contact {
  background:
    linear-gradient(135deg, rgba(var(--color-electric-blue-bold-rgb), 0.78) 0%, rgba(var(--color-electric-blue-rgb), 0.62) 38%, rgba(var(--color-orange-rgb), 0.58) 100%),
    url('../images/contact-bg.webp') center / cover no-repeat;
}

/* Animated isometric grid */
.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--color-white-rgb), 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--color-white-rgb), 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  animation: gridShift 30s linear infinite reverse;
}

/* Filament flow accent */
.contact::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    var(--wp--preset--color--electric-blue),
    var(--wp--preset--color--orange),
    var(--wp--preset--color--electric-blue)
  );
  background-size: 200% 100%;
  animation: filamentFlow 4s ease-in-out infinite;
}

.contact-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--wp--preset--spacing--65);
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  max-width: 1100px;
}

.contact-headline {
  font-family: var(--font-display);
  font-size: var(--wp--preset--font-size--huge);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--wp--preset--color--white);
  margin-bottom: var(--wp--preset--spacing--40);
  background-image: linear-gradient(125deg, #ffffff 0%, #9de7ff 30%, #ffc7b5 62%, #ffffff 100%);
  background-size: 220% 220%;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: gradientShift 7s ease-in-out infinite;
}

.contact-text {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--lg);
  color: rgba(var(--color-white-rgb), 0.85);
  line-height: 1.7;
  max-width: 42ch;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--40);
}

.contact-form-wrap {
  position: relative;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid rgba(var(--color-white-rgb), 0.18);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(3, 22, 38, 0.5), rgba(0, 75, 120, 0.28));
  box-shadow: 0 18px 48px rgba(0, 20, 35, 0.28), inset 0 1px 0 rgba(var(--color-white-rgb), 0.08);
  overflow: hidden;
}

.contact-form-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0%, rgba(var(--color-white-rgb), 0.14) 18%, transparent 34%),
    linear-gradient(rgba(var(--color-white-rgb), 0.04) 1px, transparent 1px);
  background-size: 180% 100%, 100% 14px;
  animation: liSheenSweep 9s ease-in-out infinite;
}

.contact-form {
  position: relative;
  z-index: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--20);
}

.form-label {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  color: rgba(var(--color-white-rgb), 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-input,
.form-textarea {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--base);
  color: var(--wp--preset--color--white);
  background-color: rgba(var(--color-white-rgb), 0.1);
  border: 1px solid rgba(var(--color-white-rgb), 0.25);
  border-radius: 6px;
  padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--30);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
  resize: vertical;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(var(--color-white-rgb), 0.8);
}

.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: 2px solid var(--wp--preset--color--white);
  outline-offset: 2px;
  border-color: var(--wp--preset--color--white);
  background-color: rgba(var(--color-white-rgb), 0.14);
  box-shadow: 0 0 0 3px rgba(var(--color-white-rgb), 0.15), 0 0 22px rgba(var(--color-electric-blue-rgb), 0.22);
  transform: translateY(-1px);
}

.contact-form-company {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-status {
  min-height: 1.5em;
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.5;
  color: rgba(var(--color-white-rgb), 0.85);
}

.contact-form-note {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.55;
  color: rgba(var(--color-white-rgb), 0.78);
}

.contact-form-status.is-success {
  color: var(--wp--preset--color--white);
}

.contact-form-status.is-error {
  color: var(--wp--preset--color--orange-hover);
}

.form-submit {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--base);
  font-weight: 700;
  color: var(--wp--preset--color--white);
  background:
    linear-gradient(135deg, var(--wp--preset--color--orange), var(--wp--preset--color--orange-hover), var(--wp--preset--color--electric-blue));
  background-size: 220% 220%;
  border: none;
  border-radius: 6px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background-position 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  align-self: flex-start;
  animation: liSignalDrift 8s ease-in-out infinite;
}

.form-submit:disabled {
  opacity: 0.7;
  transform: none;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(var(--color-orange-rgb), 0.38), 0 0 28px rgba(var(--color-electric-blue-rgb), 0.18);
}

.form-submit:active {
  transform: translateY(0);
}

/* Contact responsive */
@media (max-width: 1024px) {
  .contact {
    padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
  }

  .contact-inner {
    gap: var(--wp--preset--spacing--60);
  }
}

@media (max-width: 768px) {
  .contact {
    padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--30);
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: var(--wp--preset--spacing--50);
  }
}

/* :::SECTION:Footer::: */
.site-footer {
  background:
    linear-gradient(135deg, rgba(var(--color-orange-rgb), 0.8) 0%, rgba(var(--color-orange-hover-rgb), 0.7) 40%, rgba(var(--color-electric-blue-rgb), 0.75) 80%, rgba(var(--color-electric-blue-deep-rgb), 0.8) 100%);
  padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
  border-top: 3px solid rgba(var(--color-white-rgb), 0.3);
  color: var(--wp--preset--color--white);
}

.site-footer.is-bg-ready,
html:not(.js) .site-footer {
  background:
    linear-gradient(135deg, rgba(var(--color-orange-rgb), 0.8) 0%, rgba(var(--color-orange-hover-rgb), 0.7) 40%, rgba(var(--color-electric-blue-rgb), 0.75) 80%, rgba(var(--color-electric-blue-deep-rgb), 0.8) 100%),
    url('../images/footer-bg.webp') center / cover no-repeat;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--50);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--20);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 1.3rem + 2vw, 3.5rem);
  font-weight: 700;
  line-height: 0.92;
  color: var(--wp--preset--color--white);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.footer-logo a {
  color: inherit;
  text-decoration: none;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  color: rgba(var(--color-white-rgb), 0.85);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: var(--wp--preset--spacing--40);
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  color: rgba(var(--color-white-rgb), 0.85);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--wp--preset--color--white);
  text-shadow: 0 0 8px rgba(var(--color-white-rgb), 0.4);
}

.footer-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: var(--wp--preset--spacing--40);
}

.footer-gallery a {
  display: block;
  position: relative;
  min-height: 96px;
  overflow: hidden;
  border: 1px solid rgba(var(--color-white-rgb), 0.24);
  background: rgba(var(--color-dark-blue-rgb), 0.28);
}

.footer-gallery a::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(var(--color-white-rgb), 0.1);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
  opacity: 0.9;
  pointer-events: none;
}

.footer-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.footer-gallery a:hover img,
.footer-gallery a:focus-visible img {
  transform: scale(1.06);
}

.footer-bottom {
  padding-top: var(--wp--preset--spacing--40);
  border-top: 1px solid rgba(var(--color-white-rgb), 0.2);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  color: rgba(var(--color-white-rgb), 0.85);
  letter-spacing: 0.04em;
}

/* Footer responsive */
@media (max-width: 768px) {
  .site-footer {
    padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--30) var(--wp--preset--spacing--30);
  }

  .footer-links {
    gap: var(--wp--preset--spacing--30);
  }

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

/* :::SECTION:Focus & Accessibility::: */
:focus-visible {
  outline: 2px solid var(--wp--preset--color--electric-blue);
  outline-offset: 3px;
}

::selection {
  background-color: rgba(var(--color-white-rgb), 0.3);
  color: var(--wp--preset--color--white);
}

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

/* Keep touch devices visually rich but avoid continuous paint work while scrolling. */
@media (max-width: 767px), (hover: none), (pointer: coarse) {
  .section-tag,
  .highlight,
  .logo-text a,
  .footer-logo a,
  .hero::before,
  .hero-overline,
  .hero-headline,
  .hero-line-1,
  .hero-line-2,
  .hero-description,
  .hero-img,
  .hero-cta,
  .hero-footer,
  .hero-scroll-indicator,
  .hero-ambient,
  .hero-ambient::after,
  .hero-accent-line,
  .products::before,
  .products::after,
  .learn::after,
  .gallery-preview::before,
  .gallery-preview::after,
  .contact::before,
  .contact::after,
  .form-submit,
  .footer-social-pulse,
  .interior-page,
  .interior-page::before,
  .interior-page-core--blueprint::before,
  .interior-page-core--blueprint::after,
  .interior-page-proof--glow,
  .interior-page-cta--electric,
  .interior-page-proof-inner::before,
  .interior-page-cta-inner::before,
  .interior-page-title,
  .interior-page-section-title,
  .interior-page-cta-title {
    animation: none !important;
  }

  .js .li-reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}


/* :::SECTION:Sticky Header::: */

/* Sticky header via template part */
header.wp-block-template-part.miles-sticky-top {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

header.wp-block-template-part.miles-sticky-top.is-scrolled {
  background-color: rgba(var(--color-electric-blue-bold-rgb), 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(var(--color-electric-blue-rgb), 0.1), 0 4px 30px rgba(0, 0, 0, 0.2);
}

.admin-bar header.wp-block-template-part.miles-sticky-top {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar header.wp-block-template-part.miles-sticky-top {
    top: 46px;
  }
}

/* :::SECTION:Navigation::: */

/* Navigation container */
:root :where(.hero-nav) {
  padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
  animation: fadeIn 0.8s ease both;
  animation-delay: 1.2s;
}

:root :where(.hero-nav .wp-block-navigation__responsive-container-content) {
  display: flex;
  align-items: center;
  gap: var(--wp--preset--spacing--40);
}

/* Site title in nav */
:root :where(.hero-nav .wp-block-site-title) {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--base);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

:root :where(.hero-nav .wp-block-site-title a) {
  color: rgba(var(--color-white-rgb), 0.8);
  transition: color 0.3s ease;
  text-decoration: none;
}

:root :where(.hero-nav .wp-block-site-title a:hover) {
  color: var(--wp--preset--color--white);
}

/* Navigation link styling */
:root :where(.wp-block-navigation.hero-nav .wp-block-navigation-item__content) {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  color: rgba(var(--color-white-rgb), 0.85);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

:root :where(.wp-block-navigation.hero-nav .wp-block-navigation-item__content:hover) {
  color: var(--wp--preset--color--white);
}

/* Navigation list bullet reset */
.wp-block-navigation ul,
.wp-block-navigation li,
.wp-block-navigation__container,
.wp-block-navigation-item {
  list-style: none;
  list-style-type: none;
}

/* Mobile hamburger button */
@media (max-width: 768px) {
  :root :where(.hero-nav) {
    padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
  }

  .hero-nav .wp-block-navigation__responsive-container-open {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    cursor: pointer;
    position: relative;
    z-index: 110;
    background: transparent;
    border: 1px solid rgba(var(--color-white-rgb), 0.1);
    border-radius: 6px;
    transition: border-color 0.3s ease;
  }

  .hero-nav .wp-block-navigation__responsive-container-open:hover {
    border-color: var(--wp--preset--color--white);
  }

  .hero-nav .wp-block-navigation__responsive-container-open svg {
    width: 24px;
    height: 24px;
    fill: var(--wp--preset--color--steel-light);
  }
}

/* Mobile menu overlay theming */
.wp-block-navigation.hero-nav .wp-block-navigation__responsive-container.is-menu-open {
  --mobile-nav-background: var(--wp--preset--color--electric-blue-bold);
  --mobile-nav-text: var(--wp--preset--color--white);
  --mobile-nav-font-size: var(--wp--preset--font-size--3xl);
  --mobile-nav-gap: var(--wp--preset--spacing--40);
}

.wp-block-navigation.hero-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(var(--color-white-rgb), 0.8);
  transition: color 0.3s ease;
}

.wp-block-navigation.hero-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover {
  color: var(--wp--preset--color--white);
}

/* Editor navigation fixes */
.editor-styles-wrapper .hero-nav .wp-block-navigation__container {
  display: flex !important;
  gap: var(--wp--preset--spacing--40) !important;
}

.editor-styles-wrapper .hero-nav .wp-block-navigation__responsive-container-content {
  display: flex !important;
  gap: var(--wp--preset--spacing--40) !important;
}

.editor-styles-wrapper .hero-nav .wp-block-navigation-item + .wp-block-navigation-item {
  margin-left: var(--wp--preset--spacing--40) !important;
}

/* :::SECTION:Hero::: */

/* Hero section grid */
:root :where(.hero) {
  min-height: 75vh;
  display: grid;
  grid-template-rows: minmax(4rem, 1fr) auto;
  gap: var(--wp--preset--spacing--40);
  overflow: clip;
  position: relative;
}

/* Hero grid — matches products section */
:root :where(.hero)::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--color-white-rgb), 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--color-white-rgb), 0.14) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
  animation: gridShift 25s linear infinite;
}

:root :where(.hero > *) {
  position: relative;
  z-index: 1;
}

/* Hero content */
:root :where(.hero-content) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
  padding-left: calc(var(--wp--preset--spacing--50) + 2rem);
  gap: var(--wp--preset--spacing--40);
  z-index: 2;
}

/* Hero overline */
:root :where(.hero-overline) {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  animation: cascadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.15s;
}

/* Hero headline */
:root :where(.hero-headline) {
  line-height: 0.88;
  letter-spacing: -0.03em;
  font-weight: 400;
}

:root :where(.hero-line-1),
.hero-line-1 {
  display: block;
  animation: cascadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.3s;
}

:root :where(.hero-line-2),
.hero-line-2 {
  display: block;
  animation: cascadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.5s;
}

/* Hero description */
:root :where(.hero-description) {
  line-height: 1.7;
  max-width: 36ch;
  animation: cascadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.7s;
}

/* Hero gallery wrap */
:root :where(.hero-gallery-wrap) {
  position: relative;
  animation: fadeIn 1s ease both;
  animation-delay: 1.3s;
}

:root :where(.hero-gallery-wrap)::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 20px;
  right: 20px;
  height: 60%;
  background: radial-gradient(ellipse at center bottom, var(--wp--preset--color--electric-blue-glow), transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  z-index: -1;
}

/* Hero gallery */
:root :where(.hero-gallery) {
  display: flex;
  align-items: flex-end;
  gap: var(--wp--preset--spacing--30);
  margin-top: var(--wp--preset--spacing--30);
  width: 100%;
  max-width: 760px;
}

/* Hero images */
:root :where(.hero-img) {
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow:
    0 4px 20px rgba(0,0,0,0.4),
    0 0 0 1px rgba(var(--color-white-rgb), 0.05);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
}

:root :where(.hero-img:hover) {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.5),
    0 0 0 1px rgba(var(--color-electric-blue-rgb), 0.2),
    0 0 30px var(--wp--preset--color--electric-blue-glow);
}

:root :where(.hero-img-1) {
  width: 220px;
  height: 280px;
  animation: cascadeScale 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.85s;
}

:root :where(.hero-img-2) {
  width: 240px;
  height: 320px;
  animation: cascadeScale 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 1.0s;
}

:root :where(.hero-img-3) {
  width: 200px;
  height: 240px;
  animation: cascadeScale 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 1.15s;
}

/* Hero CTA button - wrapper reset */
.wp-block-button.hero-cta {
  padding: 0 !important;
  background: none !important;
  border: none !important;
  margin: 0;
  box-shadow: none !important;
  animation: cascadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 1.35s;
}

/* Hero CTA button - inner link styling */
.wp-block-button.hero-cta .wp-block-button__link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--base);
  font-weight: 700;
  color: var(--wp--preset--color--white);
  background-color: var(--wp--preset--color--orange);
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
  border-radius: 6px;
  letter-spacing: 0.04em;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.wp-block-button.hero-cta .wp-block-button__link:hover {
  background-color: var(--wp--preset--color--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(var(--color-orange-rgb), 0.35);
}

/* Hero ambient */
:root :where(.hero-ambient) {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  animation: ambientReveal 1.8s ease both;
  animation-delay: 0.1s;
}

:root :where(.hero-ambient)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(var(--color-electric-blue-bold-rgb), 0.6) 0%,
    rgba(var(--color-electric-blue-deep-rgb), 0.4) 15%,
    rgba(var(--color-electric-blue-rgb), 0.2) 35%,
    rgba(var(--color-electric-blue-rgb), 0.1) 60%,
    transparent 100%
  );
}

/* Hero accent line */
:root :where(.hero-accent-line) {
  position: absolute;
  left: var(--wp--preset--spacing--50);
  top: 15%;
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, var(--wp--preset--color--electric-blue), var(--wp--preset--color--orange) 60%, transparent);
  z-index: 2;
  animation: lineGrow 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.6s;
}

/* Hero footer */
:root :where(.hero-footer) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
  animation: fadeIn 0.8s ease both;
  animation-delay: 1.5s;
}

:root :where(.hero-footer-names) {
  letter-spacing: 0.06em;
}

:root :where(.hero-footer-scroll) {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: var(--wp--preset--spacing--20);
}

:root :where(.hero-scroll-indicator) {
  display: inline-block;
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, var(--wp--preset--color--electric-blue), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
  animation-delay: 2s;
}

/* Hero responsive */
@media (max-width: 1024px) {
  :root :where(.hero-ambient) {
    width: 65%;
  }

  :root :where(.hero-img-1) { width: 180px; height: 230px; }
  :root :where(.hero-img-2) { width: 200px; height: 260px; }
  :root :where(.hero-img-3) { width: 160px; height: 200px; }
}

@media (max-width: 768px) {
  :root :where(.hero-content) {
    padding: 0 var(--wp--preset--spacing--40);
    justify-content: flex-end;
    padding-bottom: var(--wp--preset--spacing--50);
  }

  :root :where(.hero-ambient) {
    width: 100%;
    height: 50%;
    top: 0;
  }

  :root :where(.hero-ambient)::after {
    background: linear-gradient(180deg, rgba(var(--color-electric-blue-bold-rgb), 0.15) 0%, rgba(var(--color-electric-blue-bold-rgb), 0.5) 70%, rgba(var(--color-electric-blue-bold-rgb), 0.7) 100%);
  }

  :root :where(.hero-accent-line) {
    display: none;
  }

  :root :where(.hero-gallery) {
    gap: var(--wp--preset--spacing--20);
    overflow-x: auto;
    padding-bottom: var(--wp--preset--spacing--20);
    -webkit-overflow-scrolling: touch;
  }

  :root :where(.hero-img-1) { width: 150px; height: 190px; }
  :root :where(.hero-img-2) { width: 170px; height: 220px; }
  :root :where(.hero-img-3) { width: 140px; height: 170px; }

  :root :where(.hero-footer) {
    padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
    flex-direction: column;
    gap: var(--wp--preset--spacing--20);
    align-items: flex-start;
  }

  :root :where(.hero-description) {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  :root :where(.hero-headline) {
    line-height: 0.92;
  }

  :root :where(.hero-img-1) { width: 120px; height: 155px; }
  :root :where(.hero-img-2) { width: 140px; height: 180px; }
  :root :where(.hero-img-3) { width: 110px; height: 140px; }
}

/* :::SECTION:Products::: */

:root :where(.products) {
  padding: var(--wp--preset--spacing--65) var(--wp--preset--spacing--50);
  position: relative;
}

:root :where(.products)::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--color-white-rgb), 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--color-white-rgb), 0.14) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  animation: gridShift 25s linear infinite;
}

:root :where(.products-header) {
  max-width: 600px;
  margin-bottom: var(--wp--preset--spacing--60);
  position: relative;
}

:root :where(.products-title) {
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--wp--preset--spacing--30);
}

:root :where(.products-intro) {
  line-height: 1.7;
  max-width: 48ch;
}

/* Section tag shared */
:root :where(.section-tag) {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: var(--wp--preset--spacing--30);
  background: var(--li-gradient-tag);
  background-size: 200% 200%;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: gradientShift 5s ease-in-out infinite;
}

:root :where(.highlight) {
  background: var(--li-gradient-highlight);
  background-size: 200% 200%;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  animation: gradientShift 5s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

/* Products grid */
:root :where(.products-grid) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: var(--wp--preset--spacing--30);
  position: relative;
}

/* Product card */
:root :where(.product-card) {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15), 0 0 0 1px rgba(var(--color-electric-blue-rgb), 0.1);
}

:root :where(.product-card)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--color-dark-blue-rgb), 0.6) 0%, rgba(var(--color-electric-blue-bold-rgb), 0.15) 40%, transparent 70%);
  z-index: 1;
  transition: opacity 0.4s ease;
}

:root :where(.product-card:hover) {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 16px 50px rgba(0,0,0,0.25),
    0 0 0 1px rgba(var(--color-electric-blue-rgb), 0.2),
    0 0 40px var(--wp--preset--color--electric-blue-glow);
}

:root :where(.product-card:hover)::before {
  opacity: 0.85;
}

/* Product card info */
:root :where(.product-card-info) {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--wp--preset--spacing--40);
  z-index: 2;
  transform: translateY(8px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

:root :where(.product-card:hover .product-card-info) {
  transform: translateY(0);
}

:root :where(.product-card-tag) {
  display: inline-block;
  font-size: var(--wp--preset--font-size--small);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--wp--preset--spacing--20);
  padding: 3px 8px;
  border: 1px solid rgba(var(--color-white-rgb), 0.35);
  border-radius: 4px;
}

:root :where(.product-card-name) {
  line-height: 1.2;
  margin-bottom: 4px;
}

:root :where(.product-card-desc) {
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

:root :where(.product-card:hover .product-card-desc) {
  opacity: 1;
  transform: translateY(0);
}

/* Card size variations */
:root :where(.product-card--tall) {
  grid-row: span 2;
}

:root :where(.product-card--wide) {
  grid-column: span 2;
}

/* CTA card */
:root :where(.product-card--cta) {
  background: linear-gradient(135deg, var(--wp--preset--color--electric-blue-deep), var(--wp--preset--color--dark-blue));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--wp--preset--spacing--40);
  border: 1px dashed rgba(var(--color-electric-blue-rgb), 0.3);
}

:root :where(.product-card--cta)::before {
  display: none;
}

:root :where(.product-card--cta:hover) {
  border-color: var(--wp--preset--color--electric-blue);
  background: linear-gradient(135deg, var(--wp--preset--color--electric-blue-deep), var(--wp--preset--color--electric-blue));
}

:root :where(.product-cta-label) {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--wp--preset--spacing--20);
}

:root :where(.product-cta-headline) {
  line-height: 1.1;
  margin-bottom: var(--wp--preset--spacing--30);
}

:root :where(.product-cta-btn) {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  color: var(--wp--preset--color--white);
  letter-spacing: 0.04em;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

:root :where(.product-cta-btn:hover) {
  color: var(--wp--preset--color--white);
  transform: translateX(4px);
}

/* Products responsive */
@media (max-width: 1024px) {
  :root :where(.products) {
    padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
  }

  :root :where(.products-grid) {
    grid-auto-rows: 220px;
  }
}

@media (max-width: 768px) {
  :root :where(.products) {
    padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--30);
  }

  :root :where(.products-header) {
    padding: 0 var(--wp--preset--spacing--20);
  }

  :root :where(.products-grid) {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  :root :where(.product-card-desc) {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  :root :where(.products-grid) {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  :root :where(.product-card--tall) {
    grid-row: span 1;
  }

  :root :where(.product-card--wide) {
    grid-column: span 1;
  }
}

/* :::SECTION:Learn::: */

:root :where(.learn) {
  padding: var(--wp--preset--spacing--65) var(--wp--preset--spacing--50);
  position: relative;
  overflow: clip;
}

:root :where(.learn)::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 58px,
      rgba(var(--color-white-rgb), 0.08) 58px,
      rgba(var(--color-white-rgb), 0.08) 60px
    );
  animation: layerBuild 10s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

:root :where(.learn > *) {
  position: relative;
  z-index: 1;
}

:root :where(.learn-intro) {
  max-width: 550px;
  margin-bottom: var(--wp--preset--spacing--60);
}

:root :where(.learn-title) {
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--wp--preset--spacing--30);
}

:root :where(.learn-subtitle) {
  line-height: 1.7;
  max-width: 48ch;
}

/* Steps layout */
:root :where(.learn-steps) {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: var(--wp--preset--spacing--60);
  border-left: 2px solid rgba(var(--color-white-rgb), 0.4);
  margin-left: var(--wp--preset--spacing--40);
}

:root :where(.learn-step) {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--wp--preset--spacing--40);
  align-items: start;
  padding: var(--wp--preset--spacing--50) 0;
  padding-left: var(--wp--preset--spacing--50);
  position: relative;
  border-bottom: 1px solid rgba(var(--color-white-rgb), 0.15);
}

:root :where(.learn-step:last-child) {
  border-bottom: none;
}

/* Timeline dot */
:root :where(.learn-step)::before {
  content: '';
  position: absolute;
  left: -7px;
  top: var(--wp--preset--spacing--50);
  width: 12px;
  height: 12px;
  background-color: var(--wp--preset--color--white);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(var(--color-white-rgb), 0.3), 0 0 0 4px rgba(var(--color-white-rgb), 0.2);
}

:root :where(.learn-step-number) {
  font-size: clamp(3rem, 6vw, 5rem);
  color: rgba(var(--color-white-rgb), 0.2);
  line-height: 1;
  letter-spacing: -0.03em;
  user-select: none;
  transition: color 0.4s ease;
  min-width: 80px;
}

:root :where(.learn-step:hover .learn-step-number) {
  color: rgba(var(--color-white-rgb), 0.35);
}

:root :where(.learn-step-content) {
  padding-top: var(--wp--preset--spacing--20);
}

:root :where(.learn-step-title) {
  line-height: 1.15;
  margin-bottom: var(--wp--preset--spacing--20);
}

:root :where(.learn-step-text) {
  line-height: 1.7;
  max-width: 50ch;
  margin-bottom: var(--wp--preset--spacing--30);
}

:root :where(.learn-step-link) {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  color: var(--wp--preset--color--white);
  letter-spacing: 0.04em;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

:root :where(.learn-step-link:hover) {
  color: var(--wp--preset--color--white);
  transform: translateX(4px);
}

/* Learn image */
:root :where(.learn-image) {
  width: calc(100% + var(--wp--preset--spacing--50) * 2);
  margin-left: calc(var(--wp--preset--spacing--50) * -1);
  height: 400px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

:root :where(.learn-image)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--color-dark-blue-rgb), 0.35) 0%, rgba(var(--color-electric-blue-bold-rgb), 0.08) 50%, transparent 100%);
  z-index: 1;
}

:root :where(.learn-image-caption) {
  position: absolute;
  bottom: var(--wp--preset--spacing--40);
  left: var(--wp--preset--spacing--40);
  z-index: 2;
}

:root :where(.learn-image-caption-text) {
  font-style: italic;
}

/* Learn responsive */
@media (max-width: 1024px) {
  :root :where(.learn) {
    padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
  }

  :root :where(.learn-image) {
    width: calc(100% + var(--wp--preset--spacing--40) * 2);
    margin-left: calc(var(--wp--preset--spacing--40) * -1);
  }
}

@media (max-width: 768px) {
  :root :where(.learn) {
    padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--30);
  }

  :root :where(.learn-intro) {
    padding: 0 var(--wp--preset--spacing--20);
  }

  :root :where(.learn-steps) {
    margin-left: var(--wp--preset--spacing--30);
  }

  :root :where(.learn-step) {
    grid-template-columns: 1fr;
    gap: var(--wp--preset--spacing--20);
    padding-left: var(--wp--preset--spacing--40);
  }

  :root :where(.learn-step-number) {
    font-size: clamp(2rem, 8vw, 3rem);
    min-width: auto;
  }

  :root :where(.learn-image) {
    width: calc(100% + var(--wp--preset--spacing--30) * 2);
    margin-left: calc(var(--wp--preset--spacing--30) * -1);
    height: 280px;
  }
}

/* :::SECTION:About::: */

:root :where(.about) {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: var(--wp--preset--spacing--65) var(--wp--preset--spacing--50);
}

:root :where(.about)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(var(--color-electric-blue-bold-rgb), 0.55) 0%,
    rgba(var(--color-electric-blue-deep-rgb), 0.3) 30%,
    rgba(var(--color-electric-blue-rgb), 0.15) 60%,
    rgba(var(--color-electric-blue-rgb), 0.08) 100%
  );
  z-index: 1;
  pointer-events: none;
}

:root :where(.about-overlay) {
  display: none;
}

:root :where(.about-content) {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

:root :where(.about-title) {
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--wp--preset--spacing--40);
}

:root :where(.about-text) {
  line-height: 1.7;
  max-width: 55ch;
  margin-bottom: var(--wp--preset--spacing--30);
}

:root :where(.about-stats) {
  display: flex;
  gap: var(--wp--preset--spacing--50);
  margin-top: var(--wp--preset--spacing--50);
  padding-top: var(--wp--preset--spacing--40);
  border-top: 1px solid rgba(var(--color-white-rgb), 0.15);
}

:root :where(.about-stat) {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

:root :where(.about-stat-num) {
  line-height: 1;
}

:root :where(.about-stat-label) {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
  max-width: 16ch;
}

/* About responsive */
@media (max-width: 1024px) {
  :root :where(.about) {
    padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
  }
}

@media (max-width: 768px) {
  :root :where(.about) {
    padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--30);
    min-height: 60vh;
  }

  :root :where(.about-stats) {
    flex-direction: column;
    gap: var(--wp--preset--spacing--40);
  }

  :root :where(.about-stat) {
    flex-direction: row;
    align-items: baseline;
    gap: var(--wp--preset--spacing--30);
  }

  :root :where(.about-stat-label) {
    max-width: none;
  }
}

/* :::SECTION:Contact::: */

:root :where(.contact) {
  padding: var(--wp--preset--spacing--65) var(--wp--preset--spacing--50);
  position: relative;
}

:root :where(.contact)::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--color-white-rgb), 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--color-white-rgb), 0.1) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  animation: gridShift 30s linear infinite reverse;
}

:root :where(.contact-inner) {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--wp--preset--spacing--65);
  align-items: start;
  max-width: 1100px;
}

:root :where(.contact-headline) {
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: var(--wp--preset--spacing--40);
}

:root :where(.contact-text) {
  line-height: 1.7;
  max-width: 42ch;
}

/* Form */
:root :where(.contact-form) {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--40);
}

:root :where(.form-group) {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--20);
}

:root :where(.form-label) {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Form inputs converted to paragraphs */
:root :where(.form-input),
:root :where(.form-textarea) {
  background-color: rgba(var(--color-white-rgb), 0.1);
  border: 1px solid rgba(var(--color-white-rgb), 0.25);
  border-radius: 6px;
  padding: var(--wp--preset--spacing--30);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Form submit button - wrapper reset */
.wp-block-button.form-submit {
  padding: 0 !important;
  background: none !important;
  border: none !important;
  margin: 0;
  box-shadow: none !important;
  align-self: flex-start;
}

/* Form submit button - inner link styling */
.wp-block-button.form-submit .wp-block-button__link {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--base);
  font-weight: 700;
  color: var(--wp--preset--color--white);
  background-color: var(--wp--preset--color--orange);
  border: none;
  border-radius: 6px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.wp-block-button.form-submit .wp-block-button__link:hover {
  background-color: var(--wp--preset--color--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(var(--color-orange-rgb), 0.35);
}

.wp-block-button.form-submit .wp-block-button__link:active {
  transform: translateY(0);
}

/* Contact responsive */
@media (max-width: 1024px) {
  :root :where(.contact) {
    padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
  }

  :root :where(.contact-inner) {
    gap: var(--wp--preset--spacing--60);
  }
}

@media (max-width: 768px) {
  :root :where(.contact) {
    padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--30);
  }

  :root :where(.contact-inner) {
    grid-template-columns: 1fr;
    gap: var(--wp--preset--spacing--50);
  }
}

/* :::SECTION:Footer::: */

:root :where(.site-footer) {
  padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
  border-top: 3px solid rgba(var(--color-white-rgb), 0.3);
}

:root :where(.footer-inner) {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--50);
}

:root :where(.footer-brand) {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--20);
}

:root :where(.footer-logo) {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

:root :where(.footer-logo a) {
  color: rgba(var(--color-white-rgb), 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

:root :where(.footer-logo a:hover) {
  color: var(--wp--preset--color--white);
}

:root :where(.footer-tagline) {
  line-height: 1.6;
}

:root :where(.footer-links) {
  display: flex;
  gap: var(--wp--preset--spacing--40);
  flex-wrap: wrap;
}

:root :where(.footer-link-item a) {
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  color: rgba(var(--color-white-rgb), 0.85);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: color 0.3s ease;
}

:root :where(.footer-link-item a:hover) {
  color: var(--wp--preset--color--white);
}

:root :where(.footer-bottom) {
  padding-top: var(--wp--preset--spacing--40);
  border-top: 1px solid rgba(var(--color-white-rgb), 0.04);
}

:root :where(.footer-copy) {
  font-size: var(--wp--preset--font-size--small);
  letter-spacing: 0.04em;
}

/* Footer responsive */
@media (max-width: 768px) {
  :root :where(.site-footer) {
    padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--30) var(--wp--preset--spacing--30);
  }

  :root :where(.footer-links) {
    gap: var(--wp--preset--spacing--30);
  }
}

/* :::SECTION:Scroll Animations::: */

:root :where(.animate-on-scroll) {
  opacity: 1;
  transform: translateY(0);
}

.js .animate-on-scroll:not(.is-visible) {
  opacity: 0;
  transform: translateY(30px);
}

.js .animate-on-scroll {
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.js .animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.js .animate-on-scroll:nth-child(3) { transition-delay: 0.2s; }
.js .animate-on-scroll:nth-child(4) { transition-delay: 0.3s; }
.js .animate-on-scroll:nth-child(5) { transition-delay: 0.4s; }
.js .animate-on-scroll:nth-child(6) { transition-delay: 0.5s; }

/* :::SECTION:Editor Fixes::: */

/* Hero ambient - absolute positioning */
.editor-styles-wrapper .hero-ambient {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: 55%;
  height: 100%;
  z-index: 0 !important;
}

/* Hero accent line - absolute positioning */
.editor-styles-wrapper .hero-accent-line {
  position: absolute !important;
  left: var(--wp--preset--spacing--50) !important;
  top: 15% !important;
}

/* Hero section grid */
.editor-styles-wrapper .hero {
  display: grid !important;
  grid-template-rows: minmax(4rem, 1fr) auto;
  gap: var(--wp--preset--spacing--40) !important;
  min-height: 75vh !important;
  position: relative !important;
}

/* Remove hero ambient and accent line from grid flow */
.editor-styles-wrapper .hero > .block-editor-block-list__block:has(.hero-ambient) {
  display: contents !important;
}

.editor-styles-wrapper .hero > .block-editor-block-list__block:has(.hero-accent-line) {
  display: contents !important;
}

/* Hero content flex */
.editor-styles-wrapper .hero-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: var(--wp--preset--spacing--40) !important;
}

.editor-styles-wrapper .hero-content > .block-editor-block-list__block {
  margin: 0 !important;
}

/* Hero gallery flex */
.editor-styles-wrapper .hero-gallery {
  display: flex !important;
  align-items: flex-end !important;
  gap: var(--wp--preset--spacing--30) !important;
}

.editor-styles-wrapper .hero-gallery > .block-editor-block-list__block {
  margin: 0 !important;
}

/* Hero footer flex space-between */
.editor-styles-wrapper .hero-footer {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.editor-styles-wrapper .hero-footer > .block-editor-block-list__block {
  margin: 0 !important;
}

/* Products grid */
.editor-styles-wrapper .products-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  grid-auto-rows: 260px !important;
  gap: var(--wp--preset--spacing--30) !important;
}

.editor-styles-wrapper .products-grid > .block-editor-block-list__block {
  margin: 0 !important;
}

/* Product card info - absolute positioning */
.editor-styles-wrapper .product-card-info {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  top: auto !important;
  z-index: 2 !important;
}

/* Product card CTA flex */
.editor-styles-wrapper .product-card--cta {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
}

.editor-styles-wrapper .product-card--cta > .block-editor-block-list__block {
  margin: 0 !important;
}

/* Learn steps grid */
.editor-styles-wrapper .learn-steps {
  display: grid !important;
  grid-template-columns: 1fr !important;
}

/* Learn step grid */
.editor-styles-wrapper .learn-step {
  display: grid !important;
  grid-template-columns: auto 1fr !important;
  gap: var(--wp--preset--spacing--40) !important;
}

.editor-styles-wrapper .learn-step > .block-editor-block-list__block {
  margin: 0 !important;
}

/* Learn image caption - absolute positioning */
.editor-styles-wrapper .learn-image-caption {
  position: absolute !important;
  bottom: var(--wp--preset--spacing--40) !important;
  left: var(--wp--preset--spacing--40) !important;
  top: auto !important;
  z-index: 2 !important;
}

/* About section flex */
.editor-styles-wrapper .about {
  display: flex !important;
  align-items: flex-end !important;
  min-height: 70vh !important;
}

/* About content z-index */
.editor-styles-wrapper .about-content {
  position: relative !important;
  z-index: 2 !important;
}

/* About stats flex */
.editor-styles-wrapper .about-stats {
  display: flex !important;
  gap: var(--wp--preset--spacing--50) !important;
}

.editor-styles-wrapper .about-stats > .block-editor-block-list__block {
  margin: 0 !important;
}

/* About stat flex */
.editor-styles-wrapper .about-stat {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.editor-styles-wrapper .about-stat > .block-editor-block-list__block {
  margin: 0 !important;
}

/* Contact inner grid */
.editor-styles-wrapper .contact-inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: var(--wp--preset--spacing--65) !important;
}

.editor-styles-wrapper .contact-inner > .block-editor-block-list__block {
  margin: 0 !important;
}

/* Contact form flex */
.editor-styles-wrapper .contact-form {
  display: flex !important;
  flex-direction: column !important;
  gap: var(--wp--preset--spacing--40) !important;
}

.editor-styles-wrapper .contact-form > .block-editor-block-list__block {
  margin: 0 !important;
}

/* Form group flex */
.editor-styles-wrapper .form-group {
  display: flex !important;
  flex-direction: column !important;
  gap: var(--wp--preset--spacing--20) !important;
}

.editor-styles-wrapper .form-group > .block-editor-block-list__block {
  margin: 0 !important;
}

/* Footer inner flex */
.editor-styles-wrapper .footer-inner {
  display: flex !important;
  flex-direction: column !important;
  gap: var(--wp--preset--spacing--50) !important;
}

.editor-styles-wrapper .footer-inner > .block-editor-block-list__block {
  margin: 0 !important;
}

/* Footer brand flex */
.editor-styles-wrapper .footer-brand {
  display: flex !important;
  flex-direction: column !important;
  gap: var(--wp--preset--spacing--20) !important;
}

.editor-styles-wrapper .footer-brand > .block-editor-block-list__block {
  margin: 0 !important;
}

/* Footer links flex */
.editor-styles-wrapper .footer-links {
  display: flex !important;
  gap: var(--wp--preset--spacing--40) !important;
  flex-wrap: wrap !important;
}

.editor-styles-wrapper .footer-links > .block-editor-block-list__block {
  margin: 0 !important;
}

/* :::SECTION:Margin Parity::: */

/* products-header margin-bottom */
:root :where(.products-header) {
  margin-block-end: var(--wp--preset--spacing--60);
}
.editor-styles-wrapper .products-header {
  margin-block-end: var(--wp--preset--spacing--60) !important;
}

/* products-title margin-bottom */
:root :where(.products-title) {
  margin-block-end: var(--wp--preset--spacing--30);
}
.editor-styles-wrapper .products-title {
  margin-block-end: var(--wp--preset--spacing--30) !important;
}

/* product-card-tag margin-bottom */
:root :where(.product-card-tag) {
  margin-block-end: var(--wp--preset--spacing--20);
}
.editor-styles-wrapper .product-card-tag {
  margin-block-end: var(--wp--preset--spacing--20) !important;
}

/* product-card-name margin-bottom */
:root :where(.product-card-name) {
  margin-block-end: 4px;
}
.editor-styles-wrapper .product-card-name {
  margin-block-end: 4px !important;
}

/* product-cta-label margin-bottom */
:root :where(.product-cta-label) {
  margin-block-end: var(--wp--preset--spacing--20);
}
.editor-styles-wrapper .product-cta-label {
  margin-block-end: var(--wp--preset--spacing--20) !important;
}

/* product-cta-headline margin-bottom */
:root :where(.product-cta-headline) {
  margin-block-end: var(--wp--preset--spacing--30);
}
.editor-styles-wrapper .product-cta-headline {
  margin-block-end: var(--wp--preset--spacing--30) !important;
}

/* section-tag margin-bottom */
:root :where(.section-tag) {
  margin-block-end: var(--wp--preset--spacing--30);
}
.editor-styles-wrapper .section-tag {
  margin-block-end: var(--wp--preset--spacing--30) !important;
}

/* learn-intro margin-bottom */
:root :where(.learn-intro) {
  margin-block-end: var(--wp--preset--spacing--60);
}
.editor-styles-wrapper .learn-intro {
  margin-block-end: var(--wp--preset--spacing--60) !important;
}

/* learn-title margin-bottom */
:root :where(.learn-title) {
  margin-block-end: var(--wp--preset--spacing--30);
}
.editor-styles-wrapper .learn-title {
  margin-block-end: var(--wp--preset--spacing--30) !important;
}

/* learn-steps margin-bottom */
:root :where(.learn-steps) {
  margin-block-end: var(--wp--preset--spacing--60);
}
.editor-styles-wrapper .learn-steps {
  margin-block-end: var(--wp--preset--spacing--60) !important;
}

/* learn-step-title margin-bottom */
:root :where(.learn-step-title) {
  margin-block-end: var(--wp--preset--spacing--20);
}
.editor-styles-wrapper .learn-step-title {
  margin-block-end: var(--wp--preset--spacing--20) !important;
}

/* learn-step-text margin-bottom */
:root :where(.learn-step-text) {
  margin-block-end: var(--wp--preset--spacing--30);
}
.editor-styles-wrapper .learn-step-text {
  margin-block-end: var(--wp--preset--spacing--30) !important;
}

/* about-title margin-bottom */
:root :where(.about-title) {
  margin-block-end: var(--wp--preset--spacing--40);
}
.editor-styles-wrapper .about-title {
  margin-block-end: var(--wp--preset--spacing--40) !important;
}

/* about-text margin-bottom */
:root :where(.about-text) {
  margin-block-end: var(--wp--preset--spacing--30);
}
.editor-styles-wrapper .about-text {
  margin-block-end: var(--wp--preset--spacing--30) !important;
}

/* about-stats margin-top */
:root :where(.about-stats) {
  margin-block-start: var(--wp--preset--spacing--50);
}
.editor-styles-wrapper .about-stats {
  margin-block-start: var(--wp--preset--spacing--50) !important;
}

/* contact-headline margin-bottom */
:root :where(.contact-headline) {
  margin-block-end: var(--wp--preset--spacing--40);
}
.editor-styles-wrapper .contact-headline {
  margin-block-end: var(--wp--preset--spacing--40) !important;
}

/* :::SECTION:Touch Targets::: */

@media (max-width: 480px) {
  .wp-block-button.hero-cta .wp-block-button__link,
  .wp-block-button.form-submit .wp-block-button__link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  :root :where(.product-cta-btn),
  :root :where(.learn-step-link) {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1rem;
  }

  :root :where(.footer-link-item a) {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    font-size: var(--wp--preset--font-size--base);
    padding: 12px 0;
  }
}

/* :::SECTION:Mobile Responsive Typography & Spacing::: */

/* — Tablet (768px): tighten line-height, letter-spacing, vertical padding — */
@media (max-width: 768px) {
  body {
    line-height: 1.6;
  }

  /* Loosen monospace letter-spacing for narrow viewports */
  .section-tag,
  :root :where(.section-tag) {
    letter-spacing: 0.1em;
  }

  .footer-link-item a,
  :root :where(.footer-link-item a) {
    letter-spacing: 0.06em;
  }

  /* Reduce vertical section padding — 5rem → 3.5rem */
  .products,
  .learn,
  .about,
  .contact,
  :root :where(.products),
  :root :where(.learn),
  :root :where(.about),
  :root :where(.contact) {
    padding-top: var(--wp--preset--spacing--50);
    padding-bottom: var(--wp--preset--spacing--50);
  }

  .site-footer,
  :root :where(.site-footer) {
    padding-top: var(--wp--preset--spacing--40);
    padding-bottom: var(--wp--preset--spacing--30);
  }
}

/* — Phone (480px): further tighten everything — */
@media (max-width: 480px) {
  body {
    line-height: 1.55;
  }

  .section-tag,
  :root :where(.section-tag) {
    letter-spacing: 0.08em;
    margin-bottom: var(--wp--preset--spacing--20);
  }

  .footer-link-item a,
  :root :where(.footer-link-item a) {
    letter-spacing: 0.04em;
  }

  /* Further reduce vertical section padding — 3.5rem → 2rem */
  .products,
  .learn,
  .about,
  .contact,
  :root :where(.products),
  :root :where(.learn),
  :root :where(.about),
  :root :where(.contact) {
    padding-top: var(--wp--preset--spacing--40);
    padding-bottom: var(--wp--preset--spacing--40);
  }

  .site-footer,
  :root :where(.site-footer) {
    padding-top: var(--wp--preset--spacing--30);
    padding-bottom: var(--wp--preset--spacing--20);
  }

  /* Tighten inter-element vertical gaps */
  .products-header,
  .learn-intro,
  .contact-info-headline,
  :root :where(.products-header),
  :root :where(.learn-intro),
  :root :where(.contact-info-headline) {
    margin-bottom: var(--wp--preset--spacing--30);
  }

  .hero-footer,
  :root :where(.hero-footer) {
    gap: var(--wp--preset--spacing--20);
  }

  .footer-inner,
  :root :where(.footer-inner) {
    gap: var(--wp--preset--spacing--40);
  }
}

/* WordPress Admin Bar Offset */
.admin-bar .nav,
.admin-bar [class*="nav"][style*="position: fixed"],
.admin-bar [class*="header"][style*="position: fixed"] {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .nav,
  .admin-bar [class*="nav"][style*="position: fixed"],
  .admin-bar [class*="header"][style*="position: fixed"] {
    top: 46px;
  }
}

/* Reset paragraph wrapper styles for inline content converted to wp:paragraph */
:where(.wp-block-paragraph) {
  margin: 0;
}

/* Reset WordPress button line-height to match original CSS */
.wp-block-button__link {
  line-height: normal;
}

/* CRITICAL: Reset WordPress button wrappers to prevent double styling. */
.wp-block-button {
  padding: 0 !important;
  background: none !important;
  border: none !important;
  margin: 0;
  box-shadow: none !important;
}

/* Navigation link styling - remove default underlines in nav contexts */
:where([class*="nav"] a),
:where([class*="nav"] .wp-block-paragraph a),
:where([class*="-link-wrapper"] a) {
  text-decoration: none;
}

/* Reset paragraph margins inside navigation */
:where([class*="nav"] .wp-block-paragraph) {
  margin: 0;
}

/* Editor-specific: override WordPress editor link styles */
.editor-styles-wrapper [class*="nav"] a,
.editor-styles-wrapper [class*="-link-wrapper"] a {
  text-decoration: none;
}

/* wp:navigation block resets */
:where(.wp-block-navigation),
:where(.wp-block-navigation-item__content) {
  font-family: inherit;
  text-decoration: none;
  color: inherit;
}

:where(.wp-block-navigation__container) {
  padding: 0;
}

/* Spacer inside navigation */
:where(.wp-block-navigation .wp-block-spacer) {
  flex-grow: 1;
  height: 0 !important;
  min-height: 0 !important;
}

/* Reset responsive container */
.wp-block-navigation .wp-block-navigation__responsive-container:not(.is-menu-open.is-menu-open) {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Desktop navigation layout */
.wp-block-navigation__responsive-container-content {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  overflow: visible;
}

/* Gap between nav items */
:where(.wp-block-navigation .wp-block-navigation__container) {
  gap: var(--nav-gap, 1.5rem);
}

/* Nav containers must shrink to fit */
.wp-block-navigation__responsive-container-content > .wp-block-navigation__container {
  flex-shrink: 1;
  min-width: 0;
}

:where(.wp-block-navigation__responsive-container-content > .wp-block-navigation__container) {
  display: flex;
  align-items: center;
}

/* CRITICAL: Reset inner UL elements */
.wp-block-navigation__container {
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  z-index: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.wp-block-navigation__responsive-container-content > * {
  flex-shrink: 0;
}

:where(.wp-block-navigation .wp-block-search) {
  flex-shrink: 0;
}

.wp-block-navigation .wp-block-site-title {
  margin: 0;
}

.wp-block-navigation .wp-block-site-title a {
  text-decoration: none;
  color: inherit;
}

.wp-block-navigation .wp-block-navigation-item__content {
  display: inline;
  white-space: nowrap;
}

/* wp:navigation mobile menu defaults */
.wp-block-navigation__responsive-container-open {
  background: transparent;
  border: none;
  color: inherit;
}

/* Mobile menu overlay: explicit viewport dimensions needed because parent transforms
   (e.g. on sticky headers) create new containing blocks, breaking position:fixed */
.wp-block-navigation__responsive-container.is-menu-open {
  background: var(--mobile-nav-background, var(--wp--preset--color--electric-blue-bold));
  color: var(--mobile-nav-text, #ffffff);
  width: 100vw;
  height: 100vh;
  height: 100dvh; /* Dynamic viewport height for mobile browsers */
  padding: var(--mobile-nav-padding, 1.5rem); /* Ensure close button has breathing room */
  box-sizing: border-box;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  font-size: var(--mobile-nav-font-size, 1.5rem);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: var(--mobile-nav-gap, 1.5rem);
}

/* Mobile menu: override desktop justification for centered mobile layout */
/* WordPress sets --navigation-layout-justification-setting from block attributes (e.g. justifyContent:"right") */
/* which bleeds into mobile menu. Reset the variable so WordPress's own CSS uses center alignment. */
.wp-block-navigation__responsive-container.is-menu-open {
  --navigation-layout-justification-setting: center;
  --navigation-layout-justify: center;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  flex-direction: column;
  align-items: center;
  gap: var(--mobile-nav-gap, 1.5rem);
}

/* Site header menu: keep first nav item visible on narrow screens */
.site-nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  justify-content: flex-start;
  align-items: center;
  height: auto;
  min-height: 100%;
  padding-top: max(5rem, env(safe-area-inset-top));
  overflow-y: auto;
}

/* Mobile menu z-index fix: When header and content are siblings with same z-index,
   content paints above header due to DOM order. Elevate only the template part containing
   the open navigation menu. Use :has() for precise targeting without affecting other elements. */
.wp-block-template-part:has(.wp-block-navigation .is-menu-open),
header:has(.wp-block-navigation .is-menu-open) {
  z-index: 100001;
  position: relative;
}


/* Editor-specific fixes */
.editor-styles-wrapper .wp-block-navigation .wp-block-navigation-item {
  margin: 0;
}


/* Editor navigation structure fix - ensure flex display is applied */
/* Gap values should come from theme-specific CSS adjustments, not here */
.editor-styles-wrapper .wp-block-navigation__container {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}

.editor-styles-wrapper .wp-block-navigation__responsive-container-content {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}

/* Overlay header — transparent nav overlaying the hero section.
 * Uses CSS Grid overlap so header and hero share the same grid row.
 * No height assumptions needed.
 *
 * Frontend only — in the editor the header stacks normally above the hero,
 * which is fine for editing. The overlay is a visual presentation concern. */

/* Frontend: header in page content (homepage) */
body:not(.wp-admin) .wp-block-post-content:has(> .overlay-header) {
  display: grid !important;
  grid-template-columns: 1fr;
}
body:not(.wp-admin) .wp-block-post-content > .overlay-header {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}
body:not(.wp-admin) .wp-block-post-content > .overlay-header + * {
  grid-column: 1;
  grid-row: 1;
}

/* Frontend: header in template (sub-pages) */
body:not(.wp-admin):has(> .wp-site-blocks > .overlay-header) .wp-site-blocks {
  display: grid !important;
  grid-template-columns: 1fr;
}
body:not(.wp-admin) .wp-site-blocks > .overlay-header {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}
body:not(.wp-admin) .wp-site-blocks > .overlay-header + * {
  grid-column: 1;
  grid-row: 1;
}

/* Overlay header shared styles */
.overlay-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: transparent !important;
  transition: background-color 0.3s ease;
}
/* Scroll state: JS adds is-scrolled class when user scrolls past hero */
.overlay-header.is-scrolled {
  background-color: rgba(var(--color-electric-blue-bold-rgb), 0.92) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(var(--color-electric-blue-rgb), 0.1);
}

/* Admin bar offset for sticky overlay header */
.admin-bar .overlay-header {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .overlay-header {
    top: 46px;
  }
}

/* Sticky header support for non-overlay headers.
 * Many HTML sites use position:sticky on nav elements. In WordPress the header
 * template-part wrapper (<header>) needs the sticky positioning, not inner elements. */
header.wp-block-template-part:has([class*="nav"][style*="position: sticky"]),
header.wp-block-template-part:has([class*="nav"][style*="position:sticky"]),
header.wp-block-template-part:has([class*="header"][style*="position: sticky"]),
header.wp-block-template-part:has([class*="header"][style*="position:sticky"]) {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Admin bar offset for sticky template-part headers */
.admin-bar header.wp-block-template-part[style*="sticky"],
.admin-bar header.wp-block-template-part:has([style*="sticky"]) {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar header.wp-block-template-part[style*="sticky"],
  .admin-bar header.wp-block-template-part:has([style*="sticky"]) {
    top: 46px;
  }
}

@media (max-width: 781px) {
  header.wp-block-template-part:has(.site-nav-links .wp-block-navigation__responsive-container.is-menu-open),
  .wp-block-template-part:has(.site-nav-links .wp-block-navigation__responsive-container.is-menu-open),
  .overlay-header:has(.site-nav-links .wp-block-navigation__responsive-container.is-menu-open) {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    overflow: visible !important;
    z-index: 100001 !important;
  }

  .site-nav-links .wp-block-navigation__responsive-container.is-menu-open {
    padding: 1rem;
    transform: none !important;
  }

  .site-nav:has(.site-nav-links .wp-block-navigation__responsive-container.is-menu-open) {
    overflow: visible !important;
  }

  body:has(.site-nav-links .wp-block-navigation__responsive-container.is-menu-open)::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 100000;
    pointer-events: none;
    background:
      radial-gradient(ellipse at 50% 0%, rgba(var(--color-electric-blue-rgb), 0.16) 0%, transparent 48%),
      radial-gradient(ellipse at 18% 86%, rgba(var(--color-orange-rgb), 0.12) 0%, transparent 42%),
      var(--wp--preset--color--electric-blue-bold, #0077B6);
  }

  .site-nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    height: auto !important;
    min-height: 100dvh;
    padding: clamp(4.75rem, 14vw, 5.75rem) 1rem 2rem !important;
    overflow-y: auto;
  }

  .site-nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    align-items: flex-start !important;
    gap: 0.85rem !important;
  }

  .site-nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    display: inline-block;
    font-size: clamp(1.35rem, 7vw, 1.9rem);
    line-height: 1.08;
    letter-spacing: 0.08em;
    white-space: normal;
  }

  .site-nav-links .wp-block-navigation__responsive-container-close {
    top: 1.1rem;
    right: 1.1rem;
  }
}

/* Header slot placeholder must remain in normal flow to preserve CSS Grid
 * row structure inside the hero section. The slot occupies the first grid row
 * (where the nav originally was) so the spacer and content rows stay correct. */
:root :where(.miles-header-slot) {
  display: block !important;
  pointer-events: none;
}


/* WordPress Admin Bar Offset (auto-generated for fixed/sticky elements) */
.admin-bar .site-header {
  top: 32px !important;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px !important;
  }
}

/* ===========================================
   RESPONSIVE UTILITY CLASSES (Miles Utilities)
   Reusable helpers for common responsive patterns
   =========================================== */

/* Flex row that stacks vertically on mobile */
.miles-row-stack {
  display: flex;
  flex-wrap: wrap;
  gap: var(--wp--preset--spacing--40, 1.5rem);
}

@media (max-width: 781px) {
  .miles-row-stack {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Reverse order on mobile (image above text, etc.) */
@media (max-width: 781px) {
  .miles-swap-order {
    flex-direction: column-reverse;
  }
}

/* Sticky positioning with admin bar offset */
.miles-sticky-top {
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-bar .miles-sticky-top {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .miles-sticky-top {
    top: 46px;
  }
}

/* Prevent flex item from shrinking */
.miles-no-shrink {
  flex-shrink: 0;
}

/* Flex utilities for alignment */
.miles-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.miles-flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Hide visually but keep accessible */
.miles-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Editor button group gap fix: WordPress editor adds margins to button wrappers
   which breaks custom gap values. Reset wrapper margins so CSS gap works.
   Only target horizontal (default) layout — respect vertical if user changes it. */
.editor-styles-wrapper .wp-block-buttons:not(.is-vertical):not(.is-layout-flow) {
  display: flex !important;
  flex-wrap: wrap !important;
}

.editor-styles-wrapper .wp-block-buttons > .block-editor-block-list__block {
  margin: 0 !important;
}

/* ═══════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════ */

.about-page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg,
    var(--wp--preset--color--electric-blue-deep) 0%,
    #00508d 50%,
    var(--wp--preset--color--electric-blue-deep) 100%
  );
  padding: var(--wp--preset--spacing--80) 0;
  overflow: hidden;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
}

.about-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 58px,
      rgba(255, 255, 255, 0.03) 58px,
      rgba(255, 255, 255, 0.03) 60px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 58px,
      rgba(255, 255, 255, 0.03) 58px,
      rgba(255, 255, 255, 0.03) 60px
    );
  animation: gridPulse 8s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes gridPulse {
  0% { opacity: 0.3; }
  100% { opacity: 0.7; }
}

.about-page-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 100%;
  margin: 0 auto !important;
  padding: 0 var(--wp--preset--spacing--50);
  width: 100% !important;
  flex: 1;
}

.about-page-hero-inner > * {
  margin-left: auto !important;
  margin-right: auto !important;
}

.about-page-title {
  line-height: 0.95;
  margin-bottom: var(--wp--preset--spacing--40);
}

.about-page-subtitle {
  max-width: 55ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* Story section */
.about-page-story {
  background: var(--wp--preset--color--electric-blue-deep);
  padding: var(--wp--preset--spacing--80) 0;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
}

.about-page-story-inner {
  max-width: 1200px !important;
  margin: 0 auto;
  padding: 0 var(--wp--preset--spacing--50);
  width: 100%;
}

.about-story-columns {
  gap: var(--wp--preset--spacing--60) !important;
  align-items: center;
}

.about-story-image img {
  border-radius: 12px;
  border: 1px solid rgba(0, 191, 255, 0.2);
  width: 100%;
  height: auto;
}

.about-story-heading {
  line-height: 1.05;
  margin-bottom: var(--wp--preset--spacing--40);
}

/* Facts section */
.about-page-facts {
  background: #00508d;
  padding: var(--wp--preset--spacing--80) 0;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
}

.about-page-facts-inner {
  max-width: 1200px !important;
  margin: 0 auto;
  padding: 0 var(--wp--preset--spacing--50);
  text-align: center;
  width: 100%;
}

.about-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--wp--preset--spacing--40);
  margin-top: var(--wp--preset--spacing--60);
}

.about-fact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.about-fact-card:hover {
  border-color: rgba(0, 191, 255, 0.3);
  transform: translateY(-4px);
}

.about-fact-number {
  line-height: 1;
  margin-bottom: var(--wp--preset--spacing--20);
  font-size: clamp(2.5rem, 5vw, var(--wp--preset--font-size--display)) !important;
}

.about-fact-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* Values / process section */
.about-page-values {
  background: var(--wp--preset--color--electric-blue-deep);
  padding: var(--wp--preset--spacing--80) 0;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
}

.about-page-values-inner {
  max-width: 1200px !important;
  margin: 0 auto;
  padding: 0 var(--wp--preset--spacing--50);
  text-align: center;
  width: 100%;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--wp--preset--spacing--40);
  margin-top: var(--wp--preset--spacing--60);
}

.about-value-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--40);
  text-align: center;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.about-value-card:hover {
  border-color: rgba(0, 191, 255, 0.3);
  transform: translateY(-4px);
}

.about-value-number {
  line-height: 1;
  margin-bottom: var(--wp--preset--spacing--30);
  opacity: 0.3;
}

/* About page responsive */
@media (max-width: 1024px) {
  .about-facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-page-hero {
    min-height: 40vh;
    padding: var(--wp--preset--spacing--60) 0;
  }
  .about-facts-grid {
    grid-template-columns: 1fr;
  }
  .about-values-grid {
    grid-template-columns: 1fr;
  }
  .about-story-columns {
    flex-direction: column !important;
  }
}

/* ═══════════════════════════════════════════════
   GALLERY PAGE
   ═══════════════════════════════════════════════ */

.gallery-page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg,
    var(--wp--preset--color--electric-blue-deep) 0%,
    #00508d 50%,
    var(--wp--preset--color--electric-blue-deep) 100%
  );
  padding: var(--wp--preset--spacing--80) 0;
  overflow: hidden;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
}

.gallery-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0px,
      transparent 58px,
      rgba(255, 255, 255, 0.03) 58px,
      rgba(255, 255, 255, 0.03) 60px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 58px,
      rgba(255, 255, 255, 0.03) 58px,
      rgba(255, 255, 255, 0.03) 60px
    );
  animation: gridPulse 8s ease-in-out infinite alternate;
  pointer-events: none;
}

.gallery-page-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px !important;
  margin: 0 auto;
  padding: 0 var(--wp--preset--spacing--50);
  width: 100%;
}

.gallery-page-title {
  line-height: 0.95;
  margin-bottom: var(--wp--preset--spacing--40);
}

.gallery-page-subtitle {
  max-width: 55ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* Masonry grid */
.gallery-page-grid-section {
  background: var(--wp--preset--color--electric-blue-deep);
  padding: var(--wp--preset--spacing--80) 0;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
}

.gallery-page-grid-inner {
  max-width: 1200px !important;
  margin: 0 auto;
  padding: 0 var(--wp--preset--spacing--50);
  width: 100%;
}

.gallery-masonry {
  columns: 3;
  column-gap: var(--wp--preset--spacing--40);
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--wp--preset--spacing--40);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover {
  border-color: rgba(0, 191, 255, 0.3);
  transform: translateY(-4px);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.gallery-item .wp-block-image {
  margin: 0;
}

.gallery-item figure {
  margin: 0;
}

/* Videos section */
.gallery-page-videos {
  background: #00508d;
  padding: var(--wp--preset--spacing--80) 0;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
}

.gallery-page-videos-inner {
  max-width: 1200px !important;
  margin: 0 auto;
  padding: 0 var(--wp--preset--spacing--50);
  width: 100%;
  text-align: center;
}

.gallery-videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--wp--preset--spacing--40);
  margin-top: var(--wp--preset--spacing--60);
}

.gallery-video-embed {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery-video-placeholder {
  text-align: center;
  padding: var(--wp--preset--spacing--40);
}

/* Gallery responsive */
@media (max-width: 1024px) {
  .gallery-masonry {
    columns: 2;
  }
}

@media (max-width: 768px) {
  .gallery-page-hero {
    min-height: 30vh;
    padding: var(--wp--preset--spacing--60) 0;
  }
  .gallery-masonry {
    columns: 1;
  }
  .gallery-videos-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Compact Navigation Override ── */
.site-nav,
.site-nav .wp-block-group,
.site-nav .wp-block-navigation,
.site-nav p,
.site-nav ul,
.site-nav li,
.site-nav-inner,
.site-nav-inner > *,
.site-nav-logo,
.site-nav-links {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.site-nav {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.site-nav-inner {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  min-height: 48px;
}

/* ── Force compact header ── */
header.wp-block-template-part,
header.wp-block-template-part > *,
header.wp-block-template-part * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  gap: 0 !important;
}

/* Kill root padding on header */
header.wp-block-template-part .alignfull,
header.wp-block-template-part .has-global-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Only padding we want: horizontal on the nav itself */
header.wp-block-template-part .site-nav {
  padding: 0.5rem 2rem !important;
}

/* Nav responsive container — no padding */
header.wp-block-template-part .wp-block-navigation__responsive-container-content {
  padding: 0 !important;
}

/* Nav items — horizontal padding only */
header.wp-block-template-part .wp-block-navigation-item__content {
  padding: 0.25rem 0.75rem !important;
}

/* =========================================================
   INTERIOR PAGE SYSTEM
   ========================================================= */
:root {
  --li-interior-pad: clamp(2.75rem, 4.2vw, 5.5rem);
  --li-interior-inner-pad: clamp(1rem, 2.2vw, 2.5rem);
  --li-interior-gap: clamp(1rem, 1.6vw, 1.5rem);
  --li-interior-card-pad: clamp(1rem, 1.6vw, 1.6rem);
  --li-interior-radius: 18px;
  --li-interior-grid-size: 40px;
  --li-interior-grid-opacity: 0.12;
  --li-interior-grid-speed: 25s;
  --li-interior-shift-speed: 18s;
  --li-interior-ambient-speed: 16s;
  --li-interior-reveal-duration: 700ms;
  --li-interior-hero-image: url("../images/hero-bg.webp");
  --li-interior-process-image: url("../images/products-bg.webp");
}

.interior-page {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(0, 62, 104, 0.84) 0%, rgba(0, 114, 173, 0.76) 45%, rgba(255, 93, 58, 0.26) 100%),
    radial-gradient(circle at 85% 8%, rgba(249, 155, 55, 0.14), transparent 36%),
    radial-gradient(circle at 28% 78%, rgba(var(--color-miami-green-rgb), 0.15), transparent 38%),
    radial-gradient(circle at 10% 90%, rgba(0, 184, 255, 0.12), transparent 34%),
    var(--wp--preset--color--electric-blue-bold);
  background-size: 200% 200%, auto, auto, auto, auto;
  animation: liInteriorGradientDrift var(--li-interior-shift-speed) ease-in-out infinite alternate;
}

.interior-page::before {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(0, 191, 255, 0.22), transparent 42%),
    radial-gradient(circle at 82% 72%, rgba(255, 93, 58, 0.2), transparent 44%),
    radial-gradient(circle at 55% 45%, rgba(var(--color-miami-green-rgb), 0.16), transparent 46%);
  filter: blur(18px);
  animation: liInteriorParticleFloat var(--li-interior-ambient-speed) ease-in-out infinite;
  z-index: 0;
}

.interior-page-hero {
  position: relative;
  overflow: hidden;
  background-color: #004f7c;
  background-image: var(--li-interior-hero-image);
  background-size: cover;
  background-position: center;
}

.interior-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(0, 115, 184, 0.85) 0%, rgba(255, 93, 58, 0.85) 100%);
}

.interior-page--about {
  --li-interior-hero-image: url("../images/hero-bg.webp");
}

.interior-page--products {
  --li-interior-hero-image: url("../images/products-bg.webp");
}

.interior-page--gallery {
  --li-interior-hero-image: url("../images/contact-bg.webp");
  --li-interior-process-image: url("../images/hero-bg.webp");
}

.interior-page--videos {
  --li-interior-hero-image: url("../images/learn-bg.webp");
}

.interior-page--learn {
  --li-interior-hero-image: url("../images/learn-bg.webp");
}

.interior-page--about .interior-page-core--blueprint,
.interior-page--about .interior-page-proof--glow,
.interior-page--gallery .interior-page-core--blueprint {
  background-image:
    linear-gradient(135deg, rgba(0, 41, 66, 0.86) 0%, rgba(0, 24, 40, 0.78) 100%),
    var(--li-interior-process-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.interior-page-hero::after,
.interior-page-proof::before,
.interior-page-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--color-white-rgb), var(--li-interior-grid-opacity)) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--color-white-rgb), var(--li-interior-grid-opacity)) 1px, transparent 1px);
  background-size: var(--li-interior-grid-size) var(--li-interior-grid-size);
  animation: gridShift var(--li-interior-grid-speed) linear infinite;
  z-index: 0;
}

.interior-page-core--blueprint {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(0, 191, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 191, 255, 0.05) 1px, transparent 1px),
    rgba(0, 90, 150, 0.42);
  background-size: 32px 32px, 32px 32px, auto;
}

.interior-page-core--blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--color-white-rgb), 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--color-white-rgb), 0.1) 1px, transparent 1px);
  background-size: 38px 38px;
  animation: gridShift 24s linear infinite;
  opacity: 0.5;
}

.interior-page-core--blueprint::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(0, 191, 255, 0.18), transparent 52%),
    radial-gradient(circle at 75% 76%, rgba(255, 93, 58, 0.17), transparent 48%);
  animation: liInteriorGlowPulse 7.5s ease-in-out infinite;
  z-index: 0;
}

.interior-page-proof--glow {
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 93, 58, 0.14), transparent 44%),
    radial-gradient(circle at 8% 88%, rgba(0, 191, 255, 0.12), transparent 42%),
    radial-gradient(circle at 38% 26%, rgba(var(--color-miami-green-rgb), 0.12), transparent 42%),
    rgba(0, 100, 156, 0.44);
  background-size: 120% 120%;
  animation: liInteriorGradientDrift 20s ease-in-out infinite alternate;
}

.interior-page-cta--electric {
  background:
    linear-gradient(135deg, rgba(0, 92, 153, 0.9) 0%, rgba(0, 119, 182, 0.84) 42%, rgba(255, 93, 58, 0.82) 78%, rgba(0, 109, 91, 0.8) 100%);
  background-size: 220% 220%;
  animation: liInteriorGradientDrift 16s ease-in-out infinite alternate;
}

.interior-page-hero,
.interior-page-core,
.interior-page-proof,
.interior-page-cta {
  position: relative;
  overflow: hidden;
  padding: var(--li-interior-pad) 0;
}

.interior-page-hero-inner,
.interior-page-core-inner,
.interior-page-proof-inner,
.interior-page-cta-inner {
  position: relative;
  z-index: 1;
  padding-left: var(--li-interior-inner-pad);
  padding-right: var(--li-interior-inner-pad);
}

.interior-page-hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.interior-page-title {
  margin: 0 0 var(--wp--preset--spacing--30);
  max-width: 16ch;
  font-family: var(--wp--preset--font-family--archivo-black);
  font-size: clamp(2rem, 4.6vw, 4.35rem);
  line-height: 0.95;
  color: var(--wp--preset--color--white);
  background-image: linear-gradient(120deg, #ffffff 0%, #86dcff 32%, #ff9d75 62%, #ffffff 100%);
  background-size: 220% 220%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease-in-out infinite;
}

.interior-page-lead {
  margin: 0;
  max-width: 64ch;
  font-family: var(--wp--preset--font-family--space-mono);
  color: var(--wp--preset--color--off-white);
  opacity: 0.92;
}

.interior-page-section-title {
  margin: 0 0 var(--wp--preset--spacing--40);
  font-family: var(--wp--preset--font-family--archivo-black);
  color: var(--wp--preset--color--white);
  background-image: linear-gradient(130deg, #ffffff 0%, #9ce7ff 28%, #ffd3c5 64%, #ffffff 100%);
  background-size: 220% 220%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 7.5s ease-in-out infinite;
}

.interior-module-grid,
.interior-video-grid {
  gap: var(--li-interior-gap);
}

.interior-product-grid,
.interior-usecase-grid {
  align-items: stretch;
}

.interior-module-card,
.interior-video-card,
.interior-proof-item {
  position: relative;
  isolation: isolate;
  height: 100%;
  padding: var(--li-interior-card-pad);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--li-interior-radius);
  background: linear-gradient(160deg, rgba(0, 95, 152, 0.74), rgba(0, 82, 132, 0.68));
  box-shadow: 0 14px 34px rgba(0, 58, 92, 0.32);
  backdrop-filter: blur(4px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.interior-module-card::before,
.interior-video-card::before,
.interior-proof-item::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(0, 191, 255, 0.45), rgba(255, 93, 58, 0.35), rgba(var(--color-miami-green-rgb), 0.35), rgba(0, 191, 255, 0.45));
  background-size: 200% 200%;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.35s ease;
}

.interior-module-card:hover,
.interior-video-card:hover,
.interior-proof-item:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 191, 255, 0.52);
  box-shadow: 0 22px 42px rgba(5, 8, 20, 0.45), 0 0 0 1px rgba(0, 191, 255, 0.12), 0 0 24px rgba(0, 191, 255, 0.24);
}

.interior-module-card:hover::before,
.interior-video-card:hover::before,
.interior-proof-item:hover::before {
  opacity: 1;
  animation: liInteriorBorderPulse 1.8s ease-in-out infinite;
}

.interior-module-card h3 {
  margin-top: 0;
  margin-bottom: var(--wp--preset--spacing--20);
  font-family: var(--wp--preset--font-family--archivo-black);
  color: var(--wp--preset--color--white);
}

.interior-module-card p,
.interior-proof-item p,
.interior-proof-attribution,
.interior-proof-quote {
  margin: 0;
  font-family: var(--wp--preset--font-family--space-mono);
  color: var(--wp--preset--color--off-white);
}

.interior-product-card {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  gap: 0.85rem;
}

.interior-product-card-tag {
  margin: 0;
  font-family: var(--wp--preset--font-family--space-mono);
  font-size: var(--wp--preset--font-size--small);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.78);
}

.interior-product-meta {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.35rem;
  font-family: var(--wp--preset--font-family--space-mono);
  color: var(--wp--preset--color--off-white);
  opacity: 0.92;
}

.interior-product-cta-line {
  margin: 0.1rem 0 0;
  font-family: var(--wp--preset--font-family--space-mono);
  font-size: var(--wp--preset--font-size--small);
}

.interior-product-cta-line a {
  color: var(--wp--preset--color--electric-blue);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.interior-product-cta-line a:hover {
  color: var(--wp--preset--color--white);
}

.interior-photo-slot {
  margin: 0.4rem 0 0;
  min-height: 130px;
  border: 1px dashed rgba(255, 255, 255, 0.26);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.26));
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.interior-photo-slot span {
  font-family: var(--wp--preset--font-family--space-mono);
  font-size: var(--wp--preset--font-size--small);
  color: rgba(255, 255, 255, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.75rem;
}

.interior-photo-slot img {
  width: 100%;
  height: 100%;
  min-height: 130px;
  object-fit: cover;
  display: block;
}

.interior-page-use-cases {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 96, 156, 0.35);
}

.interior-usecase-card {
  background: linear-gradient(150deg, rgba(0, 94, 150, 0.7), rgba(0, 109, 91, 0.48));
}

.interior-process-grid .interior-proof-item p {
  line-height: 1.55;
}

.interior-pricing-grid {
  align-items: stretch;
}

.interior-pricing-card h3 {
  margin-bottom: 0.55rem;
}

.interior-proof-strip {
  gap: var(--li-interior-gap);
}

.interior-proof-item strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--wp--preset--color--white);
  font-family: var(--wp--preset--font-family--archivo-black);
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.interior-proof-quote {
  margin-bottom: var(--wp--preset--spacing--20);
  font-size: clamp(1.125rem, 1.4vw, 1.35rem);
  line-height: 1.5;
  color: var(--wp--preset--color--white);
}

.interior-proof-attribution {
  opacity: 0.78;
}

.interior-page-cta-inner {
  display: grid;
  gap: var(--wp--preset--spacing--25);
  justify-items: start;
  border-radius: calc(var(--li-interior-radius) + 4px);
}

.interior-page-proof-inner,
.interior-page-cta-inner {
  border: 1px solid transparent;
}

.interior-page-proof-inner::before,
.interior-page-cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: calc(var(--li-interior-radius) + 4px);
  padding: 1px;
  background: linear-gradient(120deg, rgba(0, 191, 255, 0.78), rgba(255, 93, 58, 0.65), rgba(var(--color-miami-green-rgb), 0.7), rgba(0, 191, 255, 0.78));
  background-size: 220% 220%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  animation: liInteriorGradientDrift 10s linear infinite;
}

.interior-page-cta {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.interior-page-cta-title {
  margin: 0;
  font-family: var(--wp--preset--font-family--archivo-black);
  color: var(--wp--preset--color--white);
  background-image: linear-gradient(125deg, #ffffff 0%, #9de7ff 30%, #ffc8b5 66%, #ffffff 100%);
  background-size: 220% 220%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 7.4s ease-in-out infinite;
}

.interior-page-cta .wp-block-buttons {
  gap: 0.75rem;
}

.interior-page-cta .wp-block-button.is-style-outline .wp-block-button__link {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--wp--preset--color--white);
}

.interior-page-cta .wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: var(--wp--preset--color--white);
  background: rgba(255, 255, 255, 0.08);
}

.interior-gallery-grid .wp-block-image img,
.interior-video-card iframe,
.interior-video-card .wp-block-video video,
.interior-video-card .wp-block-image img {
  border-radius: 12px;
}

.interior-gallery-grid .wp-block-image,
.interior-video-card .wp-block-video,
.interior-video-card .wp-block-image {
  margin: 0;
}

.interior-team-slot .wp-block-image {
  margin: 0 0 0.85rem;
}

.interior-gallery-grid .wp-block-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.interior-video-card .wp-block-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.interior-video-card .wp-block-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.4);
}

.interior-team-slot .wp-block-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
}

.interior-about-spotlight {
  background:
    radial-gradient(circle at 16% 20%, rgba(var(--color-orange-rgb), 0.16), transparent 30%),
    radial-gradient(circle at 82% 26%, rgba(var(--color-electric-blue-rgb), 0.14), transparent 34%),
    rgba(0, 103, 165, 0.42);
}

.interior-about-spotlight__grid {
  margin-bottom: 0;
}

.interior-about-spotlight__image {
  margin: 0;
}

.interior-about-spotlight__image img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 40px rgba(0, 42, 68, 0.34);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.interior-about-spotlight__image img:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 24px 52px rgba(0, 42, 68, 0.42), 0 0 28px rgba(var(--color-orange-rgb), 0.14);
}

.interior-about-spotlight__list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.5rem;
  font-family: var(--wp--preset--font-family--space-mono);
  color: var(--wp--preset--color--off-white);
}

.interior-about-spotlight__grid {
  gap: 1.25rem;
}

.interior-media-placeholder {
  min-height: 260px;
  display: grid;
  align-content: center;
  gap: 0.6rem;
}

.interior-media-placeholder-eyebrow {
  margin: 0;
  font-family: var(--wp--preset--font-family--space-mono);
  font-size: var(--wp--preset--font-size--small);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.interior-gallery-placeholder-grid {
  gap: var(--li-interior-gap);
}

.interior-gallery-placeholder {
  min-height: 180px;
}

.js .li-reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  filter: blur(3px);
  transition:
    opacity var(--li-interior-reveal-duration) cubic-bezier(0.22, 1, 0.36, 1),
    transform var(--li-interior-reveal-duration) cubic-bezier(0.22, 1, 0.36, 1),
    filter var(--li-interior-reveal-duration) ease;
  transition-delay: var(--li-stagger, 0ms);
}

.js .li-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@keyframes liInteriorGradientDrift {
  0% {
    background-position: 0% 40%;
  }
  50% {
    background-position: 100% 60%;
  }
  100% {
    background-position: 0% 40%;
  }
}

@keyframes liInteriorGlowPulse {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.82;
    transform: scale(1.08);
  }
}

@keyframes liInteriorParticleFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(1.5%, -2.5%, 0) rotate(2deg);
  }
}

@keyframes liInteriorBorderPulse {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .interior-page-title,
  .interior-page-section-title,
  .interior-page-cta-title {
    color: var(--wp--preset--color--white);
    -webkit-text-fill-color: currentColor;
    background: none;
    animation: none;
  }
}

@media (max-width: 1024px) {
  .interior-page-hero,
  .interior-page-core,
  .interior-page-proof,
  .interior-page-cta {
    padding: clamp(2.4rem, 5vw, 4.5rem) 0;
  }
}

@media (max-width: 767px) {
  .interior-page-title {
    max-width: 14ch;
  }

  .interior-page-hero-inner,
  .interior-page-core-inner,
  .interior-page-proof-inner,
  .interior-page-cta-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .interior-module-grid,
  .interior-proof-strip,
  .interior-video-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0.85rem;
  }

  .interior-module-grid > .wp-block-column,
  .interior-video-grid > .wp-block-column,
  .interior-proof-strip > .wp-block-column {
    flex-basis: auto !important;
    width: 100% !important;
  }

  .interior-product-card {
    gap: 0.7rem;
  }

  .interior-photo-slot {
    min-height: 110px;
  }

  .interior-about-spotlight__grid {
    gap: 1rem;
  }

  .interior-about-spotlight__image img {
    aspect-ratio: 4 / 3;
  }
}

/* :::SECTION:System Consolidation Overrides::: */
.section-tag,
:root :where(.section-tag),
.hero-overline,
:root :where(.hero-overline) {
  background: var(--li-gradient-tag);
}

.highlight,
:root :where(.highlight) {
  background: var(--li-gradient-highlight);
}

.site-nav {
  background-color: rgba(0, 0, 0, 0.72);
}

.site-nav {
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 74, 118, 0.74), rgba(0, 0, 0, 0.72));
  background-size: 220% 100%;
  animation: liSignalDrift 16s ease-in-out infinite;
  box-shadow: 0 1px 0 rgba(var(--color-white-rgb), 0.08), 0 12px 34px rgba(0, 0, 0, 0.18);
}

.site-nav::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -35%;
  width: 34%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(var(--color-white-rgb), 0.18), transparent);
  animation: liSheenSweep 8s ease-in-out infinite;
  z-index: -1;
}

.site-nav::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--wp--preset--color--electric-blue), var(--wp--preset--color--orange), var(--wp--preset--color--electric-blue));
  background-size: 220% 100%;
  animation: filamentFlow 5s ease-in-out infinite;
}

.logo-text a {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 14px rgba(var(--color-orange-rgb), 0.18));
}

.site-nav-links .wp-block-navigation-item__content {
  position: relative;
}

.site-nav-links .wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.08rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--wp--preset--color--electric-blue), var(--wp--preset--color--orange));
  transition: transform 0.24s ease;
}

.site-nav-links .wp-block-navigation-item__content:hover::after,
.site-nav-links .wp-block-navigation-item__content:focus-visible::after {
  transform: scaleX(1);
}

.contact-form {
  position: relative;
}

.contact-form label {
  display: grid;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  color: rgba(var(--color-white-rgb), 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-form .form-input,
.contact-form .form-textarea {
  width: 100%;
  min-width: 0;
}

@media (max-width: 767px) {
  .hero,
  :root :where(.hero) {
    min-height: min(92svh, 680px);
    grid-template-rows: 1fr;
    gap: 0;
  }

  .hero::before,
  :root :where(.hero)::before {
    opacity: 0.72;
  }

  .hero-content,
  :root :where(.hero-content) {
    justify-content: center;
    padding: clamp(5.25rem, 18svh, 7rem) 1rem 2rem;
    gap: 1rem;
  }

  .hero-ambient,
  :root :where(.hero-ambient) {
    width: 100%;
    height: 100%;
    opacity: 0.5;
  }

  .hero-ambient::after,
  :root :where(.hero-ambient)::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 32, 54, 0.62) 45%, rgba(0, 0, 0, 0.82) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.28) 100%);
  }

  .hero-headline,
  :root :where(.hero-headline) {
    font-size: clamp(3.5rem, 18vw, 5.15rem);
    line-height: 0.9;
    max-width: 7ch;
  }

  .hero-description,
  :root :where(.hero-description) {
    max-width: 29ch;
    color: rgba(var(--color-white-rgb), 0.92);
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.72);
  }

  .hero-gallery-wrap,
  :root :where(.hero-gallery-wrap),
  .hero-footer,
  :root :where(.hero-footer) {
    display: none;
  }

  .products,
  :root :where(.products),
  .learn,
  :root :where(.learn),
  .about,
  :root :where(.about),
  .contact,
  :root :where(.contact),
  .gallery-preview,
  :root :where(.gallery-preview) {
    min-height: auto;
    padding-top: clamp(3rem, 10vw, 4.5rem);
    padding-bottom: clamp(3rem, 10vw, 4.5rem);
  }

  .products-header,
  :root :where(.products-header),
  .learn-intro,
  :root :where(.learn-intro) {
    margin-bottom: 1.5rem;
  }

  .products-title,
  :root :where(.products-title),
  .learn-title,
  :root :where(.learn-title) {
    font-size: clamp(2.55rem, 11vw, 3.45rem);
    line-height: 0.98;
  }

  .products-grid,
  :root :where(.products-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 170px;
    gap: 0.85rem;
  }

  .product-card,
  :root :where(.product-card) {
    border-radius: 8px;
  }

  .product-card--tall,
  :root :where(.product-card--tall),
  .product-card--wide,
  :root :where(.product-card--wide) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .product-card-info,
  :root :where(.product-card-info) {
    padding: 1rem;
  }

  .product-card-name,
  :root :where(.product-card-name) {
    font-size: clamp(1rem, 5.5vw, 1.35rem);
    line-height: 1.05;
  }

  .product-card-desc,
  :root :where(.product-card-desc) {
    display: none;
  }

  .project-preview-intro,
  :root :where(.project-preview-intro),
  .project-preview-grid,
  :root :where(.project-preview-grid),
  .project-preview-stack,
  :root :where(.project-preview-stack),
  .interior-about-spotlight__grid,
  :root :where(.interior-about-spotlight__grid) {
    gap: 0.85rem;
  }

  .project-preview-intro .is-content-justification-right,
  :root :where(.project-preview-intro .is-content-justification-right) {
    justify-content: flex-start;
  }

  .project-preview-title,
  :root :where(.project-preview-title) {
    max-width: 11ch;
    font-size: clamp(2.2rem, 10vw, 3.2rem);
  }

  .project-preview-image img,
  :root :where(.project-preview-image img) {
    border-radius: 8px;
  }

  .project-preview-card-title,
  :root :where(.project-preview-card-title) {
    font-size: clamp(1.15rem, 5.8vw, 1.55rem);
  }

  .project-preview-note,
  :root :where(.project-preview-note) {
    margin-top: 0.85rem;
  }

  .product-card--cta,
  :root :where(.product-card--cta) {
    padding: 1rem;
  }

  .product-cta-headline,
  :root :where(.product-cta-headline) {
    font-size: clamp(1.1rem, 5.5vw, 1.45rem);
  }

  .learn-steps,
  :root :where(.learn-steps) {
    margin-left: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .learn-step,
  :root :where(.learn-step) {
    gap: 0.7rem;
    padding: 1.35rem 0 1.35rem 1.25rem;
  }

  .learn-step::before,
  :root :where(.learn-step)::before {
    top: 1.6rem;
  }

  .learn-step-title,
  :root :where(.learn-step-title) {
    font-size: clamp(1.35rem, 7vw, 1.8rem);
  }

  .learn-step-text,
  :root :where(.learn-step-text) {
    margin-bottom: 0.85rem;
    line-height: 1.6;
  }

  .learn-image,
  :root :where(.learn-image) {
    height: 220px;
  }

  .interior-page-hero,
  .interior-page-core,
  .interior-page-proof,
  .interior-page-cta {
    padding: clamp(3rem, 11vw, 4.25rem) 0;
  }

  .interior-page-title {
    max-width: 11ch;
    font-size: clamp(2.35rem, 11vw, 3.35rem);
    line-height: 1;
  }

  .interior-page-lead,
  .contact-text {
    font-size: var(--wp--preset--font-size--base);
    line-height: 1.62;
  }

  .interior-module-card,
  .interior-video-card,
  .interior-proof-item {
    border-radius: 8px;
  }

  .contact-inner,
  :root :where(.contact-inner) {
    gap: 1.5rem;
  }

  .contact-headline,
  :root :where(.contact-headline) {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
    margin-bottom: 1rem;
  }

  .contact-form,
  :root :where(.contact-form) {
    gap: 1rem;
  }

  .interior-about-spotlight__list,
  :root :where(.interior-about-spotlight__list) {
    gap: 0.45rem;
    margin-top: 0.85rem;
    padding-left: 1rem;
  }

  .form-input,
  .form-textarea,
  :root :where(.form-input),
  :root :where(.form-textarea) {
    padding: 0.9rem 1rem;
  }

  .form-submit {
    width: 100%;
    min-height: 44px;
    align-self: stretch;
  }
}

@media (max-width: 480px) {
  .hero-content,
  :root :where(.hero-content) {
    padding-top: clamp(4.75rem, 16svh, 6rem);
    padding-bottom: 1.6rem;
  }

  .products-grid,
  :root :where(.products-grid),
  .project-preview-grid,
  :root :where(.project-preview-grid),
  .project-preview-stack,
  :root :where(.project-preview-stack),
  .interior-about-spotlight__grid,
  :root :where(.interior-about-spotlight__grid) {
    grid-template-columns: 1fr;
  }

  .products-grid,
  :root :where(.products-grid) {
    grid-auto-rows: 220px;
  }

  .product-card-info,
  :root :where(.product-card-info) {
    padding: 0.9rem;
  }

  .product-card-name,
  :root :where(.product-card-name) {
    font-size: clamp(1.1rem, 6vw, 1.35rem);
  }

  .project-preview-title,
  :root :where(.project-preview-title) {
    max-width: none;
  }

  .project-preview-card,
  :root :where(.project-preview-card),
  .project-preview-note,
  :root :where(.project-preview-note) {
    padding: 0.85rem;
  }

  .interior-about-spotlight__image img,
  :root :where(.interior-about-spotlight__image img) {
    aspect-ratio: 1 / 1;
  }

  .interior-page-title,
  :root :where(.interior-page-title),
  .contact-headline,
  :root :where(.contact-headline) {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .interior-page,
  .interior-page::before,
  .interior-page-core--blueprint::after,
  .interior-page-proof--glow,
  .interior-page-cta--electric,
  .interior-page-proof-inner::before,
  .interior-page-cta-inner::before,
  .interior-page-title,
  .interior-page-section-title,
  .interior-page-cta-title,
  .interior-module-card::before,
  .interior-video-card::before,
  .interior-proof-item::before {
    animation: none !important;
  }

  .js .li-reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* :::SECTION:Home Refresh Patterns::: */
.home-hero-refresh,
.home-featured-prints,
.home-maker-story,
.home-contact-panel {
  position: relative;
  overflow: hidden;
}

.home-hero-refresh {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 12% 14%, rgba(var(--color-electric-blue-rgb), 0.34), transparent 32%),
    radial-gradient(circle at 82% 20%, rgba(var(--color-orange-rgb), 0.28), transparent 24%),
    radial-gradient(circle at 65% 68%, rgba(134, 239, 172, 0.18), transparent 26%),
    linear-gradient(180deg, #0e2948 0%, #123d66 48%, #135785 100%);
}

.home-hero-refresh::before,
.home-featured-prints::before,
.home-maker-story::before,
.home-contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--color-white-rgb), 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--color-white-rgb), 0.09) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.52;
}

.home-hero-refresh__inner,
.home-featured-prints__inner,
.home-maker-story__inner,
.home-contact-panel__inner {
  position: relative;
  z-index: 1;
  padding-left: clamp(1.25rem, 4vw, 2rem);
  padding-right: clamp(1.25rem, 4vw, 2rem);
}

.home-hero-refresh__grid,
.home-maker-story__grid,
.home-contact-panel__grid,
.home-featured-prints__grid,
.home-featured-prints__intro {
  margin-bottom: 0;
}

.home-hero-refresh__title,
.home-featured-prints__title,
.home-maker-story__title,
.home-contact-panel__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  line-height: 0.96;
  color: var(--wp--preset--color--white);
}

.home-hero-refresh__title {
  max-width: 10ch;
  font-size: clamp(2.8rem, 7vw, 6rem);
  background-image: linear-gradient(120deg, #ffffff 0%, #8eddff 34%, #ffc9b6 64%, #ffffff 100%);
  background-size: 220% 220%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 10s ease-in-out infinite;
}

.home-hero-refresh__lead,
.home-featured-prints__copy,
.home-maker-story__lead,
.home-contact-panel__copy {
  margin: 0;
  max-width: 58ch;
  font-family: var(--font-mono);
  color: rgba(var(--color-white-rgb), 0.9);
  line-height: 1.7;
}

.home-hero-refresh__proof {
  margin-top: 2rem;
  gap: 1rem;
}

.home-hero-refresh .wp-block-buttons,
.home-maker-story .wp-block-buttons,
.home-featured-card .wp-block-buttons {
  gap: 0.75rem;
}

.home-proof-chip {
  padding: 1rem 1rem 1.1rem;
  border: 1px solid rgba(var(--color-white-rgb), 0.16);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(10px);
}

.home-proof-chip p,
.home-featured-card p,
.home-maker-story__quote,
.home-contact-panel__support li {
  margin: 0;
  font-family: var(--font-mono);
  color: rgba(var(--color-white-rgb), 0.84);
}

.home-proof-chip strong,
.home-featured-card h3 {
  color: var(--wp--preset--color--white);
}

.home-hero-refresh__media {
  display: grid;
  gap: 1rem;
}

.home-hero-refresh__stack {
  margin-bottom: 0;
}

.home-hero-refresh__image,
.home-maker-story__image-card,
.home-contact-panel__support-image,
.home-featured-card .wp-block-image {
  margin: 0;
}

.home-hero-refresh__image img,
.home-maker-story__image-card img,
.home-contact-panel__support-image img,
.home-featured-card .wp-block-image img {
  display: block;
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(var(--color-white-rgb), 0.18);
  box-shadow: 0 22px 44px rgba(8, 20, 38, 0.28);
}

.home-hero-refresh__image--wide img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.home-hero-refresh__stack .home-hero-refresh__image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.home-featured-prints {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(var(--color-orange-rgb), 0.2), transparent 22%),
    radial-gradient(circle at 14% 74%, rgba(var(--color-electric-blue-rgb), 0.18), transparent 28%),
    linear-gradient(180deg, #fbfcff 0%, #eef7ff 100%);
}

.home-featured-prints__intro {
  margin-bottom: 1.75rem;
}

.home-featured-prints__title,
.home-maker-story__title,
.home-contact-panel__title {
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.home-featured-card {
  height: 100%;
  padding: 1rem;
  border: 1px solid rgba(17, 64, 103, 0.12);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(233, 245, 255, 0.96));
  box-shadow: 0 18px 36px rgba(14, 49, 76, 0.12);
}

.home-featured-card .wp-block-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 1rem;
}

.home-featured-card__eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--font-mono);
  font-size: var(--wp--preset--font-size--small);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(var(--color-electric-blue-deep-rgb), 0.76);
}

.home-featured-card h3 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
}

.home-featured-card p,
.home-featured-card__meta {
  color: rgba(13, 38, 61, 0.84);
}

.home-featured-card__meta {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-mono);
  color: rgba(var(--color-white-rgb), 0.78);
}

.home-featured-card--cta {
  display: grid;
  align-content: start;
  background:
    radial-gradient(circle at 20% 14%, rgba(var(--color-orange-rgb), 0.26), transparent 28%),
    linear-gradient(155deg, rgba(99, 198, 255, 0.26), rgba(255, 255, 255, 0.96));
}

.home-featured-card--cta .wp-block-buttons {
  margin-top: auto;
}

.home-maker-story {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background:
    radial-gradient(circle at 14% 20%, rgba(var(--color-orange-rgb), 0.24), transparent 24%),
    radial-gradient(circle at 82% 30%, rgba(var(--color-electric-blue-rgb), 0.22), transparent 24%),
    linear-gradient(180deg, #123a63 0%, #166296 100%);
}

.home-maker-story__image-card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.home-maker-story__quote {
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(255, 201, 182, 0.92);
  font-size: var(--wp--preset--font-size--small);
  letter-spacing: 0.02em;
}

.home-maker-story__checklist,
.home-contact-panel__support {
  margin: 1.2rem 0 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.55rem;
  font-family: var(--font-mono);
  color: rgba(var(--color-white-rgb), 0.84);
}

.home-contact-panel {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background:
    radial-gradient(circle at 84% 16%, rgba(var(--color-orange-rgb), 0.22), transparent 24%),
    radial-gradient(circle at 18% 72%, rgba(255, 255, 255, 0.16), transparent 26%),
    linear-gradient(145deg, #1b6ca8 0%, #0f4d7c 54%, #0d3352 100%);
}

.home-contact-panel__support-image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-top: 1.25rem;
}

.home-contact-panel .contact-form-wrap {
  padding: 1.25rem;
  border: 1px solid rgba(var(--color-white-rgb), 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.home-contact-panel .contact-form label {
  display: grid;
  gap: 0.45rem;
}

@media (max-width: 781px) {
  .home-hero-refresh__proof,
  .home-featured-prints__grid {
    grid-template-columns: 1fr !important;
  }

  .home-hero-refresh__inner,
  .home-featured-prints__inner,
  .home-maker-story__inner,
  .home-contact-panel__inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .home-hero-refresh__title,
  .home-featured-prints__title,
  .home-maker-story__title,
  .home-contact-panel__title {
    max-width: none;
  }

  .home-proof-chip {
    padding: 0.9rem 0.95rem 1rem;
  }

  .home-featured-card,
  .home-contact-panel .contact-form-wrap {
    padding: 0.9rem;
    border-radius: 14px;
  }

  .home-hero-refresh__image img,
  .home-maker-story__image-card img,
  .home-contact-panel__support-image img,
  .home-featured-card .wp-block-image img {
    border-radius: 14px;
  }

  .home-hero-refresh__stack {
    gap: 0.75rem;
  }
}

@media (max-width: 600px) {
  .logo-text {
    font-size: 0.96rem;
    letter-spacing: 0.03em;
  }

  .home-hero-refresh {
    padding-top: 3.25rem;
  }

  .home-hero-refresh__title {
    font-size: clamp(2.4rem, 12vw, 3.75rem);
    line-height: 0.98;
  }

  .home-hero-refresh__lead,
  .home-featured-prints__copy,
  .home-maker-story__lead,
  .home-contact-panel__copy {
    font-size: 0.98rem;
  }

  .home-featured-card h3 {
    font-size: 1.45rem;
  }

  .home-maker-story__checklist,
  .home-contact-panel__support,
  .home-featured-card__meta {
    gap: 0.45rem;
  }

  .footer-tagline,
  .footer-copy {
    max-width: 30ch;
  }
}

/* Branded mobile navigation overlay */
@media (max-width: 781px) {
  body:has(.site-nav-links .wp-block-navigation__responsive-container.is-menu-open) {
    overflow: hidden;
  }

  body:has(.site-nav-links .wp-block-navigation__responsive-container.is-menu-open)::before {
    background:
      radial-gradient(circle at 50% -12%, rgba(var(--color-orange-rgb), 0.32) 0%, transparent 30%),
      radial-gradient(circle at 12% 74%, rgba(var(--color-electric-blue-rgb), 0.32) 0%, transparent 42%),
      radial-gradient(circle at 92% 88%, rgba(var(--color-orange-rgb), 0.18) 0%, transparent 36%),
      linear-gradient(180deg, #050506 0%, #08030a 42%, #03121b 100%) !important;
  }

  .site-nav-links .wp-block-navigation__responsive-container.is-menu-open {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.42)),
      radial-gradient(circle at 50% 0%, rgba(var(--color-orange-rgb), 0.2), transparent 34%),
      radial-gradient(circle at 20% 85%, rgba(var(--color-electric-blue-rgb), 0.22), transparent 42%),
      #020304 !important;
    color: var(--wp--preset--color--white);
    inset: 0 !important;
    width: 100vw !important;
    height: 100dvh !important;
    padding: max(0.95rem, env(safe-area-inset-top)) clamp(1rem, 5vw, 1.4rem) max(1.2rem, env(safe-area-inset-bottom)) !important;
    overflow-y: auto;
  }

  .site-nav-links .wp-block-navigation__responsive-container.is-menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
      linear-gradient(rgba(var(--color-white-rgb), 0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(var(--color-white-rgb), 0.03) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.55), transparent 82%);
  }

  .site-nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    position: relative;
    z-index: 1;
    display: flex !important;
    min-height: calc(100dvh - max(0.95rem, env(safe-area-inset-top)) - max(1.2rem, env(safe-area-inset-bottom)));
    width: min(100%, 22rem);
    margin: 0 auto;
    padding: clamp(4.5rem, 15vh, 6.5rem) 0 clamp(2.5rem, 7vh, 4rem) !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
  }

  .site-nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content::before {
    content: "LOVABLE-IDIOTS";
    position: fixed;
    top: max(1rem, env(safe-area-inset-top));
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 5vw, 1.45rem);
    line-height: 1;
    letter-spacing: 0.12em;
    white-space: nowrap;
    background: linear-gradient(90deg, var(--wp--preset--color--orange), var(--wp--preset--color--electric-blue), var(--wp--preset--color--orange));
    background-size: 180% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 24px rgba(var(--color-orange-rgb), 0.16);
    animation: filamentFlow 5s ease-in-out infinite;
  }

  .site-nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content::after {
    content: "3D PRINTING FOR BEGINNERS";
    position: fixed;
    top: calc(max(1rem, env(safe-area-inset-top)) + 1.7rem);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.48rem;
    line-height: 1;
    letter-spacing: 0.42em;
    color: rgba(var(--color-white-rgb), 0.58);
  }

  .site-nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    display: flex !important;
    width: 100%;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
  }

  .site-nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center !important;
    justify-content: center;
    padding: clamp(0.72rem, 2.8vh, 1.08rem) 0 !important;
  }

  .site-nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: clamp(3.25rem, 18vw, 4.5rem);
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--wp--preset--color--orange), var(--wp--preset--color--electric-blue), var(--wp--preset--color--orange));
    box-shadow: 0 0 18px rgba(var(--color-electric-blue-rgb), 0.26);
  }

  .site-nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0.1rem 0.3rem !important;
    color: var(--wp--preset--color--white) !important;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 9vw, 3.35rem) !important;
    line-height: 1;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
    white-space: normal !important;
    text-shadow: 0 0 22px rgba(var(--color-electric-blue-rgb), 0.13);
    border: 0 !important;
    outline: 0;
  }

  .site-nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after {
    display: none;
  }

  .site-nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
  .site-nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus-visible {
    outline: 2px solid var(--wp--preset--color--electric-blue);
    outline-offset: 0.35rem;
    color: var(--wp--preset--color--white) !important;
    text-shadow:
      0 0 18px rgba(var(--color-orange-rgb), 0.45),
      0 0 30px rgba(var(--color-electric-blue-rgb), 0.3);
  }

  .site-nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:last-child {
    padding-top: clamp(1.05rem, 4vh, 1.55rem) !important;
  }

  .site-nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:last-child .wp-block-navigation-item__content {
    min-height: 3.65rem;
    padding: 0.35rem 1.35rem !important;
    color: var(--wp--preset--color--orange) !important;
    border: 2px solid var(--wp--preset--color--orange) !important;
    box-shadow:
      inset 0 0 0 1px rgba(var(--color-electric-blue-rgb), 0.22),
      0 0 26px rgba(var(--color-orange-rgb), 0.2);
  }

  .site-nav-links .wp-block-navigation__responsive-container-close {
    top: max(1rem, env(safe-area-inset-top)) !important;
    right: clamp(0.95rem, 5vw, 1.25rem) !important;
    width: 44px;
    height: 44px;
    color: var(--wp--preset--color--white);
  }

  .site-nav-links .wp-block-navigation__responsive-container-close svg {
    width: 30px;
    height: 30px;
    stroke: var(--wp--preset--color--orange);
    filter: drop-shadow(0 0 12px rgba(var(--color-orange-rgb), 0.35));
  }

  .site-nav-links .wp-block-navigation__responsive-container-open {
    border-color: rgba(var(--color-orange-rgb), 0.64);
    box-shadow:
      inset 0 0 0 1px rgba(var(--color-electric-blue-rgb), 0.24),
      0 0 18px rgba(var(--color-orange-rgb), 0.16);
  }
}

/* Interior brand cohesion pass: match the homepage system, do not compete with it. */
.interior-page {
  --li-interior-surface-1:
    radial-gradient(circle at 15% 18%, rgba(var(--color-electric-blue-rgb), 0.2), transparent 32%),
    radial-gradient(circle at 84% 18%, rgba(var(--color-orange-rgb), 0.16), transparent 28%),
    linear-gradient(180deg, #0e2948 0%, #123d66 50%, #135785 100%);
  --li-interior-surface-2:
    radial-gradient(circle at 86% 20%, rgba(var(--color-orange-rgb), 0.18), transparent 26%),
    radial-gradient(circle at 12% 78%, rgba(var(--color-electric-blue-rgb), 0.2), transparent 34%),
    linear-gradient(180deg, #123a63 0%, #166296 100%);
  --li-interior-surface-3:
    radial-gradient(circle at 12% 18%, rgba(var(--color-orange-rgb), 0.16), transparent 28%),
    radial-gradient(circle at 88% 76%, rgba(var(--color-electric-blue-rgb), 0.18), transparent 34%),
    linear-gradient(145deg, #0f4d7c 0%, #0d3352 100%);
  --li-interior-surface-cta:
    radial-gradient(circle at 84% 16%, rgba(var(--color-orange-rgb), 0.22), transparent 24%),
    radial-gradient(circle at 18% 72%, rgba(var(--color-white-rgb), 0.12), transparent 26%),
    linear-gradient(145deg, #1b6ca8 0%, #0f4d7c 54%, #0d3352 100%);
  --li-interior-card-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
  --li-interior-card-border: rgba(var(--color-white-rgb), 0.16);
  --li-interior-muted-text: rgba(var(--color-white-rgb), 0.84);
}

.interior-page-hero::before {
  background:
    linear-gradient(135deg, rgba(0, 84, 132, 0.74) 0%, rgba(20, 68, 104, 0.68) 46%, rgba(255, 93, 58, 0.58) 100%);
}

.interior-page .section-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.9rem;
  padding: 0.34rem 0.56rem;
  border: 1px solid rgba(var(--color-white-rgb), 0.28);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--wp--preset--color--white) !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.interior-page-title,
.interior-page-section-title,
.interior-page-cta-title {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: currentColor !important;
  animation: none !important;
}

.interior-page-title {
  max-width: 17ch;
  color: var(--wp--preset--color--white) !important;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.28),
    0 18px 42px rgba(0, 0, 0, 0.38);
}

.interior-page-section-title,
.interior-page-cta-title {
  position: relative;
  max-width: 21ch;
  color: var(--wp--preset--color--white) !important;
  font-size: clamp(1.65rem, 3.4vw, 3.35rem);
  line-height: 1.02;
  text-align: left;
  text-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.interior-page-section-title::after,
.interior-page-cta-title::after {
  content: "";
  display: block;
  width: clamp(3rem, 8vw, 5.2rem);
  height: 3px;
  margin-top: 0.65rem;
  background: linear-gradient(90deg, var(--wp--preset--color--orange), var(--wp--preset--color--electric-blue));
  box-shadow: 0 0 18px rgba(var(--color-orange-rgb), 0.2);
}

.interior-page-core--blueprint,
.interior-page--about .interior-page-core--blueprint,
.interior-page--gallery .interior-page-core--blueprint {
  background: var(--li-interior-surface-1) !important;
  background-size: auto !important;
  background-position: center !important;
}

.interior-page-proof--glow,
.interior-about-spotlight {
  background: var(--li-interior-surface-2) !important;
  color: var(--wp--preset--color--white);
}

.interior-page-use-cases {
  background: var(--li-interior-surface-3) !important;
  color: var(--wp--preset--color--white);
}

.interior-page-cta--electric {
  background: var(--li-interior-surface-cta) !important;
}

.interior-page-core--blueprint::before,
.interior-page-proof--glow::before,
.interior-page-use-cases::before,
.interior-page-use-cases::after,
.interior-about-spotlight::before {
  opacity: 0.42;
}

.interior-page-core--blueprint::after {
  background:
    radial-gradient(circle at 18% 22%, rgba(var(--color-orange-rgb), 0.12), transparent 44%),
    radial-gradient(circle at 75% 76%, rgba(var(--color-electric-blue-rgb), 0.16), transparent 48%);
}

.interior-page-core-inner > .interior-page-section-title:not(:first-of-type),
.interior-page-core-inner > h2.interior-page-section-title:not(:first-of-type) {
  margin-top: clamp(2rem, 5vw, 3.2rem);
}

.interior-page-proof--glow .section-tag,
.interior-page-use-cases .section-tag,
.interior-about-spotlight .section-tag {
  border-color: rgba(var(--color-white-rgb), 0.26);
  background: rgba(0, 0, 0, 0.2);
  color: var(--wp--preset--color--white) !important;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.38);
}

.interior-page-proof--glow .interior-page-section-title,
.interior-page-use-cases .interior-page-section-title,
.interior-about-spotlight .interior-page-section-title,
.interior-about-spotlight .interior-page-lead {
  color: var(--wp--preset--color--white) !important;
  text-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.interior-page-proof--glow p,
.interior-page-proof--glow li,
.interior-page-proof--glow .interior-proof-quote,
.interior-page-proof--glow .interior-proof-attribution,
.interior-page-use-cases p,
.interior-page-use-cases li,
.interior-page-use-cases .interior-page-lead,
.interior-about-spotlight p,
.interior-about-spotlight li {
  color: var(--li-interior-muted-text) !important;
}

.interior-module-card,
.interior-video-card,
.interior-proof-item,
.interior-usecase-card,
.interior-page-proof--glow .interior-proof-item,
.interior-page-use-cases .interior-module-card,
.interior-page-use-cases .interior-proof-item,
.interior-page-use-cases .interior-usecase-card {
  border-color: var(--li-interior-card-border);
  background: var(--li-interior-card-bg);
  box-shadow: 0 18px 36px rgba(14, 49, 76, 0.2);
  backdrop-filter: blur(10px);
}

.interior-module-card h3,
.interior-video-card h3,
.interior-proof-item strong,
.interior-page-proof--glow .interior-proof-item strong,
.interior-page-use-cases .interior-module-card h3,
.interior-page-use-cases .interior-proof-item strong {
  color: var(--wp--preset--color--white) !important;
}

.interior-module-card p,
.interior-video-card p,
.interior-proof-item p,
.interior-page-proof--glow .interior-proof-item p,
.interior-page-use-cases .interior-module-card p,
.interior-page-use-cases .interior-proof-item p {
  color: var(--li-interior-muted-text) !important;
}

.interior-module-card:nth-child(2n),
.interior-video-card:nth-child(2n),
.interior-proof-item:nth-child(2n) {
  background: linear-gradient(160deg, rgba(var(--color-electric-blue-rgb), 0.18), rgba(var(--color-white-rgb), 0.08));
}

.interior-product-card-tag {
  color: rgba(var(--color-white-rgb), 0.72) !important;
}

/* Notes / blog system */
.notes-page,
.single-note-page {
  position: relative;
  overflow: hidden;
  color: var(--wp--preset--color--white);
  background:
    radial-gradient(circle at 8% 16%, rgba(var(--color-orange-rgb), 0.18), transparent 28%),
    radial-gradient(circle at 92% 12%, rgba(var(--color-electric-blue-rgb), 0.16), transparent 30%),
    linear-gradient(180deg, #060707 0%, #0b0d0f 54%, #060707 100%);
}

.notes-page::before,
.single-note-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(var(--color-white-rgb), 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--color-white-rgb), 0.045) 1px, transparent 1px),
    linear-gradient(135deg, transparent 0 46%, rgba(var(--color-orange-rgb), 0.08) 46% 47%, transparent 47% 100%);
  background-size: 36px 36px, 36px 36px, 180px 180px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95), transparent 82%);
  opacity: 0.72;
}

.notes-hero,
.single-note-hero,
.notes-feed,
.single-note-body {
  position: relative;
  z-index: 1;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

.notes-hero,
.single-note-hero {
  display: grid;
  align-content: end;
  min-height: clamp(30rem, 56vw, 42rem);
  padding-top: clamp(4.75rem, 8vw, 7rem);
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(var(--color-white-rgb), 0.16);
  background:
    linear-gradient(90deg, rgba(var(--color-orange-rgb), 0.2), transparent 5rem),
    radial-gradient(circle at 82% 24%, rgba(var(--color-electric-blue-rgb), 0.2), transparent 34%),
    #050606;
}

.single-note-hero {
  min-height: clamp(24rem, 44vw, 34rem);
}

.notes-hero .section-tag,
.single-note-hero .section-tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--wp--preset--color--orange);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.notes-title,
.single-note-title {
  margin: 0;
  max-width: 11ch;
  font-family: var(--font-display);
  font-size: clamp(3.55rem, 11vw, 9.25rem);
  line-height: 0.84;
  color: var(--wp--preset--color--white);
  text-transform: uppercase;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.26),
    0 18px 42px rgba(0, 0, 0, 0.34);
}

.notes-title--accent {
  color: var(--wp--preset--color--orange);
  text-shadow:
    0 0 22px rgba(var(--color-orange-rgb), 0.16),
    0 18px 42px rgba(0, 0, 0, 0.34);
}

.notes-title--mistakes {
  font-size: clamp(3.2rem, 9.2vw, 7.4rem);
}

.single-note-title {
  max-width: 13ch;
  font-size: clamp(2.65rem, 7vw, 6.5rem);
}

.notes-lead {
  margin: 1.35rem 0 0;
  max-width: 58ch;
  font-family: var(--font-mono);
  color: rgba(var(--color-white-rgb), 0.9);
  line-height: 1.7;
}

.notes-hero-footer {
  width: 100%;
  margin-top: clamp(2.5rem, 7vw, 5.25rem);
  padding-top: clamp(0.8rem, 2vw, 1rem);
  border-top: 1px solid rgba(var(--color-white-rgb), 0.22);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.notes-hero-meta,
.notes-hero-jump {
  margin: 0;
  color: rgba(var(--color-white-rgb), 0.78);
  font-size: clamp(0.72rem, 1.2vw, 0.88rem);
}

.notes-hero-jump a {
  color: var(--wp--preset--color--white);
  text-decoration-color: var(--wp--preset--color--orange);
  text-underline-offset: 0.28em;
}

.notes-feed,
.single-note-body {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.notes-feed-header {
  width: 100%;
  gap: clamp(0.8rem, 2vw, 1.25rem) !important;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.notes-feed-label {
  flex: 0 0 auto;
  margin: 0;
  color: var(--wp--preset--color--orange);
  font-family: var(--font-mono);
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.notes-feed-rule {
  flex: 1 1 auto;
  height: 1px;
  min-width: 4rem;
  margin: 0 !important;
  border: 0;
  background: linear-gradient(90deg, rgba(var(--color-orange-rgb), 0.56), rgba(var(--color-electric-blue-rgb), 0.25), transparent);
}

.notes-grid {
  gap: clamp(1rem, 2vw, 1.35rem) !important;
  width: 100%;
}

.notes-grid > li:first-child {
  grid-column: 1 / -1;
}

.notes-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(var(--color-white-rgb), 0.15);
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(var(--color-white-rgb), 0.08), rgba(var(--color-white-rgb), 0.02)),
    #090b0d;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.24);
}

.notes-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--wp--preset--color--orange), var(--wp--preset--color--electric-blue));
  opacity: 0;
  transition: opacity 180ms ease;
}

.notes-card:hover::before,
.notes-card:focus-within::before {
  opacity: 1;
}

.notes-grid > li:first-child .notes-card {
  min-height: clamp(18rem, 31vw, 27rem);
  border-left: 4px solid var(--wp--preset--color--orange);
}

.notes-grid > li:first-child .notes-card:has(.notes-card-image) {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.notes-card-image {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(var(--color-orange-rgb), 0.34), transparent 42%),
    linear-gradient(145deg, #111619 0%, #060707 100%);
}

.notes-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.04);
}

.notes-card-body {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.05rem, 2.2vw, 1.65rem);
}

.notes-grid > li:first-child .notes-card-body {
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.notes-card-meta,
.single-note-meta {
  gap: 0.65rem !important;
  margin: 0 0 0.8rem !important;
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 1vw, 0.82rem);
  color: rgba(var(--color-white-rgb), 0.68);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.notes-card-meta p,
.single-note-meta p {
  margin: 0;
}

.notes-card-title {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.25vw, 2.15rem);
  line-height: 0.98;
  text-transform: uppercase;
}

.notes-grid > li:first-child .notes-card-title {
  font-size: clamp(2.15rem, 5vw, 4.35rem);
  max-width: 10ch;
}

.notes-card-title a {
  color: var(--wp--preset--color--white);
  text-decoration: none;
}

.notes-card-title a:hover {
  color: var(--wp--preset--color--orange);
}

.notes-card-excerpt {
  margin: 0;
  font-family: var(--font-mono);
  color: rgba(var(--color-white-rgb), 0.84);
  line-height: 1.62;
}

.notes-card-excerpt p {
  margin-top: 0;
}

.notes-card-excerpt .wp-block-post-excerpt__more-link {
  display: inline-flex;
  margin-top: 0.95rem;
  padding-bottom: 0.16rem;
  border-bottom: 1px solid rgba(var(--color-orange-rgb), 0.7);
  color: var(--wp--preset--color--orange);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.notes-pagination {
  gap: 0.8rem;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  font-family: var(--font-mono);
  color: var(--wp--preset--color--white);
}

.notes-pagination a,
.single-note-nav a {
  color: var(--wp--preset--color--white);
  text-decoration: none;
}

.notes-empty {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(var(--color-white-rgb), 0.16);
  border-radius: 0;
  background: rgba(var(--color-white-rgb), 0.06);
}

.notes-empty-title {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  color: var(--wp--preset--color--white);
}

.single-note-featured {
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  max-width: 980px;
  overflow: hidden;
  border: 1px solid rgba(var(--color-white-rgb), 0.16);
  border-radius: 0;
}

.single-note-featured img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.single-note-content {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
  border-left: 3px solid rgba(var(--color-orange-rgb), 0.76);
  font-family: var(--font-mono);
  color: rgba(var(--color-white-rgb), 0.9);
  line-height: 1.75;
  overflow-wrap: break-word;
}

.single-note-content :where(p, ul, ol) {
  margin-top: 0;
  margin-bottom: clamp(1.25rem, 3vw, 1.9rem);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.single-note-content :where(p, li) {
  max-width: 72ch;
}

.single-note-content :where(ul, ol) {
  padding-left: 1.35rem;
}

.single-note-content :where(li + li) {
  margin-top: 0.55rem;
}

.single-note-content :where(h2, h3, h4) {
  margin-top: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 0.9rem;
  font-family: var(--font-display);
  color: var(--wp--preset--color--white);
  line-height: 1.04;
}

.single-note-content a {
  color: var(--wp--preset--color--orange);
}

.single-note-takeaways,
.single-note-author {
  max-width: 980px;
  margin: clamp(2.5rem, 6vw, 4.5rem) auto 0;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
}

.single-note-kicker {
  margin: 0 0 0.55rem;
  color: var(--wp--preset--color--orange);
  font-family: var(--font-mono);
  font-size: clamp(0.78rem, 1.1vw, 0.92rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.single-note-section-title {
  margin: 0 0 clamp(1rem, 2vw, 1.35rem);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.3rem);
  line-height: 0.95;
  color: var(--wp--preset--color--white);
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.single-note-takeaway-grid {
  gap: clamp(0.85rem, 2vw, 1.15rem) !important;
}

.single-note-takeaway {
  min-height: 100%;
  padding: clamp(1rem, 2.4vw, 1.35rem);
  border: 1px solid rgba(var(--color-white-rgb), 0.14);
  background: rgba(var(--color-white-rgb), 0.055);
  font-family: var(--font-mono);
  color: rgba(var(--color-white-rgb), 0.86);
  line-height: 1.58;
}

.single-note-takeaway p {
  margin: 0;
  overflow-wrap: break-word;
}

.single-note-takeaway strong {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--wp--preset--color--white);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  line-height: 1;
  text-transform: uppercase;
}

.single-note-takeaway--orange {
  border-left: 4px solid var(--wp--preset--color--orange);
  box-shadow: inset 0 0 0 1px rgba(var(--color-orange-rgb), 0.08);
}

.single-note-takeaway--orange strong {
  color: var(--wp--preset--color--orange);
}

.single-note-takeaway--blue {
  border-left: 4px solid var(--wp--preset--color--electric-blue);
  box-shadow: inset 0 0 0 1px rgba(var(--color-electric-blue-rgb), 0.08);
}

.single-note-takeaway--blue strong {
  color: var(--wp--preset--color--electric-blue);
}

.single-note-takeaway--split {
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, var(--wp--preset--color--orange), var(--wp--preset--color--electric-blue)) 1;
}

.single-note-author {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(1rem, 2.5vw, 1.5rem);
  padding-top: clamp(1rem, 2.5vw, 1.4rem);
  padding-bottom: clamp(1rem, 2.5vw, 1.4rem);
  border: 1px solid rgba(var(--color-white-rgb), 0.16);
  border-left: 4px solid var(--wp--preset--color--orange);
  background:
    linear-gradient(90deg, rgba(var(--color-orange-rgb), 0.12), transparent 40%),
    linear-gradient(270deg, rgba(var(--color-electric-blue-rgb), 0.12), transparent 45%),
    rgba(var(--color-white-rgb), 0.045);
}

.single-note-author-image {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(var(--color-white-rgb), 0.14);
}

.single-note-author-image img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.single-note-author-copy {
  display: grid;
  align-content: center;
  margin: 0;
}

.single-note-author-copy p:not(.single-note-kicker) {
  margin: 0;
  max-width: 44ch;
  font-family: var(--font-mono);
  color: rgba(var(--color-white-rgb), 0.86);
  line-height: 1.7;
  overflow-wrap: break-word;
}

.single-note-nav {
  max-width: 820px;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(var(--color-white-rgb), 0.16);
  font-family: var(--font-mono);
}

@media (max-width: 781px) {
  .site-nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    padding: clamp(0.58rem, 2.2vh, 0.9rem) 0 !important;
  }

  .site-nav-links .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    min-height: 2.35rem;
    font-size: clamp(1.55rem, 8vw, 2.9rem) !important;
  }

  .notes-grid {
    grid-template-columns: 1fr !important;
  }

  .notes-hero,
  .single-note-hero {
    min-height: auto;
    padding-top: clamp(4rem, 14vw, 5.25rem);
    padding-bottom: clamp(1.25rem, 6vw, 2rem);
  }

  .notes-title,
  .single-note-title {
    max-width: none;
    font-size: clamp(3rem, 15vw, 5.75rem);
  }

  .notes-title--mistakes {
    font-size: clamp(2.55rem, 12vw, 4.55rem);
  }

  .notes-hero-footer {
    display: grid !important;
    gap: 0.45rem;
  }

  .notes-grid > li:first-child {
    grid-column: auto;
  }

  .notes-grid > li:first-child .notes-card {
    display: block;
    min-height: 0;
    border-left-width: 3px;
  }

  .notes-grid > li:first-child .notes-card:has(.notes-card-image) {
    display: block;
  }

  .notes-grid > li:first-child .notes-card-title {
    max-width: none;
    font-size: clamp(1.85rem, 10vw, 3.1rem);
  }

  .single-note-content {
    padding-left: 1rem;
  }

  .single-note-takeaway-grid,
  .single-note-author {
    grid-template-columns: 1fr !important;
  }

  .single-note-author-image img {
    min-height: 180px;
  }

  .single-note-author .single-note-section-title {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }
}
