/*
Theme Name: St Andrews Chauffeur Drive
Theme URI: https://standrewschauffeur.co.uk
Description: Executive luxury chauffeur service theme - dark, editorial design with chrome accents
Author: Andrew Craig Morgan
Author URI: https://github.com/andrewcraigmorgan
Version: 2.2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: st-andrews-chauffeur
Tags: dark-mode, one-column, custom-menu, block-patterns
Tested up to: 6.7
Requires PHP: 8.2
*/

/* ============================================================
   ST ANDREWS CHAUFFEUR DRIVE
   Editorial luxury · Dark mode · Chrome accents
   Rebuilt from static site style-v29.css
   ============================================================ */

/* ==========================================================
   0. SELF-HOSTED FONTS
   ========================================================== */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url('./assets/fonts/cormorant-garamond-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('./assets/fonts/cormorant-garamond-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('./assets/fonts/montserrat-latin.woff2') format('woff2');
}

/* ==========================================================
   1. CUSTOM PROPERTIES
   ========================================================== */
:root {
  /* Surface palette — rich, layered darks */
  --bg-void:       #0c0c0f;
  --bg-primary:    #111116;
  --bg-elevated:   #17171d;
  --bg-card:       #1b1b22;
  --bg-card-hover: #222230;
  --bg-surface:    #161620;

  /* Text palette — bright whites for readability */
  --text-primary:   #f5f5f8;
  --text-secondary: #e0e0e8;
  --text-muted:     #5e5e6e;
  --text-muted-a11y: #9090a0;
  --text-dim:       #3a3a48;

  /* Accent — chrome silver */
  --silver:         #b0b0be;
  --silver-bright:  #d4d4e0;
  --silver-muted:   rgba(176, 176, 190, 0.12);
  --silver-glow:    rgba(176, 176, 190, 0.05);

  /* Semantic accent — overridden per-site via ACF Site Design options */
  --accent: var(--silver);

  /* Chrome gradient — signature metallic shimmer */
  --chrome-gradient: linear-gradient(135deg, #7a7a8a 0%, #c8c8d4 25%, #ffffff 50%, #c8c8d4 75%, #7a7a8a 100%);
  --chrome-border:   linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.2), rgba(255,255,255,0.08));

  /* Borders */
  --border-hairline: rgba(255, 255, 255, 0.07);
  --border-subtle:   rgba(255, 255, 255, 0.10);
  --border-medium:   rgba(255, 255, 255, 0.16);

  /* Typography */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Montserrat', system-ui, sans-serif;

  --fs-massive: clamp(3.5rem, 8vw, 8rem);
  --fs-hero:    clamp(2.5rem, 5.5vw, 5rem);
  --fs-h2:      clamp(2rem, 4vw, 3.25rem);
  --fs-h3:      clamp(1.2rem, 1.8vw, 1.5rem);
  --fs-body:    clamp(1rem, 1.1vw, 1.1rem);
  --fs-small:   0.9375rem;
  --fs-caption: 0.875rem;
  --fs-micro:   0.8125rem;

  --lh-tight:  1.1;
  --lh-snug:   1.25;
  --lh-body:   1.75;

  --ls-mega:   0.35em;
  --ls-wide:   0.2em;
  --ls-normal: 0.06em;

  /* Spacing */
  --space-2xs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 9rem;

  /* Layout */
  --container-max:    1340px;
  --container-narrow: 900px;

  /* Radius */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --duration-fast: 0.25s;
  --duration-base: 0.5s;
  --duration-slow: 0.8s;
}


/* ==========================================================
   2. BASE RESET
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-primary);
  background: var(--bg-void);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Focus & Accessibility */
:focus-visible {
  outline: 2px solid var(--silver);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-xs) var(--space-md);
  background: var(--silver);
  color: var(--bg-void);
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  z-index: 10001;
  border-radius: var(--radius-sm);
  transition: top var(--duration-fast) var(--ease-out-expo);
}

.skip-link:focus { top: var(--space-sm); }


/* ==========================================================
   3. GRAIN OVERLAY
   ========================================================== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
  will-change: transform;
  contain: strict;
}


/* ==========================================================
   4. WP SITE BLOCKS & ALIGNMENT
   ========================================================== */
html {
  overflow-x: clip;
  overflow-y: auto;
}

body {
  overflow: visible !important;
}

.wp-site-blocks {
  padding: 0;
  background: var(--bg-void);
  overflow-x: clip;
}

.wp-site-blocks > * + * { margin-block-start: 0; }

/* Ensure all content is edge-to-edge — override WP's flow layout constraints */
.wp-block-post-content.is-layout-flow > * {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.wp-block-post-content > * {
  max-width: 100%;
}

.wp-block-cover.alignfull,
.wp-block-group.alignfull {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
  max-width: 100%;
}

/* wp:html blocks should always be full-width and clip overflow */
.wp-block-html {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow: clip;
}


/* ==========================================================
   5. TYPOGRAPHY
   ========================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

h2, h3 { font-weight: 400; }

p { margin-top: 0; }

/* Chrome gradient on em headings — static gradient by default.
   Animation is applied only to above-fold hero elements to reduce
   non-composited animation count (background-position can't be GPU-composited). */
.has-chrome-gradient,
.wp-block-heading em,
h1 em, h2 em, h3 em {
  font-style: italic;
  background: var(--chrome-gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Eyebrow style */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: var(--ls-mega);
  text-transform: uppercase;
  color: var(--silver);
}

.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--silver);
}

.eyebrow-center {
  justify-content: center;
}

.eyebrow-center::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--silver);
}

/* Heading display */
.heading-display {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: var(--lh-tight);
  color: var(--text-primary);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
}

.heading-display em {
  font-style: italic;
  background: var(--chrome-gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Body/secondary text */
.wp-block-group p,
.wp-block-column p,
.wp-block-columns p {
  color: var(--text-secondary);
}


/* ==========================================================
   6. BUTTONS
   ========================================================== */

/* Static site base .btn */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  padding: 0.85em 1.8em;
  border-radius: var(--radius-xs);
  transition: all var(--duration-fast) var(--ease-out-expo);
  text-decoration: none;
  cursor: pointer;
}

.btn-arrow {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--duration-fast) var(--ease-out-expo);
}

.btn:hover .btn-arrow { transform: translateX(3px); }

/* Chrome button — static site */
.btn-chrome {
  background: var(--chrome-gradient);
  background-size: 200% 200%;
  color: var(--bg-void);
  font-weight: 700;
}

/* Shimmer animates background-position which cannot be GPU-composited.
   Restrict to ≥768px so mobile (where Lighthouse runs) is unaffected. */
@media (min-width: 768px) {
  .btn-chrome {
    animation: chrome-shift 6s ease-in-out infinite;
  }
}

.btn-chrome:hover {
  box-shadow: 0 8px 32px rgba(176, 176, 190, 0.2),
              0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

/* Ghost button — static site */
.btn-ghost {
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--silver);
  color: var(--silver-bright);
  transform: translateY(-2px);
}

/* WP block button base */
.wp-block-button__link {
  transition: all var(--duration-fast) var(--ease-out-expo);
}

.wp-block-button__link:hover {
  transform: translateY(-2px);
}

.wp-block-button__link:focus-visible {
  outline: 2px solid var(--silver);
  outline-offset: 2px;
}

.is-style-chrome .wp-block-button__link:focus-visible {
  outline-color: var(--bg-void);
}

/* Chrome button — WP block */
.is-style-chrome .wp-block-button__link {
  background: var(--chrome-gradient) !important;
  background-size: 200% 200% !important;
  color: var(--bg-void) !important;
  font-weight: 700;
}

.is-style-chrome .wp-block-button__link:hover {
  box-shadow: 0 8px 32px rgba(176, 176, 190, 0.2),
              0 0 0 1px rgba(255, 255, 255, 0.12);
}

/* Ghost/outline button — WP block (subtle 1px border, not thick 2px) */
.is-style-outline .wp-block-button__link {
  border: 1px solid var(--border-medium) !important;
  color: var(--text-primary) !important;
  background: transparent !important;
}

.is-style-outline .wp-block-button__link:hover {
  border-color: var(--silver) !important;
  color: var(--silver-bright) !important;
  background: transparent !important;
  transform: translateY(-2px);
}


/* ==========================================================
   7. NAVIGATION
   ========================================================== */

/* Static site nav structure */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-md) 0;
  transition: background var(--duration-base),
              padding var(--duration-base);
}

.site-nav.scrolled {
  background: rgba(12, 12, 15, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--border-hairline);
}

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

