/*
  ========================================
  Font Imports & Setup
  ========================================
*/

/*
  IMPORTANT: Loading Adobe Fonts
  To use "Good Headline Pro", you must add the unique stylesheet link
  from your Adobe Fonts web project to the <head> of your HTML file.
  It will look something like this:
  <link rel="stylesheet" href="https://use.typekit.net/your-project-id.css">
*/

/* Manrope is loaded via <link> in includes/header.php (preconnect + stylesheet)
   instead of @import here, so it downloads in parallel with this file rather
   than being discovered only after this CSS is parsed. Reduces font-swap CLS. */


/*
  ========================================
  Root Variables
  ========================================
*/
:root {
  /* Global Color Palette */
  --global-blue: #23A8E1;
  --global-red: #E51C30;
  --global-yellow: #FFFF03;
  --global-green: #28BD2B;
  --global-orange: #FF7300;
  --global-purple: #8A60EA;
  --global-pink: #f7739E;
  --global-dark: #000000;
  --global-light: #FFFFFF;

  /* Typography */
  /* Use the font-family name provided by Adobe Fonts. */
  --font-headline: "ff-good-headline-web-pro-ext", sans-serif;
  --font-headline-pro: "ff-good-headline-web-pro", sans-serif;
  --font-body: 'Manrope', sans-serif;

  /* Spacing */
  --container-padding: 0 2rem;
  --section-padding: 5rem 0;
}

/*
  ========================================
  Base & Reset Styles
  ========================================
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  /* Prevent horizontal scroll */
}

body {
  font-family: var(--font-body);
  background-color: var(--global-dark);
  color: var(--global-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Prevent horizontal scroll on all pages */
  width: 100%;
  position: relative;
}

/* Remove dotted underline from abbreviations */
abbr,
abbr[title] {
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-style: none !important;
  text-decoration-color: transparent !important;
  border-bottom: none !important;
  cursor: help;
  /* Keep the help cursor to indicate there's a tooltip */
  /* Force removal of browser default styles */
  -webkit-text-decoration: none !important;
  -moz-text-decoration: none !important;
}

/* Skip Navigation Link for Accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 10000;
  padding: 1rem 1.5rem;
  background-color: #0a5278;
  /* Dark blue for AAA contrast (7:1) */
  color: var(--global-light);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.skip-link:focus {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  outline: 3px solid var(--global-red);
  outline-offset: 2px;
}

/* Visually Hidden Utility Class for AAA Compliance */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.main-content {
  width: 100%;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--container-padding);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headline);
  font-weight: 800;
  /* Adjust weight as needed */
  line-height: 1.1;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
}

h2 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

p {
  font-size: 1.1rem;
  max-width: 65ch;
  /* Improves readability */
}

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

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

/*
  ========================================
  Generic / Utility Classes
  ========================================
*/
/* ========================================
   STANDARDIZED BUTTON STYLES
   ======================================== */

/* Base button style - Blue outline */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 16px;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--global-blue);
  color: #fff;
  background-color: var(--global-blue);
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  line-height: 1;
  min-width: 180px;
}

.btn:hover {
  background-color: transparent;
  color: var(--global-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Dark button variant */
.btn-dark {
  display: inline-block;
  background: var(--global-dark);
  color: var(--global-light);
  border: 2px solid var(--global-dark);
  padding: 16px 40px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  line-height: 1;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 4px;
  min-width: 180px;
}

.btn-dark:hover {
  background: var(--global-light);
  color: var(--global-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* White button variant - for last sections with dynamic accent hover colors */
.btn-white {
  display: inline-block;
  background: #fff;
  color: #000;
  border: 2px solid #fff;
  padding: 16px 40px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  line-height: 1;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 4px;
  min-width: 180px;
  max-width: 210px;
  margin-top: 20px;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Page-specific white button hover colors (matches accent from second section) */
.btn-white--red:hover {
  background: var(--global-red);
  color: #fff;
  border-color: var(--global-red);
}

.btn-white--yellow:hover {
  background: var(--global-yellow);
  color: #000;
  border-color: var(--global-yellow);
}

.btn-white--blue:hover {
  background: var(--global-blue);
  color: #fff;
  border-color: var(--global-blue);
}

.btn-white--orange:hover {
  background: var(--global-orange);
  color: #000;
  border-color: var(--global-orange);
}

.btn-white--green:hover {
  background: var(--global-green);
  color: #000;
  border-color: var(--global-green);
}

.btn-white--purple:hover {
  background: var(--global-purple);
  color: #fff;
  border-color: var(--global-purple);
}

.btn-white--pink:hover {
  background: var(--global-pink);
  color: #fff;
  border-color: var(--global-pink);
}

/* Accent section button - white background on accent sections */
.btn-accent {
  display: inline-block;
  background: #fff;
  color: #000;
  border: 2px solid #fff;
  padding: 16px 40px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  line-height: 1;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 4px;
  min-width: 180px;
  max-width: 210px;
  margin-top: 20px;
}

.btn-accent:hover {
  background: #000;
  color: #fff;
  border-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Accent separator bar above footer on service pages */
.footer-separator {
  width: 100%;
  height: 4px;
  margin: 0;
  padding: 0;
}

.footer-separator--red {
  background-color: var(--global-red);
}

.footer-separator--yellow {
  background-color: var(--global-yellow);
}

.footer-separator--blue {
  background-color: var(--global-blue);
}

.footer-separator--orange {
  background-color: var(--global-orange);
}

.footer-separator--green {
  background-color: var(--global-green);
}

.footer-separator--purple {
  background-color: var(--global-purple);
}

.footer-separator--pink {
  background-color: var(--global-pink);
}

/* Mobile bottom padding for all service page last sections */
@media (max-width: 768px) {

  .service-content--black,
  .sem-content--black,
  .dm-content--black,
  .websites-content--black,
  .seo-content--black,
  .social-media-content--black,
  .advertising-content--black,
  .marketing-content--black {
    padding-bottom: 3rem !important;
  }
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/*
  ========================================
  Header Styles
  ========================================
*/
.site-header {
  padding: 1.5rem 0;
  position: relative;
  z-index: 1000;
}

.site-header__container {
  display: flex;
  align-items: center;
  position: relative;
}

.site-header__logo {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--global-light);
  width: 7%;
  z-index: 1001;
}

.site-header__nav {
  width: 72%;
  display: flex;
  justify-content: end;
}

.site-header__nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.site-header__nav-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--global-light);
  padding: 0.875rem 0.5rem;
  /* Increased for better touch targets (24px min) */
  border-bottom: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-header__nav-link:hover {
  color: var(--global-red);
}

.site-header__nav-link:hover::after {
  width: 100%;
  background: var(--global-red);
}

.site-header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--global-red);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header__cta-button {
  margin-left: auto;
  background-color: #fff;
  color: #000;
  border-radius: 0;
  border: 2px solid #fff;
  width: 16%;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.site-header__cta-button:hover {
  background-color: transparent;
  color: #fff;
  transform: none;
  box-shadow: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
  --burger-duration: 0.9s;
  --burger-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  transition: transform 200ms ease;
}

.mobile-menu-toggle::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transform: scale(0);
  opacity: 0;
  transition: transform var(--burger-duration) var(--burger-ease), opacity 200ms ease;
}

.mobile-menu-toggle[aria-expanded="true"]::after {
  transform: scale(1);
  opacity: 1;
}

.mobile-menu-toggle__line {
  width: 100%;
  height: 2px;
  background: var(--global-light);
  margin: 3px 0;
  transition: transform var(--burger-duration) var(--burger-ease), opacity 400ms ease, background-color 200ms ease;
  transform-origin: center;
  border-radius: 2px;
  position: relative;
  z-index: 1;
}

/* Ensure default state shows all lines and resets timing */
.mobile-menu-toggle:not([aria-expanded="true"]) .mobile-menu-toggle__line {
  opacity: 1;
  transform: none;
}

/* On close, uncross first, then bring the bottom line back slightly later */
.mobile-menu-toggle:not([aria-expanded="true"]) .mobile-menu-toggle__line:nth-child(1),
.mobile-menu-toggle:not([aria-expanded="true"]) .mobile-menu-toggle__line:nth-child(2) {
  transition-delay: 0ms;
}

.mobile-menu-toggle:not([aria-expanded="true"]) .mobile-menu-toggle__line:nth-child(3) {
  transition-delay: 420ms;
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__line:nth-child(1) {
  /* Move top line down, then rotate after bottom fades */
  transform: translateY(8px) rotate(45deg);
  transition-delay: 420ms;
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__line:nth-child(2) {
  /* Middle line rises and rotates to form the X with the top line */
  transform: translateY(-8px) rotate(-45deg);
  transition-delay: 540ms;
}

.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__line:nth-child(3) {
  /* Bottom line disappears first */
  opacity: 0;
  transition-delay: 0ms;
}

.mobile-menu-toggle:active {
  transform: scale(0.96);
}

/* Services Dropdown - BOLD & EDGY Design */
.services-dropdown {
  position: relative;
}

.services-dropdown__trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.services-dropdown__trigger::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--global-red), #ff6b35);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-dropdown--open .services-dropdown__trigger::before,
.services-dropdown__trigger:hover::before {
  width: 100%;
}

.services-dropdown__arrow {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 4px rgba(220, 38, 38, 0.5));
}

.services-dropdown--open .services-dropdown__arrow {
  transform: rotate(180deg) scale(1.1);
  filter: drop-shadow(0 0 8px rgba(220, 38, 38, 0.8));
}

.services-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(145deg, #0a0a0a 0%, #1a1a1a 50%, #000 100%);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 12px;
  padding: 0;
  min-width: 880px;
  /* wider base width */
  max-width: 94vw;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(220, 38, 38, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  backdrop-filter: blur(20px);
}

.services-dropdown--open .services-dropdown__menu,
.services-dropdown:hover .services-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

.services-dropdown__content {
  padding: 1.5rem;
  position: relative;
}

.services-dropdown__content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.5), transparent);
}

.services-dropdown__featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.services-dropdown__featured-link {
  display: block;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.services-dropdown__featured-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-dropdown__featured-link:hover::before {
  left: 100%;
}

.services-dropdown__featured-link:hover {
  transform: translateY(-3px) scale(1.02);
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(255, 107, 53, 0.1) 100%);
  border-color: rgba(220, 38, 38, 0.4);
  box-shadow:
    0 10px 30px rgba(220, 38, 38, 0.3),
    0 0 20px rgba(220, 38, 38, 0.1);
}

.services-dropdown__featured-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--global-red), #ff6b35);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.services-dropdown__featured-content h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--font-headline);
}

.services-dropdown__featured-content p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.3;
  font-weight: 400;
}

.services-dropdown__coming-soon {
  border-top: 1px solid rgba(220, 38, 38, 0.2);
  padding-top: 1rem;
}

.services-dropdown__coming-soon h4 {
  color: var(--global-red);
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  font-family: var(--font-headline);
}

.services-dropdown__soon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.services-dropdown__soon-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.services-dropdown__soon-item:hover {
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.3);
  color: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}

.services-dropdown__soon-icon {
  font-size: 1rem;
  filter: grayscale(1) opacity(0.7);
}

/* Simple Services Dropdown Styles */
.services-dropdown__simple {
  /* Two columns, exactly 7 per column using grid */
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(7, auto);
  grid-auto-columns: 1fr;
  column-gap: 0;
  row-gap: 0;
  padding: 0;
  background: linear-gradient(145deg, #0a0a0a 0%, #1a1a1a 50%, #000 100%);
  border-radius: 12px;
  min-width: 200px;
  max-width: none;
}

.services-dropdown__link {
  display: block;
  padding: 0.75rem 2.25rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 28px;
  font-weight: 500;
  border-radius: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  z-index: 0;
  font-family: var(--font-body);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  will-change: transform, text-shadow, letter-spacing;
  /* Prevent column breaks inside a link */
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}

/* Animated color sweep background from bottom-left to top-right */
.services-dropdown__link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--link-hover-color, transparent);
  transform-origin: bottom left;
  transform: scale(0);
  transition: transform 0.35s ease;
  z-index: -1;
}

.services-dropdown__link:last-child {
  border-bottom: none;
}

.services-dropdown__link:hover {
  color: #fff;
  /* Bold neon offset + glow using brand color */
  text-shadow:
    2px 2px 0 var(--link-hover-color, var(--global-red)),
    0 0 12px var(--link-hover-color, var(--global-red)),
    0 0 28px var(--link-hover-color, var(--global-red));
  transform: none;
  letter-spacing: normal;
}

.services-dropdown__link:hover::before {
  transform: scale(1.05);
}

/* Left icon for each dropdown link - DISABLED */
.services-dropdown__link::after {
  display: none;
}

/* Improve dropdown link text clarity on hover (reduce stipple/halftone artifacts) */
.services-dropdown__menu {
  /* Create a new stacking context so backdrop/filters don't affect glyph antialiasing */
  isolation: isolate;
}

.services-dropdown__link,
.services-dropdown__link:hover,
.services-dropdown__link:focus {
  /* Encourage crisper text rendering on dark backgrounds */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* Prevent composite jitter from transforms on ancestors */
  backface-visibility: hidden;
  text-shadow: none;
}

/* Per-link hover color mapping */
.services-dropdown__link[href*="media-buying"] {
  --link-hover-color: var(--global-red);
}

.services-dropdown__link[href*="amazon"] {
  --link-hover-color: var(--global-orange);
}

.services-dropdown__link[href*="sem"] {
  --link-hover-color: var(--global-yellow);
}

.services-dropdown__link[href*="paid-search"] {
  --link-hover-color: var(--global-pink);
}

.services-dropdown__link[href*="seo"] {
  --link-hover-color: var(--global-green);
}

.services-dropdown__link[href*="social-media"] {
  --link-hover-color: var(--global-purple);
}

.services-dropdown__link[href*="paid-social"] {
  --link-hover-color: var(--global-purple);
}

.services-dropdown__link[href*="advertising"] {
  --link-hover-color: var(--global-pink);
}

.services-dropdown__link[href*="direct-mail"] {
  --link-hover-color: var(--global-blue);
}

.services-dropdown__link[href*="websites"] {
  --link-hover-color: var(--global-orange);
}

.services-dropdown__link[href*="marketing"] {
  --link-hover-color: var(--global-red);
}

.services-dropdown__link[href*="client-services"] {
  --link-hover-color: var(--global-red);
}

.services-dropdown__link[href*="aeo-geo"] {
  --link-hover-color: var(--global-blue);
}

.services-dropdown__link[href*="programmatic"] {
  --link-hover-color: var(--global-green);
}

/* Light background colors need black text for ADA compliance */
/* Yellow background (SEM) */
.services-dropdown__link[href*="sem"]:hover {
  color: #000 !important;
  text-shadow:
    1px 1px 0 var(--global-yellow),
    0 0 12px var(--global-yellow),
    0 0 28px var(--global-yellow);
}

/* Green background (SEO, Programmatic) */
.services-dropdown__link[href*="seo"]:hover,
.services-dropdown__link[href*="programmatic"]:hover {
  color: #000 !important;
  text-shadow:
    1px 1px 0 var(--link-hover-color),
    0 0 12px var(--link-hover-color),
    0 0 28px var(--link-hover-color);
}

/* Orange background (Amazon, Websites) */
.services-dropdown__link[href*="amazon"]:hover,
.services-dropdown__link[href*="websites"]:hover {
  color: #000 !important;
  text-shadow:
    1px 1px 0 var(--link-hover-color),
    0 0 12px var(--link-hover-color),
    0 0 28px var(--link-hover-color);
}

/* Pink background (Paid Search, Advertising) - lighter shade, needs better contrast */
.services-dropdown__link[href*="paid-search"]:hover,
.services-dropdown__link[href*="advertising"]:hover {
  color: #000 !important;
  text-shadow:
    1px 1px 0 var(--link-hover-color),
    0 0 12px var(--link-hover-color),
    0 0 28px var(--link-hover-color);
}

/* Per-link icon mapping (SVG masks, consistent weight/size) - DISABLED */
/* Icons removed for cleaner dropdown appearance */

.services-dropdown__link:focus,
.services-dropdown__link:focus-visible {
  outline: 2px solid var(--link-hover-color, var(--global-red));
  outline-offset: 2px;
}

/* Services Dropdown Responsive */
@media (max-width: 1199px) {
  .services-dropdown__menu {
    min-width: 840px;
  }

  .services-dropdown__simple {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(7, auto);
    grid-auto-columns: 1fr;
    column-gap: 0;
    row-gap: 0;
  }

  .services-dropdown__featured {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .services-dropdown__featured-link {
    padding: 0.75rem;
  }

  .services-dropdown__featured-icon {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 1999px) {
  .services-dropdown__menu {
    left: 50%;
    right: auto;
    transform: translateX(-30%) translateY(-20px) scale(0.95);
    max-width: 92vw;
    /* Ensure it fits on screen with margin */
    margin-left: auto;
    margin-right: auto;
  }

  .services-dropdown--open .services-dropdown__menu,
  .services-dropdown:hover .services-dropdown__menu {
    transform: translateX(-30%) translateY(0) scale(1);
  }
}

@media (max-width: 991px) {
  .services-dropdown__menu {
    min-width: 560px;
    left: auto;
    right: 0;
    transform: none;
    border-radius: 16px;
  }

  .services-dropdown__simple {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(7, auto);
    grid-auto-columns: 1fr;
    column-gap: 0;
    row-gap: 0;
  }

  .services-dropdown--open .services-dropdown__menu {
    transform: none;
  }

  .services-dropdown__link {
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
  }

  .services-dropdown__content {
    padding: 1rem;
  }

  .services-dropdown__featured-content h3 {
    font-size: 0.875rem;
  }

  .services-dropdown__featured-content p {
    font-size: 0.7rem;
  }
}

@media (max-width: 767px) {
  .services-dropdown__menu {
    min-width: 340px;
    max-width: 95vw;
  }

  .services-dropdown__simple {
    display: block;
    /* Single column on small screens */
  }

  .services-dropdown__link {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }

  .services-dropdown__soon-grid {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .services-dropdown__soon-item {
    padding: 0.4rem 0.6rem;
    font-size: 0.7rem;
  }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Background rendered via ::before for diagonal peel */
  --overlay-bg: #000000e3;
  background: transparent;
  z-index: 2002;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform-origin: top right;
  --peel-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --peel-duration: 1400ms;
  --fade-duration: 1100ms;
  transition:
    opacity var(--fade-duration) var(--peel-ease),
    visibility 0s linear var(--fade-duration),
    clip-path var(--peel-duration) var(--peel-ease);
}

.mobile-menu-overlay--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity var(--fade-duration) var(--peel-ease),
    visibility 0s,
    clip-path var(--peel-duration) var(--peel-ease);
}

/* Diagonal peel background using pseudo-element */
.mobile-menu-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay-bg);
  pointer-events: none;
  transform-origin: top right;
  transition: clip-path var(--peel-duration) var(--peel-ease);
  /* Tiny triangle at top-right to bias diagonal peel toward bottom-left */
  clip-path: polygon(100% 0, 100% 0, 100% 2%, 98% 0);
  z-index: 0;
}

.mobile-menu-overlay--open::before {
  /* Full rectangle */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* Reduced motion: keep overlay simple without clip-path animation */
@media (prefers-reduced-motion: reduce) {
  .mobile-menu-overlay {
    transition: opacity 150ms linear, visibility 0s linear 150ms;
    background: var(--overlay-bg);
  }

  .mobile-menu-overlay::before {
    display: none;
  }

  .mobile-menu-overlay--open {
    transition: opacity 150ms linear, visibility 0s;
  }
}

.mobile-menu {
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 2rem;
  overflow-y: auto;
  position: relative;
  z-index: 1;
}

.mobile-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.mobile-menu__logo {
  height: 40px;
  width: auto;
  display: block;
}

.mobile-menu__close {
  background: none;
  border: none;
  color: var(--global-light);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: block;
  position: relative;
}

.mobile-menu__close:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

.mobile-menu__links {
  list-style: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mobile-menu__item {
  margin-bottom: 0.5rem;
}

.mobile-menu__link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  color: var(--global-light);
  font-family: var(--font-headline);
  font-size: 100px;
  font-weight: 800;
  line-height: 90px;
  letter-spacing: 0.01em;
  min-height: 90px;
  border-bottom: none;
  transition: color 0.25s ease, transform 0.25s ease;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
  transform-origin: center center;
}

.mobile-menu__link:hover {
  transform: scale(1.03);
}

.mobile-menu__link-text {
  font-family: var(--font-headline);
}

.mobile-menu__link-arrow {
  display: none;
}

.mobile-menu__services {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: none;
  border-radius: 0;
  margin-top: 0.25rem;
}

.mobile-menu__services--open {
  max-height: none;
  padding: 0.5rem 0;
  overflow: visible;
  -webkit-overflow-scrolling: touch;
}

.mobile-menu__service-link {
  display: block;
  padding: 0.5rem 0 0.5rem 2.5rem;
  background: none;
  border: none;
  border-radius: 0;
  margin-bottom: 0.25rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-headline);
  font-size: 50px;
  line-height: 35px;
  font-weight: 800;
  transition: color 0.25s ease, transform 0.25s ease;
  transform-origin: center center;
  text-align: center;
  padding-left: 0;
}

.mobile-menu__service-link:hover {
  color: var(--global-red);
  transform: scale(1.03);
}

/* Custom cursor for mobile overlay (pointer devices) */
/* Remove custom cursor; restore native pointer */

