/* ========================================
   VINE ELECTRIC — Marketing Website
   ======================================== */

:root {
  --vine-orange: #E8922A;
  --vine-amber: #F5A623;
  --vine-gold: #FFC857;
  --vine-dark: #111111;
  --vine-darker: #0A0A0A;
  --vine-charcoal: #1A1A1A;
  --vine-warm-white: #F5F0EB;
  --vine-light-gray: #B8B0A8;
  --glow-orange: rgba(232, 146, 42, 0.4);
  --glow-amber: rgba(245, 166, 35, 0.3);
  --font-display: 'Oswald', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.marketing-body {
  font-family: var(--font-body);
  background: var(--vine-darker);
  color: var(--vine-warm-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }


/* ---- SPLASH SCREEN ---- */
.splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--vine-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease;
}

.splash-logo {
  text-align: center;
  transition: opacity 0.3s ease;
}

.splash-logo img {
  width: 500px;
  height: auto;
  opacity: 0;
  animation: logoFadeIn 1s ease 0.3s forwards;
}

.splash-logo.flash img {
  animation: logoFlash 0.5s ease forwards;
  opacity: 1;
}

.splash-logo.hide {
  opacity: 0;
}

.splash-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


@keyframes logoFadeIn {
  0%   { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes logoFlash {
  0%   { filter: brightness(1) drop-shadow(0 0 0 var(--vine-orange)); }
  30%  { filter: brightness(2.8) drop-shadow(0 0 80px var(--vine-orange)) drop-shadow(0 0 160px var(--glow-amber)); }
  70%  { filter: brightness(1.8) drop-shadow(0 0 40px var(--vine-orange)); }
  100% { filter: brightness(1) drop-shadow(0 0 10px var(--glow-orange)); }
}


/* ---- GRADIENT BACKGROUND ---- */
body.marketing-body.gradient-on {
  background:
    radial-gradient(ellipse 80% 50% at 15% 30%, rgba(232, 146, 42, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 70%, rgba(245, 166, 35, 0.1) 0%, transparent 50%),
    linear-gradient(170deg, var(--vine-darker) 0%, #1a1208 40%, var(--vine-dark) 100%);
}


/* ---- NAVBAR ---- */
.marketing-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  transform: translateY(-100%);
  transition: transform 0.5s ease, background 0.3s ease;
}

.marketing-nav.show { transform: translateY(0); }

.marketing-nav.scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(232, 146, 42, 0.15);
}

.nav-logo {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.scrolled-past-hero .nav-links {
  opacity: 1;
  visibility: visible;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--vine-light-gray);
  transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--vine-orange); }

.nav-cta {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 10px 24px;
  background: var(--vine-orange);
  color: var(--vine-darker);
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--vine-amber);
  transform: translateY(-1px);
}


/* ---- WIRE / LIGHTBULB DROPS ---- */
.wires-container {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  gap: 16vw;
  padding-top: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.5s ease;
}

.wires-container.active {
  opacity: 1;
  pointer-events: auto;
}

body.scrolled-past-hero .wires-container {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}


.wire {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 0;
  transition: height 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}


.wire-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom,
    rgba(232, 146, 42, 0.6),
    rgba(232, 146, 42, 0.3)
  );
  border-radius: 1px;
}

.bulb {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  animation: bulbSway 3s ease-in-out infinite;
}

