/* ============================================================
   ERRAND EYE - CORE STYLESHEET
   Custom styles layered under Tailwind utilities.
   Handles: type system, motion, glassmorphism, signature visuals.
   ============================================================ */

:root {
  --eye-green: #0EA55A;
  --eye-green-light: #12C168;
  --eye-blue: #0B84B0;
  --eye-blue-light: #0BA5D6;
  --eye-charcoal: #12181A;
  --eye-charcoal-soft: #1B2224;
  --eye-cream: #FAFAF7;
  --eye-gray: #E9E7E2;
  --eye-gray-line: #DAD7CF;
  --ease-signature: cubic-bezier(0.16, 1, 0.3, 1);
}

* { scroll-behavior: smooth; }

@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;
  }
}

html { scroll-behavior: smooth; }

body {
  background: var(--eye-cream);
  color: var(--eye-charcoal);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* ---------------- Smooth page-load fade-in ---------------- */
.page-fade-in {
  opacity: 0;
  transition: opacity 0.6s var(--ease-signature);
}
.page-fade-in.page-fade-in-active {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .page-fade-in { opacity: 1; transition: none; }
}

/* ---------------- Button ripple ---------------- */
.btn-primary, .btn-ghost, .fab-btn {
  position: relative;
  overflow: hidden;
}
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transform: scale(0);
  pointer-events: none;
  animation: btn-ripple-expand 0.7s var(--ease-signature) forwards;
}
@keyframes btn-ripple-expand {
  to { transform: scale(1); opacity: 0; }
}

.font-display {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0;
}

