/*
Theme Name: VETO Editorial Landing Page
Theme URI: https://vetoelectric.com
Author: VETO Electric
Author URI: https://vetoelectric.com
Description: Premium VETO Editorial Landing Page Theme featuring custom responsive layouts, dual photo grids, bi-directional scroll reveals, active scrollspy navigation, and chamfered CTA styling.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: Proprietary
Text Domain: veto-editorial
*/

/* ==========================================================================
   VETO ELECTRIC — EDITORIAL LANDING PAGE DESIGN SYSTEM & STYLESHEET
   Cleaned & Consolidated Architecture (Production Release v63.0)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FONT IMPORTS & GLOBAL DESIGN TOKENS
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

@font-face {
  font-family: 'GT Super Text';
  src: local('GT Super Text'), local('GTSuperText-Regular'), local('Georgia');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'PP Mori';
  src: local('PP Mori'), local('PPMori-Regular'), local('Inter');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Color Palette */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F7F7F5;
  --bg-dark: #000000;
  --bg-grey-card: #818588;
  --text-main: #111111;
  --text-muted: #555552;
  --text-light: #FFFFFF;
  
  /* Brand Accent */
  --accent-yellow: #F9EB37;
  
  /* Master Geometry Tokens */
  --row-height: 700px;
  --single-banner-height: 780px;
  --nav-height: 70px;
  --container-pad: clamp(3.5rem, 6vw, 6.5rem);
  
  /* Typography Families */
  --font-serif: 'GT Super Text', 'Cormorant Garamond', Georgia, "Times New Roman", serif;
  --font-sans: 'PP Mori', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Motion Curves */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.6s var(--ease-out-expo);
}

/* --------------------------------------------------------------------------
   2. BASE & RESET RULES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  background-color: var(--bg-primary);
}

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

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

section {
  scroll-margin-top: var(--nav-height);
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   3. CONTAINER & REUSABLE LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  box-sizing: border-box;
}

/* Reusable Centered Media Container */
.media-container,
.hero-section .hero-media,
.full-width-banner-block .banner-media,
.split-block-50 .media-half {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #FFFFFF;
}

.dark-outro-banner .footer-banner-media {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #000000 !important;
}

/* --------------------------------------------------------------------------
   4. TYPOGRAPHY HIERARCHY & BADGES
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, .serif-title, .serif-subtitle {
  font-family: var(--font-serif);
  font-weight: 400;
  text-align: left;
  margin: 0;
  padding: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.editorial-heading-lg,
.serif-title {
  font-size: clamp(2.1rem, 3.1vw + 0.3rem, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text-main);
  margin-bottom: 1.35rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.editorial-subheading-md,
.serif-subtitle {
  font-size: clamp(1.1rem, 1.3vw, 1.4rem);
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.editorial-paragraph,
p {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.script-overlay-img {
  display: block;
  max-width: 70%;
  max-height: 28%;
  object-fit: contain;
  height: auto;
  pointer-events: none;
  align-self: flex-end;
  margin-top: auto;
  transition: transform 1.2s var(--ease-out-expo), opacity 1s ease;
}

.badge-tag {
  display: inline-block;
  background-color: var(--accent-yellow);
  color: #111111;
  font-family: var(--font-sans) !important;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 0.55rem 2.4rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 15px 100%, 0 calc(100% - 15px));
  width: fit-content;
  margin-bottom: 2.5rem;
  letter-spacing: -0.01em;
  transition: transform 0.4s var(--ease-out-expo);
}

.badge-tag:hover {
  transform: translateY(-2px);
}

.float-badge {
  position: absolute;
  top: 2.5rem;
  left: var(--container-pad);
  z-index: 30;
  margin-bottom: 0 !important;
}

.back-to-top-button {
  position: fixed;
  bottom: 2rem;
  right: var(--container-pad);
  z-index: 999;
  background: rgba(0, 0, 0, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-family: var(--font-sans) !important;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.65rem 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s var(--ease-out-expo), background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.back-to-top-button:hover {
  background: var(--accent-yellow);
  color: #111111;
  border-color: var(--accent-yellow);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   5. HEADER & NAVIGATION BAR
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: var(--transition-smooth);
  font-family: var(--font-sans) !important;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  flex-wrap: nowrap !important;
}

.brand-logo img {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(8rem, 12vw, 16rem);
  list-style: none;
  font-family: var(--font-sans) !important;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-sans) !important;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-main);
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background-color: var(--accent-yellow);
  transition: width 0.35s var(--ease-out-expo);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: #000000;
  font-weight: 600;
}

.header-cta-btn {
  background-color: var(--accent-yellow);
  color: #111111;
  font-family: var(--font-sans) !important;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  padding: 0.45rem 1.6rem;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.3s var(--ease-out-expo), background-color 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.header-cta-btn:hover {
  background-color: #000000;
  color: var(--accent-yellow);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  border: none;
  background: none;
  z-index: 1001;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: transform 0.3s var(--ease-out-expo), opacity 0.3s ease;
}

.mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-overlay {
  display: none;
}

/* --------------------------------------------------------------------------
   6. HERO SECTION BLOCK & CHAMFERED LEFT SOUND BUTTON (MATCHING CONTACTO CTA)
   -------------------------------------------------------------------------- */