/* ── Site logo (wp:site-logo) ─────────────────────────── */
.site-nav .wp-block-site-logo {
  flex-shrink: 0;
}

.site-nav .wp-block-site-logo img {
  max-height: 100px;
  width: auto;
  height: auto;
  display: block;
  transition: max-height var(--duration-base) var(--ease-out-expo),
              filter var(--duration-base) var(--ease-out-expo);
  filter: brightness(0.85) contrast(1.2);
  mix-blend-mode: screen;
}

.site-nav .wp-block-site-logo a:hover img {
  filter: brightness(1) contrast(1.3);
}

.site-nav.scrolled .wp-block-site-logo img {
  max-height: 64px;
  mix-blend-mode: normal;
}

/* ── Desktop navigation links ─────────────────────────── */

/* Gap: target the __container ul directly. Specificity (0,3,0) beats WP's
   :root :where(.is-layout-flex){gap:0} at (0,1,0). */
.site-nav .wp-block-navigation .wp-block-navigation__container {
  gap: var(--space-lg);
}

/* Nav link styles — specificity (0,3,0) matches WP's doubled-class rule so
   our later-in-source declaration wins the cascade. */
.site-nav .wp-block-navigation .wp-block-navigation-item__content {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: var(--ls-normal);
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  transition: color var(--duration-fast);
}

.site-nav .wp-block-navigation .wp-block-navigation-item__content::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--silver);
  transition: width var(--duration-fast) var(--ease-out-expo);
}

.site-nav .wp-block-navigation-item:hover .wp-block-navigation-item__content {
  color: var(--text-primary);
}

.site-nav .wp-block-navigation-item:not(.nav-cta-item):hover .wp-block-navigation-item__content::after {
  width: 100%;
}

/* ── Reserve CTA in desktop nav ───────────────────────── */
.site-nav .nav-cta-item .wp-block-navigation-item__content {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  background: var(--chrome-gradient);
  background-size: 200% 200%;
  color: var(--bg-void) !important;
  border-radius: 2px;
}

.site-nav .nav-cta-item .wp-block-navigation-item__content::after {
  content: '';
  position: static;
  bottom: auto;
  left: auto;
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c0c0f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
  transition: transform var(--duration-fast) var(--ease-out-expo);
  flex-shrink: 0;
}

.site-nav .nav-cta-item .wp-block-navigation-item__content:hover::after {
  transform: translateX(3px);
}

/* ── Mobile hamburger button ──────────────────────────── */
.site-nav .wp-block-navigation__responsive-container-open {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 44px;
  padding: 10px 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
}

.site-nav .wp-block-navigation__responsive-container-open svg {
  width: 40px;
  height: 40px;
  color: inherit;
}

/* Override WP nav breakpoint: hamburger shows up to 767px (WP default is 600px).
   At desktop WP shows the __responsive-container inline; we hide it at 600-767px
   so the hamburger stays visible, then let WP's own rule show it at 768px+. */
@media (min-width: 600px) and (max-width: 767px) {
  .site-nav .wp-block-navigation__responsive-container-open { display: flex !important; }
}

@media (min-width: 768px) {
  .site-nav .wp-block-navigation__responsive-container-open { display: none !important; }
  .site-nav .wp-block-navigation__responsive-container {
    display: block !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

/* When the mobile menu overlay is open, remove backdrop-filter from the
   sticky header. backdrop-filter creates a new containing block, which traps
   the overlay's position:fixed inside the header instead of the viewport. */
body.scrolled .wp-block-group.is-position-sticky:has(.is-menu-open) {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: none;
}

/* Keep scrollbar visible when overlay is open so content doesn't shift.
   WP core sets overflow:hidden on html.has-modal-open — double class
   selector beats the single-class WP rule without !important. */
html.has-modal-open.has-modal-open {
  overflow-y: scroll;
}

/* ── Mobile full-screen overlay ───────────────────────── */
/* Base: invisible/non-interactive on mobile only.
   On desktop (768px+) the container is forced visible above. */
@media (max-width: 767px) {
  .site-nav .wp-block-navigation__responsive-container {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s;
  }
}

.site-nav .wp-block-navigation__responsive-container.is-menu-open {
  background: var(--bg-void) !important;
  padding: 0 !important;
  z-index: 100000;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Centre nav items in the overlay. WP sets --navigation-layout-justification-setting
   to flex-end via items-justified-right on both the nav and the inner ul.
   Override on the ul so it cascades to all children. */
.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  --navigation-layout-justification-setting: center;
}

/* Make inner wrappers fill the full-height overlay so vertical
   centering works. WP leaves these as display:block / flex:0 1 auto. */
.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close,
.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Content area — centred column layout.
   WP core forces justify-content:flex-start on both the content wrapper
   and the inner __container. Override both to centre vertically. */
.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  align-items: center !important;
  justify-content: center;
  flex: 1;
  padding: var(--space-2xl) var(--space-xl) var(--space-xl);
  gap: var(--space-xl);
}

.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
  justify-content: center;
  flex: 1;
}

.site-nav .wp-block-navigation__responsive-container-close {
  color: var(--text-primary);
  padding: var(--space-md);
}

.site-nav .wp-block-navigation__responsive-container-close svg {
  width: 40px;
  height: 40px;
}

/* Overlay nav links — scoped to .is-menu-open so desktop links are unaffected.
   The __responsive-container div exists in the DOM at all screen sizes; without
   .is-menu-open these rules would leak onto the desktop nav and override the
   Montserrat/small-size styles above. */
.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 400;
  color: var(--text-secondary);
  transition: color var(--duration-fast);
  text-decoration: none;
}

.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after {
  display: none;
}

.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:hover .wp-block-navigation-item__content {
  color: var(--silver-bright);
}

/* Reserve CTA inside overlay */
.site-nav .wp-block-navigation__responsive-container.is-menu-open .nav-cta-item {
  margin-top: var(--space-lg);
}

.site-nav .wp-block-navigation__responsive-container.is-menu-open .nav-cta-item .wp-block-navigation-item__content {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  background: var(--chrome-gradient);
  background-size: 200% 200%;
  color: var(--bg-void) !important;
  border-radius: 2px;
  text-align: center;
}

/* WP Navigation block */
.wp-block-navigation a {
  text-decoration: none;
  position: relative;
}

.wp-block-navigation a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--silver);
  transition: width var(--duration-fast) var(--ease-out-expo);
}

.wp-block-navigation a:hover::after { width: 100%; }

/* WP header — fixed transparent nav on all pages, matching static site.
   Note: !important overrides WordPress-generated inline styles. */
.wp-block-group.is-position-sticky {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent !important;
  transition: padding 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
  z-index: 100;
}

/* Scrolled state — blurred dark background on all pages */
body.scrolled .wp-block-group.is-position-sticky {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  background: rgba(12, 12, 15, 0.9) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-hairline);
}



/* ==========================================================
   8. HERO / COVER BLOCK
   ========================================================== */

/* Static site hero */
.hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  padding: var(--space-3xl) 0 var(--space-2xl);
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 40%;
}

/* Cinematic vignette — static site */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, transparent 0%, rgba(12,12,15,0.35) 60%, rgba(12,12,15,0.8) 100%),
    linear-gradient(to bottom, rgba(12,12,15,0.6) 0%, transparent 35%, transparent 55%, var(--bg-void) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-md);
  text-align: left;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: var(--lh-tight);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.hero-title em {
  font-style: italic;
  display: block;
  line-height: 1.25;
  padding-top: 0.05em;
  background: var(--chrome-gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .hero-title em {
    animation: chrome-shift 6s ease-in-out infinite;
  }
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 400;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: var(--ls-normal);
  max-width: 480px;
  margin-bottom: var(--space-xl);
  line-height: var(--lh-body);
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Scroll cue */
.hero-scroll {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.hero-scroll-text {
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: var(--ls-mega);
  text-transform: uppercase;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--silver), transparent);
  will-change: transform, opacity;
  animation: scrollPulse 2s ease-in-out infinite;
}

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

/* WP Cover block — vignette overlay */
.wp-block-cover .wp-block-cover__background {
  background: radial-gradient(ellipse 70% 50% at 50% 40%, transparent, rgba(12,12,15,0.35) 60%, rgba(12,12,15,0.8)),
              linear-gradient(to bottom, rgba(12,12,15,0.6), transparent 35%, transparent 55%, var(--bg-void)) !important;
  opacity: 1 !important;
}

/* Named vignette class variant */
.wp-block-cover.has-vignette::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 40%, transparent, rgba(5,5,5,0.4) 60%, rgba(5,5,5,0.85)),
              linear-gradient(to bottom, rgba(5,5,5,0.7), transparent 35%, transparent 55%, #050505);
  pointer-events: none;
}