.font-mono {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: 0.16em;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

.hero-headline.font-display {
  font-weight: 500;
}

/* ---------------- Gradient text / brand mark ---------------- */
.text-gradient-brand {
  background: linear-gradient(100deg, var(--eye-green-light) 0%, var(--eye-blue-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Higher-contrast variant for the brand mark when it sits over the
   translucent nav glass, which otherwise washes the gradient out. */
.text-gradient-brand-strong {
  background: linear-gradient(100deg, #0B8A45 0%, #086C8C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 1px rgba(18, 24, 26, 0.15));
}

/* ---------------- Grain texture overlay ---------------- */
.grain {
  position: relative;
}
.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------- Glass navbar ---------------- */
.nav-glass {
  background: linear-gradient(180deg, rgba(18, 24, 26, 0.36), rgba(18, 24, 26, 0.08));
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  border-bottom: 1px solid rgba(250, 250, 247, 0.08);
  transition: all 0.4s var(--ease-signature);
}
.nav-glass.nav-scrolled {
  background: rgba(18, 24, 26, 0.72);
  border-bottom-color: rgba(250, 250, 247, 0.1);
  box-shadow: 0 1px 0 rgba(250,250,247,0.05), 0 18px 40px -24px rgba(0,0,0,0.4);
}
.nav-glass.nav-hidden { transform: translateY(-100%); }
.nav-glass,
.nav-glass a,
.nav-glass button,
.nav-glass nav {
  color: rgba(250, 250, 247, 0.84) !important;
}
.nav-glass a:hover,
.nav-glass nav a:hover {
  color: var(--eye-cream) !important;
}
.nav-glass .text-gradient-brand-strong {
  background: linear-gradient(100deg, #55f19b 0%, #57d8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.3));
}
.nav-glass span:not(.text-gradient-brand-strong) {
  color: inherit !important;
}

/* ---------------- Hero ---------------- */
.hero-canvas {
  background:
    radial-gradient(ellipse 60% 50% at 20% 15%, rgba(14,165,90,0.22), transparent 60%),
    radial-gradient(ellipse 70% 60% at 85% 75%, rgba(11,132,176,0.24), transparent 60%),
    linear-gradient(180deg, #0E1416 0%, #12181A 45%, #0E1416 100%);
  background-size: 140% 140%, 140% 140%, 100% 100%;
  animation: hero-gradient-drift 18s ease-in-out infinite;
}
@keyframes hero-gradient-drift {
  0%   { background-position: 20% 15%, 85% 75%, center; }
  50%  { background-position: 30% 25%, 70% 65%, center; }
  100% { background-position: 20% 15%, 85% 75%, center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-canvas { animation: none; }
}

.hero-image-stack,
.hero-video-stack {
  overflow: hidden;
  background: var(--eye-charcoal);
}

.hero-video-stack {
  transform-origin: center;
  will-change: transform;
}

.hero-video,
.hero-slide video,
.hero-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero-film {
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1.35s var(--ease-signature), transform 8s ease;
  will-change: opacity, transform;
}

.hero-film.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-content {
  isolation: isolate;
}

.hero-title {
  text-shadow: 0 18px 55px rgba(0, 0, 0, 0.42);
}

.hero-copy {
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.55);
}

@media (max-width: 640px) {
  #hero {
    min-height: 100svh;
  }

  .hero-video-stack {
    transform: none !important;
  }

  .hero-film {
    min-width: 100%;
    min-height: 100%;
    object-position: center center;
    transform: scale(1.08);
  }

  .hero-film.is-active {
    transform: scale(1.04);
  }

  .hero-content {
    padding-top: 7rem;
    padding-bottom: 4.75rem;
  }

  .hero-kicker {
    max-width: 20rem;
  }

  .hero-title {
    max-width: 21rem;
    font-size: clamp(4.5rem, 18vw, 5.9rem);
    line-height: 0.86;
  }

  .hero-title .word {
    display: block;
  }

  .hero-title .word:nth-child(3),
  .hero-title .word:nth-child(4) {
    display: inline-block;
  }

  .hero-copy {
    max-width: 21rem;
    font-size: 0.98rem;
  }

  .hero-actions a {
    width: 100%;
    min-height: 3.45rem;
  }

  .hero-audience {
    max-width: 21rem;
  }

  .hero-chip {
    min-height: 2rem;
    padding-inline: 0.8rem;
    font-size: 0.78rem;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s var(--ease-signature), transform 7s ease;
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Phones have a much taller, narrower frame than these landscape photos were
   shot for, so the hero should feel more intimate and detailed. */
@media (max-width: 640px) {
  .hero-slide { transform: scale(1.12); }
  .hero-slide.is-active { transform: scale(1.05); }
}

/* Portrait-sourced hero photos: blurred full-bleed backdrop + fully-visible framed photo,
   instead of object-fit:cover cropping them down to an unrecognizable sliver. */
.hero-slide-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-slide-bg {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  object-fit: cover;
  filter: blur(50px) brightness(0.45) saturate(1.2);
}
.hero-slide-fg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide-fg img {
  max-width: 82%;
  max-height: 88%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.6);
}

.hero-sheen {
  background: linear-gradient(180deg, rgba(250,250,247,0.16), transparent);
  mix-blend-mode: soft-light;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 1rem;
  border: 1px solid rgba(250,250,247,0.25);
  border-radius: 999px;
  color: rgba(250,250,247,0.88);
  background: rgba(18,24,26,0.22);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  font-size: 0.875rem;
  line-height: 1;
}

.hero-dot {
  width: 2.2rem;
  height: 0.18rem;
  border-radius: 999px;
  background: rgba(250,250,247,0.34);
  transition: width 0.35s var(--ease-signature), background 0.35s;
}

.hero-dot.is-active {
  width: 4rem;
  background: linear-gradient(90deg, var(--eye-green-light), var(--eye-blue-light));
}

.hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.6em) scale(0.96) rotate(1deg);
  filter: blur(8px);
  animation: word-reveal 1.3s var(--ease-signature) forwards;
}
@keyframes word-reveal {
  to { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); filter: blur(0); }
}

.hero-eyeline {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw-line 2.6s var(--ease-signature) forwards 0.4s;
}
@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

.scroll-indicator {
  animation: scroll-bob 2.2s ease-in-out infinite;
}
@keyframes scroll-bob {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ---------------- Route map (Why Choose Us signature) ---------------- */
.route-dot {
  filter: drop-shadow(0 0 6px currentColor);
}
.route-path {
  stroke-dasharray: 6 8;
  animation: route-flow 22s linear infinite;
}
@keyframes route-flow {
  to { stroke-dashoffset: -280; }
}
.route-pulse {
  animation: pulse-ring 2.8s var(--ease-signature) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ---------------- Reveal on scroll ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-signature), transform 0.9s var(--ease-signature);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-signature), transform 0.7s var(--ease-signature);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.14s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.23s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.32s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.41s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.5s; }

/* ---------------- Buttons ---------------- */
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, var(--eye-green) 0%, var(--eye-blue) 100%);
  background-size: 140% 100%;
  color: var(--eye-cream);
  transition: transform 0.35s var(--ease-signature), box-shadow 0.35s var(--ease-signature), background-position 0.35s;
  box-shadow: 0 12px 28px -14px rgba(14,165,90,0.65), inset 0 1px 0 rgba(250,250,247,0.35);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-signature);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 44px -14px rgba(11,132,176,0.6), inset 0 1px 0 rgba(250,250,247,0.45);
  background-position: 100% 0;
}
.btn-primary:hover::after {
  transform: translateX(120%);
}
.btn-primary:active {
  transform: translateY(-1px) scale(0.99);
}
.btn-ghost {
  border: 1px solid rgba(250,250,247,0.35);
  color: var(--eye-cream);
  backdrop-filter: blur(8px);
  transition: all 0.35s var(--ease-signature);
}
.btn-ghost:hover {
  background: rgba(250,250,247,0.1);
  border-color: rgba(250,250,247,0.6);
  transform: translateY(-3px);
}