.hero-section {
  width: 100% !important;
  margin-top: var(--nav-height);
  padding: 0 !important;
  background-color: #FFFFFF;
  overflow: hidden;
  clear: both;
  position: relative;
}

.hero-section .hero-media {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  height: var(--single-banner-height);
  min-height: var(--single-banner-height);
  position: relative !important;
}

.hero-section img,
.hero-section video {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: 50% 50% !important;
  transition: transform 1.8s var(--ease-out-expo);
}

.hero-section:hover img,
.hero-section:hover video {
  transform: scale(1.02);
}

/* Left Positioned Floating Chamfered Sound Button Matching CONTACTO Button Design */
.hero-audio-btn,
button#hero-audio-toggle {
  position: absolute !important;
  bottom: 2.5rem !important;
  left: var(--container-pad) !important;
  right: auto !important;
  z-index: 100 !important;
  background-color: var(--accent-yellow) !important;
  color: #111111 !important;
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.05em !important;
  padding: 0.55rem 1.75rem !important;
  border: none !important;
  outline: none !important;
  cursor: pointer !important;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px)) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  white-space: nowrap !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
  transition: transform 0.3s var(--ease-out-expo), background-color 0.3s ease, color 0.3s ease !important;
}

.hero-audio-btn:hover,
button#hero-audio-toggle:hover {
  background-color: #000000 !important;
  color: var(--accent-yellow) !important;
  transform: translateY(-2px) !important;
}

.hero-audio-btn svg,
button#hero-audio-toggle svg {
  stroke: currentColor !important;
  width: 15px !important;
  height: 15px !important;
  flex-shrink: 0 !important;
}

/* --------------------------------------------------------------------------
   7. VISION SECTION BLOCK (#vision)
   -------------------------------------------------------------------------- */
.vision-section {
  width: 100%;
  padding: clamp(5.5rem, 8.5vh, 9rem) 0;
  background-color: #FFFFFF;
  clear: both;
}

.vision-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: clamp(3rem, 5vw, 7rem);
}

.vision-photos-row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  flex-shrink: 0;
}

.vision-photo-box {
  width: clamp(180px, 17.5vw, 250px);
  height: clamp(180px, 17.5vw, 250px);
  overflow: hidden;
  flex-shrink: 0;
}

.vision-photo-box:nth-child(2) {
  margin-top: clamp(4rem, 6.5vw, 6.5rem);
}

.vision-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: 50% 50% !important;
  transition: transform 1.4s var(--ease-out-expo);
}

.vision-photo-box:hover img {
  transform: scale(1.05);
}