.bulb-cap {
  width: 22px;
  height: 20px;
  background: linear-gradient(to bottom,
    #8a8a8a 0%, #b0b0b0 8%, #6e6e6e 12%,
    #9a9a9a 16%, #b8b8b8 20%, #6a6a6a 24%,
    #888 28%, #aaa 32%, #666 36%,
    #999 40%, #bbb 44%, #5e5e5e 48%,
    #777 55%, #555 100%);
  border-radius: 3px 3px 0 0;
  position: relative;
  z-index: 2;
  border-left: 1px solid rgba(255,255,255,0.1);
  border-right: 1px solid rgba(0,0,0,0.3);
}

.bulb-cap::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: -3px;
  right: -3px;
  height: 4px;
  background: linear-gradient(to bottom, #555, #333);
  border-radius: 0 0 2px 2px;
}

.bulb-glass {
  width: 72px;
  height: 72px;
  border-radius: 50% 50% 48% 48%;
  background:
    radial-gradient(ellipse 40% 35% at 35% 30%, rgba(255, 255, 255, 0.12) 0%, transparent 100%),
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(255, 210, 100, 0.15) 0%, rgba(232, 146, 42, 0.06) 50%, transparent 70%);
  border: 1.5px solid rgba(232, 146, 42, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow:
    0 0 15px rgba(255, 200, 80, 0.2),
    0 0 40px rgba(232, 146, 42, 0.1),
    inset 0 -8px 16px rgba(0, 0, 0, 0.06),
    inset 0 4px 10px rgba(255, 255, 255, 0.04);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}

.bulb-glass::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 8px;
  width: 14px;
  height: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
}

.bulb:hover .bulb-glass {
  transform: scale(1.05);
  box-shadow:
    0 0 25px rgba(255, 200, 80, 0.35),
    0 0 60px rgba(232, 146, 42, 0.2),
    0 0 100px rgba(232, 146, 42, 0.08),
    inset 0 -8px 16px rgba(0, 0, 0, 0.06),
    inset 0 4px 10px rgba(255, 255, 255, 0.06);
}

.filament {
  width: 12px;
  height: 18px;
  border: 1.5px solid rgba(255, 180, 50, 0.5);
  border-top: none;
  border-radius: 0 0 6px 6px;
  position: relative;
  margin-bottom: 2px;
}

.filament::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  height: 10px;
  background: rgba(255, 200, 80, 0.6);
  box-shadow: 0 0 4px rgba(255, 200, 80, 0.4), 0 0 8px rgba(255, 180, 50, 0.2);
}

.filament::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, rgba(255, 220, 120, 0.8) 0%, rgba(255, 180, 50, 0.3) 50%, transparent 70%);
  border-radius: 50%;
}

.bulb-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--vine-orange);
  text-align: center;
  line-height: 1.2;
  margin-top: 8px;
  text-shadow: 0 0 10px rgba(232, 146, 42, 0.3);
}

@keyframes bulbSway {
  0%, 100% { transform: rotate(-1.5deg); }
  50%      { transform: rotate(1.5deg); }
}

.wire:nth-child(2) .bulb { animation-delay: 0.4s; }
.wire:nth-child(3) .bulb { animation-delay: 0.8s; }
/* Three wires sit symmetrically, the middle one centred over the logo — the
   old off-centre margin only made sense with four. */


/* ---- PAGE CONTENT ---- */
.page-content {
  position: relative;
  z-index: 10;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--vine-orange);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--vine-warm-white);
  margin-bottom: 24px;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--vine-orange);
  margin-bottom: 40px;
}

.hero-area {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 1.5px;
  color: var(--vine-light-gray);
  text-align: center;
  margin-top: 14px;
}

.hero-tagline,
.hero-sub,
.hero-area {
  opacity: 0;
  transition: opacity 0.8s ease 0.2s;
}

.hero-tagline.show,
.hero-sub.show,
.hero-area.show {
  opacity: 1;
}

.hero-logo {
  width: 500px;
  height: auto;
  margin-bottom: 32px;
}


/* ---- SECTIONS ---- */
.section {
  scroll-margin-top: 190px;  
  padding: 100px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--vine-orange);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--vine-warm-white);
  margin-bottom: 24px;
}

.section-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--vine-light-gray);
  max-width: 640px;
  text-wrap: pretty; /* no one-word last lines where supported */
}

.section-text + .section-text { margin-top: 16px; }