/* Cover inner content */
.wp-block-cover__inner-container {
  opacity: 1 !important;
  transform: none !important;
}

.wp-block-cover__inner-container .wp-block-group {
  opacity: 1 !important;
  transform: none !important;
}

.wp-block-cover__inner-container > .wp-block-group {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

/* Cover block spacing */
.wp-block-cover { margin-top: 0; margin-bottom: 0; }

/* Mobile hero */
@media (max-width: 767px) {
  .hero {
    min-height: auto;
    padding: 11rem 0 var(--space-3xl);
  }
  .hero-bg img {
    object-position: 60% center;
  }
  .hero-content {
    padding-inline: 1.25rem;
  }
  .hero-eyebrow {
    margin-bottom: var(--space-md);
  }
  .hero-title {
    font-size: clamp(2rem, 9vw, 2.75rem);
    margin-bottom: var(--space-lg);
  }
  .hero-tagline {
    font-size: 0.95rem;
    margin-bottom: var(--space-xl);
  }
  .hero-actions {
    flex-direction: column;
    gap: var(--space-xs);
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
    justify-content: center;
  }
}


/* ==========================================================
   9. MARQUEE / TICKER
   ========================================================== */
.divider-band {
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  padding: var(--space-sm) 0;
  overflow: clip;
  white-space: nowrap;
  background: var(--bg-primary);
}

.divider-marquee {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee-scroll 40s linear infinite;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: var(--ls-normal);
}

.marquee-strip {
  display: flex;
  gap: var(--space-lg);
  padding-right: var(--space-lg);
  flex-shrink: 0;
}

.marquee-strip span {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: normal;
  color: inherit;
  white-space: nowrap;
}

.marquee-strip span::after {
  content: '\2726';
  margin-left: var(--space-lg);
  color: var(--silver);
  font-size: 0.6em;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Legacy marquee-track (if used in WP) */
.marquee-track {
  display: inline-flex;
  gap: 2.5rem;
  will-change: transform;
  animation: marquee-scroll 40s linear infinite;
}


/* ==========================================================
   9b. SECTION GRIDS & HEADERS
   ========================================================== */
.services { background: var(--bg-primary); }
.services.section-pad:empty { display: none; }

.services-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .services-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.services-header-text {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  max-width: 400px;
  line-height: var(--lh-body);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 600px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Carousel mode (>4 services) */
.services-grid-wrap { position: relative; }

.services-grid--carousel {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-sm);
}

.services-grid--carousel::-webkit-scrollbar { display: none; }

.services-grid--carousel .service-card {
  flex: 0 0 calc(25% - var(--space-md) * 3 / 4);
  scroll-snap-align: start;
}

@media (max-width: 959px) {
  .services-grid--carousel .service-card {
    flex: 0 0 calc(50% - var(--space-md) / 2);
  }
}

@media (max-width: 599px) {
  .services-grid--carousel .service-card {
    flex: 0 0 85%;
  }
}

.services-grid-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--silver-muted);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background var(--duration-base), border-color var(--duration-base);
}

.services-grid-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.services-grid-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.services-grid-btn--prev { left: -1.5rem; }
.services-grid-btn--next { right: -1.5rem; }

@media (max-width: 959px) {
  .services-grid-btn--prev { left: -0.5rem; }
  .services-grid-btn--next { right: -0.5rem; }
}

.why-us { background: var(--bg-elevated); }

.why-us-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.why-us-subtext {
  color: var(--text-secondary);
  max-width: 520px;
  margin-inline: auto;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 600px) {
  .why-us-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .why-us-grid { grid-template-columns: repeat(4, 1fr); }
}

.testimonials { position: relative; background: var(--bg-primary); }

.testimonials-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

.other-services { background: var(--bg-primary); padding-block: var(--space-2xl); }

.other-services-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.other-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 600px) {
  .other-services-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .other-services-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ==========================================================
   10. SERVICE CARDS
   ========================================================== */

/* Static site service card — editorial portrait tile */
.service-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  aspect-ratio: 3 / 4;
  cursor: pointer;
  transition: transform var(--duration-base) var(--ease-out-expo);
}

.service-card:hover { transform: translateY(-4px); }

.service-card-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  color: var(--silver-muted);
  line-height: 1;
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  z-index: 1;
  transition: color var(--duration-base);
}

.service-card:hover .service-card-number { color: var(--silver); }

.service-card-img {
  position: absolute;
  inset: 0;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.service-card:hover .service-card-img img { transform: scale(1.05); }

.service-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,12,15,0.9) 0%, rgba(12,12,15,0.35) 50%, transparent 100%);
  z-index: 1;
  transition: background var(--duration-base) var(--ease-out-expo);
}

.service-card:hover .service-card-img::after,
.service-card:focus-within .service-card-img::after {
  background: linear-gradient(to top, rgba(12,12,15,0.95) 0%, rgba(12,12,15,0.75) 50%, rgba(12,12,15,0.5) 100%);
}

@media (hover: none), (max-width: 599px) {
  .service-card-img::after {
    background: linear-gradient(to top, rgba(12,12,15,0.95) 0%, rgba(12,12,15,0.7) 50%, rgba(12,12,15,0.4) 100%);
  }
}

.service-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: var(--space-md);
}

.service-card-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2vw, 1.9rem);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.service-card-desc {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: var(--lh-body);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height var(--duration-base) var(--ease-out-expo),
              opacity var(--duration-base);
}

.service-card:hover .service-card-desc,
.service-card:focus-within .service-card-desc {
  max-height: 200px;
  opacity: 1;
}

@media (hover: none), (max-width: 599px) {
  .service-card-desc {
    max-height: 200px;
    opacity: 1;
  }
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--silver-bright);
  margin-top: var(--space-sm);
  opacity: 0;
  transition: opacity var(--duration-base);
}

.service-card:hover .service-card-link,
.service-card:focus-within .service-card-link { opacity: 1; }

@media (hover: none), (max-width: 599px) {
  .service-card-link { opacity: 1; }
}

.service-card-link svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* WP service card images — consistent aspect ratio */
.wp-block-column .wp-block-image img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

#services .wp-block-columns .wp-block-column .wp-block-image {
  overflow: hidden;
}

#services .wp-block-columns .wp-block-column .wp-block-image img {
  aspect-ratio: 4/3 !important;
  object-fit: cover !important;
  width: 100% !important;
  height: auto !important;
  max-height: 250px;
}


/* ==========================================================
   11. BENEFIT CARDS (WHY CHOOSE US)
   ========================================================== */
.benefit-card {
  position: relative;
  padding: var(--space-lg) var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  text-align: center;
  overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-out-expo),
              transform var(--duration-base) var(--ease-out-expo),
              box-shadow var(--duration-base) var(--ease-out-expo);
}

/* Metallic shine sweep on hover */
.benefit-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 30%,
    rgba(255, 255, 255, 0.06) 50%,
    rgba(255, 255, 255, 0.03) 70%,
    transparent 100%
  );
  transition: left 0.6s var(--ease-out-expo);
  pointer-events: none;
}

.benefit-card:hover::after { left: 120%; }

.benefit-card:hover {
  border-color: var(--silver);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 0 1px var(--silver);
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--silver-glow);
  border: 1px solid rgba(176, 176, 190, 0.12);
  margin-bottom: var(--space-md);
  transition: background var(--duration-base),
              border-color var(--duration-base);
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--silver);
  fill: none;
  stroke-width: 1.5;
}

.benefit-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.benefit-card p {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: var(--lh-body);
}


/* ==========================================================
   12. TESTIMONIALS
   ========================================================== */
.testimonials {
  position: relative;
}

/* Giant decorative quote mark */
.testimonials::before {
  content: '\201C';
  position: absolute;
  top: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: clamp(15rem, 30vw, 30rem);
  font-weight: 300;
  line-height: 0.7;
  color: var(--border-hairline);
  pointer-events: none;
}

.testimonial-card {
  position: relative;
  padding: var(--space-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  transition: border-color var(--duration-base),
              box-shadow var(--duration-base);
}

.testimonial-card:hover {
  border-color: rgba(176, 176, 190, 0.2);
  box-shadow: 0 0 40px rgba(176, 176, 190, 0.04);
}

.testimonial-rating {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
}

.testimonial-rating svg {
  width: 14px;
  height: 14px;
  fill: var(--silver);
}

.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: auto;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-micro);
  font-weight: 600;
  color: var(--silver);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: var(--fs-small);
}