.editorial-text-col {
  width: 100%;
  max-width: 620px;
  margin-left: auto;
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   8. DARK FEATURE INTERLUDE BLOCK (#interlude)
   -------------------------------------------------------------------------- */
.dark-interlude-section {
  width: 100% !important;
  min-height: var(--row-height);
  padding: clamp(5.5rem, 9vh, 8rem) 0;
  background-color: var(--bg-dark);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  clear: both;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.dark-banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: right center !important;
  transition: transform 2s var(--ease-out-expo);
}

.dark-interlude-section:hover .dark-banner-bg img {
  transform: scale(1.02);
}

.dark-interlude-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
}

.dark-interlude-inner {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.dark-interlude-title {
  color: #FFFFFF;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 3.3vw + 0.4rem, 3.7rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-bottom: 1.35rem;
}

.dark-interlude-copy {
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.05vw, 1.05rem);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. PRODUCT SECTION BLOCK (#product) — STRICT FLEX/GRID COLUMN CONTAINMENT FIX
   -------------------------------------------------------------------------- */
.product-section {
  width: 100% !important;
  padding-top: 0;
  background-color: #FFFFFF;
  clear: both;
  position: relative;
  overflow: hidden;
}

.product-fullbleed-stack {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* Flex Container Grid Divider Line Setup */
.split-block-50 {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  max-width: 100% !important;
  height: var(--row-height) !important;
  min-height: var(--row-height) !important;
  align-items: stretch !important;
  overflow: hidden !important;
  clear: both;
  position: relative !important;
  box-sizing: border-box !important;
}

/* Equal 50/50 Columns with Strict Flex Shrink Bounds (min-width: 0 prevents content overflow) */
.split-block-50 > div {
  flex: 0 0 50% !important;
  width: 50% !important;
  min-width: 0 !important;
  max-width: 50% !important;
  height: 100% !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  position: relative !important;
}

/* Right Image Wrapper Strict Column Boundaries */
.split-block-50 .media-half {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}

/* Responsive Image Rules (prevents overlapping adjacent text column) */
.split-block-50 .media-half img,
.split-block-50 .media-half video {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: 50% 50% !important;
  display: block !important;
  transition: transform 1.6s var(--ease-out-expo);
}

.split-block-50:hover .media-half img {
  transform: scale(1.03);
}

.grey-card-panel {
  background-color: var(--bg-grey-card);
  color: #FFFFFF;
  padding: clamp(3.5rem, 5vw, 6rem) clamp(2.5rem, 4vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  text-align: left;
}

.grey-card-panel .serif-title,
.grey-card-panel .serif-subtitle {
  color: #FFFFFF;
}

.grey-card-panel p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 520px;
}

.white-text-panel {
  padding: clamp(3.5rem, 5vw, 6rem) clamp(2.5rem, 4vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: #FFFFFF;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  text-align: left;
}

.white-text-panel p {
  color: var(--text-muted);
  max-width: 520px;
}

.full-width-banner-block {
  width: 100% !important;
  background-color: #FFFFFF;
  padding: 0 !important;
  margin: 0 !important;
  display: block;
  clear: both;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}

.full-width-banner-block .banner-media {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  height: var(--single-banner-height);
  min-height: var(--single-banner-height);
  overflow: hidden;
}

.full-width-banner-block img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: 50% 50% !important;
  transition: transform 1.8s var(--ease-out-expo);
}

.full-width-banner-block:hover img {
  transform: scale(1.025);
}

/* --------------------------------------------------------------------------
   10. PARTNERS & NETWORK SECTION BLOCK (#partners)
   -------------------------------------------------------------------------- */
.partners-section {
  width: 100%;
  padding: clamp(5.5rem, 8.5vh, 9rem) 0;
  background-color: #FFFFFF;
  clear: both;
  overflow: hidden;
}

.partners-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: clamp(3rem, 5vw, 7rem);
}

.partners-text-col {
  width: 100%;
  max-width: 640px;
}

.partners-text-col .serif-title {
  max-width: 100%;
  white-space: nowrap;
}

.partners-text-col p {
  color: var(--text-muted);
  max-width: 580px;
}

.partners-logos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.75rem, 3vw, 2.5rem) clamp(2rem, 4vw, 4rem);
  align-items: center;
  width: 100%;
  max-width: 580px;
  margin-left: auto;
}

.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(80px, 8vw, 110px);
  background-color: #FFFFFF;
  transition: transform 0.4s var(--ease-out-expo), opacity 0.4s ease;
}