/* ---------------- Sticky action buttons ---------------- */
.fab-stack {
  transition: transform 0.5s var(--ease-signature), opacity 0.5s var(--ease-signature);
}
.fab-stack.fab-hidden {
  transform: translateY(140%);
  opacity: 0;
  pointer-events: none;
}
.fab-btn {
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 8px 24px -8px rgba(18,24,26,0.3);
  transition: transform 0.3s var(--ease-signature), box-shadow 0.3s;
}
.fab-btn:hover { transform: translateY(-3px) scale(1.03); }

/* ---------------- Services ambient backdrop (glass context) ---------------- */
.services-ambient { background: var(--eye-cream); }
.services-intro-media {
  align-self: end;
}
.services-intro-image {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.76);
  background: var(--eye-gray);
  box-shadow: 0 34px 70px -42px rgba(18,24,26,0.45);
}
.services-intro-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18,24,26,0.02), rgba(18,24,26,0.2)),
    linear-gradient(90deg, rgba(14,165,90,0.12), rgba(11,132,176,0.1));
  pointer-events: none;
  mix-blend-mode: multiply;
}
.services-intro-image img {
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-signature), filter 0.8s ease;
  filter: saturate(1.03) contrast(1.02);
}
.services-intro-image:hover img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.04);
}
@media (max-width: 1023px) {
  .services-intro-grid {
    margin-bottom: 3.5rem;
  }

  .services-intro-media {
    max-width: 38rem;
  }
}
.services-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.35;
}
.services-glow-a {
  width: 32rem; height: 32rem;
  top: -8rem; left: -6rem;
  background: radial-gradient(circle, var(--eye-green-light), transparent 70%);
}
.services-glow-b {
  width: 30rem; height: 30rem;
  bottom: -10rem; right: -8rem;
  background: radial-gradient(circle, var(--eye-blue-light), transparent 70%);
}

.service-card {
  transition: transform 0.5s var(--ease-signature), box-shadow 0.5s var(--ease-signature), border-color 0.5s, background 0.5s;
  box-shadow: 0 1px 2px rgba(18,24,26,0.04), 0 24px 40px -34px rgba(18,24,26,0.18);
}
.service-card:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 40px 70px -32px rgba(18,24,26,0.28), 0 0 0 1px rgba(255,255,255,0.9) inset;
  border-color: transparent;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 1.75rem; right: 1.75rem;
  height: 2px;
  background: linear-gradient(90deg, var(--eye-green-light), var(--eye-blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-signature);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card .icon-badge {
  position: relative;
  transition: transform 0.5s var(--ease-signature), box-shadow 0.5s var(--ease-signature);
}
.service-card:hover .icon-badge {
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 0 0 0 6px rgba(14,165,90,0.12), 0 0 24px rgba(11,132,176,0.35);
}

/* ---------------- Trust and credibility ---------------- */
.trust-band {
  position: relative;
  z-index: 1;
}
.trust-proof {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 100%;
  border: 1px solid rgba(218, 215, 207, 0.9);
  background: rgba(255, 255, 255, 0.7);
  padding: 18px;
  border-radius: 12px;
}
.trust-proof-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  width: 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(14,165,90,0.12), rgba(11,132,176,0.12));
  color: var(--eye-green);
  font-family: 'Manrope', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  flex: 0 0 auto;
}
.trust-proof-title {
  color: var(--eye-charcoal);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.35;
}
.trust-proof-copy {
  margin-top: 4px;
  color: rgba(18,24,26,0.58);
  font-size: 13px;
  line-height: 1.6;
}