.testimonial-role {
  font-size: var(--fs-micro);
  color: var(--text-muted-a11y);
}


/* ==========================================================
   13. ABOUT SECTION
   ========================================================== */
.about { background: var(--bg-void); position: relative; }

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--silver), transparent);
  display: none;
}

@media (min-width: 960px) {
  .about::before { display: block; }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-grid > * { min-width: 0; }

@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

.about-text {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: var(--lh-body);
  margin-bottom: var(--space-md);
}

.about-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

@media (max-width: 767px) {
  .about-stats { gap: var(--space-md); }
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1;
  background: var(--chrome-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: var(--fs-micro);
  font-weight: 500;
  color: var(--text-muted-a11y);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-top: 0.3em;
}

/* About image frame with chrome corner accents */
.about-image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 3 / 4;
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.about-image-frame::before,
.about-image-frame::after {
  display: none;
}


/* ==========================================================
   14. CTA SECTION
   ========================================================== */
.cta-section {
  background: var(--bg-void);
  padding-block: var(--space-3xl);
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(176, 176, 190, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: var(--container-narrow);
  margin-inline: auto;
}

.cta-subtext {
  color: var(--text-secondary);
  max-width: 560px;
  margin-inline: auto;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
  line-height: var(--lh-body);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}


/* ==========================================================
   15. FOOTER
   ========================================================== */
.site-footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-hairline);
}

/* Social follow row */
.footer-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border-hairline);
}

.footer-social-row__label {
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text-secondary);
}

.footer-social-row__icons {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-hairline);
  color: var(--text-secondary);
  text-decoration: none;
  transition: background var(--duration-fast), color var(--duration-fast), border-color var(--duration-fast);
}

.footer-social-icon:hover {
  background: var(--bg-elevated);
  color: var(--silver-bright);
  border-color: rgba(255, 255, 255, 0.18);
}

.footer-social-icon svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Footer socials block — editor preview (edit() uses different DOM than render.php) */
.footer-socials-band {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding: var(--space-md);
}

.footer-social-cell {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.footer-social-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-small);
  color: var(--text-secondary);
}

.footer-social-label svg,
.footer-social-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Footer columns / accordion */
.footer-columns {
  padding: 0;
  border-bottom: 1px solid var(--border-hairline);
}

.footer-columns-grid {
  display: flex;
  flex-direction: column;
}

.footer-column {
  border-top: 1px solid var(--border-hairline);
}

.footer-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: var(--ls-mega);
  text-transform: uppercase;
  color: var(--text-muted-a11y);
  transition: color var(--duration-fast);
}

.footer-accordion-btn:hover { color: var(--silver-bright); }

.footer-accordion-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  transition: transform var(--duration-base);
  flex-shrink: 0;
}

.footer-column.is-open .footer-accordion-icon { transform: rotate(180deg); }

.footer-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 var(--space-lg);
}

.footer-column.is-open .footer-accordion-body {
  max-height: 300px;
  padding: 0 var(--space-lg) var(--space-lg);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column a {
  display: inline-block;
  padding-block: 0.15em;
  font-size: var(--fs-small);
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}

.footer-column a:hover { color: var(--silver-bright); text-decoration: underline; }

@media (min-width: 768px) {
  .footer-columns {
    padding: var(--space-xl) 0;
  }
  .footer-columns-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
  }
  .footer-column { border-top: none; }
  .footer-accordion-btn {
    padding: 0;
    cursor: default;
    pointer-events: none;
    margin-bottom: var(--space-md);
  }
  .footer-accordion-icon { display: none; }
  .footer-accordion-body {
    max-height: none;
    overflow: visible;
    padding: 0;
    transition: none;
  }
}

/* Footer nav list (WP) */
.footer-nav-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-nav-list li { list-style: none; }

.footer-nav-list a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav-list a:hover { color: #ffffff; }

/* Bottom bar */
.footer-bottom {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border-hairline);
}

.footer-bottom .container {
  max-width: 100%;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: flex-start;
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer-brand > a {
  flex-shrink: 0;
}

.footer-logo-img {
  height: 80px;
  width: 80px;
  flex-shrink: 0;
  filter: brightness(0.85) contrast(1.2);
  mix-blend-mode: screen;
}

.footer-brand p {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  max-width: 300px;
}

.footer-copyright {
  font-size: var(--fs-micro);
  color: var(--text-dim);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer-logo-img {
  height: 80px;
  width: 80px;
  flex-shrink: 0;
  filter: brightness(0.85) contrast(1.2);
  mix-blend-mode: screen;
  object-fit: contain;
}

.footer-brand p {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  max-width: 320px;
  line-height: var(--lh-body);
}

.footer-copyright {
  font-size: var(--fs-micro);
  color: var(--text-muted-a11y);
}


/* ==========================================================
   16. EQUAL HEIGHT COLUMNS & WP BLOCK TWEAKS
   ========================================================== */
.wp-block-columns {
  align-items: stretch;
  margin-bottom: 0;
}

.wp-block-column > .wp-block-group {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Card content grows to fill space */
.wp-block-column .wp-block-group .wp-block-group:last-child {
  flex-grow: 1;
}

/* Card border fix — hairline, not #333 */
.wp-block-group.has-border-color[style*="border-color:#333333"],
.wp-block-group[style*="border-color:#333333"] {
  border-color: var(--border-hairline) !important;
}

/* Stats — chrome gradient on large numbers */
.wp-block-column[style*="border-left-color:#d4af37"] {
  border-left-color: transparent !important;
}

.wp-block-column[style*="border-left-color:#d4af37"] p[style*="font-size:2.5rem"],
.wp-block-column[style*="border-left-color:#d4af37"] p[style*="font-size:32px"] {
  background: var(--chrome-gradient) !important;
  background-size: 200% 200% !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 300 !important;
  font-family: var(--font-display) !important;
}


/* ==========================================================
   17. SCROLL REVEAL ANIMATIONS
   ========================================================== */
/* Reveals are handled by GSAP in main.js using .reveal class */

/* Don't hide the sticky header or cover hero */
.wp-block-group.is-position-sticky,
.wp-block-cover {
  opacity: 1 !important;
  transform: none !important;
}


/* ==========================================================
   18. SOCIAL LINKS
   ========================================================== */
.wp-block-social-links a { transition: opacity 0.2s ease; }
.wp-block-social-links a:hover { opacity: 0.7; }


/* ==========================================================
   19. UTILITY
   ========================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.section-pad { padding-block: var(--space-3xl); }


/* ==========================================================
   20. SUBPAGE STYLES
   ========================================================== */

/* Page hero (inner pages — same height as home hero) */
.page-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--space-3xl) + 80px) 0 var(--space-2xl);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 75%;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(12,12,15,0.5) 0%, rgba(12,12,15,0.3) 40%, rgba(12,12,15,0.85) 80%, var(--bg-void) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.page-hero-content .container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: var(--lh-tight);
  color: var(--text-primary);
  margin-top: auto;
}

.page-hero-title em {
  font-style: italic;
  background: var(--chrome-gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero-tagline {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  max-width: 540px;
  margin-top: var(--space-sm);
  line-height: var(--lh-body);
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: var(--ls-normal);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-md);
}

.page-hero .breadcrumb {
  padding-bottom: var(--space-xs);
}

.breadcrumb a {
  color: #ffffff;
  transition: color var(--duration-fast);
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75em;
}

/* Mobile page hero */
@media (max-width: 767px) {
  .page-hero {
    min-height: auto;
    padding: 11rem 0 var(--space-3xl);
  }
  .page-hero-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }
}

/* Page content */
.page-content {
  background: var(--bg-primary);
  padding-block: var(--space-2xl);
}

.page-content .container { max-width: var(--container-narrow); }

.page-content-body {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: var(--lh-body);
}

.page-content-body p { margin-bottom: var(--space-md); }
.page-content-body p:last-child { margin-bottom: 0; }

/* Page split (image + prose 50/50) */
.page-split { background: var(--bg-primary); }

.page-split-inner {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 480px;
}

@media (min-width: 768px) {
  .page-split-inner { grid-template-columns: 1fr 1fr; }
}

.page-split-img {
  position: relative;
  overflow: hidden;
  min-height: 340px;
}

.page-split-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-split-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-2xl) var(--space-xl);
}

@media (min-width: 768px) {
  .page-split-body { padding: var(--space-3xl) var(--space-2xl); }
}

@media (min-width: 1200px) {
  .page-split-body { padding: var(--space-3xl) var(--space-3xl); }
}

.page-split-body p {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: var(--lh-body);
  margin-bottom: var(--space-md);
}