.logo-cell:hover {
  transform: translateY(-4px);
  opacity: 0.8;
}

.partners-logos-grid img {
  max-height: clamp(45px, 5.5vw, 95px);
  max-width: clamp(120px, 15vw, 220px);
  width: auto;
  height: auto;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   11. STRATEGIC PARTNER BLOCK
   -------------------------------------------------------------------------- */
.strategic-blueprint-section {
  width: 100% !important;
  height: var(--row-height);
  min-height: var(--row-height);
  background-color: #FFFFFF;
  clear: both;
  overflow: hidden;
}

.strategic-blueprint-section .split-block-50 {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.strategic-contact-info {
  font-family: var(--font-sans) !important;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: left;
}

/* --------------------------------------------------------------------------
   12. DARK OUTRO VIDEO BANNER & SIMPLE BLACK FOOTER BLOCK (.site-footer-black)
   -------------------------------------------------------------------------- */
.dark-outro-banner {
  position: relative;
  width: 100% !important;
  height: var(--row-height);
  min-height: var(--row-height);
  background-color: #000000 !important;
  clear: both;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dark-outro-banner .footer-banner-media {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark-outro-banner img,
.dark-outro-banner video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 50% 50% !important;
  display: block !important;
  background-color: #000000 !important;
}

.site-footer-black {
  width: 100% !important;
  background-color: var(--bg-dark) !important;
  color: #FFFFFF !important;
  padding: 4rem 0 0 0 !important;
  clear: both;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
}

.footer-nav-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-bottom: 3.5rem !important;
  flex-wrap: nowrap !important;
}

.footer-brand-logo .footer-logo-img {
  height: 22px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-nav-menu {
  display: flex !important;
  align-items: center !important;
  gap: clamp(4rem, 8vw, 12rem) !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--font-sans) !important;
}

.footer-nav-link {
  font-family: var(--font-sans) !important;
  font-size: 0.98rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.footer-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background-color: var(--accent-yellow);
  transition: width 0.35s var(--ease-out-expo);
}

.footer-nav-link:hover::after {
  width: 100%;
}

.footer-nav-link:hover {
  color: #FFFFFF;
}

.footer-cta-btn {
  background-color: var(--accent-yellow) !important;
  color: #111111 !important;
  font-family: var(--font-sans) !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.05em !important;
  padding: 0.45rem 1.6rem !important;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px)) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: transform 0.3s var(--ease-out-expo), background-color 0.3s ease, color 0.3s ease !important;
  flex-shrink: 0 !important;
}

.footer-cta-btn:hover {
  background-color: #FFFFFF !important;
  color: #000000 !important;
  transform: translateY(-1px) !important;
}

.footer-subbar {
  width: 100%;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #000000;
}

.footer-subbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-sans) !important;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   13. BI-DIRECTIONAL SCROLL REVEAL ANIMATION ENGINE
   -------------------------------------------------------------------------- */
.reveal-on-scroll,
.reveal-fade-up,
.reveal-fade-in,
.reveal-slide-left,
.reveal-slide-right,
.reveal-zoom-in {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 1.1s var(--ease-out-expo), transform 1.1s var(--ease-out-expo);
}

.reveal-on-scroll,
.reveal-fade-up { transform: translateY(40px); }
.reveal-fade-in { transform: translateY(0); }
.reveal-slide-left { transform: translateX(-40px); }
.reveal-slide-right { transform: translateX(40px); }
.reveal-zoom-in { transform: scale(0.95); }

.reveal-on-scroll.is-revealed,
.reveal-fade-up.is-revealed,
.reveal-fade-in.is-revealed,
.reveal-slide-left.is-revealed,
.reveal-slide-right.is-revealed,
.reveal-zoom-in.is-revealed {
  opacity: 1 !important;
  transform: translateY(0) translateX(0) scale(1) !important;
}

.delay-1 { transition-delay: 0.12s !important; }
.delay-2 { transition-delay: 0.24s !important; }
.delay-3 { transition-delay: 0.36s !important; }
.delay-4 { transition-delay: 0.48s !important; }