/* ---- ABOUT (Who We Are + Why Vine) ---- */
/* Text left, "Why Vine" panel right; stacked (text first) on mobile. */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); /* equal: the panel needs the width for one-line descriptions */
  gap: 112px;
  align-items: start;
}

/* Same surface as the service cards. */
.why-vine {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(232, 146, 42, 0.12);
  border-radius: 8px;
  padding: 32px 28px;
}

.why-vine h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--vine-warm-white);
  margin-bottom: 20px;
}

.why-vine-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.why-vine-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.why-vine-icon { display: block; margin-top: 1px; }

.why-vine-list strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--vine-warm-white);
  line-height: 1.4;
}

.why-vine-list span {
  display: block;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--vine-light-gray);
}


/* ---- SERVICE CARDS ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

/* Each card is four rows — icon, title, description, services list — laid on
   the grid's own rows (subgrid), so a description that wraps to an extra line
   pushes that row down in every card in the row: the lists start at the same
   height and the cards stay equal height. Stacked on mobile, each card simply
   takes its own four rows. */
.service-card {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  row-gap: 0;
  align-content: start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(232, 146, 42, 0.12);
  border-radius: 8px;
  padding: 36px 28px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* .reveal.vis (later in this file, same specificity) resets transform, so
   the lift needs the extra class to win. */
.service-card:hover,
.service-card.reveal.vis:hover {
  border-color: rgba(232, 146, 42, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(232, 146, 42, 0.08);
}

/* Browsers without subgrid: same cards, lists just not row-aligned. */
@supports not (grid-template-rows: subgrid) {
  .service-card { display: flex; flex-direction: column; }
}

.service-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--vine-warm-white);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--vine-light-gray);
}

.service-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(232, 146, 42, 0.12);
}

.service-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--vine-light-gray);
}

.service-list li + li { margin-top: 4px; }

/* Small accent-orange marker, centred on the first line of the item. */
.service-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(0.85em - 3px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vine-orange);
}


/* ---- STATS ROW ---- */
.stats-row {
  scroll-margin-top: 190px;  
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 60px 40px;
  border-top: 1px solid rgba(232, 146, 42, 0.1);
  border-bottom: 1px solid rgba(232, 146, 42, 0.1);
}

.stat { text-align: center; }

.stat-number {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  color: var(--vine-orange);
}

.stat-label {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--vine-light-gray);
  margin-top: 4px;
}


/* ---- CONTACT SECTION ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}

.contact-info p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--vine-light-gray);
  margin-bottom: 8px;
}

.contact-info strong { color: var(--vine-warm-white); }

.contact-info a {
  color: var(--vine-warm-white);
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 146, 42, 0.4);
}

.contact-info a:hover { border-bottom-color: rgba(232, 146, 42, 1); }


.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(232, 146, 42, 0.15);
  border-radius: 4px;
  color: var(--vine-warm-white);
  font-family: var(--font-body);
  font-size: 15px;
  margin-bottom: 16px;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--vine-orange);
}

.contact-form input:-webkit-autofill,
.contact-form input:-webkit-autofill:hover,
.contact-form input:-webkit-autofill:focus,
.contact-form textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 30px var(--vine-charcoal) inset !important;
  -webkit-text-fill-color: var(--vine-warm-white) !important;
  caret-color: var(--vine-warm-white) !important;
  transition: background-color 9999s ease-in-out 0s;
}

.required-note {
  font-size: 12px;
  color: var(--vine-light-gray);
  opacity: 0.6;
  margin-bottom: 4px;
}

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

.contact-form button {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 36px;
  background: var(--vine-orange);
  color: var(--vine-darker);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover { background: var(--vine-amber); }

.contact-form-privacy {
  font-size: 12px;
  line-height: 1.6;
  color: var(--vine-light-gray);
  opacity: 0.75;
  margin: -6px 0 16px; /* tucked under the textarea, clear of the button */
}