.cta-assurance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.cta-assurance span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(250,250,247,0.14);
  background: rgba(250,250,247,0.05);
  color: rgba(250,250,247,0.66);
  padding: 0 14px;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.policy-card {
  min-height: 100%;
  border: 1px solid var(--eye-gray-line);
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 18px 40px -34px rgba(18,24,26,0.28);
}
.policy-card-kicker {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eye-blue);
  margin-bottom: 12px;
}
.policy-card-copy {
  color: rgba(18,24,26,0.62);
  font-size: 14px;
  line-height: 1.75;
}

/* ---------------- Service selector and detail panels (services.html) ---------------- */
.service-option {
  position: relative;
  overflow: hidden;
}
.service-option::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14,165,90,0.08), rgba(11,132,176,0.08));
  opacity: 0;
  transition: opacity 0.3s var(--ease-signature);
}
.service-option:hover::before,
.service-option.is-active::before {
  opacity: 1;
}
.service-option.is-active {
  border-color: rgba(14,165,90,0.35);
  background: white;
  box-shadow: 0 18px 42px -28px rgba(18,24,26,0.24);
}
.service-detail-panels {
  position: relative;
}
.service-detail-panel {
  display: none;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease-signature), transform 0.4s var(--ease-signature);
}
.service-detail-panel.is-active {
  display: block;
}
.service-detail-panel.is-active.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.service-option-icon {
  flex-shrink: 0;
}

@media (max-width: 1023px) {
  .services-overview-section {
    padding-top: 4.5rem;
    padding-bottom: 5.5rem;
  }

  .services-overview-section h2 {
    font-size: clamp(2.2rem, 13vw, 3.25rem);
    line-height: 0.98;
  }

  .service-interactive-grid {
    margin-top: 2.5rem;
  }

  .service-selector-list {
    gap: 0.7rem;
  }

  .service-option {
    min-height: 4.2rem;
    padding: 0.86rem 1rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px -24px rgba(18,24,26,0.32);
  }

  .service-option::after {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 1.5px solid rgba(18,24,26,0.48);
    border-bottom: 1.5px solid rgba(18,24,26,0.48);
    transform: translateY(-64%) rotate(45deg);
    transition: transform 0.3s var(--ease-signature), border-color 0.3s;
  }

  .service-option.is-active::after {
    border-color: var(--eye-green);
    transform: translateY(-36%) rotate(225deg);
  }

  .service-option .font-display {
    max-width: calc(100% - 4.25rem);
    font-family: 'Manrope', sans-serif;
    font-size: 0.91rem;
    font-weight: 800;
    line-height: 1.25;
  }

  .service-option-icon {
    width: 2.25rem;
    height: 2.25rem;
  }

  .service-detail-panels {
    width: 100%;
    margin: -0.15rem 0 0.55rem;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 20px 44px -32px rgba(18,24,26,0.4);
  }

  .service-detail-panels.is-collapsed {
    display: none;
  }

  .service-detail-panel {
    transform: translateY(8px);
  }

  .service-detail-panel h3 {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    line-height: 1;
    margin-bottom: 0.9rem;
  }

  .service-detail-panel p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .service-detail-panel p:nth-of-type(3) {
    display: none;
  }

  .service-detail-panel ul {
    margin-bottom: 1.35rem;
  }

  .service-detail-panel li {
    font-size: 0.83rem;
    line-height: 1.55;
  }

  .service-detail-panel .btn-primary {
    width: 100%;
    justify-content: center;
    border-radius: 999px;
  }
}

/* ---------------- Award cards ---------------- */
.award-card {
  transition: transform 0.5s var(--ease-signature), box-shadow 0.5s var(--ease-signature);
  box-shadow: 0 1px 2px rgba(18,24,26,0.04), 0 24px 40px -34px rgba(18,24,26,0.18);
}
.award-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px -32px rgba(18,24,26,0.22);
}
.award-card-icon {
  transition: transform 0.5s var(--ease-signature);
}
.award-card:hover .award-card-icon {
  transform: scale(1.08) rotate(-4deg);
}