.page-split-body p:last-child { margin-bottom: 0; }

/* Feature grid */
.page-features {
  background: var(--bg-elevated);
  padding-block: var(--space-2xl);
}

.page-features-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 600px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-item {
  position: relative;
  padding: var(--space-lg) var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  text-align: center;
  overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-out-expo),
              transform var(--duration-base) var(--ease-out-expo);
}

.feature-item:hover {
  border-color: var(--silver);
  transform: translateY(-4px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--silver-glow);
  border: 1px solid rgba(176, 176, 190, 0.12);
  margin-bottom: var(--space-md);
  transition: background var(--duration-base),
              border-color var(--duration-base);
}

.feature-item:hover .feature-icon {
  background: var(--silver-muted);
  border-color: rgba(176, 176, 190, 0.3);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--silver);
  fill: none;
  stroke-width: 1.5;
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.feature-item p {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: var(--lh-body);
}

/* Services showcase (services page full layout) */
.services-showcase {
  border-top: 1px solid var(--border-hairline);
}

.service-row {
  display: grid;
  grid-template-columns: 1fr;
  border-bottom: 1px solid var(--border-hairline);
  background: var(--bg-primary);
  transition: background var(--duration-base);
}

@media (min-width: 768px) {
  .service-row {
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
  }
  .service-row--flip { grid-template-columns: 1fr 1fr; }
}

.service-row-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

@media (min-width: 768px) {
  .service-row-img { aspect-ratio: auto; }
  .service-row--flip .service-row-img { order: 2; }
}

.service-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.service-row:hover .service-row-img img { transform: scale(1.04); }

.service-row-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 15, 0.15);
  pointer-events: none;
}

.service-row-body {
  position: relative;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 767px) {
  .service-row-body { padding: var(--space-lg) var(--space-md); }
}

.service-row-number {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1;
  position: absolute;
  top: var(--space-lg);
  right: var(--space-xl);
  pointer-events: none;
  transition: color var(--duration-base);
}

.service-row--flip .service-row-number { right: auto; left: var(--space-xl); }
.service-row:hover .service-row-number { color: rgba(176, 176, 190, 0.12); }

.service-row-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: var(--ls-mega);
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: var(--space-sm);
}

.service-row-eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--silver);
  flex-shrink: 0;
}

.service-row-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 400;
  line-height: var(--lh-tight);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.service-row-body h3 em {
  font-style: italic;
  display: block;
  background: var(--chrome-gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-row-desc {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: var(--lh-body);
  margin-bottom: var(--space-lg);
  max-width: 52ch;
}

.service-row-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xs) var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (max-width: 479px) {
  .service-row-features { grid-template-columns: 1fr; }
}

.service-row-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: var(--lh-snug);
}

.service-row-feature::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--silver);
  flex-shrink: 0;
  transition: transform var(--duration-fast);
}

.service-row:hover .service-row-feature::before { transform: scale(1.4); }

.service-row-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--bg-void);
  background: var(--chrome-gradient);
  background-size: 200% 200%;
  padding: 0.85em 1.8em;
  border-radius: var(--radius-xs);
  align-self: flex-start;
  transition: transform var(--duration-fast) var(--ease-out-expo),
              box-shadow var(--duration-fast) var(--ease-out-expo);
}

.service-row-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(176, 176, 190, 0.2);
}

.service-row-cta svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform var(--duration-fast) var(--ease-out-expo);
}

.service-row-cta:hover svg { transform: translateX(3px); }

.service-row-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
}

/* Legal pages */
.page-header {
  background: var(--bg-void);
  padding: calc(var(--space-3xl) + 80px) 0 var(--space-2xl);
  text-align: center;
}

.page-header-title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: var(--lh-tight);
  color: var(--text-primary);
  margin-top: var(--space-sm);
}

.page-header-updated {
  font-size: var(--fs-micro);
  color: var(--text-muted-a11y);
  margin-top: var(--space-sm);
}

.legal-content {
  background: var(--bg-primary);
  padding-block: var(--space-2xl);
}

.legal-content .container { max-width: var(--container-narrow); }

.legal-content h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  color: var(--text-primary);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--text-primary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
}

.legal-content p {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: var(--lh-body);
  margin-bottom: var(--space-md);
}

.legal-content ul,
.legal-content ol {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: var(--lh-body);
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li { margin-bottom: var(--space-xs); }

.legal-content a {
  color: var(--silver-bright);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--duration-fast);
}

.legal-content a:hover { color: var(--text-primary); }

/* 404 error page */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--bg-void);
}

.error-content { max-width: 560px; }

.error-number {
  font-family: var(--font-display);
  font-size: var(--fs-massive);
  font-weight: 300;
  line-height: 1;
  background: var(--chrome-gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-md);
}

.error-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.error-text {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: var(--lh-body);
  margin-bottom: var(--space-lg);
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.error-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  border-top: 1px solid var(--border-hairline);
  padding-top: var(--space-md);
}

.error-nav a {
  font-size: var(--fs-small);
  letter-spacing: var(--ls-normal);
  text-transform: uppercase;
  color: var(--text-muted-a11y);
  text-decoration: none;
  transition: color var(--duration-fast);
}

.error-nav a:hover { color: var(--text-primary); }


/* ==========================================================
   21. GALLERY & CAROUSEL
   ========================================================== */
.gallery-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 70vh;
  min-height: 420px;
  max-height: 760px;
  user-select: none;
}

.gallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.65s var(--ease-out-quart);
  will-change: transform;
}

.gallery-slide {
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  background: rgba(12, 12, 15, 0.55);
  border: 1px solid rgba(192, 180, 155, 0.35);
  color: var(--silver);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--duration-fast), border-color var(--duration-fast), transform var(--duration-fast);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}

.carousel-btn--prev { left: var(--space-lg); }
.carousel-btn--next { right: var(--space-lg); }

.carousel-btn:hover {
  background: rgba(192, 180, 155, 0.2);
  border-color: var(--silver);
  transform: translateY(-50%) scale(1.06);
}

.carousel-btn:active { transform: translateY(-50%) scale(0.96); }

.carousel-counter {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  z-index: 10;
}

.carousel-current {
  color: var(--silver);
  font-weight: 600;
}

.carousel-dots {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
}

.carousel-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background var(--duration-fast), width var(--duration-fast), border-radius var(--duration-fast);
  border: none;
  padding: 0;
}

.carousel-dot.is-active {
  background: var(--silver);
  width: 18px;
  border-radius: 3px;
}

/* Fleet strip carousel */
.fleet-strip {
  background: var(--bg-void);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-2xl);
}

.strip-wrap { position: relative; overflow: hidden; }
.fleet-strip { overflow: hidden; }

.strip-carousel {
  overflow: hidden;
  width: 100%;
  user-select: none;
  padding: 0 52px;
  box-sizing: border-box;
}

.strip-track {
  display: flex;
  gap: 12px;
  transition: transform 0.65s var(--ease-out-quart);
  will-change: transform;
}

.strip-slide {
  flex: 0 0 calc((100% - 2 * 12px) / 2.5);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-elevated);
}

.strip-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.5s ease;
}

.strip-slide:hover img { transform: scale(1.04); }

.strip-btn {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 52px;
  background: rgba(12, 12, 15, 0.55);
  border: none;
  color: var(--silver);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--duration-fast);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10;
}

.strip-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  flex-shrink: 0;
}

.strip-btn--prev { left: 0; border-right: 1px solid rgba(192, 180, 155, 0.2); }
.strip-btn--next { right: 0; border-left: 1px solid rgba(192, 180, 155, 0.2); }
.strip-btn:hover { background: rgba(192, 180, 155, 0.18); }
.strip-btn:focus-visible { outline: 2px solid var(--silver); outline-offset: -2px; }
.strip-btn:disabled { opacity: 0.2; cursor: default; pointer-events: none; }

.strip-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: var(--space-lg);
  padding: 0 var(--space-lg);
}

.strip-footer .carousel-dots {
  position: static;
  transform: none;
}