/* On hover, apply brand colors (only on hover) */
.mobile-menu__service-link[href*="media-buying"]:hover {
  color: var(--global-red);
  filter: brightness(1.15);
}

.mobile-menu__service-link[href*="amazon"]:hover {
  color: var(--global-red);
  filter: brightness(1.15);
}

.mobile-menu__service-link[href*="sem"]:hover {
  color: var(--global-yellow);
  filter: brightness(1.1);
}

.mobile-menu__service-link[href*="paid-search"]:hover {
  color: var(--global-pink);
  filter: brightness(1.15);
}

.mobile-menu__service-link[href*="seo"]:hover {
  color: var(--global-green);
  filter: brightness(1.15);
}

.mobile-menu__service-link[href*="social-media"]:hover {
  color: var(--global-purple);
  filter: brightness(1.15);
}

.mobile-menu__service-link[href*="paid-social"]:hover {
  color: var(--global-purple);
  filter: brightness(1.15);
}

.mobile-menu__service-link[href*="advertising"]:hover {
  color: var(--global-pink);
  filter: brightness(1.15);
}

.mobile-menu__service-link[href*="direct-mail"]:hover {
  color: var(--global-blue);
  filter: brightness(1.15);
}

.mobile-menu__service-link[href*="websites"]:hover {
  color: var(--global-orange);
  filter: brightness(1.15);
}

.mobile-menu__service-link[href*="marketing"]:hover {
  color: var(--global-red);
  filter: brightness(1.15);
}

.mobile-menu__service-link[href*="client-services"]:hover {
  color: var(--global-red);
  filter: brightness(1.15);
}

/* Per-link hover colors for top-level mobile menu items */
.mobile-menu__links .mobile-menu__item:nth-child(1) .mobile-menu__link:hover {
  color: var(--global-red);
}

.mobile-menu__links .mobile-menu__item:nth-child(2) .mobile-menu__link:hover {
  color: var(--global-yellow);
}

.mobile-menu__links .mobile-menu__item:nth-child(3) .mobile-menu__link:hover {
  color: var(--global-blue);
}

.mobile-menu__links .mobile-menu__item:nth-child(4) .mobile-menu__link:hover {
  color: var(--global-green);
}

.mobile-menu__links .mobile-menu__item:nth-child(5) .mobile-menu__link:hover {
  color: var(--global-orange);
}

.mobile-menu__links .mobile-menu__item:nth-child(6) .mobile-menu__link:hover {
  color: var(--global-purple);
}

.mobile-menu__links .mobile-menu__item:nth-child(7) .mobile-menu__link:hover {
  color: var(--global-pink);
}

.mobile-menu__coming-soon {
  text-align: center;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  font-style: italic;
}

.mobile-menu__cta {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu__cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  padding: 1.5rem;
  background-color: #fff;
  color: #000;
  border-radius: 0;
  border: 2px solid #fff;
  font-size: 1.125rem;
  font-weight: 700;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mobile-menu__cta-button:hover {
  background-color: transparent;
  color: #fff;
}

/* Prevent body scroll when mobile menu is open */
body.mobile-menu-open {
  overflow: hidden;
}

/* Focus styles for accessibility */
.site-header__nav-link:focus,
.services-dropdown__trigger:focus,
.services-dropdown__featured-link:focus,
.mobile-menu-toggle:focus,
.mobile-menu__close:focus,
.mobile-menu__link:focus,
.mobile-menu__service-link:focus,
.mobile-menu__cta-button:focus,
.site-header__cta-button:focus {
  outline: 2px solid var(--global-red);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .services-dropdown__menu {
    border-width: 3px;
  }

  .mobile-menu-overlay {
    background: var(--global-dark);
  }

  .services-dropdown__featured-link,
  .mobile-menu__service-link,
  .mobile-menu__cta-button,
  .site-header__cta-button {
    border: 2px solid #fff;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

  .site-header__nav-link,
  .services-dropdown__trigger,
  .services-dropdown__menu,
  .services-dropdown__featured-link,
  .mobile-menu-toggle__line,
  .mobile-menu-overlay,
  .mobile-menu__link,
  .mobile-menu__services,
  .mobile-menu__service-link,
  .mobile-menu__cta-button,
  .site-header__cta-button {
    transition: none;
  }

  .site-header__nav-link:hover,
  .services-dropdown__featured-link:hover,
  .mobile-menu__service-link:hover,
  .mobile-menu__cta-button:hover,
  .site-header__cta-button:hover {
    transform: none;
  }
}

/* Nav button width fix for medium screens */
@media (max-width: 1230px) and (min-width: 993px) {
  .site-header__cta-button {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
    min-width: 120px;
  }
}

/* Value Prop Section - Large tablet/small desktop - 1200px and below */
@media (max-width: 1200px) {
  .value-prop-section__container {
    padding-left: 60px;
  }


  .value-prop-section__lowlight {
    font-size: clamp(60px, 7vw, 85px);
  }

  .value-prop-section__container_right {
    margin-top: -90px;
  }

  .airplane img {
    width: 220px;
    height: auto;
  }
}

/* Value Prop Section - Medium screens - 900px and below */
@media (max-width: 900px) {
  .value-prop-section__container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-left: 2rem;
    padding-right: 0;
  }

  .value-prop-section__container_right {
    margin-top: 2rem;
    align-items: flex-end;
    align-self: stretch;
    width: 100%;
  }

  .value-prop-section__image {
    width: 100%;
    max-width: none;
    height: auto;
    margin-right: 0;
    margin-left: auto;
    display: block;
  }

  .value-prop-section__cta-button {
    align-self: flex-end;
    margin-right: 0;
  }

  .airplane img {
    width: 200px;
    height: auto;
  }
}

/* Mobile Homepage Responsive - 768px and below */
@media (max-width: 768px) {
  .hero-section {
    padding: 1rem 0;
  }

  .hero-section__heading {
    font-size: clamp(80px, 18vw, 120px);
    line-height: 0.85;
    margin-bottom: 1rem;
  }

  .hero-section__subheading {
    font-size: clamp(14px, 4vw, 16px);
    line-height: 1.4;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .value-prop-section {
    padding: 80px 0;
    margin-top: -150px;
  }


  .value-prop-section__lowlight {
    font-size: clamp(30px, 6vw, 50px);
  }

  .value-prop-section {
    padding: 80px 0;
    margin-top: -150px;
  }

  .value-prop-section__container {
    padding-left: 1rem;
    padding-right: 0;
    flex-direction: column;
    text-align: center;
  }

  .value-prop-section__container_right {
    margin-top: 1.5rem;
    align-items: flex-end;
    width: 100%;
  }

  .value-prop-section__image {
    width: 100%;
    max-width: none;
    height: auto;
    margin-right: 0;
  }

  .value-prop-section__cta-button {
    align-self: flex-end;
    margin-right: 0;
  }

  .airplane {
    display: none;
  }

  .airplane--1 {
    top: 80px;
    left: 20px;
  }

  .airplane--2 {
    top: 60px;
    right: 20px;
  }

  .airplane--3 {
    top: 280px;
    left: 30px;
  }

  .airplane--4 {
    top: 220px;
    right: 30px;
  }

  .hero-section__image {
    width: 90%;
    height: auto;
  }
}

/* Small mobile - 480px and below */
@media (max-width: 480px) {
  .hero-section__heading {
    font-size: clamp(60px, 16vw, 90px);
  }


  .value-prop-section__lowlight {
    font-size: clamp(24px, 5vw, 38px);
  }

  .airplane--1 {
    top: 60px;
    left: 10px;
  }

  .airplane--2 {
    top: 40px;
    right: 10px;
  }

  .airplane--3 {
    top: 200px;
    left: 15px;
  }

  .airplane--4 {
    top: 160px;
    right: 15px;
  }

  .value-prop-section {
    padding: 60px 0;
    margin-top: -100px;
  }

  .value-prop-section__container {
    padding-left: 0.5rem;
    padding-right: 0;
  }

  .value-prop-section__container_right {
    margin-top: 1rem;
    align-items: flex-end;
    width: 100%;
  }

  .value-prop-section__image {
    width: 100%;
    max-width: none;
    height: auto;
    margin-right: 0;
  }

  .value-prop-section__cta-button {
    align-self: flex-end;
    margin-right: 0;
  }
}

/* Mobile menu responsive breakpoint */
@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .site-header__nav {
    display: none;
  }

  .site-header__cta-button {
    display: none;
  }

  .site-header__logo {
    width: auto;
  }

  .services-dropdown__menu {
    min-width: 320px;
    left: 0;
    transform: translateX(0);
  }

  .services-dropdown--open .services-dropdown__menu {
    transform: translateX(0);
  }

  .services-dropdown__soon-grid {
    grid-template-columns: 1fr;
  }

  .airplane img {
    width: 200px;
    height: auto;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 1rem 0;
  }

  .site-header__logo {
    font-size: 1.5rem;
  }

  .mobile-menu {
    padding: 1.5rem;
  }

  .mobile-menu__header {
    margin-bottom: 2rem;
  }
}

/*
  ========================================
  Section Styles
  ========================================
*/

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 2.75rem 0 3.25rem 0;
  background-color: var(--global-dark);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.airplane {
  position: absolute;
  /* Transitions and animations are handled by scroll-animations.js */
  will-change: transform;
}

.airplane--1 {
  top: 180px;
  left: 100px;
  z-index: 8;
}

.airplane--2 {
  top: 113px;
  right: 110px;
  z-index: 8;
}

.airplane--3 {
  top: 600px;
  left: 150px;
  z-index: 8;
  transform: scaleX(-1);
  /* Flip horizontally to face left */
}

.airplane--4 {
  top: 473px;
  right: 149px;
  z-index: 8;
}

.hero-section__heading {
  color: var(--global-light);
  font-size: 240px;
  line-height: 220px;
}

.hero-section__subheading {
  margin: 0 auto 35px;
  font-style: normal;
  font-weight: 700;
  font-size: 17.4063px;
  line-height: 28px;
  text-align: center;
  text-transform: capitalize;
  color: #FFFFFF;
  max-width: 620px;
}

.hero-section__image {
  margin: 0 auto 0;
  position: relative;
  z-index: 4;
}

.hero-section__cta-button {
  /* Uses .btn base styles - just positioning */
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto;
  max-width: 210px;
}

/* Value Prop Section */
.value-prop-section {
  background-color: var(--global-blue);
  color: var(--global-dark);
  padding: 170px 0;
  margin-top: -320px;
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
}

.value-prop-section__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-left: 80px;
  max-width: none;
  padding-right: 0;
}

.value-prop-section__container_right {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 41px;
  position: relative;
  z-index: 5;
}

.value-prop-section__image {
  position: relative;
  z-index: 6;
  max-width: 100%;
  height: auto;
}

.value-prop-section__heading {
  font-size: clamp(88px, 8vw, 120px);
  max-width: 664px;
  line-height: 94px;
}

.value-prop-section__highlight {
  color: #fff;
}

.value-prop-section__lowlight {
  color: #fff;
  font-size: 100px;
  line-height: 80px;
}

.value-prop-section__cta-button {
  /* Uses .btn-dark base styles - just positioning */
  align-self: center;
}

/* Logos Bar Section */
.logos-section {
  background-color: var(--global-dark);
  padding: 2rem 2rem;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  width: 100%;
  overflow: hidden;
}

.logos-section__container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 3vw, 4rem);
  max-width: 1400px;
  margin: 0 auto;
}

.logos-section__logo {
  height: clamp(19px, 4vw, 70px);
  width: auto;
  object-fit: contain;
  flex-shrink: 1;
}

/* Nerds Section */
.nerds-section {
  position: relative;
  min-height: 914px;
  background-color: var(--global-light);
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.nerds-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 32%;
  height: 100%;
  background-color: var(--global-red);
  z-index: 0;
}

.nerds-section__container {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  max-width: none;
}

.nerds-section__image-wrapper {
  position: absolute;
  top: 50%;
  left: 32%;
  transform: translate(-65%, -50%);
  width: 650px;
  z-index: 2;
}

.nerds-section__text-content {
  width: 68%;
  margin-left: auto;
  padding: 0 4rem;
  color: var(--global-dark);
  text-align: center;
}

.nerds-section__heading {
  margin-bottom: 1.5rem;
  font-size: 128px;
  line-height: 107px;
}

.nerds-section__description {
  max-width: 590px;
  margin: 0 auto 2rem auto;
  text-align: center;
}

/*
  ========================================
  Services Section
  ========================================
*/

.services-section {
  text-align: center;
  background-color: var(--global-dark);
  padding: 120px 50px 170px;
  width: 100%;
  overflow: hidden;
}

.services-section__heading {
  margin-bottom: 1.5rem;
  font-size: 130px;
  line-height: 110px;
}

.services-section__description {
  margin: 0 auto 3rem auto;
  max-width: 900px;
  text-align: center;
}

.services-section-hp-paragraph {
  margin: 0 auto 1.5rem;
}

.services-section-hp-italics {
  font-style: italic;
}

.services-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0 auto;
  overflow: visible;
  /* Allow rocking animation to be fully visible */
}

.services-section__item {
  display: flex;
  align-items: center;
  padding: 0px 38px;
  background-color: var(--global-light);
  color: var(--global-dark);
  border-radius: 50px;
  font-family: var(--font-headline);
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  font-size: 70px;
  font-weight: 900;
  line-height: 75px;
  will-change: transform, opacity;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0);
  overflow: hidden;
  z-index: 1;
}

.services-section__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: -1;
  border-radius: 50px;
}

@keyframes quick-rock {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-8px);
  }

  75% {
    transform: translateX(8px);
  }

  100% {
    transform: translateX(0);
  }
}

.services-section__item:hover {
  color: var(--global-light);
  animation: quick-rock 0.3s ease-in-out;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.services-section__item:hover::before {
  transform: translateX(0);
}

/* Each service item's sliding fill color */
.services-section__item.service-direct-mail::before {
  background-color: var(--global-blue);
}

/* Blue */
.services-section__item.service-paid-social::before {
  background-color: var(--global-purple);
}

/* Purple */
.services-section__item.service-organic-social::before {
  background-color: var(--global-purple);
}

/* Purple */
.services-section__item.service-media-buying::before {
  background-color: var(--global-red);
}

/* Red */
.services-section__item.service-sem::before {
  background-color: var(--global-yellow);
}

/* Yellow */
.services-section__item.service-paid-search::before {
  background-color: var(--global-pink);
}

/* Pink */
.services-section__item.service-seo::before {
  background-color: var(--global-green);
}

/* Green */
.services-section__item.service-websites::before {
  background-color: var(--global-orange);
}

/* Orange */
.services-section__item.service-amazon::before {
  background-color: var(--global-orange);
}

/* Orange */
.services-section__item.service-aeo-geo::before {
  background-color: var(--global-blue);
}

/* Blue */
.services-section__item.service-programmatic::before {
  background-color: var(--global-green);
}

/* Green */
.services-section__item.service-client-services::before {
  background-color: var(--global-red);
}

/* Red */

/* Special case for yellow text */
.services-section__item.service-sem:hover {
  color: var(--global-dark);
}

.services-section__item::after {
  content: '';
  display: block;
  width: 61px;
  height: 61px;
  border-radius: 50%;
  margin-left: auto;
  flex-shrink: 0;
  background-color: rgba(204, 204, 204, var(--arrow-bg-opacity, 0));
  background-image: url('../img/arrow-top-right-large.png');
  background-size: 67%;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(var(--arrow-rotation, 0deg));
  opacity: var(--arrow-opacity, 0);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease-out, background-color 0.2s ease-out;
  will-change: transform, opacity;
}

.services-section__item:hover::after {
  transform: rotate(calc(var(--arrow-rotation, 0deg) + 15deg));
}

/* Service item dot colors - matched to each page's accent color */
.services-section__item.service-direct-mail::after {
  background-color: rgba(35, 168, 225, var(--arrow-bg-opacity, 0));
}

/* #23A8E1 blue */
.services-section__item.service-paid-social::after {
  background-color: rgba(138, 96, 234, var(--arrow-bg-opacity, 0));
}

/* #8A60EA purple */
.services-section__item.service-organic-social::after {
  background-color: rgba(138, 96, 234, var(--arrow-bg-opacity, 0));
}

/* #8A60EA purple */
.services-section__item.service-media-buying::after {
  background-color: rgba(229, 28, 48, var(--arrow-bg-opacity, 0));
}

/* #E51C30 red */
.services-section__item.service-sem::after {
  background-color: rgba(255, 234, 71, var(--arrow-bg-opacity, 0));
}

/* #FFEA47 yellow */
.services-section__item.service-paid-search::after {
  background-color: rgba(247, 115, 158, var(--arrow-bg-opacity, 0));
}

/* #f7739E pink */
.services-section__item.service-seo::after {
  background-color: rgba(40, 189, 43, var(--arrow-bg-opacity, 0));
}

/* #28BD2B green */
.services-section__item.service-websites::after {
  background-color: rgba(255, 115, 0, var(--arrow-bg-opacity, 0));
}

/* #FF7300 orange */
.services-section__item.service-amazon::after {
  background-color: rgba(255, 115, 0, var(--arrow-bg-opacity, 0));
}

/* #FF7300 orange */
.services-section__item.service-aeo-geo::after {
  background-color: rgba(35, 168, 225, var(--arrow-bg-opacity, 0));
}

/* #23A8E1 blue */
.services-section__item.service-programmatic::after {
  background-color: rgba(40, 189, 43, var(--arrow-bg-opacity, 0));
}

/* #28BD2B green */
.services-section__item.service-client-services::after {
  background-color: rgba(229, 28, 48, var(--arrow-bg-opacity, 0));
}

/* #E51C30 red */

/* Typewriter letter styling for transformer animation */
.service-letter {
  display: inline-block;
  transition: opacity 0.15s ease-out, transform 0.15s ease-out;
  will-change: opacity, transform;
}

/* Homepage Services Section - Responsive Styles (matching Services Page) */
@media (max-width: 1400px) and (min-width: 901px) {
  .services-section__item {
    font-size: clamp(50px, 4.5vw, 70px);
    padding: 0 30px;
  }

  .services-section__item::after {
    width: 55px;
    height: 55px;
  }
}

/* Homepage Services Section - Switch to 1 column at 900px */
@media (max-width: 900px) {
  .services-section__item {
    font-size: 70px;
    line-height: 75px;
    white-space: normal;
  }
}

/* Homepage Services Section - Mobile screens */
@media (max-width: 768px) {
  .services-section__item {
    font-size: clamp(50px, 10vw, 70px);
    padding: 0 30px;
  }
}

@media (max-width: 480px) {
  .services-section__item {
    font-size: clamp(40px, 10vw, 55px);
    padding: 0 25px;
  }

  .services-section__item::after {
    width: 50px;
    height: 50px;
  }
}

/*
  ========================================
  Services Page
  ========================================
*/

.hero-section-services {
  background-color: var(--global-dark);
  color: var(--global-light);
  text-align: center;
  padding: 3rem 2rem 4rem;
}

.hero-section-services__heading {
  font-size: clamp(100px, 15vw, 180px);
  line-height: 1;
  margin-bottom: 1.5rem;
  font-weight: 900;
}

.hero-section-services__description {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Services Grid Section - Same as homepage but with new class names */
.services-grid-section {
  text-align: center;
  background-color: var(--global-dark);
  padding: 0 50px 170px;
  width: 100%;
  overflow: hidden;
}

.services-grid-section__heading {
  margin-bottom: 1.5rem;
  font-size: clamp(60px, 10vw, 130px);
  line-height: clamp(60px, 9vw, 110px);
}

.services-grid-section__description {
  margin: 0 auto 3rem auto;
  max-width: 900px;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.services-grid-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(7, auto);
  grid-auto-flow: column;
  gap: 1rem;
  margin: 0 auto;
  overflow: visible;
}

.services-grid-section__item {
  display: flex;
  align-items: center;
  padding: 0px 38px;
  background-color: var(--global-light);
  color: var(--global-dark);
  border-radius: 50px;
  font-family: var(--font-headline);
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  font-size: 70px;
  font-weight: 900;
  line-height: 75px;
  will-change: transform, opacity;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0);
  overflow: hidden;
  z-index: 1;
  white-space: nowrap;
}

.services-grid-section__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: -1;
  border-radius: 50px;
}