/* --------------------------------------------------------------------------
   14. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --row-height: auto;
    --single-banner-height: 480px;
    --container-pad: clamp(1.75rem, 5vw, 3.5rem);
  }
  
  .hero-audio-btn,
  button#hero-audio-toggle {
    bottom: 1.5rem !important;
    left: 1.5rem !important;
    padding: 0.45rem 1.25rem !important;
    font-size: 0.78rem !important;
  }

  /* Mobile Navigation Drawer Activation */
  .mobile-nav-overlay {
    display: flex;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    background-color: #FFFFFF;
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out-expo), visibility 0.4s ease;
  }

  .mobile-nav-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    text-align: center;
    margin: 0;
    padding: 0;
  }

  .mobile-nav-link {
    font-family: var(--font-sans);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-main);
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
  }

  .mobile-nav-link:hover {
    color: #000000;
    font-weight: 600;
  }

  .mobile-nav-cta {
    background-color: var(--accent-yellow);
    color: #111111;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    padding: 0.75rem 2.5rem;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 15px 100%, 0 calc(100% - 15px));
    display: inline-block;
    margin-top: 1rem;
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  .mobile-nav-cta:hover {
    background-color: #000000;
    color: var(--accent-yellow);
  }

  .header-cta-btn {
    display: none !important;
  }

  #vision .badge-tag,
  #partners .badge-tag {
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    text-align: center !important;
  }

  .float-badge {
    position: absolute !important;
    top: 2rem !important;
    left: 0 !important;
    right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: fit-content !important;
    z-index: 30 !important;
  }

  .back-to-top-button {
    bottom: 1.5rem !important;
    right: 1.5rem !important;
    padding: 0.55rem 1.1rem !important;
    font-size: 0.75rem !important;
  }

  .vision-grid,
  .partners-grid {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 3.5rem !important;
  }

  .vision-photos-row {
    justify-content: center !important;
    width: 100% !important;
  }

  .editorial-text-col,
  .partners-text-col,
  .partners-logos-grid {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
    text-align: center !important;
  }

  h1, h2, h3, h4, p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .partners-text-col .serif-title {
    white-space: normal !important;
  }

  .dark-interlude-section {
    min-height: 480px !important;
    height: auto !important;
    padding: 5rem 0 !important;
    text-align: center !important;
  }

  .dark-interlude-inner {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .vision-section,
  .partners-section {
    padding: 4.5rem 0 !important;
  }

  .split-block-50 {
    flex-direction: column !important;
    height: auto !important;
    min-height: auto !important;
    position: relative !important;
  }
  
  .split-block-50 > div {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    height: auto !important;
  }
  
  .split-block-50 .media-half,
  .full-width-banner-block,
  .full-width-banner-block .banner-media,
  .hero-section,
  .dark-outro-banner,
  .dark-outro-banner .footer-banner-media {
    height: 480px !important;
    min-height: 480px !important;
  }
  
  .grey-card-panel,
  .white-text-panel {
    padding: 4rem var(--container-pad) !important;
    height: auto !important;
    text-align: center !important;
    align-items: center !important;
  }

  .grey-card-panel > div,
  .white-text-panel > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .script-overlay-img {
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .strategic-contact-info {
    align-items: center !important;
    text-align: center !important;
  }

  .footer-nav-container {
    flex-direction: column !important;
    gap: 2.5rem !important;
    text-align: center !important;
  }

  .footer-nav-menu {
    gap: 2.5rem !important;
  }

  .footer-subbar-content {
    justify-content: center !important;
    text-align: center !important;
  }
}

@media (max-width: 640px) {
  .vision-photos-row {
    justify-content: center !important;
  }
  
  .vision-photo-box {
    width: 145px !important;
    height: 145px !important;
  }

  .vision-photo-box:nth-child(2) {
    margin-top: 2.5rem !important;
  }
  
  .dark-interlude-section {
    padding: 4.5rem 0 !important;
  }
  
  .nav-menu {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }

  .footer-nav-menu {
    flex-direction: column !important;
    gap: 1.5rem !important;
  }
}