/* ---------------- About storytelling badge ---------------- */
.about-story-badge {
  transition: transform 0.5s var(--ease-signature), box-shadow 0.5s var(--ease-signature);
}
.about-story-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 48px -24px rgba(18,24,26,0.28);
}

/* ---------------- Stat counters ---------------- */
.stat-num { font-variant-numeric: tabular-nums; }

/* ---------------- Marquee (awards) ---------------- */
.marquee-track {
  animation: marquee 32s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-mask {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.award-item {
  transition: transform 0.4s var(--ease-signature), opacity 0.4s;
  opacity: 0.85;
}
.award-item:hover {
  transform: translateY(-3px);
  opacity: 1;
}
.location-pin {
  transition: background-color 0.3s, border-color 0.3s;
}
.location-pin:hover {
  background-color: rgba(250,250,247,0.04);
  border-color: rgba(250,250,247,0.2);
}

/* ---------------- Gallery ---------------- */
.gallery-item img {
  transition: transform 1.1s var(--ease-signature), filter 0.6s;
  filter: grayscale(45%) saturate(120%) brightness(0.92);
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: grayscale(10%) saturate(115%) brightness(1);
}
.gallery-item .gallery-veil {
  background: linear-gradient(180deg, rgba(11,132,176,0.35), rgba(14,165,90,0.35));
  mix-blend-mode: multiply;
  transition: opacity 0.6s;
}
.gallery-item:hover .gallery-veil { opacity: 0.15; }

/* Caption scrim + label, kept readable without stacking on top of the existing card copy */
.gallery-item::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 62%;
  background: linear-gradient(180deg, transparent, rgba(18,24,26,0.82));
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s var(--ease-signature), transform 0.5s var(--ease-signature);
  pointer-events: none;
}
.gallery-item > div:not(.gallery-veil) {
  position: absolute;
  inset-inline: 1rem;
  bottom: 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.95rem;
  background: linear-gradient(180deg, rgba(18,24,26,0.18), rgba(18,24,26,0.82));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 10px 24px -16px rgba(0,0,0,0.45);
  z-index: 1;
}
.gallery-item > div:not(.gallery-veil) p {
  line-height: 1.5;
  text-wrap: balance;
  max-width: 100%;
  font-size: 0.9rem;
}
.gallery-item::after {
  content: none;
}
.gallery-item:hover::before {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .gallery-item::before,
  .gallery-item::after {
    opacity: 1;
    transform: translateY(0);
  }
  .gallery-item .gallery-expand {
    opacity: 1;
    transform: scale(1);
  }
}

/* Expand affordance in the corner, appears on hover */
.gallery-item .gallery-expand {
  position: absolute;
  top: 1rem;
  right: 1rem;
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 999px;
  background: rgba(250,250,247,0.92);
  color: var(--eye-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.4s var(--ease-signature), transform 0.4s var(--ease-signature);
}
.gallery-item:hover .gallery-expand {
  opacity: 1;
  transform: scale(1);
}

/* ---------------- Process timeline ---------------- */
.process-line {
  background: linear-gradient(90deg, var(--eye-green) 0%, var(--eye-blue) 100%);
}

/* ---------------- Testimonial ---------------- */
.testimonial-dot {
  transition: all 0.4s var(--ease-signature);
}
.testimonial-dot.active {
  width: 24px;
  background: var(--eye-charcoal);
}

/* ---------------- Utility ---------------- */
.divider-soft { background: var(--eye-gray-line); height: 1px; }

/* ---------------- Lightbox show/hide (avoids Tailwind class-order conflicts) ---------------- */
.lightbox-overlay { display: none; }
.lightbox-overlay.is-open { display: flex; }

/* ---------------- Mobile menu ---------------- */
.mobile-menu {
  display: flex;
  flex-direction: column;
  max-height: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-top-width: 0 !important;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.55s var(--ease-signature), opacity 0.35s ease, visibility 0s linear 0.55s, padding 0.55s var(--ease-signature), border-top-width 0.55s var(--ease-signature);
}
.nav-glass .mobile-menu {
  background: rgba(18, 24, 26, 0.9) !important;
  border-top-color: rgba(250,250,247,0.1) !important;
  box-shadow: 0 24px 50px -28px rgba(0,0,0,0.55);
}
.nav-glass .mobile-menu-link {
  color: rgba(250,250,247,0.78) !important;
  border-bottom-color: rgba(250,250,247,0.1);
}
.nav-glass .mobile-menu-link:hover {
  color: var(--eye-cream) !important;
}
.nav-glass .mobile-menu-link .menu-arrow {
  color: rgba(250,250,247,0.8) !important;
}
.mobile-menu.is-open {
  max-height: 32rem;
  padding-top: 0 !important;
  padding-bottom: 2rem !important;
  border-top-width: 1px !important;
  opacity: 1;
  visibility: visible;
  transition: max-height 0.55s var(--ease-signature), opacity 0.4s ease, padding 0.55s var(--ease-signature), border-top-width 0.4s ease;
}
@media (min-width: 1024px) {
  .mobile-menu { display: none !important; }
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(218,215,207,0.6);
  color: rgba(18,24,26,0.75);
  opacity: 0;
  transform: translateY(10px);
  transition: color 0.25s, transform 0.45s var(--ease-signature), opacity 0.4s ease;
}
.mobile-menu-link .menu-index {
  font-size: 10px;
  color: var(--eye-green);
  opacity: 0.7;
}
.mobile-menu-link .menu-arrow {
  margin-left: auto;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s, transform 0.3s var(--ease-signature);
}
.mobile-menu-link:hover {
  color: var(--eye-charcoal);
}
.mobile-menu-link:hover .menu-arrow {
  opacity: 0.6;
  transform: translateX(0);
}
.mobile-menu.is-open .mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu.is-open .mobile-menu-link:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu-link:nth-child(2) { transition-delay: 0.13s; }
.mobile-menu.is-open .mobile-menu-link:nth-child(3) { transition-delay: 0.18s; }
.mobile-menu.is-open .mobile-menu-link:nth-child(4) { transition-delay: 0.23s; }
.mobile-menu.is-open .mobile-menu-link:nth-child(5) { transition-delay: 0.28s; }
.mobile-menu.is-open .mobile-menu-cta { transition-delay: 0.34s; }

.mobile-menu-cta {
  opacity: 0;
  transform: translateY(10px);
  transition: transform 0.45s var(--ease-signature), opacity 0.4s ease;
}
.mobile-menu.is-open .mobile-menu-cta {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- Hamburger morph ---------------- */
.hamburger-line {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform 0.4s var(--ease-signature), opacity 0.25s ease, top 0.4s var(--ease-signature);
}
#menu-toggle .hamburger-line:nth-child(1) { top: 13px; }
#menu-toggle .hamburger-line:nth-child(2) { top: 18px; }
#menu-toggle .hamburger-line:nth-child(3) { top: 23px; }
#menu-toggle.is-open .hamburger-line:nth-child(1) { top: 18px; transform: translateX(-50%) rotate(45deg); }
#menu-toggle.is-open .hamburger-line:nth-child(2) { opacity: 0; }
#menu-toggle.is-open .hamburger-line:nth-child(3) { top: 18px; transform: translateX(-50%) rotate(-45deg); }

::selection {
  background: var(--eye-green);
  color: var(--eye-cream);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(18, 193, 104, 0.5);
  outline-offset: 4px;
}

/* Custom scrollbar (subtle, premium) */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--eye-cream); }
::-webkit-scrollbar-thumb { background: var(--eye-gray-line); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--eye-blue); }