.services-grid-section__item:hover {
  color: var(--global-light);
  animation: quick-rock 0.3s ease-in-out;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.services-grid-section__item:hover::before {
  transform: translateX(0);
}

/* Each service item's sliding fill color */
.services-grid-section__item.service-direct-mail::before {
  background-color: var(--global-blue);
}

.services-grid-section__item.service-paid-social::before {
  background-color: var(--global-purple);
}

.services-grid-section__item.service-organic-social::before {
  background-color: var(--global-purple);
}

.services-grid-section__item.service-media-buying::before {
  background-color: var(--global-red);
}

.services-grid-section__item.service-sem::before {
  background-color: var(--global-yellow);
}

.services-grid-section__item.service-paid-search::before {
  background-color: var(--global-pink);
}

.services-grid-section__item.service-seo::before {
  background-color: var(--global-green);
}

.services-grid-section__item.service-websites::before {
  background-color: var(--global-orange);
}

.services-grid-section__item.service-amazon::before {
  background-color: var(--global-orange);
}

.services-grid-section__item.service-aeo-geo::before {
  background-color: var(--global-blue);
}

.services-grid-section__item.service-programmatic::before {
  background-color: var(--global-green);
}

.services-grid-section__item.service-client-services::before {
  background-color: var(--global-red);
}

.services-grid-section__item.service-advertising::before {
  background-color: var(--global-pink);
}

.services-grid-section__item.service-marketing::before {
  background-color: var(--global-red);
}

/* Special case for yellow text */
.services-grid-section__item.service-sem:hover {
  color: var(--global-dark);
}

.services-grid-section__item::after {
  content: '';
  display: block;
  width: 61px;
  height: 61px;
  border-radius: 50%;
  margin-left: auto;
  flex-shrink: 0;
  background-color: rgba(204, 204, 204, var(--arrow-bg-opacity, 0));
  background-image: url('../img/arrow-top-right-large.png');
  background-size: 67%;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(var(--arrow-rotation, 0deg));
  opacity: var(--arrow-opacity, 0);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease-out, background-color 0.2s ease-out;
  will-change: transform, opacity;
}

.services-grid-section__item:hover::after {
  transform: rotate(calc(var(--arrow-rotation, 0deg) + 15deg));
}

/* Service item dot colors */
.services-grid-section__item.service-direct-mail::after {
  background-color: rgba(35, 168, 225, var(--arrow-bg-opacity, 0));
}

.services-grid-section__item.service-paid-social::after {
  background-color: rgba(138, 96, 234, var(--arrow-bg-opacity, 0));
}

.services-grid-section__item.service-organic-social::after {
  background-color: rgba(138, 96, 234, var(--arrow-bg-opacity, 0));
}

.services-grid-section__item.service-media-buying::after {
  background-color: rgba(229, 28, 48, var(--arrow-bg-opacity, 0));
}

.services-grid-section__item.service-sem::after {
  background-color: rgba(255, 234, 71, var(--arrow-bg-opacity, 0));
}

.services-grid-section__item.service-paid-search::after {
  background-color: rgba(247, 115, 158, var(--arrow-bg-opacity, 0));
}

.services-grid-section__item.service-seo::after {
  background-color: rgba(40, 189, 43, var(--arrow-bg-opacity, 0));
}

.services-grid-section__item.service-websites::after {
  background-color: rgba(255, 115, 0, var(--arrow-bg-opacity, 0));
}

.services-grid-section__item.service-amazon::after {
  background-color: rgba(255, 115, 0, var(--arrow-bg-opacity, 0));
}

.services-grid-section__item.service-aeo-geo::after {
  background-color: rgba(35, 168, 225, var(--arrow-bg-opacity, 0));
}

.services-grid-section__item.service-programmatic::after {
  background-color: rgba(40, 189, 43, var(--arrow-bg-opacity, 0));
}

.services-grid-section__item.service-client-services::after {
  background-color: rgba(229, 28, 48, var(--arrow-bg-opacity, 0));
}

.services-grid-section__item.service-advertising::after {
  background-color: rgba(247, 115, 158, var(--arrow-bg-opacity, 0));
}

.services-grid-section__item.service-marketing::after {
  background-color: rgba(229, 28, 48, var(--arrow-bg-opacity, 0));
}

/* Services Page - Gradual text scaling in 2-column layout */
@media (max-width: 1400px) and (min-width: 901px) {
  .services-grid-section__item {
    font-size: clamp(50px, 4.5vw, 70px);
    padding: 0 30px;
  }

  .services-grid-section__item::after {
    width: 55px;
    height: 55px;
  }
}

/* Services Page - Switch to 1 column at 900px */
@media (max-width: 900px) {
  .services-grid-section__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-flow: row;
    max-width: 600px;
    margin: 0 auto;
  }

  .services-grid-section__item {
    font-size: 70px;
    line-height: 75px;
    white-space: normal;
    width: 100%;
    justify-content: flex-start;
  }
}

/* Services Page - Mobile screens */
@media (max-width: 768px) {
  .services-grid-section {
    padding: 0 0 90px;
  }

  .services-grid-section__item {
    font-size: clamp(50px, 10vw, 70px);
    padding: 0 30px;
  }
}

@media (max-width: 480px) {
  .services-grid-section__item {
    font-size: clamp(40px, 10vw, 55px);
    padding: 0 25px;
  }

  .services-grid-section__item::after {
    width: 50px;
    height: 50px;
  }
}

/*
  ========================================
  Clients Page
  ========================================
*/

.clients-hero-section {
  background-color: var(--global-dark);
  color: var(--global-light);
  text-align: center;
  padding: 4rem 2rem 0;
}

.clients-hero-section__heading {
  font-size: clamp(80px, 12vw, 140px);
  line-height: 1;
  margin-bottom: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.clients-hero-section__description {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.6;
  max-width: 1000px;
  margin: 0 auto 2rem;
  color: #e8eaed;
}

.clients-hero-section__description em {
  font-style: italic;
  color: var(--global-light);
}

.clients-hero-section__subtitle {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  margin: 3rem auto 0;
  font-weight: 600;
  max-width: 1000px;
}

.client-logos-section {
  background-color: var(--global-dark);
  padding: 2rem 2rem 4rem;
}

.client-logos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3rem 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 160px;
  padding: 0.5rem;
  transition: transform 0.3s ease;
  aspect-ratio: 1 / 1;
}

.client-logo-item:hover {
  transform: scale(1.05);
}

.client-logo {
  max-width: 100%;
  height: auto;
  max-height: 200px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 1;
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

.client-logo-item:hover .client-logo {
  opacity: 1;
  animation: logoSpin 0.5s ease-in-out;
}

@keyframes logoSpin {
  0% {
    transform: rotateY(0deg);
  }

  100% {
    transform: rotateY(360deg);
  }
}

/* Clients Page Responsive */
@media (max-width: 1200px) {
  .client-logos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .client-logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
  }

  .client-logo-item {
    height: 140px;
  }

  .client-logo {
    max-height: 120px;
    /* Constrain logo height */
  }
}

@media (max-width: 768px) {
  .clients-hero-section {
    padding: 4rem 1.5rem 3rem;
  }

  .client-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .client-logo-item {
    height: 120px;
  }

  .client-logo {
    max-height: 100px;
    /* Constrain logo height */
  }
}

@media (max-width: 630px) {
  .client-logos-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 400px;
  }

  .client-logo-item {
    height: 140px;
    padding: 1rem;
    aspect-ratio: auto;
    /* Remove aspect ratio constraint */
  }

  .client-logo {
    max-height: 120px;
    /* Constrain logo height to match container */
    max-width: 100%;
  }
}

/*
  ========================================
  Careers Page
  ========================================
*/

.careers-hero-section {
  background-color: var(--global-dark);
  color: var(--global-light);
  text-align: center;
  padding: 4rem 2rem 0;
}

.careers-hero-section__heading {
  font-size: clamp(100px, 15vw, 180px);
  line-height: 1;
  margin-bottom: 2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.careers-hero-section__description {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.6;
  max-width: 1100px;
  margin: 0 auto;
  color: #e8eaed;
}

.careers-hero-section__description em {
  font-style: italic;
  color: var(--global-light);
}

.job-postings-section {
  background-color: var(--global-dark);
  color: var(--global-light);
  padding: 4rem 2rem 8rem;
}

.job-postings-section__heading {
  font-size: clamp(3.8rem, 5vw, 5.25rem);
  text-align: center;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.job-postings-list {
  max-width: 900px;
  margin: 0 auto;
}

.job-posting {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  transition: all 0.3s ease;
}

.job-posting:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.job-posting__header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.job-posting__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--global-light);
}

.job-posting__location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.job-posting__location-icon {
  flex-shrink: 0;
}