/* No-JavaScript form results (Turbo uses the modal / inline errors). */
.marketing-flash-stack {
  position: fixed;
  top: 84px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 110;
  width: min(560px, calc(100% - 32px));
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.marketing-flash {
  padding: 14px 20px;
  border-radius: 4px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--vine-warm-white);
  background: rgba(15, 15, 15, 0.95);
  border: 1px solid rgba(232, 146, 42, 0.5);
}

.marketing-flash--error { border-color: #dc2626; }

.form-success,
.form-errors {
  max-width: 1200px;
  margin: 0 auto 24px;
  padding: 14px 20px;
  border-radius: 4px;
  font-size: 15px;
  font-family: var(--font-body);
}

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

.form-errors {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #fca5a5;
}

.form-errors ul { padding-left: 18px; margin: 0; }
.form-errors li { margin-bottom: 4px; }

/* ---- CONTACT FORM — THANK-YOU STATE ---- */
.contact-form-thankyou {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 10px;
  cursor: default;
}

.contact-form-thankyou-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--vine-light-gray);
  margin: 0;
}

.contact-form-thankyou-check {
  color: #86efac;
  margin-right: 4px;
}

.contact-form-thankyou-reset-form {
  display: inline;
  margin: 0;
  padding: 0;
}

.contact-form-thankyou-reset {
  font-size: 14px;
  color: var(--vine-light-gray);
  border-bottom: 1px solid rgba(184, 176, 168, 0.3);
  padding-bottom: 2px;
  transition: color 0.2s;
  cursor: pointer;
}

button.contact-form-thankyou-reset {
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: inherit;
  font-size: inherit;
  padding: 0 0 2px 0;
}

.contact-form-thankyou-reset:hover { color: var(--vine-warm-white); }

/* ---- MODAL ---- */
.vine-modal-backdrop,
.vine-modal { cursor: default; }

.vine-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: vine-backdrop-in 0.2s ease;
}

@keyframes vine-backdrop-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.vine-modal-backdrop.is-closing {
  animation: vine-backdrop-out 0.18s ease forwards;
}

@keyframes vine-backdrop-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

.vine-modal {
  background: var(--vine-charcoal);
  border: 1px solid rgba(232, 146, 42, 0.25);
  border-radius: 12px;
  padding: 44px 40px 40px;
  max-width: 480px;
  width: calc(100% - 48px);
  position: relative;
  text-align: center;
  animation: vine-modal-in 0.22s ease;
}

@keyframes vine-modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.vine-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: var(--vine-light-gray);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
  transition: color 0.2s;
}

.vine-modal-close:hover { color: var(--vine-warm-white); }

.vine-modal-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.vine-modal-heading {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--vine-warm-white);
  margin: 0 0 12px;
}

.vine-modal-body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--vine-light-gray);
  line-height: 1.6;
  margin: 0 0 28px;
}

.vine-modal-button {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 44px;
  background: var(--vine-orange);
  color: var(--vine-darker);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.vine-modal-button:hover { background: var(--vine-amber); }

/* ---- EQUIPPED FOR THE JOB ---- */
.photo-strip {
  padding: 60px 0;
  border-top: 1px solid rgba(232, 146, 42, 0.08);
  border-bottom: 1px solid rgba(232, 146, 42, 0.08);
  overflow: hidden;
}

.photo-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.photo-strip-heading {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--vine-orange);
  margin-bottom: 32px;
  text-align: center; /* over the centred tile row */
}

/* One centred row, however many tiles have visible photos (a tile with none
   is not rendered). Every tile shares one height and takes its width from its own
   --tile-ratio (width / height): the landscape fleet tile is wide, the
   portrait interiors narrow. The height is the one that fits all three —
   4:3 + 3:4 + 3:4 = 2.8334 heights of width, plus two 24px gaps — inside the
   content box, capped at 380px; two tiles keep that height and centre. A
   lone tile has no row to share, so it sizes itself (.equip-grid-single). */