/* ---------------- Footer (premium redesign) ---------------- */
.footer-premium {
  background:
    radial-gradient(ellipse 60% 50% at 12% 0%, rgba(14,165,90,0.10), transparent 60%),
    radial-gradient(ellipse 50% 45% at 100% 10%, rgba(11,132,176,0.10), transparent 60%),
    var(--eye-charcoal);
}

.footer-col-heading {
  position: relative;
  display: inline-block;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eye-cream);
  padding-bottom: 14px;
  margin-bottom: 22px;
}
.footer-col-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--eye-green-light), var(--eye-blue-light));
}

.footer-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(250, 250, 247, 0.58);
  font-size: 14px;
  line-height: 1.7;
  transition: color 0.3s ease, transform 0.3s var(--ease-signature);
}
.footer-link:hover {
  color: var(--eye-cream);
  transform: translateX(3px);
}
.footer-link .footer-link-arrow {
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-signature);
  flex-shrink: 0;
}
.footer-link:hover .footer-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

.footer-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(250, 250, 247, 0.65);
  font-size: 14px;
  line-height: 1.65;
}
.footer-info-row .footer-info-icon {
  flex-shrink: 0;
  margin-top: 2px;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--eye-green-light);
  background: rgba(250, 250, 247, 0.05);
  border: 1px solid rgba(250, 250, 247, 0.1);
}