.job-posting__description {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.job-posting__description h3,
.job-posting__description h4,
.job-posting__description h5 {
  color: var(--global-light);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.job-posting__description h3 {
  font-size: 1.5rem;
}

.job-posting__description h4 {
  font-size: 1.25rem;
}

.job-posting__description ul,
.job-posting__description ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.job-posting__description li {
  margin-bottom: 0.5rem;
}

.job-posting__description p {
  margin-bottom: 1rem;
}

.job-posting__description strong {
  color: var(--global-light);
  font-weight: 600;
}

.job-posting__description em {
  font-style: italic;
}

.no-positions {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: 4rem 2rem;
}

.no-positions__image {
  max-width: 100%;
  height: auto;
  margin-bottom: 2rem;
  border-radius: 12px;
}

.no-positions__text {
  font-size: 1.25rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.no-positions__link {
  color: var(--global-light);
  text-decoration: underline;
  transition: opacity 0.3s ease;
}

.no-positions__link:hover {
  opacity: 0.8;
}

.careers-cta {
  max-width: 900px;
  margin: 4rem auto 0;
  padding: 2.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  text-align: center;
}

.careers-cta__text {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.careers-cta__link {
  color: var(--global-light);
  text-decoration: underline;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.careers-cta__link:hover {
  opacity: 0.8;
}

/* Careers Page Responsive */
@media (max-width: 768px) {
  .careers-hero-section {
    padding: 3rem 0 3rem;
  }

  /* Reduce container side padding on mobile to maximize space */
  .careers-hero-section .container,
  .job-postings-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .job-postings-section {
    padding: 3rem 0 4rem;
  }

  .job-posting {
    padding: 1.25rem 1rem;
    margin-bottom: 1.5rem;
  }

  .careers-cta {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .job-posting {
    padding: 1.5rem;
  }

  .job-posting__header {
    padding-bottom: 1rem;
  }
}

/*
  ========================================
  Legacy Section
  ========================================
*/

.legacy-section {
  position: relative;
  background-color: var(--global-light);
  color: var(--global-dark);
  padding: 200px 10px;
  width: 100%;
  overflow: hidden;
}

.legacy-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  /* Yellow background is 40% on the right */
  height: 100%;
  background-color: var(--global-yellow);
  z-index: 0;
}

.legacy-section__container {
  position: relative;
  z-index: 1;
  display: flex;
}

.legacy-section__text-content {
  width: 60%;
  padding-right: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.legacy-section__cta-button {
  /* Uses .btn-dark base styles */
}

.legacy-section__heading {
  margin-bottom: 1.5rem;
  font-size: 74px;
  text-align: center;
  line-height: 80px;
}

.legacy-section__description {
  margin-bottom: 2rem;
  max-width: 480px;
  text-align: center;
}

.legacy-section__divider {
  height: 1px;
  width: 80px;
  background-color: var(--global-dark);
  margin-bottom: 5rem;
  transform: rotate(90deg);
  margin-top: 3rem;
}

.legacy-section__image-wrapper {
  position: absolute;
  right: -196px;
  top: -310px;
  width: 64%;
  z-index: 2;
}

/*
  ========================================
  Footer Styles
  ========================================
*/
.site-footer {
  background-color: var(--global-dark);
  color: var(--global-light);
  padding: 5rem 0 0;
}

.site-footer__container {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
}

.site-footer__logo-column {
  flex-shrink: 0;
  align-self: center;
  width: 50%;
}

.site-footer__logo {
  display: inline-block;
  width: fit-content;
}

.site-footer__logo img {
  width: 250px;
  height: auto;
}

.site-footer__tagline {
  margin: 1rem 0 0;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  font-size: clamp(0.6rem, 2.8vw, 1rem);
  color: var(--global-light);
}

.site-footer__menus-column {
  display: flex;
  gap: 5rem;
  width: 25%;
  font-size: 22px;
}

.site-footer__menu-title {
  font-weight: 700;
  color: var(--global-blue);
  font-family: var(--font-body);
}

.site-footer__menu-text {
  font-size: inherit;
}

.site-footer__menu-links {
  list-style: none;
  font-size: 22px;
}

.site-footer__menu-links li {
  margin-bottom: -4px;
}

.site-footer__menu-links a {
  color: #fff;
  transition: color 0.3s ease;
}

.site-footer__menu-links a:hover {
  color: var(--global-light);
}

.site-footer__phone-number {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.site-footer__phone-number:hover {
  color: var(--global-blue);
}

.site-footer__social-icons {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.site-footer__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  color: #fff;
  transition: all 0.3s ease;
  text-decoration: none;
  border-radius: 4px;
}

.site-footer__social-icon:hover,
.site-footer__social-icon:focus {
  color: var(--global-blue);
  transform: translateY(-2px);
  outline: 2px solid var(--global-blue);
  outline-offset: 2px;
}

.site-footer__social-icon:focus {
  outline: 2px solid var(--global-blue);
  outline-offset: 2px;
}

.site-footer__social-icon svg {
  width: 28px;
  height: 28px;
}

/* Footer Bottom / Legal Section */
.site-footer__bottom {
  background-color: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  margin-top: 3rem;
}

.site-footer__legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer__copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

.site-footer__legal-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__legal-links li {
  position: relative;
}

.site-footer__legal-links li:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -0.9rem;
  color: rgba(255, 255, 255, 0.3);
}

.site-footer__legal-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: underline;
  text-decoration-color: transparent;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.site-footer__legal-links a:hover,
.site-footer__legal-links a:focus {
  color: var(--global-blue);
  text-decoration-color: var(--global-blue);
  outline: none;
}

.site-footer__legal-links a:focus-visible {
  outline: 2px solid var(--global-blue);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Legal Pages Styles */
.legal-page {
  padding: 4rem 0;
}

.legal-page__content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.legal-page__content h1 {
  font-size: clamp(4rem, 19vw, 120px);
  margin-bottom: 1rem;
  color: #fff;
  text-align: left;
  font-weight: bold;
}

.legal-page__updated {
  color: #a1a1a1;
  font-size: 0.95rem;
  margin-bottom: 3rem;
  font-style: italic;
  text-align: left;
}

.legal-section {
  margin-bottom: 3rem;
}

.legal-section h2 {
  font-size: clamp(1.75rem, 3vw, 2rem);
  margin-bottom: 1rem;
  color: var(--global-blue);
}

.legal-section h3 {
  font-size: 1.35rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--global-dark);
}

.legal-section p {
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 95%;
}

.legal-section ul {
  margin: 1rem 0 1rem 2rem;
  line-height: 1.8;
}

.legal-section li {
  margin-bottom: 0.5rem;
}

.legal-section a {
  color: var(--global-blue);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.legal-section a:hover,
.legal-section a:focus {
  color: var(--global-red);
}

.legal-section a:focus-visible {
  outline: 2px solid var(--global-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .legal-page {
    padding: 2rem 0;
  }

  .legal-section ul {
    margin-left: 1.25rem;
  }
}

/* Footer responsive styles for medium screens (768px-972px) */
@media (max-width: 972px) and (min-width: 769px) {
  .site-footer {
    padding: 4rem 2rem;
  }

  .site-footer__container {
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
  }

  .site-footer__logo-column {
    width: 100%;
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .site-footer__logo img {
    width: 250px;
  }

  .site-footer__menus-column {
    width: auto;
    flex: 0 0 auto;
    gap: 3rem;
    order: 2;
  }

  .site-footer__menu-title {
    font-size: 20px;
  }

  .site-footer__menu-text,
  .site-footer__menu-links {
    font-size: 18px;
  }

  .site-footer__social-icons {
    justify-content: center;
  }
}

/*
  ========================================
  Responsive Styles
  ========================================
*/

@media (min-width: 901px) and (max-width: 1424px) {
  .value-prop-section__heading {
    max-width: 52%;
  }

  .value-prop-section__container_right {
    max-width: 44%;
  }
}

/* Fix for Nerds Section and Legacy Section at medium-large screens */
@media (min-width: 1025px) and (max-width: 1236px) {

  /* Nerds Section fixes */
  .nerds-section__image-wrapper {
    width: 500px;
    /* Reduce image size to prevent overlap */
  }

  .nerds-section__text-content {
    text-align: right;
    /* Align text to the right instead of centered */
    padding-right: 2rem;
  }

  .nerds-section__description {
    margin-left: auto;
    margin-right: 0;
    /* Align description to the right */
  }

  /* Legacy Section fixes */
  .legacy-section {
    padding: 120px 10px;
    /* Reduce padding from 200px to 120px */
  }

  .legacy-section__image-wrapper {
    width: 55%;
    /* Slightly reduce image size for better fit */
    top: -180px;
    /* Move image down from -310px to better center it */
    right: -120px;
    /* Adjust right positioning */
  }
}

@media (max-width: 1024px) {
  .two-col {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .nerds-section__image-wrapper {
    margin: 0 auto;
    order: -1;
    /* Puts image on top */
    margin-bottom: 2rem;
  }

  .services-section__grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .services-section__item {
    width: 100%;
    justify-content: flex-start;
  }

  /* Tablet responsive styles */
  .hero-section__heading {
    font-size: clamp(120px, 28vw, 180px);
    line-height: 0.9;
  }


  .value-prop-section__lowlight {
    font-size: clamp(50px, 6vw, 75px);
  }

  /* Value prop section responsive improvements */
  .value-prop-section {
    padding: 120px 0;
    margin-top: -200px;
  }

  .value-prop-section__container {
    padding-left: 3rem;
    padding-right: 0;
    gap: 2rem;
  }


  .value-prop-section__lowlight {
    font-size: clamp(50px, 6vw, 75px);
  }

  .value-prop-section__container_right {
    margin-top: 0;
    align-items: flex-end;
    margin-right: 0;
    padding-right: 0;
    flex-shrink: 0;
  }

  .value-prop-section__image {
    margin-right: 0;
    max-width: none;
    width: 100%;
    height: auto;
  }

  .airplane--1 {
    top: 120px;
    left: 60px;
  }

  .airplane--2 {
    top: 80px;
    right: 60px;
  }

  .airplane--3 {
    top: 400px;
    left: 80px;
  }

  .airplane--4 {
    top: 320px;
    right: 80px;
  }

  /* Responsive for Nerds Section */
  .nerds-section {
    min-height: auto;
    padding-top: 300px;
    padding-bottom: 4rem;
  }

  .nerds-section::before {
    height: 400px;
    width: 100%;
  }

  .nerds-section__container {
    flex-direction: column;
  }

  .nerds-section__image-wrapper {
    position: relative;
    transform: none;
    left: auto;
    width: 80%;
    max-width: 500px;
    margin: -250px auto 0 auto;
  }

  .nerds-section__text-content {
    width: 100%;
    margin-left: 0;
    text-align: center;
    padding: 2rem;
  }

  /* Responsive for Legacy Section */
  .legacy-section {
    margin-top: 4rem;
    padding: 0;
  }

  .legacy-section::before {
    display: none;
  }

  .legacy-section__container {
    flex-direction: column;
    padding: 0;
  }

  .legacy-section__text-content {
    width: 100%;
    padding: 4rem 10px;
    text-align: center;
  }

  .legacy-section__divider {
    margin: 2rem auto 3rem auto;
  }

  .legacy-section__image-wrapper {
    position: relative;
    width: 100%;
    top: auto;
    right: auto;
    padding: 0;
    margin: 0;
  }
}

@media (max-width: 850px) {
  .value-prop-section__heading {
    line-height: 74px;
    padding: 0 1rem;
  }

  .value-prop-section__container {
    padding-left: 0;
  }

  .value-prop-section__container_right {
    padding-left: 1rem;
  }

  .nerds-section__text-content {
    padding: 2rem 0;
  }

  .nerds-section__heading {
    line-height: 77px;
    font-size: 100px;
  }

  .services-section {
    padding: 120px 25px 90px;
  }

  .services-section__container {
    padding: 0;
  }

  .legacy-section {
    padding: 0;
  }

  .legacy-section__text-content {
    padding: 110px 10px;
  }

  .legacy-section__image-wrapper {
    padding: 0;
    margin: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 700px) {
  .nerds-section::before {
    height: 300px;
  }
}

/*
  ========================================
  About Page Styles
  ========================================
*/

/* About Hero Section */
.hero-section-about {
  background-color: var(--global-dark);
  color: var(--global-light);
  text-align: center;
  padding: 2rem 0 8rem;
  position: relative;
  z-index: 1;
}

.hero-section-about__heading {
  font-size: clamp(140px, 14vw, 200px);
}

.hero-section-about__subheading {
  font-size: clamp(21px, 2vw, 26px);
  color: #fff;
  max-width: 850px;
  margin: 8px auto 0 auto;
  text-transform: capitalize;
}


/* Story Section */
.story-section {
  background-color: var(--global-yellow);
  color: var(--global-dark);
  padding: 15rem 0 8rem 0;
  /* Extra top padding to make space for the overlapping image */
  margin-top: -10rem;
  /* Pulls the section up */
  position: relative;
  text-align: center;
}

.story-section__container {
  position: relative;
  padding-top: 360px;
}

.story-section__image-wrapper {
  position: absolute;
  top: -15rem;
  /* Pulls the image up to overlap the hero */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  /* Control the max size of the image */
  z-index: 2;
}

.story-section__content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.story-section__text {
  max-width: 770px;
  font-size: 20px;
  line-height: 1.7;
  font-weight: 700;
  text-transform: capitalize;
}

.story-section__cta-button {
  /* Uses .btn-dark base styles */
}

/* Responsive Styles for About Page */
@media (max-width: 1024px) {
  .story-section {
    padding: 10rem 0 6rem 0;
    /* still overlapped but tighter */
    margin-top: -7rem;
    /* maintain slight overlap with hero */
  }

  .story-section__container {
    padding-top: 35%;
    /* reduce space reserved for overlapping image */
  }

  .story-section__image-wrapper {
    top: -12rem;
    /* keep image overlapping a hair */
    max-width: 680px;
  }

  .story-section__content-wrapper {
    gap: 1.5rem;
  }
}

@media (max-width: 850px) {
  .story-section__container {
    padding-top: 40%;
  }

  .story-section__image-wrapper {
    top: -8.5rem;
  }
}

@media (max-width: 768px) {
  .story-section {
    padding-top: 6.5rem;
    /* smaller section height */
    padding-bottom: 3.5rem;
    margin-top: -4rem;
    /* keep a slight overlap on mobile */
  }

  .story-section__container {
    padding-top: 50%;
    /* much less gap between image and content */
  }

  .story-section__image-wrapper {
    top: -7.5rem;
    /* subtle overlap maintained */
    width: 94%;
  }

  .story-section__content-wrapper {
    gap: 1.1rem;
    /* tighten space between elements */
  }

  .hero-section-about {
    padding: 2rem 0 6rem;
  }
}

/*
  ========================================
  Our Company Page Styles
  ========================================
*/

/* Hero Section */
.hero-section-company {
  background-color: var(--global-dark);
  color: var(--global-light);
  text-align: center;
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}

.hero-section-company__heading {
  font-size: clamp(105px, 14vw, 200px);
}

/* Full Width Image Section */
.company-image-section {
  background-color: var(--global-dark);
  width: 100%;
  overflow: hidden;
}

.company-image-section__wrapper {
  width: 100%;
  max-height: 364px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-image-section__image {
  width: 100%;
  height: 100%;
  max-height: 364px;
  object-fit: cover;
  object-position: top;
}

/* Company Description Section */
.company-description-section {
  background-color: var(--global-dark);
  color: var(--global-light);
  padding: 4rem 0 1rem;
  text-align: center;
}

.company-description-section__container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.company-description-section__text {
  font-size: 24px;
  line-height: 1.5;
  max-width: 900px;
  margin: 0 auto;
}

/* Company Photos Section */
.company-photos-section {
  background-color: var(--global-dark);
  padding: 4rem 0 8rem;
}

.company-photos-section__container {
  max-width: 1400px;
}

.company-photos-section__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  width: 100%;
  max-width: none;
}

/* Company Photo Cards */
.company-photo-card {
  width: 100%;
  /* transition removed - no hover effects */
}

/* Hover effect removed per user request */
/* .company-photo-card:hover {
  transform: translateY(-5px);
} */

.company-photo-card__graphic-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  /* 4:3 aspect ratio - adjust as needed */
  height: 0;
}

.company-photo-card__bg-color {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: -10px;
  right: -10px;
  z-index: 1;
}

.company-photo-card__bg-color--red {
  background-color: var(--global-red);
}

.company-photo-card__bg-color--blue {
  background-color: var(--global-blue);
}

.company-photo-card__bg-color--yellow {
  background-color: var(--global-yellow);
}

.company-photo-card__bg-color--green {
  background-color: var(--global-green);
}

.company-photo-card__bg-color--orange {
  background-color: var(--global-orange);
}

.company-photo-card__bg-color--purple {
  background-color: var(--global-purple);
}

.company-photo-card__photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

/* Camera Flash Effect */
.company-photo-card__flash {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0);
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-photo-card__camera-icon {
  width: 100px;
  height: 100px;
  color: #d1d5db;
  opacity: 0;
}

/* Hover animations removed per user request */
/* .company-photo-card:hover .company-photo-card__flash {
  animation: cameraFlash 0.6s ease-out;
}

.company-photo-card:hover .company-photo-card__camera-icon {
  animation: cameraIconFade 0.6s ease-out;
} */

@keyframes cameraFlash {
  0% {
    opacity: 1;
    background-color: rgba(255, 255, 255, 1);
  }

  50% {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.8);
  }

  100% {
    opacity: 0;
    background-color: rgba(255, 255, 255, 0);
  }
}

@keyframes cameraIconFade {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.05);
  }

  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .company-photos-section__row {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .company-description-section__text {
    font-size: 22px;
  }
}

@media (max-width: 650px) {
  .hero-section-company {
    padding: 2rem 0;
  }

  .company-photos-section__row {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .company-description-section__text {
    font-size: 20px;
  }

  .company-description-section {
    padding: 3rem 0 1rem;
  }

  .company-photos-section {
    padding: 3rem 0 6rem;
  }
}

@media (max-width: 480px) {
  .company-description-section__text {
    font-size: 18px;
  }
}

/*
  ========================================
  Team Page Styles
  ========================================
*/

/* Team Hero Section */
.hero-section-team {
  background-color: var(--global-dark);
  color: var(--global-light);
  text-align: center;
  padding: 4rem 0 5rem;
}

.hero-section-team__heading {
  font-size: clamp(115px, 27vw, 200px);
}

.hero-section-team__subheading {
  font-size: 1.25rem;
  color: #fff;
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.6;
  text-transform: capitalize;
}

/* Team Section */
.team-section {
  background-color: var(--global-dark);
  padding: 8rem 0 4rem;
}

.team-section__row {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 3rem;
  /* Default gap between team members */
}

.team-section__row:first-of-type {
  margin-bottom: 9rem;
}

/* Team Member Card */
.team-member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 240px;
}

.team-member-card__graphic-wrapper {
  position: relative;
  width: 100%;
  height: 240px;
  margin-bottom: 1.5rem;
}

.team-member-card__bg-white,
.team-member-card__bg-color {
  position: absolute;
  width: 100%;
  height: 100%;
}

.team-member-card__bg-white {
  background-color: var(--global-light);
  bottom: -10px;
  right: -10px;
  z-index: 1;
}

.team-member-card__bg-color {
  bottom: 0;
  right: 0;
  z-index: 2;
}

/* Color Modifiers */
.team-member-card__bg-color--red {
  background-color: var(--global-red);
}

.team-member-card__bg-color--blue {
  background-color: var(--global-blue);
}

.team-member-card__bg-color--yellow {
  background-color: var(--global-yellow);
}

.team-member-card__bg-color--green {
  background-color: var(--global-green);
}

.team-member-card__bg-color--orange {
  background-color: var(--global-orange);
}

.team-member-card__bg-color--purple {
  background-color: var(--global-purple);
}

.team-member-card__photo {
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  height: 152%;
  width: auto;
  z-index: 3;
  object-fit: cover;
  object-position: top;
}

.team-member-card__text-content {
  color: var(--global-light);
}

.team-member-card__name {
  font-family: var(--font-headline);
  font-size: 42px;
  margin-bottom: 0.5rem;
}

.team-member-card__title {
  font-family: var(--font-headline);
  font-size: 36px;
  color: #fff;
  line-height: 1;
  text-transform: uppercase;
}

/* Team Member Card Link Styles & Hover Effects */
.team-member-card-link {
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  cursor: pointer;
}

.team-member-card-link:hover .team-member-card {
  transform: translateY(-8px);
}

.team-member-card-link:hover .team-member-card__bg-color {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.team-member-card-link:hover .team-member-card__name {
  color: var(--global-blue);
}

/* Add smooth transitions to card elements */
.team-member-card {
  transition: transform 0.3s ease;
}

.team-member-card__bg-color {
  transition: box-shadow 0.3s ease;
}

.team-member-card__name {
  transition: color 0.3s ease;
}

/* Responsive Styles for Team Page */
/* All cards are uniform size - progressively shrink for narrower screens */

@media (max-width: 1300px) {
  .team-section__container {
    padding: 0 1rem;
  }

  .team-section__row {
    gap: 2.5rem;
  }

  .team-member-card {
    width: 220px;
  }
}

@media (max-width: 1200px) {
  .team-section__container {
    padding: 0 0.5rem;
  }

  .team-section__row {
    gap: 2rem;
  }

  .team-member-card {
    width: 200px;
  }
}

@media (max-width: 1100px) {
  .team-section__row {
    gap: 1.8rem;
  }

  .team-member-card {
    width: 185px;
  }

  .team-member-card__name {
    font-size: 36px;
  }

  .team-member-card__title {
    font-size: 32px;
  }
}

@media (max-width: 1000px) {
  .team-section__row {
    gap: 1.6rem;
  }

  .team-member-card {
    width: 170px;
  }

  .team-member-card__name {
    font-size: 33px;
  }

  .team-member-card__title {
    font-size: 29px;
  }
}

@media (max-width: 900px) {
  .team-section__row {
    gap: 1.4rem;
  }

  .team-member-card {
    width: 176px;
  }

  .team-member-card__name {
    font-size: 30px;
  }

  .team-member-card__title {
    font-size: 27px;
  }
}

@media (max-width: 820px) {
  .team-section__row {
    gap: 1.2rem;
  }

  .team-member-card {
    width: 148px;
  }

  .team-member-card__name {
    font-size: 28px;
  }

  .team-member-card__title {
    font-size: 25px;
  }
}

/* Mobile - Stack to single column */
@media (max-width: 768px) {
  .team-member-card-link {
    margin-bottom: 120px;
  }

  .team-section__row {
    flex-direction: column;
    align-items: center;
    gap: 5rem;
    padding-bottom: 3rem;
  }

  .team-section__row:first-of-type {
    margin-bottom: 0;
  }

  .team-member-card {
    width: 350px;
  }

  .team-member-card__graphic-wrapper {
    height: 330px;
  }

  .team-member-card__name {
    font-size: 60px;
  }

  .team-member-card__title {
    font-size: 46px;
  }

  .team-section__container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 600px) {
  .team-section__row {
    gap: 6rem;
    padding-bottom: 4rem;
  }

  .team-member-card {
    width: 330px;
  }

  .team-member-card__graphic-wrapper {
    margin-bottom: 2rem;
    height: 310px;
  }
}

@media (max-width: 480px) {
  .team-section__row {
    gap: 7rem;
  }

  .team-member-card {
    width: 310px;
  }

  .team-member-card__graphic-wrapper {
    height: 300px;
    margin-bottom: 2.5rem;
  }
}

/*
  ========================================
  Single Team Member Page Styles
  ========================================
  NOTE: For the new color modifiers to work, please add
  the following variables to your main styles.css file:
  :root {
    --global-green: #2ECC71;
    --global-orange: #E67E22;
    --global-purple: #8E44AD;
  }
*/

/* Hero Section */
.hero-section-single-member {
  background-color: var(--global-dark);
  color: var(--global-light);
  text-align: center;
  padding: 3rem 0 2rem;
}

.hero-section-single-member__heading {
  font-family: var(--font-headline);
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  max-width: none;
  font-size: clamp(110px, 15vw, 200px);
}

/* Name Bar Section */
.name-bar-section {
  padding: 7px 0px;
}

/* Color Modifiers for Name Bar */
.name-bar-section--red {
  background-color: var(--global-red);
}

.name-bar-section--blue {
  background-color: var(--global-blue);
}

.name-bar-section--yellow {
  background-color: var(--global-yellow);
}

.name-bar-section--green {
  background-color: var(--global-green);
}

.name-bar-section--orange {
  background-color: var(--global-orange);
}

.name-bar-section--purple {
  background-color: var(--global-purple);
}


.name-bar-section__container {
  display: flex;
  align-items: baseline;
  /* row-gap column-gap: keep the side-by-side spacing, but tighten the
     vertical gap when the name and title wrap onto separate lines */
  gap: 0.25rem 1.5rem;
  max-width: none;
  justify-content: center;
  /* justify-content centers the spans as boxes, but once a span fills the
     line its own wrapped text would fall back to the inherited left
     alignment -- keep that text centered too */
  text-align: center;
  flex-wrap: wrap;
  /* Allow wrapping on small screens */
}

.name-bar-section__name,
.name-bar-section__title {
  font-family: var(--font-headline);
  color: var(--global-light);
  text-transform: uppercase;
  margin: 0;
}

.name-bar-section--yellow .name-bar-section__name,
.name-bar-section--yellow .name-bar-section__title {
  color: #000;
}

.name-bar-section__name {
  font-size: clamp(90px, 9vw, 110px);
  font-weight: 800;
  line-height: 1;
}

.name-bar-section__title {
  font-size: clamp(1.8rem, 8vw, 88px);
  /* Responsive font size */
  font-weight: 400;
  line-height: 1;
}

/* Member Bio Section */
.member-bio-section {
  background-color: var(--global-dark);
  padding: 3rem 0 6rem;
}

.member-bio-section__container {
  max-width: 80%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 40% 1fr;
  /* Let the right column take remaining space */
  gap: 4rem;
  align-items: start;
}

.member-bio__photo-wrapper {
  background-color: var(--global-red);
  /* Default color */
  position: relative;
  aspect-ratio: 3 / 4;
  /* Creates a responsive tall rectangle */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Color Modifiers for Photo Background */
.member-bio__photo-wrapper--red {
  background-color: var(--global-red);
}

.member-bio__photo-wrapper--blue {
  background-color: var(--global-blue);
}

.member-bio__photo-wrapper--yellow {
  background-color: var(--global-yellow);
}

.member-bio__photo-wrapper--green {
  background-color: var(--global-green);
}

.member-bio__photo-wrapper--orange {
  background-color: var(--global-orange);
}

.member-bio__photo-wrapper--purple {
  background-color: var(--global-purple);
}


.member-bio__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-bio__text-wrapper {
  color: var(--global-light);
  max-width: 65ch;
  /* This constrains the text block for readability */
}

.member-bio__divider {
  width: 70%;
  height: 3px;
  background-color: var(--global-red);
  /* Default color */
  margin-bottom: 2.5rem;
}

/* Color Modifiers for Divider */
.member-bio__divider--red {
  background-color: var(--global-red);
}

.member-bio__divider--blue {
  background-color: var(--global-blue);
}

.member-bio__divider--yellow {
  background-color: var(--global-yellow);
}

.member-bio__divider--green {
  background-color: var(--global-green);
}

.member-bio__divider--orange {
  background-color: var(--global-orange);
}

.member-bio__divider--purple {
  background-color: var(--global-purple);
}


.member-bio__text {
  font-family: var(--font-body);
  color: #fff;
  line-height: 1.8;
  font-size: 1.1rem;
}

.member-bio__text:not(:last-child) {
  margin-bottom: 1.5rem;
}


/* Responsive Styles for Single Member Page */
@media (max-width: 1200px) {
  .member-bio-section__container {
    max-width: 90%;
  }
}

@media (max-width: 992px) {
  .member-bio-section__container {
    grid-template-columns: 1fr;
    /* Stack columns on smaller screens */
    max-width: 500px;
    gap: 3rem;
  }

  .member-bio__text-wrapper {
    padding-top: 0;
    margin: 0 auto;
    /* Center the text block when stacked */
    text-align: center;
  }

  .member-bio__divider {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .name-bar-section__container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }
}

@media (max-width: 768px) {
  .name-bar-section__container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
  }

  .member-bio__text {
    width: 92%;
    margin: 0 auto;
  }
}

@media (max-width: 503px) {
  .member-bio-section {
    padding-top: 0;
  }

  .name-bar-section {
    padding: 24px 0;
  }
}

/*
  ========================================
  Case Studies Page Styles
  ========================================
*/

/* Hero Section */
.hero-section-case-studies {
  background-color: var(--global-dark);
  color: var(--global-light);
  text-align: center;
  padding: 3rem 0 0;
}

.hero-section-case-studies__heading {
  font-size: clamp(6rem, 15vw, 200px);
}

.hero-section-case-studies__subheading {
  font-size: 1.25rem;
  color: #a0a0a0;
  max-width: 70ch;
  margin: 1.5rem auto 0 auto;
  line-height: 1.6;
}

/* Grid Section */
.case-studies-grid-section {
  background-color: var(--global-dark);
  padding: 2rem 0;
}

.case-study-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.case-study-card {
  display: block;
  text-decoration: none;
  background-color: #D9D9D9;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 508px;
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.case-study-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4);
}

.case-study-card__image-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
}

.case-study-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-study-card__metric {
  font-family: var(--font-headline);
  font-size: 150px;
  font-weight: 900;
  line-height: 1;
  color: var(--global-light);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.case-study-card__logo-wrapper {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 10px;
  border-radius: 6px;
  max-width: 120px;
}

.case-study-card__logo {
  max-width: 100%;
  height: auto;
  display: block;
}

.case-study-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.case-study-card__bottom-content {
  text-align: center;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.case-study-card__text-content {
  padding: 1.5rem;
}

.case-study-card__headline {
  font-family: var(--font-headline);
  color: var(--global-light);
  font-size: 28px;
  line-height: 1.1;
  margin: 0;
}

.case-study-card__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.case-study-card__link {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  border: 2px solid var(--global-light);
  color: var(--global-dark);
  background-color: #fff;
  border-radius: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1200px) {
  .case-study-card {
    max-width: 100%;
    /* Force cards to take full available width */
    width: 100%;
  }
}

@media (max-width: 768px) {
  .case-study-grid {
    grid-template-columns: 1fr;
  }

  .case-study-card__headline {
    font-size: 24px;
  }

  .case-study-card__bottom-content {
    padding: 30px 20px;
  }
}

@media (max-width: 400px) {
  .case-study-card__headline {
    font-size: 20px;
  }
}

/*
  ========================================
  Single Case Study Page Styles
  ========================================
*/
.single-case-study-page {
  background-color: var(--global-dark);
}

/* Hero Section (Re-using from archive page) */
.hero-section-case-studies {
  background-color: var(--global-dark);
  color: var(--global-light);
  text-align: center;
  padding: 3rem 0 1rem;
}

.hero-section-case-studies__heading {
  font-size: clamp(6rem, 15vw, 200px);
}

/* Single Page Hero Image */
.single-cs-hero-image {
  width: 100%;
  height: 287px;
  background-size: cover;
  background-position: center;
}

/* Subtitle Section */
.single-cs-subtitle-section {
  padding: 3rem 0 1rem;
  text-align: center;
}

.single-cs-subtitle {
  font-family: var(--font-headline);
  color: var(--global-blue);
  font-size: clamp(2rem, 6vw, 75px);
  ;
  max-width: 1200px;
  margin: 0 auto;
  line-height: 1.2;
}

/* Main Content Layout */
.single-cs-main-content {
  padding-bottom: 6rem;
  max-width: 1360px;
}

.single-cs-layout-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding: 4rem 0 2rem;
}

.single-cs-layout-section:not(:last-child) {
  border-bottom: solid 1px #222;
}

.single-cs-layout__right {
  justify-self: flex-end;
}

.single-cs-section-title {
  font-family: var(--font-headline);
  color: var(--global-light);
  font-size: 70px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.single-cs-wysiwyg-content {
  color: #ccc;
  line-height: 1.8;
}

.single-cs-wysiwyg-content p {
  margin-bottom: 1rem;
}

.single-cs-wysiwyg-content ul li {
  margin-left: 25px;
}

.single-cs-services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.service-tag {
  display: inline-block;
  background-color: var(--global-blue);
  color: var(--global-light);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-weight: bold;
}

.single-cs-image-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.single-cs-image-stack img {
  width: 100%;
  height: auto;
  display: block;
}

/* Modifier to reverse column order */
.single-cs-layout-section--reverse {
  grid-template-columns: 1fr 1fr;
  /* Explicitly set for reversal */
}

.single-cs-layout-section--reverse>.single-cs-layout__left {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.single-cs-layout-section--reverse>.single-cs-layout__right {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}


/* Not Found Section */
.not-found-section {
  text-align: center;
  padding: 8rem 0;
  background-color: var(--global-dark);
}

.not-found-section h1 {
  color: var(--global-red);
}

.not-found-section p {
  color: #ccc;
  margin: 1rem auto 2rem auto;
}

/* Responsive Styles */
@media (max-width: 992px) {

  .single-cs-layout-section,
  .single-cs-layout-section--reverse {
    grid-template-columns: 1fr;
  }

  .single-cs-layout-section--reverse>.single-cs-layout__left,
  .single-cs-layout-section--reverse>.single-cs-layout__right {
    grid-column: auto;
    grid-row: auto;
  }
}

/*
  ========================================
  Blog Page Styles
  ========================================
*/

.blog-archive {
  background-color: var(--global-dark);
  color: var(--global-light);
  padding: 3rem 0;
}

.blog-archive__title {
  font-family: var(--font-headline, inherit);
  text-align: center;
  font-size: clamp(6rem, 15vw, 200px);
  margin: 0 0 2rem 0;
  letter-spacing: 0;
}

.blog-archive__intro {
  max-width: 70ch;
  margin: 0 auto 3rem auto;
  text-align: center;
  color: #cfd2d4;
  line-height: 1.6;
  font-size: 1.125rem;
}

.blog-list {
  display: grid;
  gap: 2rem;
}

.blog-entry {
  display: grid;
  grid-template-columns: 67% 31%;
  gap: 1rem;
  align-items: stretch;
  border: 1px solid transparent;
  overflow: hidden;
  transition: border-color 0.2s ease;
  background-color: #1c1c1c;
}

.blog-entry__content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-entry__title {
  font-family: var(--font-headline, inherit);
  font-size: clamp(2rem, 4vw, 4rem);
  margin: 0;
  color: var(--global-blue);
  line-height: 1.2;
}

.blog-entry__meta {
  font-size: 0.9rem;
  color: #9aa0a6;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.blog-entry__blurb {
  color: #ffffff;
  line-height: 1.7;
  margin: 0.25rem 0 0 0;
}

/* Blog entry link wrapper */
.blog-entry-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-entry-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.blog-entry-link:hover .blog-entry {
  border-color: var(--global-blue);
}

.blog-entry__image-wrap {
  position: relative;
  background: #0b0c10;
  min-height: 260px;
  margin: 0;
  padding: 0;
}

.blog-entry__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  vertical-align: top;
}

.blog-entry__image--placeholder {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Single Post */
.blog-single {
  background-color: var(--global-dark);
  color: var(--global-light);
  padding: 3rem 0;
}

.blog-single.container p {
  max-width: none;
}

.blog-single__header {
  margin: 0 auto 1.5rem auto;
  padding: 0 5%;
}

.blog-single__title {
  font-family: var(--font-headline, inherit);
  font-size: clamp(40px, 10vw, 100px);
  line-height: 1;
  margin: 0;
}

.blog-single__image-wrap {
  margin: 1.5rem auto 1rem auto;
  padding: 0 5%;
}

.blog-single__meta {
  color: #b8b8b8;
  font-size: 1rem;
  margin: 1rem auto 2rem auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-single__meta time {
  font-weight: 500;
}

.blog-single__author {
  font-weight: 500;
}

.blog-single__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  overflow: hidden;
}

.blog-single__content {
  margin: 0 auto;
  padding: 0 5%;
  line-height: 1.4;
  color: #e8eaed;
  font-size: 19px;
}

.blog-single__content p {
  margin-bottom: 1.5rem;
  max-width: none;
}

.blog-single__content h1,
.blog-single__content h2,
.blog-single__content h3,
.blog-single__content h4,
.blog-single__content h5,
.blog-single__content h6 {
  margin: 2rem 0 1rem 0;
  font-family: var(--font-headline, inherit);
  color: var(--global-blue);
}

.blog-single__content ul,
.blog-single__content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.blog-single__content li {
  margin-bottom: 0.5rem;
}

.blog-single__content blockquote {
  margin: 2rem 0;
  padding: 1rem 2rem;
  border-left: 4px solid var(--global-blue);
  background: rgba(35, 168, 225, 0.1);
  font-style: italic;
}

.blog-single__content a {
  color: var(--global-blue);
  text-decoration: underline;
}

.blog-single__content a:hover {
  color: #fff;
}

.blog-single__content iframe {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 400px;
  margin: 2rem 0;
  border: 1px solid #333;
  border-radius: 8px;
  background: #111;
}

.blog-single__content iframe[src*="youtube.com"],
.blog-single__content iframe[src*="youtu.be"],
.blog-single__content iframe[src*="vimeo.com"] {
  aspect-ratio: 16 / 9;
  height: auto;
}

.blog-single__content iframe[src*="codepen.io"] {
  min-height: 500px;
}

.blog-single__content iframe[src*="maps.google.com"],
.blog-single__content iframe[src*="google.com/maps"] {
  min-height: 350px;
}

.blog-single__content img {
  margin: 2rem 0;
  display: block;
  max-width: 100%;
  height: auto;
}

.blog-single__content video {
  margin: 2rem 0;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.blog-single__nav {
  margin: 3rem auto 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #333;
  padding-top: 2rem;
}

.blog-nav-prev,
.blog-nav-next {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--global-blue);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.blog-nav-prev:hover,
.blog-nav-next:hover {
  background: #fff;
  color: var(--global-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(35, 168, 225, 0.3);
}

.blog-nav-spacer {
  width: 1px;
  /* Invisible spacer to maintain layout */
}

.nav-arrow {
  font-size: 1.2em;
  font-weight: bold;
}

.nav-text {
  font-size: 0.9rem;
}

/* Container helper shared */
.container--blog {
  padding: 0 3%;
  margin: 0 auto;
}

/* Mobile responsive padding for blog container */
@media (max-width: 768px) {
  .container--blog {
    padding: 0 2%;
  }

  /* Mobile responsive padding for single blog post */
  .blog-single__header,
  .blog-single__image-wrap,
  .blog-single__meta,
  .blog-single__content,
  .blog-single__nav {
    padding-left: 3%;
    padding-right: 3%;
  }

  .blog-nav-prev,
  .blog-nav-next {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}

/* Blog Pagination */
.blog-pagination {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #1e222a;
}

.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: #fff;
  color: var(--global-dark);
  border: 2px solid #fff;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.pagination-btn:hover {
  background: transparent;
  color: #fff;
  transform: translateY(-1px);
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pagination-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  text-decoration: none;
  color: #fff;
  border: 1px solid #1e222a;
  background: #111317;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.pagination-number:hover {
  background: var(--global-blue);
  border-color: var(--global-blue);
  color: #fff;
  transform: translateY(-1px);
}

.pagination-current {
  background: var(--global-blue);
  border-color: var(--global-blue);
  color: #fff;
  cursor: default;
}

.pagination-ellipsis {
  color: #666;
  padding: 0 0.5rem;
  font-weight: bold;
}

.pagination-info {
  text-align: center;
  color: #9aa0a6;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 900px) {
  .blog-entry {
    grid-template-columns: 1fr;
  }

  .blog-entry__image-wrap {
    min-height: 200px;
    order: -1;
    /* Image on top for mobile */
  }
}

@media (max-width: 600px) {
  .pagination-wrapper {
    flex-direction: column;
    gap: 1rem;
  }

  .pagination-numbers {
    order: -1;
    flex-wrap: wrap;
    justify-content: center;
  }

  .pagination-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

/*
  ========================================
  Contact Page Styles
  ========================================
*/

.contact-page {
  background-color: var(--global-dark);
  color: var(--global-light);
  padding: 3rem 0;
}

.contact-page__header {
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

.contact-page__title {
  font-family: var(--font-headline, inherit);
  font-size: clamp(4rem, 14vw, 160px);
  line-height: 1;
  margin: 0;
}

.contact-page__hero-image {
  max-width: 100%;
  height: auto;
  width: clamp(415px, 70vw, 520px);
  margin: 0 auto 3rem;
  display: block;
}

.contact-page__subtitle {
  color: #cfd2d4;
  margin: 0.5rem auto;
  font-size: 1.25rem;
  line-height: 1.4;
  padding: 0 5%;
  max-width: 970px;
}

.contact-phone {
  display: block;
  color: var(--global-blue);
  font-weight: 700;
  font-size: 54px;
  text-decoration: none;
  margin: 0 auto;
  text-align: center;
}

.contact-phone:hover {
  color: #fff;
}

.contact-form-wrap {
  margin: 2rem auto 0 auto;
  padding: 0 5%;
  max-width: 1400px;
}

.contact-form-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.contact-form__legend {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.floating-field {
  position: relative;
  z-index: 1;
}

.floating-field input,
.floating-field textarea {
  width: 100%;
  background: #ffffff;
  border: 2px solid transparent;
  color: #000000;
  border-radius: 0;
  padding: 1.1rem 1rem 1rem 1rem;
  font-size: 1rem;
  line-height: 1.4;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.floating-field input:hover,
.floating-field textarea:hover {
  background: #000000;
  color: var(--global-yellow);
  border: 2px solid var(--global-yellow);
}

.floating-field:hover label {
  color: var(--global-yellow);
}

.floating-field input:focus,
.floating-field textarea:focus {
  background: #000000;
  color: var(--global-yellow);
  border: 2px solid var(--global-yellow);
  box-shadow: none;
}

.floating-field label {
  position: absolute;
  left: 14px;
  top: 17px;
  background: transparent;
  color: #666666;
  font-size: 0.95rem;
  line-height: 1;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
  z-index: 1;
}

/* Textarea label at top */
.floating-field:has(textarea) label {
  top: 17px;
}

.floating-field input::placeholder,
.floating-field textarea::placeholder {
  color: transparent;
}

/* Float label when focused or when field has content */
.floating-field:focus-within label,
.floating-field[data-has-value="true"] label {
  top: -10px;
  left: 12px;
  padding: 3px 10px;
  font-size: 0.75rem;
  color: var(--global-yellow);
  background: #000000;
  border-radius: 0;
  font-weight: 600;
  letter-spacing: 0.3px;
  z-index: 2;
}

/* Errors */
.field-error {
  border-color: var(--global-red) !important;
  box-shadow:
    0 0 0 1px var(--global-red),
    0 4px 16px rgba(255, 69, 96, 0.25) !important;
  animation: error-shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes error-shake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-8px);
  }

  75% {
    transform: translateX(8px);
  }
}

.error-text {
  color: var(--global-red);
  font-size: 0.85rem;
  margin-top: 0.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Submit */
.contact-submit {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.contact-submit__btn {
  background: var(--global-blue);
  color: #ffffff;
  text-transform: uppercase;
  font-weight: 800;
  border: 2px solid transparent;
  padding: 1rem 2.5rem;
  border-radius: 0;
  cursor: pointer;
  font-size: 0.95rem;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(138, 43, 226, 0.25);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.contact-submit__btn:hover {
  transform: translateY(-2px) translateZ(0);
  background: var(--global-green);
  box-shadow: 0 12px 32px rgba(102, 252, 241, 0.35);
}

.contact-submit__btn:active {
  transform: translateY(0) translateZ(0);
  box-shadow: 0 4px 16px rgba(102, 252, 241, 0.25);
}

.contact-help {
  font-size: 0.95rem;
  color: #9aa0a6;
}

/* Contact Locations */
.contact-locations {
  margin: 4rem auto 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1400px;
}

.location {
  text-align: center;
}

.location__title {
  color: var(--global-blue);
  font-family: var(--font-headline, inherit);
  font-weight: 700;
  font-size: 50px;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
}

.location__address {
  color: #cfd2d4;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Thank-you modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9999;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal__dialog {
  width: min(540px, 92vw);
  background: #111317;
  border: 1px solid #1e222a;
  border-radius: 12px;
  padding: 1.5rem;
  color: #e8eaed;
}

.modal__title {
  font-size: 1.25rem;
  margin: 0 0 0.5rem 0;
}

.modal__actions {
  margin-top: 1rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.modal__btn {
  background: #fff;
  color: #0b0c10;
  border: 2px solid #fff;
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  cursor: pointer;
}

.modal__btn:hover {
  background: transparent;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-page__subtitle {
    font-size: 1.1rem;
    padding: 0 3%;
  }

  .contact-phone {
    font-size: 42px;
  }

  .contact-form-wrap {
    padding: 0 3%;
  }

  .contact-form-card {
    padding: 1.5rem 1rem;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .contact-locations {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 3%;
  }

  .location__title {
    font-size: 40px;
  }
}

/* =============================================================================
   MARKETING AMA PAGE (/marketing-ama)
   ============================================================================= */

/* Hero: sticker headline, kept short so the form shows above the fold */
.ama-hero {
  position: relative;
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
}

.ama-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--global-yellow);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  max-width: none;
  margin: 0;
}

.ama-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--global-red);
  animation: ama-live 1.8s infinite;
}

.ama-live-dot--green {
  background: var(--global-green);
  animation: none;
}

@keyframes ama-live {
  0% { box-shadow: 0 0 0 0 rgba(229, 28, 48, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(229, 28, 48, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 28, 48, 0); }
}

.ama-hero__title {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.3em 0.28em;
  font-size: clamp(3rem, 8vw, 120px);
  line-height: 0.92;
  margin: 1.25rem auto 1.75rem;
}

.ama-hero__title span {
  display: inline-block;
  padding: 0.08em 0.18em 0;
  color: #000;
}

.ama-hero__title span:nth-child(1) { background: var(--global-yellow); transform: rotate(-4deg); }
.ama-hero__title span:nth-child(2) { background: var(--global-pink); transform: rotate(3deg) translateY(0.06em); }
.ama-hero__title span:nth-child(3) { background: var(--global-blue); color: #fff; transform: rotate(-2deg); }

.ama-hero__lede {
  max-width: 64ch;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #cfd2d4;
}

.ama-hero__lede strong {
  color: #fff;
}

.ama-hero__plane {
  position: absolute;
  width: clamp(130px, 15vw, 230px);
  height: auto;
  pointer-events: none;
  animation: ama-float 6s ease-in-out infinite;
}

.ama-hero__plane--1 { left: -2%; top: 6%; }
.ama-hero__plane--2 { right: 1%; top: 62%; animation-delay: -3s; }

@keyframes ama-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(-3deg); }
}

/* Composer window that holds both form steps */
.ama-window {
  max-width: 880px;
  margin: 0 auto 5rem;
  background: #0d0d0d;
  border: 2px solid #fff;
  box-shadow: 14px 14px 0 var(--global-purple);
}

.ama-window__bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 2px solid #fff;
  padding: 0.75rem 1.25rem;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ama-window__bar img {
  height: 26px;
  width: auto;
}

.ama-window__status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--global-green);
}

.ama-window__body {
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
}

.ama-window .contact-form-card {
  padding: 0;
  overflow: visible;
}

.ama-window__bubble {
  position: relative;
  display: inline-block;
  background: #fff;
  color: #000;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 1.2rem;
  margin: 0 0 1.5rem;
  max-width: 34ch;
}

.ama-window__bubble::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -12px;
  border: 12px solid transparent;
  border-top-color: #fff;
  border-bottom: 0;
  border-left: 0;
}

/* The bubble asks the question, so the step-one heading is for screen readers only */
#ama-question-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.ama-page .floating-field textarea {
  min-height: 150px;
}

/* Captcha and submit button sit on the right of both AMA forms */
.ama-page .cf-turnstile,
.ama-page .contact-submit {
  justify-self: end;
}

.ama-page .contact-submit__btn {
  box-shadow: 6px 6px 0 #fff;
}

.ama-page .contact-submit__btn::after {
  content: " \2192";
}

.ama-page__step-title,
.ama-page__cta-title {
  font-family: var(--font-headline);
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 0.75rem 0;
}

.ama-page__step-title {
  font-size: clamp(2rem, 5vw, 50px);
  color: var(--global-yellow);
}

.ama-page__cta-title {
  font-size: clamp(1.6rem, 3.5vw, 36px);
  color: var(--global-light);
  margin-bottom: 2rem;
}

.ama-page__note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #cfd2d4;
  font-size: 1rem;
  margin: 0 0 1.25rem 0;
}

.ama-lock {
  flex: none;
  color: var(--global-green);
}

.ama-page__thanks {
  text-align: center;
  outline: none;
}

.ama-page__thanks-text {
  color: #cfd2d4;
  font-size: 1.25rem;
  line-height: 1.5;
  max-width: 640px;
  margin: 0 auto 1rem auto;
}

.ama-page__link-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--global-blue);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.ama-page__link-btn:hover {
  color: var(--global-yellow);
}

.ama-page__cta {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px dashed #444;
}

/* How it works band */
.ama-how {
  background: var(--global-blue);
  color: #000;
  padding: 5rem clamp(1.5rem, 5vw, 5rem);
}

.ama-how__title {
  font-size: clamp(2.5rem, 6vw, 80px);
  line-height: 0.92;
  max-width: 1300px;
  margin: 0 auto 3rem;
}

.ama-how__title span {
  color: #fff;
}

.ama-how__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1300px;
  margin: 0 auto;
  background: #000;
  border: 2px solid #000;
}

.ama-how__steps li {
  background: var(--global-blue);
  padding: 2rem 1.75rem 2.25rem;
}

.ama-how__num {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 4.5rem;
  line-height: 1;
  color: #fff;
  -webkit-text-stroke: 2px #000;
}

.ama-how__steps h3 {
  font-size: 1.9rem;
  line-height: 1;
  margin: 1rem 0 0.6rem;
}

.ama-how__steps p {
  font-weight: 500;
  margin: 0;
}

@media (max-width: 760px) {
  .ama-hero__plane { display: none; }
  .ama-window { box-shadow: 8px 8px 0 var(--global-purple); margin: 0 1rem 4rem; }
  .ama-how__steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .ama-live-dot,
  .ama-hero__plane { animation: none; }
}

/* =============================================================================
   SERVICE PAGES
   ============================================================================= */

/* Service Hero Section */
.service-hero {
  background: #000;
  padding: 4rem 5% 0 5%;
  text-align: center;
  position: relative;
}

.service-hero__title {
  font-family: var(--font-headline, inherit);
  font-size: clamp(6rem, 15vw, 180px);
  line-height: 1;
  color: #fff;
}

.service-hero--direct-mail .service-hero__title {
  font-size: clamp(7rem, 15vw, 180px);
}

.service-hero__subtitle {
  font-size: clamp(48px, 4vw, 52px);
  line-height: 1;
  font-weight: 600;
  color: var(--global-red);
  max-width: 900px;
  margin: 0 auto;
  text-transform: uppercase;
  font-family: var(--font-headline, inherit);
}

.service-hero--yellow {
  display: grid;
  grid-template-areas: "content";
  align-items: center;
  justify-items: center;
}

.service-hero--yellow .service-hero__content {
  grid-area: content;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-hero--yellow .service-hero__subtitle {
  margin-top: 20px;
  color: var(--global-yellow);
  transform: translateY(4rem);
}

.service-hero--blue {
  display: grid;
  grid-template-areas: "content";
  align-items: center;
  justify-items: center;
}

.service-hero--blue .service-hero__content {
  grid-area: content;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-hero--blue .service-hero__subtitle {
  color: var(--global-blue);
}

.service-hero--media-buying .service-hero__subtitle {
  color: var(--global-red);
}

/* Direct Mail Hero Styles */
.service-hero--direct-mail {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 4rem 5% 0 5%;
}

.service-hero--direct-mail .service-hero__content {
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
  text-align: center;
}

.service-hero--direct-mail .service-hero__subtitle {
  color: var(--global-blue);
}

.direct-mail-hero__visuals {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 600px;
  z-index: 1;
  pointer-events: none;
}

.direct-mail-hero__mailbox {
  position: absolute;
  left: -150px;
  bottom: 424px;
  height: clamp(338px, 43vh, 515px);
  width: auto;
  z-index: 2;
}

.direct-mail-hero__mailbox-img {
  width: 100%;
  height: auto;
  display: block;
}

.direct-mail-hero__airplanes {
  position: relative;
  width: 100%;
  height: 100%;
}

.direct-mail-hero__airplane {
  position: absolute;
  height: auto;
  z-index: 3;
}

/* Airplane20 (center) - largest airplane */
.direct-mail-hero__airplane--center {
  width: clamp(250px, 35vw, 487px);
}

/* Other airplanes - slightly smaller */
.direct-mail-hero__airplane--top-right,
.direct-mail-hero__airplane--bottom-right {
  width: clamp(200px, 30vw, 400px);
}

/* Airplane positioning - base positions for 1435px screen */
.direct-mail-hero__airplane--center {
  left: 57%;
  transform: translate(-51%, 66%) rotate(0deg);
  /* This airplane heads toward the mailbox */
}

.direct-mail-hero__airplane--top-right {
  left: 66%;
  transform: translate(13%, -50%) rotate(-10deg)
}

.direct-mail-hero__airplane--bottom-right {
  left: 71%;
  transform: translate(-5%, 160%) rotate(4deg);
}

/* Responsive airplane positioning */
/* Large screens - airplanes move further from mailbox */
@media (min-width: 1600px) {
  .direct-mail-hero__mailbox {
    left: -170px;
    bottom: 450px;
    height: clamp(350px, 45vh, 550px);
  }

  .direct-mail-hero__airplane--center {
    left: 60%;
    transform: translate(-51%, 66%) rotate(0deg);
  }

  .direct-mail-hero__airplane--top-right {
    left: 70%;
    transform: translate(13%, -50%) rotate(-10deg);
  }

  .direct-mail-hero__airplane--bottom-right {
    left: 75%;
    transform: translate(-5%, 160%) rotate(4deg);
  }
}

@media (min-width: 1800px) {
  .direct-mail-hero__mailbox {
    left: -190px;
    bottom: 420px;
    height: clamp(380px, 47vh, 580px);
  }

  .direct-mail-hero__airplane--center {
    left: 62%;
    transform: translate(-45%, 66%) rotate(0deg);
  }

  .direct-mail-hero__airplane--top-right {
    left: 73%;
    transform: translate(13%, -50%) rotate(-10deg);
  }

  .direct-mail-hero__airplane--bottom-right {
    left: 78%;
    transform: translate(-5%, 160%) rotate(4deg);
  }
}

/* Medium-large screens - very subtle movement toward mailbox */
@media (max-width: 1400px) {
  .direct-mail-hero__mailbox {
    left: -140px;
    bottom: 420px;
    height: clamp(330px, 42vh, 500px);
  }

  .direct-mail-hero__airplane--center {
    left: 56%;
    transform: translate(-40%, 86%) rotate(0deg);
  }

  .direct-mail-hero__airplane--top-right {
    left: 65%;
    transform: translate(13%, -50%) rotate(-10deg);
  }

  .direct-mail-hero__airplane--bottom-right {
    left: 70%;
    transform: translate(-5%, 160%) rotate(4deg);
  }
}

/* Medium screens - still very subtle movement */
@media (max-width: 1200px) {
  .direct-mail-hero__mailbox {
    left: -130px;
    bottom: 330px;
    height: clamp(320px, 40vh, 480px);
  }

  .direct-mail-hero__airplane--center {
    left: 55%;
    transform: translate(-28%, 106%) rotate(0deg);
  }

  .direct-mail-hero__airplane--top-right {
    left: 64%;
    transform: translate(13%, -50%) rotate(-10deg);
  }

  .direct-mail-hero__airplane--bottom-right {
    left: 69%;
    transform: translate(-5%, 160%) rotate(4deg);
  }
}

@media (max-width: 1000px) {
  .direct-mail-hero__visuals {
    min-height: 500px;
  }

  .direct-mail-hero__mailbox {
    left: -120px;
    bottom: 290px;
    height: clamp(310px, 38vh, 460px);
  }

  .direct-mail-hero__airplane--center {
    left: 54%;
    transform: translate(-26%, 96%) rotate(0deg);
  }

  .direct-mail-hero__airplane--top-right {
    left: 63%;
    transform: translate(13%, -50%) rotate(-9deg);
  }

  .direct-mail-hero__airplane--bottom-right {
    left: 68%;
    transform: translate(-5%, 160%) rotate(3deg);
  }
}

/* Tablet screens - maintain desktop-like positioning but smaller */
@media (max-width: 768px) {
  .service-hero--direct-mail {
    min-height: 85vh;
    padding: 3rem 4% 0 4%;
  }

  .direct-mail-hero__visuals {
    min-height: 295px;
  }

  .direct-mail-hero__mailbox {
    left: -80px;
    bottom: 152px;
  }

  .direct-mail-hero__airplane--center {
    left: 52%;
    width: clamp(150px, 25vw, 250px);
    transform: translate(-21%, 226%) rotate(0deg);
  }

  .direct-mail-hero__airplane--top-right {
    left: 60%;
    width: clamp(120px, 22vw, 200px);
    transform: translate(13%, 90%) rotate(-8deg);
  }

  .direct-mail-hero__airplane--bottom-right {
    left: 65%;
    width: clamp(120px, 22vw, 200px);
    transform: translate(-5%, 280%) rotate(2deg);
  }
}

@media (max-width: 584px) {
  .service-hero--direct-mail {
    min-height: 63vh;
    padding: 2rem 5% 0 5%;
  }

  .direct-mail-hero__mailbox {
    left: -60px;
    bottom: 30px;
  }
}

/* Mobile screens - maintain desktop positioning but much smaller */
@media (max-width: 480px) {
  .service-hero--direct-mail {
    min-height: 63vh;
    padding: 2rem 5% 0 5%;
  }

  .service-hero--direct-mail .service-hero__content {
    margin-bottom: 0;
  }

  .direct-mail-hero__visuals {
    min-height: 290px;
  }

  .direct-mail-hero__mailbox {
    left: -60px;
    bottom: 0;
  }

  .direct-mail-hero__airplane--center {
    left: 53%;
    transform: translate(-21%, 200%) rotate(0deg);
  }

  .direct-mail-hero__airplane--top-right {
    left: 69%;
    transform: translate(13%, 79%) rotate(-6deg);
  }

  .direct-mail-hero__airplane--bottom-right {
    left: 62%;
    transform: translate(-5%, 259%) rotate(1deg);
  }
}

/* Service Hero Image */
.service-image {
  background: #000;
  padding: 3rem 5% 0 5%;
  text-align: center;
}

.service-image--yellow {
  padding: 0 5% 0 0;
  display: grid;
  grid-template-areas: "image";
  justify-items: center;
}

.service-image__wrap {
  max-width: 800px;
  width: 50%;
  margin: 0 auto;
  z-index: 1;
}

.service-image--yellow .service-image__wrap {
  grid-area: image;
  max-width: 1000px;
  width: 80%;
  transform: translateX(-8%);
  z-index: 1;
}

.service-image--blue {
  padding: 0 5% 0 5%;
  display: grid;
  grid-template-areas: "image";
  justify-items: center;
}

.service-image--blue .service-image__wrap {
  grid-area: image;
  max-width: 1000px;
  width: 80%;
  z-index: 1;
}

.service-image__img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Service Logos Bar */
.service-logos {
  background-color: var(--global-dark);
  padding: 2rem 2rem;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
  width: 100%;
  overflow: hidden;
}

.service-logos__wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 3vw, 4rem);
  max-width: 1400px;
  margin: 0 auto;
}

.service-logos__img {
  height: clamp(19px, 4vw, 70px);
  width: auto;
  object-fit: contain;
  flex-shrink: 1;
}

/* Service Content Sections */
.service-content {
  padding: 0 5% 0 0;
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 3rem;
  align-items: center;
  min-height: 500px;
  margin-top: -43px;
  position: relative;
  z-index: 2;
}

.service-content--red {
  background: var(--global-red);
  margin-top: -70px;
}

.service-content--yellow {
  background: var(--global-yellow);
  margin-top: -80px;
  gap: 0;
  grid-template-columns: 70% 30%;
}

.service-content--black {
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 2rem 4rem;
}

.service-content__image {
  height: 100%;
  min-height: 400px;
  z-index: 11;
}

.service-content--yellow .service-content__image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 20px 2rem;
}

.service-content__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.service-content--yellow .service-content__img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

.service-content__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0 3rem;
}

.service-content__text--black {
  align-items: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
}

.service-content--black .service-content__image {
  display: none;
  /* Hide images in black sections */
}

.service-content--yellow .service-content__text {
  padding: 8rem 0;
  align-items: flex-start;
}

.service-content__headline {
  font-family: var(--font-headline, inherit);
  font-size: clamp(8rem, 18vw, 240px);
  line-height: 0.9;
  margin: 0;
  font-weight: 700;
}

.service-content--red .service-content__headline {
  color: #000;
}

.service-content--yellow .service-content__headline {
  color: #000;
  font-size: clamp(4.5rem, 12vw, 145px);
}

.service-content--black .service-content__headline {
  color: var(--global-red);
}

.service-content__text .service-content__headline--black {
  font-size: clamp(6rem, 16vw, 200px);
}

.service-content__subheadline {
  font-family: var(--font-headline, inherit);
  font-size: clamp(28px, 2.8vw, 35px);
  line-height: 1.2;
  margin: 0 0 1rem 0;
  font-weight: 700;
  color: var(--global-light) !important;
}

.service-content--red .service-content__subheadline {
  color: #000;
}

.service-content--yellow .service-content__subheadline {
  color: #000 !important;
  max-width: 600px;
}

.service-content--black .service-content__text--black h3.service-content__subheadline.service-content__subheadline--black {
  color: var(--global-red) !important;
  max-width: 621px;
  text-align: center;
}

.service-content__paragraph {
  font-size: 20px;
  line-height: 1.6;
  margin: 0;
  color: #fff;
  max-width: 620px;
}

.service-content__paragraph--black {
  text-align: center;

}

.service-content--red .service-content__paragraph {
  color: #fff;
}

.service-content--yellow .service-content__paragraph {
  color: #000;
  max-width: 740px;
}

/* SEM Page Specific Content Sections */
.sem-content {
  padding: 0;
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 0;
  align-items: center;
  min-height: 500px;
  margin-top: -80px;
}

.sem-content--yellow {
  background: var(--global-yellow);
  grid-template-columns: 40% 60%;
}

.sem-content--black {
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 2rem 4rem;
  margin-top: 0;
}

.sem-content__image {
  height: 84%;
  min-height: 400px;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 20px 0;
}

.sem-content--black .sem-content__image {
  padding: 0;
}

.sem-content__img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.sem-content__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 5% 8rem 0;
  align-items: flex-start;
}

.sem-content__text--black {
  align-items: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

.sem-content--black .sem-content__image {
  display: none;
  /* Hide images in black sections */
}

.sem-content__headline {
  font-family: var(--font-headline, inherit);
  font-size: clamp(4.5rem, 11vw, 141px);
  line-height: 0.9;
  margin: 0;
  font-weight: 700;
  color: #000;
}

.sem-content--black .sem-content__headline {
  color: var(--global-yellow);
}

.sem-content__text .sem-content__headline--black {
  font-size: clamp(6rem, 12vw, 130px);
}

.websites-content--orange .websites-content__headline {
  font-size: clamp(84px, 10vw, 116px);
  line-height: 0.8;
  font-weight: 800;
}

.sem-content__subheadline {
  font-family: var(--font-headline, inherit);
  font-size: clamp(28px, 2.8vw, 35px);
  line-height: 1.2;
  margin: 0 0 1rem 0;
  font-weight: 700;
  color: #000 !important;
  max-width: 600px;
}

.sem-content--black .sem-content__text--black h3.sem-content__subheadline.sem-content__subheadline--black {
  color: var(--global-yellow) !important;
  max-width: 621px;
  text-align: left;
}

.sem-content__paragraph {
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.4;
  margin: 0;
  color: #000;
  max-width: 740px;
}

.sem-content__paragraph--black {
  text-align: center;
}

.sem-content--black .sem-content__paragraph {
  color: #fff;
}

/* Direct Mail Page Specific Content Sections */
.dm-content {
  padding: 0 5% 0 0;
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 0;
  align-items: center;
  min-height: 500px;
}

.dm-content--blue {
  background: var(--global-blue);
  grid-template-columns: 40% 60%;
}

.dm-content--black {
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 2rem 4rem;
}

.dm-content__image {
  height: 100%;
  min-height: 400px;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 20px 2rem;
}

.dm-content--black .dm-content__image {
  padding: 0;
}

.dm-content__img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.dm-content__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 0;
  align-items: flex-start;
}

.dm-content__text--black {
  align-items: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

.dm-content--black .dm-content__image {
  display: none;
  /* Hide images in black sections */
}

.dm-content__headline {
  font-family: var(--font-headline, inherit);
  font-size: clamp(5.5rem, 11vw, 141px);
  line-height: 0.9;
  margin: 0;
  font-weight: 800;
  color: #000;
}

.dm-content--black .dm-content__headline {
  color: var(--global-blue);
}

.dm-content__text .dm-content__headline--black {
  font-size: clamp(6rem, 10vw, 136px);
}

.dm-content__subheadline {
  font-family: var(--font-headline, inherit);
  font-size: clamp(28px, 2.8vw, 35px);
  line-height: 1.2;
  margin: 0 0 1rem 0;
  font-weight: 700;
  color: #000 !important;
  max-width: 600px;
}

.dm-content--black .dm-content__text--black h3.dm-content__subheadline.dm-content__subheadline--black {
  color: var(--global-blue) !important;
  max-width: 621px;
  text-align: left;
}

.dm-content__paragraph {
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.4;
  margin: 0;
  color: #000;
  max-width: 740px;
}

.dm-content__paragraph--black {
  text-align: center;
}

.dm-content--black .dm-content__paragraph {
  color: #fff;
}

/* Progressive responsive breakpoints for SEM sections */
@media (max-width: 1200px) {
  .sem-content--yellow {
    grid-template-columns: 35% 65%;
  }

  .sem-content--black {
    grid-template-columns: 65% 35%;
  }
}

@media (max-width: 1024px) {
  .sem-content--yellow {
    grid-template-columns: 40% 60%;
  }

  .sem-content--black {
    grid-template-columns: 60% 40%;
  }
}

@media (max-width: 900px) {
  .sem-content--yellow {
    grid-template-columns: 45% 55%;
  }

  .sem-content--black {
    grid-template-columns: 55% 45%;
  }
}

@media (max-width: 800px) {
  .sem-content--yellow {
    grid-template-columns: 50% 50%;
  }

  .sem-content--black {
    grid-template-columns: 50% 50%;
  }
}

/* Progressive responsive breakpoints for Direct Mail sections */
@media (max-width: 1200px) {
  .dm-content--blue {
    grid-template-columns: 45% 55%;
  }

  .dm-content--black {
    grid-template-columns: 65% 35%;
  }
}

@media (max-width: 1024px) {
  .dm-content--blue {
    grid-template-columns: 50% 50%;
  }

  .dm-content--black {
    grid-template-columns: 60% 40%;
  }
}

@media (max-width: 900px) {
  .dm-content--blue {
    grid-template-columns: 55% 45%;
  }

  .dm-content--black {
    grid-template-columns: 55% 45%;
  }
}

@media (max-width: 800px) {
  .dm-content--blue {
    grid-template-columns: 50% 50%;
  }

  .dm-content--black {
    grid-template-columns: 50% 50%;
  }
}

/* Service Features Section */
.service-features {
  background: #000;
  padding: 6rem 2%;
}

.service-features--websites {
  padding: 3rem 2%;
}

.service-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.service-features__item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.service-features__image {
  width: 60%;
  aspect-ratio: 1;
  margin-bottom: 0.5rem;
  max-height: 130px;
}

.service-features__img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  max-width: 122px;
  margin: 0 auto;
}

.service-features__headline {
  font-family: var(--font-headline, inherit);
  font-size: clamp(4rem, 5vw, 55px);
  line-height: 1.1;
  margin: 0 0 0.5rem 0;
  color: #fff;
  font-weight: 700;
}

.service-features__text {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  color: #fff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .service-content {
    grid-template-columns: 40% 60%;
    gap: 2rem;
    padding: 0 3% 0 0;
    margin-top: -30px;
  }

  .service-content--black {
    grid-template-columns: 65% 35%;
    padding: 0 0 0 3%;
  }

  .service-content__paragraph {
    font-size: 18px;
    max-width: 500px;
  }

}


@media (max-width: 768px) {
  .service-hero {
    padding: 3rem 4% 0 4%;
  }

  .service-hero--yellow .service-hero__subtitle {
    transform: translateY(2rem);
  }

  .service-image {
    padding: 2rem 4% 0 4%;
  }

  .service-image--yellow .service-image__wrap {
    width: 95%;
    transform: translateX(0);
  }

  .service-image--blue .service-image__wrap {
    width: 95%;
    transform: translateX(0);
  }

  .service-image__wrap {
    width: 90%;
  }

  .service-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 0 3rem;
    text-align: center;
    margin-top: 0;
  }

  .service-content--black {
    grid-template-columns: 1fr;
    padding: 4rem 0 3rem;
  }

  .service-content--black .service-content__image {
    order: 1;
    padding-left: 125px;
  }

  .service-content--red .service-content__image {
    order: 1;
    padding-right: 75px;
  }

  .service-content--yellow .service-content__image {
    order: 1;
    padding: 40px;
  }

  .sem-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 0 3rem;
    text-align: center;
    margin-top: 0;
  }

  .sem-content--yellow {
    grid-template-columns: 1fr;
    margin-top: -40px;
  }

  .sem-content--black {
    grid-template-columns: 1fr;
    padding: 4rem 0 3rem;
  }

  .sem-content--black .sem-content__image {
    order: 1;
    padding: 40px;
  }

  .sem-content--yellow .sem-content__image {
    order: 1;
    padding: 0;
  }

  .sem-content--black .sem-content__text--black h3.sem-content__subheadline.sem-content__subheadline--black {
    text-align: center;
  }

  .sem-content--black .sem-content__text {
    order: 2;
    text-align: center;
    padding-left: 2rem;
  }

  .sem-content__text {
    padding: 2rem;
    align-items: center;
  }

  .sem-content__text--black {
    align-items: center;
    padding-left: 2rem;
  }

  .dm-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 0 3rem;
    text-align: center;
    margin-top: 0;
  }

  .dm-content--blue {
    grid-template-columns: 1fr;
  }

  .dm-content--black {
    grid-template-columns: 1fr;
    padding: 4rem 0 3rem;
  }

  .dm-content--black .dm-content__image {
    order: 1;
    padding: 40px;
  }

  .dm-content--blue .dm-content__image {
    order: 1;
    padding: 40px;
  }

  .dm-content--black .dm-content__text--black h3.dm-content__subheadline.dm-content__subheadline--black {
    text-align: center;
  }

  .dm-content--black .dm-content__text {
    order: 2;
    text-align: center;
    padding-left: 2rem;
  }

  .dm-content__text {
    padding: 2rem;
    align-items: center;
  }

  .dm-content__text--black {
    align-items: center;
    padding-left: 2rem;
  }

  .service-content--black .service-content__text--black h3.service-content__subheadline.service-content__subheadline--black {
    text-align: center;
  }

  .service-content--black .service-content__text {
    order: 2;
    text-align: center;
  }

  .service-content__text {
    padding: 2rem;
    align-items: center;
  }

  .service-content__text--black {
    align-items: center;
  }

  .service-content__headline {
    line-height: 0.95;
    margin-bottom: 1rem;
  }

  .service-content__subheadline {
    margin-bottom: 1.5rem;
  }

  .service-content__paragraph {
    font-size: 16px;
    max-width: 100%;
    margin: 0 auto;
  }

  .service-content__paragraph--black {
    text-align: center;
  }

  .service-content__image {
    min-height: 250px;
    order: 1;
  }

  .service-features {
    padding: 4rem 4%;
  }

  .service-features__item {
    max-width: 350px;
    margin: 0 auto;
  }

  .service-features__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .service-features__image {
    width: 30%;
    margin: 0 auto 1rem;
  }

  .service-features__headline {
    margin-bottom: 1rem;
  }

  /* Footer responsive styles for tablet */
  .site-footer {
    padding: 4rem 0 3rem;
  }

  .site-footer__container {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
  }

  .site-footer__logo-column {
    width: 100%;
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .site-footer__logo img {
    width: 250px;
  }

  .site-footer__menus-column {
    width: 100%;
    gap: 3rem;
    justify-content: center;
    order: 2;
  }

  .site-footer__menu-title {
    font-size: 20px;
    margin-bottom: 1rem;
  }

  .site-footer__menu-text {
    font-size: 18px;
    line-height: 1.5;
  }

  .site-footer__menu-links {
    font-size: 18px;
  }

  .site-footer__phone-number {
    font-size: 20px;
    font-weight: 600;
  }

  .site-footer__social-icons {
    justify-content: center;
    gap: 0.4rem;
  }

  .site-footer__social-icon {
    padding: 0.4rem;
  }

  .site-footer__social-icon svg {
    width: 24px;
    height: 24px;
  }

  .site-footer__legal {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .site-footer__legal-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .service-hero {
    padding: 2rem 5% 0 5%;
  }

  .service-hero--yellow .service-hero__subtitle {
    transform: translateY(2rem);
  }

  .service-image {
    padding: 0 5% 0 5%;
  }

  .service-image--yellow .service-image__wrap {
    width: 100%;
    transform: translateX(0);
  }

  .service-image--blue .service-image__wrap {
    width: 100%;
    transform: translateX(0);
  }

  .service-image__wrap {
    width: 95%;
  }

  .service-content {
    padding: 3rem 0 2rem;
    gap: 2rem;
  }

  .service-content--black {
    padding: 3rem 0 2rem;
  }

  .service-content--yellow .service-content__image {
    padding: 40px;
  }

  .sem-content {
    padding: 3rem 0 2rem;
    gap: 2rem;
  }

  .sem-content--black {
    padding: 3rem 0 2rem;
  }

  .sem-content__text {
    padding: 1rem;
    align-items: center;
  }

  .sem-content__text--black {
    align-items: center;
    padding-left: 1rem;
  }

  .sem-content--black .sem-content__image {
    padding: 0;
  }

  .sem-content--yellow .sem-content__image {
    padding: 0;
  }

  .dm-content {
    padding: 3rem 0 2rem;
    gap: 2rem;
  }

  .dm-content--black {
    padding: 3rem 0 2rem;
  }

  .dm-content__text {
    padding: 1rem;
    align-items: center;
  }

  .dm-content__text--black {
    align-items: center;
    padding-left: 1rem;
  }

  .dm-content--black .dm-content__image {
    padding: 0;
  }

  .dm-content--blue .dm-content__image {
    padding: 40px;
  }

  .service-content__text {
    padding: 1rem;
  }

  .service-content__headline {
    margin-bottom: 0.75rem;
  }

  .service-content__subheadline {
    margin-bottom: 1rem;
  }

  .service-content__image {
    min-height: 200px;
  }

  .service-features {
    padding: 3rem 5%;
  }

  .service-features__grid {
    gap: 2.5rem;
  }

  .service-features__image {
    width: 25%;
    margin-bottom: 0.75rem;
  }

  .service-features__headline {
    margin-bottom: 0.75rem;
  }

  /* Footer responsive styles */
  .site-footer {
    padding: 3rem 0 2rem;
  }

  .site-footer__container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .site-footer__logo-column {
    width: 100%;
    order: 1;
  }

  .site-footer__logo img {
    width: 250px;
  }

  .site-footer__menus-column {
    width: 100%;
    gap: 2rem;
    justify-content: center;
    order: 2;
  }

  .site-footer__menu-title {
    font-size: 18px;
    margin-bottom: 0.75rem;
  }

  .site-footer__menu-text {
    font-size: 16px;
    line-height: 1.4;
  }

  .site-footer__menu-links {
    font-size: 16px;
  }

  .site-footer__phone-number {
    font-size: 18px;
    font-weight: 600;
  }

  .site-footer__social-icons {
    justify-content: center;
    gap: 0.4rem;
  }

  .site-footer__social-icon {
    padding: 0.4rem;
  }

  .site-footer__social-icon svg {
    width: 22px;
    height: 22px;
  }
}

/* Additional responsive breakpoints for footer */
@media (max-width: 320px) {
  .site-footer {
    padding: 2rem 0 1.5rem;
  }

  .site-footer__container {
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .site-footer__logo img {
    width: 250px;
  }

  .site-footer__menus-column {
    flex-direction: column;
    gap: 2rem;
  }

  .site-footer__menu-title {
    font-size: 16px;
    margin-bottom: 0.5rem;
  }

  .site-footer__menu-text {
    font-size: 14px;
    line-height: 1.4;
  }

  .site-footer__menu-links {
    font-size: 14px;
  }

  .site-footer__phone-number {
    font-size: 16px;
  }

  .site-footer__social-icons {
    justify-content: center;
    gap: 0.3rem;
  }

  .site-footer__social-icon {
    padding: 0.3rem;
  }

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

/* Websites Page Styles */

.service-hero--websites .service-hero__title {
  font-size: clamp(9rem, 15vw, 180px);
  font-weight: 900;
}

.service-hero--websites .service-hero__subtitle {
  color: var(--global-orange);
  font-size: clamp(40px, 4vw, 52px);
}

.websites-page-hero__visuals {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 600px;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -140px;
  overflow: hidden;
  /* Prevent horizontal scroll */
}

.websites-page-hero__main-image {
  position: absolute;
  left: 50%;
  bottom: -32%;
  transform: translateX(-50%);
  height: auto;
  width: 850px;
  z-index: 0;
}

.websites-page-hero__main-img {
  width: auto;
  height: 100%;
  display: block;
}

.websites-page-hero__side-images {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* Prevent horizontal scroll from side images */
}

.websites-page-hero__side-img {
  position: absolute;
  width: auto;
  z-index: 1;
}

/* Left side image - positioned closer to center, slightly above middle */
.websites-page-hero__side-img--left {
  left: 24%;
  transform: translateY(-60%);
  height: clamp(120px, 17vh, 130px);
}

/* Right side image - positioned closer to center, slightly below middle */
.websites-page-hero__side-img--right {
  right: 20%;
  /* Moved closer to center */
  transform: translateY(-12%);
  height: clamp(120px, 21vh, 159px);
}

@media (max-width: 1399px) {
  .websites-page-hero__side-img--right {
    right: 13%;
  }
}

/* Websites Page Responsive adjustments - only for positioning changes */
@media (max-width: 1199px) {
  .websites-page-hero__side-img--left {
    left: 15%;
    /* Closer to center on smaller screens */
  }

  .websites-page-hero__side-img--right {
    right: 6%;
    /* Closer to center on smaller screens */
  }
}

@media (max-width: 991px) {
  .websites-page-hero__side-img--left {
    left: 10%;
    /* Even closer to center */
  }

  .websites-page-hero__side-img--right {
    right: 1%;
    /* Even closer to center */
  }
}

@media (max-width: 767px) {
  .websites-page-hero__side-img {
    display: none;
    /* Hide side images on mobile for cleaner look */
  }
}



/* Websites Page Content Sections */
.websites-content {
  display: flex;
  align-items: center;
  min-height: 500px;
  padding: 30px 0;
}

.websites-content--orange {
  background-color: var(--global-orange);
  position: relative;
  z-index: 10;
  overflow: hidden;
  /* Prevent horizontal scroll */
}

.websites-content--black {
  background-color: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 2rem 4rem;
}

.websites-content__image {
  flex: 1;
  max-width: 40%;
  padding-right: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.websites-content__img {
  width: 100%;
  max-width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  display: block;
}

.websites-content__text {
  flex: 1;
  max-width: 60%;
  max-width: 790px;
  color: #000;
  padding-right: 2%;
}

.websites-content__headline {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.websites-content__headline--black {
  color: var(--global-orange);
  font-size: clamp(6rem, 10vw, 136px);
  max-width: 1043px;
  font-weight: 800;
  line-height: 0.8;
}

.websites-content__subheadline {
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 18px;
}

.websites-content__paragraph {
  font-size: 20px;
  line-height: 1.6;
  margin: 0 auto;
}

.websites-content__text--black {
  padding: 0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.websites-content--black .websites-content__image {
  display: none;
  /* Hide images in black sections */
}

.websites-content__headline--black {
  color: #FF7300;
  font-size: clamp(6rem, 10vw, 136px);
}

.websites-content__paragraph--black {
  color: #FFFFFF;
  max-width: 800px;
  margin: 0;
}

/* Responsive adjustments for websites content */
@media (max-width: 991px) {
  .service-hero--websites {
    padding-left: 0;
    padding-right: 0;
  }

  .websites-content {
    flex-direction: column;
    text-align: center;
    padding: 0;
    /* Remove padding to make image flush */
  }

  .websites-content__image,
  .websites-content__text {
    max-width: 100%;
    padding: 0;
  }

  .websites-content__image {
    margin: 0;
    /* Remove margins - flush to edges */
    order: 2;
    height: 50vh;
    min-height: 300px;
    width: 100%;
  }

  .websites-content__img {
    height: 100%;
    max-height: none;
    min-height: 500px;
    object-fit: cover;
  }

  .websites-content__text {
    order: 1;
    padding: 40px 20px;
    /* Text padding only */
    margin: 0;
  }
}

@media (max-width: 767px) {
  .service-hero--websites {
    padding-left: 0;
    padding-right: 0;
  }

  .websites-content {
    padding: 2rem 0;
  }

  .websites-content__text {
    padding: 30px 20px;
    /* Text padding only */
    margin: 0;
  }

  .websites-content__image {
    margin: 0;
    /* Flush to edges */
    height: 40vh;
    min-height: 250px;
  }
}

/* SEO Page Styles */
.service-hero--seo .service-hero__title {
  font-size: clamp(9rem, 15vw, 180px);
  font-weight: 900;
  color: #fff;
}

/* Programmatic page title - prevent overflow */
#programmatic-title {
  font-size: clamp(5rem, 12vw, 180px) !important;
}

/* Programmatic page green section headline - separate from SEO page */
#programmatic-headline-green {
  font-size: clamp(6rem, 9vw, 100px) !important;
}

/* Programmatic page black section headline - separate from SEO page */
#programmatic-headline-black {
  color: var(--global-green);
  font-size: clamp(5rem, 9vw, 120px) !important;
  max-width: 1043px;
  font-weight: 800;
  line-height: 0.8;
}

/* Reduce title size on smaller screens to prevent overflow */
@media (max-width: 695px) {
  .service-hero--seo .service-hero__title {
    font-size: clamp(6rem, 15vw, 9rem);
  }
}

.service-hero--seo .service-hero__subtitle {
  color: var(--global-green);
  font-size: clamp(40px, 4vw, 52px);
}

.seo-page-hero__visuals {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 480px;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.seo-page-hero__main-image {
  width: 100%;
  z-index: 520;
  margin: 0 auto -73px;
  max-width: 820px;
  height: auto;
}

.seo-page-hero__main-image--programmatic {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.seo-page-hero__main-img {
  width: 100%;
  height: auto;
  display: block;
}

/* SEO Page Content Sections */
.seo-content {
  display: flex;
  align-items: center;
  min-height: 500px;
  padding: 50px 0;
}

.seo-content--green {
  background-color: var(--global-green);
}

.seo-content--blue {
  background-color: var(--global-blue);
}

.seo-content--orange {
  background-color: var(--global-orange);
}

.seo-content--black {
  background-color: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 2rem 4rem;
}

.seo-content__image {
  flex: 1;
  max-width: 40%;
  padding-right: 0;
  /* Flush left - no padding */
}

.seo-content__img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.seo-content__text {
  flex: 1;
  max-width: 60%;
  max-width: 790px;
  color: #000;
}

.seo-content__headline {
  font-size: clamp(84px, 10vw, 140px);
  font-weight: 800;
  line-height: 0.8 !important;
  margin-bottom: 20px;
  color: #000;
}

.seo-content__headline-programmatic {
  font-size: clamp(70px, 10vw, 100px);
}

.seo-content--programmatic .seo-content__image {
  max-width: 40%;
}

.seo-content--programmatic .seo-content__text {
  max-width: 800px;
}

.seo-content--programmatic .seo-content__img {
  height: 75vh;
  /* 25% reduction from 100vh */
}

.seo-content__paragraph {
  font-size: 20px;
  line-height: 1.6;
  margin: 0 auto;
  color: #FFFFFF;
}

.seo-content__text--black {
  padding: 0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.seo-content--black .seo-content__image {
  display: none;
  /* Hide images in black sections */
}

.seo-content__headline--black {
  color: var(--global-green);
  font-size: clamp(6rem, 10vw, 120px);
  max-width: 1043px;
  font-weight: 800;
  line-height: 0.8;
}

.seo-content__headline--black-blue {
  color: var(--global-blue);
  font-size: clamp(6rem, 10vw, 120px);
  max-width: 1043px;
  font-weight: 800;
  line-height: 0.8;
}

.seo-content__paragraph--black {
  color: #FFFFFF;
  max-width: 810px;
  margin: 0;
}

.service-features--seo {
  padding: 3rem 2%;
}

.service-features--aeo-geo {
  padding: 3rem 2%;
}

.service-features--orange {
  padding: 3rem 2%;
}

/* AEO/GEO specific image adjustments */
.aeo-geo-content__img {
  width: 100%;
  /* Make image slightly smaller than default */
  height: 100vh;
  /* Match most of viewport height */
  object-fit: contain;
}

.seo-content--blue .aeo-geo_content__image {
  padding-right: 2rem;
  /* Add space between image and content */
}

/* SEO Page Responsive adjustments */
@media (max-width: 1199px) {
  .seo-content__image {
    padding-right: 0;
  }
}

@media (max-width: 991px) {
  .seo-content {
    flex-direction: column;
    text-align: center;
    padding: 60px 0;
    /* Remove horizontal padding to allow image to be flush */
  }

  .seo-content__image,
  .seo-content__text {
    max-width: 100%;
    padding: 0;
  }

  .seo-content__image {
    margin-bottom: 40px;
    order: 2;
    height: 50vh;
    min-height: 300px;
    width: 100%;
    /* Full width, no offsets needed */
  }

  .seo-content__img {
    height: 100%;
    max-height: none;
    min-height: 500px;
    object-position: center center;
    width: 100%;
  }

  /* Programmatic page specific styles */
  .seo-content--programmatic .seo-content__image {
    max-width: 100%;
  }

  .seo-content--programmatic .seo-content__img {
    object-fit: contain;
    height: auto;
    min-height: auto;
  }

  .seo-content__text {
    order: 1;
    margin-bottom: 40px;
    padding: 0 20px;
    /* Apply horizontal padding only to text content */
  }

  /* AEO/GEO specific - more top padding in column view */
  .seo-content--blue {
    padding-top: 100px;
  }

  .seo-content--blue .aeo-geo_content__image {
    padding: 0;
    width: 100%;
    /* Full width, flush to edges */
  }

  .aeo-geo-content__img {
    width: 100%;
    min-width: 100%;
  }
}

@media (max-width: 767px) {
  .seo-content {
    padding: 60px 0 40px;
    /* Remove horizontal padding */
  }

  .seo-content--blue {
    padding-top: 80px;
  }

  .seo-content__image {
    margin-bottom: 30px;
    height: 40vh;
    min-height: 250px;
    width: 100%;
    /* Ensure full width */
  }

  .aeo-geo-content__img {
    min-height: 350px;
  }

  .seo-content__text {
    margin-bottom: 30px;
    padding: 0 20px;
    /* Apply horizontal padding to text content */
  }

  /* Programmatic page specific styles */
  .seo-content--programmatic .seo-content__image {
    max-width: 100%;
  }

  .seo-content--programmatic .seo-content__img {
    object-fit: contain;
    height: auto;
    min-height: auto;
  }

  .seo-page-hero__visuals {
    min-height: 280px;
  }
}

/* Social Media Page Styles */
.service-hero--social-media .service-hero__title {
  font-size: clamp(7rem, 15vw, 180px);
  font-weight: 900;
  color: #fff;
  line-height: 0.8;
}

.service-hero--social-media .service-hero__subtitle {
  color: var(--global-purple);
  font-size: clamp(40px, 4vw, 52px);
}

.social-media-page-hero__visuals {
  width: 100%;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 580px;
}

.social-media-page-hero__main-image {
  width: 100%;
  z-index: 520;
  margin: -60px auto 0;
  max-width: 1085px;
  height: auto;
}

.social-media-page-hero__main-image.paid-social-page {
  margin: 80px auto 0;
  max-width: 980px;
}

.social-media-page-hero__main-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Social Media Page Content Sections */
.social-media-content {
  display: flex;
  align-items: center;
  min-height: 500px;
  padding: 50px 0 0;
}

.social-media-content--purple {
  background-color: var(--global-purple);
}

.social-media-content--black {
  background-color: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 2rem 4rem;
}

.social-media-content__image {
  flex: 1;
  max-width: 40%;
  padding: 0;
  /* No padding - flush to edges */
}

.social-media-content__img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: 60% center;
  display: block;
  margin: 0;
  /* Flush to left and bottom */
}

.social-media-content__text {
  flex: 1;
  max-width: 60%;
  max-width: 790px;
  color: #000;
  padding-left: 20px;
}

.social-media-content__headline {
  font-size: clamp(84px, 10vw, 140px);
  font-weight: 800;
  line-height: 0.8 !important;
  margin-bottom: 20px;
  color: #000;
}

.social-media-content__paragraph {
  font-size: 20px;
  line-height: 1.6;
  margin: 0 auto;
  color: #FFFFFF;
}

.social-media-content__text--black {
  padding: 0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-media-content--black .social-media-content__image {
  display: none;
  /* Hide images in black sections */
}

.social-media-content__headline--black {
  color: var(--global-purple);
  font-size: clamp(6rem, 10vw, 136px);
  max-width: 1043px;
  font-weight: 800;
  line-height: 0.8;
}

.social-media-content__paragraph--black {
  color: #FFFFFF;
  max-width: 810px;
  margin: 0;
}

.service-features--social-media {
  padding: 5rem 2%;
}

/* Social Media Page Responsive adjustments */
@media (max-width: 1199px) {
  .social-media-content__image {
    padding: 0;
  }
}

@media (max-width: 991px) {
  .social-media-content {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px 0;
  }

  .social-media-content__image,
  .social-media-content__text {
    max-width: 100%;
    padding: 0;
  }

  .social-media-content__image {
    order: 2;
    height: 50vh;
    min-height: 300px;
  }

  .social-media-content__img {
    height: 100%;
    max-height: none;
    min-height: 500px;
    object-position: center;
    /* Center the image on mobile */
  }

  .social-media-content__text {
    order: 1;
    margin-bottom: 40px;
  }
}

/* Social Media Hero Responsive Adjustments */
@media (max-width: 1399px) {
  .social-media-page-hero__visuals {
    max-height: 520px;
  }

  .social-media-page-hero__main-image {
    margin: -50px auto 0;
    max-width: 950px;
  }

  .social-media-page-hero__main-image.paid-social-page {
    margin: 60px auto 0;
    max-width: 850px;
  }
}

@media (max-width: 1199px) {
  .social-media-page-hero__visuals {
    max-height: 460px;
  }

  .social-media-page-hero__main-image {
    margin: -40px auto 0;
    max-width: 800px;
  }

  .social-media-page-hero__main-image.paid-social-page {
    margin: 70px auto 0;
    max-width: 800px;
  }
}

@media (max-width: 991px) {
  .social-media-page-hero__visuals {
    max-height: 400px;
  }

  .social-media-page-hero__main-image {
    margin: -30px auto 0;
    max-width: 650px;
  }

  .social-media-page-hero__main-image.paid-social-page {
    margin: 70px auto 0;
    max-width: 660px;
  }
}

@media (max-width: 767px) {
  .social-media-content {
    padding: 60px 20px 0;
  }

  .social-media-content__image {
    height: 40vh;
    min-height: 250px;
  }

  .social-media-content__img {
    object-position: center;
    /* Ensure image is centered on smaller mobile */
  }

  .social-media-content__text {
    margin-bottom: 30px;
  }

  .social-media-page-hero__visuals {
    max-height: 320px;
  }

  .social-media-page-hero__main-image {
    margin: -20px auto 0;
    max-width: 500px;
  }

  .social-media-page-hero__main-image.paid-social-page {
    margin: 40px auto 0;
    max-width: 500px;
  }
}

@media (max-width: 575px) {
  .service-hero--social-media {
    padding: 2rem 5% 0.5rem 5%;
  }

  .social-media-page-hero__visuals {
    max-height: 280px;
  }

  .social-media-page-hero__main-image {
    margin: 10px auto 0;
    max-width: none;
  }
}

/* Advertising Page Styles */
.service-hero--advertising .service-hero__title {
  font-size: clamp(6rem, 15vw, 180px);
  font-weight: 900;
  color: #fff;
  line-height: 0.8;
}

.service-hero--advertising .service-hero__subtitle {
  color: var(--global-pink);
  font-size: clamp(40px, 4vw, 52px);
}

/* Red variant (Amazon) */
.service-hero--red .service-hero__subtitle {
  color: var(--global-red);
}

.advertising-page-hero__visuals.amazon-page {
  max-width: 750px;
  margin: 90px auto -20px;
  max-height: 500px;
}

.advertising-page-hero__visuals {
  width: 100%;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 580px;
  margin: 30px 0 0;
}

.advertising-page-hero__main-image {
  width: 100%;
  z-index: 520;
  margin: -60px auto 0;
  max-width: 1085px;
  height: auto;
}

.advertising-page-hero__main-image.paid-search-page {
  max-width: 900px;
  margin: 0 auto;
}

.advertising-page-hero__main-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Advertising Page Content Sections */
.advertising-content {
  min-height: 500px;
  padding: 50px 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Wrapper to constrain content width while keeping background full-width */
.advertising-content__image,
.advertising-content__text {
  max-width: 800px;
}

.advertising-content {
  /* Use padding to create max-width effect */
  padding-left: max(2rem, calc((100% - 1600px) / 2));
  padding-right: max(2rem, calc((100% - 1600px) / 2));
}

.advertising-content--purple {
  background-color: var(--global-pink);
}

/* Orange/Websites content variant (Amazon page) */
.advertising-content--websites {
  background-color: var(--global-orange);
}

/* Red content variant */
.advertising-content--red {
  background-color: var(--global-red);
}

/* Ensure all text in red section is white */
.advertising-content--red,
.advertising-content__text--red,
.advertising-content--red .advertising-content__headline,
.advertising-content__text--red .advertising-content__headline,
.advertising-content--red .advertising-content__paragraph,
.advertising-content__text--red .advertising-content__paragraph {
  color: #FFFFFF;
}

/* Ensure all text in websites/orange section is black */
.advertising-content--websites .advertising-content__headline,
.advertising-content__headline--websites,
.advertising-content__text--websites .advertising-content__headline,
.advertising-content--websites .advertising-content__paragraph,
.advertising-content__paragraph--websites,
.advertising-content__text--websites .advertising-content__paragraph {
  color: #000000;
}

.advertising-content--black {
  background-color: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 2rem 4rem;
  padding-left: max(2rem, calc((100% - 1200px) / 2));
  padding-right: max(2rem, calc((100% - 1200px) / 2));
}

.advertising-content__image {
  flex: 1;
  max-width: 50%;
  /* Increased further to allow more overlap */
  padding: 0 0 40px 30px;
  /* Left and bottom padding */
  position: relative;
  z-index: 2;
  /* Ensure image appears above text area */
}

.advertising-content__img {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  object-position: 60% center;
  display: block;
  margin: 0;
}

.advertising-content__text {
  flex: 1;
  max-width: 50%;
  color: #000;
  padding-left: 20px;
  position: relative;
}

/* Pink section specific styles (with image overlap) */
.paid-search-page.advertising-content__text--pink {
  z-index: 1;
  /* Behind the image */
}

.advertising-content__text--pink {
  position: relative;
  z-index: 3;
  /* Ensure text container is above image */
}

.advertising-content__text--pink .btn-accent {
  position: relative;
  z-index: 10;
  /* Ensure button is clickable above image */
}

/* Red section: no overlap, sit side-by-side */
.advertising-content__text--red {
  padding-top: 0;
  margin-left: 0;
}

/* Red section layout/image sizing adjustments */
.advertising-content--red .advertising-content__image {
  max-width: 40%;
  padding: 0 30px;
}

.advertising-content--red .advertising-content__text {
  max-width: 60%;
  padding: 0 30px;
}

.advertising-content--red .advertising-content__img {
  height: auto;
  object-fit: cover;
}

/* Amazon page specific styles */
.advertising-content--websites.amazon-page .advertising-content__image {
  max-width: 40%;
}

.advertising-content--websites.amazon-page .advertising-content__text {
  max-width: 60%;
}

.advertising-content--websites.amazon-page .advertising-content__img {
  height: 75vh;
  /* Make image a bit smaller */
}

/* Paid Search Page Specific Styles */
.advertising-content.paid-search-page .advertising-content__image {
  max-width: 40%;
  padding: 15px;
}

.advertising-content.paid-search-page .advertising-content__text {
  padding: 30px;
  margin-left: 0;
  max-width: 100%;
  width: 100%;
}

.advertising-content.paid-search-page .advertising-content__img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  object-position: center;
}

.advertising-content__headline {
  font-size: clamp(82px, 9vw, 120px);
  font-weight: 800;
  line-height: 0.8 !important;
  margin-bottom: 20px;
  color: #000;
}

.advertising-content__paragraph {
  font-size: 20px;
  line-height: 1.6;
  color: #FFFFFF;
}

/* Black section specific styles (no overlap) */
.advertising-content__text--black {
  padding: 0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: auto;
}

.advertising-content--black .advertising-content__image {
  display: none;
  /* Hide images in black sections */
}

.advertising-content__headline--black {
  color: var(--global-pink);
  font-size: clamp(6rem, 10vw, 136px);
  max-width: 1043px;
  font-weight: 800;
  line-height: 0.8;
}

/* Red alt for black section headline (Amazon variant) */
.advertising-content__headline--red {
  color: var(--global-red);
}

/* Orange/Websites alt for black section headline (Amazon variant) */
.advertising-content__headline--websites {
  color: var(--global-orange);
}

.advertising-content__paragraph--black {
  color: #FFFFFF;
  max-width: 800px;
  margin: 0;
}

.service-features--advertising {
  padding: 5rem 2%;
}

/* Advertising Page Responsive adjustments */
@media (max-width: 1199px) {
  .advertising-content__image {
    padding: 0;
  }

  .advertising-content--red .advertising-content__image,
  .advertising-content--red .advertising-content__text {
    max-width: none;
    padding: 0 20px;
  }
}

@media (max-width: 991px) {
  .advertising-content {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px 0;
  }

  .advertising-content--red.amazon-page {
    padding: 100px 20px 0;
  }

  .advertising-content__image,
  .advertising-content__text {
    max-width: 100%;
    padding: 0;
    margin-left: 0;
    /* Remove overlap on mobile */
    z-index: auto;
    /* Reset z-index on mobile */
  }

  .advertising-content.amazon-page .advertising-content__image {
    max-width: 100%;
    width: 100%;
  }

  .advertising-content__img.amazon-page {
    object-fit: contain;
  }

  .advertising-content__text--pink {
    padding-top: 0;
    /* Reset top padding on mobile */
    margin-left: 0;
    /* Remove overlap on mobile */
  }

  /* Paid Search Mobile Overrides */
  .advertising-content.paid-search-page .advertising-content__image,
  .advertising-content.paid-search-page .advertising-content__text {
    max-width: 100%;
    flex: 0 0 100%;
    padding: 0 20px;
  }

  .advertising-content.paid-search-page .advertising-content__img {
    max-height: 400px;
  }

  .advertising-content__image {
    order: 2;
    height: 50vh;
    min-height: 300px;
    width: 100%;
    /* Ensure full width in column mode */
  }

  .advertising-content__img {
    width: 100%;
    /* Ensure image fills container */
    height: 100%;
    max-height: none;
    min-height: 360px;
    object-fit: cover;
    /* Maintain proper image scaling */
  }

  .advertising-content__text {
    order: 1;
    margin-bottom: 40px;
  }
}

/* Advertising Hero Responsive Adjustments */
@media (max-width: 1399px) {
  .advertising-page-hero__visuals {
    max-height: 520px;
  }

  .advertising-page-hero__main-image {
    margin: -50px auto 0;
    max-width: 950px;
  }

  .advertising-page-hero__main-image.paid-search-page {
    margin: 30px auto 0;
    max-width: 800px;
  }
}

@media (max-width: 1199px) {
  .advertising-page-hero__visuals {
    max-height: 460px;
  }

  .advertising-page-hero__main-image {
    margin: -40px auto 0;
    max-width: 800px;
  }

  .advertising-page-hero__main-image.paid-search-page {
    margin: 30px auto 0;
    max-width: 750px;
  }

  .advertising-page-hero__main-image.amazon-page {
    max-width: 760px;
  }
}

@media (max-width: 991px) {
  .advertising-page-hero__visuals {
    max-height: 330px;
  }

  .advertising-page-hero__visuals.amazon-page {
    margin: 70px auto 0;
  }

  .advertising-page-hero__main-image.paid-search-page {
    margin: 30px auto 0;
    max-width: 650px;
  }

  .advertising-page-hero__main-image {
    margin: -30px auto 0;
    max-width: 650px;
  }
}

@media (max-width: 767px) {
  .advertising-content {
    padding: 60px 20px 0;
  }

  .advertising-page-hero__visuals.amazon-page {
    margin: 70px auto 0;
  }

  .advertising-content--red.amazon-page {
    padding: 100px 20px 0;
  }

  .advertising-content__image {
    height: 40vh;
    min-height: 250px;
    width: 100%;
    /* Ensure full width */
  }

  .advertising-content__img {
    width: 100%;
    /* Ensure image fills container */
    object-fit: cover;
    /* Maintain proper image scaling */
  }

  .advertising-content__text {
    margin-bottom: 30px;
  }

  .advertising-page-hero__visuals {
    max-height: 320px;
  }

  .advertising-page-hero__main-image {
    margin: -20px auto 0;
    max-width: 500px;
  }

  .advertising-page-hero__main-image.paid-search-page {
    margin: 30px auto 0;
    max-width: 550px;
  }
}

@media (max-width: 575px) {
  .service-hero--advertising {
    padding: 2rem 5% 0.5rem 5%;
  }

  .advertising-page-hero__visuals {
    max-height: 280px;
  }

  .advertising-page-hero__main-image {
    margin: 30px auto 0;
    max-width: none;
  }

  .advertising-page-hero__visuals.amazon-page {
    max-width: 750px;
    margin: 0px auto;
    max-height: 400px;
  }

  .advertising-content--websites.amazon-page .advertising-content__img {
    height: 55vh;
  }
}

/* Marketing Page Styles */
.service-hero--marketing .service-hero__title {
  font-size: clamp(6rem, 15vw, 180px);
  font-weight: 900;
  color: #fff;
  line-height: 0.8;
}

.service-hero--marketing .service-hero__subtitle {
  color: var(--global-red);
  font-size: clamp(40px, 4vw, 52px);
}

.marketing-page-hero__visuals {
  width: 100%;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 430px;
  margin: 70px 0 0;
}

.marketing-page-hero__main-image {
  width: 100%;
  z-index: 520;
  margin: 10px auto 0;
  max-width: 775px;
  height: auto;
}

.marketing-page-hero__main-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Marketing Page Content Sections */
.marketing-content {
  display: flex;
  align-items: center;
  min-height: 500px;
  padding: 50px 0;
}

.marketing-content--red {
  background-color: var(--global-red);
}

.marketing-content--black {
  background-color: #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 2rem 4rem;
}

.marketing-content__image {
  flex: 1;
  max-width: 40%;
  padding: 0 0 40px 30px;
  /* Left and bottom padding */
  position: relative;
}

.marketing-content__img {
  width: 100%;
  height: 75vh;
  object-fit: contain;
  object-position: 60% center;
  display: block;
  margin: 0;
}

.marketing-content__text {
  flex: 1;
  max-width: 60%;
  max-width: 790px;
  color: #000;
  padding-left: 20px;
  position: relative;
}

/* Red section specific styles (NO overlap) */
.marketing-content__text--red {
  padding-left: 60px;
  padding-top: 0;
  /* No special positioning */
  margin-left: 0;
  /* No overlap */
  z-index: auto;
  /* Normal stacking */
}

.marketing-content__headline {
  font-size: clamp(84px, 8vw, 120px);
  font-weight: 800;
  line-height: 0.8 !important;
  margin-bottom: 20px;
  color: #000;
}

.marketing-content__paragraph {
  font-size: 20px;
  line-height: 1.6;
  margin: 0 auto;
  color: #FFFFFF;
}

/* Black section specific styles (no overlap) */
.marketing-content__text--black {
  padding: 0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: auto;
}

.marketing-content--black .marketing-content__image {
  display: none;
  /* Hide images in black sections */
}

.marketing-content__headline--black {
  color: var(--global-red);
  font-size: clamp(6rem, 10vw, 136px);
  max-width: 1043px;
  font-weight: 800;
  line-height: 0.8;
}

.marketing-content__paragraph--black {
  color: #FFFFFF;
  max-width: 800px;
  margin: 0;
}

.service-features--marketing {
  padding: 3rem 2%;
}

/* Marketing Page Responsive adjustments */
@media (max-width: 1199px) {
  .marketing-content__image {
    padding: 0;
  }
}

@media (max-width: 991px) {
  .marketing-content {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px 0;
  }

  .marketing-content__image,
  .marketing-content__text {
    max-width: 100%;
    padding: 0;
    margin-left: 0;
    z-index: auto;
  }

  .marketing-content__image {
    order: 2;
    height: 50vh;
    min-height: 300px;
  }

  .marketing-content__img {
    height: 100%;
    max-height: none;
    min-height: 500px;
  }

  .marketing-content__text {
    order: 1;
    margin-bottom: 40px;
  }
}

/* Marketing Hero Responsive Adjustments */
@media (max-width: 1399px) {
  .marketing-page-hero__visuals {
    max-height: 490px;
  }

  .marketing-page-hero__main-image {
    margin: 0px auto 0;
    max-width: 750px;
  }
}

@media (max-width: 1199px) {
  .marketing-page-hero__visuals {
    max-height: 420px;
  }

  .marketing-page-hero__main-image {
    margin: 0 auto;
    max-width: 700px;
  }
}

@media (max-width: 991px) {
  .marketing-page-hero__visuals {
    max-height: 370px;
  }

  .marketing-page-hero__main-image {
    margin: 0 auto;
    max-width: 600px;
  }
}

@media (max-width: 767px) {
  .marketing-content {
    padding: 60px 20px 0;
  }

  .marketing-content__image {
    height: 40vh;
    min-height: 250px;
  }

  .marketing-content__text {
    margin-bottom: 30px;
  }

  .marketing-page-hero__visuals {
    max-height: 310px;
  }

  .marketing-page-hero__main-image {
    margin: 10px auto 0;
    max-width: 500px;
  }
}

@media (max-width: 575px) {
  .service-hero--marketing {
    padding: 2rem 5% 0.5rem 5%;
  }

  .marketing-page-hero__visuals {
    max-height: 250px;
  }

  .marketing-page-hero__main-image {
    margin: 10px auto 0;
    max-width: 430px;
  }
}

/* Logo Bar - Always 5 across in one row, scales from small to large */

/* Accessibility/UX: pointer cursor for interactive elements */
a[href],
button,
[role="button"],
input[type="button"],
input[type="submit"],
label[for],
.clickable,
.summary-toggle {
  cursor: pointer;
}

/* Non-interactive/disabled states should not indicate clickability */
a:not([href]),
[aria-disabled="true"],
button[disabled],
[disabled] {
  cursor: not-allowed;
}

/* Ensure nested elements inside real links/buttons also show pointer */
a[href] *,
button * {
  cursor: pointer !important;
}

/* =====================================================
   MAESTRO PAGE STYLES
   ===================================================== */

/* Hero Section */
.hero-section-maestro {
  background-color: var(--global-dark);
  color: var(--global-light);
  text-align: center;
  padding: 4rem 2rem 5rem;
}

.hero-section-maestro__heading {
  font-size: clamp(60px, 12vw, 140px);
  line-height: 0.6;
  margin-bottom: 0;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.hero-section-maestro__subtitle {
  font-family: var(--font-headline-pro);
  font-size: clamp(34px, 5vw, 57px);
  font-weight: 600;
  color: var(--global-blue);
  margin: 2rem auto 1.5rem;
  line-height: 54px;
  max-width: 670px;
}

.hero-section-maestro__description {
  font-family: var(--font-headline-pro);
  font-size: clamp(20px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--global-light);
  max-width: 780px;
  margin: 0 auto;
}

/* Problem/Solution Cards Section */
.maestro-cards-section {
  background-color: var(--global-dark);
  padding: 3rem 2rem 4rem;
}

.maestro-cards-section__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.maestro-card {
  position: relative;
  background: transparent;
  border: 1px solid var(--global-blue);
  border-radius: 25px;
  padding: 6rem 2rem 0;
  text-align: left;
  min-height: 400px;
}

.maestro-card__title {
  font-family: var(--font-headline);
  font-size: clamp(50px, 8vw, 90px);
  font-weight: 800;
  color: var(--global-light);
  text-transform: uppercase;
}

.maestro-card__image-wrap {
  position: absolute;
  top: -90px;
  right: -97px;
  width: 380px;
  height: auto;
  z-index: 10;
}

.maestro-card__image {
  width: 100%;
  height: auto;
}

.maestro-card__text {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--global-light);
  text-transform: capitalize;
  margin-bottom: 1rem;
}

.maestro-card__text--bold {
  font-weight: 700;
}

/* 3-Step Process Section */
.maestro-process-section {
  background-color: #fff;
  color: var(--global-dark);
  padding: 6rem 2rem 8rem;
  position: relative;
}

.maestro-process-section__container {
  max-width: 1400px;
  position: relative;
}

.maestro-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  position: relative;
}

/* Step 1 - Top left */
.maestro-step--1 {
  margin-left: 0;
  margin-bottom: 0;
}

/* Vertical dashed line from step 1 circle down */
.maestro-step--1::after {
  content: '';
  position: absolute;
  top: 100px;
  left: 54px;
  width: 0;
  height: 210px;
  border-left: 5px dashed var(--global-blue);
}

/* Step 2 - Middle (indented) */
.maestro-step--2 {
  margin-left: 350px;
  margin-top: 50px;
  margin-bottom: 0;
}

/* Horizontal dashed line connecting from step 1's vertical line to step 2 circle */
.maestro-step--2::before {
  content: '';
  position: absolute;
  top: 58px;
  left: -292px;
  width: 283px;
  height: 0;
  border-top: 5px dashed var(--global-blue);
}

/* Vertical dashed line from step 2 circle down */
.maestro-step--2::after {
  content: '';
  position: absolute;
  top: 100px;
  left: 54px;
  width: 0;
  height: 198px;
  border-left: 5px dashed var(--global-blue);
}

/* Step 3 - Bottom right (more indented) */
.maestro-step--3 {
  margin-left: 700px;
  margin-top: 40px;
}

/* Horizontal dashed line connecting from step 2's vertical line to step 3 circle */
.maestro-step--3::before {
  content: '';
  position: absolute;
  top: 56px;
  left: -291px;
  width: 281px;
  height: 0;
  border-top: 5px dashed var(--global-blue);
}

.maestro-step__number {
  width: 110px;
  height: 110px;
  min-width: 110px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headline);
  font-size: 94px;
  font-weight: 800;
  line-height: 110px;
  text-align: center;
  color: var(--global-blue);
  background-color: var(--global-dark);
  position: relative;
  z-index: 2;
}

.maestro-step__content {
  flex: 1;
  max-width: 630px;
}

.maestro-step__title {
  font-family: var(--font-headline);
  font-size: 94px;
  font-weight: 700;
  color: var(--global-dark);
  margin-bottom: 0.25rem;
  line-height: 1;
  padding-top: 7px;
}

.maestro-step__text {
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--global-dark);
  text-transform: capitalize;
}

/* Why It Works Section */
.maestro-why-section {
  background-color: #0a0a12;
  color: var(--global-light);
  padding: 5rem 2rem;
  text-align: center;
}

.maestro-why-section__eyebrow {
  font-family: var(--font-headline);
  font-size: clamp(78px, 8vw, 104px);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 84px;
  margin-bottom: 0;
  text-transform: uppercase;
  color: var(--global-blue);
}

.maestro-why-section__heading {
  font-family: var(--font-headline);
  font-size: clamp(64px, 8vw, 104px);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 62px;
  margin-bottom: 3rem;
  text-transform: uppercase;
  color: var(--global-light);
  margin-top: 1rem;
}

.maestro-benefits {
  display: flex;
  flex-direction: column;
  gap: 2.15rem;
  max-width: 1100px;
  margin: 0 auto;
}

.maestro-benefit {
  background-color: transparent;
  border: 2px solid var(--global-blue);
  border-radius: 25px;
  padding: 1.25rem 2rem;
  font-family: var(--font-body);
  display: flex;
  justify-content: center;
}

.maestro-benefit p {
  margin: 0;
  font-size: 22px;
  line-height: 23px;
}

.maestro-benefit__label {
  color: var(--global-blue);
  font-weight: 400;
  text-decoration: none;
}

/* Guarantee Section */
.maestro-guarantee-section {
  background-color: var(--global-blue);
  padding: 0 1rem;
}

.maestro-guarantee-section__grid {
  display: grid;
  grid-template-columns: 42% 56%;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.maestro-guarantee-section__image-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}

/* Black circle behind the padlock */
.maestro-guarantee-section__image-wrap::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background-color: var(--global-dark);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-60%, -50%);
  z-index: 1;
}

.maestro-guarantee-section__image {
  max-width: 660px;
  height: auto;
  position: relative;
  z-index: 2;
}

.maestro-guarantee-section__title {
  font-family: var(--font-headline);
  font-size: clamp(58px, 6vw, 102px);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--global-dark);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  line-height: 0.80;
}

.maestro-guarantee-section__subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  margin: 0 auto 1rem;
  color: var(--global-light);
}

.maestro-guarantee-section__text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--global-light);
  margin: 0 auto 1rem;
  text-transform: capitalize;
}