.strip-counter {
  position: absolute;
  right: var(--space-lg);
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.strip-counter .carousel-current {
  color: var(--silver);
  font-weight: 600;
}

@media (max-width: 1024px) {
  .strip-carousel {
    padding: 0 !important;
    overflow: hidden !important;
    max-width: 100% !important;
  }
  .strip-track {
    gap: 0 !important;
    width: 100% !important;
  }
  .strip-slide {
    flex: 0 0 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .strip-btn { width: 44px; }
  .strip-footer { margin-top: var(--space-md); }
}


/* ==========================================================
   22. FLUENT FORMS — DARK THEME
   ========================================================== */
.fluentform { background: transparent; }

.ff-el-group { margin-bottom: var(--space-lg); }

.ff-el-input--label label {
  font-family: var(--font-body);
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: var(--ls-normal);
  text-transform: uppercase;
  color: var(--text-muted-a11y);
}

.ff-el-form-control {
  width: 100%;
  background: var(--bg-primary) !important;
  border: 1px solid var(--border-subtle) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  padding: 0.8rem 1rem;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none !important;
}

.ff-el-form-control::placeholder { color: var(--text-muted-a11y); }

.ff-el-form-control:focus {
  outline: 2px solid var(--silver);
  outline-offset: 2px;
  border-color: var(--silver) !important;
  background: var(--bg-elevated) !important;
}

select.ff-el-form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239090a0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  padding-right: 2.5rem;
  cursor: pointer;
}

textarea.ff-el-form-control {
  resize: vertical;
  min-height: 90px;
  line-height: var(--lh-body);
}

.ff-el-is-error .ff-el-form-control { border-color: #c0392b !important; }

.ff-el-is-error .error {
  color: #e07070;
  font-size: var(--fs-micro);
  margin-top: 0.3rem;
}

.ff_submit_btn_wrapper { width: 100%; }
/* Submit button styled in section 24 */

.ff-message-success {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  margin: 0 !important;
  padding: var(--space-2xl) var(--space-md) !important;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.ff-message-success .scd-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.ff-message-success .scd-success-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--silver);
  stroke: url(#chrome-grad) var(--silver);
}

.ff-message-success .scd-success-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 300;
  color: var(--text-primary);
  line-height: var(--lh-snug);
  margin: 0;
}

.ff-message-success .scd-success-title em {
  font-style: italic;
  background: var(--chrome-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ff-message-success p,
.ff-message-success .scd-success-body {
  color: var(--text-muted-a11y);
  font-size: var(--fs-small);
  line-height: var(--lh-body);
  max-width: 36ch;
  margin: 0;
}

.ff-t-container { background: transparent; }


/* ==========================================================
   23. CONTACT PAGE
   ========================================================== */
.contact-section {
  background: var(--bg-primary);
  padding-block: var(--space-3xl);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3xl);
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.4fr;
    align-items: start;
  }
}

.contact-info-label {
  display: inline-block;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--chrome-mid);
  margin-bottom: var(--space-md);
}

.contact-info-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: var(--space-xl);
}

.contact-info-heading em {
  font-style: italic;
  background: var(--chrome-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  min-width: 0;
}

.contact-detail-body {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--silver);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--silver);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail-body dt {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: var(--ls-normal);
  text-transform: uppercase;
  color: var(--text-muted-a11y);
  margin-bottom: 0.3rem;
}

.contact-detail-body dd {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.contact-detail-body dd span {
  display: block;
}

.contact-detail-body a {
  color: var(--text-secondary);
  transition: color var(--duration-fast);
}

.contact-detail-body a:hover {
  color: var(--text-primary);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: var(--space-sm);
}

.req-star {
  color: var(--gold);
  font-size: 1em;
  vertical-align: super;
  line-height: 1;
  margin-left: 2px;
}

.contact-form-wrap {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: var(--ls-normal);
  text-transform: uppercase;
  color: var(--text-muted-a11y);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: var(--fs-small);
  color: var(--text-primary);
  width: 100%;
  transition: border-color var(--duration-fast);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted-a11y); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--silver);
  outline-offset: 2px;
  border-color: var(--silver);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239090a0' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.form-group input[type="date"] {
  min-height: 3rem;
  line-height: 1.5;
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

@media (max-width: 599px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap {
    padding: var(--space-md);
    margin-inline: calc(-1 * var(--space-lg));
  }
}

.contact-form-alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.contact-form-alert--success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.contact-form-alert--error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}


/* ==========================================================
   24. BOOKING PAGE — FF FORM STYLING
   The booking form sits inside .contact-form-wrap (same as
   the contact page). These rules style the FF output to match
   the static design: section breaks as dividers, 2-column rows.
   ========================================================== */
.booking-form-unconfigured {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  padding: var(--space-xl) 0;
}

/* --- Section breaks ---
   FF renders: <div class="ff-el-group ff-el-section-break ff_left">
                 <h3 class="ff-el-section-title">Your Details</h3>
                 <div class="ff-section_break_desk"></div>
                 <hr>
               </div>
*/
.contact-form-wrap .ff-el-section-break {
  margin-bottom: var(--space-md);
}

.contact-form-wrap .ff-el-section-break hr,
.contact-form-wrap .ff-section_break_desk {
  display: none;
}

.contact-form-wrap .ff-el-section-title {
  font-family: var(--font-body) !important;
  font-size: var(--fs-micro) !important;
  font-weight: 600 !important;
  letter-spacing: var(--ls-wide) !important;
  text-transform: uppercase !important;
  color: var(--silver) !important;
  margin: 0 !important;
  border-top: 1px solid var(--border-hairline);
  padding-top: var(--space-lg);
}

.contact-form-wrap .ff-el-group.ff-el-section-break:first-of-type .ff-el-section-title {
  border-top: none;
  padding-top: 0;
}

/* --- 2-column container rows ---
   FF renders: <div class="ff-t-container ff-column-container ff_columns_total_2">
                 <strong></strong>   ← empty, must be hidden
                 <div class="ff-t-cell ff-t-column-1" style="flex-basis:50%">…</div>
                 <div class="ff-t-cell ff-t-column-2" style="flex-basis:50%">…</div>
               </div>
*/
.contact-form-wrap .ff-t-container {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: var(--space-md) !important;
  margin: 0 0 var(--space-lg) !important;
  padding: 0 !important;
  width: 100% !important;
  background: transparent !important;
}

/* Hide the empty <strong> FF injects as first flex child */
.contact-form-wrap .ff-t-container > strong {
  display: none !important;
}

/* Each column: grow equally, ignore the inline flex-basis:50% */
.contact-form-wrap .ff-t-cell {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  padding: 0 !important;
}

/* Fields inside columns don't need their own bottom margin */
.contact-form-wrap .ff-t-cell .ff-el-group {
  margin-bottom: 0 !important;
}

@media (max-width: 540px) {
  .contact-form-wrap .ff-t-container {
    flex-wrap: wrap !important;
  }
  .contact-form-wrap .ff-t-cell {
    flex: 1 1 100% !important;
  }
}

/* Spacing for top-level FF field groups */
.contact-form-wrap .ff-el-group {
  margin-bottom: var(--space-lg);
}

/* --- Submit button ---
   FF's own stylesheet sets color:#fff on .ff-default .ff-btn-primary.
   The button also renders with no text by default — add it via ::after.
*/
.contact-form-wrap .ff-btn-submit,
.fluentform .ff-btn-submit {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  background: var(--chrome-gradient) !important;
  color: #0c0c0f !important;
  -webkit-text-fill-color: #0c0c0f !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  padding: 1rem 2rem !important;
  font-family: var(--font-body) !important;
  font-size: var(--fs-small) !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: opacity 0.2s !important;
  margin-top: var(--space-lg) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  min-height: 3.25rem;
}

/* Inject button label if the button has no text content */
.contact-form-wrap .ff-btn-submit:empty::after,
.fluentform .ff-btn-submit:empty::after {
  content: 'Send Enquiry';
}

.contact-form-wrap .ff-btn-submit:hover,
.fluentform .ff-btn-submit:hover { opacity: 0.85 !important; }

.contact-form-wrap .ff-btn-submit:disabled,
.fluentform .ff-btn-submit:disabled { opacity: 0.5 !important; cursor: not-allowed !important; }


/* ==========================================================
   25. WHY US — SCENE VARIANT
   ========================================================== */
.why-us--scene {
  position: relative;
  overflow: hidden;
  background: var(--bg-void);
}

.why-us-scene-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.why-us-scene-bg img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  opacity: 0.28;
  filter: grayscale(20%) brightness(0.7);
}

.why-us-scene-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      var(--bg-void) 0%,
      rgba(12,12,15,0.55) 15%,
      transparent 40%,
      transparent 60%,
      rgba(12,12,15,0.65) 85%,
      var(--bg-void) 100%),
    linear-gradient(to right,
      rgba(12,12,15,0.6) 0%,
      transparent 40%,
      transparent 60%,
      rgba(12,12,15,0.6) 100%);
}

.why-us--scene .container { position: relative; z-index: 1; }

.why-us--scene .benefit-card {
  background: rgba(17, 17, 22, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.09);
}