.footer-social-icon {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250, 250, 247, 0.65);
  border: 1px solid rgba(250, 250, 247, 0.14);
  background: rgba(250, 250, 247, 0.03);
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.35s var(--ease-signature), background 0.3s ease;
}
.footer-social-icon:hover {
  color: var(--eye-charcoal);
  border-color: transparent;
  background: linear-gradient(135deg, var(--eye-green-light), var(--eye-blue-light));
  transform: translateY(-3px);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(250, 250, 247, 0.14) 50%, transparent);
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(250, 250, 247, 0.16);
  color: rgba(250, 250, 247, 0.7);
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(250, 250, 247, 0.04);
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, transform 0.35s var(--ease-signature);
}
.back-to-top-btn:hover {
  color: var(--eye-charcoal);
  border-color: transparent;
  background: linear-gradient(90deg, var(--eye-green-light), var(--eye-blue-light));
  transform: translateY(-2px);
}
.back-to-top-btn .back-to-top-icon {
  transition: transform 0.35s var(--ease-signature);
}
.back-to-top-btn:hover .back-to-top-icon {
  transform: translateY(-2px);
}

/* ---------------- Contact info cards (CTA section) ---------------- */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
  border-radius: 16px;
  border: 1px solid rgba(250, 250, 247, 0.12);
  background: rgba(250, 250, 247, 0.03);
  padding: 22px;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.35s var(--ease-signature);
}
.contact-info-card:hover {
  border-color: rgba(250, 250, 247, 0.28);
  background: rgba(250, 250, 247, 0.06);
  transform: translateY(-3px);
}
.contact-info-icon {
  flex-shrink: 0;
  height: 42px;
  width: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--eye-green-light);
  background: rgba(250, 250, 247, 0.06);
  border: 1px solid rgba(250, 250, 247, 0.14);
}
.contact-info-label {
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.42);
  margin-bottom: 7px;
}
.contact-info-value {
  color: rgba(250, 250, 247, 0.88);
  font-size: 15px;
  line-height: 1.65;
}
.contact-info-value a {
  display: block;
  white-space: nowrap;
  transition: color 0.25s ease;
}
.contact-info-value a:hover {
  color: var(--eye-green-light);
}

/* ---------------- Lead / quote request form (CTA section) ---------------- */
.lead-form-wrap {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.55s var(--ease-signature), opacity 0.35s ease, visibility 0s linear 0.55s;
}
.lead-form-wrap.is-open {
  max-height: 900px;
  opacity: 1;
  visibility: visible;
  transition: max-height 0.55s var(--ease-signature), opacity 0.4s ease;
}
.lead-form {
  border-radius: 20px;
  border: 1px solid rgba(250, 250, 247, 0.12);
  background: rgba(250, 250, 247, 0.03);
  padding: 28px;
}
.lead-field label {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.5);
  margin-bottom: 8px;
}
.lead-field input,
.lead-field select,
.lead-field textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(250, 250, 247, 0.16);
  background: rgba(250, 250, 247, 0.04);
  color: var(--eye-cream);
  font-size: 14.5px;
  padding: 12px 14px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.lead-field select option {
  background: var(--eye-charcoal);
  color: var(--eye-cream);
}
.lead-field input::placeholder,
.lead-field textarea::placeholder {
  color: rgba(250, 250, 247, 0.35);
}
.lead-field input:focus,
.lead-field select:focus,
.lead-field textarea:focus {
  outline: none;
  border-color: var(--eye-green-light);
  background: rgba(250, 250, 247, 0.07);
}
.lead-field textarea {
  resize: vertical;
  min-height: 96px;
}
#lead-form-status.is-success { color: var(--eye-green-light); }
#lead-form-status.is-error { color: #ff8a8a; }