.equip-grid {
  --tile-h: min(380px, calc((min(100vw, 1200px) - 80px - 48px) / 2.8334));
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}

.equip-tile {
  flex: 0 0 auto;
  width: calc(var(--tile-h) * var(--tile-ratio));
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(232, 146, 42, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.equip-tile:hover {
  border-color: rgba(232, 146, 42, 0.3);
  transform: translateY(-4px);
}

/* Shaped like its photos, so they fill it edge to edge. A photo of another
   shape still shows whole, over a blurred fill of itself. */
.equip-media {
  position: relative;
  height: var(--tile-h);
  overflow: hidden;
  background: #0f0f0f;
}

.equip-fill,
.equip-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.equip-fill {
  object-fit: cover;
  filter: blur(18px) brightness(0.55);
  transform: scale(1.15); /* hide the blur's soft edge */
}

.equip-photo {
  object-fit: contain;
}

/* A lone tile (no other Vehicles section has a visible photo): the content
   width, up to its photos' real size (--tile-max-w, from the stored pixel
   size) so none is blown up, and no taller than 70% of the screen, at its
   section's shape. The same rule on mobile, where it just fills the column. */
.equip-grid-single .equip-tile {
  width: min(100%, var(--tile-max-w, 640px), calc(70vh * var(--tile-ratio)));
}
.equip-grid-single .equip-media {
  height: auto;
  aspect-ratio: var(--tile-ratio);
}

.photo-card-caption {
  display: block;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--vine-light-gray);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .photo-strip { padding: 40px 0; }
  .photo-strip-inner { padding: 0 20px; }
  /* Stacked in page order, each full width at its photo's natural shape. */
  .equip-grid {
    flex-direction: column;
    align-items: center;
  }
  .equip-tile { width: min(100%, 420px); }
  .equip-media {
    height: auto;
    aspect-ratio: var(--tile-ratio);
  }
}

/* ---- CAROUSEL (multi-photo tiles) ---- */
.carousel-track {
  position: absolute;
  inset: 0;
}

.carousel-slide {
  display: none;
  position: absolute;
  inset: 0;
}

.carousel-slide.active {
  display: block;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.photo-carousel:hover .carousel-arrow,
.carousel-arrow:focus-visible {
  opacity: 1;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.75);
}

/* Always visible on touch devices */
@media (hover: none) {
  .carousel-arrow { opacity: 0.75; }
}

.carousel-arrow-left  { left: 6px; }
.carousel-arrow-right { right: 6px; }

.carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--vine-orange);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
  position: relative;
}

/* Extend tap target without changing visible dot size */
.carousel-dot::before {
  content: '';
  position: absolute;
  inset: -10px;
}

.carousel-dot.active,
.carousel-dot:hover {
  background: var(--vine-orange);
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--vine-orange);
  outline-offset: 3px;
}

/* ---- FOOTER ---- */
.marketing-footer {
  text-align: center;
  padding: 40px;
  border-top: 1px solid rgba(232, 146, 42, 0.08);
  font-size: 14px;
  color: var(--vine-light-gray);
}


/* ---- SCROLL REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.vis {
  opacity: 1;
  transform: translateY(0);
}


/* ---- REPLAY BUTTON ---- */
.replay-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(232, 146, 42, 0.15);
  border: 1px solid rgba(232, 146, 42, 0.3);
  color: var(--vine-orange);
  font-size: 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.replay-btn.show { display: flex; }
.replay-btn:hover { background: rgba(232, 146, 42, 0.3); }


/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .marketing-nav { padding: 12px 20px; }
  .nav-links { display: none; }
  .hero { padding: 100px 24px 60px; }
  .section { padding: 60px 24px; }
  .stats-row { flex-direction: column; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-vine { padding: 28px 22px; }
  .wires-container { gap: 5vw; }
  .bulb { width: 64px; height: 64px; }
  .bulb-label { font-size: 9px; }
}