/* ==========================================================
   25. REDUCED MOTION
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* ==========================================================
   26. MULTISITE — LIGHT COLOUR SCHEME
   Activated by .scheme-light body class (injected via ACF Site Design).
   All rules are scoped to .scheme-light so STA (dark scheme) is untouched.
   ========================================================== */

/* Surface + text palette override */
.scheme-light {
  --bg-void:          #ffffff;
  --bg-primary:       #f4f4f4;
  --bg-elevated:      #eeeeee;
  --bg-card:          #f0f0f0;
  --bg-card-hover:    #e8e8e8;
  --bg-surface:       #f4f4f4;
  --text-primary:     #1a1a1a;
  --text-secondary:   #444444;
  --text-muted:       #666666;
  --text-muted-a11y:  #888888;
  --text-dim:         #cccccc;
  --border-hairline:  rgba(0, 0, 0, 0.07);
  --border-subtle:    rgba(0, 0, 0, 0.10);
  --border-medium:    rgba(0, 0, 0, 0.18);
  --silver:           #888888;
  --silver-bright:    #555555;
}

/* Remove grain film overlay — looks wrong on white backgrounds */
.scheme-light body::before { display: none; }

/* Page background */
.scheme-light body,
.scheme-light .wp-site-blocks { background: var(--bg-void); color: var(--text-primary); }