/* Final CTA Section */
.maestro-cta-section {
  background-color: var(--global-dark);
  color: var(--global-light);
  padding: 5rem 2rem 6rem;
  text-align: center;
}

.maestro-cta-section__heading {
  font-family: var(--font-headline);
  font-size: 96px;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  line-height: 1;
}

.maestro-cta-section__accent {
  color: var(--global-blue);
}

.maestro-cta-section__subtitle {
  font-family: var(--font-headline-pro);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 500;
  margin-bottom: 3rem;
  color: var(--global-light);
  line-height: 1.1;
  max-width: 650px;
  margin: 0 auto 3rem;
}

.maestro-icons {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 4vw, 4rem);
  flex-wrap: nowrap;
  /* Always stay in a row */
}

.maestro-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 1;
  /* Allow shrinking */
}

.maestro-icon__circle {
  width: clamp(80px, 15vw, 200px);
  height: clamp(80px, 15vw, 200px);
  background-color: var(--global-blue);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(0.5rem, 1.5vw, 1.5rem);
  gap: 0.25rem;
}

.maestro-icon__image {
  width: 70%;
  height: auto;
  max-height: 60%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.maestro-icon__label {
  font-family: var(--font-body);
  font-size: clamp(10px, 1.2vw, 16px);
  font-weight: 500;
  color: var(--global-light);
}

@media (max-width: 1200px) {
  .maestro-why-section__heading {
    margin-top: 0;
  }

  .maestro-cards-section__grid {
    gap: 3rem;
  }

  .maestro-step--2 {
    margin-left: 260px;
  }

  .maestro-step--3 {
    margin-left: 520px;
  }

  .maestro-step--1::after,
  .maestro-step--2::after {
    height: 170px;
  }

  .maestro-step--2::before,
  .maestro-step--3::before {
    left: -200px;
    width: 184px;
    top: 45px;
  }

  .maestro-step__number {
    width: 95px;
    height: 95px;
    line-height: 95px;
    font-size: 72px;
  }

  .maestro-step__title {
    font-size: 78px;
  }

  .maestro-step__text {
    font-size: 20px;
  }

  .maestro-guarantee-section__image-wrap::before {
    width: 320px;
    height: 320px;
  }

  .maestro-guarantee-section__image {
    max-width: 480px;
  }
}

@media (max-width: 1024px) {
  .hero-section-maestro__subtitle {
    line-height: 44px;
    max-width: 580px;
  }

  .maestro-step--1,
  .maestro-step--2,
  .maestro-step--3 {
    margin-left: 0;
    margin-top: 2.5rem;
  }

  .maestro-step--1 {
    margin-top: 0;
  }

  .maestro-step--1::after,
  .maestro-step--2::before,
  .maestro-step--2::after,
  .maestro-step--3::before {
    display: none;
  }

  .maestro-step__number {
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 60px;
  }

  .maestro-step__title {
    font-size: 64px;
  }

  .maestro-step__text {
    font-size: 18px;
  }

  .maestro-guarantee-section__grid {
    grid-template-columns: 1fr;
    text-align: center;
    row-gap: 2rem;
  }
}

@media (max-width: 1024px) {

  .hero-section-maestro__subtitle {
    max-width: 520px;
  }

  .maestro-card__image-wrap {
    top: -68px;
    right: -60px;
    width: 260px;
  }

  .maestro-guarantee-section__grid {
    grid-template-columns: 1fr;
    text-align: center;
    row-gap: 2rem;
  }
}

/* Bottom Accent Bar */
.maestro-accent-bar {
  height: 8px;
  background: linear-gradient(90deg, #00d4ff 0%, #0080ff 50%, #00d4ff 100%);
}

/* Screen reader only - visually hidden but accessible */
.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;
}

/* Maestro Page Responsive */
@media (max-width: 768px) {
  .hero-section-maestro {
    padding: 3rem 1.5rem 4rem;
  }

  .hero-section-maestro__subtitle {
    line-height: 30px;
    max-width: 400px;
    margin-top: 1rem;
  }

  .hero-section-maestro__container {
    padding: 0 !important;
  }

  .maestro-cards-section__container {
    padding: 0 !important;
  }

  .maestro-why-section__container {
    padding: 0 !important;
  }

  .maestro-card__image-wrap {
    top: -40px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 260px;
  }

  .maestro-card__image-wrap img {
    width: 100%;
  }

  .maestro-cards-section__grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .maestro-card {
    min-height: auto;
    padding: 9rem 1.5rem 2rem;
  }

  .maestro-card__title {
    font-size: clamp(40px, 10vw, 60px);
  }

  .maestro-card__image-wrap {
    top: -90px;
    right: -90px;
    width: 350px;
  }

  /* Process section mobile */
  .maestro-process-section__container {
    max-width: 100%;
    padding: 0 !important;
  }

  .maestro-step--1,
  .maestro-step--2,
  .maestro-step--3 {
    margin-left: 0;
    margin-top: 2rem;
  }

  .maestro-step--1 {
    margin-top: 0;
  }

  /* Hide dashed lines on mobile */
  .maestro-step--1::after,
  .maestro-step--2::before,
  .maestro-step--2::after,
  .maestro-step--3::before {
    display: none;
  }

  .maestro-step__content {
    max-width: 100%;
  }

  .maestro-guarantee-section {
    padding: 2rem 1rem;
  }

  .maestro-guarantee-section__image-wrap::before {
    width: 230px;
    height: 230px;
    transform: translate(-55%, -50%);
  }

  .maestro-guarantee-section__image {
    max-width: 420px;
  }

  .maestro-cta-section__heading {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .maestro-guarantee-section {
    overflow: hidden;
  }

  .maestro-guarantee-section__container {
    padding: 0 !important;
  }

  .maestro-guarantee-section__image-wrap {
    overflow: visible;
    max-width: 100%;
  }

  .maestro-guarantee-section__image-wrap::before {
    width: 180px;
    height: 180px;
  }

  .maestro-guarantee-section__image {
    max-width: 280px;
    width: 100%;
  }

  .maestro-guarantee-section__title {
    font-size: 48px;
  }

  .maestro-guarantee-section__subtitle,
  .maestro-guarantee-section__text {
    font-size: 16px;
    padding: 0 5px;
  }

  .maestro-cta-section__heading {
    font-size: 72px;
  }

  .maestro-card__image-wrap {
    width: 340px;
    top: -110px;
  }

  .maestro-benefit p {
    font-size: 18px;
    line-height: 22px;
  }
}