/* ── Navigation ── */
.scheme-light .wp-block-group.site-nav,
.scheme-light .site-nav.wp-block-group {
  background-color: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.scheme-light .wp-block-group.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* Remove the screen blend + dark filter on the logo — not needed on white */
.scheme-light .site-nav .wp-block-site-logo img {
  filter: none;
  mix-blend-mode: normal;
}

.scheme-light .site-nav .wp-block-navigation-item__content { color: var(--text-secondary); }
.scheme-light .site-nav .wp-block-navigation-item:hover .wp-block-navigation-item__content { color: var(--text-primary); }
.scheme-light .site-nav .wp-block-navigation-item__content::after { background: var(--accent); }
.scheme-light .site-nav .wp-block-navigation__responsive-container-open { color: var(--text-primary); }
.scheme-light .site-nav .wp-block-navigation__responsive-container.is-menu-open { background: #ffffff; }
.scheme-light .site-nav .wp-block-navigation__responsive-container .wp-block-navigation-item__content { color: var(--text-secondary); }
.scheme-light .site-nav .wp-block-navigation__responsive-container .wp-block-navigation-item:hover .wp-block-navigation-item__content { color: var(--accent); }

/* ── Buttons ── */
.scheme-light .btn-chrome {
  background: var(--accent);
  color: #ffffff;
  animation: none;
}
.scheme-light .btn-chrome:hover {
  filter: brightness(0.88);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}
/* Nav CTA button — solid accent instead of chrome gradient */
.scheme-light .site-nav .nav-cta-item .wp-block-navigation-item__content {
  background: var(--accent) !important;
  color: #ffffff !important;
  animation: none;
}
.scheme-light .site-nav .nav-cta-item .wp-block-navigation-item__content:hover {
  filter: brightness(0.88);
}
.scheme-light .site-nav .nav-cta-item .wp-block-navigation-item__content::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
}
.scheme-light .site-nav .wp-block-navigation__responsive-container .nav-cta-item .wp-block-navigation-item__content { color: #ffffff !important; }

.scheme-light .btn-ghost              { border-color: rgba(0, 0, 0, 0.22); color: var(--text-primary); }
.scheme-light .btn-ghost:hover        { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* WP block buttons */
.scheme-light .is-style-chrome .wp-block-button__link {
  background: var(--accent) !important;
  color: #ffffff !important;
  animation: none;
}
.scheme-light .is-style-chrome .wp-block-button__link:hover {
  filter: brightness(0.88);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
}
.scheme-light .is-style-outline .wp-block-button__link {
  border-color: rgba(0, 0, 0, 0.22) !important;
  color: var(--text-primary) !important;
}
.scheme-light .is-style-outline .wp-block-button__link:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

/* ── Heading em — accent colour replaces chrome gradient ── */
.scheme-light .heading-display em {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: var(--accent);
  color: var(--accent);
}

/* ── Marquee band — accent background ── */
.scheme-light .divider-band {
  background: var(--accent);
  border-color: transparent;
}
.scheme-light .divider-marquee                 { color: #ffffff; }
.scheme-light .marquee-strip span::after       { color: rgba(255, 255, 255, 0.4); }


/* ==========================================================
   27. MULTISITE — BOLD HEADING STYLE
   Activated by .headings-bold body class (injected via ACF Site Design).
   Compatible with both .scheme-dark and .scheme-light.
   ========================================================== */

.headings-bold .heading-display {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Bold em: accent colour instead of italic chrome — works in both schemes */
.headings-bold .heading-display em {
  font-style: normal;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: var(--accent);
  color: var(--accent);
}

/* Hero title — bold uppercase when headings-bold is active */
.headings-bold .hero-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.headings-bold .hero-title em {
  font-style: normal;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: currentColor;
  color: inherit;
  animation: none;
}


/* ==========================================================
   28. TEXT MARK LOGO
   Rendered when Site Design → Logo Type is "Text mark".
   Uses --font-display and --accent so it adapts to any scheme.
   ========================================================== */

/* Header text mark */
.text-mark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.text-mark:hover { color: var(--text-primary); }
.text-mark-accent { color: var(--accent); }

/* Keep the wrapper aligned like the image logo */
.text-mark-wrapper { display: flex; align-items: center; }

/* Shrink on scroll — mirrors .site-nav .wp-block-site-logo img transition */
.site-nav.scrolled .text-mark { font-size: 1.25rem; transition: font-size 0.3s ease; }

/* Footer text mark */
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  white-space: nowrap;
  line-height: 1;
  display: block;
  margin-bottom: var(--space-xs);
}
.footer-logo-text .text-mark-accent { color: var(--accent); }


/* ==========================================================
   29. MULTISITE — LIGHT SCHEME EXTENSIONS
   Additional overrides for sections not covered by the base
   .scheme-light block (section 26). All scoped to .scheme-light.
   ========================================================== */

/* ── Page hero — blend gradient to white in light scheme ── */
.scheme-light .page-hero-bg::after {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.15) 40%, rgba(255,255,255,0.6) 75%, #ffffff 100%);
}
.scheme-light .page-hero-title { color: var(--text-primary); }
.scheme-light .page-hero-title em {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: var(--accent);
  color: var(--accent);
}

/* ── Hero — left-to-right gradient overlay, keep text light ── */
.scheme-light .hero {
  color: #f5f5f8;
  min-height: 65vh;
}
.scheme-light .hero-bg::after {
  background: linear-gradient(90deg, rgba(26, 26, 26, 0.85) 0%, rgba(26, 26, 26, 0.4) 100%);
}
.scheme-light .hero-content {
  max-width: 600px;
  margin-left: 5%;
}
.scheme-light .hero-title {
  color: #f5f5f8;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1;
}
.scheme-light .hero-title em {
  font-style: normal;
  display: block;
  color: var(--accent);
  -webkit-text-fill-color: var(--accent);
  font-size: 0.55em;
  margin-top: 6px;
  letter-spacing: 0.05em;
}
.scheme-light .hero-eyebrow { color: var(--accent); }
.scheme-light .hero-tagline {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 440px;
  font-weight: 300;
}
.scheme-light .hero .btn-ghost { border-color: rgba(255, 255, 255, 0.5); color: #ffffff; }
.scheme-light .hero .btn-ghost:hover { border-color: #ffffff; color: #ffffff; }

/* ── Services section — white bg ── */
.scheme-light .services { background: #ffffff; }
.scheme-light .services .wp-block-group {
  background-color: #ffffff;
}

/* ── Service cards — light scheme colour overrides (same layout as dark) ──
   Cards use a dark gradient overlay on the image, so text must stay light
   regardless of the page-level scheme. Dark bg-card ensures text is visible
   even when images are slow to load (e.g. lazy-loading via redirect). ── */
.scheme-light .service-card { background: #1b1b22; }
.scheme-light .service-card-number { color: rgba(255, 255, 255, 0.25); }
.scheme-light .service-card:hover .service-card-number { color: rgba(255, 255, 255, 0.45); }
.scheme-light .service-card-body h3 { color: #e8e8ec; }
.scheme-light .service-card-desc { color: rgba(255, 255, 255, 0.7); }
.scheme-light .service-card-link { color: var(--accent); }

/* ── About section — light grey bg, white stat boxes ── */
.scheme-light .about { background: var(--bg-primary); }
.scheme-light .about::before { display: none; }

.scheme-light .about-text {
  color: var(--text-muted);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
}

.scheme-light .about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 32px;
}
.scheme-light .stat-item {
  text-align: center;
  padding: 28px 16px;
  background: #ffffff;
  position: relative;
  border: 1px solid #e5e5e5;
  margin-left: -1px;
  margin-top: -1px;
}
.scheme-light .stat-item:first-child { margin-left: 0; }
.scheme-light .stat-number {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: var(--accent);
  color: var(--accent);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
}
.scheme-light .stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #999;
  margin-top: 8px;
  font-weight: 500;
}

.scheme-light .about-image-frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

/* ── Service rows — accent CTA, readable text ── */
.scheme-light .service-row { background: #ffffff; border-bottom-color: rgba(0, 0, 0, 0.07); }
.scheme-light .service-row-cta {
  background: var(--accent);
  color: #ffffff;
  animation: none;
}
.scheme-light .service-row-cta:hover { filter: brightness(0.88); }
.scheme-light .service-row-cta svg { stroke: #ffffff; }
.scheme-light .service-row-desc { color: #555555; }
.scheme-light .service-row-feature { color: #555555; }
.scheme-light .service-row-feature::before { background: var(--accent); }
.scheme-light .service-row-eyebrow { color: var(--text-muted); }
.scheme-light .service-row-eyebrow::before { background: var(--accent); }
.scheme-light .service-row-number { color: rgba(0, 0, 0, 0.04); }
.scheme-light .service-row:hover .service-row-number { color: rgba(0, 0, 0, 0.06); }

/* ── Why Us section — white bg, left-aligned header ── */
.scheme-light .why-us { background: #ffffff; }
.scheme-light .why-us-header { text-align: center; }
.scheme-light .why-us-subtext { text-align: center; }
.scheme-light .why-us-grid { gap: 2px; }

/* ── Benefit cards — grey-pale bg, red top border on highlight ── */
.scheme-light .benefit-card {
  background: var(--bg-primary);
  padding: 36px 28px;
  border-top: 3px solid transparent;
  border-radius: 0;
}
.scheme-light .benefit-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.scheme-light .benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.scheme-light .benefit-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}
.scheme-light .benefit-icon {
  background: transparent;
  border-color: transparent;
  margin-bottom: 20px;
}
.scheme-light .benefit-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
}

/* ── Testimonials — white bg, grey-pale cards, left-aligned header ── */
.scheme-light .testimonials { background: #ffffff; }
.scheme-light .testimonials::before { display: none; }
.scheme-light .testimonials-header { text-align: left; }
.scheme-light .testimonials-grid { gap: 2px; }

.scheme-light .testimonial-card {
  background: var(--bg-primary);
  padding: 32px;
  border-color: transparent;
  border-radius: 0;
}
.scheme-light .testimonial-card:hover {
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
.scheme-light .testimonial-card blockquote {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-style: normal;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 24px;
}
.scheme-light .testimonial-rating { margin-bottom: 20px; }
.scheme-light .testimonial-rating svg { fill: var(--accent); }
.scheme-light .testimonial-avatar {
  background: var(--accent);
  color: #ffffff;
  border-radius: 0;
  width: 40px;
  height: 40px;
  font-size: 0.8rem;
}
.scheme-light .testimonial-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-primary);
}
.scheme-light .testimonial-role {
  font-size: 0.75rem;
  color: #999;
  margin-top: 2px;
}
.scheme-light .testimonial-author {
  border-top: 1px solid #ddd;
  padding-top: 16px;
}

/* ── Fleet strip — grey-pale bg ── */
.scheme-light .fleet-strip { background: var(--bg-primary); }
.scheme-light .strip-btn {
  background: #ffffff;
  border-color: #ddd;
}
.scheme-light .strip-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.scheme-light .strip-btn:hover svg { stroke: #ffffff; }
.scheme-light .strip-btn svg { stroke: var(--text-primary); }
.scheme-light .carousel-current { color: var(--accent); font-weight: 700; }
.scheme-light .strip-counter { color: #999; }

/* ── CTA — stays dark even in light scheme ── */
.scheme-light .cta-section {
  background: #1a1a1a;
  color: #f5f5f8;
}
.scheme-light .cta-section .heading-display { color: #f5f5f8; }
.scheme-light .cta-section .heading-display em {
  -webkit-text-fill-color: var(--accent);
  color: var(--accent);
}
.scheme-light .cta-section .cta-subtext { color: rgba(255, 255, 255, 0.7); }
.scheme-light .cta-section .btn-chrome { background: var(--accent); color: #ffffff; }
.scheme-light .cta-section .btn-ghost { border-color: rgba(255, 255, 255, 0.3); color: #ffffff; }
.scheme-light .cta-section .btn-ghost:hover { border-color: #ffffff; color: #ffffff; }
.scheme-light .cta-section::before {
  background: radial-gradient(ellipse, rgba(227, 24, 55, 0.08) 0%, transparent 70%);
}

/* ── Contact page — white card on tinted band, accent button ── */
.scheme-light .contact-form-wrap {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.scheme-light .contact-info-heading em,
.scheme-light .ff-message-success .scd-success-title em {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: var(--accent);
  color: var(--accent);
}

.scheme-light .contact-detail-icon { border-color: rgba(0, 0, 0, 0.18); }
.scheme-light .contact-detail-icon svg { stroke: var(--accent); }

.scheme-light .contact-form-wrap .ff-el-form-control {
  background: #fafafa !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
}
.scheme-light .contact-form-wrap .ff-el-form-control:focus {
  background: #ffffff !important;
  outline-color: var(--accent);
  border-color: var(--accent) !important;
}

.scheme-light .contact-form-wrap .ff-btn-submit,
.scheme-light .fluentform .ff-btn-submit {
  background: var(--accent) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  animation: none !important;
}

/* ── Footer — stays dark even in light scheme ── */
.scheme-light .footer-social-row { background: #111116; }
.scheme-light .footer-social-row__label { color: #999; }
.scheme-light .footer-social-icon { color: #999; border-color: rgba(255, 255, 255, 0.1); }
.scheme-light .footer-social-icon:hover { color: var(--accent); border-color: var(--accent); }
.scheme-light .footer-accordion { background: #111116; border-color: rgba(255, 255, 255, 0.06); }
.scheme-light .footer-accordion-btn { color: #999; }
.scheme-light .footer-accordion-btn:hover { color: #fff; }
.scheme-light .footer-column li { color: #999; }
.scheme-light .footer-column a { color: #999; }
.scheme-light .footer-column a:hover { color: #fff; text-decoration: underline; }
.scheme-light .footer-bottom { background: #0c0c0f; border-top-color: rgba(255, 255, 255, 0.06); }
.scheme-light .footer-brand p { color: #999; }
.scheme-light .footer-logo-text { color: #f5f5f8; }
.scheme-light .footer-logo-img { filter: none; }
.scheme-light .footer-copyright { color: #666; }

/* ==========================================================
   CHAUFFEUR SITE LINK — subtle cross-site link inline in the
   footer copyright row. Intentionally low-key so it doesn't
   compete with the main Club Cars navigation.
   ========================================================== */
.footer-chauffeur-link-sep {
  color: inherit;
  opacity: 0.5;
}

.footer-chauffeur-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted currentColor;
  transition: opacity var(--duration-fast) var(--ease-out-expo);
}

.footer-chauffeur-link:hover,
.footer-chauffeur-link:focus-visible {
  opacity: 0.85;
}

/* ==========================================================
   MOBILE CALL BAR — full-width sticky "Call now" bar on mobile
   ========================================================== */
.mobile-call-fab {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: #fff;
  background: var(--accent, #e31837);
  text-decoration: none;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  transition: background-color var(--duration-fast) var(--ease-out-expo);
}

.mobile-call-fab:hover,
.mobile-call-fab:focus-visible {
  color: #fff;
  filter: brightness(0.92);
}

.mobile-call-fab__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Reserve space so the sticky bar doesn't cover content at the bottom. */
@media (max-width: 767px) {
  .mobile-call-fab {
    display: inline-flex;
  }
  body {
    padding-bottom: calc(3.25rem + env(safe-area-inset-bottom));
  }
}

/* Avoid overlap with the mobile overlay menu when it is open. */
.site-nav .wp-block-navigation__responsive-container.is-menu-open ~ .mobile-call-fab,
body:has(.wp-block-navigation__responsive-container.is-menu-open) .mobile-call-fab {
  display: none;
}
